Skip to content

Commit

Permalink
fix: 🐛 修复 prod 环境下我的页面 头像 昵称 样式丢失
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangshu233 committed Feb 20, 2024
1 parent 72397fc commit aa2c453
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/styles/common.less
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ body {
}

a {
color: var(--van-cascader-active-color);
color: var(--van-cascader-active-color) !important;
background: transparent;
text-decoration: none;
cursor: pointer;
Expand Down
4 changes: 2 additions & 2 deletions src/views/my/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
class="my-card relative mx-6 flex flex-col items-center rounded-2xl pb-2 shadow-xl -top-18"
>
<van-image
class="fixed h-22 w-22 border-2 border-solid -top-10"
class="h-22 w-22 border-2 border-solid !absolute -top-10"
round
fit="cover"
:src="avatar"
/>
<div class="flex flex-col items-center -mt-10">
<div class="mt-14 flex flex-col items-center">
<p class="mb-2 text-5 font-black">
{{ nickname }}
</p>
Expand Down

0 comments on commit aa2c453

Please sign in to comment.