fix: 🐛 修复 prod 环境下我的页面 头像 昵称 样式丢失

This commit is contained in:
xiangshu233 2024-02-20 22:16:56 +08:00
parent 72397fc462
commit aa2c45348e
2 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ body {
} }
a { a {
color: var(--van-cascader-active-color); color: var(--van-cascader-active-color) !important;
background: transparent; background: transparent;
text-decoration: none; text-decoration: none;
cursor: pointer; cursor: pointer;

View File

@ -5,12 +5,12 @@
class="my-card relative mx-6 flex flex-col items-center rounded-2xl pb-2 shadow-xl -top-18" class="my-card relative mx-6 flex flex-col items-center rounded-2xl pb-2 shadow-xl -top-18"
> >
<van-image <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 round
fit="cover" fit="cover"
:src="avatar" :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"> <p class="mb-2 text-5 font-black">
{{ nickname }} {{ nickname }}
</p> </p>