style(MastersDetail): 更新卡片样式背景色和内边距
调整卡片背景色为更柔和的色调并增加内边距,提升视觉舒适度
Showing
1 changed file
with
4 additions
and
2 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2025-10-30 20:00:25 | 2 | * @Date: 2025-10-30 20:00:25 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2025-10-31 16:01:53 | 4 | + * @LastEditTime: 2025-11-02 12:16:55 |
| 5 | * @FilePath: /stdj_h5/src/views/MastersDetail.vue | 5 | * @FilePath: /stdj_h5/src/views/MastersDetail.vue |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | --> | 7 | --> |
| ... | @@ -69,7 +69,8 @@ const formatNameWithSuperscript = (name) => { | ... | @@ -69,7 +69,8 @@ const formatNameWithSuperscript = (name) => { |
| 69 | 69 | ||
| 70 | .item-card { | 70 | .item-card { |
| 71 | position: relative; | 71 | position: relative; |
| 72 | - background: #fff; | 72 | + padding: 0.5rem; |
| 73 | + background: #F2EBDB; | ||
| 73 | border: 2px solid #6B4102; | 74 | border: 2px solid #6B4102; |
| 74 | overflow: hidden; | 75 | overflow: hidden; |
| 75 | transition: transform 0.2s ease; | 76 | transition: transform 0.2s ease; |
| ... | @@ -85,6 +86,7 @@ const formatNameWithSuperscript = (name) => { | ... | @@ -85,6 +86,7 @@ const formatNameWithSuperscript = (name) => { |
| 85 | padding: 0.85rem; | 86 | padding: 0.85rem; |
| 86 | text-align: center; | 87 | text-align: center; |
| 87 | color: #6B4102; | 88 | color: #6B4102; |
| 89 | + background: #FCF8F1; | ||
| 88 | } | 90 | } |
| 89 | 91 | ||
| 90 | .item-role { | 92 | .item-role { | ... | ... |
-
Please register or login to post a comment