Compare commits

...

29 Commits
test ... pkRank

Author SHA1 Message Date
dragon
bcb54ec277 修复pk排行榜bug 2024-06-20 15:43:28 +08:00
dragon
986a9681cb 新增pk榜单 2024-06-18 10:46:46 +08:00
dragon
89e111b64f 修复阿拉伯充值bug 2024-06-17 09:56:00 +08:00
dragon
f9e0b60f87 修复充值阿拉伯bug 2024-06-17 09:56:00 +08:00
dragon
1f3c872153 新增阿拉伯充值活动 2024-06-17 09:55:59 +08:00
dragon
2c4c459d26 修复华语异常toast邀请活动 2024-06-15 01:34:42 +08:00
dragon
69a95330a6 修改邀请活动译文 2024-06-08 18:28:28 +08:00
dragon
8e5047b6d1 修改活动结束展示形式-邀请活动 2024-06-08 18:20:46 +08:00
dragon
0199291ed9 新增邀请活动活动结束提示语 2024-06-07 23:43:24 +08:00
dragon
08319ea5c5 修复游戏排行榜阿拉伯翻译 2024-06-07 17:19:21 +08:00
dragon
d476b6d4ac 修复游戏排行榜样式 2024-06-07 14:10:46 +08:00
dragon
1766b18307 优化账单 2024-06-07 11:11:40 +08:00
dragon
6d8f4561bd 游戏榜单传参修改 2024-06-07 09:51:54 +08:00
dragon
63b5055f3e 修复榜单排名异常 2024-06-07 09:51:54 +08:00
dragon
22b786539c 新增账单,优化阿拉伯公会,新增游戏排行榜 2024-06-07 09:51:54 +08:00
dragon
c34615193b 修复阿拉伯显示异常问题 2024-06-06 11:01:46 +08:00
dragon
2e32cddc87 修复时间选择器滑动异常问题 2024-06-05 18:33:46 +08:00
dragon
0ebbedcaa4 优化阿拉伯首页公会成员列表 2024-06-04 19:16:42 +08:00
dragon
7a1af74708 修改规则 2024-06-04 14:24:51 +08:00
dragon
00a377b59d 修改邀请好友奖励以及修复账单钻石账单异常 2024-06-04 11:56:17 +08:00
dragon
71af927e13 修改幸运礼物货币图标 2024-06-03 19:24:00 +08:00
dragon
3da905b683 适配苹果14公会 2024-06-03 13:12:29 +08:00
dragon
ea034c67af 调试公会顶部距离 2024-06-03 11:20:56 +08:00
dragon
ec8281f55c 清除缓存--铭牌 2024-06-03 10:45:56 +08:00
dragon
b04f17dee9 铭牌申请替换 2024-06-03 10:22:15 +08:00
dragon
405bb90f4b 替换贵族规则图 2024-05-31 17:35:18 +08:00
dragon
a2f91d0299 修改工会翻译 2024-05-31 16:00:22 +08:00
dragon
bf98ddeeba 修复部分公会样式问题 2024-05-31 15:48:38 +08:00
dragon
1ee9e303d0 多语言公会,修复账单类型 2024-05-31 15:27:21 +08:00
177 changed files with 6371 additions and 404 deletions

View File

