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 {