修改样式

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> <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>
@@ -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 {