延长页面展示

This commit is contained in:
dragon
2024-04-12 17:16:22 +08:00
parent dc6d3cf247
commit 338564400c
14 changed files with 64 additions and 25 deletions

View File

@@ -62,7 +62,9 @@ $(function () {
// getConfig();
getMySelf();
profitPage();
$('#body').show();
setTimeout(function () {
$('#body').show();
}, 300)
}, 300)
})
function translateFun() {
@@ -170,7 +172,7 @@ function getMySelf() {
shareTitle: langReplace(localLang.demoModule.text37),
shareText: langReplace(localLang.demoModule.text38),
shareImg: 'https://image.molistar.xyz/molistar.png',
toUrl: `${window.location.origin}/molistar/activity/2024-invitationFission/share.html?inviteCode=${res.data.inviteCode}`,
toUrl: `${window.location.origin}/molistar/activity/2024-invitationFission/share.html?inviteCode=${res.data.inviteCode}&lang=${getQueryString.lang}`,
type: 1//1:分享好友2:直接保存圖片
}
// 初始化复制

View File

@@ -79,7 +79,9 @@ $(function () {
tipTime: 1000, //分享提示消失时间
copyId: "#copy" //复制按钮id
});
$('#body').show();
setTimeout(function () {
$('#body').show();
}, 300)
}, 100)
})
function translateFun() {
@@ -113,11 +115,22 @@ function get() {
}
})
}
// $('.box .xz').click(function () {
// if (browser.ios) {
// window.location.href = `https://cebg.t4m.cn/`
// }
// })
$('.box .xz').click(function () {
// if (browser.ios) {
// window.location.href = `https://cebg.t4m.cn/`
// }
if (browser.ios) {
return
} else if (browser.android) {
console.log('安卓');
timer = setTimeout(() => {
// window.location.href = 'https://www.baidu.com/'
}, 3000)
window.location.href = `molistar://app/invite?code=${inviteCode}`
} else {
console.log('其他')
}
})
function isAppInstalled(scheme) {
try {
// 尝试打开应用

View File

@@ -69,7 +69,9 @@ $(function () {
});
}
})
$('#body').show();
setTimeout(function () {
$('#body').show();
}, 300)
}, 100)
function translateFun() {
var langReplace = window.lang.replace;

View File

@@ -26,7 +26,9 @@ $(function () {
localLang = window.lang;
translateFun();
getUserRecord()
$('#body').show();
setTimeout(function () {
$('#body').show();
}, 300)
}, 100)
function translateFun() {
var langReplace = window.lang.replace;

View File

@@ -56,7 +56,9 @@ $(function () {
translateFun();
getConfig();
$(window).scrollTop(275)
$('#body').show();
setTimeout(function () {
$('#body').show();
}, 300)
}, 100)
})
function translateFun() {

View File

@@ -148,7 +148,9 @@ $(function () {
localLang = window.lang;
translateFun();
getData(pageNum);
$('#body').show();
setTimeout(function () {
$('#body').show();
}, 300)
}, 100)
function translateFun() {
var langReplace = window.lang.replace;

View File

@@ -36,11 +36,11 @@
<p class="treasure">
</p>
<p class="progress-bar">
<span class="treasure-now">财富值0</span>
<span class="treasure-now"></span>
<span class="progress-bar-now"></span>
</p>
<p class="grade">
<span class="treasure-upgrade" style="text-align: center;line-height: 0.4rem;">升级所需财富值:<span class="num">0</span></span>
<span class="treasure-upgrade" style="text-align: center;line-height: 0.4rem;"><span class="num">0</span></span>
<span class="grade-now">LV.0</span>
<span class="grade-next">LV.1</span>
</p>
@@ -56,7 +56,8 @@
<img src="./images/user.png" alt="">
<img class="effects-img" src="./images/effects1.png" alt=""> -->
<img id="img1" src="./images/wealth.png" alt="">
<img id="img1" src="" alt="">
<!-- ./images/wealth.png -->
</div>
<div class="swiper-slide">
<div class="user-charm">
@@ -66,11 +67,11 @@
<p class="treasure">
</p>
<p class="progress-bar">
<span class="treasure-now">魅力值0</span>
<span class="treasure-now"></span>
<span class="progress-bar-now"></span>
</p>
<p class="grade">
<span class="treasure-upgrade" style="text-align: center;line-height: 0.4rem;">升級所需魅力值:<span class="num">0</span></span>
<span class="treasure-upgrade" style="text-align: center;line-height: 0.4rem;"><span class="num">0</span></span>
<span class="grade-now">LV.0</span>
<span class="grade-next">LV.1</span>
</p>
@@ -79,7 +80,8 @@
<p class="explain-tit">等级说明</p>
<p class="explain-title">魅力等级是您在molistar个人魅力的成长属性每收到1个鉆石的礼物积累一点魅力值随着您的等级上升您的等级标致会有相应的颜色变化。</p>
</div> -->
<img id="img2" class="explain-img" src="./images/charm.png" alt="">
<img id="img2" class="explain-img" src="" alt="">
<!-- ./images/charm.png -->
</div>
</div>
</div>

View File

@@ -102,7 +102,9 @@ $(function () {
localLang = window.lang;
translateFun();
getMsg();
$('#body').show();
setTimeout(function () {
$('#body').show();
}, 300)
}, 100)
function translateFun() {
var langReplace = window.lang.replace;

View File

@@ -17,7 +17,9 @@ $(function () {
langReplace = window.lang.replace;
localLang = window.lang;
translateFun();
$('#body').show();
setTimeout(function () {
$('#body').show();
}, 300)
}, 100)
function translateFun() {
var langReplace = window.lang.replace;

View File

@@ -53,7 +53,9 @@ $(function () {
translateFun();
getListUpgrade();
getListRank();
$('#body').show();
setTimeout(function () {
$('#body').show();
}, 300)
}, 100)
})
function translateFun() {

View File

@@ -220,7 +220,9 @@ $(function () {
localLang = window.lang;
translateFun();
getHourList()
$('#body').show();
setTimeout(function () {
$('#body').show();
}, 300)
}, 50)
function translateFun() {
var langReplace = window.lang.replace;

View File

@@ -217,7 +217,9 @@ $(function () {
localLang = window.lang;
translateFun();
getHourList();
$('#body').show();
setTimeout(function () {
$('#body').show();
}, 300)
}, 50)
function translateFun() {
var langReplace = window.lang.replace;

View File

@@ -58,7 +58,9 @@ $(function () {
localLang = window.lang;
translateFun();
getRankingsWealth();
$('#body').show();
setTimeout(function () {
$('#body').show();
}, 300)
}, 100)
})
function translateFun() {

View File

@@ -55,7 +55,9 @@
})
fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
translateFun();
$('#body').show();
setTimeout(function () {
$('#body').show();
}, 300)
}, 100);
function translateFun() {
const langReplace = window.lang.replace;