From 55449dd52235bb642d15bddeb4b4a16ff21f2727 Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Thu, 16 Jan 2025 11:41:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/task/index.vue | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/pages/task/index.vue b/pages/task/index.vue index 844300b..aae4fb2 100644 --- a/pages/task/index.vue +++ b/pages/task/index.vue @@ -15,13 +15,13 @@ 已连续签到 {{ datas.signDays }} - + {{ item.status == 1 ? '已签到' : '待签到' }} - + {{ item.signDay.substr(5, 8) }} @@ -357,20 +357,20 @@ let buttonUrl = item.buttonUrl if (item.title && item.title.indexOf('每周打卡奖励') != -1) { buttonUrl = item.buttonUrl + '?source=2' - + uni.navigateTo({ url: buttonUrl }) } if (item.title && item.title.indexOf('每月打卡奖励1') != -1) { buttonUrl = item.buttonUrl + '?source=3' - + uni.navigateTo({ url: buttonUrl }) } if (item.title && item.title.indexOf('每月打卡奖励2') != -1) { - + let res = await taskReceive({ id: item.id }) @@ -389,7 +389,7 @@ icon: 'none' }) } - + // buttonUrl = // `${item.buttonUrl}?standard=${item.discNumber == null ? true : false}&taskId=${item.id}` } @@ -504,7 +504,7 @@ } } - >view:last-child { + .contentTopTwo { margin-top: 100rpx; display: flex; align-items: center; @@ -514,8 +514,9 @@ position: relative; >view { + display: flex; margin-top: 20rpx; - width: 86rpx; + width: 100%; height: 94rpx; background: linear-gradient(180deg, #FFF7E3 0%, #FFFFFF 100%); border-radius: 14rpx 14rpx 0rpx 0rpx; @@ -530,6 +531,7 @@ } } } + } .content {