style(components): 更新家庭页面和积分显示组件的样式
- 修改家庭页面中当前家庭和创建者标签的背景和文字颜色 - 更新积分显示组件的背景图配置
Showing
2 changed files
with
9 additions
and
6 deletions
| ... | @@ -136,6 +136,9 @@ const handleGoToPointsRule = () => { | ... | @@ -136,6 +136,9 @@ const handleGoToPointsRule = () => { |
| 136 | box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.08); | 136 | box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.08); |
| 137 | margin: 32rpx; | 137 | margin: 32rpx; |
| 138 | overflow: hidden; | 138 | overflow: hidden; |
| 139 | + background-image: url('https://cdn.ipadbiz.cn/lls_prog/images/dashboard_bg.png'); | ||
| 140 | + background-size: cover; | ||
| 141 | + background-position: center bottom; | ||
| 139 | } | 142 | } |
| 140 | 143 | ||
| 141 | .total-points-display-header { | 144 | .total-points-display-header { |
| ... | @@ -156,9 +159,9 @@ const handleGoToPointsRule = () => { | ... | @@ -156,9 +159,9 @@ const handleGoToPointsRule = () => { |
| 156 | justify-content: center; | 159 | justify-content: center; |
| 157 | align-items: center; | 160 | align-items: center; |
| 158 | // TODO: 等待正式背景图 | 161 | // TODO: 等待正式背景图 |
| 159 | - background-image: url('https://cdn.ipadbiz.cn/lls_prog/images/bg-test-2.png'); | 162 | + // background-image: url('https://cdn.ipadbiz.cn/lls_prog/images/bg-test-2.png'); |
| 160 | - background-size: cover; | 163 | + // background-size: cover; |
| 161 | - background-position: center bottom; | 164 | + // background-position: center bottom; |
| 162 | } | 165 | } |
| 163 | 166 | ||
| 164 | // .points-rule-tip { | 167 | // .points-rule-tip { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2022-09-19 14:11:06 | 2 | * @Date: 2022-09-19 14:11:06 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2025-09-11 20:23:23 | 4 | + * @LastEditTime: 2025-09-16 11:16:53 |
| 5 | * @FilePath: /lls_program/src/pages/MyFamily/index.vue | 5 | * @FilePath: /lls_program/src/pages/MyFamily/index.vue |
| 6 | * @Description: 我的家庭页面 - 展示用户加入的家庭列表 | 6 | * @Description: 我的家庭页面 - 展示用户加入的家庭列表 |
| 7 | --> | 7 | --> |
| ... | @@ -19,7 +19,7 @@ | ... | @@ -19,7 +19,7 @@ |
| 19 | <!-- 当前家庭标记 --> | 19 | <!-- 当前家庭标记 --> |
| 20 | <view | 20 | <view |
| 21 | v-if="family.is_current_family" | 21 | v-if="family.is_current_family" |
| 22 | - class="absolute top-2 right-2 bg-blue-500 text-white text-xs px-2 py-1 rounded-sm z-10" | 22 | + class="absolute top-2 right-2 bg-[rgba(229,231,235,0.85)] text-blue-500 text-xs px-2 py-1 rounded-sm z-10" |
| 23 | > | 23 | > |
| 24 | 当前家庭 | 24 | 当前家庭 |
| 25 | </view> | 25 | </view> |
| ... | @@ -27,7 +27,7 @@ | ... | @@ -27,7 +27,7 @@ |
| 27 | <!-- 创建者标记 --> | 27 | <!-- 创建者标记 --> |
| 28 | <view | 28 | <view |
| 29 | v-if="family.is_my" | 29 | v-if="family.is_my" |
| 30 | - class="absolute top-2 left-2 bg-yellow-500 text-white text-xs px-2 py-1 rounded-sm z-10" | 30 | + class="absolute top-2 left-2 bg-[rgba(229,231,235,0.85)] text-blue-500 text-xs px-2 py-1 rounded-sm z-10" |
| 31 | > | 31 | > |
| 32 | 创建者 | 32 | 创建者 |
| 33 | </view> | 33 | </view> | ... | ... |
-
Please register or login to post a comment