From 724cf3944836c70a8380a60e409a59f3bc7ec09a Mon Sep 17 00:00:00 2001 From: qf Date: Wed, 8 Feb 2023 18:01:03 +0800 Subject: [PATCH] =?UTF-8?q?23=E6=83=85=E4=BA=BA=E8=8A=82=EF=BC=9Aremain?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/peko/activity/2023-Valentines-Day/css/index.css | 1 + view/peko/activity/2023-Valentines-Day/css/index.scss | 2 +- view/peko/activity/2023-Valentines-Day/js/index.js | 8 ++++---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/view/peko/activity/2023-Valentines-Day/css/index.css b/view/peko/activity/2023-Valentines-Day/css/index.css index 9a562aa..7a051e3 100644 --- a/view/peko/activity/2023-Valentines-Day/css/index.css +++ b/view/peko/activity/2023-Valentines-Day/css/index.css @@ -1031,6 +1031,7 @@ body { } .cpRecordBox .cpRecord_in ul li .jiangli { width: 2.5rem; + text-align: center; } .cpRecordBox .cpRecord_in .tips { width: 100%; diff --git a/view/peko/activity/2023-Valentines-Day/css/index.scss b/view/peko/activity/2023-Valentines-Day/css/index.scss index 8e1aa22..deca14d 100644 --- a/view/peko/activity/2023-Valentines-Day/css/index.scss +++ b/view/peko/activity/2023-Valentines-Day/css/index.scss @@ -1181,7 +1181,7 @@ body { } .jiangli { width: 2.5rem; - + text-align: center; } } } diff --git a/view/peko/activity/2023-Valentines-Day/js/index.js b/view/peko/activity/2023-Valentines-Day/js/index.js index 4847ca4..834a92f 100644 --- a/view/peko/activity/2023-Valentines-Day/js/index.js +++ b/view/peko/activity/2023-Valentines-Day/js/index.js @@ -367,7 +367,7 @@ function buy(id, num, type) { toastMsg('購買成功,信物已放進背包,快送給你心儀的TA吧~') canGet = true } else if (res.data.prop.type == 6) { - $('.petition-wrap .myticket span e').html(res.data.prop.remain) + $('.petition-wrap .myticket span e').html(res.data.remain) $('.gx .gx_in .box li img').attr('src', res.data.prop.prop.icon) $('.gx .gx_in .box li span').attr('src', res.data.prop.name) $('.gx .gx_in .tips').html(`*情人節限定5位靚號:52XXX(XXX為隨機數字,一組為2個靚號,
聯系客服領取:LINE: pekoyuyin)`) @@ -379,7 +379,7 @@ function buy(id, num, type) { // }else { // $('.gx .gx_in .box li img').removeClass('mingpai') // } - $('.petition-wrap .myticket span e').html(res.data.prop.remain) + $('.petition-wrap .myticket span e').html(res.data.remain) $('.gx .gx_in .box li img').attr('src', res.data.prop.icon) $('.gx .gx_in .box li span').attr('src', res.data.prop.name) $('.gx .gx_in .tips').html(`獎勵將自動發放到裝扮中心,快去展示自己吧~`) @@ -388,9 +388,9 @@ function buy(id, num, type) { } else { if (type == 6) { toastMsg('很遺憾沒有抽到,距離靚號就差一點啦~') - $('.petition-wrap .myticket span e').html(res.data.prop.remain) + $('.petition-wrap .myticket span e').html(res.data.remain) } else if(type == 1,type == 3,type == 4,type == 5){ - $('.petition-wrap .myticket span e').html(res.data.prop.remain) + $('.petition-wrap .myticket span e').html(res.data.remain) }else{ $('.letter-wrap .letter p e').html(res.data.remain) toastMsg(res.message)