diff --git a/view/molistar/modules/vip_Center/js/index.js b/view/molistar/modules/vip_Center/js/index.js
index 54e3e623..756411e8 100644
--- a/view/molistar/modules/vip_Center/js/index.js
+++ b/view/molistar/modules/vip_Center/js/index.js
@@ -152,9 +152,10 @@ function renderPermission(actIndex) {
$('.permission .box_warp').append(str);
})
// 专有权列表渲染
- $('.exclusive_discounts .title_name .num').text(`(${vipInfos[actIndex].ownAuthTypes.length}/${vipAuthInfos.length})`)
+ // $('.exclusive_discounts .title_name .num').text(`(${vipInfos[actIndex].ownAuthTypes.length}/${vipAuthInfos.length})`)
$('.exclusive_discounts .box_warp').empty()
+ let actIndexNum = vipAuthInfos.length
vipAuthInfos.forEach((item, index) => {
var str = `
@@ -165,13 +166,16 @@ function renderPermission(actIndex) {
var $contentBox = $(str);
if (!vipInfos[actIndex].ownAuthTypes.includes(item.authType)) {
$contentBox.addClass('noactive')
+ actIndexNum -= 1;
}
+ $('.exclusive_discounts .title_name .num').text(`(${actIndexNum}/${vipAuthInfos.length})`)
+
$('.exclusive_discounts .box_warp').append($contentBox);
})
// 购买弹窗
if (vipInfos[actIndex].buyAmount != 0) {
$('.payPopup .payPopup_warp .buyAmount .num').text(vipInfos[actIndex].buyAmount)
- $('.bottom_renew .wrap .left .buyAmount').text(`${vipInfos[actIndex].buyAmount}/30`)
+ $('.bottom_renew .wrap .left .buyAmount').text(`${vipInfos[actIndex].buyAmount} / 30${langReplace(localLang.demoModule.Days)}`)
$('.payPopup .payPopup_warp .pay_btn').attr('vipLevel', vipInfos[actIndex].vipLevel)
$('.bottom_renew .wrap').show()
$('.bottom_renew .wrap_txt').hide()
@@ -191,8 +195,8 @@ $('.payPopup .payPopup_warp .pay_btn').click(function () {
url: urlPrefix + "/vip/openWithDiamond",
contentType: 'application/json;charset=UTF-8',
data: {
- // roomUid:pubInfo.uid,
- roomUid:3203,
+ roomUid:pubInfo.uid,
+ // roomUid:3203,
vipLevel
},
success: function (res) {
@@ -243,6 +247,7 @@ $('.exclusive_discounts .box_warp').on('click', '.content_box', function () {
let obj = JSON.parse($(this).attr("obj"))
$('.selectAccount .selectAccount_in .descPic img').attr('src', obj.descPic)
$('.selectAccount .selectAccount_in .authIntro').text(obj.authIntro)
+ $('.selectAccount .selectAccount_in .name span').text(obj.authName)
$('.selectAccount').show()
})
// 关闭详情弹窗
diff --git a/view/molistar/modules/vip_Center/local/ar.js b/view/molistar/modules/vip_Center/local/ar.js
index 4572606e..019a3a6a 100644
--- a/view/molistar/modules/vip_Center/local/ar.js
+++ b/view/molistar/modules/vip_Center/local/ar.js
@@ -22,6 +22,7 @@ langAr = {
},
Confirm_Purchase:'تأكيد الشراء',
VIP_Center:'مركز كبار الشخصيات',
+ Days:'أيام',
}
diff --git a/view/molistar/modules/vip_Center/local/en.js b/view/molistar/modules/vip_Center/local/en.js
index feab5614..e832155b 100644
--- a/view/molistar/modules/vip_Center/local/en.js
+++ b/view/molistar/modules/vip_Center/local/en.js
@@ -20,6 +20,7 @@ langEn = {
},
Confirm_Purchase:'Confirm Purchase',
VIP_Center:'VIP Center',
+ Days:'Days',
},
}
diff --git a/view/molistar/modules/vip_Center/local/tr.js b/view/molistar/modules/vip_Center/local/tr.js
index 6b662389..9f1bef6b 100644
--- a/view/molistar/modules/vip_Center/local/tr.js
+++ b/view/molistar/modules/vip_Center/local/tr.js
@@ -20,6 +20,7 @@ langTr = {
},
Confirm_Purchase:'Satın Alımı Onayla',
VIP_Center:'VIP Merkezi',
+ Days:'Günler',
}
diff --git a/view/molistar/modules/vip_Center/local/zh.js b/view/molistar/modules/vip_Center/local/zh.js
index 00875689..fd1144c4 100644
--- a/view/molistar/modules/vip_Center/local/zh.js
+++ b/view/molistar/modules/vip_Center/local/zh.js
@@ -22,6 +22,7 @@ langZh = {
},
Confirm_Purchase:'確認購買',
VIP_Center:'VIP中心',
+ Days:'天數',
}
}
\ No newline at end of file