Compare commits

...

22 Commits

Author SHA1 Message Date
Dragon
a9778dbe0d 重新打包 2023-06-07 18:16:05 +08:00
Dragon
3b124da4fd 重新安装18n 2023-06-07 18:00:57 +08:00
Dragon
f56cfdd4f8 重新缓存 2023-06-07 17:48:56 +08:00
Dragon
d468e1b98d 新增翻译 2023-06-07 17:31:05 +08:00
Dragon
544cb313fa 新增翻译 2023-06-07 16:28:16 +08:00
Dragon
78232db3b5 删除版本区分,改为判断是否存在语言区分 2023-06-07 15:25:33 +08:00
Dragon
c781f0ef71 账单新增版本区分 2023-06-07 14:58:15 +08:00
qf
f0c1842eb7 初始化时间修改 2023-06-01 16:20:49 +08:00
qf
4e6bff2be9 麦上魅力值榜单判断国际化参数 2023-05-31 12:39:55 +08:00
qf
7066d277ba 魅力值榜单翻译 2023-05-30 19:01:00 +08:00
qf
76e70d157a 遗漏loding修改,夺宝规则背景色删除 2023-05-30 15:00:00 +08:00
qf
1b22729174 等级说明页面获取deviceInfo修改 2023-05-30 11:40:58 +08:00
qf
010fd524ab 房间分享翻译 2023-05-29 11:25:20 +08:00
qf
4a0393952f 增加获取语言方法定时器时间,小精灵/等级图片压缩 2023-05-27 17:08:25 +08:00
qf
9077ada12d 收益繁体语言包修改,ios获取不到页面添加定时器 2023-05-27 15:33:22 +08:00
qf
00f31ed8de 小时榜样式调整 2023-05-27 00:24:27 +08:00
qf
76054c7254 图片压缩,清除遗漏文字 2023-05-26 23:16:21 +08:00
qf
ad66b6c101 规则清空 2023-05-26 20:12:29 +08:00
qf
bcc0112c9a 小时榜:获取语言方法修改 2023-05-26 19:50:25 +08:00
qf
56ccb723c6 小精灵动效替换,清除页面文字 2023-05-26 19:44:38 +08:00
qf
ca9aa29e89 新增语言翻译包 2023-05-26 18:56:36 +08:00
qf
38e12aa6bf 国际化方法配置 2023-05-18 16:45:08 +08:00
542 changed files with 13504 additions and 5826 deletions

View File

