修复安卓厨房报错问题

This commit is contained in:
dragon
2024-04-16 11:36:12 +08:00
parent 82744bdddf
commit e6d8d559b2
9 changed files with 56 additions and 44 deletions

View File

@@ -135,9 +135,9 @@ html {
.box .tab div img {
display: block;
width: 0.53333rem;
height: 0.42667rem;
margin-top: 0.4rem;
width: 0.66667rem;
height: 0.66667rem;
margin-top: 0.2rem;
}
.box .tab .active {
@@ -236,8 +236,8 @@ html {
}
.box .box_in .sBox .qp p img {
width: 0.34667rem;
height: 0.29333rem;
width: 0.4rem;
height: 0.4rem;
}
.box .box_in .sBox .bei {
@@ -433,7 +433,7 @@ h3 b {
}
.my div .Sdiamond {
width: 0.42667rem;
width: 0.4rem;
height: 0.37333rem;
position: absolute;
left: 0.25333rem;
@@ -558,8 +558,8 @@ h3 b {
}
.result_popup .result_popup_in .income p img {
width: 0.34667rem;
height: 0.29333rem;
width: 0.4rem;
height: 0.4rem;
}
.result_popup .result_popup_in .income p b {
@@ -624,8 +624,8 @@ h3 b {
}
.result_popup .result_popup_in .no .no1 p .Sdiamond {
width: 0.34667rem;
height: 0.29333rem;
width: 0.4rem;
height: 0.4rem;
margin-top: 0.05rem;
}
@@ -679,8 +679,8 @@ h3 b {
}
.result_popup .result_popup_in .no .no2 p .Sdiamond {
width: 0.34667rem;
height: 0.29333rem;
width: 0.4rem;
height: 0.4rem;
margin-top: 0.05rem;
}
@@ -734,8 +734,8 @@ h3 b {
}
.result_popup .result_popup_in .no .no3 p .Sdiamond {
width: 0.34667rem;
height: 0.29333rem;
width: 0.4rem;
height: 0.4rem;
margin-top: 0.05rem;
}

View File

@@ -139,9 +139,9 @@ html {
img {
display: block;
width: px2rem(40);
height: px2rem(32);
margin-top: 0.4rem;
width: px2rem(50);
height: px2rem(50);
margin-top: 0.2rem;
}
}
@@ -238,8 +238,8 @@ html {
justify-content: center;
img {
width: px2rem(26);
height: px2rem(22);
width: px2rem(30);
height: px2rem(30);
}
}
}
@@ -443,7 +443,7 @@ h3 {
font-weight: bold;
.Sdiamond {
width: px2rem(32);
width: px2rem(30);
height: px2rem(28);
position: absolute;
left: px2rem(19);
@@ -566,8 +566,8 @@ h3 {
width: 50%;
img {
width: px2rem(26);
height: px2rem(22);
width: px2rem(30);
height: px2rem(30);
}
b {
@@ -631,8 +631,8 @@ h3 {
top: px2rem(-30);
.Sdiamond {
width: px2rem(26);
height: px2rem(22);
width: px2rem(30);
height: px2rem(30);
margin-top: 0.05rem;
}
@@ -686,8 +686,8 @@ h3 {
top: px2rem(-0);
.Sdiamond {
width: px2rem(26);
height: px2rem(22);
width: px2rem(30);
height: px2rem(30);
margin-top: 0.05rem;
}
@@ -741,8 +741,8 @@ h3 {
top: px2rem(-0);
.Sdiamond {
width: px2rem(26);
height: px2rem(22);
width: px2rem(30);
height: px2rem(30);
margin-top: 0.05rem;
}

View File

@@ -62,15 +62,23 @@ $(function () {
toastMsg(langReplace(localLang.demoModule.text10))
}
}).then(() => {
langReplace = window.lang.replace;
localLang = window.lang;
translateFun();
getNewestAct();
setTimeout(function () {
$('#body').show();
}, 300)
if (browser.ios) {
langReplace = window.lang.replace;
localLang = window.lang;
translateFun();
getNewestAct();
}
});
}
if (browser.android) {
langReplace = window.lang.replace;
localLang = window.lang;
translateFun();
getNewestAct();
}
setTimeout(function () {
$('#body').show();
}, 300)
})
}, 100)
function translateFun() {

View File

@@ -33,6 +33,7 @@ $(function () {
function translateFun() {
var langReplace = window.lang.replace;
var localLang = window.lang;
$('#titlesss').html(langReplace(localLang.demoModule.titlesss))
}
function getUserRecord() {
canNext = false

View File

@@ -47,8 +47,8 @@ langAr = {
text17: `جاري السحب:`,
text18: `الجولة القادمة:`,
text19: `غير مدرج في القائمة`,
text20: `تخمين صحيح`,
text21: `مرات`,
text20: ``,//تخمين صحيح
text21: `مرة`,
text22: `تم اختياره`,
text23: `لا يوجد المزيد!`,
text24: `آسف! تجاوزت الحدّ.`,
@@ -56,5 +56,6 @@ langAr = {
text26: `نتائج هذه الجولة`,
text27: `الجوائز:`,
text28: `المبلغ المراهن:`,
titlesss: `سجل اللعبة`,
}
}

View File

@@ -47,7 +47,7 @@ langEn = {
text17: `Drawing:`,
text18: `Next Round:`,
text19: `Not Listed`,
text20: `Guessed Correctly`,
text20: ``,//Guessed Correctly
text21: `times`,
text22: `Selected`,
text23: `No more available!`,
@@ -56,5 +56,6 @@ langEn = {
text26: `Round result`,
text27: `Rewards:`,
text28: `Bet placed:`,
titlesss: `Game Record`,
}
}

View File

@@ -56,5 +56,6 @@ langZh = {
text26: `本輪結果`,
text27: `獎勵:`,
text28: `投入`,
titlesss: `遊戲記錄`,
}
}

View File

@@ -5,8 +5,8 @@
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>游戏记录</title>
<title id="titlesss"></title>
<!-- 遊戲記錄 -->
<link rel="stylesheet" href="../../common/css/reset.css">
<link rel="stylesheet" href="./css/record.css?v=1.1">
</head>

View File

@@ -10,7 +10,7 @@ $(function () {
let pageSize = 12; //每页条数,这个数字是排行的基数
let countPage; //用来判断加载的次数跟res.data.totalPage比较countPage为0时不再加载
let isLock = true
// if (EnvCheck() == 'test') { let vConsole = new VConsole };
if (EnvCheck() == 'test') { let vConsole = new VConsole };
if (browser.app) {
if (browser.ios) {
@@ -190,6 +190,6 @@ $(function () {
function getMessage(key, value) {
info[key] = value;
}
// function getMessage(key, value) {
// info[key] = value;
// }