每日消费 - 修改样式问题
This commit is contained in:
@@ -51,7 +51,7 @@ body {
|
||||
.header .rule_icon {
|
||||
width: 1.8666666667rem;
|
||||
height: 0.6666666667rem;
|
||||
line-height: 0.6rem;
|
||||
line-height: 0.6666666667rem;
|
||||
background: url(../images/rule_cion.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
color: #FFED70;
|
||||
@@ -247,7 +247,7 @@ body {
|
||||
width: 8rem;
|
||||
height: 0.2133333333rem;
|
||||
border-radius: 0.2133333333rem;
|
||||
background: #824115;
|
||||
background: #000000;
|
||||
position: absolute;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
@@ -689,6 +689,7 @@ body {
|
||||
font-weight: 400;
|
||||
opacity: 0.6;
|
||||
margin-bottom: 0.5333333333rem;
|
||||
margin-top: 0.2666666667rem;
|
||||
}
|
||||
|
||||
.video,
|
||||
|
@@ -57,7 +57,7 @@ body {
|
||||
.rule_icon {
|
||||
width: px2rem(140);
|
||||
height: px2rem(50);
|
||||
line-height: px2rem(45);
|
||||
line-height: px2rem(50);
|
||||
background: url(../images/rule_cion.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
color: #FFED70;
|
||||
@@ -282,7 +282,7 @@ body {
|
||||
// width: px2rem(750);
|
||||
height: px2rem(16);
|
||||
border-radius: px2rem(16);
|
||||
background: #824115;
|
||||
background: #000000;
|
||||
position: absolute;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
@@ -739,6 +739,7 @@ body {
|
||||
font-weight: 400;
|
||||
opacity: 0.6;
|
||||
margin-bottom: px2rem(40);
|
||||
margin-top: px2rem(20);
|
||||
}
|
||||
|
||||
.video,
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.2 KiB |
@@ -33,9 +33,9 @@
|
||||
</div>
|
||||
<!-- tab -->
|
||||
<div class="tab_list">
|
||||
<div class="tab_box Daily_Support act_tab" activityType="DAY_CONSUME" >Daily Support</div>
|
||||
<div class="tab_box Weekly_Support" activityType="WEEK_CONSUME">Weekly Support</div>
|
||||
<div class="tab_box Monthly_Support" activityType="MONTH_CONSUME">Monthly Support</div>
|
||||
<div class="tab_box Daily_Support act_tab" activityType="DAY_CONSUME" ></div>
|
||||
<div class="tab_box Weekly_Support" activityType="WEEK_CONSUME"></div>
|
||||
<div class="tab_box Monthly_Support" activityType="MONTH_CONSUME"></div>
|
||||
</div>
|
||||
<!-- 倒计时 -->
|
||||
<div class="timeBox">
|
||||
@@ -72,7 +72,10 @@
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="name"></div>
|
||||
<div class="Today_Support"></div>
|
||||
<div class="Today_Support">
|
||||
<span class="title"></span>
|
||||
<span class="goldNum"></span>
|
||||
</div>
|
||||
<div class="Upgrade_Requires"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -121,7 +121,7 @@ function translateFun() {
|
||||
$('.Monthly_Support').html(langReplace(localLang.demoModule.Monthly_Support));
|
||||
$('.Days').html(langReplace(localLang.demoModule.Days));
|
||||
$('.header .lastTopUserVos .title').text(langReplace(localLang.demoModule.Yesterday_Champion))
|
||||
|
||||
$('.myBox .Today_Support .title').text(langReplace(localLang.demoModule.Today_Support));
|
||||
}
|
||||
console.log(unitProcessingAr(7000000, 1));
|
||||
var activityType = 'DAY_CONSUME';
|
||||
@@ -180,7 +180,7 @@ function getConfig() {
|
||||
// 处理顶部进度以及个人信息
|
||||
$('.myBox .tx').attr('src', res.data.avatar);
|
||||
$('.myBox .name').text(res.data.nick);
|
||||
$('.myBox .Today_Support').text(langReplace(localLang.demoModule.Today_Support) + res.data.goldNum);
|
||||
$('.myBox .Today_Support .goldNum').text( res.data.goldNum);
|
||||
$('.myBox .Upgrade_Requires').text(langReplace(localLang.demoModule.Upgrade_Requires) + getNextLevelDifference(res.data.goldNum, gearPosition));
|
||||
// 轮播图清空
|
||||
$('.reward_list .swiper-wrapper .swiper-slide').remove();
|
||||
@@ -422,6 +422,7 @@ $('.tab_list .tab_box').click(function () {
|
||||
'background': 'url(./images/day_box.png) no-repeat',
|
||||
'background-size': '100% 100%'
|
||||
});
|
||||
$('.myBox .Today_Support .title').text(langReplace(localLang.demoModule.Today_Support));
|
||||
} else if (activityType == 'WEEK_CONSUME') {
|
||||
// 周消费
|
||||
$('.header .lastTopUserVos .title').text(langReplace(localLang.demoModule.Last_Elite))
|
||||
@@ -430,7 +431,7 @@ $('.tab_list .tab_box').click(function () {
|
||||
'background': 'url(./images/week_box.png) no-repeat',
|
||||
'background-size': '100% 100%'
|
||||
});
|
||||
|
||||
$('.myBox .Today_Support .title').text(langReplace(localLang.demoModule.Weekly_SupportTwo));
|
||||
} else if (activityType == 'MONTH_CONSUME') {
|
||||
// 月消费
|
||||
$('.header .lastTopUserVos .title').text(langReplace(localLang.demoModule.Last_Legend))
|
||||
@@ -439,7 +440,7 @@ $('.tab_list .tab_box').click(function () {
|
||||
'background': 'url(./images/month_box.png) no-repeat',
|
||||
'background-size': '100% 100%'
|
||||
});
|
||||
|
||||
$('.myBox .Today_Support .title').text(langReplace(localLang.demoModule.Monthly_SupportTwo));
|
||||
}
|
||||
getConfig();
|
||||
})
|
||||
|
@@ -81,6 +81,7 @@ langAr = {
|
||||
Today_Support: 'دعم اليوم:',
|
||||
Upgrade_Requires: 'متطلبات الترقية:',
|
||||
Consume:'استهلاك ',
|
||||
|
||||
Weekly_SupportTwo:'الدعم الأسبوعي',
|
||||
Monthly_SupportTwo:'الدعم الشهري',
|
||||
}
|
||||
}
|
@@ -79,6 +79,7 @@ langEn = {
|
||||
Today_Support: `Today's Support:`,
|
||||
Upgrade_Requires: 'Upgrade Requires:',
|
||||
Consume:'Consume',
|
||||
|
||||
Weekly_SupportTwo:'Weekly Support',
|
||||
Monthly_SupportTwo:'Monthly Support',
|
||||
}
|
||||
}
|
@@ -79,7 +79,8 @@ langTr = {
|
||||
Today_Support: 'Bugünün Desteği:',
|
||||
Upgrade_Requires: 'Yükseltme Gereksinimleri:',
|
||||
Consume:'tüket',
|
||||
|
||||
Weekly_SupportTwo:'Haftalık Destek',
|
||||
Monthly_SupportTwo:'Aylık Destek',
|
||||
}
|
||||
|
||||
}
|
@@ -81,5 +81,7 @@ langZh = {
|
||||
Today_Support: '今日支持:',
|
||||
Upgrade_Requires: '升級至下一等級所需:',
|
||||
Consume:'消耗',
|
||||
Weekly_SupportTwo:'每週支持',
|
||||
Monthly_SupportTwo:'每月支持',
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user