fix(样式): 样式兼容问题处理

This commit is contained in:
hzj 2025-09-23 14:49:49 +08:00
parent 323069c340
commit 493c743e88

View File

@ -95,40 +95,13 @@
<!-- 天数 --> <!-- 天数 -->
<div style="width: 10%; position: relative; margin-right: 10px"> <div style="width: 10%; position: relative; margin-right: 10px">
<img :src="images.dayBg" alt="" width="100%" style="display: block" /> <img :src="images.dayBg" alt="" width="100%" style="display: block" />
<div <div class="time">{{ Days }}D</div>
style="
position: absolute;
inset: 0;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
font-weight: 860;
"
>
{{ Days }}D
</div>
</div> </div>
<!-- 当天时间倒计时 --> <!-- 当天时间倒计时 -->
<div style="width: 23.75%; position: relative"> <div style="width: 23.75%; position: relative">
<img :src="images.timeBg" alt="" width="100%" style="display: block" /> <img :src="images.timeBg" alt="" width="100%" style="display: block" />
<div <div class="time">{{ Hours }} : {{ Minutes }} : {{ Second }}</div>
style="
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
font-weight: 860;
"
>
{{ Hours }} : {{ Minutes }} : {{ Second }}
</div>
</div> </div>
</div> </div>
@ -425,7 +398,9 @@
rgba(255, 238, 198, 1) rgba(255, 238, 198, 1)
); );
background-clip: text; background-clip: text;
-webkit-background-clip: text;
color: transparent; color: transparent;
-webkit-text-fill-color: transparent;
" "
> >
{{ showTopOne.group }} {{ showTopOne.group }}
@ -1113,6 +1088,17 @@ onUnmounted(() => {
position: relative; position: relative;
} }
.time {
font-size: 0.9em;
position: absolute;
inset: 0;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
font-weight: 860;
}
.topUserNickname::-webkit-scrollbar { .topUserNickname::-webkit-scrollbar {
display: none; display: none;
} }