@@ -59,19 +59,15 @@ body {
z-index: 9;
}
.wrap .previous_Round_Result span {
color: #fff;
position: absolute;
font-weight: bold;
margin-left: 0.36rem;
text-shadow: 1px 1px 0px #fc8321, -1px -1px 0px #fc8321, 1px 1px 0px #fc8321, -1px -1px 0px #fc8321, 1px 1px 0px #fc8321, -1px -1px 0px #fc8321;
font-size: 0.48rem;
left: 0rem;
bottom: 1.65rem;
background: url(../images/wljg.png) no-repeat;
background-size: 100% 100%;
width: 1.7066666667rem;
height: 0.5066666667rem;
position: absolute;
}
.wrap .previous_Round_Result span img {
width: 100%;
height: 100%;
}
.wrap .previous_Round_Result .box {
width: 9.4266666667rem;
@@ -144,7 +140,7 @@ body {
font-size: 0.2666666667rem;
color: #701800;
position: absolute;
top: 0.16rem;
top: 0.4rem;
left: 0.4666666667rem;
}
.wrap .game-area .select-time {
@@ -157,7 +153,7 @@ body {
top: -0.5333333333rem;
left: 50%;
transform: translateX(-50%);
width: 5.45rem;
width: 6.8rem;
height: 0.96rem;
line-height: 0.8266666667rem;
background: url("../images/count-down.png") no-repeat 0 0/100% 100%;
@@ -168,10 +164,16 @@ body {
}
.wrap .game-area .select-time .current-tip {
top: 0.6666666667rem;
width: 4.9066666667rem;
width: 5.3333333333rem;
height: 0.9066666667rem;
line-height: 0.9066666667rem;
line-height: 0.38rem;
background: url("../images/tip.png") no-repeat 0 0/100% 100%;
text-align: center;
font-weight: bold;
}
.wrap .game-area .select-time .current-tip span {
width: 4.2666666667rem;
margin: 0 auto;
font-size: 0.2933333333rem;
color: #F0C799;
}
@@ -238,8 +240,8 @@ body {
}
.wrap .game-area .select-time ul li .bubble-2s {
display: none;
width: 1.76rem;
height: 0.9866666667rem;
width: 2.1rem;
height: 1.3rem;
position: absolute;
top: -0.96rem;
left: -0.3733333333rem;
@@ -248,18 +250,22 @@ body {
text-indent: 0.2133333333rem;
}
.wrap .game-area .select-time ul li .bubble-2s p {
font-size: 0.24rem;
width: 2rem;
font-size: 0.1866666667rem;
color: white;
font-weight: bold;
text-align: center;
margin-left: -0.2666666667rem;
margin-left: -0.0666666667rem;
}
.wrap .game-area .select-time ul li .bubble-2s p.first-line {
padding-top: 0.1333333333rem;
padding-top: 0.2666666667rem;
}
.wrap .game-area .select-time ul li .bubble-2s p.second-line {
padding-top: 0.0533333333rem;
}
.wrap .game-area .select-time ul li .bubble-2s .pzh {
font-size: 0.24rem;
}
.wrap .game-area .select-time ul li .select-num {
position: absolute;
top: -0.08rem;
@@ -325,7 +331,7 @@ body {
top: -0.5333333333rem;
left: 50%;
transform: translateX(-50%);
width: 4.2933333333rem;
width: 6rem;
height: 0.96rem;
line-height: 0.8266666667rem;
background: url("../images/count-down.png") no-repeat 0 0/100% 100%;
@@ -342,7 +348,7 @@ body {
background: url("../images/tip.png") no-repeat 0 0/100% 100%;
text-align: center;
font-size: 0.2933333333rem;
color: #FFF0C799;
color: rgba(255, 240, 199, 0.6);
font-weight: bold;
}
.wrap .game-area .wait-time-s {
@@ -381,7 +387,7 @@ body {
top: -0.5333333333rem;
left: 50%;
transform: translateX(-50%);
width: 4.2933333333rem;
width: 6rem;
height: 0.96rem;
line-height: 0.8266666667rem;
background: url("../images/count-down.png") no-repeat 0 0/100% 100%;
@@ -639,24 +645,25 @@ body {
font-size: 0.3733333333rem;
}
.wrap .game-area .draw-time .put-wrap {
width: 8rem;
width: 9rem;
height: 2.44rem;
box-sizing: border-box;
position: absolute;
left: 50%;
left: 55%;
transform: translateX(-50%);
top: 4.5rem;
display: flex;
}
.wrap .game-area .draw-time .put-wrap .put {
font-size: 0.3733333333rem;
width: 1.4rem;
font-size: 0.32rem;
color: #FFFFFF;
font-weight: 600;
margin-right: 0.4rem;
margin-top: 0.3rem;
}
.wrap .game-area .draw-time .put-wrap .list {
width: 6.72rem;
width: 6.4rem;
height: 2.7733333333rem;
display: flex;
flex-wrap: wrap;
@@ -664,7 +671,7 @@ body {
.wrap .game-area .draw-time .put-wrap .list .item {
width: 0.9866666667rem;
height: 1.2rem;
margin-right: 0.92rem;
margin-right: 0.7rem;
display: flex;
flex-direction: column;
justify-content: space-between;
@@ -970,19 +977,19 @@ body {
bottom: 0;
z-index: 999;
width: 100%;
height: 1.3333333333rem;
height: 1.2rem;
background: url(../images/mineBg.png) no-repeat;
background-size: 100% 100%;
padding: 0 0.7rem 0 0.2rem;
padding: 0 0.2rem;
box-sizing: border-box;
display: flex;
align-items: center;
}
.wrap .shade-mask-rank .shade-content-rank .mine .mine-rank {
font-size: 0.3466666667rem;
width: 3.8rem;
font-size: 0.2933333333rem;
font-weight: bold;
color: white;
white-space: nowrap;
}
.wrap .shade-mask-rank .shade-content-rank .mine .mine-info {
flex: 1;
@@ -998,19 +1005,18 @@ body {
margin-right: 0.5333333333rem;
}
.wrap .shade-mask-rank .shade-content-rank .mine .mine-info .mine-nick {
font-size: 0.3733333333rem;
font-size: 0.3466666667rem;
font-weight: bold;
color: white;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
width: 3.5rem;
width: 3.2rem;
}
.wrap .shade-mask-rank .shade-content-rank .mine .mine-diamond-num {
font-size: 0.3466666667rem;
font-size: 0.2933333333rem;
font-weight: bold;
color: #fff;
white-space: nowrap;
}
.wrap .shade-mask-rank .shade-content-rank .mine .mine-diamond-num b {
color: #fff;

View File

@@ -83,24 +83,17 @@ body {
z-index: 9;
span {
color: #fff;
position: absolute;
font-weight: bold;
margin-left: px2rem(27);
text-shadow: 1px 1px 0px#fc8321,
-1px -1px 0px#fc8321,
1px 1px 0px#fc8321,
-1px -1px 0px#fc8321,
1px 1px 0px#fc8321,
-1px -1px 0px#fc8321;
font-size: px2rem(36, );
left: px2rem(0, );
bottom: 1.65rem;
background: url(../images/wljg.png) no-repeat;
background-size: 100% 100%;
// background: url(../images/wljg.png) no-repeat;
// background-size: 100% 100%;
width: px2rem(128, );
height: px2rem(38, );
position: absolute;
img{
width: 100%;
height: 100%;
}
}
.box {
@@ -247,7 +240,8 @@ body {
font-size: px2rem(20, );
color: #701800;
position: absolute;
top: px2rem(12, );
// top: px2rem(12, );
top: 0.4rem;
left: px2rem(35, );
}
@@ -263,7 +257,8 @@ body {
left: 50%;
transform: translateX(-50%);
// width: px2rem(322);
width: 5.45rem;
// width: 5.45rem;
width: 6.8rem;
height: px2rem(72);
line-height: px2rem(62);
background: url('../images/count-down.png') no-repeat 0 0/100% 100%;
@@ -275,12 +270,19 @@ body {
.current-tip {
top: px2rem(50);
width: px2rem(368);
// width: px2rem(368);
width: px2rem(400, );
height: px2rem(68);
line-height: px2rem(68);
line-height: 0.38rem;
background: url('../images/tip.png') no-repeat 0 0/100% 100%;
font-size: px2rem(22);
color: #F0C799;
text-align: center;
font-weight: bold;
span {
width: px2rem(320);
margin: 0 auto;
font-size: px2rem(22);
color: #F0C799;
}
}
// 海鲜列表
@@ -356,8 +358,10 @@ body {
display: none;
// width: px2rem(92);
// height: px2rem(56);
width: px2rem(132);
height: px2rem(74);
// width: px2rem(132);
// height: px2rem(74);
width: 2.1rem;
height: 1.3rem;
position: absolute;
top: px2rem(-72);
left: px2rem(-28);
@@ -366,22 +370,27 @@ body {
text-indent: px2rem(16);
p {
font-size: px2rem(18);
width: 2rem;
font-size: px2rem(14);
color: white;
font-weight: bold;
text-align: center;
margin-left: px2rem(-20);
margin-left: px2rem(-5);
&.first-line {
padding-top: px2rem(10);
padding-top: px2rem(20);
}
&.second-line {
padding-top: px2rem(4);
}
}
.pzh {
font-size: px2rem(18);
}
}
.select-num {
// display: none;
position: absolute;
@@ -470,7 +479,8 @@ body {
top: px2rem(-40);
left: 50%;
transform: translateX(-50%);
width: px2rem(322);
// width: px2rem(322);
width: 6rem;
height: px2rem(72);
line-height: px2rem(62);
background: url('../images/count-down.png') no-repeat 0 0/100% 100%;
@@ -539,7 +549,8 @@ body {
top: px2rem(-40);
left: 50%;
transform: translateX(-50%);
width: px2rem(322);
// width: px2rem(322);
width: 6rem;
height: px2rem(72);
line-height: px2rem(62);
background: url('../images/count-down.png') no-repeat 0 0/100% 100%;
@@ -863,19 +874,21 @@ body {
}
.put-wrap {
width: px2rem(600, );
// width: px2rem(600, );
width: 9rem;
height: px2rem(183, );
// line-height: px2rem(183, );
box-sizing: border-box;
position: absolute;
left: 50%;
left: 55%;
transform: translateX(-50%);
// top: 3.8rem;
top: 4.5rem;
display: flex;
.put {
font-size: px2rem(28, );
width: 1.4rem;
font-size: px2rem(24, );
color: #FFFFFF;
font-weight: 600;
margin-right: 0.4rem;
@@ -883,7 +896,7 @@ body {
}
.list {
width: px2rem(504, );
width: 6.4rem;
height: px2rem(208, );
display: flex;
flex-wrap: wrap;
@@ -891,7 +904,7 @@ body {
.item {
width: px2rem(74, );
height: px2rem(90, );
margin-right: 0.92rem;
margin-right: 0.7rem;
// position: relative;
display: flex;
flex-direction: column;
@@ -1269,20 +1282,22 @@ body {
bottom: 0;
z-index: 999;
width: 100%;
height: px2rem(100);
height: px2rem(90);
// background-color: rgba($color: #000000, $alpha: .8);
background: url(../images/mineBg.png) no-repeat;
background-size: 100% 100%;
padding: 0 0.7rem 0 0.2rem;
// padding: 0 0.7rem 0 0.2rem;
padding: 0 0.2rem;
box-sizing: border-box;
display: flex;
align-items: center;
.mine-rank {
font-size: px2rem(26);
width: 3.8rem;
font-size: px2rem(22);
font-weight: bold;
color: white;
white-space:nowrap;
// white-space:nowrap;
}
.mine-info {
@@ -1300,21 +1315,21 @@ body {
}
.mine-nick {
font-size: px2rem(28);
font-size: px2rem(26);
font-weight: bold;
color: white;
overflow: hidden; //超出隐藏
white-space: nowrap; //不折行
text-overflow: ellipsis;
width: 3.5rem;
width: 3.2rem;
}
}
.mine-diamond-num {
font-size: px2rem(26);
font-size: px2rem(22);
font-weight: bold;
color: #fff;
white-space:nowrap;
// white-space:nowrap;
b {
color: #fff;

View File

@@ -1,274 +1,238 @@
@font-face {
font-family: "pingfang-bold";
src: url("../../../common/fonts/PingFang Bold.ttf");
src: url("../../../common/fonts/PingFang Bold.ttf") format("woff"), url("../../../common/fonts/PingFang Bold.ttf") format("truetype"), url("../../../common/fonts/PingFang Bold.ttf") format("svg");
}
@font-face {
font-family: "din-medium";
src: url("../../../common/fonts/DINCond-Medium.ttf");
src: url("../../../common/fonts/DINCond-Medium.ttf") format("woff"), url("../../../common/fonts/DINCond-Medium.ttf") format("truetype"), url("../../../common/fonts/DINCond-Medium.ttf") format("svg");
}
@font-face {
font-family: "pingfang-medium";
src: url("../../../common/fonts/PingFang-Medium.ttf");
src: url("../../../common/fonts/PingFang-Medium.ttf") format("woff"), url("../../../common/fonts/PingFang-Medium.ttf") format("truetype"), url("../../../common/fonts/PingFang-Medium.ttf") format("svg");
}
html,
body {
width: 100%;
background: linear-gradient(0deg, #E6AD6A 0%, #F9CA92 100%);
}
.img {
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 6rem;
height: 4.1333333333rem;
background: url(../images/null.png) no-repeat;
background-size: 100% 100%;
}
.img p {
text-align: center;
width: 1.3333333333%rem;
position: absolute;
bottom: -1rem;
left: 50%;
transform: translate(-50%);
color: #fff;
font-size: 0.2666666667rem;
}
.record-list {
width: 10rem;
margin: 0.4rem auto;
}
.record-list li {
width: 100%;
height: 8.48rem;
background: url("../images/record/record-bg.png") no-repeat;
background-size: 100% 100%;
border-radius: 0.2666666667rem;
overflow: hidden;
}
.record-list li h3 {
width: 100%;
height: 0.7rem;
line-height: 0.7rem;
text-align: center;
color: #fff;
margin: 0.3rem auto -0.3rem;
}
.record-list li .goldBox {
width: 90%;
height: 0.5866666667rem;
line-height: 0.5866666667rem;
background: #F46331;
display: flex;
box-sizing: border-box;
padding: 0 0.2666666667rem;
margin: 0.2rem auto 0;
}
.record-list li .goldBox p {
color: #fff;
width: 50%;
text-align: center;
display: none;
}
.record-list li .goldBox span {
color: #FFF773;
font-size: 0.2666666667rem;
}
.record-list li .result-wrap {
width: 84%;
height: 1.2133333333rem;
line-height: 1.2133333333rem;
box-sizing: border-box;
margin: 0.0666666667rem auto 0.3333333333rem;
display: flex;
justify-content: space-between;
position: relative;
}
.record-list li .result-wrap .result {
display: flex;
align-items: center;
}
.record-list li .result-wrap .result span {
font-size: 0.3733333333rem;
color: #FFFFFF;
padding-right: 0.1866666667rem;
font-weight: 600;
position: absolute;
left: 50%;
transform: translateX(-50%);
width: 1.9066666667rem;
height: 0.6rem;
background: url(../images/record/result.png) no-repeat;
background-size: 100% 100%;
top: 0.2rem;
}
.record-list li .result-wrap .award {
display: flex;
align-items: center;
position: absolute;
right: 0rem;
top: -0.1rem;
}
.record-list li .result-wrap .award p,
.record-list li .result-wrap .award b {
font-size: 0.3733333333rem;
color: #FFFFFF;
font-weight: 600;
}
.record-list li .result-wrap .award .diamond {
width: 0.3733333333rem;
height: 0.3733333333rem;
}
.record-list li .result-wrap .result_sBox {
width: 8.8rem;
height: 1.1466666667rem;
margin: 1rem auto 0;
display: flex;
justify-content: center;
position: relative;
left: 50%;
transform: translateX(-50%);
}
.record-list li .result-wrap .result_sBox .bg {
width: 1.1466666667rem;
height: 1.1466666667rem;
background: url("../images/record_bubble_act.png") no-repeat;
background-size: 100% 100%;
text-align: center;
}
.record-list li .result-wrap .result_sBox .bg img {
width: 75%;
display: block;
margin: 0.1333333333rem auto 0;
}
.record-list li .put-wrap {
width: 84%;
height: 1.2133333333rem;
line-height: 1.2133333333rem;
box-sizing: border-box;
margin: 2rem auto 0;
display: flex;
position: relative;
}
.record-list li .put-wrap .put {
font-size: 0.3733333333rem;
color: #FFFFFF;
font-weight: 600;
margin-right: 0.9rem;
position: absolute;
width: 1.0266666667rem;
height: 0.6rem;
left: 50%;
transform: translateX(-50%);
background: url(../images/record/touru.png) no-repeat;
background-size: 100% 100%;
top: -0.6rem;
}
.record-list li .put-wrap .list {
width: 6.72rem;
height: 2.7733333333rem;
display: flex;
flex-wrap: wrap;
margin: 0.3rem auto 0;
}
.record-list li .put-wrap .list .item {
width: 0.9866666667rem;
height: 1.2rem;
margin-right: 0.92rem;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
}
.record-list li .put-wrap .list .item:nth-child(4n) {
margin-right: 0;
}
.record-list li .put-wrap .list .item p {
width: 0.8266666667rem;
height: 0.8266666667rem;
background: url("../images/record_bubble.png") no-repeat;
background-size: 100% 100%;
}
.record-list li .put-wrap .list .item p .gift {
width: 75%;
margin-top: 0.1rem;
margin-left: 0.1rem;
}
.record-list li .put-wrap .list .item div {
width: 100%;
height: 0.3333333333rem;
display: flex;
align-items: center;
justify-content: center;
}
.record-list li .put-wrap .list .item div .diamond {
width: 0.3333333333rem;
height: 0.3333333333rem;
margin-top: -0.01rem;
}
.record-list li .put-wrap .list .item div .in {
font-size: 0.2666666667rem;
color: #FFFFFF;
font-weight: 600;
white-space: nowrap;
}
.record-list li .marine_organism {
width: 78%;
height: 2.1333333333rem;
margin: 0 auto;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.record-list li .marine_organism span {
width: 1.6rem;
height: 1.6rem;
position: relative;
display: block;
}
.record-list li .marine_organism span img {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 0.72rem;
height: 0.6266666667rem;
display: block;
}
.record-list li .marine_organism span b {
position: absolute;
right: -0.1rem;
top: 0.3rem;
color: #FFFFFF;
font-size: 0.2666666667rem;
}
.record-list li .marine_organism .active {
width: 1.6rem;
height: 1.6rem;
position: relative;
}
.record-list li .marine_organism .active img {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 0.96rem;
height: 0.8266666667rem;
display: block;
}
.record-list li .marine_organism .active b {
position: absolute;
right: -0.1rem;
top: 0.3rem;
color: #FEEF60;
font-weight: bold;
font-size: 0.32rem;
}
/*# sourceMappingURL=record.css.map */
@font-face {
font-family: 'pingfang-bold';
src: url("../../../common/fonts/PingFang Bold.ttf");
src: url("../../../common/fonts/PingFang Bold.ttf") format("woff"), url("../../../common/fonts/PingFang Bold.ttf") format("truetype"), url("../../../common/fonts/PingFang Bold.ttf") format("svg"); }
@font-face {
font-family: 'din-medium';
src: url("../../../common/fonts/DINCond-Medium.ttf");
src: url("../../../common/fonts/DINCond-Medium.ttf") format("woff"), url("../../../common/fonts/DINCond-Medium.ttf") format("truetype"), url("../../../common/fonts/DINCond-Medium.ttf") format("svg"); }
@font-face {
font-family: 'pingfang-medium';
src: url("../../../common/fonts/PingFang-Medium.ttf");
src: url("../../../common/fonts/PingFang-Medium.ttf") format("woff"), url("../../../common/fonts/PingFang-Medium.ttf") format("truetype"), url("../../../common/fonts/PingFang-Medium.ttf") format("svg"); }
html,
body {
width: 100%;
background: linear-gradient(0deg, #E6AD6A 0%, #F9CA92 100%); }
.img {
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 6rem;
height: 4.1333333333rem;
background: url(../images/null.png) no-repeat;
background-size: 100% 100%; }
.img p {
text-align: center;
width: 1.3333333333%rem;
position: absolute;
bottom: -1rem;
left: 50%;
transform: translate(-50%);
color: #fff;
font-size: 0.2666666667rem; }
.record-list {
width: 10rem;
margin: 0.4rem auto; }
.record-list li {
width: 100%;
height: 8.48rem;
background: url("../images/record/record-bg.png") no-repeat;
background-size: 100% 100%;
border-radius: 0.2666666667rem;
overflow: hidden; }
.record-list li h3 {
width: 100%;
height: 0.7rem;
line-height: 0.7rem;
text-align: center;
color: #fff;
margin: 0.3rem auto -0.3rem; }
.record-list li .goldBox {
width: 90%;
height: 0.5866666667rem;
line-height: 0.5866666667rem;
background: #F46331;
display: flex;
box-sizing: border-box;
padding: 0 0.2666666667rem;
margin: 0.2rem auto 0; }
.record-list li .goldBox p {
color: #fff;
width: 50%;
text-align: center;
display: none; }
.record-list li .goldBox span {
color: #FFF773;
font-size: 0.2666666667rem; }
.record-list li .result-wrap {
width: 84%;
height: 1.2133333333rem;
line-height: 1.2133333333rem;
box-sizing: border-box;
margin: 0.0666666667rem auto 0.3333333333rem;
display: flex;
justify-content: space-between;
position: relative; }
.record-list li .result-wrap .result {
display: flex;
align-items: center; }
.record-list li .result-wrap .result span {
font-size: 0.3733333333rem;
color: #FFFFFF;
padding-right: 0.1866666667rem;
font-weight: 600;
position: absolute;
left: 50%;
transform: translateX(-50%);
width: 1.9066666667rem;
height: 0.6rem;
top: 0.2rem; }
.record-list li .result-wrap .result .resultImg {
position: absolute;
left: 50%;
transform: translateX(-50%);
width: 1.9066666667rem;
height: 0.6rem; }
.record-list li .result-wrap .award {
display: flex;
align-items: center;
position: absolute;
right: 0rem;
top: -0.1rem; }
.record-list li .result-wrap .award p,
.record-list li .result-wrap .award b {
font-size: 0.3733333333rem;
color: #FFFFFF;
font-weight: 600; }
.record-list li .result-wrap .award .diamond {
width: 0.3733333333rem;
height: 0.3733333333rem; }
.record-list li .result-wrap .result_sBox {
width: 8.8rem;
height: 1.1466666667rem;
margin: 1rem auto 0;
display: flex;
justify-content: center;
position: relative;
left: 50%;
transform: translateX(-50%); }
.record-list li .result-wrap .result_sBox .bg {
width: 1.1466666667rem;
height: 1.1466666667rem;
background: url("../images/record_bubble_act.png") no-repeat;
background-size: 100% 100%;
text-align: center; }
.record-list li .result-wrap .result_sBox .bg img {
width: 75%;
display: block;
margin: 0.1333333333rem auto 0; }
.record-list li .put-wrap {
width: 84%;
height: 1.2133333333rem;
line-height: 1.2133333333rem;
box-sizing: border-box;
margin: 2rem auto 0;
display: flex;
position: relative; }
.record-list li .put-wrap .put {
font-size: 0.3733333333rem;
color: #FFFFFF;
font-weight: 600;
margin-right: 0.9rem;
position: absolute;
width: 1.0266666667rem;
height: 0.6rem;
left: 50%;
transform: translateX(-50%);
top: -0.6rem; }
.record-list li .put-wrap .list {
width: 6.72rem;
height: 2.7733333333rem;
display: flex;
flex-wrap: wrap;
margin: 0.3rem auto 0; }
.record-list li .put-wrap .list .item {
width: 0.9866666667rem;
height: 1.2rem;
margin-right: 0.92rem;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center; }
.record-list li .put-wrap .list .item:nth-child(4n) {
margin-right: 0; }
.record-list li .put-wrap .list .item p {
width: 0.8266666667rem;
height: 0.8266666667rem;
background: url("../images/record_bubble.png") no-repeat;
background-size: 100% 100%; }
.record-list li .put-wrap .list .item p .gift {
width: 75%;
margin-top: 0.1rem;
margin-left: 0.1rem; }
.record-list li .put-wrap .list .item div {
width: 100%;
height: 0.3333333333rem;
display: flex;
align-items: center;
justify-content: center; }
.record-list li .put-wrap .list .item div .diamond {
width: 0.3333333333rem;
height: 0.3333333333rem;
margin-top: -0.01rem; }
.record-list li .put-wrap .list .item div .in {
font-size: 0.2666666667rem;
color: #FFFFFF;
font-weight: 600;
white-space: nowrap; }
.record-list li .marine_organism {
width: 78%;
height: 2.1333333333rem;
margin: 0 auto;
display: flex;
justify-content: space-between;
flex-wrap: wrap; }
.record-list li .marine_organism span {
width: 1.6rem;
height: 1.6rem;
position: relative;
display: block; }
.record-list li .marine_organism span img {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 0.72rem;
height: 0.6266666667rem;
display: block; }
.record-list li .marine_organism span b {
position: absolute;
right: -0.1rem;
top: 0.3rem;
color: #FFFFFF;
font-size: 0.2666666667rem; }
.record-list li .marine_organism .active {
width: 1.6rem;
height: 1.6rem;
position: relative; }
.record-list li .marine_organism .active img {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 0.96rem;
height: 0.8266666667rem;
display: block; }
.record-list li .marine_organism .active b {
position: absolute;
right: -0.1rem;
top: 0.3rem;
color: #FEEF60;
font-weight: bold;
font-size: 0.32rem; }
/*# sourceMappingURL=record.css.map */

View File

@@ -134,10 +134,18 @@ body {
transform: translateX(-50%);
width: px2rem(143, );
height: px2rem(45, );
background: url(../images/record/result.png) no-repeat;
background-size: 100% 100%;
// background: url(../images/record/result.png) no-repeat;
// background-size: 100% 100%;
top: 0.2rem;
}
.resultImg {
position: absolute;
left: 50%;
transform: translateX(-50%);
width: px2rem(143, );
height: px2rem(45, );
}
// .bg {
// width: px2rem(91, );
@@ -221,8 +229,8 @@ body {
height: px2rem(45, );
left: 50%;
transform: translateX(-50%);
background: url(../images/record/touru.png) no-repeat;
background-size: 100% 100%;
// background: url(../images/record/touru.png) no-repeat;
// background-size: 100% 100%;
top: -0.6rem;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@@ -5,7 +5,7 @@
<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></title>
<link rel="stylesheet" href="../../common/css/reset.css">
<link rel="stylesheet" href="./css/index.css?v=2.2">
@@ -15,11 +15,11 @@
<div class="wrap no-in-app">
<!-- <div class="wrap "> -->
<div class="banner">
<img src="./images/banner.png" alt="">
<img class="subtitle" src="./images/subtitle.png" alt="">
<img id="bannerImg" src="" alt="">
<img id="subtitleImg" class="subtitle" src="" alt="">
</div>
<div class="rule"><img src="./images/rule.png" alt=""></div>
<div class="record"><img src="./images/record.png" alt=""></div>
<div class="rule"><img id="ruleImg" src="" alt=""></div>
<div class="record"><img id="recordImg" src="" alt=""></div>
<!-- 特权商城 -->
<div class="mall" style="display: none;">
@@ -41,8 +41,8 @@
<div class="roundId"></div>
<!-- 选择时间 -->
<div class="select-time">
<div class="count-down">开奖倒计时:<span class="count-down-num"></span></div>
<div class="current-tip">玩法:选择鉆石数量→选择食材</div>
<div class="count-down"><span id="count_down1">开奖倒计时:</span><span class="count-down-num"></span><span class="second"></span></div>
<div class="current-tip"><span id="current_tip1">玩法:选择鉆石数量→选择食材</span></div>
<div class="btn-wrap">
<div class="active">100</div>
@@ -58,20 +58,31 @@
</div>
<!-- 等待结果 -->
<div class="wait-time">
<div class="count-down">开奖中:<span class="count-down-num"></span></div>
<div class="current-tip">等待结果</div>
<div class="count-down">
<span id="count_down2">开奖中:</span>
<span class="count-down-num"></span>
<span class="second"></span>
</div>
<div id="current_tip2" class="current-tip">等待结果</div>
</div>
<!-- 开奖展示动画时间 -->
<div class="draw-time">
<div class="count-down">下一轮:<span class="count-down-num"></span></div>
<div class="current-tip">本轮结果:<span class="current-result"></span></div>
<div class="count-down">
<span id="count_down3"> 下一轮:</span>
<span class="count-down-num"></span>
<span class="second"></span>
</div>
<div class="current-tip">
<span id="current_tip3">本轮结果:</span>
<span class="current-result"></span>
</div>
<!-- 中奖物品展示 -->
<!-- <div class="draw-pic">
<img src="http://beta.img.pekolive.com/FjWcbuxEpzZ8P3aS4A0n2llW9Jw9?imageslim" alt="">
</div> -->
<!-- 投入列表 -->
<div class="put-wrap">
<div class="put">投入</div>
<div id="put" class="put">投入</div>
<div class="list">
<!-- <div class="item">
<p><img src="" class="gift" alt=""></p>
@@ -84,7 +95,7 @@
</div>
<!-- 用户本轮中奖情况 -->
<div class="award-info">
<div class="desc">奖励</div>
<div id="desc" class="desc">奖励</div>
<img src="./images/diamond.png" class="diamond" alt="">
<div class="award-wrap"></div>
</div>
@@ -134,7 +145,7 @@
<!-- 往轮结果 -->
<div class="previous_Round_Result">
<span></span>
<span><img id="wljgImg" src="" alt=""></span>
<div class="box">
<ul>
</ul>
@@ -162,11 +173,12 @@
<div class="info-bottom">
<div class="avatar"><img src="./images/logo.png" alt=""></div>
<div class="info-wrap">
<div class="diamond-num">我的鉆石:<span>0</span></div>
<div class="fragment-num">今日奖励:<span>0</span></div>
<div class="diamond-num"><b id="diamond_num">我的鉆石:</b><span>0</span></div>
<div class="fragment-num"><b id="fragment_num">今日奖励:</b><span>0</span></div>
</div>
<div class="add"><img src="./images/add.png" alt=""></div>
<div class="rank"><img src="./images/rank.png" alt=""></div>
<div class="rank"><img id="rankImg" src="" alt=""></div>
</div>
<!-- 规则弹窗 -->
@@ -174,22 +186,22 @@
<div class="shade-content">
<main>
<div class="cyfs">
<p class="title">參與方式</p>
用戶可通過花費鉆石參與《星級廚房》遊戲每次最少消耗100鉆石每回合時間30秒
<p class="jietu"><img src="./images/t1.png" alt=""></p>
<p id="cyfs_title" class="title">參與方式</p>
<p id="cyfs">用戶可通過花費鉆石參與《星級廚房》遊戲每次最少消耗100鉆石每回合時間30秒</p>
<p class="jietu"><img id="cyfsImg" src="./images/t1.png" alt=""></p>
</div>
<div class="lwff">
<p class="title">禮物發放</p>
每次參與遊戲後會獲得一次禮物開獎;
<p class="jietu t2"><img src="./images/t2.png" alt=""></p>
每次隨機從8種食材中選取一個或多個作為中獎食材中獎後獲得中獎物品所花費的鉆石數*中獎食材對應倍數)的鉆石獎勵,當中獎多個食材時,獲得的鉆石會同時發放。鉆石將直接發放到賬戶中。
<p class="jietu t3"><img src="./images/t3.png" alt=""></p>
例如購買1個5倍番茄花費100鉆購買1個蘿蔔花費100鉆中獎後將獲得100*5+100*5=1000鉆。
<p id="lwff_title" class="title">禮物發放</p>
<p id="lwff3">每次參與遊戲後會獲得一次禮物開獎;</p>
<p class="jietu t2"><img id="lwffImg1" src="./images/t2.png" alt=""></p>
<p id="lwff1"> 每次隨機從8種食材中選取一個或多個作為中獎食材中獎後獲得中獎物品所花費的鉆石數*中獎食材對應倍數)的鉆石獎勵,當中獎多個食材時,獲得的鉆石會同時發放。鉆石將直接發放到賬戶中。</p>
<p class="jietu t3"><img id="lwffImg2" src="./images/t3.png" alt=""></p>
<p id="lwff2">例如購買1個5倍番茄花費100鉆購買1個蘿蔔花費100鉆中獎後將獲得100*5+100*5=1000鉆。</p>
</div>
<div class="qtsm">
<p class="title">其他說明</p>
如果以上說明未能解答您的疑問,請聯繫客服,會有專人解答疑難
<p>本活動與蘋果公司無關</p>
<p id="qtsm_title" class="title">其他說明</p>
<p id="qtsm1">如果以上說明未能解答您的疑問,請聯繫客服,會有專人解答疑難</p>
<p id="qtsm2">本活動與蘋果公司無關</p>
</div>
</main>
</div>
@@ -201,8 +213,8 @@
<div class="rank-top">
<div class="tab-wrap">
<span class="diamond-rank active">今日獎勵榜</span>
<span class="num-rank">今日歐皇榜</span>
<span id="diamond_rank" class="diamond-rank active">今日獎勵榜</span>
<span id="num_rank" class="num-rank">今日歐皇榜</span>
</div>
<div class="topthree-wrap">
@@ -228,12 +240,12 @@
<!-- 碎片不足提示弹窗 -->
<div class="shade-mask-fragmentNum">
<div class="shade-content-fragmentNum">
<div class="fragmentNum-title">鉆石余額不足</div>
<div id="fragmentNum_title" class="fragmentNum-title">鉆石余額不足</div>
<img src="./images/mall/no-money.png" alt="">
<p>当前鉆石不足</p>
<p id="fragmentNum_p">当前鉆石不足</p>
<div class="fragmentNum-btn-wrap">
<div class="cancel-btn">取消</div>
<div class="confirm-btn">获取鉆石</div>
<div id="cancel_btn" class="cancel-btn">取消</div>
<div id="confirm_btn" class="confirm-btn">获取鉆石</div>
</div>
</div>
</div>
@@ -245,6 +257,12 @@
<script src="../../common/js/layer.js"></script>
<script src="../../common/js/vconsole.min.js"></script>
<script src="../../common/js/svga.min.js"></script>
<script src="./local/zh.js"></script>
<script src="./local/en.js"></script>
<script src="./local/ar.js"></script>
<script src="./local/id.js"></script>
<script src="./local/tr.js"></script>
<script src="../../common/local/langHandler.js"></script>
<script src="./js/index.js?v=2.2"></script>
</body>

View File

@@ -16,7 +16,7 @@ const showLoading = (content = '加載中...') => {
type: 2,
shadeClose: false,
content,
success (e) {
success(e) {
layerIndex = $(e).attr('index');
$('.layui-m-layer').css("z-index", '9999');
}
@@ -51,7 +51,7 @@ const getUserInfo = (param) => {
networkRequest({
type: 'GET',
url: urlPrefix + '/act/luckySea/getUserActInfo',
success (res) {
success(res) {
if (res.code === 200) {
$('.info-bottom .info-wrap .fragment-num span').text(res.data.todayReward);
@@ -69,8 +69,9 @@ const getUserInfo = (param) => {
return toastMsg(res.message)
}
},
error (err) {
toastMsg('網絡錯誤,請退出重進')
error(err) {
// toastMsg('網絡錯誤,請退出重進')
toastMsg(translateArr.network)
}
})
}
@@ -79,7 +80,7 @@ const getUserPieceNum = () => {
networkRequest({
type: 'GET',
url: urlPrefix + '/act/luckySea/getUserActInfo',
success (res) {
success(res) {
if (res.code === 200) {
$('.info-bottom').find('.fragment span').html(res.data.diamonds)
myFragment = res.data.diamonds;
@@ -88,8 +89,8 @@ const getUserPieceNum = () => {
}
lock = !lock
},
error (err) {
toastMsg('網絡錯誤,請退出重進')
error(err) {
toastMsg(translateArr.network)
}
})
}
@@ -100,7 +101,7 @@ const getGameMode = () => {
networkRequest({
type: 'GET',
url: urlPrefix + '/act/luckySea/getTimeConfig',
success (res) {
success(res) {
if (res.code === 200) {
modelType = res.data.modelType
getNewestAct()
@@ -108,8 +109,8 @@ const getGameMode = () => {
return toastMsg(res.message)
}
},
error (err) {
toastMsg('網絡錯誤,請退出重進')
error(err) {
toastMsg(translateArr.network)
}
})
}
@@ -126,15 +127,17 @@ const getNewestAct = () => {
type: 'GET',
url: urlPrefix + '/act/luckySea/getNewestAct',
timeout: 8000,
success (res) {
success(res) {
if (res.code === 200) {
if ($.isEmptyObject(res.data) || res.data.status === 4) {
return showLoading('服務器正在維護中...')
// return showLoading('服務器正在維護中...')
return showLoading(translateArr.showLoading)
} else {
console.log(res.timestamp > res.data.endTime);
if (res.data.endTime == null) res.data.endTime = undefined
if (res.timestamp >= res.data.endTime) { //請求的還是上一輪的數據,重新請求
console.log('請求的還是上一輪的數據,必須重新請求');
showLoading()
// showLoading(translateArr.loading)
timer2 = setTimeout(() => {
getNewestAct()
}, 600);
@@ -174,13 +177,14 @@ const getNewestAct = () => {
return toastMsg(res.message)
}
},
error (err) {
toastMsg('網絡錯誤,請退出重進')
error(err) {
toastMsg(translateArr.network)
},
complete: function (XMLHttpRequest, status) {
if (status == 'timeout') {
XMLHttpRequest.abort()// 超时后中断请求
toastMsg('网络开小差,请退出重进,开奖结果可通过【游戏记录】/【往轮结果】查看~')
// toastMsg('网络开小差,请退出重进,开奖结果可通过【游戏记录】/【往轮结果】查看~')
toastMsg(translateArr.complete_toast)
}
}
})
@@ -366,7 +370,7 @@ const showCountDown = (timestamp, startTime, endTime) => {
}, delayTime * 1000)
isStatus2 = false
} else {
showLoading()
showLoading(translateArr.loading)
// toastMsg('服務器繁忙,請稍等')
console.log('status的值-----------', status);
judgeStatus()
@@ -409,12 +413,13 @@ const judgeStatus = () => {
networkRequest({
type: 'GET',
url: urlPrefix + '/act/luckySea/getNewestAct',
success (res) {
success(res) {
if (res.code === 200) {
console.log('res.data的值------------', res.data);
if ($.isEmptyObject(res.data) || res.data.status === 4) {
console.log('程序崩了!!!');
return showLoading('服務器正在維護中...')
// return showLoading('服務器正在維護中...')
return showLoading(translateArr.showLoading)
} else if (res.data.status === 3) {
clearTimeout(timer4)
status = true
@@ -440,8 +445,8 @@ const judgeStatus = () => {
toastMsg(res.message)
}
},
error (err) {
toastMsg('網絡錯誤,請退出重進')
error(err) {
toastMsg(translateArr.network)
}
})
}
@@ -521,18 +526,20 @@ const renderDrawInfo = () => {
topThreeArr = drawInfo.rankUserList
let str = ''
if (topThreeArr.length === 0) {
$('.topthree-desc').html('本輪無人猜中')
// $('.topthree-desc').html('本輪無人猜中')
$('.topthree-desc').html(translateArr.topthree_desc1)
$('.top-three-list').css('display', 'none')
$('.top-three').css('line-height', '4rem')
// $('.top-three-list p img').attr('src', './images/default-hui.png')
} else {
$('.topthree-desc').html('本輪MVP')
// $('.topthree-desc').html('本輪MVP')
$('.topthree-desc').html(translateArr.topthree_desc2)
$('.top-three-list').css('display', 'block')
$('.top-three').css('line-height', '0rem')
if (topThreeArr.length < 3) {
let arr = new Array(3 - topThreeArr.length).fill({
avatar: './images/default-hui.png',
nick: '虚位以待',
nick: translateArr.top_wait,
uid: null,
num: 0
})
@@ -558,7 +565,7 @@ const getListItem = (roundId, type) => {
roundId,
type
},
success (res) {
success(res) {
if (res.code === 200) {
listItem = res.data
renderListItem()
@@ -566,8 +573,8 @@ const getListItem = (roundId, type) => {
toastMsg(res.message)
}
},
error (err) {
toastMsg('網絡錯誤,請退出重進')
error(err) {
toastMsg(translateArr.network)
}
})
}
@@ -591,8 +598,10 @@ const setTimeout2s = () => {
// 渲染每一輪抽獎的選項
const renderListItem = () => {
let str = ''
if (modelType === 1) {
listItem.map((item) => {
str += `
<li data-total-num={"number":"${item.costPieceNum}","id":"${item.id}"}>
@@ -600,23 +609,25 @@ const renderListItem = () => {
<div class="multiple">x${item.multiple}</div>
<div class="name general">${item.name}</div>
<div class="bubble-2s">
<p class="first-line">點擊選取</p>
<p class="second-line"><span>${item.multiple}</span> 倍獎勵</p>
<p class="first-line">${translateArr.first_line}</p>
<p class="second-line">${translateArr.earn}<span>${item.multiple}</span> ${translateArr.reward}</p>
</div>
<div class="select-num">${item.costPieceNum === 0 ? '' : '+ ' + item.costPieceNum}</div>
</li>
`
})
} else {
listItem.map((item) => {
str += `
<li data-total-num={"number":"${item.costPieceNum}","id":"${item.id}"}>
<img src="${item.imgUrl}" alt="">
<div class="multiple">x${item.multiple}</div>
<div class="name">${item.name} <p class="gift-price">${item.price ? `(${item.price}鉆石)` : ''}</p></div>
<div class="name">${item.name} <p class="gift-price">${item.price ? `(${item.price}${translateArr.diamond})` : ''}</p></div>
<div class="bubble-2s">
<p class="first-line">點擊選取</p>
<p class="second-line"> <span>${item.multiple}</span> 倍獎勵</p>
<p class="first-line">${translateArr.first_line}</p>
<p class="second-line">${translateArr.earn} <span>${item.multiple}</span> ${translateArr.reward}</p>
</div>
<div class="select-num">${item.costPieceNum === 0 ? '' : '+ ' + item.costPieceNum}</div>
</li>
@@ -624,6 +635,11 @@ const renderListItem = () => {
})
}
$('.game-area').find('ul').html(str)
// 中文提示字体大小修改
const localLang = window.lang;
if (localLang.code == 'zh') {
$('.select-time ul li .bubble-2s p').addClass('pzh')
}
setTimeout2s()
}
@@ -636,14 +652,14 @@ const getPreviousResults = (count, roundId) => {
count,
roundId
},
success (res) {
success(res) {
if (res.code === 200) {
// previousResults = res.data
renderPreviousResults(res.data)
}
},
error (err) {
toastMsg('網絡錯誤,請退出重進')
error(err) {
toastMsg(translateArr.network)
}
})
}
@@ -698,7 +714,7 @@ const sendUserDrawInfo = (itemId, num, tais) => {
// "num":${num}
// }]`,
data: { itemId, num },
success (res) {
success(res) {
if (res.code === 200) {
tais.data('total-num').number = parseInt(tais.data('total-num').number) + fragmentNum
tais
@@ -726,9 +742,9 @@ const sendUserDrawInfo = (itemId, num, tais) => {
hideLoading(layerIndex)
}
},
error (err) {
error(err) {
lock = !lock
toastMsg('網絡錯誤,請退出重進')
toastMsg(translateArr.network)
hideLoading(layerIndex)
}
})
@@ -768,7 +784,7 @@ const getListRank = (type, page) => {
page,
pageSize
},
success (res) {
success(res) {
if (res.code === 200) {
if (type === 1) {
// 鉆石榜單
@@ -802,8 +818,8 @@ const getListRank = (type, page) => {
toastMsg(res.message)
}
},
error (err) {
toastMsg('網絡錯誤')
error(err) {
toastMsg(translateArr.network)
}
})
}
@@ -817,17 +833,21 @@ const renderMyInfo = () => {
return item.erbanNo === erbanNo
})
if (myIndex === -1) {
$('.mine-rank').html('未上榜')
// $('.mine-rank').html('未上榜')
$('.mine-rank').html(translateArr.on_list)
} else {
$('.mine-rank').html(myIndex + 1)
}
$('.mine-info').find('img').attr('src', myInfoD.avatar)
if (myInfoD.nick) {
myInfoD.nick.length > 5 ? myInfoD.nick.slice(0, 5) + '...' : myInfoD.nick
$('.mine-info').find('.mine-nick').html(myInfoD.nick.length > 8 ? myInfoD.nick.slice(0, 8) + '...' : myInfoD.nick)
} else {
myInfoD.nick = '未知'
// myInfoD.nick = '未知'
// myInfoD.nick = translateArr.no_nick
$('.mine-info').find('.mine-nick').html(translateArr.no_nick)
}
$('.mine-info').find('.mine-nick').html(myInfoD.nick)
let tostr = myInfoD.num.toString()
let num
if (tostr.length >= 5) {
@@ -843,18 +863,22 @@ const renderMyInfo = () => {
return item.erbanNo === erbanNo
})
if (myIndex === -1) {
$('.mine-rank').html('未上榜')
// $('.mine-rank').html('未上榜')
$('.mine-rank').html(translateArr.on_list)
} else {
$('.mine-rank').html(myIndex + 1)
}
$('.mine-info').find('img').attr('src', myInfoN.avatar)
if (myInfoN.nick) {
myInfoN.nick.length > 5 ? myInfoN.nick.slice(0, 5) + '...' : myInfoN.nick
$('.mine-info').find('.mine-nick').html(myInfoN.nick.length > 8 ? myInfoN.nick.slice(0, 8) + '...' : myInfoN.nick)
} else {
myInfoN.nick = '未知'
// myInfoD.nick = '未知'
// myInfoD.nick = translateArr.no_nick
$('.mine-info').find('.mine-nick').html(translateArr.no_nick)
}
$('.mine-info').find('.mine-nick').html(myInfoN.nick)
$('.mine-diamond-num').html('猜中<b> ' + myInfoN.num + ' </b>次')
// $('.mine-diamond-num').html('猜中<b> ' + myInfoN.num + ' </b>次')
$('.mine-diamond-num').html(`${translateArr.mine_diamond_num}<b> ` + myInfoN.num + ` </b>${translateArr.mine_diamond_time}`)
}
}
@@ -867,7 +891,7 @@ const renderRankList = () => {
if (rankListD.length === 0) {
let len = 1 - rankListD.length
let arr = new Array(len).fill({
nick: '虛位以待',
nick: translateArr.top_wait,
avatar: './images/default.png',
num: ''
})
@@ -935,7 +959,7 @@ const renderRankList = () => {
if (rankListN.length === 0) {
let len = 1 - rankListN.length
let arr = new Array(len).fill({
nick: '虛位以待',
nick: translateArr.top_wait,
avatar: './images/default.png'
})
topThreeArr.push(...arr)
@@ -944,7 +968,7 @@ const renderRankList = () => {
topThreeArr.map((item) => {
let num = ''
if (item.erbanNo) {
num = '猜中' + item.num + '次'
num = translateArr.mine_diamond_num + item.num + translateArr.mine_diamond_time
}
topThreeStr = `
<div class="info-wrap" uid="${item.uid}">
@@ -970,7 +994,7 @@ const renderRankList = () => {
othersArr.map((item, index) => {
let num
if (item.erbanNo) {
num = '猜中<b> ' + item.num + ' </b>'
num = translateArr.mine_diamond_num + '<b> ' + item.num + ' </b>' + translateArr.mine_diamond_time
}
others += `
<li uid="${item.uid}">
@@ -993,7 +1017,7 @@ const renderRankList = () => {
}
//跳转个人主页
function openPerson (uid) {
function openPerson(uid) {
console.log('跳转个人主页方法');
if (!browser.app) return
if (browser.ios) {
@@ -1005,14 +1029,38 @@ function openPerson (uid) {
}
}
var translateArr = {
loading: '加載中',
network: '網絡錯誤,請退出重進',
open_app: '請在app內打開',
showLoading: '服務器正在維護中...',
complete_toast: '網絡開小差,請退出重進,開獎結果可通過【遊戲記錄】/【往輪結果】查看~',
topthree_desc1: '本輪無人猜中',
topthree_desc2: '本輪MVP',
top_wait: '虛位以待',
first_line: '點擊選取',
earn: '賺',
reward: '倍獎勵',
on_list: '未上榜',
no_nick: '未知',
mine_diamond_num: '猜中',
mine_diamond_time: '次',
select_time: '請先選擇碎片數量',
diamond: '鉆石',
}
$(function () {
getInfoFromClient()
fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
setTimeout(function () {
// 初始化国际化
initLocalLang();
// getUserInfo()
getGameMode()
// getNewestAct()
// getListItem()
translateFun();
$('.recharge').click(function () {
// if (browser.app) {
// if (browser.ios) {
@@ -1041,6 +1089,68 @@ $(function () {
// getPreviousResults(20, roundId)
}, 100)
// 进行文本替换
function translateFun() {
const langReplace = window.lang.replace;
const localLang = window.lang;
$('title').text(langReplace(localLang.demoModule.index_title));
$('.second').html(langReplace(localLang.demoModule.second));
$('#diamond_num').html(langReplace(localLang.demoModule.diamond_num));
$('#fragment_num').html(langReplace(localLang.demoModule.fragment_num));
$('#current_tip1').html(langReplace(localLang.demoModule.current_tip1));
$('#count_down1').html(langReplace(localLang.demoModule.count_down1));
$('#count_down2').html(langReplace(localLang.demoModule.count_down2));
$('#current_tip2').html(langReplace(localLang.demoModule.current_tip2));
$('#count_down3').html(langReplace(localLang.demoModule.count_down3));
$('#current_tip3').html(langReplace(localLang.demoModule.current_tip3));
$('#put').html(langReplace(localLang.demoModule.put));
$('#desc').html(langReplace(localLang.demoModule.desc));
$('#cyfs_title').html(langReplace(localLang.demoModule.cyfs_title));
$('#diamond_num').html(langReplace(localLang.demoModule.diamond_num));
$('#cyfs').html(langReplace(localLang.demoModule.cyfs));
$('#lwff_title').html(langReplace(localLang.demoModule.lwff_title));
$('#lwff1').html(langReplace(localLang.demoModule.lwff1));
$('#lwff2').html(langReplace(localLang.demoModule.lwff2));
$('#lwff3').html(langReplace(localLang.demoModule.lwff3));
$('#qtsm_title').html(langReplace(localLang.demoModule.qtsm_title));
$('#qtsm1').html(langReplace(localLang.demoModule.qtsm1));
$('#qtsm2').html(langReplace(localLang.demoModule.qtsm2));
$('#wljgImg').attr('src', langReplace(localLang.demoModule.wljgImg));
$('#bannerImg').attr('src', langReplace(localLang.demoModule.bannerImg));
$('#subtitleImg').attr('src', langReplace(localLang.demoModule.subtitleImg));
$('#ruleImg').attr('src', langReplace(localLang.demoModule.ruleImg));
$('#recordImg').attr('src', langReplace(localLang.demoModule.recordImg));
$('#rankImg').attr('src', langReplace(localLang.demoModule.rankImg));
$('#cyfsImg').attr('src', langReplace(localLang.demoModule.cyfsImg));
$('#lwffImg1').attr('src', langReplace(localLang.demoModule.lwffImg1));
$('#lwffImg2').attr('src', langReplace(localLang.demoModule.lwffImg2));
$('#diamond_rank').html(langReplace(localLang.demoModule.diamond_rank));
$('#num_rank').html(langReplace(localLang.demoModule.num_rank));
$('#fragmentNum_title').html(langReplace(localLang.demoModule.fragmentNum_title));
$('#fragmentNum_p').html(langReplace(localLang.demoModule.fragmentNum_p));
$('#cancel_btn').html(langReplace(localLang.demoModule.cancel_btn));
$('#confirm_btn').html(langReplace(localLang.demoModule.confirm_btn));
translateArr.loading = langReplace(localLang.demoModule.loading)
translateArr.network = langReplace(localLang.demoModule.network)
translateArr.open_app = langReplace(localLang.demoModule.open_app)
translateArr.showLoading = langReplace(localLang.demoModule.showLoading)
translateArr.complete_toast = langReplace(localLang.demoModule.complete_toast)
translateArr.topthree_desc1 = langReplace(localLang.demoModule.topthree_desc1)
translateArr.topthree_desc2 = langReplace(localLang.demoModule.topthree_desc2)
translateArr.top_wait = langReplace(localLang.demoModule.top_wait)
translateArr.first_line = langReplace(localLang.demoModule.first_line)
translateArr.earn = langReplace(localLang.demoModule.earn)
translateArr.reward = langReplace(localLang.demoModule.reward)
translateArr.on_list = langReplace(localLang.demoModule.on_list)
translateArr.no_nick = langReplace(localLang.demoModule.no_nick)
translateArr.mine_diamond_num = langReplace(localLang.demoModule.mine_diamond_num)
translateArr.mine_diamond_time = langReplace(localLang.demoModule.mine_diamond_time)
translateArr.select_time = langReplace(localLang.demoModule.select_time)
translateArr.diamond = langReplace(localLang.demoModule.diamond)
}
// 監聽按鈕點擊事件
// let fragmentNum
// let isSelectTab = false
@@ -1294,7 +1404,7 @@ $(function () {
$countDown.html(countDownTime)
}
})
})
})
//返回页面 重新请求接口
var hiddenProperty = 'hidden' in document ? 'hidden' :
'webkitHidden' in document ? 'webkitHidden' :

View File

@@ -18,13 +18,19 @@ const toastMsg = (content = '', time = 2) => {
$(function () {
getInfoFromClient()
fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
if (EnvCheck() === 'test') { new VConsole }
setTimeout(function () {
// 初始化国际化
initLocalLang();
getUserRecord()
}, 100)
function getUserRecord () {
canNext = false
const langReplace = window.lang.replace;
const localLang = window.lang;
$('title').text(langReplace(localLang.demoModule.record));
networkRequest({
type: 'GET',
url: urlPrefix + '/act/luckySea/listDrawRecord',
@@ -41,7 +47,8 @@ $(function () {
renderRecord(res.data)
} else {
canNext = false
toastMsg('沒有更多啦~')
// toastMsg('沒有更多啦~')
toastMsg(langReplace(localLang.demoModule.no_more))
}
} else {
@@ -51,13 +58,22 @@ $(function () {
},
error (err) {
canNext = true
toastMsg('網絡錯誤,請退出重進')
// toastMsg('網絡錯誤,請退出重進')
toastMsg(langReplace(localLang.demoModule.network))
}
})
}
// 渲染游戏记录
const renderRecord = (recordList) => {
const langReplace = window.lang.replace;
const localLang = window.lang;
let drawStatus1 = langReplace(localLang.demoModule.drawStatus1);
let drawStatus2 = langReplace(localLang.demoModule.drawStatus2);
let award = langReplace(localLang.demoModule.award);
let resultImg = langReplace(localLang.demoModule.resultImg);
let putImg = langReplace(localLang.demoModule.putImg);
if (recordList.length === 0) {
$('.record-list').hide();
// $('.img').show();
@@ -87,15 +103,15 @@ $(function () {
<h3>${dateFormat(res.drawTime, 'yy-MM-dd hh:mm:ss')}</h3>
<div class="goldBox">
<span>NO.${res.roundId}</span>
<p style="display: ${res.drawStatus == 1 ? 'none' : 'block'};" class="fasle">哎呀~猜錯了 o(╥﹏╥)o</p>
<p style="display: ${res.drawStatus == 1 ? 'block' : 'none'};" class="true">厲害~猜對了 ୧(๑•̀◡•́๑)૭</p>
<p style="display: ${res.drawStatus == 1 ? 'none' : 'block'};" class="fasle">${drawStatus1}</p>
<p style="display: ${res.drawStatus == 1 ? 'block' : 'none'};" class="true">${drawStatus2}</p>
</div>
<div class="result-wrap">
<div class="result">
<span></span>
<img class="resultImg" src="${resultImg}" alt="">
</div>
<div class="award">
<p>獎勵:</p>
<p>${award}:</p>
<img src="./images/diamond.png" class="diamond" alt="">
<b>${res.reward}</b>
</div>
@@ -106,7 +122,7 @@ $(function () {
</div>
</div>
<div class="put-wrap">
<div class="put"></div>
<img class="put" src="${putImg}" alt="">
<div class="list">
</div>

View File

@@ -0,0 +1,69 @@
// 阿拉伯
langAr = {
// 模塊
demoModule: {
loading: 'تحميل',
network: 'خطأ في الشبكة ، يرجى الخروج وإعادة الدخول',
open_app: 'يرجى فتحه في التطبيق',
// ===============index============
index_title: 'نجمة المطبخ',
diamond_num:'بلدي الماس:',
fragment_num:'جائزة اليوم:',
count_down1:'العد التنازلي للرسم:',
second:'ثانية',
current_tip1:'طريقة اللعب: <br>اختر عدد الماسات ← اختر المكونات',
count_down2:'في اليانصيب:',
current_tip2:'في انتظار النتائج',
count_down3:'الجولة التالية:',
current_tip3:'نتائج هذه الجولة:',
put:'ضعه في',
desc:'جائزة',
top_wait:'منتظر',
cyfs_title:'طريقة المشاركة',
cyfs:'يمكن للمستخدمين المشاركة في لعبة "مطبخ النجوم" عن طريق إنفاق الماس ، 100 ماسة على الأقل في كل مرة ، وتستغرق كل جولة 30 ثانية',
wljgImg:'./images/ar/wljg-ay.png',
bannerImg:'./images/ar/banner-ay.png',
subtitleImg:'./images/ar/subtitle-ay.png',
ruleImg:'./images/ar/rule-ay.png',
recordImg:'./images/ar/record-ay.png',
rankImg:'./images/ar/rank-ay.png',
cyfsImg:'./images/ar/t1-ay.png',
lwffImg1:'./images/t2.png',
lwffImg2:'./images/ar/t3-ay.png',
lwff_title:'توزيع الهدايا',
lwff1:'في كل مرة ، يتم اختيار واحد أو أكثر من المكونات الثمانية بشكل عشوائي كمكونات فائزة. بعد الفوز بالجائزة ، ستحصل على مكافأة ماسية (عدد الماسات التي يتم إنفاقها على العنصر الفائز * المضاعف المقابل للمكون الفائز). . سيتم إصدار الماس مباشرة في الحساب.',
lwff2:'على سبيل المثال ، يكلفك شراء حبة طماطم 5 أضعاف 100 ماسة ، و 100 ماسة لشراء جزرة. بعد الفوز بالجائزة ، ستحصل على 100 *5+100*5 =1000 ماسة.',
lwff3:' ستحصل على يانصيب هدية بعد المشاركة في اللعبة كل مرة',
qtsm_title:'تعليمات أخرى',
qtsm1:'إذا لم تستطع الإرشادات المذكورة أعلاه الإجابة على أسئلتك ، فيرجى الاتصال بخدمة العملاء ، وسيكون هناك شخص ما للإجابة على الأسئلة',
qtsm2:'هذا الحدث لا علاقة له بشركة Apple',
diamond_rank:'قائمة جوائز اليوم',
num_rank:'قائمة الحظ اليوم',
fragmentNum_title:'رصيد ماسي غير كافٍ',
fragmentNum_p:'الماس غير كاف حاليا',
cancel_btn:'يلغي',
confirm_btn:'الحصول على الماس',
showLoading:'السيرفر تحت الصيانة ...',
complete_toast:'توجد فجوة في الشبكة ، يرجى تسجيل الخروج وإعادة الدخول ، ويمكن الاطلاع على نتائج اليانصيب من خلال 【سجل اللعبة】/【 النتائج】 ',
topthree_desc1:'لا أحد يخمن هذه الجولة',
topthree_desc2:'هذه الجولة من MVP',
top_wait:'منتظر',
first_line:'انقر لتحديد',
earn:'يكسب',
reward:'مكافأة مضاعفة',
on_list:'ليس في القائمة',
no_nick:'مجهول',
mine_diamond_num:'خمن صحيح',
mine_diamond_time:'من الدرجة الثانية',
select_time:'الرجاء تحديد عدد الأجزاء أولاً',
diamond:'الماس',
// ===============recprd============
no_more:'لا أكثر ~',
record:'سجل اللعبة',
drawStatus1:'عفوًا ، لقد خمنت خطأ',
drawStatus2:'رائع ~ لقد فهمت الأمر بشكل صحيح',
award:'جائزة',
resultImg:'./images/record/result-ar.png',
putImg:'./images/record/touru-ar.png',
}
}

View File

@@ -0,0 +1,69 @@
// 英文
langEn = {
// 模塊
demoModule: {
loading: 'Loading',
network: 'Network error, please exit and re-enter',
open_app: 'Please open it in the app',
// ===============index============
index_title: 'star kitchen',
diamond_num:'my diamond:',
fragment_num:`Today's reward:`,
count_down1:'Countdown to draw:',
second:'Second',
current_tip1:'How to play: choose the number of diamonds → choose ingredients',
count_down2:'In the lottery:',
current_tip2:'Waiting for results',
count_down3:'next round:',
current_tip3:'Results of this round:',
put:'put in',
desc:'award',
top_wait:'waiting',
cyfs_title:'way of participation',
cyfs:'Users can participate in the "Star Kitchen" game by spending diamonds, at least 100 diamonds each time, and each round takes 30 seconds',
wljgImg:'./images/en/wljg.png',
bannerImg:'./images/en/banner.png',
subtitleImg:'./images/en/subtitle.png',
ruleImg:'./images/en/rule.png',
recordImg:'./images/en/record.png',
rankImg:'./images/en/rank.png',
cyfsImg:'./images/en/t1.png',
lwffImg1:'./images/t2.png',
lwffImg2:'./images/en/t3.png',
lwff_title:'gift distribution',
lwff1:'Each time, one or more of the 8 ingredients are randomly selected as the winning ingredients. After winning the prize, you will get a diamond reward (the number of diamonds spent on the winning item * the corresponding multiple of the winning ingredient). issued. Diamonds will be issued directly into the account.',
lwff2:'For example, it costs 100 diamonds to buy a 5 times tomato, and 100 diamonds to buy a carrot. After winning the prize, you will get 100*5+100*5=1000 diamonds.',
lwff3:' Every time you participate in the game, you will get a gift lottery',
qtsm_title:'other instructions',
qtsm1:'If the above instructions can not answer your questions, please contact customer service, there will be someone to answer the questions',
qtsm2:'This event has nothing to do with Apple',
diamond_rank:`Today's reward list`,
num_rank:`Today's lucky list`,
fragmentNum_title:'Insufficient diamond balance',
fragmentNum_p:'Currently insufficient diamonds',
cancel_btn:'Cancel',
confirm_btn:'get diamonds',
showLoading:'The server is under maintenance...',
complete_toast:'There is a gap in the network, please log out and re-enter, the results of the lottery can be viewed through 【Game Records】/【Results】',
topthree_desc1:'No one guesses this round',
topthree_desc2:'This round of MVP',
top_wait:'waiting',
first_line:'Click to select',
earn:'earn',
reward:'double reward',
on_list:'not on the list',
no_nick:'unknown',
mine_diamond_num:'guess right',
mine_diamond_time:'Second-rate',
select_time:'Please select the number of fragments first',
diamond:'diamond',
// ===============recprd============
no_more:'no more~',
record:'game record',
drawStatus1:'Oops~ I guessed wrong',
drawStatus2:'Awesome~ I got it right',
award:'award',
resultImg:'./images/record/result-en.png',
putImg:'./images/record/touru-en.png',
}
}

View File

@@ -0,0 +1,69 @@
// 印尼语
langId = {
// 模塊
demoModule: {
loading: 'Memuat',
network: 'Kesalahan jaringan, silakan keluar dan masuk kembali',
open_app: 'Silakan buka di aplikasi',
// ===============index============
index_title: 'dapur bintang',
diamond_num:'berlian saya:',
fragment_num:'Hadiah hari ini:',
count_down1:'Kiraan mundur ke loteri:',
second:'Detik',
current_tip1:'Cara bermain: <br> pilih jumlah berlian → pilih bahan',
count_down2:'Dalam lotere:',
current_tip2:'Menunggu hasil',
count_down3:'ronde selanjutnya:',
current_tip3:'Hasil babak ini:',
put:'masukkan',
desc:'menghadiahkan',
top_wait:'menunggu',
cyfs_title:'cara partisipasi',
cyfs:'Pengguna dapat berpartisipasi dalam game "Star Kitchen" dengan membelanjakan berlian, setidaknya 100 berlian setiap kali, dan setiap putaran membutuhkan waktu 30 detik',
wljgImg:'./images/id/wljg-yn.png',
bannerImg:'./images/id/banner-yn.png',
subtitleImg:'./images/id/subtitle-yn.png',
ruleImg:'./images/id/rule-yn.png',
recordImg:'./images/id/record-yn.png',
rankImg:'./images/id/rank-yn.png',
cyfsImg:'./images/id/t1-yn.png',
lwffImg1:'./images/t2.png',
lwffImg2:'./images/id/t3-yn.png',
lwff_title:'distribusi hadiah',
lwff1:'Setiap kali, satu atau lebih dari 8 bahan dipilih secara acak sebagai bahan pemenang. Setelah memenangkan hadiah, Anda akan mendapatkan hadiah berlian (jumlah berlian yang dihabiskan untuk item pemenang * kelipatan yang sesuai dari bahan pemenang). . Berlian akan dikeluarkan langsung ke akun.',
lwff2:'Misal beli tomat 5 kali beli 100 diamond, beli wortel 100 diamond, setelah menang hadiahnya 100*5+100*5=1000 diamond.',
lwff3:'Setiap kali berpartisipasi permainan, Anda akan mendapatkan hadiah lotre',
qtsm_title:'instruksi lainnya',
qtsm1:'Jika petunjuk di atas tidak dapat menjawab pertanyaan Anda, silakan hubungi layanan pelanggan, akan ada seseorang yang menjawab pertanyaan tersebut',
qtsm2:'Acara ini tidak ada hubungannya dengan Apple',
diamond_rank:'Daftar hadiah hari ini',
num_rank:'Daftar keberuntungan hari ini',
fragmentNum_title:'Saldo berlian tidak mencukupi',
fragmentNum_p:'Saat ini berlian tidak mencukupi',
cancel_btn:'Membatalkan',
confirm_btn:'mendapatkan berlian',
showLoading:'Server sedang dalam perbaikan...',
complete_toast:'Ada celah di jaringan, harap logout dan masuk kembali, hasil undian dapat dilihat melalui 【Catatan Game】/【Hasil】',
topthree_desc1:'Tidak ada yang menebak babak ini',
topthree_desc2:'MVP babak ini',
top_wait:'menunggu',
first_line:'Klik untuk memilih',
earn:'menghasilkan',
reward:'kali hadiah',
on_list:'tidak ada dalam daftar',
no_nick:'tidak dikenal',
mine_diamond_num:'tebak benar',
mine_diamond_time:'kali',
select_time:'Harap pilih jumlah fragmen terlebih dahulu',
diamond:'berlian',
// ===============recprd============
no_more:'tidak ada lagih~',
record:'rekor permainan',
drawStatus1:'Ups~ tebakan salah',
drawStatus2:'Luar biasa~ Saya benar',
award:'hadiah',
resultImg:'./images/record/result-id.png',
putImg:'./images/record/touru-id.png',
}
}

View File

@@ -0,0 +1,69 @@
// 土耳其语
langTr = {
// 模塊
demoModule: {
loading: 'Yükleniyor',
network: 'Ağ hatası, lütfen çıkın ve tekrar girin',
open_app: 'Lütfen uygulamada açın',
// ===============index============
index_title: 'yıldız mutfak',
diamond_num:'elmasım:',
fragment_num:'Bugünün ödülü:',
count_down1:'Çizmek için geri sayım:',
second:'Saniye',
current_tip1:'Nasıl oynanır: elmas sayısını seçin <br> → malzemeleri seçin',
count_down2:'Piyangoda:',
current_tip2:'Sonuçlar bekleniyor',
count_down3:'sonraki tur:',
current_tip3:'Bu turun sonuçları:',
put:'koymak',
desc:'ödül',
top_wait:'beklemek',
cyfs_title:'katılım yolu',
cyfs:'Kullanıcılar elmas harcayarak, her seferinde en az 100 elmas harcayarak "Yıldız Mutfağı" oyununa katılabilirler ve her tur 30 saniye sürer.',
wljgImg:'./images/tr/wljg-tr.png',
bannerImg:'./images/tr/banner-tr.png',
subtitleImg:'./images/tr/subtitle-tr.png',
ruleImg:'./images/tr/rule-tr.png',
recordImg:'./images/tr/record-tr.png',
rankImg:'./images/tr/rank-tr.png',
cyfsImg:'./images/tr/t1-tr.png',
lwffImg1:'./images/t2.png',
lwffImg2:'./images/tr/t3-tr.png',
lwff_title:'hediye dağıtımı',
lwff1:'Her seferinde, 8 malzemeden biri veya daha fazlası kazanan malzemeler olarak rastgele seçilir.Ödülü kazandıktan sonra, bir elmas ödülü alırsınız (kazanan öğe için harcanan elmas sayısı * kazanan bileşenin ilgili katı). . Elmaslar doğrudan hesaba verilecektir.',
lwff2:'Örneğin 5 kat domates almak 100 elmas, havuç almak 100 elmas, ödülü kazandıktan sonra 100*5+100*5=1000 elmas alacaksınız.',
lwff3:'Oyuna her katıldığınızda, bir hediye çekilişi alacaksınız',
qtsm_title:'diğer talimatlar',
qtsm1:'Yukarıdaki talimatlar sorularınızı cevaplayamıyorsa, lütfen müşteri hizmetleri ile iletişime geçin, soruları cevaplayacak biri olacaktır.',
qtsm2:'Bu olayın Apple ile alakası yok.',
diamond_rank:'Bugünün ödül listesi',
num_rank:'Bugünün şanslı listesi',
fragmentNum_title:'Yetersiz elmas dengesi',
fragmentNum_p:'Şu anda yetersiz elmaslar',
cancel_btn:'İptal etmek',
confirm_btn:'elmas al',
showLoading:'Sunucu bakımda...',
complete_toast:'Ağda bir boşluk var, lütfen oturumu kapatın ve tekrar girin, çekilişin sonuçları 【Oyun Kayıtları】/【Sonuçlar】 aracılığıyla görüntülenebilir',
topthree_desc1:'Bu raundu kimse tahmin edemez',
topthree_desc2:'Bu MVP turu',
top_wait:'beklemek',
first_line:'Seçmek için tıkla',
earn:'para kazanmak',
reward:'çifte ödül',
on_list:'listede yok',
no_nick:'Bilinmeyen',
mine_diamond_num:'doğru tahmin et',
mine_diamond_time:'ikinci sınıf',
select_time:'Lütfen önce parça sayısını seçin',
diamond:'delmek',
// ===============recprd============
no_more:'artık yok~',
record:'oyun rekoru',
drawStatus1:'Ayy~ Yanlış tahmin ettim',
drawStatus2:'Müthiş~ Doğru anladım',
award:'ödül',
resultImg:'./images/record/result-tr.png',
putImg:'./images/record/touru-tr.png',
}
}

View File

@@ -0,0 +1,69 @@
// 繁体中文
langZh = {
// 模塊
demoModule: {
loading: '加載中',
network: '網絡錯誤,請退出重進',
open_app: '請在app內打開',
// ===============index============
index_title: '星級廚房',
diamond_num:'我的鉆石:',
fragment_num:'今日獎勵:',
count_down1:'開獎倒計時:',
second:'秒',
current_tip1:'玩法:<br>選擇鉆石數量→選擇食材',
count_down2:'開獎中:',
current_tip2:'等待結果',
count_down3:'下一輪:',
current_tip3:'本輪結果:',
put:'投入',
desc:'獎勵',
top_wait:'虛位以待',
cyfs_title:'參與方式',
cyfs:'用戶可通過花費鉆石參與《星級廚房》遊戲每次最少消耗100鉆石每回合時間30秒',
wljgImg:'./images/wljg.png',
bannerImg:'./images/banner.png',
subtitleImg:'./images/subtitle.png',
ruleImg:'./images/rule.png',
recordImg:'./images/record.png',
rankImg:'./images/rank.png',
cyfsImg:'./images/t1.png',
lwffImg1:'./images/t2.png',
lwffImg2:'./images/t3.png',
lwff_title:'禮物發放',
lwff1:'每次隨機從8種食材中選取一個或多個作為中獎食材中獎後獲得中獎物品所花費的鉆石數*中獎食材對應倍數)的鉆石獎勵,當中獎多個食材時,獲得的鉆石會同時發放。鉆石將直接發放到賬戶中。',
lwff2:'例如購買1個5倍番茄花費100鉆購買1個蘿蔔花費100鉆中獎後將獲得100*5+100*5=1000鉆。',
lwff3:'每次參與遊戲後會獲得一次禮物開獎;',
qtsm_title:'其他說明',
qtsm1:'如果以上說明未能解答您的疑問,請聯繫客服,會有專人解答疑難',
qtsm2:'本活動與蘋果公司無關',
diamond_rank:'今日獎勵榜',
num_rank:'今日歐皇榜',
fragmentNum_title:'鉆石余額不足',
fragmentNum_p:'當前鉆石不足',
cancel_btn:'取消',
confirm_btn:'獲取鉆石',
showLoading:'服務器正在維護中...',
complete_toast:'網絡開小差,請退出重進,開獎結果可通過【遊戲記錄】/【往輪結果】查看~',
topthree_desc1:'本輪無人猜中',
topthree_desc2:'本輪MVP',
top_wait:'虛位以待',
first_line:'點擊選取',
earn:'賺',
reward:'倍獎勵',
on_list:'未上榜',
no_nick:'未知',
mine_diamond_num:'猜中',
mine_diamond_time:'次',
select_time:'請先選擇碎片數量',
diamond:'鉆石',
// ===============recprd============
no_more:'沒有更多啦~',
record:'遊戲記錄',
drawStatus1:'哎呀~猜錯了 o(╥﹏╥)o',
drawStatus2:'厲害~猜對了 ୧(๑•̀◡•́๑)૭',
award:'獎勵',
resultImg:'./images/record/result.png',
putImg:'./images/record/touru.png',
}
}

View File

@@ -5,7 +5,7 @@
<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></title>
<link rel="stylesheet" href="../../common/css/reset.css">
<link rel="stylesheet" href="./css/record.css">
@@ -140,6 +140,12 @@
<script src="../../common/js/common2.js"></script>
<script src="../../common/js/layer.js"></script>
<script src="../../common/js/vconsole.min.js"></script>
<script src="./local/zh.js"></script>
<script src="./local/en.js"></script>
<script src="./local/ar.js"></script>
<script src="./local/id.js"></script>
<script src="./local/tr.js"></script>
<script src="../../common/local/langHandler.js"></script>
<script src="./js/record.js"></script>
</body>

View File

@@ -2,13 +2,13 @@ const productUrl = 'https://api.pekolive.com'; // 正式环境
const testUrl = 'https://beta.api.pekolive.com'; // 测试环境
function render (templateId, templateData, target) {
function render(templateId, templateData, target) {
var html = template(templateId, templateData);
target.innerHTML += html;
}
var tranUrl = 'https://api.pekolive.com';
function dateFormat (date, fmt) {
function dateFormat(date, fmt) {
date = new Date(date);
var o = {
'M+': date.getMonth() + 1,
@@ -19,7 +19,7 @@ function dateFormat (date, fmt) {
};
// 补全0
function padLeftZero (str) {
function padLeftZero(str) {
return ('00' + str).substr(str.length);
}
@@ -40,7 +40,7 @@ function dateFormat (date, fmt) {
return fmt;
}
function convert (_url) {
function convert(_url) {
var patt = /\d+/;
var num = _url.match(patt);
var rs = {};
@@ -65,7 +65,7 @@ function convert (_url) {
// }
// 根据域名适配环境
function EnvCheck () {
function EnvCheck() {
if (window.location.href) {
var _url = window.location.href;
var res = _url.match(/uat/);
@@ -84,7 +84,7 @@ function EnvCheck () {
// 根据域名判断 正式环境(含www)/测试环境(含beta), 并返回所需url前缀
// written by zxfxiong
function getUrlPrefix () {
function getUrlPrefix() {
if (!EnvCheck()) return undefined;
return EnvCheck() === 'live' ? productUrl : testUrl;
}
@@ -92,7 +92,7 @@ function getUrlPrefix () {
// 根据域名判断是本地打开还是服务器打开
function locateJudge () {
function locateJudge() {
if (window.location.href) {
var _url = window.location.href;
var res = _url.match(/test|localhost/);
@@ -105,7 +105,7 @@ function locateJudge () {
}
// 获取地址栏参数
function getQueryString () {
function getQueryString() {
var _url = location.search;
var theRequest = new Object();
if (_url.indexOf('?') != -1) {
@@ -119,7 +119,7 @@ function getQueryString () {
}
// 判断浏览器内核,手机类型
function checkVersion () {
function checkVersion() {
var u = navigator.userAgent,
app = navigator.appVersion;
return {
@@ -141,7 +141,7 @@ function checkVersion () {
}
// 图片预加载
function preloadImage (obj) {
function preloadImage(obj) {
console.log(obj)
var loadLength = 0,
newImages = [];
@@ -159,7 +159,7 @@ function preloadImage (obj) {
}
// 判断是否在App内
function isApp () {
function isApp() {
var androidBol = false;
var osBol = false;
if (window.androidJsObj && typeof window.androidJsObj === 'object') {
@@ -173,7 +173,7 @@ function isApp () {
}
function UrlSearch () {
function UrlSearch() {
var name, value;
var str = location.href;
var num = str.indexOf("?")
@@ -190,7 +190,7 @@ function UrlSearch () {
return value;
}
function erbanMask (channel, tags, params) {
function erbanMask(channel, tags, params) {
//此函数用于一般的轻寻底层面罩
var browser = checkVersion();
var env = EnvCheck();
@@ -236,7 +236,7 @@ function erbanMask (channel, tags, params) {
}
}
function wxConfig () {
function wxConfig() {
var wxurl = encodeURIComponent(location.href.split('#')[0]);
var data = "url=" + wxurl;
console.log(data);
@@ -266,11 +266,11 @@ function wxConfig () {
})
}
function refreshWeb () {
function refreshWeb() {
window.location.href = window.location.href;
}
function shareInfo (urlMsg) {
function shareInfo(urlMsg) {
if (urlMsg) {
var env = EnvCheck();
if (env == 'test') {
@@ -281,7 +281,7 @@ function shareInfo (urlMsg) {
}
}
function initNav (obj) {
function initNav(obj) {
if ($.isEmptyObject(obj)) {
return;
}
@@ -442,7 +442,7 @@ var $Loading = {
};
var requestBaseUrl = locateJudge();
// ajax
function request (type, option) {
function request(type, option) {
return $.ajax({
type: type,
url: requestBaseUrl + option.url,
@@ -462,11 +462,11 @@ function request (type, option) {
})
}
// ajax get
function getJSON (option) {
function getJSON(option) {
request('get', option)
}
// ajax post
function postJSON (option) {
function postJSON(option) {
request('post', option);
}
@@ -523,7 +523,7 @@ const methodsFromClient = {
// 全局获取并配置公共参数
// written by zxfxiong
const pubInfo = {};
function getInfoFromClient () {
function getInfoFromClient() {
const browser = checkVersion();
if (browser.app) {
console.log('从客户端获取了用户信息设备信息此信息来源common2.js');
@@ -542,7 +542,7 @@ function getInfoFromClient () {
} else {
// 非app环境调试参数
pubInfo.uid = 0;
pubInfo.ticket = "0";
pubInfo.ticket = "";
// pubInfo.uid = "";
// pubInfo.ticket = "";
@@ -557,18 +557,82 @@ function getInfoFromClient () {
};
}
};
// 设定语言 fuzzy模糊查询客户端返回的语言
const languageMap = [
{ name: '简体中文', code: 'zh', fuzzy: ['zh', 'zh-Hans', 'zh-'] },
{ name: '繁体中文', code: 'zh', fuzzy: ['zh', 'zh-Hant', 'zh-'] },
{ name: '英语', code: 'en', fuzzy: ['en'] },
{ name: '阿拉伯语', code: 'ar', fuzzy: ['ar','ar-'] },
{ name: '印尼语', code: 'id', fuzzy: ['id', 'in', 'id-', 'in-'] },
{ name: '土耳其语', code: 'tr', fuzzy: ['tr','tr-'] },
];
// 判断当前语言环境
function getLanguageCode(language) {
if (language) {
// language = language.toLowerCase();
for (const item of languageMap) {
// if (item.fuzzy.indexOf(language) !=-1) {
// return item.code;
// }
for (const list of item.fuzzy) {
if (language.indexOf(list) != -1) {
return item.code;
}
}
}
} else {
return 'zh'; // 旧版本返回默认语言
}
}
// 判断国际化参数路径
function fuzzyMatchUpdateQueryStringParameterFun() {
const browser = checkVersion();
if (browser.app) {
if (browser.android) {
console.log('and deviceInfo', JSON.parse(pubInfo.deviceInfo));
let langCode = getLanguageCode(JSON.parse(pubInfo.deviceInfo)["Accept-Language"]);
history.replaceState(null, null, updateQueryStringParameter(window.location.href, 'lang', langCode));
} else {
setTimeout(function () {
console.log('ios deviceInfo', pubInfo.deviceInfo);
let langCode = getLanguageCode(pubInfo.deviceInfo["Accept-Language"]);
history.replaceState(null, null, updateQueryStringParameter(window.location.href, 'lang', langCode));
}, 40)
}
} else {
let langCode = getLanguageCode();
history.replaceState(null, null, updateQueryStringParameter(window.location.href, 'lang', langCode));
}
}
// 获取整条url
function updateQueryStringParameter(uri, key, value) {
if (!value) {
return uri;
}
var re = new RegExp("([?&])" + key + "=.*?(&|$)", "i");
var separator = uri.indexOf('?') !== -1 ? "&" : "?";
if (uri.match(re)) {
return uri.replace(re, '$1' + key + "=" + value + '$2');
}
else {
return uri + separator + key + "=" + value;
}
}
// 繁体字转换方法
// fontConvert(true);//调用字体转换函数
// setTimeout(function () {
fontConvert(true);//调用字体转换函数
// fontConvert(true);//调用字体转换函数
// }, 1000)
function fontConvert (fontConvertBool) {
function SconvertT () {//简体转换繁体
function fontConvert(fontConvertBool) {
function SconvertT() {//简体转换繁体
document.head.innerHTML = s2t(document.head.innerHTML);
document.body.innerHTML = s2t(document.body.innerHTML);
// document.body.innerHTML
}
function TconvertS () {//繁体转换简体
function TconvertS() {//繁体转换简体
document.head.innerHTML = t2s(document.head.innerHTML);
document.body.innerHTML = t2s(document.body.innerHTML);
}
@@ -579,7 +643,7 @@ function fontConvert (fontConvertBool) {
}
//功能:转换对象,使用递归,逐层剥到文本;
function transformContent (switcherId, fobj) {
function transformContent(switcherId, fobj) {
if (typeof (fobj) == "object") {
var obj = fobj.childNodes
} else {
@@ -613,12 +677,12 @@ function fontConvert (fontConvertBool) {
}
}
//功能:转换指定字符串;
function transformText (txt, isFt) {
function transformText(txt, isFt) {
if (txt == null || txt == "") return ""
if (parseInt(isFt)) { return s2t(txt) } else { return t2s(txt) }
}
//功能:简体字符转为繁体字符;
function s2t (cc) {
function s2t(cc) {
var str = '', ss = jtpy(), tt = ftpy();
for (var i = 0; i < cc.length; i++) {
var c = cc.charAt(i);
@@ -628,7 +692,7 @@ function fontConvert (fontConvertBool) {
return str;
}
//功能:繁体字符转为简体字符;
function t2s (cc) {
function t2s(cc) {
var str = '', ss = jtpy(), tt = ftpy();
for (var i = 0; i < cc.length; i++) {
var c = cc.charAt(i);
@@ -637,14 +701,14 @@ function fontConvert (fontConvertBool) {
}
return str;
}
function jtpy () {
function jtpy() {
return '号隐爱的魔力之旅週金币榜皑蔼碍翱袄奥坝罢摆败颁办绊帮绑镑谤剥饱宝报鲍辈贝钡狈备惫绷笔毕毙闭边编贬变辩辫鼈瘪濒滨宾摈饼拨钵铂驳卜补参蚕残惭惨灿苍舱仓沧厕侧册测层诧搀掺蝉馋谗缠铲産阐颤场尝长偿肠厂畅钞车彻尘陈衬撑称惩诚骋痴迟驰耻齿炽冲虫宠畴踌筹绸丑橱厨锄雏础储触处传疮闯创锤纯绰辞词赐聪葱囱从丛凑窜错达带贷担单郸掸胆惮诞弹当挡党荡档捣岛祷导盗灯邓敌涤递缔点垫电淀钓调迭谍迭钉顶锭订东动栋冻斗犊独读赌镀锻断缎兑队对吨顿钝夺鹅额讹恶饿儿尔饵贰发罚阀珐矾钒烦范贩饭访纺飞废费纷坟奋愤粪丰枫锋风疯冯缝讽凤肤辐抚辅赋複负讣妇缚该钙盖干赶秆赣冈刚钢纲岗皋镐搁鸽阁铬个给龚宫巩贡鈎沟构购够蛊顾剐关观馆惯贯广规硅归龟闺轨诡柜贵刽辊滚锅国过骇韩汉阂鹤贺横轰鸿红后壶护沪户哗华画划话怀坏欢环还缓换唤痪焕涣黄谎挥辉毁贿秽会烩彙讳诲绘荤浑伙获货祸击机积饥讥鸡绩缉极辑级挤几蓟剂济计记际继纪夹荚颊贾钾价驾歼监坚笺间艰缄茧检碱硷拣捡简俭减荐槛鉴践贱见键舰剑饯渐溅涧浆蒋桨奖讲酱胶浇骄娇搅铰矫侥脚饺缴绞轿较秸阶节茎惊经颈静镜径痉竞淨纠厩旧驹举据锯惧剧鹃绢杰洁结诫届紧锦仅谨进晋烬尽劲荆觉决诀绝钧军骏开凯颗壳课垦恳抠库裤夸块侩宽矿旷况亏岿窥馈溃扩阔蜡腊莱来赖蓝栏拦篮阑兰澜谰揽览懒缆烂滥捞劳涝乐镭垒类泪篱离里鲤礼丽厉励砾曆沥隶俩联莲连镰怜涟帘敛脸链恋炼练粮凉两辆谅疗辽镣猎临邻鳞凛赁龄铃凌灵岭领馏刘龙聋咙笼垄拢陇楼娄搂篓芦卢颅庐炉掳卤虏鲁赂禄录陆驴吕铝侣屡缕虑滤绿峦挛孪滦乱抡轮伦仑沦纶论萝罗逻锣箩骡骆络妈玛码蚂马骂吗买麦卖迈脉瞒馒蛮满谩猫锚铆贸么霉没镁门闷们锰梦谜弥觅绵缅庙灭悯闽鸣铭谬谋亩钠纳难挠脑恼闹馁腻撵捻酿鸟聂齧镊镍柠狞甯拧泞钮纽脓浓农疟诺欧鸥殴呕沤盘庞国爱赔喷鹏骗飘频贫苹凭评泼颇扑铺朴谱脐齐骑岂啓气弃讫牵扦釺铅迁签谦钱钳潜浅谴堑枪呛牆蔷强抢锹桥乔侨翘窍窃钦亲轻氢倾顷请庆琼穷趋区躯驱龋颧权劝却鹊让饶扰绕热韧认纫荣绒软锐闰润洒萨鳃赛伞丧骚扫涩杀纱筛晒闪陝赡缮伤赏烧绍赊摄慑设绅审婶肾渗声绳胜圣师狮湿诗尸时蚀实识驶势释饰视试寿兽枢输书赎属术树竖数帅双谁税顺说硕烁丝饲耸怂颂讼诵擞苏诉肃虽绥岁孙损笋缩琐锁獭挞抬摊贪瘫滩坛谭谈歎汤烫涛縧腾誊锑题体屉条贴铁厅听烃铜统头图涂团颓蜕脱鸵驮驼椭洼袜弯湾顽万网韦违围爲潍维苇伟僞纬谓卫温闻纹稳问瓮挝蜗涡窝呜钨乌诬无芜吴坞雾务误锡牺袭习铣戏细虾辖峡侠狭厦锨鲜纤咸贤衔闲显险现献县馅羡宪线厢镶乡详响项萧销晓啸蝎协挟携胁谐写泻谢锌衅兴汹鏽绣虚嘘须许绪续轩悬选癣绚学勳询寻驯训讯逊压鸦鸭哑亚讶阉烟盐严顔阎豔厌砚彦谚验鸯杨扬疡阳痒养样瑶摇尧遥窑谣药爷页业叶医铱颐遗仪彝蚁艺亿忆义诣议谊译异绎荫阴银饮樱婴鹰应缨莹萤营荧蝇颖哟拥佣痈踊咏涌优忧邮铀犹游诱舆鱼渔娱与屿语吁御狱誉预驭鸳渊辕园员圆缘远愿约跃钥岳粤悦阅云郧匀陨运蕴酝晕韵杂灾载攒暂赞赃髒凿枣灶责择则泽贼赠扎札轧铡闸诈斋债毡盏斩辗崭栈战绽张涨帐账胀赵蛰辙锗这贞针侦诊镇阵挣睁狰帧郑证织职执纸挚掷帜质锺终种肿衆诌轴皱昼骤猪诸诛烛瞩嘱贮铸筑驻专砖转赚桩庄装妆壮状锥赘坠缀谆浊兹资渍踪综总纵邹诅组鑽緻钟么为隻凶准启闆裡雳馀鍊洩并';
}
function ftpy () {
function ftpy() {
return '號隱愛的魔力之旅週金幣榜皚藹礙翺襖奧壩罷擺敗頒辦絆幫綁鎊謗剝飽寶報鮑輩貝鋇狽備憊繃筆畢斃閉邊編貶變辯辮鼈癟瀕濱賓擯餅撥缽鉑駁蔔補參蠶殘慚慘燦蒼艙倉滄廁側冊測層詫攙摻蟬饞讒纏鏟産闡顫場嘗長償腸廠暢鈔車徹塵陳襯撐稱懲誠騁癡遲馳恥齒熾沖蟲寵疇躊籌綢醜櫥廚鋤雛礎儲觸處傳瘡闖創錘純綽辭詞賜聰蔥囪從叢湊竄錯達帶貸擔單鄲撣膽憚誕彈當擋黨蕩檔搗島禱導盜燈鄧敵滌遞締點墊電澱釣調疊諜疊釘頂錠訂東動棟凍鬥犢獨讀賭鍍鍛斷緞兌隊對噸頓鈍奪鵝額訛惡餓兒爾餌貳發罰閥琺礬釩煩範販飯訪紡飛廢費紛墳奮憤糞豐楓鋒風瘋馮縫諷鳳膚輻撫輔賦複負訃婦縛該鈣蓋幹趕稈贛岡剛鋼綱崗臯鎬擱鴿閣鉻個給龔宮鞏貢鈎溝構購夠蠱顧剮關觀館慣貫廣規矽歸龜閨軌詭櫃貴劊輥滾鍋國過駭韓漢閡鶴賀橫轟鴻紅後壺護滬戶嘩華畫劃話懷壞歡環還緩換喚瘓煥渙黃謊揮輝毀賄穢會燴彙諱誨繪葷渾夥獲貨禍擊機積饑譏雞績緝極輯級擠幾薊劑濟計記際繼紀夾莢頰賈鉀價駕殲監堅箋間艱緘繭檢堿鹼揀撿簡儉減薦檻鑒踐賤見鍵艦劍餞漸濺澗漿蔣槳獎講醬膠澆驕嬌攪鉸矯僥腳餃繳絞轎較稭階節莖驚經頸靜鏡徑痙競淨糾廄舊駒舉據鋸懼劇鵑絹傑潔結誡屆緊錦僅謹進晉燼盡勁荊覺決訣絕鈞軍駿開凱顆殼課墾懇摳庫褲誇塊儈寬礦曠況虧巋窺饋潰擴闊蠟臘萊來賴藍欄攔籃闌蘭瀾讕攬覽懶纜爛濫撈勞澇樂鐳壘類淚籬離裏鯉禮麗厲勵礫曆瀝隸倆聯蓮連鐮憐漣簾斂臉鏈戀煉練糧涼兩輛諒療遼鐐獵臨鄰鱗凜賃齡鈴淩靈嶺領餾劉龍聾嚨籠壟攏隴樓婁摟簍蘆盧顱廬爐擄鹵虜魯賂祿錄陸驢呂鋁侶屢縷慮濾綠巒攣孿灤亂掄輪倫侖淪綸論蘿羅邏鑼籮騾駱絡媽瑪碼螞馬罵嗎買麥賣邁脈瞞饅蠻滿謾貓錨鉚貿麼黴沒鎂門悶們錳夢謎彌覓綿緬廟滅憫閩鳴銘謬謀畝鈉納難撓腦惱鬧餒膩攆撚釀鳥聶齧鑷鎳檸獰寧擰濘鈕紐膿濃農瘧諾歐鷗毆嘔漚盤龐國愛賠噴鵬騙飄頻貧蘋憑評潑頗撲鋪樸譜臍齊騎豈啓氣棄訖牽扡釺鉛遷簽謙錢鉗潛淺譴塹槍嗆牆薔強搶鍬橋喬僑翹竅竊欽親輕氫傾頃請慶瓊窮趨區軀驅齲顴權勸卻鵲讓饒擾繞熱韌認紉榮絨軟銳閏潤灑薩鰓賽傘喪騷掃澀殺紗篩曬閃陝贍繕傷賞燒紹賒攝懾設紳審嬸腎滲聲繩勝聖師獅濕詩屍時蝕實識駛勢釋飾視試壽獸樞輸書贖屬術樹豎數帥雙誰稅順說碩爍絲飼聳慫頌訟誦擻蘇訴肅雖綏歲孫損筍縮瑣鎖獺撻擡攤貪癱灘壇譚談歎湯燙濤縧騰謄銻題體屜條貼鐵廳聽烴銅統頭圖塗團頹蛻脫鴕馱駝橢窪襪彎灣頑萬網韋違圍爲濰維葦偉僞緯謂衛溫聞紋穩問甕撾蝸渦窩嗚鎢烏誣無蕪吳塢霧務誤錫犧襲習銑戲細蝦轄峽俠狹廈鍁鮮纖鹹賢銜閑顯險現獻縣餡羨憲線廂鑲鄉詳響項蕭銷曉嘯蠍協挾攜脅諧寫瀉謝鋅釁興洶鏽繡虛噓須許緒續軒懸選癬絢學勳詢尋馴訓訊遜壓鴉鴨啞亞訝閹煙鹽嚴顔閻豔厭硯彥諺驗鴦楊揚瘍陽癢養樣瑤搖堯遙窯謠藥爺頁業葉醫銥頤遺儀彜蟻藝億憶義詣議誼譯異繹蔭陰銀飲櫻嬰鷹應纓瑩螢營熒蠅穎喲擁傭癰踴詠湧優憂郵鈾猶遊誘輿魚漁娛與嶼語籲禦獄譽預馭鴛淵轅園員圓緣遠願約躍鑰嶽粵悅閱雲鄖勻隕運蘊醞暈韻雜災載攢暫贊贓髒鑿棗竈責擇則澤賊贈紮劄軋鍘閘詐齋債氈盞斬輾嶄棧戰綻張漲帳賬脹趙蟄轍鍺這貞針偵診鎮陣掙睜猙幀鄭證織職執紙摯擲幟質鍾終種腫衆謅軸皺晝驟豬諸誅燭矚囑貯鑄築駐專磚轉賺樁莊裝妝壯狀錐贅墜綴諄濁茲資漬蹤綜總縱鄒詛組鑽緻鐘麼為隻兇準啟闆裡靂餘鍊洩並';
}
//功能:获取指定名称的 Cookie 值;
function readCookie (name) {
function readCookie(name) {
var value = "";
if (document.cookie.length > 0) {
var prefix = name + "=";
@@ -659,7 +723,7 @@ function fontConvert (fontConvertBool) {
return value;
}
//功能:设置指定名称的 Cookie 值;
function writeCookie (name, value, days) {
function writeCookie(name, value, days) {
var argv = writeCookie.arguments;
var argc = writeCookie.arguments.length;
var days = (argc > 2) ? argv[2] : null;
@@ -676,7 +740,7 @@ function fontConvert (fontConvertBool) {
// isDefaultFt 当前文档默认是否为繁体中文;
// delay 页面加载后的转换延迟时间,单位毫秒;
// 使用的 Cookie 变量名称isCurrentFt
function initPageLanguage (switcherId, isDefaultFt, delay) {
function initPageLanguage(switcherId, isDefaultFt, delay) {
isDefaultFt = isDefaultFt ? "1" : "0";
var switcherObj = document.getElementById(switcherId)
isCurrentFt = readCookie("isCurrentFt")
@@ -702,17 +766,17 @@ function fontConvert (fontConvertBool) {
//initPageLanguage("switcher_link", false, 50);
}
// 封装数值超过最大数位处理单位
function unitProcessing (val, num, toFixeds, text) { //值 以什么为单位 保留几位小数 单位后最w
function unitProcessing(val, num, toFixeds, text) { //值 以什么为单位 保留几位小数 单位后最w
return val > num ? (Math.floor(val / 1000) / 10).toFixed(toFixeds) + text : val;
}
// 封装 在ios环境中 配置公共参数的回调函数
// 配合 methodsFromClient[infoName].ios 方法
// written by zxfxiong
function getMessage (key, value) {
function getMessage(key, value) {
pubInfo[key] = value;
}
function objToParam (a) {
function objToParam(a) {
var s = [],
rbracket = /\[\]$/,
isArray = function (obj) {
@@ -758,7 +822,8 @@ function objToParam (a) {
// 封装 jquery 请求
// written by zxfxiong
function networkRequest (reqObj = {}, type) {
function networkRequest(reqObj = {}, type) {
// 关于reqObj内部参数与 调用原生$.ajax()时传参一致
// 调用该函数前:须保证事先调用了 getInfoFromClient()
if (typeof pubInfo.deviceInfo === 'string') {
@@ -774,9 +839,16 @@ function networkRequest (reqObj = {}, type) {
channel: pubInfo.deviceInfo.channel || '',
client: 'h5',
pub_uid: pubInfo.uid,
pub_ticket: pubInfo.ticket
pub_ticket: pubInfo.ticket,
};
const browser = checkVersion();
if (browser.app) {
pubHeader["Accept-Language"] = pubInfo.deviceInfo["Accept-Language"];
} else {
pubHeader["Accept-Language"] = getQueryString().lang;
}
const url = reqObj.url;
const commParams = objToParam(pubHeader);
if (url.indexOf('?') >= 0) {

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,55 @@
/**
* 初始化当前语言
*/
function initLocalLang () {
const lang = localStorage.getItem('lang')
// if (lang === 'zh' || window.location.href.match('=zh-CN')) {
// console.log("langHandler" + '简体')
// // 将 zh-CN.js中的对象langZhCN设置到window.lang中
// window.lang = langZh-CN
// window.lang.code = 'zh-CN'
// window.lang.defaults = false
// } else
if (lang === 'zh' || window.location.href.match('=zh')) {
console.log("langHandler" + '繁体')
window.lang = langZh
window.lang.code = 'zh'
window.lang.defaults = false
} else if (lang === 'ar' || window.location.href.match('=ar')) {
// 阿拉伯
console.log("langHandler" + '阿拉伯')
window.lang = langAr
window.lang.code = 'ar'
window.lang.defaults = false
} else if (lang === 'en' || window.location.href.match('=en')) {
// 英语
console.log("langHandler" + '英语')
window.lang = langEn
window.lang.code = 'en'
window.lang.defaults = false
} else if (lang === 'id' || window.location.href.match('=id')) {
// 印度尼西亚
console.log("langHandler" + '印尼')
window.lang = langId
window.lang.code = 'id'
window.lang.defaults = false
}else if (lang === 'tr' || window.location.href.match('=tr')) {
// 土耳其
console.log("langHandler" + '土耳其')
window.lang = langTr
window.lang.code = 'tr'
window.lang.defaults = false
} else {
console.log("langHandler" + '默认')
window.lang = langZh
window.lang.code = null
window.lang.defaults = true
}
window.lang.replace = (Lang, defaultText) => {
if (Lang) {
return Lang
}
return defaultText
}
}

View File

@@ -1,345 +1,306 @@
html,
body {
width: 100%;
height: 100%;
box-sizing: border-box;
padding-top: 0.7333333333rem;
}
.back {
width: 0.7466666667rem;
height: 0.7466666667rem;
position: fixed;
z-index: 999;
left: 0.5333333333rem;
top: 0.6933333333rem;
}
.title {
width: 4.8rem;
height: 0.48rem;
display: block;
margin: 0 auto 0.6666666667rem;
}
.my {
width: 100%;
height: 2.4266666667rem;
background: url(../images/myBg.png) no-repeat;
background-size: 100% 100%;
position: fixed;
bottom: 0;
left: 0;
z-index: 9;
overflow: hidden;
}
.my .tx {
width: 1.1733333333rem;
height: 1.1733333333rem;
background: #005E15;
border: 0.0133333333rem solid #fff;
margin-top: 0.4133333333rem;
margin-left: 0.4133333333rem;
border-radius: 50%;
margin-right: 0.0666666667rem;
float: left;
}
.my .name {
float: left;
width: 2.4rem;
margin-top: 0.88rem;
color: #fff;
font-size: 0.3466666667rem;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.my .but {
width: 1.0666666667rem;
height: 0.4266666667rem;
line-height: 0.4266666667rem;
border-radius: 0.1066666667rem;
text-align: center;
color: #1F5764;
font-size: 0.32rem;
background: linear-gradient(0deg, #3AEAC7 0%, #FFFEBB 100%);
margin-top: 0.8533333333rem;
float: right;
margin-right: 0.2666666667rem;
margin-left: 0.12rem;
}
.my .num2 {
margin-top: 0.92rem;
color: #fff;
font-size: 0.32rem;
float: right;
}
.my .icon2 {
width: 0.64rem;
height: 0.64rem;
display: block;
margin-top: 0.7466666667rem;
margin-right: 0.12rem;
float: right;
margin-left: 0.3333333333rem;
}
.my .num1 {
margin-top: 0.92rem;
color: #fff;
font-size: 0.32rem;
float: right;
}
.my .icon1 {
width: 0.64rem;
height: 0.64rem;
display: block;
margin-top: 0.7466666667rem;
margin-right: 0.12rem;
float: right;
}
ul {
width: 9.3333333333rem;
margin: 0.6266666667rem auto 0;
height: 9.9333333333rem;
overflow-y: scroll;
display: flex;
justify-content: space-between;
flex-flow: row wrap;
}
ul::-webkit-scrollbar {
width: 0;
}
ul li {
width: 4.4rem;
height: 6.2133333333rem;
margin-bottom: 0.4533333333rem;
background: url(../images/prop.png) no-repeat;
background-size: 100% 100%;
position: relative;
}
ul li .title {
position: absolute;
width: 100%;
text-align: center;
left: 0;
top: 0.4933333333rem;
color: #1F5764;
font-size: 0.32rem;
}
ul li .giftImg {
width: 1.8666666667rem;
height: 1.8666666667rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 1.4533333333rem;
}
ul li .name {
text-align: center;
color: #fff;
font-size: 0.32rem;
position: absolute;
left: 0;
width: 100%;
top: 3.72rem;
}
ul li .zs {
width: 100%;
height: 0.5866666667rem;
line-height: 0.5866666667rem;
display: flex;
justify-content: center;
position: absolute;
top: 4.12rem;
left: 0;
}
ul li .zs .icon {
width: 0.5866666667rem;
height: 0.5866666667rem;
display: block;
}
ul li .zs b {
display: block;
color: #fff;
font-size: 0.32rem;
}
ul li .but {
width: 2.1333333333rem;
height: 0.6666666667rem;
line-height: 0.6666666667rem;
position: absolute;
bottom: 0.7066666667rem;
left: 50%;
transform: translateX(-50%);
text-align: center;
color: #1F5764;
font-size: 0.32rem;
background: linear-gradient(0deg, #3AEAC7 0%, #FFFEBB 100%);
border-radius: 0.1066666667rem;
}
.buy {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, 0.8);
z-index: 999;
display: none;
}
.buy .buy_in {
width: 7.4933333333rem;
height: 7.6rem;
background: url(../images/pub.png) no-repeat;
background-size: 100% 100%;
position: relative;
left: 50%;
top: 40%;
transform: translate(-50%, -50%);
}
.buy .buy_in .title {
width: 100%;
position: absolute;
left: 0;
top: 1.4266666667rem;
color: #fff;
font-size: 0.4rem;
text-align: center;
}
.buy .buy_in .num {
position: absolute;
left: 2.04rem;
top: 2.6666666667rem;
width: 3.4666666667rem;
height: 0.5866666667rem;
line-height: 0.5866666667rem;
}
.buy .buy_in .num b {
display: inline-block;
font-size: 0.3466666667rem;
color: #fff;
margin-right: 0.2266666667rem;
float: left;
height: 0.5866666667rem;
line-height: 0.5866666667rem;
}
.buy .buy_in .num .box {
float: left;
display: inline-block;
width: 2.4rem;
height: 0.5866666667rem;
border-radius: 0.5866666667rem;
background: #007F6C;
position: relative;
}
.buy .buy_in .num .box input {
background: none;
outline: none;
border: none;
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
height: 100%;
width: 0.9rem;
color: #FEF8A8;
font-size: 0.3466666667rem;
font-weight: bold;
text-align: center;
}
.buy .buy_in .num .box .subtraction {
position: absolute;
width: 0.5866666667rem;
height: 0.5866666667rem;
left: 0;
top: 0;
background: url(../images/subtraction.png) no-repeat;
background-size: 100% 100%;
}
.buy .buy_in .num .box .add {
position: absolute;
width: 0.5866666667rem;
height: 0.5866666667rem;
right: 0;
top: 0;
background: url(../images/add.png) no-repeat;
background-size: 100% 100%;
}
.buy .buy_in .day {
position: absolute;
width: 6rem;
height: 0.5866666667rem;
line-height: 0.5866666667rem;
left: 2.04rem;
top: 3.8133333333rem;
}
.buy .buy_in .day b {
font-size: 0.3466666667rem;
color: #fff;
margin-right: 0.2266666667rem;
float: left;
display: block;
}
.buy .buy_in .day span {
color: #FEF8A8;
font-size: 0.3466666667rem;
}
.buy .buy_in .day i {
color: #FEF8A8;
font-size: 0.3466666667rem;
font-style: normal;
}
.buy .buy_in .zs {
position: absolute;
width: 6rem;
height: 0.5866666667rem;
line-height: 0.5866666667rem;
left: 2.04rem;
top: 4.8533333333rem;
}
.buy .buy_in .zs b {
font-size: 0.3466666667rem;
color: #fff;
margin-right: 0.2266666667rem;
float: left;
display: block;
}
.buy .buy_in .zs span {
color: #FEF8A8;
font-size: 0.3466666667rem;
}
.buy .buy_in .zs i {
color: #FEF8A8;
font-size: 0.3466666667rem;
font-style: normal;
}
.buy .buy_in .close {
width: 2.7733333333rem;
height: 0.8533333333rem;
line-height: 0.8533333333rem;
text-align: center;
color: #008573;
font-size: 0.3466666667rem;
position: absolute;
left: 0.6533333333rem;
bottom: 1.12rem;
background: url(../images/close.png) no-repeat;
background-size: 100% 100%;
}
.buy .buy_in .ok {
width: 2.7733333333rem;
height: 0.8533333333rem;
line-height: 0.8533333333rem;
text-align: center;
color: #8A4801;
font-size: 0.3466666667rem;
position: absolute;
right: 0.6533333333rem;
bottom: 1.12rem;
background: url(../images/close.png) no-repeat;
background-size: 100% 100%;
}
/*# sourceMappingURL=index.css.map */
html,
body {
width: 100%;
height: 100%;
box-sizing: border-box;
padding-top: 0.7333333333rem; }
.back {
width: 0.7466666667rem;
height: 0.7466666667rem;
position: fixed;
z-index: 999;
left: 0.5333333333rem;
top: 0.6933333333rem; }
.title {
width: 4.8rem;
height: 0.48rem;
display: block;
margin: 0 auto 0.6666666667rem; }
.my {
width: 100%;
height: 2.4266666667rem;
background: url(../images/myBg.png) no-repeat;
background-size: 100% 100%;
position: fixed;
bottom: 0;
left: 0;
z-index: 9;
overflow: hidden; }
.my .tx {
width: 1.1733333333rem;
height: 1.1733333333rem;
background: #005E15;
border: 0.0133333333rem solid #fff;
margin-top: 0.4133333333rem;
margin-left: 0.4133333333rem;
border-radius: 50%;
margin-right: 0.0666666667rem;
float: left; }
.my .name {
float: left;
width: 2.4rem;
margin-top: 0.88rem;
color: #fff;
font-size: 0.3466666667rem;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis; }
.my .but {
width: 1.2rem;
height: 0.6rem;
border-radius: 0.1066666667rem;
text-align: center;
color: #1F5764;
font-size: 0.26rem;
background: linear-gradient(0deg, #3AEAC7 0%, #FFFEBB 100%);
margin-top: 0.8533333333rem;
float: right;
margin-right: 0.2666666667rem;
margin-left: 0.12rem; }
.my .butline {
line-height: 0.6rem; }
.my .num2 {
margin-top: 0.92rem;
color: #fff;
font-size: 0.32rem;
float: right; }
.my .icon2 {
width: 0.64rem;
height: 0.64rem;
display: block;
margin-top: 0.7466666667rem;
margin-right: 0.12rem;
float: right;
margin-left: 0.3333333333rem; }
.my .num1 {
margin-top: 0.92rem;
color: #fff;
font-size: 0.32rem;
float: right; }
.my .icon1 {
width: 0.64rem;
height: 0.64rem;
display: block;
margin-top: 0.7466666667rem;
margin-right: 0.12rem;
float: right; }
ul {
width: 9.3333333333rem;
margin: 0.6266666667rem auto 0;
height: 9.9333333333rem;
overflow-y: scroll;
display: flex;
justify-content: space-between;
flex-flow: row wrap; }
ul::-webkit-scrollbar {
width: 0; }
ul li {
width: 4.4rem;
height: 6.2133333333rem;
margin-bottom: 0.4533333333rem;
background: url(../images/prop.png) no-repeat;
background-size: 100% 100%;
position: relative; }
ul li .title {
position: absolute;
width: 100%;
text-align: center;
left: 0;
top: 0.4933333333rem;
color: #1F5764;
font-size: 0.32rem; }
ul li .giftImg {
width: 1.8666666667rem;
height: 1.8666666667rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 1.4533333333rem; }
ul li .name {
text-align: center;
color: #fff;
font-size: 0.32rem;
position: absolute;
left: 0;
width: 100%;
top: 3.72rem; }
ul li .zs {
width: 100%;
height: 0.5866666667rem;
line-height: 0.5866666667rem;
display: flex;
justify-content: center;
position: absolute;
top: 4.12rem;
left: 0; }
ul li .zs .icon {
width: 0.5866666667rem;
height: 0.5866666667rem;
display: block; }
ul li .zs b {
display: block;
color: #fff;
font-size: 0.32rem; }
ul li .but {
width: 2.1333333333rem;
height: 0.6666666667rem;
line-height: 0.6666666667rem;
position: absolute;
bottom: 0.7066666667rem;
left: 50%;
transform: translateX(-50%);
text-align: center;
color: #1F5764;
font-size: 0.32rem;
background: linear-gradient(0deg, #3AEAC7 0%, #FFFEBB 100%);
border-radius: 0.1066666667rem; }
.buy {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, 0.8);
z-index: 999;
display: none; }
.buy .buy_in {
width: 7.4933333333rem;
height: 7.6rem;
background: url(../images/pub.png) no-repeat;
background-size: 100% 100%;
position: relative;
left: 50%;
top: 40%;
transform: translate(-50%, -50%); }
.buy .buy_in .title {
width: 100%;
position: absolute;
left: 0;
top: 1.4266666667rem;
color: #fff;
font-size: 0.4rem;
text-align: center; }
.buy .buy_in .num {
position: absolute;
left: 2.04rem;
top: 2.6666666667rem;
width: 6rem;
height: 0.5866666667rem;
line-height: 0.5866666667rem; }
.buy .buy_in .num b {
display: inline-block;
font-size: 0.3466666667rem;
color: #fff;
margin-right: 0.2266666667rem;
float: left;
height: 0.5866666667rem;
line-height: 0.5866666667rem; }
.buy .buy_in .num .box {
float: left;
display: inline-block;
width: 2.4rem;
height: 0.5866666667rem;
border-radius: 0.5866666667rem;
background: #007F6C;
position: relative; }
.buy .buy_in .num .box input {
background: none;
outline: none;
border: none;
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
height: 100%;
width: 0.9rem;
color: #FEF8A8;
font-size: 0.3466666667rem;
font-weight: bold;
text-align: center; }
.buy .buy_in .num .box .subtraction {
position: absolute;
width: 0.5866666667rem;
height: 0.5866666667rem;
left: 0;
top: 0;
background: url(../images/subtraction.png) no-repeat;
background-size: 100% 100%; }
.buy .buy_in .num .box .add {
position: absolute;
width: 0.5866666667rem;
height: 0.5866666667rem;
right: 0;
top: 0;
background: url(../images/add.png) no-repeat;
background-size: 100% 100%; }
.buy .buy_in .day {
position: absolute;
width: 6rem;
height: 0.5866666667rem;
line-height: 0.5866666667rem;
left: 2.04rem;
top: 3.8133333333rem; }
.buy .buy_in .day b {
font-size: 0.3466666667rem;
color: #fff;
margin-right: 0.2266666667rem;
float: left;
display: block; }
.buy .buy_in .day span {
color: #FEF8A8;
font-size: 0.3466666667rem; }
.buy .buy_in .day i {
color: #FEF8A8;
font-size: 0.3466666667rem;
font-style: normal; }
.buy .buy_in .zs {
position: absolute;
width: 6rem;
height: 0.5866666667rem;
line-height: 0.5866666667rem;
left: 2.04rem;
top: 4.8533333333rem; }
.buy .buy_in .zs b {
font-size: 0.3466666667rem;
color: #fff;
margin-right: 0.2266666667rem;
float: left;
display: block; }
.buy .buy_in .zs span {
color: #FEF8A8;
font-size: 0.3466666667rem; }
.buy .buy_in .zs i {
color: #FEF8A8;
font-size: 0.3466666667rem;
font-style: normal; }
.buy .buy_in .close {
width: 2.7733333333rem;
height: 0.8533333333rem;
line-height: 0.8533333333rem;
text-align: center;
color: #008573;
font-size: 0.3466666667rem;
position: absolute;
left: 0.6533333333rem;
bottom: 1.12rem;
background: url(../images/close.png) no-repeat;
background-size: 100% 100%; }
.buy .buy_in .ok {
width: 2.7733333333rem;
height: 0.8533333333rem;
line-height: 0.8533333333rem;
text-align: center;
color: #8A4801;
font-size: 0.3466666667rem;
position: absolute;
right: 0.6533333333rem;
bottom: 1.12rem;
background: url(../images/close.png) no-repeat;
background-size: 100% 100%; }
/*# sourceMappingURL=index.css.map */

View File

@@ -63,19 +63,25 @@ body {
}
.but {
width: px2rem(80, );
height: px2rem(32, );
line-height: px2rem(32, );
// width: px2rem(80, );
// height: px2rem(32, );
width: 1.2rem;
height: 0.6rem;
// line-height: px2rem(32, );
border-radius: px2rem(8, );
text-align: center;
color: #1F5764;
font-size: px2rem(24, );
// font-size: px2rem(24, );
font-size: 0.26rem;
background: linear-gradient(0deg, #3AEAC7 0%, #FFFEBB 100%);
margin-top: px2rem(64, );
float: right;
margin-right: px2rem(20, );
margin-left: px2rem(9, );
}
.butline {
line-height: 0.6rem;
}
.num2 {
margin-top: px2rem(69, );
@@ -238,7 +244,8 @@ ul {
position: absolute;
left: px2rem(153, );
top: px2rem(200, );
width: px2rem(260, );
// width: px2rem(260, );
width: px2rem(450, );
height: px2rem(44, );
line-height: px2rem(44, );

View File

@@ -1,140 +1,123 @@
html,
body {
width: 100%;
height: 100%;
box-sizing: border-box;
padding-top: 0.7333333333rem;
}
.back {
width: 0.7466666667rem;
height: 0.7466666667rem;
position: fixed;
z-index: 999;
left: 0.5333333333rem;
top: 0.6933333333rem;
}
.title {
width: 4.8rem;
height: 0.48rem;
display: block;
margin: 0 auto 0.6666666667rem;
}
.tab {
width: 5.7333333333rem;
height: 0.3866666667rem;
margin: 0.68rem auto 0;
display: flex;
justify-content: space-between;
}
.tab div {
width: 2.4rem;
color: #fff;
font-size: 0.4rem;
position: relative;
white-space: nowrap;
}
.tab div span {
position: absolute;
width: 1.6rem;
height: 0.1066666667rem;
border-radius: 0.1066666667rem;
background: linear-gradient(90deg, #69FFEB 0%, #EAFF89 100%);
left: 50%;
transform: translateX(-50%);
bottom: -0.1466666667rem;
display: none;
}
.tab .active {
font-weight: bold;
}
.tab .active span {
display: block;
}
p {
width: 100%;
text-align: center;
margin: 0.36rem auto 0.3066666667rem;
color: #59FDFF;
font-size: 0.2666666667rem;
}
ul {
width: 9.2rem;
height: 10.1333333333rem;
margin: 0 auto;
overflow-y: scroll;
}
ul::-webkit-scrollbar {
width: 0;
}
ul li {
width: 100%;
height: 1.4666666667rem;
background: #00A69D;
border-radius: 0.1066666667rem;
margin-bottom: 0.2266666667rem;
}
ul li .num {
float: left;
height: 100%;
line-height: 1.4666666667rem;
font-size: 0.4266666667rem;
color: #fff;
font-weight: bold;
margin-left: 0.5333333333rem;
margin-right: 0.56rem;
}
ul li .tx {
display: block;
float: left;
width: 1.3066666667rem;
height: 1.3066666667rem;
border-radius: 50%;
border: 0.0133333333rem solid #FFE8AA;
background: #00332C;
margin-top: 0.08rem;
margin-right: 0.2133333333rem;
}
ul li .name {
width: 2.76rem;
height: 100%;
line-height: 1.4666666667rem;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #fff;
font-size: 0.3466666667rem;
float: left;
}
ul li .icon {
width: 0.5866666667rem;
height: 0.5866666667rem;
margin-top: 0.4rem;
float: right;
}
ul li .score {
float: right;
margin-right: 0.4rem;
color: #FFE8AA;
font-size: 0.3466666667rem;
height: 100%;
line-height: 1.4666666667rem;
margin-left: 0.1rem;
}
ul .active .num {
width: 0.8266666667rem;
height: 1.0666666667rem;
line-height: 0.8rem;
text-align: center;
background: url(../images/No.png) no-repeat;
background-size: 100% 100%;
float: left;
margin-right: 0.3066666667rem;
margin-left: 0.2133333333rem;
}
/*# sourceMappingURL=list.css.map */
html,
body {
width: 100%;
height: 100%;
box-sizing: border-box;
padding-top: 0.7333333333rem; }
.back {
width: 0.7466666667rem;
height: 0.7466666667rem;
position: fixed;
z-index: 999;
left: 0.5333333333rem;
top: 0.6933333333rem; }
.title {
width: 4.8rem;
height: 0.48rem;
display: block;
margin: 0 auto 0.6666666667rem; }
.tab {
width: 5.7333333333rem;
height: 0.3866666667rem;
margin: 0.68rem auto 0;
display: flex;
justify-content: space-between; }
.tab div {
width: 2.4rem;
color: #fff;
font-size: 0.4rem;
position: relative;
white-space: nowrap;
text-align: center; }
.tab div span {
position: absolute;
width: 1.6rem;
height: 0.1066666667rem;
border-radius: 0.1066666667rem;
background: linear-gradient(90deg, #69FFEB 0%, #EAFF89 100%);
left: 50%;
transform: translateX(-50%);
bottom: -0.1466666667rem;
display: none; }
.tab .active {
font-weight: bold; }
.tab .active span {
display: block; }
p {
width: 100%;
text-align: center;
margin: 0.36rem auto 0.3066666667rem;
color: #59FDFF;
font-size: 0.2666666667rem; }
ul {
width: 9.2rem;
height: 10.1333333333rem;
margin: 0 auto;
overflow-y: scroll; }
ul::-webkit-scrollbar {
width: 0; }
ul li {
width: 100%;
height: 1.4666666667rem;
background: #00A69D;
border-radius: 0.1066666667rem;
margin-bottom: 0.2266666667rem; }
ul li .num {
float: left;
height: 100%;
line-height: 1.4666666667rem;
font-size: 0.4266666667rem;
color: #fff;
font-weight: bold;
margin-left: 0.5333333333rem;
margin-right: 0.56rem; }
ul li .tx {
display: block;
float: left;
width: 1.3066666667rem;
height: 1.3066666667rem;
border-radius: 50%;
border: 0.0133333333rem solid #FFE8AA;
background: #00332C;
margin-top: 0.08rem;
margin-right: 0.2133333333rem; }
ul li .name {
width: 2.76rem;
height: 100%;
line-height: 1.4666666667rem;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #fff;
font-size: 0.3466666667rem;
float: left; }
ul li .icon {
width: 0.5866666667rem;
height: 0.5866666667rem;
margin-top: 0.4rem;
float: right; }
ul li .score {
float: right;
margin-right: 0.4rem;
color: #FFE8AA;
font-size: 0.3466666667rem;
height: 100%;
line-height: 1.4666666667rem;
margin-left: 0.1rem; }
ul .active .num {
width: 0.8266666667rem;
height: 1.0666666667rem;
line-height: 0.8rem;
text-align: center;
background: url(../images/No.png) no-repeat;
background-size: 100% 100%;
float: left;
margin-right: 0.3066666667rem;
margin-left: 0.2133333333rem; }
/*# sourceMappingURL=list.css.map */

View File

@@ -40,6 +40,7 @@ body {
font-size: px2rem(30, );
position: relative;
white-space: nowrap;
text-align: center;
span {
position: absolute;

View File

@@ -1,92 +1,77 @@
html,
body {
width: 100%;
height: 100%;
box-sizing: border-box;
padding-top: 0.7333333333rem;
}
.back {
width: 0.7466666667rem;
height: 0.7466666667rem;
position: fixed;
z-index: 999;
left: 0.5333333333rem;
top: 0.6933333333rem;
}
.title {
width: 4.8rem;
height: 0.48rem;
display: block;
margin: 0 auto 0.6666666667rem;
}
.ul {
width: 9.2rem;
height: 11.3333333333rem;
overflow-y: scroll;
margin: 0.6rem auto 0;
box-sizing: border-box;
padding-top: 0.4533333333rem;
}
.ul::-webkit-scrollbar {
width: 0;
}
.ul li {
width: 100%;
margin-bottom: 0.6133333333rem;
box-sizing: border-box;
background: #00A69D;
border-radius: 0.1066666667rem;
position: relative;
height: 1.4666666667rem;
line-height: 1.4666666667rem;
}
.ul li .txBox {
width: 1.8666666667rem;
height: 1.8666666667rem;
border-radius: 0.16rem;
border: 0.0133333333rem solid #FFE8AA;
position: absolute;
left: 0;
bottom: 0;
background: #007983;
}
.ul li .txBox img {
position: absolute;
width: 1.4533333333rem;
height: 1.4533333333rem;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.ul li .giftName {
width: 2.6666666667rem;
margin: 0 0.6rem 0 2.08rem;
color: #fff;
font-size: 0.3466666667rem;
float: left;
}
.ul li .score {
color: #FFE8AA;
font-size: 0.3466666667rem;
float: left;
}
.ul li .probability {
color: #FFE8AA;
font-size: 0.3466666667rem;
float: right;
margin-right: 0.3333333333rem;
}
.ul .active {
width: 100%;
height: 8.9333333333rem;
background: url(../images/record_not.png) no-repeat;
background-size: 100% 100%;
}
.ul .active div {
display: none;
}
/*# sourceMappingURL=record.css.map */
html,
body {
width: 100%;
height: 100%;
box-sizing: border-box;
padding-top: 0.7333333333rem; }
.back {
width: 0.7466666667rem;
height: 0.7466666667rem;
position: fixed;
z-index: 999;
left: 0.5333333333rem;
top: 0.6933333333rem; }
.title {
width: 4.8rem;
height: 0.48rem;
display: block;
margin: 0 auto 0.6666666667rem; }
.ul {
width: 9.2rem;
height: 11.3333333333rem;
overflow-y: scroll;
margin: 0.6rem auto 0;
box-sizing: border-box;
padding-top: 0.4533333333rem; }
.ul::-webkit-scrollbar {
width: 0; }
.ul li {
width: 100%;
margin-bottom: 0.6133333333rem;
box-sizing: border-box;
background: #00A69D;
border-radius: 0.1066666667rem;
position: relative;
height: 1.4666666667rem;
line-height: 1.4666666667rem; }
.ul li .txBox {
width: 1.8666666667rem;
height: 1.8666666667rem;
border-radius: 0.16rem;
border: 0.0133333333rem solid #FFE8AA;
position: absolute;
left: 0;
bottom: 0;
background: #007983; }
.ul li .txBox img {
position: absolute;
width: 1.4533333333rem;
height: 1.4533333333rem;
left: 50%;
top: 50%;
transform: translate(-50%, -50%); }
.ul li .giftName {
width: 2.6666666667rem;
margin: 0 0.6rem 0 2.08rem;
color: #fff;
font-size: 0.3466666667rem;
float: left; }
.ul li .score {
color: #FFE8AA;
font-size: 0.3466666667rem;
float: left; }
.ul li .probability {
color: #FFE8AA;
font-size: 0.3466666667rem;
float: right;
margin-right: 0.3333333333rem; }
.ul .active {
width: 100%;
height: 8.9333333333rem; }
.ul .active div {
display: none; }
/*# sourceMappingURL=record.css.map */

View File

@@ -95,8 +95,8 @@ body {
.active {
width: 100%;
height: px2rem(670, );
background: url(../images/record_not.png) no-repeat;
background-size: 100% 100%;
// background: url(../images/record_not.png) no-repeat;
// background-size: 100% 100%;
// display: none;
div {

View File

@@ -1,141 +1,121 @@
html,
body {
width: 100%;
height: 100%;
box-sizing: border-box;
padding-top: 0.7333333333rem;
}
.back {
width: 0.7466666667rem;
height: 0.7466666667rem;
position: fixed;
z-index: 999;
left: 0.5333333333rem;
top: 0.6933333333rem;
}
.title {
width: 4.8rem;
height: 0.48rem;
display: block;
margin: 0 auto 0.6666666667rem;
}
.tab {
width: 4.6666666667rem;
height: 0.3866666667rem;
display: flex;
justify-content: space-between;
margin: 0 auto 0;
}
.tab div {
width: 1.6rem;
color: #fff;
font-size: 0.4rem;
position: relative;
text-align: center;
white-space: nowrap;
}
.tab div span {
width: 1.6rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: -0.16rem;
height: 0.1066666667rem;
border-radius: 0.1066666667rem;
background: linear-gradient(90deg, #69FFEB 0%, #EAFF89 100%);
display: none;
}
.tab .active {
font-weight: bold;
font-size: 0.4rem;
}
.tab .active span {
display: block;
}
.tab1 {
width: 9.2rem;
height: 10.2666666667rem;
overflow-y: scroll;
margin: 0.6rem auto 0;
box-sizing: border-box;
padding-top: 0.4533333333rem;
}
.tab1::-webkit-scrollbar {
width: 0;
}
.tab1 li {
width: 100%;
margin-bottom: 0.6133333333rem;
box-sizing: border-box;
background: #00A69D;
border-radius: 0.1066666667rem;
position: relative;
height: 1.4666666667rem;
line-height: 1.4666666667rem;
}
.tab1 li .txBox {
width: 1.8666666667rem;
height: 1.8666666667rem;
border-radius: 0.16rem;
border: 0.0133333333rem solid #FFE8AA;
position: absolute;
left: 0;
bottom: 0;
background: #007983;
}
.tab1 li .txBox img {
position: absolute;
width: 1.4533333333rem;
height: 1.4533333333rem;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.tab1 li .giftName {
width: 2.6666666667rem;
margin: 0 0.2666666667rem 0 2.08rem;
color: #fff;
font-size: 0.3466666667rem;
float: left;
}
.tab1 li .icon {
display: block;
float: left;
width: 0.5866666667rem;
height: 0.5866666667rem;
margin-top: 0.4rem;
margin-right: 0.1733333333rem;
}
.tab1 li .score {
color: #FFE8AA;
font-size: 0.3466666667rem;
float: left;
}
.tab1 li .probability {
color: #FFE8AA;
font-size: 0.3466666667rem;
float: right;
margin-right: 0.32rem;
}
.tab2 {
width: 9.2rem;
height: 10.6666666667rem;
margin: 0.4666666667rem auto 0;
background: #00A69D;
border-radius: 0.2133333333rem;
overflow: hidden;
display: none;
}
.tab2 img {
width: 8.32rem;
height: 10.3866666667rem;
margin: 0.32rem auto 0;
display: block;
}
/*# sourceMappingURL=rule.css.map */
html,
body {
width: 100%;
height: 100%;
box-sizing: border-box;
padding-top: 0.7333333333rem; }
.back {
width: 0.7466666667rem;
height: 0.7466666667rem;
position: fixed;
z-index: 999;
left: 0.5333333333rem;
top: 0.6933333333rem; }
.title {
width: 4.8rem;
height: 0.48rem;
display: block;
margin: 0 auto 0.6666666667rem; }
.tab {
height: 0.3866666667rem;
display: flex;
justify-content: space-around;
margin: 0 auto 0; }
.tab div {
width: 1.6rem;
color: #fff;
font-size: 0.4rem;
position: relative;
text-align: center;
white-space: nowrap; }
.tab div span {
width: 1.6rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: -0.16rem;
height: 0.1066666667rem;
border-radius: 0.1066666667rem;
background: linear-gradient(90deg, #69FFEB 0%, #EAFF89 100%);
display: none; }
.tab .active {
font-weight: bold;
font-size: 0.4rem; }
.tab .active span {
display: block; }
.tab1 {
width: 9.2rem;
height: 10.2666666667rem;
overflow-y: scroll;
margin: 0.6rem auto 0;
box-sizing: border-box;
padding-top: 0.4533333333rem; }
.tab1::-webkit-scrollbar {
width: 0; }
.tab1 li {
width: 100%;
margin-bottom: 0.6133333333rem;
box-sizing: border-box;
background: #00A69D;
border-radius: 0.1066666667rem;
position: relative;
height: 1.4666666667rem;
line-height: 1.4666666667rem; }
.tab1 li .txBox {
width: 1.8666666667rem;
height: 1.8666666667rem;
border-radius: 0.16rem;
border: 0.0133333333rem solid #FFE8AA;
position: absolute;
left: 0;
bottom: 0;
background: #007983; }
.tab1 li .txBox img {
position: absolute;
width: 1.4533333333rem;
height: 1.4533333333rem;
left: 50%;
top: 50%;
transform: translate(-50%, -50%); }
.tab1 li .giftName {
width: 2.6666666667rem;
margin: 0 0.2666666667rem 0 2.08rem;
color: #fff;
font-size: 0.3466666667rem;
float: left; }
.tab1 li .icon {
display: block;
float: left;
width: 0.5866666667rem;
height: 0.5866666667rem;
margin-top: 0.4rem;
margin-right: 0.1733333333rem; }
.tab1 li .score {
color: #FFE8AA;
font-size: 0.3466666667rem;
float: left; }
.tab1 li .probability {
color: #FFE8AA;
font-size: 0.3466666667rem;
float: right;
margin-right: 0.32rem; }
.tab2 {
width: 9.2rem;
height: 10.6666666667rem;
margin: 0.4666666667rem auto 0;
background: #00A69D;
border-radius: 0.2133333333rem;
overflow: hidden;
display: none; }
.tab2 img {
width: 8.32rem;
height: 10.3866666667rem;
margin: 0.32rem auto 0;
display: block; }
/*# sourceMappingURL=rule.css.map */

View File

@@ -9,6 +9,7 @@ body {
// overflow-y: none;
box-sizing: border-box;
padding-top: px2rem(55, );
// background-color: #007983;
}
.back {
@@ -29,10 +30,11 @@ body {
}
.tab {
width: px2rem(350, );
// width: px2rem(350, );
height: px2rem(29, );
display: flex;
justify-content: space-between;
// justify-content: space-between;
justify-content: space-around;
margin: 0 auto 0;
div {

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 254 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Some files were not shown because too many files have changed in this diff Show More