style(我的排名模块): 将sticky调整成fixed

This commit is contained in:
hzj 2025-12-01 16:49:01 +08:00
parent 67fdfde553
commit bc1db9d8d5
5 changed files with 5 additions and 7 deletions

View File

@ -294,7 +294,7 @@
<!-- 我的排名 --> <!-- 我的排名 -->
<itemCenter <itemCenter
style="position: sticky; inset: 0; z-index: 2" style="position: fixed; bottom: 0; z-index: 2"
:imgUrl="images.myRankingBg" :imgUrl="images.myRankingBg"
:contentStyle="`padding: 2% 8% 0`" :contentStyle="`padding: 2% 8% 0`"
> >

View File

@ -303,7 +303,7 @@
<!-- 我的排名 --> <!-- 我的排名 -->
<itemCenter <itemCenter
style="position: sticky; inset: 0; z-index: 2" style="position: fixed; bottom: 0; z-index: 2"
:imgUrl="images.myRankingBg" :imgUrl="images.myRankingBg"
:contentStyle="`padding: 2% 7% 0`" :contentStyle="`padding: 2% 7% 0`"
> >

View File

@ -555,9 +555,8 @@
<!-- 我的排名 --> <!-- 我的排名 -->
<div <div
style=" style="
position: sticky; position: fixed;
bottom: 0; bottom: 0;
left: 0;
width: 100vw; width: 100vw;
background-color: rgba(77, 30, 22, 1); background-color: rgba(77, 30, 22, 1);
display: flex; display: flex;

View File

@ -247,7 +247,7 @@
<!-- 我的排名 --> <!-- 我的排名 -->
<div <div
style="position: sticky; bottom: 0; z-index: 999; padding: 0 1px; width: 100%" style="position: fixed; bottom: 0; z-index: 999; padding: 0 1px; width: 100%"
:style="{ backgroundColor }" :style="{ backgroundColor }"
> >
<div <div

View File

@ -366,9 +366,8 @@
<!-- 我的排名 --> <!-- 我的排名 -->
<div <div
style=" style="
position: sticky; position: fixed;
bottom: 0; bottom: 0;
left: 0;
width: 100vw; width: 100vw;
background-color: #311300; background-color: #311300;
display: flex; display: flex;