Commit d8f5b687 authored by 王炽's avatar 王炽

66666

parent b8acffaa
......@@ -558,6 +558,11 @@
background: #D3A458; // 已签到状态的金色背景
}
&.disabled {
filter: grayscale(100%); // 使用滤镜实现置灰效果
opacity: 0.6; // 降低整体透明度
}
// 奖励标签样式
.bonus_tag {
position: absolute;
......
......@@ -239,7 +239,10 @@
<!-- 第1-7天奖励 -->
<view class="daily_reward_item" v-for="day in 7" :key="day">
<!-- 奖励内容容器 -->
<view class="reward_content_container" :class="{ signed: signinStatus[day - 1] }">
<view class="reward_content_container" :class="{
signed: signinStatus[day - 1],
disabled: day < todaynum && !signinStatus[day - 1]
}">
<text class="reward_points">+{{ rewardPoints[day - 1] }}</text>
<!-- 奖励标签,通过变量控制显示 -->
<view class="bonus_tag" v-if="bonusTagStatus[day - 1]">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment