修改样式

This commit is contained in:
duan
2025-01-16 11:41:58 +08:00
parent 886aa998cc
commit 55449dd522

View File

@@ -15,13 +15,13 @@
<image src="@/static/task/renwubg.png" mode=""></image>
<view>已连续签到 <text class="num">{{ datas.signDays }}</text> </view>
</view>
<view>
<view class="contentTopTwo">
<view v-for="item in datas.signInList" :key="item.id"
:style="item.status == 1 ? 'color:#EFA765' : 'color:#999'">
<text class="" style="font-size: 28rpx;">
{{ item.status == 1 ? '已签到' : '待签到' }}
</text>
<view style="display: flex;" :style="item.status == 1 ? 'color:#999' : 'color:#EFA765'">
<view :style="item.status == 1 ? 'color:#999' : 'color:#EFA765'">
{{ item.signDay.substr(5, 8) }}
</view>
<image v-if="item.status == 0" src="@/static/task/xing (1).png" mode=""></image>
@@ -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 {