@@ -1029,3 +1029,16 @@ body {
.arabic .bg .rule .rule2 .table1_3_div {
font-size: 0.13333rem;
}
.toatstsEnd {
padding: 0.26667rem 0.4rem;
text-align: center;
color: #fff;
font-size: 0.32rem;
position: fixed;
z-index: 99999;
background: rgba(0, 0, 0, 0.8);
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}

View File

@@ -1054,4 +1054,16 @@ body {
.bg .rule .rule2 .table1_3_div{
font-size: px2rem(10);
}
}
.toatstsEnd{
padding: px2rem(20) px2rem(30);
text-align: center;
color: #fff;
font-size: px2rem(24);
position: fixed;
z-index: 99999;
background: rgba(0,0,0,.8);
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 688 KiB

After

Width:  |  Height:  |  Size: 610 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 697 KiB

After

Width:  |  Height:  |  Size: 666 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 MiB

After

Width:  |  Height:  |  Size: 673 KiB

View File

@@ -8,7 +8,7 @@
<title id="title"></title>
<!-- 邀請得金幣 -->
<link rel="stylesheet" href="../../common/css/reset.css">
<link rel="stylesheet" href="./css/index.css?v=1.0">
<link rel="stylesheet" href="./css/index.css?v=1.1">
</head>
<body id="body" style="display: none;">
@@ -212,6 +212,7 @@
<li>2.本活動最終解釋權歸官方所有並與Apple inc/Google公司無關</li> -->
</ul>
</div>
<div class="toatstsEnd"></div>
</body>
</script>
@@ -223,8 +224,8 @@
<script src="../../common/js/vconsole.min.js"></script>
<script src="../../common/js/route-constant.js"></script>
<script src="../../common/js/jquery.copy.min.js"></script>
<script src="./local/en.js"></script>
<script src="./local/zh.js"></script>
<script src="./local/ar.js"></script>
<script src="./js/index.js?v=1.0"></script>
<script src="./local/en.js?v=1.1"></script>
<script src="./local/zh.js?v=1.1"></script>
<script src="./local/ar.js?v=1.2"></script>
<script src="./js/index.js?v=1.3"></script>
<script src="../../common/local/langHandler.js"></script>

View File

@@ -58,6 +58,7 @@ $(function () {
langReplace = window.lang.replace;
localLang = window.lang;
text = langReplace(localLang.demoModule.text35)
translateFun();
// getConfig();
getMySelf();
@@ -65,6 +66,11 @@ $(function () {
setTimeout(function () {
$('#body').show();
}, 300)
if (getQueryString().lang == "en" || getQueryString().lang == "ar") {
$('.toatstsEnd').text(langReplace(localLang.demoModule.endTimes))
}else{
$('.toatstsEnd').hide();
}
}, 300)
})
function translateFun() {
@@ -459,12 +465,12 @@ $('.otherRule').click(function () {
bodyScroolFun(false);
})
// 打开收益弹窗
$('.header .rule_rule').click(function(){
$('.header .rule_rule').click(function () {
$('.bg .ul_pub').show();
bodyScroolFun(true);
})
// 关闭收益弹窗
$('.bg .ul_pub .incomeBox .close').click(function(){
$('.bg .ul_pub .incomeBox .close').click(function () {
$('.bg .ul_pub').hide();
bodyScroolFun(false);
})

View File

@@ -2,12 +2,13 @@
langAr = {
// 模块
demoModule: {
endTimes:'انتهاء الفعالية',
img1: `./images/header_h3-ar.png`,
img2: `./images/rule_rule-ar.png`,
img3: `./images/rule1_in-ar.png`,
img4: `./images/rule_2in-ar.png`,
title: `دعوة لكسب النقود`,
text1: ` احصل على <b>1000</b> <img src="./images/gold.png" alt=""> نقطة لكل دعوة`,
text1: ` احصل على <b>500</b> <img src="./images/gold.png" alt=""> نقطة لكل دعوة`,
text2: `رمز الدعوة`,
text3: `مشاركة مع الأصدقاء`,
text4: `نسخ رمز الدعوة`,
@@ -22,7 +23,7 @@ langAr = {
text12: `نوع الأرباح`,
text13: `المستخدم المدعو`,
text14: `قواعد النشاط`,
text15: `دعوة ناجحة لصديق للتسجيل، يحصل كل منهما على 1000 نقطة، لا يوجد حد!`,
text15: `دعوة ناجحة لصديق للتسجيل، يحصل كل منهما على 500 نقطة، لا يوجد حد!`,
text16: `المدعو: أنت`,
text17: `المستخدم المباشر`,
text18: `دعوة الأصدقاء للشحن والحصول على cashback، حتى 7% لمدة 30 يومًا!`,
@@ -51,10 +52,10 @@ langAr = {
<li>2. يحتفظ الإدارة بالحق النهائي في هذا النشاط، ولا يمتلك أي علاقة بشركة أبل/جوجل؛</li>`,
text31: `مشاركة رمز QR >`,
text32: `الأصدقاء يمسحون رمز الاستجابة السريعة`,
text33: `احصل على <b>1000</b>`,
text33: `احصل على <b>500</b>`,
text34: `حفظ محليًا`,
text35: `مباشرة`,
text36: `مسح لتنزيل molistar وملء رمز دعوتي للحصول على 1000 نقطة!`,
text36: `مسح لتنزيل molistar وملء رمز دعوتي للحصول على 500 نقطة!`,
text37: `موليستار، لقاء مع الصوت النابض بالقلب`,
text38: `دردشة، لعب الألعاب، تكوين الصداقات، في أي وقت وفي أي مكان على موليستار`,
text39: `مباشرة`,
@@ -123,7 +124,7 @@ langAr = {
text1: `اكتشف الصدف الغير متوقعة على Molistar.`,
text2: `تحدث، والعب ألعاب، واكسب الأصدقاء في أي وقت وفي أي مكان على Molistar.`,
xz_id: `حمّل Molistar الآن!`,
text4: `حمّل وسجّل في Molistar باستخدام كود الدعوة الخاص بي للحصول على 1000 عملة ذهبية على الفور!`,
text4: `حمّل وسجّل في Molistar باستخدام كود الدعوة الخاص بي للحصول على 500 عملة ذهبية على الفور!`,
text5: `جار التحميل...`,
text6: `تم العملية بنجاح`,
text7: `تم نسخ الرمز بنجاح`,

View File

@@ -2,12 +2,13 @@
langEn = {
// 模块
demoModule: {
endTimes:'The event has ended',
img1: `./images/header_h3-en.png`,
img2: `./images/rule_rule-en.png`,
img3: `./images/rule1_in-en.png`,
img4: `./images/rule_2in-en.png`,
title: `Invite to Earn Coins`,
text1: `Get <b>1000</b> <img src="./images/gold.png" alt=""> for each invitation `,
text1: `Get <b>500</b> <img src="./images/gold.png" alt=""> for each invitation `,
text2: `My Code`,
text3: `Share with Friends`,
text4: `Copy Invitation Code`,
@@ -22,7 +23,7 @@ langEn = {
text12: `Earnings Type`,
text13: `Invited User`,
text14: `Activity Rules`,
text15: `Successfully invite a friend to register, both parties get 1000 coins each, unlimited!`,
text15: `Successfully invite a friend to register, both parties get 500 coins each, unlimited!`,
text16: `Inviter: You`,
text17: `Direct Invitee`,
text18: `Invite friends to top up and get cashback, up to 7% for 30 days!`,
@@ -51,10 +52,10 @@ langEn = {
<li>2. The final interpretation right of this activity belongs to the official, and has nothing to do with Apple Inc./Google Inc.;</li>`,
text31: `Share QR >`,
text32: `Friends Scan QR Code to Download and Register`,
text33: `Get <b>1000</b><img src="./images/gold.png" alt="" class="diamond">`,
text33: `Get <b>500</b><img src="./images/gold.png" alt="" class="diamond">`,
text34: `Save Locally`,
text35: `Direct`,
text36: `Scan to download molistar and fill in My Code to get 1000 coins!`,
text36: `Scan to download molistar and fill in My Code to get 500 coins!`,
text37: `Molistar, Encounter with the Heartbeat Sound`,
text38: `Chat, Play Games, Make Friends, Anytime Anywhere on Molistar`,
text39: `Direct`,
@@ -122,7 +123,7 @@ langEn = {
text1: `Discover unexpected connections on Molistar.`,
text2: `Chat, play games, and make friends anytime, anywhere on Molistar.`,
xz_id: `Download Molistar now!`,
text4: `Download and register on Molistar with my invite code to get 1000 gold coins instantly!`,
text4: `Download and register on Molistar with my invite code to get 500 gold coins instantly!`,
text5: `Loading...`,
text6: `Operation complete`,
text7: `Copy successful`,

View File

@@ -2,12 +2,13 @@
langZh = {
// 模塊
demoModule: {
endTimes:'活動已結束',
img1: `./images/header_h3.png`,
img2: `./images/rule_rule.png`,
img3: `./images/rule1_in.png`,
img4: `./images/rule_2in.png`,
title: `邀請得金幣`,
text1: `每邀請一人得 <b>1000</b>金幣 <img src="./images/gold.png" alt="">`,
text1: `每邀請一人得 <b>500</b>金幣 <img src="./images/gold.png" alt="">`,
text2: `我的邀請碼`,
text3: `分享邀請好友`,
text4: `複製邀請碼`,
@@ -22,7 +23,7 @@ langZh = {
text12: `收益類型`,
text13: `邀請對象`,
text14: `活動規則`,
text15: `成功邀請一位好友註冊,雙方各得1000金幣無上限`,
text15: `成功邀請一位好友註冊,雙方各得500金幣無上限`,
text16: `邀請人:妳`,
text17: `直接邀請對象`,
text18: `邀請好友儲值返現纍計高達7%持續30天`,
@@ -51,10 +52,10 @@ langZh = {
<li>2.本活動最終解釋權歸官方所有並與Apple inc/Google公司無關</li>`,
text31: `分享二維碼 >`,
text32: `好友掃碼下載註冊`,
text33: `得<b>1000</b><img src="./images/gold.png" alt="" class="diamond">`,
text33: `得<b>500</b><img src="./images/gold.png" alt="" class="diamond">`,
text34: `保存本地`,
text35: `直接`,
text36: `掃碼下載molistar並填寫我的邀請碼\n立得 1000 金幣!`,
text36: `掃碼下載molistar並填寫我的邀請碼\n立得 500 金幣!`,
text37: `molistar與心動聲音不期而遇`,
text38: `聊天玩遊戲交朋友隨時隨地在molistar`,
text39: `直接`,
@@ -125,7 +126,7 @@ langZh = {
text1: `molistar與心動聲音不期而遇`,
text2: `聊天玩遊戲交朋友隨時隨地在molistar`,
xz_id: `立即下载molistar`,
text4: `下載註冊molistar並填寫我的邀請碼立得1000金幣`,
text4: `下載註冊molistar並填寫我的邀請碼立得500金幣`,
text5: `加載中...`,
text6: `操作完成`,
text7: `复制成功`,

View File

@@ -13,7 +13,7 @@
.max {
width: 10rem;
height: 30.84rem;
background: url("../images/max.png") no-repeat;
background: url("../images/max.png?v=1.0") no-repeat;
background-size: 100% 100%;
font-family: 'pingfang-bold';
}

View File

@@ -22,7 +22,7 @@
.max {
width: px2rem(750);
height: px2rem(2313);
background: url('../images/max.png') no-repeat;
background: url('../images/max.png?v=1.0') no-repeat;
background-size: 100% 100%;
font-family: 'pingfang-bold';

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

View File

@@ -20,7 +20,7 @@
<title>精美铭牌送不停</title>
<link rel="stylesheet" href="../../common/css/reset.css">
<link rel="stylesheet" href="./css/index.css?v=10">
<link rel="stylesheet" href="./css/index.css?v=11">
<script src="../../common/js/flexible.js"></script>
</head>

View File

@@ -0,0 +1,853 @@
html,
body {
width: 100%;
background: #33004B;
}
.back {
width: 100%;
height: 0.58667rem;
line-height: 0.58667rem;
position: fixed;
left: 0;
top: 0.93333rem;
text-align: center;
color: #FFFFFF;
font-size: 0.50667rem;
font-weight: bold;
z-index: 10;
}
.back img {
width: 0.58667rem;
height: 0.58667rem;
position: absolute;
left: 0.24rem;
top: 0rem;
}
.header {
width: 10rem;
height: 11.97333rem;
background: url(../images/header.png) no-repeat;
background-size: 100% 100%;
position: relative;
margin: 0 auto 0;
}
.header .records_icon {
width: 1.96rem;
height: 0.74667rem;
position: absolute;
right: 0;
top: 7.89333rem;
}
.header .rule_icon {
width: 1.96rem;
height: 0.74667rem;
position: absolute;
right: 0;
top: 8.77333rem;
}
.box1 {
position: relative;
width: 10rem;
height: 7.42667rem;
margin: -2rem auto 0;
background: url(../images/box1.png) no-repeat;
background-size: 100% 100%;
}
.box1 .box1_gift {
width: 7.85333rem;
height: 2.34667rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 2.61333rem;
}
.box1 .but {
width: 2.16rem;
height: 0.69333rem;
position: absolute;
top: 5.38667rem;
background: url(../images/befoBut.png) no-repeat;
background-size: 100% 100%;
}
.box1 .but1 {
left: 1.22667rem;
}
.box1 .but2 {
left: 3.90667rem;
}
.box1 .but3 {
left: 6.69333rem;
}
.box1 .act {
background: url(../images/butAct.png) no-repeat;
background-size: 100% 100%;
}
.box1 .actOut {
background: url(../images/but.png) no-repeat;
background-size: 100% 100%;
}
.box1 .query_icon {
width: 0.61333rem;
height: 0.61333rem;
position: absolute;
top: 0.89333rem;
right: 2.92rem;
}
.box1 .text {
width: 2.16rem;
height: 0.4rem;
line-height: 0.4rem;
text-align: center;
position: absolute;
top: 4.9rem;
color: #fff;
font-size: 0.24rem;
white-space: nowrap;
}
.box1 .text b {
color: #FEFD6E;
}
.box1 .text1 {
left: 1.22667rem;
}
.box1 .text2 {
left: 3.90667rem;
}
.box1 .text3 {
left: 6.69333rem;
}
.content {
width: 10rem;
height: 57.04rem;
background: url(../images/boxBg.png) no-repeat;
background-size: 100% 100%;
position: relative;
margin: 0 auto 0.26667rem;
overflow: hidden;
}
.content .time {
height: 0.94667rem;
line-height: 0.94667rem;
width: 100%;
text-align: center;
color: #FBF13A;
font-size: 0.32rem;
margin: 1.98667rem auto 0.54667rem;
}
.content .time span {
display: inline-block;
width: 0.72rem;
text-align: center;
height: 0.94667rem;
line-height: 0.94667rem;
background: url(../images/timeBg.png) no-repeat;
background-size: 100% 100%;
}
.content .content1 {
width: 8.46667rem;
height: 7.41333rem;
background: url(../images/content1.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0;
position: relative;
}
.content .content1 h3 {
width: 100%;
text-align: center;
color: #FEFD6E;
font-size: 0.37333rem;
position: absolute;
left: 0;
top: 0.58667rem;
}
.content .content1 .content1_gift {
width: 7.62667rem;
height: 2.4rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 1.56rem;
}
.content .content1 .but {
width: 2.97333rem;
height: 0.89333rem;
background: url(../images/bigBefoBut.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 5.89333rem;
}
.content .content1 .act {
background: url(../images/bigButAct.png) no-repeat;
background-size: 100% 100%;
}
.content .content1 .actOut {
background: url(../images/bigBut.png) no-repeat;
background-size: 100% 100%;
}
.content .content1 .text {
width: 2.16rem;
text-align: center;
position: absolute;
top: 4.08rem;
color: #FEFD6E;
font-size: 0.26667rem;
white-space: nowrap;
}
.content .content1 .text1 {
left: 0.50667rem;
}
.content .content1 .text2 {
left: 50%;
transform: translateX(-50%);
}
.content .content1 .text3 {
right: 0.6rem;
}
.content .content1 .schedule {
color: #fff;
font-size: 0.26667rem;
position: absolute;
left: 0;
top: 4.93333rem;
text-align: center;
width: 100%;
}
.content .content1 .schedule b {
color: #FEFD6E;
}
.content .content2 {
width: 8.46667rem;
height: 9.77333rem;
background: url(../images/content2.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0;
position: relative;
}
.content .content2 h3 {
width: 100%;
text-align: center;
color: #FEFD6E;
font-size: 0.37333rem;
position: absolute;
left: 0;
top: 0.58667rem;
}
.content .content2 .content2_gift {
width: 5.53333rem;
height: 5.48rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 1.42667rem;
}
.content .content2 .but {
width: 2.97333rem;
height: 0.89333rem;
background: url(../images/bigBefoBut.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 8.3rem;
}
.content .content2 .act {
background: url(../images/bigButAct.png) no-repeat;
background-size: 100% 100%;
}
.content .content2 .actOut {
background: url(../images/bigBut.png) no-repeat;
background-size: 100% 100%;
}
.content .content2 .text {
width: 2.16rem;
text-align: center;
position: absolute;
top: 3.98667rem;
color: #FEFD6E;
font-size: 0.26667rem;
white-space: nowrap;
}
.content .content2 .text1 {
left: 1.48rem;
}
.content .content2 .text2 {
right: 1.48rem;
}
.content .content2 .text3 {
top: 7.05333rem;
left: 1.48rem;
}
.content .content2 .text4 {
top: 7.05333rem;
right: 1.9rem;
}
.content .content2 .schedule {
color: #fff;
font-size: 0.26667rem;
position: absolute;
left: 0;
top: 7.69333rem;
text-align: center;
width: 100%;
}
.content .content2 .schedule b {
color: #FEFD6E;
}
.content .content3 {
width: 8.46667rem;
height: 9.77333rem;
background: url(../images/content3.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0;
position: relative;
}
.content .content3 h3 {
width: 100%;
text-align: center;
color: #FEFD6E;
font-size: 0.37333rem;
position: absolute;
left: 0;
top: 0.58667rem;
}
.content .content3 .content3_gift {
width: 7.52rem;
height: 5.48rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 1.42667rem;
}
.content .content3 .but {
width: 2.97333rem;
height: 0.89333rem;
background: url(../images/bigBefoBut.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 8.3rem;
}
.content .content3 .act {
background: url(../images/bigButAct.png) no-repeat;
background-size: 100% 100%;
}
.content .content3 .actOut {
background: url(../images/bigBut.png) no-repeat;
background-size: 100% 100%;
}
.content .content3 .text {
width: 2.16rem;
text-align: center;
position: absolute;
top: 3.98667rem;
color: #FEFD6E;
font-size: 0.26667rem;
white-space: nowrap;
}
.content .content3 .text1 {
left: 0.65333rem;
}
.content .content3 .text2 {
left: 50%;
transform: translateX(-50%);
}
.content .content3 .text3 {
right: 0.65333rem;
}
.content .content3 .text4 {
top: 7.05333rem;
left: 0.4rem;
}
.content .content3 .text5 {
top: 7.05333rem;
left: 48%;
transform: translateX(-50%);
}
.content .content3 .text6 {
top: 7.05333rem;
right: 0.73333rem;
}
.content .content3 .text6 b {
text-align: right;
position: absolute;
right: -0.1rem;
}
.content .content3 .schedule {
color: #fff;
font-size: 0.26667rem;
position: absolute;
left: 0;
top: 7.8rem;
text-align: center;
width: 100%;
}
.content .content3 .schedule b {
color: #FEFD6E;
}
.content .content4 {
width: 8.46667rem;
height: 12.78667rem;
background: url(../images/content4.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0;
position: relative;
}
.content .content4 h3 {
width: 100%;
text-align: center;
color: #FEFD6E;
font-size: 0.37333rem;
position: absolute;
left: 0;
top: 0.58667rem;
}
.content .content4 .content4_gift {
width: 7.66667rem;
height: 8.85333rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 1.42667rem;
}
.content .content4 .but {
width: 2.97333rem;
height: 0.89333rem;
background: url(../images/bigBefoBut.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 11.4rem;
}
.content .content4 .act {
background: url(../images/bigButAct.png) no-repeat;
background-size: 100% 100%;
}
.content .content4 .actOut {
background: url(../images/bigBut.png) no-repeat;
background-size: 100% 100%;
}
.content .content4 .text {
width: 2.16rem;
text-align: center;
position: absolute;
top: 3.98667rem;
color: #FEFD6E;
font-size: 0.26667rem;
white-space: nowrap;
}
.content .content4 .text1 {
left: 0.65333rem;
}
.content .content4 .text2 {
left: 50%;
transform: translateX(-50%);
}
.content .content4 .text3 {
right: 0.65333rem;
}
.content .content4 .text4 {
top: 7.2rem;
left: 0.65333rem;
}
.content .content4 .text5 {
top: 7.2rem;
left: 50%;
transform: translateX(-50%);
}
.content .content4 .text6 {
top: 7.2rem;
right: 0.93333rem;
white-space: nowrap;
}
.content .content4 .text7 {
top: 10.4rem;
left: 1.4rem;
text-align: left;
}
.content .content4 .text7 b {
text-align: right;
position: absolute;
right: -0;
}
.content .content4 .text8 {
top: 10.4rem;
right: 2rem;
}
.content .content4 .schedule {
color: #fff;
font-size: 0.26667rem;
position: absolute;
left: 0;
top: 10.93333rem;
text-align: center;
width: 100%;
}
.content .content4 .schedule b {
color: #FEFD6E;
}
.content .content5 {
width: 8.46667rem;
height: 12.78667rem;
background: url(../images/content4.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0;
position: relative;
}
.content .content5 h3 {
width: 100%;
text-align: center;
color: #FEFD6E;
font-size: 0.37333rem;
position: absolute;
left: 0;
top: 0.58667rem;
}
.content .content5 .content5_gift {
width: 7.66667rem;
height: 8.85333rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 1.42667rem;
}
.content .content5 .but {
width: 2.97333rem;
height: 0.89333rem;
background: url(../images/bigBefoBut.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 11.4rem;
}
.content .content5 .act {
background: url(../images/bigButAct.png) no-repeat;
background-size: 100% 100%;
}
.content .content5 .actOut {
background: url(../images/bigBut.png) no-repeat;
background-size: 100% 100%;
}
.content .content5 .act {
background: url(../images/bigButAct.png) no-repeat;
background-size: 100% 100%;
}
.content .content5 .text {
width: 2.16rem;
text-align: center;
position: absolute;
top: 3.98667rem;
color: #FEFD6E;
font-size: 0.26667rem;
white-space: nowrap;
}
.content .content5 .text1 {
left: 0.65333rem;
}
.content .content5 .text2 {
left: 50%;
transform: translateX(-50%);
}
.content .content5 .text3 {
right: 0.65333rem;
}
.content .content5 .text4 {
top: 7.2rem;
left: 0.65333rem;
}
.content .content5 .text5 {
top: 7.2rem;
left: 50%;
transform: translateX(-50%);
}
.content .content5 .text6 {
top: 7.2rem;
right: 0.93333rem;
white-space: nowrap;
}
.content .content5 .text7 {
top: 10.4rem;
left: 1.4rem;
text-align: left;
}
.content .content5 .text7 b {
text-align: right;
position: absolute;
right: -0rem;
}
.content .content5 .text8 {
top: 10.4rem;
right: 2rem;
}
.content .content5 .schedule {
color: #fff;
font-size: 0.26667rem;
position: absolute;
left: 0;
top: 10.93333rem;
text-align: center;
width: 100%;
}
.content .content5 .schedule b {
color: #FEFD6E;
}
.dayPub {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, 0.6);
z-index: 99;
display: none;
}
.dayPub .dayPub_in {
width: 7.65333rem;
height: 9.16rem;
background: url(../images/dayPub.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.dayPub .dayPub_in .close {
width: 0.5rem;
height: 0.5rem;
position: absolute;
top: 0.1rem;
right: 0.1rem;
}
.rulePub {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, 0.6);
z-index: 99;
display: none;
}
.rulePub .rulePub_in {
width: 7.65333rem;
height: 9.16rem;
background: url(../images/rulePub.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.rulePub .rulePub_in .close {
width: 0.5rem;
height: 0.5rem;
position: absolute;
top: 0.1rem;
right: 0.1rem;
}
.not_records {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, 0.6);
z-index: 99;
display: none;
}
.not_records .not_records_in {
width: 7.65333rem;
height: 7.97333rem;
background: url(../images/not_records.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.not_records .not_records_in .close {
width: 0.6rem;
height: 0.5rem;
position: absolute;
top: 0.2rem;
right: 0rem;
}
.records {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, 0.6);
z-index: 99;
display: none;
}
.records .records_in {
width: 7.65333rem;
height: 7.97333rem;
background: url(../images/records.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
overflow: hidden;
}
.records .records_in .close {
width: 0.53333rem;
height: 0.53333rem;
position: absolute;
top: 0rem;
right: 0rem;
}
.records .records_in .title {
width: 5.06667rem;
text-align: center;
display: flex;
justify-content: space-between;
color: #fff;
font-size: 0.38667rem;
margin: 1.88rem auto 0.52rem;
font-weight: bold;
}
.records .records_in .title div {
width: 1.6rem;
}
.records .records_in ul {
width: 5.06667rem;
height: 4.5rem;
overflow-y: scroll;
margin: 0 auto;
}
.records .records_in ul::-webkit-scrollbar {
display: none;
}
.records .records_in ul li {
display: flex;
justify-content: space-between;
margin-bottom: 0.30667rem;
color: #fff;
font-size: 0.32rem;
font-weight: bold;
}

View File

@@ -0,0 +1,858 @@
@function px2rem($px) {
@return $px / 75+rem;
}
html,
body {
width: 100%;
background: #33004B;
}
.back {
width: 100%;
height: px2rem(44);
line-height: px2rem(44);
position: fixed;
left: 0;
top: px2rem(70);
text-align: center;
color: #FFFFFF;
font-size: px2rem(38);
font-weight: bold;
z-index: 10;
img {
width: px2rem(44);
height: px2rem(44);
position: absolute;
left: px2rem(18);
top: px2rem(0);
}
}
.header {
width: px2rem(750);
height: px2rem(898);
background: url(../images/header.png) no-repeat;
background-size: 100% 100%;
position: relative;
margin: 0 auto 0;
.records_icon {
width: px2rem(147);
height: px2rem(56);
position: absolute;
right: 0;
top: px2rem(592);
}
.rule_icon {
width: px2rem(147);
height: px2rem(56);
position: absolute;
right: 0;
top: px2rem(658);
}
}
.box1 {
position: relative;
width: px2rem(750);
height: px2rem(557);
margin: -2rem auto 0;
background: url(../images/box1.png) no-repeat;
background-size: 100% 100%;
.box1_gift {
width: px2rem(589);
height: px2rem(176);
position: absolute;
left: 50%;
transform: translateX(-50%);
top: px2rem(196);
}
.but {
width: px2rem(162);
height: px2rem(52);
position: absolute;
top: px2rem(404);
background: url(../images/befoBut.png) no-repeat;
background-size: 100% 100%;
}
.but1 {
left: px2rem(92);
}
.but2 {
left: px2rem(293);
}
.but3 {
left: px2rem(502);
}
.act {
background: url(../images/butAct.png) no-repeat;
background-size: 100% 100%;
}
.actOut {
background: url(../images/but.png) no-repeat;
background-size: 100% 100%;
}
.query_icon {
width: px2rem(46);
height: px2rem(46);
position: absolute;
top: px2rem(67);
right: px2rem(219);
}
.text {
width: px2rem(162);
height: px2rem(30);
line-height: px2rem(30);
text-align: center;
position: absolute;
top: 4.9rem;
color: #fff;
font-size: px2rem(18);
white-space: nowrap;
b {
color: #FEFD6E;
}
}
.text1 {
left: px2rem(92);
}
.text2 {
left: px2rem(293);
}
.text3 {
left: px2rem(502);
}
}
.content {
width: px2rem(750);
height: px2rem(4278);
background: url(../images/boxBg.png) no-repeat;
background-size: 100% 100%;
position: relative;
margin: 0 auto px2rem(20);
overflow: hidden;
.time {
height: px2rem(71);
line-height: px2rem(71);
width: 100%;
text-align: center;
color: #FBF13A;
font-size: px2rem(24);
margin: px2rem(149) auto px2rem(41);
span {
display: inline-block;
width: px2rem(54);
text-align: center;
height: px2rem(71);
line-height: px2rem(71);
background: url(../images/timeBg.png) no-repeat;
background-size: 100% 100%;
}
}
.content1 {
width: px2rem(635);
height: px2rem(556);
background: url(../images/content1.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0;
position: relative;
h3 {
width: 100%;
text-align: center;
color: #FEFD6E;
font-size: px2rem(28);
position: absolute;
left: 0;
top: px2rem(44);
}
.content1_gift {
width: px2rem(572);
height: px2rem(180);
position: absolute;
left: 50%;
transform: translateX(-50%);
top: px2rem(117);
}
.but {
width: px2rem(223);
height: px2rem(67);
background: url(../images/bigBefoBut.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: px2rem(442);
}
.act {
background: url(../images/bigButAct.png) no-repeat;
background-size: 100% 100%;
}
.actOut {
background: url(../images/bigBut.png) no-repeat;
background-size: 100% 100%;
}
.text {
width: px2rem(162);
text-align: center;
position: absolute;
top: px2rem(306);
color: #FEFD6E;
font-size: px2rem(20);
white-space: nowrap;
}
.text1 {
left: px2rem(38);
}
.text2 {
left: 50%;
transform: translateX(-50%);
}
.text3 {
right: 0.6rem;
}
.schedule {
color: #fff;
font-size: px2rem(20);
position: absolute;
left: 0;
top: px2rem(370);
text-align: center;
width: 100%;
b {
color: #FEFD6E;
}
}
}
.content2 {
width: px2rem(635);
height: px2rem(733);
background: url(../images/content2.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0;
position: relative;
h3 {
width: 100%;
text-align: center;
color: #FEFD6E;
font-size: px2rem(28);
position: absolute;
left: 0;
top: px2rem(44);
}
.content2_gift {
width: px2rem(415);
height: px2rem(411);
position: absolute;
left: 50%;
transform: translateX(-50%);
top: px2rem(107);
}
.but {
width: px2rem(223);
height: px2rem(67);
background: url(../images/bigBefoBut.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 8.3rem;
}
.act {
background: url(../images/bigButAct.png) no-repeat;
background-size: 100% 100%;
}
.actOut {
background: url(../images/bigBut.png) no-repeat;
background-size: 100% 100%;
}
.text {
width: px2rem(162);
text-align: center;
position: absolute;
top: px2rem(299);
color: #FEFD6E;
font-size: px2rem(20);
white-space: nowrap;
}
.text1 {
left: px2rem(111);
}
.text2 {
right: px2rem(111);
}
.text3 {
top: px2rem(529);
left: px2rem(111);
}
.text4 {
top: px2rem(529);
right: 1.9rem;
}
.schedule {
color: #fff;
font-size: px2rem(20);
position: absolute;
left: 0;
top: px2rem(577);
text-align: center;
width: 100%;
b {
color: #FEFD6E;
}
}
}
.content3 {
width: px2rem(635);
height: px2rem(733);
background: url(../images/content3.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0;
position: relative;
h3 {
width: 100%;
text-align: center;
color: #FEFD6E;
font-size: px2rem(28);
position: absolute;
left: 0;
top: px2rem(44);
}
.content3_gift {
width: px2rem(564);
height: px2rem(411);
position: absolute;
left: 50%;
transform: translateX(-50%);
top: px2rem(107);
}
.but {
width: px2rem(223);
height: px2rem(67);
background: url(../images/bigBefoBut.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 8.3rem;
}
.act {
background: url(../images/bigButAct.png) no-repeat;
background-size: 100% 100%;
}
.actOut {
background: url(../images/bigBut.png) no-repeat;
background-size: 100% 100%;
}
.text {
width: px2rem(162);
text-align: center;
position: absolute;
top: px2rem(299);
color: #FEFD6E;
font-size: px2rem(20);
white-space: nowrap;
}
.text1 {
left: px2rem(49);
}
.text2 {
left: 50%;
transform: translateX(-50%);
}
.text3 {
right: px2rem(49);
}
.text4 {
top: px2rem(529);
left: px2rem(30);
}
.text5 {
top: px2rem(529);
left: 48%;
transform: translateX(-50%);
}
.text6 {
top: px2rem(529);
right: px2rem(55);
b {
text-align: right;
position: absolute;
right: -0.1rem;
}
}
.schedule {
color: #fff;
font-size: px2rem(20);
position: absolute;
left: 0;
top: px2rem(585);
text-align: center;
width: 100%;
b {
color: #FEFD6E;
}
}
}
.content4 {
width: px2rem(635);
height: px2rem(959);
background: url(../images/content4.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0;
position: relative;
h3 {
width: 100%;
text-align: center;
color: #FEFD6E;
font-size: px2rem(28);
position: absolute;
left: 0;
top: px2rem(44);
}
.content4_gift {
width: px2rem(575);
height: px2rem(664);
position: absolute;
left: 50%;
transform: translateX(-50%);
top: px2rem(107);
}
.but {
width: px2rem(223);
height: px2rem(67);
background: url(../images/bigBefoBut.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 11.4rem;
}
.act {
background: url(../images/bigButAct.png) no-repeat;
background-size: 100% 100%;
}
.actOut {
background: url(../images/bigBut.png) no-repeat;
background-size: 100% 100%;
}
.text {
width: px2rem(162);
text-align: center;
position: absolute;
top: px2rem(299);
color: #FEFD6E;
font-size: px2rem(20);
white-space: nowrap;
}
.text1 {
left: px2rem(49);
}
.text2 {
left: 50%;
transform: translateX(-50%);
}
.text3 {
right: px2rem(49);
}
.text4 {
top: px2rem(540);
left: px2rem(49);
}
.text5 {
top: px2rem(540);
left: 50%;
transform: translateX(-50%);
}
.text6 {
top: px2rem(540);
right: px2rem(70);
white-space: nowrap;
}
.text7 {
top: px2rem(780);
left: px2rem(105);
text-align: left;
b {
text-align: right;
position: absolute;
right: -0;
}
}
.text8 {
top: px2rem(780);
right: px2rem(150);
}
.schedule {
color: #fff;
font-size: px2rem(20);
position: absolute;
left: 0;
top: px2rem(820);
text-align: center;
width: 100%;
b {
color: #FEFD6E;
}
}
}
.content5 {
width: px2rem(635);
height: px2rem(959);
background: url(../images/content4.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0;
position: relative;
h3 {
width: 100%;
text-align: center;
color: #FEFD6E;
font-size: px2rem(28);
position: absolute;
left: 0;
top: px2rem(44);
}
.content5_gift {
width: px2rem(575);
height: px2rem(664);
position: absolute;
left: 50%;
transform: translateX(-50%);
top: px2rem(107);
}
.but {
width: px2rem(223);
height: px2rem(67);
background: url(../images/bigBefoBut.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 11.4rem;
}
.act {
background: url(../images/bigButAct.png) no-repeat;
background-size: 100% 100%;
}
.actOut {
background: url(../images/bigBut.png) no-repeat;
background-size: 100% 100%;
}
.act {
background: url(../images/bigButAct.png) no-repeat;
background-size: 100% 100%;
}
.text {
width: px2rem(162);
text-align: center;
position: absolute;
top: px2rem(299);
color: #FEFD6E;
font-size: px2rem(20);
white-space: nowrap;
}
.text1 {
left: px2rem(49);
}
.text2 {
left: 50%;
transform: translateX(-50%);
}
.text3 {
right: px2rem(49);
}
.text4 {
top: px2rem(540);
left: px2rem(49);
}
.text5 {
top: px2rem(540);
left: 50%;
transform: translateX(-50%);
}
.text6 {
top: px2rem(540);
right: px2rem(70);
white-space: nowrap;
}
.text7 {
top: px2rem(780);
left: px2rem(105);
text-align: left;
b {
text-align: right;
position: absolute;
right: -0rem;
}
}
.text8 {
top: px2rem(780);
right: px2rem(150);
}
.schedule {
color: #fff;
font-size: px2rem(20);
position: absolute;
left: 0;
top: px2rem(820);
text-align: center;
width: 100%;
b {
color: #FEFD6E;
}
}
}
}
.dayPub {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, .6);
z-index: 99;
display: none;
.dayPub_in {
width: px2rem(574);
height: px2rem(687);
background: url(../images/dayPub.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
.close {
width: 0.5rem;
height: 0.5rem;
position: absolute;
top: 0.1rem;
right: 0.1rem;
}
}
}
.rulePub {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, .6);
z-index: 99;
display: none;
.rulePub_in {
width: px2rem(574);
height: px2rem(687);
background: url(../images/rulePub.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
.close {
width: 0.5rem;
height: 0.5rem;
position: absolute;
top: 0.1rem;
right: 0.1rem;
}
}
}
.not_records {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, .6);
z-index: 99;
display: none;
.not_records_in {
width: px2rem(574);
height: px2rem(598);
background: url(../images/not_records.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
.close {
width: 0.6rem;
height: 0.5rem;
position: absolute;
top: 0.2rem;
right: 0rem;
}
}
}
.records {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, .6);
z-index: 99;
display: none;
.records_in {
width: px2rem(574);
height: px2rem(598);
background: url(../images/records.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
overflow: hidden;
.close {
width: px2rem(40);
height: px2rem(40);
position: absolute;
top: 0rem;
right: 0rem;
}
.title {
width: px2rem(380);
text-align: center;
display: flex;
justify-content: space-between;
color: #fff;
font-size: px2rem(29);
margin: px2rem(141) auto px2rem(39);
font-weight: bold;
div {
width: px2rem(120);
}
}
ul {
width: px2rem(380);
height: 4.5rem;
overflow-y: scroll;
margin: 0 auto;
&::-webkit-scrollbar {
display: none;
}
li {
display: flex;
justify-content: space-between;
margin-bottom: px2rem(23);
color: #fff;
font-size: px2rem(24);
font-weight: bold;
}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 877 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -0,0 +1,161 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>مزايا إعادة الشحن الشهرية</title>
<link rel="stylesheet" href="../../common/css/reset.css">
<link rel="stylesheet" href="./css/index.css">
</head>
<body>
<!-- 頂部返回 -->
<div class="back">
<img src="./images/travel/back.png" alt="">
</div>
<!-- 主视觉 -->
<div class="header">
<!-- 记录 -->
<img src="./images/records_icon.png" alt="" class="records_icon">
<!-- 规则 -->
<img src="./images/rule_icon.png" alt="" class="rule_icon">
</div>
<!-- 盒子1 -->
<div class="box1">
<img src="./images/box1_gift.png" alt="" class="box1_gift">
<img src="./images/query_icon.png" alt="" class="query_icon">
<div class="but but1"></div>
<div class="but but2"></div>
<div class="but but3"></div>
<div class="text text1">
<b>0</b><span>/0.99</span>
</div>
<div class="text text2">
<b>0</b><span>/9.99</span>
</div>
<div class="text text3">
<b>0</b><span>/49.99</span>
</div>
</div>
<!-- 内容 -->
<div class="content">
<!-- 时间 -->
<div class="time">
<!-- يوم <span>00</span> العد التنازلي <span>00</span> : <span>00</span> : <span>00</span> -->
<span class="sp4">00</span> : <span class="sp3">00</span> : <span class="sp2">00</span> العد التنازلي <span
class="sp1">00</span> يوم
</div>
<!-- 内容1 -->
<div class="content1 contentss">
<h3>شحن 99.99 دولارًا أمريكيًا</h3>
<div class="text text1">إطار 30 يومًا</div>
<div class="text text2">VIP1لمدة 30 يوم</div>
<div class="text text3"> 100عملة ذهبية هدية </div>
<div class="schedule"><b>0</b><span>/99.99</span></div>
<img src="./images/content1_gift.png" alt="" class="content1_gift">
<div class="but"></div>
</div>
<!-- 内容2 -->
<div class="content2 contentss">
<h3>شحن 299.99 دولارًا أمريكيًا</h3>
<div class="text text1">VIP3لمدة 30 يوم</div>
<div class="text text2">إطار 30 يومًا</div>
<div class="text text3">دخلة لمدة 15 يوم</div>
<div class="text text4">3*500 عملة ذهبية هدية</div>
<div class="schedule"><b>0</b><span>/299.99</span></div>
<img src="./images/content2_gift.png" alt="" class="content2_gift">
<div class="but"></div>
</div>
<!-- 内容3 -->
<div class="content3 contentss">
<h3>شحن 799.99 دولارًا أمريكيًا</h3>
<div class="text text1">VIP5لمدة 30 يوم</div>
<div class="text text2">إطار 30 يومًا</div>
<div class="text text3">دخلة لمدة 15 يوم</div>
<div class="text text4">فقاعة دردشة 30 يوم</div>
<div class="text text5">3*1000عملة ذهبية هدية </div>
<div class="text text6">ألف عملة ذهبية <b>50</b></div>
<div class="schedule"><b>0</b><span>/799.99</span></div>
<img src="./images/content3_gift.png" alt="" class="content3_gift">
<div class="but"></div>
</div>
<!-- 内容4 -->
<div class="content4 contentss">
<h3>شحن 1499.99 دولارًا أمريكيًا</h3>
<div class="text text1">VIP7لمدة 30 يوم</div>
<div class="text text2">إطار 30 يومًا</div>
<div class="text text3">فقاعة دردشة 30 يوم</div>
<div class="text text4">دخلة لمدة 15 يوم</div>
<div class="text text5">بطاقة 30 يوم</div>
<div class="text text6">3*3000عملة ذهبية هدية</div>
<div class="text text7"><b>100</b> ألف عملة ذهبية</div>
<div class="text text8">خلفية الصفحة الشخصية 30 يوم</div>
<div class="schedule"><b>0</b><span>/1499.99</span></div>
<img src="./images/content4_gift.png" alt="" class="content4_gift">
<div class="but"></div>
</div>
<!-- 内容5 -->
<div class="content5 contentss">
<h3>شحن 2999.99 دولارًا أمريكيًا</h3>
<div class="text text1">VIP9لمدة 30 يوم</div>
<div class="text text2">إطار مخصص دائم</div>
<div class="text text3">فقاعة دردشة 30 يوم</div>
<div class="text text4">دخلة لمدة 15 يوم</div>
<div class="text text5">بطاقة 30 يوم</div>
<div class="text text6">3*7000عملة ذهبية هدية </div>
<div class="text text7"><b>200</b> ألف عملة ذهبية</div>
<div class="text text8">خلفية الصفحة الشخصية 30 يوم</div>
<div class="schedule"><b>0</b><span>/2999.99</span></div>
<img src="./images/content5_gift.png" alt="" class="content5_gift">
<div class="but"></div>
</div>
</div>
<!-- 每日福利弹窗 -->
<div class="dayPub">
<div class="dayPub_in">
<div class="close"></div>
</div>
</div>
<!-- 规则弹窗 -->
<div class="rulePub">
<div class="rulePub_in">
<div class="close"></div>
</div>
</div>
<!-- 没记录弹窗 -->
<div class="not_records">
<div class="not_records_in">
<div class="close"></div>
</div>
</div>
<!-- 记录弹窗 -->
<div class="records">
<div class="records_in">
<img src="./images/close.png" alt="" class="close">
<div class="title">
<div>المكافآت</div>
<div>الوقت</div>
</div>
<ul>
<li>
<div>奖品15天</div>
<div>2024/00/00</div>
</li>
<li>
<div>奖品15天</div>
<div>2024/00/00</div>
</li>
</ul>
</div>
</div>
</body>
</html>
<script src="../../common/js/flexible.js"></script>
<script src="../../common/js/jquery-3.2.1.min.js"></script>
<script src="../../common/js/common2.js"></script>
<script src="../../common/js/layer.js"></script>
<script src="../../common/js/vconsole.min.js"></script>
<script src="../../common/js/route-constant.js"></script>
<script src="./js/index.js"></script>

View File

@@ -0,0 +1,261 @@
let urlPrefix = getUrlPrefix()
let browser = checkVersion()
let env = EnvCheck();
if (env == 'test') {
new VConsole();
}
// 封裝layer消息提醒框
let layerIndex
var langReplace;
var localLang;
const showLoading = (content = "جار التحميل...") => {
layer.open({
type: 2,
shadeClose: false,
content,
success(e) {
layerIndex = $(e).attr('index')
}
})
}
const hideLoading = (index) => {
layer.close(index)
}
const toastMsg = (content = "تم العملية بنجاح", time = 2) => {
layer.open({
content,
time,
skin: 'msg'
})
}
var countupTime;//倒计时容器
var isLock = true;
var page = 1;
// 初始化函數
$(function () {
getInfoFromClient();
setTimeout(function () {
// 頁面全屏
if (browser.app) {
if (browser.android) {
window.androidJsObj.initShowNav(false)
} else {
window.webkit.messageHandlers.initShowNav.postMessage(0)
}
};
// 頂部返回事件
$('.back img').click(() => {
if (browser.android) {
window.androidJsObj.closeWebView()
} else {
window.webkit.messageHandlers.closeWebView.postMessage(null)
}
})
getConfig();
}, 100)
})
// 配置接口
function getConfig() {
showLoading()
networkRequest({
type: 'get',
url: urlPrefix + '/act/rechargeBenefit/getConfig',
success(res) {
if (res.code === 200) {
// 每日活动
res.data.dailyTaskList.forEach((res, i) => {
$(`.box1 .text${i + 1} b`).text(res.process);
$(`.box1 .text${i + 1} span`).text(`/${res.condition}`);
$(`.box1 .but${i + 1}`).attr('key', res.key)
$(`.box1 .but${i + 1}`).attr('click', res.status)
$(`.box1 .but${i + 1}`).removeClass('act').removeClass('actOut');
if (res.status == 1) {
$(`.box1 .but${i + 1}`).addClass('act');
} else if (res.status == 2) {
$(`.box1 .but${i + 1}`).addClass('actOut');
}
})
// 处理月任务倒计时
countup(res.data.endTime - res.timestamp);
// 月任务
res.data.monthTaskList.forEach((res, i) => {
$(`.content .content${i + 1} .schedule b`).text(res.process);
$(`.content .content${i + 1} .schedule span`).text(`/${res.condition}`);
$(`.content .content${i + 1} .but`).attr('key', res.key)
$(`.content .content${i + 1} .but`).attr('click', res.status)
$(`.content .content${i + 1} .but`).removeClass('act').removeClass('actOut');
if (res.status == 1) {
$(`.content .content${i + 1} .but`).addClass('act');
} else if (res.status == 2) {
$(`.content .content${i + 1} .but`).addClass('actOut');
}
})
} else {
toastMsg(res.message)
}
hideLoading(layerIndex)
},
error(err) {
hideLoading(layerIndex)
toastMsg("خطأ في الشبكة")
}
})
}
// 倒計時
function countup(leftTime) {
clearTimeout(countupTime)
//獲取當前時間
// var now = nowTime;
var d = 0;
var h = 0;
var m = 0;
var s = 0;
//定義變數 d,h,m,s保存倒計時的時間
var d, h, m, s;
//遞歸每秒調⽤countTime⽅法顯⽰動態時間效果
if (leftTime > 0) {
d = getzf(Math.floor(leftTime / 1000 / 60 / 60 / 24));
h = getzf(Math.floor(leftTime / 1000 / 60 / 60 % 24));
m = getzf(Math.floor(leftTime / 1000 / 60 % 60));
s = getzf(Math.floor(leftTime / 1000 % 60));
//將倒計時賦值到div中
$('.content .time .sp1').text(d);
$('.content .time .sp2').text(h);
$('.content .time .sp3').text(m);
$('.content .time .sp4').text(s);
} else {
// getConfig();
}
if (leftTime > 0) {
leftTime = leftTime - 1000;
}
countupTime = setTimeout(function () {
countup(leftTime);
}, 1000);
}
// 领取接口
function draw(key) {
showLoading()
networkRequest({
type: 'post',
url: urlPrefix + '/act/rechargeBenefit/draw',
data: { key },
success(res) {
if (res.code === 200) {
getConfig();
toastMsg('تم الاستلام بنجاح')
} else {
toastMsg(res.message)
}
hideLoading(layerIndex)
},
error(err) {
hideLoading(layerIndex)
toastMsg("خطأ في الشبكة")
}
})
}
// 日任务领取按钮|月任务领取按钮
$('.box1 .but,.content .contentss .but').click(function () {
var status = $(this).attr('click');
var key = $(this).attr('key');
if (status == 1) {
draw(key);
}
})
// 记录接口
function pageRecord(page) {
showLoading()
networkRequest({
type: 'get',
url: urlPrefix + '/act/rechargeBenefit/pageRecord',
data: { page, pageSize: 10 },
success(res) {
if (res.code === 200) {
if (res.data.rows.length == 0 && page == 1) {
$('.not_records').show();
isLock = false;
} else {
var str = '';
res.data.rows.forEach(res => {
str += `
<li>
<div>${res.rewardDesc}</div>
<div>${dateFormat(res.dateTime, 'yyyy/MM/dd')}</div>
</li>`
})
$('.records .records_in ul').append(str);
$('.records').show();
isLock = true;
}
bodyScroolFun(true);
} else {
isLock = true;
toastMsg(res.message)
}
hideLoading(layerIndex)
},
error(err) {
isLock = true;
hideLoading(layerIndex)
toastMsg("خطأ في الشبكة")
}
})
}
// 打开领取记录按钮
$('.header .records_icon').click(function () {
$('.records .records_in ul li').remove();
isLock = true;
page = 1;
pageRecord(page);
})
$('.records .records_in ul').scroll(function () {
let scrollTop = $(this).scrollTop()
let scrollHeight = $('.records .records_in ul')[0].scrollHeight
let ulHeight = $(this).innerHeight()
if (scrollTop + ulHeight + 100 >= scrollHeight) {
if (isLock) {
// 請求下一頁
page++;
pageRecord(page)
isLock = false;
}
}
})
// 关闭每日福利弹窗
$('.dayPub .dayPub_in .close').click(function () {
$('.dayPub').hide();
bodyScroolFun(false);
})
// 关闭规则弹窗
$('.rulePub .rulePub_in .close').click(function () {
$('.rulePub').hide();
bodyScroolFun(false);
})
// 打开规则弹窗
$('.header .rule_icon').click(function () {
$('.rulePub').show();
bodyScroolFun(true);
})
// 关闭无记录弹窗
$('.not_records .not_records_in .close').click(function () {
$('.not_records').hide();
bodyScroolFun(false);
})
// 关闭记录弹窗
$('.records .records_in .close').click(function () {
$('.records').hide();
bodyScroolFun(false);
})
//補0操作
function getzf(num) {
if (parseInt(num) < 10) {
num = '0' + num;
}
return num;
}
$('.box1 .query_icon').click(function(){
$('.dayPub').show();
bodyScroolFun(true);
})

View File

@@ -260,10 +260,10 @@ function convert(_url) {
// 根据域名适配环境
function EnvCheck() {
if (window.location.href.match(/guildAr/)) {
pubInfo['Accept-Language'] = 'ar'
}
if (window.location.href) {
if(window.location.pathname.match(/payAr/)){
pubInfo['Accept-Language'] = "ar";
}
var _url = window.location.host;
var res = _url.match(/uat/);
var res1 = _url.match(/120.79.211.243/);
@@ -826,6 +826,9 @@ function fuzzyMatchUpdateQueryStringParameterFun() {
}
}
function langCodeFun(langCode) {
if (window.location.href.match(/guildAr/)) {
return
}
var body = document.body;
body.style.display = 'none';
setTimeout(function () {
@@ -834,6 +837,10 @@ function langCodeFun(langCode) {
if (langCode == "ar") {
document.documentElement.setAttribute("dir", "rtl");
document.body.classList.add('arabic');
if (window.location.href.match(/guildAr/)) {
document.documentElement.setAttribute("dir", "ltr");
}
}
}
// 获取整条url
@@ -999,6 +1006,16 @@ function fontConvert(fontConvertBool) {
function unitProcessing(val, num, toFixeds, text) { //值 以什么为单位 保留几位小数 单位后最w
return val >= num ? (Math.floor(val / 1000) / 10).toFixed(toFixeds) + text : val;
}
// 阿拉伯专用
function unitProcessingAr(val, toFixeds) { //值 保留几位小数
if (val < 1000) {
return val;
} else if (val >= 1000 && val < 1000000) {
return (Math.floor(val / 1000)).toFixed(toFixeds) + 'K'
} else if (val >= 1000000) {
return (Math.floor(val / 1000000)).toFixed(toFixeds) + 'M'
}
}
// 封装 在ios环境中 配置公共参数的回调函数
// 配合 methodsFromClient[infoName].ios 方法
// written by zxfxiong

View File

@@ -0,0 +1,301 @@
html,
body {
width: 100%;
background: #fff;
}
.back {
width: 100%;
height: 0.58667rem;
line-height: 0.58667rem;
position: fixed;
left: 0;
top: 0.93333rem;
text-align: center;
color: #FFFFFF;
font-size: 0.42667rem;
font-weight: bold;
z-index: 10;
}
.back img {
width: 0.58667rem;
height: 0.58667rem;
position: absolute;
left: 0.24rem;
top: 0rem;
}
.header {
width: 10rem;
height: 10.90667rem;
position: relative;
margin: 0 auto 0;
background: url(../images/header.png) no-repeat;
background-size: 100% 100%;
}
.header .tab {
position: absolute;
top: 1.90667rem;
left: 50%;
transform: translateX(-50%);
display: flex;
justify-content: space-between;
background: rgba(255, 255, 255, 0.2);
height: 0.74667rem;
line-height: 0.74667rem;
border-radius: 0.74667rem;
font-size: 0.37333rem;
font-weight: 500;
overflow: hidden;
}
.header .tab div {
padding: 0rem 0.58667rem;
color: #fff;
text-align: center;
border-radius: 0.74667rem;
}
.header .tab .act {
background: #fff;
color: #83C2D2;
}
.header .no1 {
width: 7.14667rem;
height: 3.89333rem;
position: absolute;
top: 2.73333rem;
left: 50%;
transform: translateX(-50%);
}
.header .no1 .ts {
width: 100%;
height: 100%;
left: 0;
top: 0;
z-index: 2;
position: absolute;
}
.header .no1 .tx {
width: 1.84rem;
height: 1.84rem;
border-radius: 50%;
position: absolute;
top: 1.22667rem;
left: 50%;
transform: translateX(-50%);
}
.header .no1 .nick {
width: 53%;
text-align: center;
color: #B1784D;
font-size: 0.4rem;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 3.66667rem;
font-weight: 500;
padding-top: 0.1rem;
}
.header .no2 {
width: 3.54667rem;
height: 2.98667rem;
position: absolute;
top: 6.14667rem;
left: 0.09333rem;
}
.header .no2 .ts {
width: 100%;
height: 100%;
left: 0;
top: 0;
z-index: 2;
position: absolute;
}
.header .no2 .tx {
width: 1.84rem;
height: 1.84rem;
border-radius: 50%;
position: absolute;
top: 0.70667rem;
left: 50%;
transform: translateX(-50%);
}
.header .no2 .nick {
width: 100%;
text-align: center;
color: #B1784D;
font-size: 0.4rem;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 3.06667rem;
font-weight: 500;
padding-top: 0.1rem;
}
.header .no3 {
width: 3.54667rem;
height: 2.98667rem;
position: absolute;
top: 6.14667rem;
right: 0.09333rem;
}
.header .no3 .ts {
width: 100%;
height: 100%;
left: 0;
top: 0;
z-index: 2;
position: absolute;
}
.header .no3 .tx {
width: 1.84rem;
height: 1.84rem;
border-radius: 50%;
position: absolute;
top: 0.70667rem;
left: 50%;
transform: translateX(-50%);
}
.header .no3 .nick {
width: 100%;
text-align: center;
color: #B1784D;
font-size: 0.4rem;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 3.06667rem;
font-weight: 500;
padding-top: 0.1rem;
}
ul {
width: 10rem;
max-height: 11.3rem;
min-height: 6.66667rem;
background: linear-gradient(0deg, #FFFFFF 85%, #D2FEFF 100%);
position: relative;
margin: -0.66667rem auto 0;
box-sizing: border-box;
padding: 0.4rem 0;
border-radius: 0.77333rem 0.77333rem 0px 0px;
overflow-y: scroll;
}
ul::-webkit-scrollbar {
display: none;
}
ul .top {
width: 100%;
height: 2.13333rem;
position: absolute;
left: 0;
top: 0;
background: linear-gradient(0deg, #FFFFFF 0%, #D2FEFF 100%);
}
ul li {
width: 100%;
height: 1.12rem;
margin-bottom: 0.8rem;
overflow: hidden;
box-sizing: border-box;
padding: 0 0.88rem 0 0.61333rem;
}
ul li .num {
text-align: center;
color: #000000;
font-size: 0.37333rem;
margin-right: 0.32rem;
float: left;
font-weight: bold;
width: 0.8rem;
height: 100%;
line-height: 1.12rem;
}
ul li .tx {
width: 1.12rem;
height: 1.12rem;
border-radius: 50%;
float: left;
margin-right: 0.44rem;
}
ul li .nick {
width: 3rem;
height: 100%;
line-height: 1.12rem;
color: #000;
font-size: 0.37333rem;
font-weight: bold;
float: left;
}
ul li .score {
float: right;
line-height: 1.12rem;
height: 100%;
}
ul li .score img {
display: inline-block;
width: 0.37333rem;
height: 0.37333rem;
margin-top: 0.36rem;
}
ul li .score b {
color: #000;
font-weight: bold;
}
ul li:nth-child(1) .num {
width: 0.8rem;
height: 0.74667rem;
background: url(../images/num1.png) no-repeat;
background-size: 100% 100%;
margin-top: 0.17333rem;
}
ul li:nth-child(2) .num {
width: 0.8rem;
height: 0.74667rem;
background: url(../images/num2.png) no-repeat;
background-size: 100% 100%;
margin-top: 0.17333rem;
}
ul li:nth-child(3) .num {
width: 0.8rem;
height: 0.74667rem;
background: url(../images/num3.png) no-repeat;
background-size: 100% 100%;
margin-top: 0.17333rem;
}

View File

@@ -0,0 +1,317 @@
@function px2rem($px) {
@return $px / 75+rem;
}
html,
body {
width: 100%;
background: #fff;
}
.back {
width: 100%;
height: px2rem(44);
line-height: px2rem(44);
position: fixed;
left: 0;
top: px2rem(70);
text-align: center;
color: #FFFFFF;
font-size: px2rem(32);
font-weight: bold;
z-index: 10;
img {
width: px2rem(44);
height: px2rem(44);
position: absolute;
left: px2rem(18);
top: px2rem(0);
}
}
.header {
width: px2rem(750);
height: px2rem(818);
position: relative;
margin: 0 auto 0;
background: url(../images/header.png) no-repeat;
background-size: 100% 100%;
.tab {
position: absolute;
top: px2rem(143);
left: 50%;
transform: translateX(-50%);
display: flex;
justify-content: space-between;
background: rgba(255, 255, 255, .2);
height: px2rem(56);
line-height: px2rem(56);
border-radius: px2rem(56);
font-size: px2rem(28);
font-weight: 500;
overflow: hidden;
div {
padding: px2rem(0) px2rem(44);
color: #fff;
text-align: center;
border-radius: px2rem(56);
}
.act {
background: #fff;
color: #83C2D2;
}
}
.no1 {
width: px2rem(536);
height: px2rem(292);
position: absolute;
top: px2rem(205);
left: 50%;
transform: translateX(-50%);
.ts {
width: 100%;
height: 100%;
left: 0;
top: 0;
z-index: 2;
position: absolute;
}
.tx {
width: px2rem(138);
height: px2rem(138);
border-radius: 50%;
position: absolute;
top: px2rem(92);
left: 50%;
transform: translateX(-50%);
}
.nick {
width: 53%;
text-align: center;
color: #B1784D;
font-size: px2rem(30);
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: px2rem(275);
font-weight: 500;
padding-top: 0.1rem;
}
}
.no2 {
width: px2rem(266);
height: px2rem(224);
position: absolute;
top: px2rem(461);
left: px2rem(7);
.ts {
width: 100%;
height: 100%;
left: 0;
top: 0;
z-index: 2;
position: absolute;
}
.tx {
width: px2rem(138);
height: px2rem(138);
border-radius: 50%;
position: absolute;
top: px2rem(53);
left: 50%;
transform: translateX(-50%);
}
.nick {
width: 100%;
text-align: center;
color: #B1784D;
font-size: px2rem(30);
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: px2rem(230);
font-weight: 500;
padding-top: 0.1rem;
}
}
.no3 {
width: px2rem(266);
height: px2rem(224);
position: absolute;
top: px2rem(461);
right: px2rem(7);
.ts {
width: 100%;
height: 100%;
left: 0;
top: 0;
z-index: 2;
position: absolute;
}
.tx {
width: px2rem(138);
height: px2rem(138);
border-radius: 50%;
position: absolute;
top: px2rem(53);
left: 50%;
transform: translateX(-50%);
}
.nick {
width: 100%;
text-align: center;
color: #B1784D;
font-size: px2rem(30);
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: px2rem(230);
font-weight: 500;
padding-top: 0.1rem;
}
}
}
ul {
width: px2rem(750);
max-height: 11.3rem;
min-height: px2rem(500);
background: linear-gradient(0deg, #FFFFFF 85%, #D2FEFF 100%);
position: relative;
margin: px2rem(-50) auto 0;
box-sizing: border-box;
padding: px2rem(30) 0;
border-radius: px2rem(58) px2rem(58) 0px 0px;
overflow-y: scroll;
&::-webkit-scrollbar {
display: none;
}
.top {
width: 100%;
height: px2rem(160);
position: absolute;
left: 0;
top: 0;
background: linear-gradient(0deg, #FFFFFF 0%, #D2FEFF 100%);
}
li {
width: 100%;
height: px2rem(84);
margin-bottom: px2rem(60);
overflow: hidden;
box-sizing: border-box;
padding: 0 px2rem(66) 0 px2rem(46);
.num {
text-align: center;
color: #000000;
font-size: px2rem(28);
margin-right: px2rem(24);
float: left;
font-weight: bold;
width: px2rem(60);
height: 100%;
line-height: px2rem(84);
}
.tx {
width: px2rem(84);
height: px2rem(84);
border-radius: 50%;
float: left;
margin-right: px2rem(33);
}
.nick {
width: 3rem;
height: 100%;
line-height: px2rem(84);
color: #000;
font-size: px2rem(28);
font-weight: bold;
float: left;
}
.score {
float: right;
line-height: px2rem(84);
height: 100%;
img {
display: inline-block;
width: px2rem(28);
height: px2rem(28);
// vertical-align: middle;
margin-top: 0.36rem;
}
b {
color: #000;
font-weight: bold;
// margin-top: 0.1rem;
// vertical-align: middle;
}
}
&:nth-child(1) {
.num {
width: px2rem(60);
height: px2rem(56);
background: url(../images/num1.png) no-repeat;
background-size: 100% 100%;
margin-top: px2rem(13);
}
}
&:nth-child(2) {
.num {
width: px2rem(60);
height: px2rem(56);
background: url(../images/num2.png) no-repeat;
background-size: 100% 100%;
margin-top: px2rem(13);
}
}
&:nth-child(3) {
.num {
width: px2rem(60);
height: px2rem(56);
background: url(../images/num3.png) no-repeat;
background-size: 100% 100%;
margin-top: px2rem(13);
}
}
}
}

View File

@@ -0,0 +1,27 @@
html,
body {
width: 100%;
background: #E7FEFF;
}
ul {
width: 10rem;
margin: 0 auto 0;
box-sizing: border-box;
padding: 0.4rem 0.4rem;
}
ul h3 {
font-weight: bold;
font-size: 0.4rem;
color: #47AEB3;
margin-bottom: 0.26667rem;
margin-top: 0.4rem;
}
ul p {
color: #6E8485;
font-size: 0.32rem;
margin-bottom: 0.13333rem;
line-height: 0.4rem;
}

View File

@@ -0,0 +1,31 @@
@function px2rem($px) {
@return $px / 75+rem;
}
html,
body {
width: 100%;
background: #E7FEFF;
}
ul {
width: px2rem(750);
margin: 0 auto 0;
box-sizing: border-box;
padding: px2rem(30) px2rem(30);
h3 {
font-weight: bold;
font-size: px2rem(30);
color: #47AEB3;
margin-bottom: px2rem(20);
margin-top: px2rem(30);
}
p {
color: #6E8485;
font-size: px2rem(24);
margin-bottom: px2rem(10);
line-height: 0.4rem;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 542 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@@ -0,0 +1,67 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title class="titles"></title>
<link rel="stylesheet" href="../../common/css/reset.css">
<link rel="stylesheet" href="./css/index.css">
</head>
<body>
<!-- 頂部返回 -->
<div class="back">
<img src="./images/travel/back.png" alt="">
<b class="titles"></b>
</div>
<!-- 头部 -->
<div class="header">
<!-- 日榜&周榜 -->
<div class="tab">
<div class="text1 act"></div>
<div class="text2"></div>
</div>
<!-- 前三 -->
<div class="no no1">
<img src="./images/no1.png" alt="" class="ts">
<img src="./images/logo.png" alt="" class="tx">
<div class="nick text3"></div>
</div>
<div class="no no2">
<img src="./images/no2.png" alt="" class="ts">
<img src="./images/logo.png" alt="" class="tx">
<div class="nick text3"></div>
</div>
<div class="no no3">
<img src="./images/no3.png" alt="" class="ts">
<img src="./images/logo.png" alt="" class="tx">
<div class="nick text3"></div>
</div>
</div>
<!-- 非前三 -->
<ul>
<!-- <li class="other">
<div class="num"></div>
<img src="./images/logo.png" alt="" class="tx">
<div class="nick">虚位以待</div>
<div class="score">
<img src="./images/gold.png" alt="">
<b>0</b>
</div>
</li> -->
</ul>
</body>
</html>
<script src="../../common/js/flexible.js"></script>
<script src="../../common/js/jquery-3.2.1.min.js"></script>
<script src="../../common/js/common2.js"></script>
<script src="../../common/js/layer.js"></script>
<script src="../../common/js/vconsole.min.js"></script>
<script src="../../common/js/route-constant.js"></script>
<script src="./local/ar.js"></script>
<script src="./local/en.js"></script>
<script src="./local/zh.js"></script>
<script src="./js/index.js"></script>
<script src="../../common/local/langHandler.js"></script>

View File

@@ -0,0 +1,178 @@
let urlPrefix = getUrlPrefix()
let browser = checkVersion()
let env = EnvCheck();
if (env == 'test') {
new VConsole();
}
// 封裝layer消息提醒框
var langReplace;
var localLang;
let layerIndex;
const showLoading = (content = langReplace(localLang.demoModule.text5)) => {
layer.open({
type: 2,
shadeClose: false,
content,
success(e) {
layerIndex = $(e).attr('index')
}
})
}
const hideLoading = (index) => {
layer.close(index)
}
const toastMsg = (content = langReplace(localLang.demoModule.text6), time = 2) => {
layer.open({
content,
time,
skin: 'msg'
})
}
var num = 1;
var datetype = 1;
var isLock = true;
// 初始化函數
$(function () {
getInfoFromClient();
fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
setTimeout(function () {
// 頁面全屏
if (browser.app) {
if (browser.android) {
window.androidJsObj.initShowNav(false)
} else {
window.webkit.messageHandlers.initShowNav.postMessage(0)
}
};
// 頂部返回事件
$('.back img').click(() => {
if (browser.android) {
window.androidJsObj.closeWebView()
} else {
window.webkit.messageHandlers.closeWebView.postMessage(null)
}
})
fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
langReplace = window.lang.replace;
localLang = window.lang;
translateFun();
get()
}, 100)
})
function translateFun() {
var langReplace = window.lang.replace;
var localLang = window.lang;
$('.titles').text(langReplace(localLang.demoModule.titles));
$('.text1').text(langReplace(localLang.demoModule.text1));
$('.text2').text(langReplace(localLang.demoModule.text2));
$('.text3').text(langReplace(localLang.demoModule.text3));
}
// 配置接口
function get(pageNum) {
showLoading()
networkRequest({
type: 'get',
url: urlPrefix + '/allrank/geth5',
data: {
type: 4,
datetype,
uid: pubInfo.uid,
pageNum,
pageSize: 30,
},
success(res) {
if (res.code === 200) {
var str = '';
if (res.data.rankVoList.length == 0) {
isLock = false;
}
var listTo3 = res.data.rankVoList.slice(0, 3);
var notListTo3 = res.data.rankVoList;
if (listTo3.length < 3) {
let arr = new Array(3 - listTo3.length).fill({
avatar: './images/logo.png',
nick: langReplace(localLang.demoModule.text3),
uid: null,
})
listTo3.push(...arr)
}
listTo3.forEach((res, i) => {
$(`.header .no${i + 1} .ts`).attr("uid", res.uid);
$(`.header .no${i + 1} .tx`).attr("src", res.avatar);
$(`.header .no${i + 1} .nick`).text(res.nick);
})
notListTo3.forEach((res, i) => {
str += `
<li class="other">
<div class="num">${i > 2 ? i + 1 : ''}</div>
<img src="${res.avatar}" uid=${res.uid} alt="" class="tx">
<div class="nick">${res.nick}</div>
<div class="score">
<img src="./images/gold.png" alt="">
<b>${unitProcessingAr(res.totalNum, 1)}</b>
</div>
</li>
`
})
$('ul').append(str);
} else {
isLock = true;
toastMsg(res.message)
}
hideLoading(layerIndex)
},
error(err) {
isLock = true;
hideLoading(layerIndex)
toastMsg(langReplace(localLang.demoModule.text4))
}
})
}
// 切換日榜周榜
$('.header .tab div').click(function () {
$(this).addClass('act').siblings().removeClass('act');
var i = $(this).index() + 1;
datetype = i;
pageNum = 1;
get(pageNum);
$('ul li').remove();
})
// 監聽滑動分頁
$('ul').scroll(function () {
return;
let scrollTop = $(this).scrollTop()
let scrollHeight = $('ul')[0].scrollHeight
let ulHeight = $(this).innerHeight()
if (scrollTop + ulHeight + 100 >= scrollHeight) {
if (isLock) {
// 請求下一頁
page = page + 1;
get(pageNum);
isLock = false;
}
}
})
// 点击非前三跳转主页
$('ul').on('click', 'li .tx', function () {
var uid = $(this).attr("uid");
if (browser.ios) {
window.webkit.messageHandlers.openPersonPage.postMessage(uid);
setTimeout(function () { lock = true; }, 200)
} else if (browser.android) {
if (androidJsObj && typeof androidJsObj === 'object') {
window.androidJsObj.openPersonPage(uid);
}
}
})
// 点击前三跳转主页
$('.header .no .ts').click(function () {
var uid = $(this).attr("uid");
if (browser.ios) {
window.webkit.messageHandlers.openPersonPage.postMessage(uid);
setTimeout(function () { lock = true; }, 200)
} else if (browser.android) {
if (androidJsObj && typeof androidJsObj === 'object') {
window.androidJsObj.openPersonPage(uid);
}
}
})

View File

@@ -0,0 +1,52 @@
let urlPrefix = getUrlPrefix()
let browser = checkVersion()
let ruleMode = getQueryString().ruleMode;
let env = EnvCheck();
if (env == 'test') {
new VConsole();
}
// 封裝layer消息提醒框
var langReplace;
var localLang;
let layerIndex;
const showLoading = (content = langReplace(localLang.demoModule.text5)) => {
layer.open({
type: 2,
shadeClose: false,
content,
success(e) {
layerIndex = $(e).attr('index')
}
})
}
const hideLoading = (index) => {
layer.close(index)
}
const toastMsg = (content = langReplace(localLang.demoModule.text6), time = 2) => {
layer.open({
content,
time,
skin: 'msg'
})
}
// 初始化函數
$(function () {
getInfoFromClient();
fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
setTimeout(function () {
fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
langReplace = window.lang.replace;
localLang = window.lang;
translateFun();
}, 100)
})
function translateFun() {
var langReplace = window.lang.replace;
var localLang = window.lang;
$('.titleRule').html(langReplace(localLang.demoModule.titleRule));
if (ruleMode == 1) {
$('ul').html(langReplace(localLang.demoModule.ruleText1));
} else if (ruleMode == 2) {
$('ul').html(langReplace(localLang.demoModule.ruleText2));
}
}

View File

@@ -0,0 +1,43 @@
// 阿拉伯
langAr = {
// 模块
demoModule: {
titles: `LUDO قائمة`,
text1: `اليومية`,
text2: `الأسبوعية`,
text3: `شاغر`,
text4: `خطأ في الشبكة`,
text5: `جار التحميل...`,
text6: `تم العملية`, titleRule: `قواعد اللعبة`,
ruleText1: `
<li>
<h3>الإقلاع من القاعدة</h3>
<p>رمي النرد للبدء باللعبة، والحصول على رمي إضافي؛ إذا حصلت على 6 ثلاث مرات متتالية، ينتهي الجولة.</p>
</li>
<li>
<h3>الفوز باللعبة</h3>
<p>يتطلب الوضع الكلاسيكي وصول 4 قطع إلى النهاية للفوز.</p>
</li>
<li>
<h3>العناصر المساعدة في اللعبة</h3>
<p>1. اللاعبون الذين يحصلون على "النرد الذهبي" يجب أن يرموا 6.</p>
<p>2. اللاعبون الذين يحصلون على "المغناطيس" يمكنهم التقدم 8 خطوات حتى يعوقهم الآخرون.</p>
<p>3. اللاعبون الذين يحصلون على "القنبلة" يمكنهم تفجير 8 خطوات، مما يؤدي إلى إزالة الخصم إلى القاعدة.</p>
</li>
`,
ruleText2: `
<li>
<h3>فتح المسار النهائي</h3>
<p>1. يمكنك دخول المسار النهائي فقط بعد قتل قطعة واحدة من أي لاعب آخر.</p>
<p>2. يتطلب الوضع السريع فقط وصول قطعة واحدة إلى النهاية للفوز.</p>
</li>
<li>
<h3>مكان آمن</h3>
<p>ستحمى قطعك من القتل عندما تكون على المربع البداية والمربع النجمي.</p>
</li>
<li>
<h3>سرعة اللعبة أسرع</h3>
<p>عند بدء اللعبة، هناك قطعة في نقطة البداية.</p>
</li>`
}
}

View File

@@ -0,0 +1,44 @@
// 英文
langEn = {
// 模块
demoModule: {
titles: `LUDO Leaderboard`,
text1: `Daily Leaderboard`,
text2: `Weekly Leaderboard`,
text3: `Vacancy`,
text4: `Network Error`,
text5: `Loading...`,
text6: `Operation Completed`,
titleRule: `Game Rules`,
ruleText1: `
<li>
<h3>Take off from the base</h3>
<p>Throw 6 to start, and get 1 extra throw; if you throw 6 three times in a row, the round ends.</p>
</li>
<li>
<h3>Win the game</h3>
<p>Classic mode requires 4 pieces to reach the end to win.</p>
</li>
<li>
<h3>Game props</h3>
<p>1. Players who earn 'gold dice' must throw 6.</p>
<p>2. Players who earn the 'magnet' can advance 8 steps until blocked by others.</p>
<p>3. Players who earn the 'bomb' can bomb 8 steps, eliminating the opponent back to the base.</p>
</li>
`,
ruleText2: `
<li>
<h3>Unlock finish track</h3>
<p>1. You can enter the finish track only after killing 1 piece of any other player.</p>
<p>2. Quick Mode only requires one piece to reach the end to win.</p>
</li>
<li>
<h3>Safe place</h3>
<p>Your pieces will be protected from being killed on the starting square and the star square.</p>
</li>
<li>
<h3>Faster game pace</h3>
<p>When the game starts, there is a piece at the starting point.</p>
</li>`
}
}

View File

@@ -0,0 +1,45 @@
// 中文
langZh = {
// 模塊
demoModule: {
titles: `LUDO排行榜`,
text1: `日榜`,
text2: `周榜`,
text3: `虛位以待`,
text4: `網絡錯誤`,
text5: `加載中...`,
text6: `操作完成`,
titleRule: `遊戲規則`,
ruleText1: `
<li>
<h3>從基地出發</h3>
<p>投擲6開始出發併獎勵1次額外的投擲如果連續3次投擲6則本輪結束</p>
</li>
<li>
<h3>贏得比賽</h3>
<p>經典模式需要4枚棋子達到終點才能獲勝</p>
</li>
<li>
<h3>遊戲道具</h3>
<p>1.贏得“金色骰子”的玩家必須投擲6。</p>
<p>2.贏得“磁鐵”的玩家可以嚮前進8步直到被其他玩家阻擋。</p>
<p>3.贏得“炸彈”的玩家可以炸掉8步將對手消滅併送回基地。</p>
</li>
`,
ruleText2: `
<li>
<h3>解鎖終點通道</h3>
<p>1.只有在消滅其他任何一位玩家的一枚棋子後,您才能進入終點通道。</p>
<p>2.快速模式只需要一枚棋子達到終點即可獲勝。</p>
</li>
<li>
<h3>安全區域</h3>
<p>在起點和星星方格上,您的棋子將受到保護,不會被消滅。</p>
</li>
<li>
<h3>遊戲節奏更快</h3>
<p>遊戲開始時,起點上有一枚棋子。</p>
</li>
`,
}
}

View File

@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title class="titleRule"></title>
<!-- 游戏规则 -->
<link rel="stylesheet" href="../../common/css/reset.css">
<link rel="stylesheet" href="./css/rule.css">
</head>
<body>
<ul>
</ul>
</body>
</html>
<script src="../../common/js/flexible.js"></script>
<script src="../../common/js/jquery-3.2.1.min.js"></script>
<script src="../../common/js/common2.js"></script>
<script src="../../common/js/layer.js"></script>
<script src="../../common/js/vconsole.min.js"></script>
<script src="../../common/js/route-constant.js"></script>
<script src="./local/ar.js"></script>
<script src="./local/en.js"></script>
<script src="./local/zh.js"></script>
<script src="./js/rule.js"></script>
<script src="../../common/local/langHandler.js"></script>

View File

@@ -4,10 +4,10 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>إعدادات المشرف</title>
<title class="text1"></title>
<!-- 添加管理员页面 -->
<link rel="stylesheet" href="../../common/css/reset.css">
<link rel="stylesheet" href="./css/adminSet.css">
<link rel="stylesheet" href="./css/adminSet.css?v=1.0">
</head>
<body>
@@ -15,8 +15,8 @@
<div class="back">
<img src="./images/travel/backB.png" alt="" class="backs">
<img src="./images/fdj.png" alt="" class="fdj">
<input type="text" placeholder="MoliStarID بحث عن ">
<div class="text">بحث</div>
<input class="text16" type="text" placeholder="">
<div class="text text2"></div>
</div>
<!-- 内容 -->
<ul>
@@ -33,16 +33,16 @@
</li> -->
<li class="null">
<img src="./images/null.png" alt="">
<span>لا يوجد بيانات حتي الاّن</span>
<span class="text3"></span>
</li>
</ul>
<!-- 设置管理员弹窗 -->
<div class="pub">
<div class="pub_in">
<p>هل أنت متأكد أنك تريد تعين هذا الشخص مشرف للوكالة؟</p>
<p class="text4"></p>
<div class="butBox">
<div class="close">حذف</div>
<div class="ok">تأكيد</div>
<div class="close"></div>
<div class="ok"></div>
</div>
</div>
</div>
@@ -55,4 +55,8 @@
<script src="../../common/js/layer.js"></script>
<script src="../../common/js/vconsole.min.js"></script>
<script src="../../common/js/route-constant.js"></script>
<script src="./js/adminSet.js"></script>
<script src="./local/en.js"></script>
<script src="./local/zh.js"></script>
<script src="./local/ar.js"></script>
<script src="./js/adminSet.js"></script>
<script src="../../common/local/langHandler.js"></script>

View File

@@ -4,18 +4,18 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>إعدادات المشرف</title>
<title class="text1"></title>
<!-- 移除管理员页面 -->
<link rel="stylesheet" href="../../common/css/reset.css">
<link rel="stylesheet" href="./css/adminSet2.css">
<link rel="stylesheet" href="./css/adminSet2.css?v=1.0">
</head>
<body>
<!-- 顶部 -->
<div class="back">
<img src="./images/travel/backB.png" alt="" class="backs">
<div class="title">إعدادات المشرف</div>
<div class="text">إضافة مشرف</div>
<div class="title text2"> </div>
<div class="text text3"></div>
</div>
<!-- 内容 -->
<ul>
@@ -32,17 +32,17 @@
</li> -->
<li class="null">
<img src="./images/null.png" alt="">
<span>لا يوجد بيانات حتي الاّن</span>
<span class="text4"></span>
</li>
</ul>
<!-- 设置管理员弹窗 -->
<div class="pub">
<div class="pub_in">
<!-- 移除管理员 -->
<p>هل أنت متأكد أنك تريد إزالة هذا الشخص مشرف للوكالة؟</p>
<p class="text5"></p>
<div class="butBox">
<div class="close">حذف</div>
<div class="ok">تأكيد</div>
<div class="close text6"></div>
<div class="ok text7"></div>
</div>
</div>
</div>
@@ -55,4 +55,8 @@
<script src="../../common/js/layer.js"></script>
<script src="../../common/js/vconsole.min.js"></script>
<script src="../../common/js/route-constant.js"></script>
<script src="./js/adminSet2.js"></script>
<script src="./local/en.js"></script>
<script src="./local/zh.js"></script>
<script src="./local/ar.js"></script>
<script src="./js/adminSet2.js"></script>
<script src="../../common/local/langHandler.js"></script>

View File

@@ -7,7 +7,7 @@ body {
.back {
width: 100%;
height: 2rem;
height: 2.8rem;
position: fixed;
left: 0;
top: 0rem;
@@ -24,14 +24,14 @@ body {
height: 0.58667rem;
position: absolute;
left: 0.24rem;
top: 1rem;
top: 54%;
}
.back .fdj {
width: 0.42667rem;
height: 0.42667rem;
position: absolute;
top: 1.10667rem;
top: 58%;
left: 1.41333rem;
z-index: 2;
}
@@ -64,7 +64,7 @@ body {
right: 0.62667rem;
height: 100%;
top: 0;
line-height: 2.53333rem;
line-height: 3.73333rem;
color: #333333;
font-size: 0.45333rem;
font-weight: bold;
@@ -72,8 +72,8 @@ body {
ul {
width: 10rem;
height: 15.33333rem;
margin: 2rem auto 0;
height: 18rem;
margin: 2.53333rem auto 0;
overflow-y: scroll;
padding-top: 0.34667rem;
box-sizing: border-box;

View File

@@ -11,7 +11,7 @@ body {
.back {
width: 100%;
height: px2rem(150);
height: px2rem(210);
position: fixed;
left: 0;
top: px2rem(0);
@@ -27,14 +27,14 @@ body {
height: px2rem(44);
position: absolute;
left: px2rem(18);
top: px2rem(75);
top: 54%;
}
.fdj {
width: px2rem(32);
height: px2rem(32);
position: absolute;
top: px2rem(83);
top:58%;
left: px2rem(106);
z-index: 2;
}
@@ -67,7 +67,7 @@ body {
right: px2rem(47);
height: 100%;
top: 0;
line-height: px2rem(190);
line-height: px2rem(280);
color: #333333;
font-size: px2rem(34);
font-weight: bold;
@@ -76,8 +76,8 @@ body {
ul {
width: px2rem(750);
height: px2rem(1150);
margin: px2rem(150) auto 0;
height: px2rem(1350);
margin: px2rem(190) auto 0;
overflow-y: scroll;
padding-top: px2rem(26);
box-sizing: border-box;

View File

@@ -7,7 +7,7 @@ body {
.back {
width: 100%;
height: 2rem;
height: 2.8rem;
position: fixed;
left: 0;
top: 0rem;
@@ -24,7 +24,7 @@ body {
height: 0.58667rem;
position: absolute;
left: 0.24rem;
top: 1rem;
top: 54%;
}
.back .title {
@@ -33,7 +33,7 @@ body {
transform: translateX(-50%);
height: 100%;
top: 0;
line-height: 2.53333rem;
line-height: 3.6rem;
color: #333333;
font-size: 0.45333rem;
font-weight: bold;
@@ -44,15 +44,15 @@ body {
right: 0.62667rem;
height: 100%;
top: 0;
line-height: 2.53333rem;
line-height: 3.6rem;
color: #333333;
font-size: 0.4rem;
}
ul {
width: 10rem;
height: 15.33333rem;
margin: 2rem auto 0;
height: 18rem;
margin: 2.93333rem auto 0;
overflow-y: scroll;
padding-top: 0.34667rem;
box-sizing: border-box;

View File

@@ -11,7 +11,7 @@ body {
.back {
width: 100%;
height: px2rem(150);
height: px2rem(210);
position: fixed;
left: 0;
top: px2rem(0);
@@ -27,7 +27,7 @@ body {
height: px2rem(44);
position: absolute;
left: px2rem(18);
top: px2rem(75);
top: 54%;
}
.title {
@@ -36,7 +36,7 @@ body {
transform: translateX(-50%);
height: 100%;
top: 0;
line-height: px2rem(190);
line-height: px2rem(270);
color: #333333;
font-size: px2rem(34);
font-weight: bold;
@@ -47,7 +47,7 @@ body {
right: px2rem(47);
height: 100%;
top: 0;
line-height: px2rem(190);
line-height: px2rem(270);
color: #333333;
font-size: px2rem(30);
}
@@ -55,8 +55,8 @@ body {
ul {
width: px2rem(750);
height: px2rem(1150);
margin: px2rem(150) auto 0;
height: px2rem(1350);
margin: px2rem(220) auto 0;
overflow-y: scroll;
padding-top: px2rem(26);
box-sizing: border-box;

View File

@@ -8,7 +8,7 @@ body {
.back {
width: 100%;
height: 2.38667rem;
line-height: 2.53333rem;
line-height: 3.2rem;
position: fixed;
left: 0;
top: 0rem;
@@ -26,7 +26,7 @@ body {
height: 0.58667rem;
position: absolute;
left: 0.24rem;
top: 1rem;
top: 58%;
}
.top {
@@ -58,7 +58,7 @@ body {
ul {
width: 9.25333rem;
height: 12.81333rem;
height: 16.81333rem;
overflow-y: scroll;
margin: 0 auto;
border-radius: 0 0 0.26667rem 0.26667rem;

View File

@@ -7,12 +7,13 @@ body {
width: 100%;
height: px2rem(1334);
background: #F5F7F9;
}
.back {
width: 100%;
height: px2rem(179);
line-height: px2rem(190);
line-height: px2rem(240);
position: fixed;
left: 0;
top: px2rem(0);
@@ -29,7 +30,7 @@ body {
height: px2rem(44);
position: absolute;
left: px2rem(18);
top: px2rem(75);
top: 58%;
}
}
@@ -62,7 +63,7 @@ body {
ul {
width: px2rem(694);
height: px2rem(961);
height: px2rem(1261);
overflow-y: scroll;
margin: 0 auto;
border-radius: 0 0 px2rem(20) px2rem(20);
@@ -195,6 +196,7 @@ ul {
}
}
.pub {
position: fixed;
left: 0;
@@ -203,7 +205,7 @@ ul {
right: 0;
background: rgba(0, 0, 0, .6);
z-index: 11;
display: none;
display: none;
.pub_in {
background: #fff;

View File

@@ -9,8 +9,8 @@ body {
.back {
width: 100%;
height: 2rem;
line-height: 2.53333rem;
height: 2.66667rem;
line-height: 3.46667rem;
position: fixed;
left: 0;
top: 0rem;
@@ -27,11 +27,11 @@ body {
height: 0.58667rem;
position: absolute;
left: 0.24rem;
top: 1.10667rem;
top: 54%;
}
.nick {
margin-top: 2.4rem;
margin-top: 2.93333rem;
color: #333333;
font-size: 0.42667rem;
font-weight: 800;

View File

@@ -13,8 +13,8 @@ body {
.back {
width: 100%;
height: px2rem(150);
line-height: px2rem(190);
height: px2rem(200);
line-height: px2rem(260);
position: fixed;
left: 0;
top: px2rem(0);
@@ -30,12 +30,12 @@ body {
height: px2rem(44);
position: absolute;
left: px2rem(18);
top: px2rem(83);
top: 54%;
}
}
.nick {
margin-top: px2rem(180);
margin-top: px2rem(220);
color: #333333;
font-size: px2rem(32);
font-weight: 800;

View File

@@ -27,6 +27,14 @@ body {
top: 0rem;
}
.back b {
width: 75%;
display: inline-block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.header {
width: 10rem;
height: 8.98667rem;
@@ -252,7 +260,7 @@ body {
.guildList ul {
width: 100%;
height: 8.4rem;
height: 11.8rem;
margin: 0.52rem auto 0;
overflow-y: scroll;
}

View File

@@ -29,6 +29,15 @@ body {
left: px2rem(18);
top: px2rem(0);
}
b {
width: 75%;
display: inline-block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
}
.header {
@@ -256,7 +265,7 @@ body {
ul {
width: 100%;
height: 8.4rem;
height: 11.8rem;
margin: px2rem(39) auto 0;
overflow-y: scroll;

View File

@@ -7,7 +7,7 @@ body {
.back {
width: 100%;
height: 2rem;
height: 2.53333rem;
position: fixed;
left: 0;
top: 0rem;
@@ -24,14 +24,14 @@ body {
height: 0.58667rem;
position: absolute;
left: 0.24rem;
top: 1rem;
top: 59%;
}
.back .fdj {
width: 0.42667rem;
height: 0.42667rem;
position: absolute;
top: 1.10667rem;
top: 66%;
left: 1.41333rem;
z-index: 2;
}
@@ -48,7 +48,7 @@ body {
padding-left: 0.72rem;
position: absolute;
left: 1.22667rem;
top: 65%;
top: 75%;
transform: translateY(-50%);
color: #333;
font-size: 0.32rem;
@@ -64,7 +64,7 @@ body {
right: 0.62667rem;
height: 100%;
top: 0;
line-height: 2.53333rem;
line-height: 3.73333rem;
color: #333333;
font-size: 0.45333rem;
font-weight: bold;
@@ -72,8 +72,8 @@ body {
ul {
width: 10rem;
height: 15.33333rem;
margin: 2rem auto 0;
height: 18rem;
margin: 2.4rem auto 0;
overflow-y: scroll;
padding-top: 0.34667rem;
box-sizing: border-box;

View File

@@ -11,7 +11,7 @@ body {
.back {
width: 100%;
height: px2rem(150);
height: px2rem(190);
position: fixed;
left: 0;
top: px2rem(0);
@@ -27,14 +27,14 @@ body {
height: px2rem(44);
position: absolute;
left: px2rem(18);
top: px2rem(75);
top: 59%;
}
.fdj {
width: px2rem(32);
height: px2rem(32);
position: absolute;
top: px2rem(83);
top: 66%;
left: px2rem(106);
z-index: 2;
}
@@ -51,7 +51,7 @@ body {
padding-left: px2rem(54);
position: absolute;
left: px2rem(92);
top: 65%;
top: 75%;
transform: translateY(-50%);
color: #333;
font-size: px2rem(24);
@@ -67,7 +67,7 @@ body {
right: px2rem(47);
height: 100%;
top: 0;
line-height: px2rem(190);
line-height: px2rem(280);
color: #333333;
font-size: px2rem(34);
font-weight: bold;
@@ -76,8 +76,8 @@ body {
ul {
width: px2rem(750);
height: px2rem(1150);
margin: px2rem(150) auto 0;
height: px2rem(1350);
margin: px2rem(180) auto 0;
overflow-y: scroll;
padding-top: px2rem(26);
box-sizing: border-box;

View File

@@ -7,7 +7,7 @@ body {
.back {
width: 100%;
height: 2rem;
height: 2.4rem;
position: fixed;
left: 0;
top: 0rem;
@@ -24,7 +24,7 @@ body {
height: 0.58667rem;
position: absolute;
left: 0.24rem;
top: 1rem;
top: 58%;
z-index: 2;
}
@@ -34,7 +34,7 @@ body {
transform: translateX(-50%);
height: 100%;
top: 0;
line-height: 2.53333rem;
line-height: 3.46667rem;
color: #333333;
font-size: 0.45333rem;
font-weight: bold;
@@ -45,7 +45,7 @@ body {
right: 0.62667rem;
height: 100%;
top: 0;
line-height: 2.53333rem;
line-height: 3.46667rem;
color: #333333;
font-size: 0.4rem;
}
@@ -55,7 +55,7 @@ body {
height: 2.54667rem;
background: #fff;
border-radius: 0.4rem;
margin: 2.2rem auto 0.25333rem;
margin: 2.53333rem auto 0.25333rem;
position: relative;
}
@@ -167,7 +167,7 @@ body {
margin: 0.25333rem auto 0.13333rem;
overflow-y: scroll;
position: relative;
padding-top: 1.2rem;
padding-top: 1.45rem;
box-sizing: border-box;
}
@@ -183,10 +183,10 @@ body {
display: flex;
justify-content: space-between;
line-height: 0.4rem;
position: fixed;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 5rem;
top: 0rem;
background: #fff;
border-radius: 0.4rem 0.4rem 0 0;
}

View File

@@ -11,7 +11,7 @@ body {
.back {
width: 100%;
height: px2rem(150);
height: px2rem(180);
position: fixed;
left: 0;
top: px2rem(0);
@@ -27,7 +27,7 @@ body {
height: px2rem(44);
position: absolute;
left: px2rem(18);
top: px2rem(75);
top: 58%;
z-index: 2;
}
@@ -37,7 +37,7 @@ body {
transform: translateX(-50%);
height: 100%;
top: 0;
line-height: px2rem(190);
line-height: px2rem(260);
color: #333333;
font-size: px2rem(34);
font-weight: bold;
@@ -48,7 +48,7 @@ body {
right: px2rem(47);
height: 100%;
top: 0;
line-height: px2rem(190);
line-height: px2rem(260);
color: #333333;
font-size: px2rem(30);
}
@@ -59,7 +59,7 @@ body {
height: px2rem(191);
background: #fff;
border-radius: px2rem(30);
margin: px2rem(165) auto px2rem(19);
margin: px2rem(190) auto px2rem(19);
position: relative;
.line {
@@ -173,7 +173,7 @@ body {
margin: px2rem(19) auto px2rem(10);
overflow-y: scroll;
position: relative;
padding-top: 1.2rem;
padding-top: 1.45rem;
box-sizing: border-box;
&::-webkit-scrollbar {
@@ -188,10 +188,11 @@ body {
display: flex;
justify-content: space-between;
line-height: 0.4rem;
position: fixed;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 5rem;
// top: 5.3rem;
top: 0rem;
background: #fff;
border-radius: px2rem(30) px2rem(30) 0 0;
@@ -211,6 +212,7 @@ body {
border-bottom: px2rem(2) solid #D7DCE6;
display: flex;
justify-content: space-between;
// background: pink;
&:last-child {
border: none;

View File

@@ -7,7 +7,7 @@ body {
.back {
width: 100%;
height: 2rem;
height: 2.4rem;
position: fixed;
left: 0;
top: 0rem;
@@ -24,7 +24,7 @@ body {
height: 0.58667rem;
position: absolute;
left: 0.24rem;
top: 1rem;
top: 58%;
z-index: 2;
}
@@ -34,7 +34,7 @@ body {
transform: translateX(-50%);
height: 100%;
top: 0;
line-height: 2.53333rem;
line-height: 3.46667rem;
color: #333333;
font-size: 0.45333rem;
font-weight: bold;
@@ -45,7 +45,7 @@ body {
right: 0.62667rem;
height: 100%;
top: 0;
line-height: 2.53333rem;
line-height: 3.46667rem;
color: #333333;
font-size: 0.4rem;
}
@@ -55,7 +55,7 @@ body {
height: 2.54667rem;
background: #fff;
border-radius: 0.4rem;
margin: 2.2rem auto 0.25333rem;
margin: 2.53333rem auto 0.25333rem;
position: relative;
}
@@ -180,7 +180,7 @@ body {
margin: 0.25333rem auto 0.13333rem;
overflow-y: scroll;
position: relative;
padding-top: 1.2rem;
padding-top: 1.45rem;
box-sizing: border-box;
}
@@ -196,10 +196,10 @@ body {
display: flex;
justify-content: space-between;
line-height: 0.4rem;
position: fixed;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 5rem;
top: 0;
background: #fff;
border-radius: 0.4rem 0.4rem 0 0;
}

View File

@@ -11,7 +11,7 @@ body {
.back {
width: 100%;
height: px2rem(150);
height: px2rem(180);
position: fixed;
left: 0;
top: px2rem(0);
@@ -19,7 +19,7 @@ body {
color: #FFFFFF;
font-size: px2rem(38);
font-weight: bold;
z-index: 10;
z-index: 10;
background: #fff;
.backs {
@@ -27,7 +27,7 @@ body {
height: px2rem(44);
position: absolute;
left: px2rem(18);
top: px2rem(75);
top: 58%;
z-index: 2;
}
@@ -39,7 +39,7 @@ body {
transform: translateX(-50%);
height: 100%;
top: 0;
line-height: px2rem(190);
line-height: px2rem(260);
color: #333333;
font-size: px2rem(34);
font-weight: bold;
@@ -50,7 +50,7 @@ body {
right: px2rem(47);
height: 100%;
top: 0;
line-height: px2rem(190);
line-height: px2rem(260);
color: #333333;
font-size: px2rem(30);
}
@@ -61,7 +61,7 @@ body {
height: px2rem(191);
background: #fff;
border-radius: px2rem(30);
margin: px2rem(165) auto px2rem(19);
margin: px2rem(190) auto px2rem(19);
position: relative;
.line {
@@ -188,7 +188,7 @@ body {
margin: px2rem(19) auto px2rem(10);
overflow-y: scroll;
position: relative;
padding-top: 1.2rem;
padding-top: 1.45rem;
box-sizing: border-box;
&::-webkit-scrollbar {
@@ -203,10 +203,11 @@ body {
display: flex;
justify-content: space-between;
line-height: 0.4rem;
position: fixed;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 5rem;
// top: 5.3rem;
top: 0;
background: #fff;
border-radius: px2rem(30) px2rem(30) 0 0;

View File

@@ -7,7 +7,7 @@ body {
.back {
width: 100%;
height: 2rem;
height: 2.8rem;
position: fixed;
left: 0;
top: 0rem;
@@ -24,14 +24,14 @@ body {
height: 0.58667rem;
position: absolute;
left: 0.24rem;
top: 1rem;
top: 58%;
}
.back .fdj {
width: 0.42667rem;
height: 0.42667rem;
position: absolute;
top: 1.10667rem;
top: 61%;
left: 1.41333rem;
z-index: 2;
}
@@ -48,7 +48,7 @@ body {
padding-left: 0.72rem;
position: absolute;
left: 1.22667rem;
top: 65%;
top: 70%;
transform: translateY(-50%);
color: #333;
font-size: 0.32rem;
@@ -64,7 +64,7 @@ body {
right: 0.62667rem;
height: 100%;
top: 0;
line-height: 2.53333rem;
line-height: 3.93333rem;
color: #333333;
font-size: 0.45333rem;
font-weight: bold;
@@ -72,8 +72,8 @@ body {
ul {
width: 10rem;
height: 15.33333rem;
margin: 2rem auto 0;
height: 18rem;
margin: 2.53333rem auto 0;
overflow-y: scroll;
padding-top: 0.34667rem;
box-sizing: border-box;

View File

@@ -11,7 +11,7 @@ body {
.back {
width: 100%;
height: px2rem(150);
height: px2rem(210);
position: fixed;
left: 0;
top: px2rem(0);
@@ -27,14 +27,14 @@ body {
height: px2rem(44);
position: absolute;
left: px2rem(18);
top: px2rem(75);
top: 58%;
}
.fdj {
width: px2rem(32);
height: px2rem(32);
position: absolute;
top: px2rem(83);
top: 61%;
left: px2rem(106);
z-index: 2;
}
@@ -51,7 +51,7 @@ body {
padding-left: px2rem(54);
position: absolute;
left: px2rem(92);
top: 65%;
top: 70%;
transform: translateY(-50%);
color: #333;
font-size: px2rem(24);
@@ -67,7 +67,7 @@ body {
right: px2rem(47);
height: 100%;
top: 0;
line-height: px2rem(190);
line-height: px2rem(295);
color: #333333;
font-size: px2rem(34);
font-weight: bold;
@@ -76,8 +76,8 @@ body {
ul {
width: px2rem(750);
height: px2rem(1150);
margin: px2rem(150) auto 0;
height: px2rem(1350);
margin: px2rem(190) auto 0;
overflow-y: scroll;
padding-top: px2rem(26);
box-sizing: border-box;

View File

@@ -4,21 +4,21 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>جميع الوكالات</title>
<title class="text1"></title>
<!-- 未加入公会首页 -->
<link rel="stylesheet" href="../../common/css/reset.css">
<link rel="stylesheet" href="./css/guild.css">
<link rel="stylesheet" href="./css/guild.css?v=1.1">
</head>
<body>
<!-- 頂部返回 -->
<div class="back">
<img src="./images/travel/backB.png" alt="">
جميع الوكالات
<b class="text2"></b>
</div>
<!-- 头部 -->
<div class="top">
<div class="left">الوكالة</div>
<div class="left text3"></div>
<img src="./images/fdj.png" alt="">
</div>
<!-- 列表 -->
@@ -67,10 +67,10 @@
<!-- 确认加入公会弹窗 -->
<div class="pub">
<div class="pub_in">
<p>هل أنت متأكد أنك تريد التقديم بطلب للانضمام إلى هذه النقابة؟</p>
<p class="text4"></p>
<div class="butBox">
<div class="close">حذف</div>
<div class="ok">تأكيد</div>
<div class="close text5"></div>
<div class="ok text6"></div>
</div>
</div>
</div>
@@ -83,4 +83,8 @@
<script src="../../common/js/layer.js"></script>
<script src="../../common/js/vconsole.min.js"></script>
<script src="../../common/js/route-constant.js"></script>
<script src="./js/guild.js"></script>
<script src="./local/en.js"></script>
<script src="./local/zh.js"></script>
<script src="./local/ar.js"></script>
<script src="./js/guild.js"></script>
<script src="../../common/local/langHandler.js"></script>

View File

@@ -4,32 +4,32 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>إعدادات معلومات الوكالة</title>
<title class="text1"></title>
<!-- 公会信息设置 -->
<link rel="stylesheet" href="../../common/css/reset.css">
<link rel="stylesheet" href="./css/guildInfoSet.css">
<link rel="stylesheet" href="./css/guildInfoSet.css?v=1.0">
</head>
<body>
<!-- 頂部返回 -->
<div class="back">
<img src="./images/travel/backB.png" alt="">
إعدادات معلومات الوكالة
<b class="text2"></b>
</div>
<!-- 公会昵称 -->
<div class="nick">أسم الوكالة: <input type="text" placeholder="أسم الوكالة"></div>
<div class="nick"><span class="text3"></span><input class="text4" type="text" placeholder=""></div>
<!-- 公会背景 -->
<div class="bg">
<span>خلفية الوكالة:</span>
<span class="text5"></span>
<img src="./images/upDate.png" alt="">
<input type="file" id="backImageUpload" accept="image/*" onchange="fileChangeF(event)" class="upload"
style="opacity: 0;">
</div>
<div class="boxBut">
<!-- 取消按钮 -->
<div class="close">حذف</div>
<div class="close text6"></div>
<!-- 保存按钮 -->
<div class="ok">حفظ</div>
<div class="ok text7"></div>
</div>
</body>
@@ -41,4 +41,8 @@
<script src="../../common/js/vconsole.min.js"></script>
<script src="../../common/js/route-constant.js"></script>
<script src="./js/qiniu.min.js"></script>
<script src="./js/guildInfoSet.js"></script>
<script src="./local/en.js"></script>
<script src="./local/zh.js"></script>
<script src="./local/ar.js"></script>
<script src="./js/guildInfoSet.js"></script>
<script src="../../common/local/langHandler.js"></script>

View File

@@ -4,17 +4,17 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>أسم الوكالة</title>
<title class="text1"></title>
<!-- 公会首页 -->
<link rel="stylesheet" href="../../common/css/reset.css">
<link rel="stylesheet" href="./css/index.css">
<link rel="stylesheet" href="./css/index.css?v1.0">
</head>
<body>
<!-- 頂部返回 -->
<div class="back">
<img src="./images/travel/back.png" alt="">
أسم الوكالة
<b class="text2"></b>
</div>
<!-- 主视觉头部背景 -->
<div class="header">
@@ -22,17 +22,17 @@
<img src="./images/logo.png" alt="" class="tx">
<!-- 工会长昵称 -->
<div class="nick"></div>
<div class="id">ID0</div>
<div class="id"></div>
<!-- 管理员设置 -->
<div class="adminSet">إعدادات المشرف</div>
<div class="adminSet text3"></div>
<!-- 公会信息设置 -->
<div class="guildInfoSet">إعدادات الوكالة</div>
<div class="guildInfoSet text4"></div>
<!-- 查看成员流水 -->
<div class="memberFlow">دخل الأعضاء</div>
<div class="memberFlow text5"></div>
<!-- 邀请成员 -->
<div class="inveMember">دعوة الأعضاء</div>
<div class="inveMember text6"></div>
<!-- 查看成员流水 -->
<div class="memberFlowMy">عرض التفاصيل</div>
<div class="memberFlowMy text7"></div>
<!-- 工会昵称 -->
<!-- 公会:公会昵称 -->
<div class="guildNick"></div>
@@ -40,9 +40,9 @@
<!-- 公会成员列表 -->
<div class="guildList">
<div class="top">
<b>أسم الوكالة</b><i>(0)</i>
<b class="text8"></b><i>(0)</i>
<img src="./images/fdj.png" alt="">
<input type="number" placeholder="MoliStarID بحث عن ">
<input class="text16" type="number" placeholder="">
</div>
<ul>
<!-- <li>
@@ -66,8 +66,8 @@
<!-- 移除此人 -->
<p>من الوكالة؟XXXxxxهل أنت متأكد أنك تريد إزالة </p>
<div class="butBox">
<div class="close">حذف</div>
<div class="ok">تأكيد</div>
<div class="close text9"></div>
<div class="ok text10"></div>
</div>
</div>
</div>
@@ -80,5 +80,8 @@
<script src="../../common/js/layer.js"></script>
<script src="../../common/js/vconsole.min.js"></script>
<script src="../../common/js/route-constant.js"></script>
<!-- <script src="../../common/local/langHandler.js"></script> -->
<script src="./js/index.js?v=1.0"></script>
<script src="./local/en.js"></script>
<script src="./local/zh.js"></script>
<script src="./local/ar.js"></script>
<script src="./js/index.js?v=1.0"></script>
<script src="../../common/local/langHandler.js"></script>

View File

@@ -4,10 +4,10 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>إضافة</title>
<title class="text1"></title>
<!-- 邀请成员 -->
<link rel="stylesheet" href="../../common/css/reset.css">
<link rel="stylesheet" href="./css/invitation.css?v=1.0">
<link rel="stylesheet" href="./css/invitation.css?v=1.1">
</head>
<body>
@@ -15,8 +15,8 @@
<div class="back">
<img src="./images/travel/backB.png" alt="" class="backs">
<img src="./images/fdj.png" alt="" class="fdj">
<input type="text" placeholder="MoliStarID بحث عن ">
<div class="text">البحث</div>
<input class="text2" type="text" placeholder="">
<div class="text text3"></div>
</div>
<!-- 内容 -->
<ul>
@@ -33,16 +33,16 @@
</li> -->
<li class="null">
<img src="./images/null.png" alt="">
<span>لم يتم العثور علي محتوي ذي صلة</span>
<span class="text4"></span>
</li>
</ul>
<!-- 弹窗 -->
<div class="pub" style="display: none;">
<div class="pub_in">
<p>هل أنت متأكد من دعوة هذا الشخص للانضمام إلى النقابة؟</p>
<p class="text5"></p>
<div class="butBox">
<div class="close">حذف</div>
<div class="ok">تأكيد</div>
<div class="close text6"></div>
<div class="ok text7"></div>
</div>
</div>
</div>
@@ -55,4 +55,8 @@
<script src="../../common/js/layer.js"></script>
<script src="../../common/js/vconsole.min.js"></script>
<script src="../../common/js/route-constant.js"></script>
<script src="./js/invitation.js?v=1.0"></script>
<script src="./local/en.js"></script>
<script src="./local/zh.js"></script>
<script src="./local/ar.js"></script>
<script src="./js/invitation.js?v=1.0"></script>
<script src="../../common/local/langHandler.js"></script>

View File

@@ -6,7 +6,9 @@ if (env == 'test') {
}
// 封裝layer消息提醒框
let layerIndex
const showLoading = (content = '加载中') => {
var langReplace;
var localLang;
const showLoading = (content = langReplace(localLang.demoModule.layerIndex1)) => {
layer.open({
type: 2,
shadeClose: false,
@@ -19,7 +21,7 @@ const showLoading = (content = '加载中') => {
const hideLoading = (index) => {
layer.close(index)
}
const toastMsg = (content = '操作完成', time = 2) => {
const toastMsg = (content = langReplace(localLang.demoModule.layerIndex2), time = 2) => {
layer.open({
content,
time,
@@ -30,6 +32,7 @@ var roleTypes = getQueryString().roleTypes;
// 初始化函數
$(function () {
getInfoFromClient();
fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
setTimeout(function () {
// 頁面全屏
if (browser.app) {
@@ -43,8 +46,23 @@ $(function () {
$('.back .backs').click(() => {
window.location.href = document.referrer;
})
fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
langReplace = window.lang.replace;
localLang = window.lang;
translateFun();
}, 100)
})
function translateFun() {
var langReplace = window.lang.replace;
var localLang = window.lang;
$('.text1').text(langReplace(localLang.adminSet.text1));
$('.text2').text(langReplace(localLang.adminSet.text2));
$('.text3').text(langReplace(localLang.adminSet.text3));
$('.text4').text(langReplace(localLang.adminSet.text4));
$('.text5').text(langReplace(localLang.adminSet.text5));
$('.text6').text(langReplace(localLang.adminSet.text6));
$('.text16').attr('placeholder', langReplace(localLang.demoModule.text16));
}
// 搜索接口
function searchUser(erbanNo) {
var str = '';
@@ -68,7 +86,7 @@ function searchUser(erbanNo) {
<img src="${res.data.userLevelVo.charmUrl}" alt="" class="charm">
<b>ID:${res.data.erbanNo}</b>
</div>
<div style="display:${res.roleType == 1 || res.roleType == 2 ? 'none' : 'block'}" uid=${res.data.uid} class="but">إضافة </div>
<div style="display:${res.roleType == 1 || res.roleType == 2 ? 'none' : 'block'}" uid=${res.data.uid} class="but">${langReplace(localLang.adminSet.text7)}</div>
</li>
`
// })
@@ -77,7 +95,7 @@ function searchUser(erbanNo) {
str += `
<li class="null">
<img src="./images/null.png" alt="">
<span>لا يوجد بيانات حتي الاّن</span>
<span>${langReplace(localLang.adminSet.text3)}</span>
</li>`
$('ul').append(str);
} else {
@@ -87,7 +105,7 @@ function searchUser(erbanNo) {
},
error(err) {
hideLoading(layerIndex)
toastMsg(langReplace(localLang.demoModule.text23))
toastMsg(langReplace(localLang.demoModule.layerIndex3))
}
})
}
@@ -118,7 +136,7 @@ function setManager(targetUid) {
success(res) {
if (res.code === 200) {
searchUser($('.back input').val());
toastMsg('تمت الإضافة بنجاح');
toastMsg(langReplace(localLang.adminSet.text8));
} else {
toastMsg(res.message)
}
@@ -126,7 +144,7 @@ function setManager(targetUid) {
},
error(err) {
hideLoading(layerIndex)
toastMsg(langReplace(localLang.demoModule.text23))
toastMsg(langReplace(localLang.demoModule.layerIndex3))
}
})
}

View File

@@ -6,7 +6,9 @@ if (env == 'test') {
}
// 封裝layer消息提醒框
let layerIndex
const showLoading = (content = '加载中') => {
var langReplace;
var localLang;
const showLoading = (content = langReplace(localLang.demoModule.layerIndex1)) => {
layer.open({
type: 2,
shadeClose: false,
@@ -19,7 +21,7 @@ const showLoading = (content = '加载中') => {
const hideLoading = (index) => {
layer.close(index)
}
const toastMsg = (content = '操作完成', time = 2) => {
const toastMsg = (content = langReplace(localLang.demoModule.layerIndex2), time = 2) => {
layer.open({
content,
time,
@@ -30,6 +32,7 @@ var roleTypes = getQueryString().roleTypes;
// 初始化函數
$(function () {
getInfoFromClient();
fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
setTimeout(function () {
// 頁面全屏
if (browser.app) {
@@ -43,9 +46,24 @@ $(function () {
$('.back .backs').click(() => {
window.location.href = "./index.html";
})
fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
langReplace = window.lang.replace;
localLang = window.lang;
translateFun();
listManager();
}, 100)
})
function translateFun() {
var langReplace = window.lang.replace;
var localLang = window.lang;
$('.text1').text(langReplace(localLang.adminSet2.text1));
$('.text2').text(langReplace(localLang.adminSet2.text2));
$('.text3').text(langReplace(localLang.adminSet2.text3));
$('.text4').text(langReplace(localLang.adminSet2.text4));
$('.text5').text(langReplace(localLang.adminSet2.text5));
$('.text6').text(langReplace(localLang.adminSet2.text6));
$('.text7').text(langReplace(localLang.adminSet2.text7));
}
// 搜索所有管理员接口
function listManager() {
$('ul li').remove();
@@ -60,14 +78,14 @@ function listManager() {
str += `
<li class="null">
<img src="./images/null.png" alt="">
<span>لا يوجد بيانات حتي الاّن</span>
<span>${langReplace(localLang.adminSet2.text4)}</span>
</li>`
} else {
res.data.forEach(res => {
str += `
<li>
<div class="chairman" ${res.roleType == 3 ? 'style="display:none"' : ''}>الوكيل</div>
<div class="administrator" ${res.roleType == 2 ? 'style="display:none"' : ''}>المشرف</div>
<div class="chairman" ${res.roleType == 3 ? 'style="display:none"' : ''}>${langReplace(localLang.adminSet2.text8)}</div>
<div class="administrator" ${res.roleType == 2 ? 'style="display:none"' : ''}>${langReplace(localLang.adminSet2.text9)}</div>
<img src="${res.avatar}" alt="" class="tx">
<div class="user">
<p>${res.nick}</p>
@@ -76,7 +94,7 @@ function listManager() {
<img src="${res.userLevel.charmUrl}" alt="" class="charm">
<b>ID:${res.erbanNo}</b>
</div>
<div class="but" uid=${res.uid}>حذف </div>
<div class="but" uid=${res.uid}>${langReplace(localLang.adminSet2.text10)} </div>
`
})
}
@@ -88,7 +106,7 @@ function listManager() {
},
error(err) {
hideLoading(layerIndex)
toastMsg(langReplace(localLang.demoModule.text23))
toastMsg(langReplace(localLang.demoModule.layerIndex3))
}
})
}
@@ -118,7 +136,7 @@ function setManager(targetUid) {
success(res) {
if (res.code === 200) {
listManager();
toastMsg('تمت الإزالة بنجاح');
toastMsg(langReplace(localLang.adminSet2.text11));
} else {
toastMsg(res.message)
}
@@ -126,7 +144,7 @@ function setManager(targetUid) {
},
error(err) {
hideLoading(layerIndex)
toastMsg(langReplace(localLang.demoModule.text23))
toastMsg(langReplace(localLang.demoModule.layerIndex3))
}
})
}

View File

@@ -6,7 +6,9 @@ if (env == 'test') {
}
// 封裝layer消息提醒框
let layerIndex
const showLoading = (content = '加载中') => {
var langReplace;
var localLang;
const showLoading = (content = langReplace(localLang.demoModule.layerIndex1)) => {
layer.open({
type: 2,
shadeClose: false,
@@ -19,7 +21,7 @@ const showLoading = (content = '加载中') => {
const hideLoading = (index) => {
layer.close(index)
}
const toastMsg = (content = '操作完成', time = 2) => {
const toastMsg = (content = langReplace(localLang.demoModule.layerIndex2), time = 2) => {
layer.open({
content,
time,
@@ -29,6 +31,7 @@ const toastMsg = (content = '操作完成', time = 2) => {
// 初始化函數
$(function () {
getInfoFromClient();
fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
setTimeout(function () {
// 頁面全屏
if (browser.app) {
@@ -46,9 +49,23 @@ $(function () {
window.webkit.messageHandlers.closeWebView.postMessage(null)
}
})
fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
langReplace = window.lang.replace;
localLang = window.lang;
translateFun();
listRank();
}, 100)
})
function translateFun() {
var langReplace = window.lang.replace;
var localLang = window.lang;
$('.text1').text(langReplace(localLang.guild.text1));
$('.text2').text(langReplace(localLang.guild.text2));
$('.text3').text(langReplace(localLang.guild.text3));
$('.text4').text(langReplace(localLang.guild.text4));
$('.text5').text(langReplace(localLang.guild.text5));
$('.text6').text(langReplace(localLang.guild.text6));
}
// 搜索按钮
$('.top img').click(function () {
window.location.href = './search.html'
@@ -73,7 +90,7 @@ function listRank() {
<p>${res.familyName}</p>
<b>ID:${res.owner.erbanNo}</b>
</div>
<div class="but" familyId=${res.familyId}>طلب إضافة </div>
<div class="but" familyId=${res.familyId}>${langReplace(localLang.guild.text7)}</div>
</li>
`
})
@@ -85,7 +102,7 @@ function listRank() {
},
error(err) {
hideLoading(layerIndex)
toastMsg(langReplace(localLang.demoModule.text23))
toastMsg(langReplace(localLang.demoModule.layerIndex3))
}
})
}
@@ -114,7 +131,7 @@ function apply(familyId) {
data: { familyId },
success(res) {
if (res.code === 200) {
toastMsg('تم تقديم الطلب بنجاح')
toastMsg(langReplace(localLang.guild.text8))
} else {
toastMsg(res.message)
}
@@ -122,7 +139,7 @@ function apply(familyId) {
},
error(err) {
hideLoading(layerIndex)
toastMsg(langReplace(localLang.demoModule.text23))
toastMsg(langReplace(localLang.demoModule.layerIndex3))
}
})
}

View File

@@ -4,9 +4,12 @@ let env = EnvCheck();
if (env == 'test') {
new VConsole();
}
var urlDate = getQueryString().guildNick;
// 封裝layer消息提醒框
let layerIndex
const showLoading = (content = '加载中') => {
var langReplace;
var localLang;
const showLoading = (content = langReplace(localLang.demoModule.layerIndex1)) => {
layer.open({
type: 2,
shadeClose: false,
@@ -19,7 +22,7 @@ const showLoading = (content = '加载中') => {
const hideLoading = (index) => {
layer.close(index)
}
const toastMsg = (content = '操作完成', time = 2) => {
const toastMsg = (content = langReplace(localLang.demoModule.layerIndex2), time = 2) => {
layer.open({
content,
time,
@@ -29,6 +32,7 @@ const toastMsg = (content = '操作完成', time = 2) => {
// 初始化函數
$(function () {
getInfoFromClient();
fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
setTimeout(function () {
// 頁面全屏
if (browser.app) {
@@ -43,8 +47,20 @@ $(function () {
window.location.href = document.referrer;
})
pubInfo['Accept-Language'] = 'ar'
$('.nick input').val(urlDate);
}, 100)
})
function translateFun() {
var langReplace = window.lang.replace;
var localLang = window.lang;
$('.text1').text(langReplace(localLang.guildInfoSet.text1));
$('.text2').text(langReplace(localLang.guildInfoSet.text2));
$('.text3').text(langReplace(localLang.guildInfoSet.text3));
$('.text4').attr('placeholder', langReplace(localLang.guildInfoSet.text4));
$('.text5').text(langReplace(localLang.guildInfoSet.text5));
$('.text6').text(langReplace(localLang.guildInfoSet.text6));
$('.text7').text(langReplace(localLang.guildInfoSet.text7));
}
// 上傳身份證接口
function getUploadToken() {
const backImage = document.getElementById('backImageUpload').files[0];
@@ -67,7 +83,7 @@ function getUploadToken() {
console.log(res);
$('.bg img').attr('src', res.path);
hideLoading(layerIndex)
toastMsg("上傳成功")
toastMsg(langReplace(localLang.guildInfoSet.text8))
},
});
} else {
@@ -77,7 +93,7 @@ function getUploadToken() {
},
error(err) {
hideLoading(layerIndex)
toastMsg('網絡錯誤,請退出重進')
toastMsg(langReplace(localLang.demoModule.layerIndex3))
}
})
}
@@ -98,7 +114,7 @@ function setInfo(name, backgroundUrl) {
data: { name, backgroundUrl },
success(res) {
if (res.code === 200) {
window.location.href="./index.html"
window.location.href = "./index.html"
} else {
toastMsg(res.message)
}
@@ -106,7 +122,7 @@ function setInfo(name, backgroundUrl) {
},
error(err) {
hideLoading(layerIndex)
toastMsg(langReplace(localLang.demoModule.text23))
toastMsg(langReplace(localLang.demoModule.layerIndex3))
}
})
}

View File

@@ -6,7 +6,9 @@ if (env == 'test') {
}
// 封裝layer消息提醒框
let layerIndex
const showLoading = (content = '加载中') => {
var langReplace;
var localLang;
const showLoading = (content = langReplace(localLang.demoModule.layerIndex1)) => {
layer.open({
type: 2,
shadeClose: false,
@@ -19,7 +21,7 @@ const showLoading = (content = '加载中') => {
const hideLoading = (index) => {
layer.close(index)
}
const toastMsg = (content = '操作完成', time = 2) => {
const toastMsg = (content = langReplace(localLang.demoModule.layerIndex2), time = 2) => {
layer.open({
content,
time,
@@ -28,9 +30,11 @@ const toastMsg = (content = '操作完成', time = 2) => {
}
var roleTypes;
var searTime;
var guildNick;
// 初始化函數
$(function () {
getInfoFromClient();
fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
setTimeout(function () {
// 頁面全屏
if (browser.app) {
@@ -48,9 +52,28 @@ $(function () {
window.webkit.messageHandlers.closeWebView.postMessage(null)
}
})
fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
langReplace = window.lang.replace;
localLang = window.lang;
translateFun();
get();
}, 100)
})
function translateFun() {
var langReplace = window.lang.replace;
var localLang = window.lang;
$('.text1').text(langReplace(localLang.demoModule.text1));
// $('.text2').text(langReplace(localLang.demoModule.text2));
$('.text3').text(langReplace(localLang.demoModule.text3));
$('.text4').text(langReplace(localLang.demoModule.text4));
$('.text5').text(langReplace(localLang.demoModule.text5));
$('.text6').text(langReplace(localLang.demoModule.text6));
$('.text7').text(langReplace(localLang.demoModule.text7));
$('.text8').text(langReplace(localLang.demoModule.text8));
$('.text9').text(langReplace(localLang.demoModule.text9));
$('.text10').text(langReplace(localLang.demoModule.text10));
$('.text16').attr('placeholder', langReplace(localLang.demoModule.text16));
}
// 判断公会身份函数
function guildFun(type) {
// 公会长
@@ -90,12 +113,14 @@ function get() {
// 判断身份
roleTypes = res.data.roleType;
guildFun(roleTypes);
$('.text2').text(res.data.name)
// 渲染基本信息
$('.header .tx').attr('src', res.data.me.avatar);
$('.header .nick').text(res.data.me.nick);
guildNick = res.data.name;
$('.header .id').text('ID' + res.data.me.erbanNo);
$('.header').css({ "background": `url(${res.data.backgroundUrl}) no-repeat`, "background-size": "100% 100%" });
$('.header .guildNick').text('اسم النقابة:' + res.data.name);
$('.header .guildNick').text(langReplace(localLang.demoModule.text11) + res.data.name);
// 处理成员
var str = '';
$('.guildList .top i').text(`(${res.data.members.length})`);
@@ -105,7 +130,7 @@ function get() {
<li>
<div class="chairman" ${res.roleType == 1 ? 'style="display:block"' : ''}>الوكيل</div>
<div class="administrator" ${res.roleType == 2 ? 'style="display:block"' : ''}>المشرف</div>
<img src="${res.avatar}" alt="" class="tx">
<img src="${res.avatar}" uid=${res.uid} alt="" class="tx">
<div class="user">
<p>${res.nick}</p>
<img src="${res.gender == 1 ? './images/boy.png' : './images/girl.png'}" alt="" class="sex">
@@ -113,7 +138,7 @@ function get() {
<img src="${res.userLevel.charmUrl}" alt="" class="charm">
<b>ID:${res.erbanNo}</b>
</div>
${roleTypes == 1 && res.roleType != 1 ? `<div uid=${res.uid} nick=${res.nick} class="but" style="display:block"}">حذف</div>` : roleTypes == 2 && res.roleType != 1 && res.roleType != 2 ? `<div uid=${res.uid} nick=${res.nick} class="but" style="display:block"}">حذف</div>` : `<div uid=${res.uid} nick=${res.nick} class="but" style="display:none"}">حذف</div>`}
${roleTypes == 1 && res.roleType != 1 ? `<div uid=${res.uid} nick=${res.nick} class="but" style="display:block"}">${langReplace(localLang.demoModule.text14)}</div>` : roleTypes == 2 && res.roleType != 1 && res.roleType != 2 ? `<div uid=${res.uid} nick=${res.nick} class="but" style="display:block"}">${langReplace(localLang.demoModule.text14)}</div>` : `<div uid=${res.uid} nick=${res.nick} class="but" style="display:none"}">${langReplace(localLang.demoModule.text14)}</div>`}
</li >
`
@@ -126,7 +151,7 @@ function get() {
},
error(err) {
hideLoading(layerIndex)
toastMsg("خطأ في الشبكة")
toastMsg(langReplace(localLang.demoModule.layerIndex3))
}
})
}
@@ -155,7 +180,7 @@ function searchUser(erbanNo) {
<li>
<div class="chairman" ${res.roleType == 3 ? 'style="display:block"' : ''}>الوكيل</div>
<div class="administrator" ${res.roleType == 2 ? 'style="display:block"' : ''}>المشرف</div>
<img src="${res.avatar}" alt="" class="tx">
<img src="${res.avatar}" uid=${res.uid} alt="" class="tx">
<div class="user">
<p>${res.nick}</p>
<img src="${res.gender == 1 ? './images/boy.png' : './images/girl.png'}" alt="" class="sex">
@@ -163,7 +188,7 @@ function searchUser(erbanNo) {
<img src="${res.userLevelVo.charmUrl}" alt="" class="charm">
<b>ID:${res.erbanNo}</b>
</div>
${roleTypes == 1 ? `<div uid=${res.uid} nick=${res.nick} class="but" style="display:block"}">حذف</div>` : roleTypes == 2 && res.roleType != 1 && res.roleType != 2 ? `<div uid=${res.uid} nick=${res.nick} class="but" style="display:block"}">حذف</div>` : `<div uid=${res.uid} nick=${res.nick} class="but" style="display:none"}">حذف</div>`}
${roleTypes == 1 ? `<div uid=${res.uid} nick=${res.nick} class="but" style="display:block"}">${langReplace(localLang.demoModule.text14)}</div>` : roleTypes == 2 && res.roleType != 1 && res.roleType != 2 ? `<div uid=${res.uid} nick=${res.nick} class="but" style="display:block"}">${langReplace(localLang.demoModule.text14)}</div>` : `<div uid=${res.uid} nick=${res.nick} class="but" style="display:none"}">${langReplace(localLang.demoModule.text14)}</div>`}
</li>
`
$('.guildList ul').append(str);
@@ -174,7 +199,7 @@ function searchUser(erbanNo) {
},
error(err) {
hideLoading(layerIndex)
toastMsg("خطأ في الشبكة")
toastMsg(langReplace(localLang.demoModule.layerIndex3))
}
})
}
@@ -183,10 +208,22 @@ function searchUser(erbanNo) {
$('.guildList ul').on('click', 'li .but', function () {
var uid = $(this).attr('uid');
var nick = $(this).attr('nick');
$('.pub .pub_in p').text(`هل أنت متأكد أنك تريد التقدم بطلب للانضمام لوكالة؟`);
$('.pub .pub_in p').text(langReplace(localLang.demoModule.text15));
$('.pub .pub_in .butBox .ok').attr("uid", uid);
$('.pub').show();
})
// 跳转个人资料页
$('.guildList ul').on('click', 'li .tx', function () {
var uid = $(this).attr('uid');
if (browser.ios) {
window.webkit.messageHandlers.openPersonPage.postMessage(uid);
setTimeout(function () { lock = true; }, 200)
} else if (browser.android) {
if (androidJsObj && typeof androidJsObj === 'object') {
window.androidJsObj.openPersonPage(uid);
}
}
})
//移除接口
function setManager(targetUid) {
@@ -206,7 +243,7 @@ function setManager(targetUid) {
},
error(err) {
hideLoading(layerIndex)
toastMsg("خطأ في الشبكة")
toastMsg(langReplace(localLang.demoModule.layerIndex3))
}
})
@@ -226,7 +263,7 @@ $('.header .adminSet').click(function () {
})
// 公会信息设置
$('.header .guildInfoSet').click(function () {
window.location.href = `./guildInfoSet.html`
window.location.href = `./guildInfoSet.html?guildNick=${guildNick}`
})
// 查看成员流水
$('.header .memberFlow').click(function (params) {

View File

@@ -6,7 +6,9 @@ if (env == 'test') {
}
// 封裝layer消息提醒框
let layerIndex
const showLoading = (content = '加载中') => {
var langReplace;
var localLang;
const showLoading = (content = langReplace(localLang.demoModule.layerIndex1)) => {
layer.open({
type: 2,
shadeClose: false,
@@ -19,7 +21,7 @@ const showLoading = (content = '加载中') => {
const hideLoading = (index) => {
layer.close(index)
}
const toastMsg = (content = '操作完成', time = 2) => {
const toastMsg = (content = langReplace(localLang.demoModule.layerIndex2), time = 2) => {
layer.open({
content,
time,
@@ -29,6 +31,7 @@ const toastMsg = (content = '操作完成', time = 2) => {
// 初始化函數
$(function () {
getInfoFromClient();
fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
setTimeout(function () {
// 頁面全屏
if (browser.app) {
@@ -42,9 +45,23 @@ $(function () {
$('.back .backs').click(() => {
window.location.href = document.referrer;
})
fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
langReplace = window.lang.replace;
localLang = window.lang;
translateFun();
}, 100)
})
function translateFun() {
var langReplace = window.lang.replace;
var localLang = window.lang;
$('.text1').text(langReplace(localLang.invitation.text1));
$('.text2').attr("placeholder", langReplace(localLang.invitation.text2));
$('.text3').text(langReplace(localLang.invitation.text3));
$('.text4').text(langReplace(localLang.invitation.text4));
$('.text5').text(langReplace(localLang.invitation.text5));
$('.text6').text(langReplace(localLang.invitation.text6));
$('.text7').text(langReplace(localLang.invitation.text7));
}
// 搜索接口
function searchUser(erbanNo) {
var str = '';
@@ -66,7 +83,7 @@ function searchUser(erbanNo) {
<img src="${res.data.userLevelVo.charmUrl}" alt="" class="charm">
<b>ID:${res.data.erbanNo}</b>
</div>
<div uid=${res.data.uid} class="but">إضافة </div>
<div uid=${res.data.uid} class="but">${langReplace(localLang.invitation.text8)} </div>
</li>
`
$('ul').append(str);
@@ -74,7 +91,7 @@ function searchUser(erbanNo) {
str += `
<li class="null">
<img src="./images/null.png" alt="">
<span>لا يوجد بيانات حتي الاّن</span>
<span>${langReplace(localLang.invitation.text9)}</span>
</li>`
$('ul').append(str);
} else {
@@ -84,7 +101,7 @@ function searchUser(erbanNo) {
},
error(err) {
hideLoading(layerIndex)
toastMsg(langReplace(localLang.demoModule.text23))
toastMsg(langReplace(localLang.demoModule.layerIndex3))
}
})
}
@@ -115,7 +132,7 @@ function invite(targetUid) {
data: { targetUid },
success(res) {
if (res.code === 200) {
toastMsg('تمت الدعوة بنجاح')
toastMsg(langReplace(localLang.invitation.text10))
$('.pub').hide();
} else {
toastMsg(res.message)
@@ -124,7 +141,7 @@ function invite(targetUid) {
},
error(err) {
hideLoading(layerIndex)
toastMsg(langReplace(localLang.demoModule.text23))
toastMsg(langReplace(localLang.demoModule.layerIndex3))
}
})
}

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