From 573e16656be3d1213e6a25e04136f1df310356ad Mon Sep 17 00:00:00 2001 From: sws <1141121512@qq.com> Date: Tue, 7 Nov 2023 10:51:16 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=B5=8B=E8=AF=95=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/plugins/signin/detail/detail.vue | 8 ++++++-- pages/user/user.vue | 14 +++++++------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/pages/plugins/signin/detail/detail.vue b/pages/plugins/signin/detail/detail.vue index 0a9454bc..f0a0be19 100644 --- a/pages/plugins/signin/detail/detail.vue +++ b/pages/plugins/signin/detail/detail.vue @@ -59,7 +59,7 @@ - + @@ -221,6 +221,7 @@ num: defore_days - i, class: 'cr-grey-c', today: false, + current_month: false, }); } // 本月计数 @@ -231,6 +232,7 @@ num: i, class: 'cr-black', today: i === today ? true : false, + current_month: true, }); if (day.length === 7) { days.push(day); @@ -239,11 +241,13 @@ } // 本月计数 if (day.length > 0) { + var num = 1; for (let i = day.length; i < 7; i++) { day.push({ - num: i, + num: num++, class: 'cr-grey-c', today: false, + current_month: false, }); } days.push(day); diff --git a/pages/user/user.vue b/pages/user/user.vue index 88759cd9..6a0f5844 100644 --- a/pages/user/user.vue +++ b/pages/user/user.vue @@ -14,7 +14,7 @@ {{ nickname }} ID - {{ user_id }} + {{ user_id }} @@ -46,13 +46,13 @@ - + 会员码 - + @@ -100,7 +100,7 @@ - + {{ item.name }} @@ -161,10 +161,10 @@ - + - + @@ -484,7 +484,7 @@ // url事件 url_event(e) { app.globalData.url_event(e); - } + }, }, };