修改样式
This commit is contained in:
@@ -15,13 +15,13 @@
|
|||||||
<image src="@/static/task/renwubg.png" mode=""></image>
|
<image src="@/static/task/renwubg.png" mode=""></image>
|
||||||
<view>已连续签到 <text class="num">{{ datas.signDays }}</text> 天</view>
|
<view>已连续签到 <text class="num">{{ datas.signDays }}</text> 天</view>
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view class="contentTopTwo">
|
||||||
<view v-for="item in datas.signInList" :key="item.id"
|
<view v-for="item in datas.signInList" :key="item.id"
|
||||||
:style="item.status == 1 ? 'color:#EFA765' : 'color:#999'">
|
:style="item.status == 1 ? 'color:#EFA765' : 'color:#999'">
|
||||||
<text class="" style="font-size: 28rpx;">
|
<text class="" style="font-size: 28rpx;">
|
||||||
{{ item.status == 1 ? '已签到' : '待签到' }}
|
{{ item.status == 1 ? '已签到' : '待签到' }}
|
||||||
</text>
|
</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) }}
|
{{ item.signDay.substr(5, 8) }}
|
||||||
</view>
|
</view>
|
||||||
<image v-if="item.status == 0" src="@/static/task/xing (1).png" mode=""></image>
|
<image v-if="item.status == 0" src="@/static/task/xing (1).png" mode=""></image>
|
||||||
@@ -357,20 +357,20 @@
|
|||||||
let buttonUrl = item.buttonUrl
|
let buttonUrl = item.buttonUrl
|
||||||
if (item.title && item.title.indexOf('每周打卡奖励') != -1) {
|
if (item.title && item.title.indexOf('每周打卡奖励') != -1) {
|
||||||
buttonUrl = item.buttonUrl + '?source=2'
|
buttonUrl = item.buttonUrl + '?source=2'
|
||||||
|
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: buttonUrl
|
url: buttonUrl
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if (item.title && item.title.indexOf('每月打卡奖励1') != -1) {
|
if (item.title && item.title.indexOf('每月打卡奖励1') != -1) {
|
||||||
buttonUrl = item.buttonUrl + '?source=3'
|
buttonUrl = item.buttonUrl + '?source=3'
|
||||||
|
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: buttonUrl
|
url: buttonUrl
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if (item.title && item.title.indexOf('每月打卡奖励2') != -1) {
|
if (item.title && item.title.indexOf('每月打卡奖励2') != -1) {
|
||||||
|
|
||||||
let res = await taskReceive({
|
let res = await taskReceive({
|
||||||
id: item.id
|
id: item.id
|
||||||
})
|
})
|
||||||
@@ -389,7 +389,7 @@
|
|||||||
icon: 'none'
|
icon: 'none'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// buttonUrl =
|
// buttonUrl =
|
||||||
// `${item.buttonUrl}?standard=${item.discNumber == null ? true : false}&taskId=${item.id}`
|
// `${item.buttonUrl}?standard=${item.discNumber == null ? true : false}&taskId=${item.id}`
|
||||||
}
|
}
|
||||||
@@ -504,7 +504,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
>view:last-child {
|
.contentTopTwo {
|
||||||
margin-top: 100rpx;
|
margin-top: 100rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -514,8 +514,9 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
>view {
|
>view {
|
||||||
|
display: flex;
|
||||||
margin-top: 20rpx;
|
margin-top: 20rpx;
|
||||||
width: 86rpx;
|
width: 100%;
|
||||||
height: 94rpx;
|
height: 94rpx;
|
||||||
background: linear-gradient(180deg, #FFF7E3 0%, #FFFFFF 100%);
|
background: linear-gradient(180deg, #FFF7E3 0%, #FFFFFF 100%);
|
||||||
border-radius: 14rpx 14rpx 0rpx 0rpx;
|
border-radius: 14rpx 14rpx 0rpx 0rpx;
|
||||||
@@ -530,6 +531,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
|
|||||||
Reference in New Issue
Block a user