fix: ui
All checks were successful
构建并部署前端到生产环境 / build-and-deploy (push) Successful in 2m17s

This commit is contained in:
luo
2026-08-13 14:51:44 +08:00
parent 42d94ce290
commit e1498cb5a6

View File

@@ -18,8 +18,7 @@
class="tab-swiper package-swiper" class="tab-swiper package-swiper"
:current="packageTypeIndex" :current="packageTypeIndex"
:circular="false" :circular="false"
:acceleration="true" :disable-touch="true"
@change="onPackageSwiperChange"
> >
<swiper-item v-for="tab in packageTypeTabs" :key="tab.value" class="package-swiper-item"> <swiper-item v-for="tab in packageTypeTabs" :key="tab.value" class="package-swiper-item">
<scroll-view v-if="activePackageType === tab.value" scroll-y class="package-scroll"> <scroll-view v-if="activePackageType === tab.value" scroll-y class="package-scroll">
@@ -249,12 +248,6 @@
loadPackages(packageType); loadPackages(packageType);
}; };
const onPackageSwiperChange = (event) => {
const nextIndex = Number(event?.detail?.current);
const nextTab = packageTypeTabs[nextIndex];
if (nextTab) switchPackageType(nextTab.value);
};
const loadWalletBalance = async () => { const loadWalletBalance = async () => {
try { try {
const data = await walletApi.getDetail(userStore.state.identifier); const data = await walletApi.getDetail(userStore.state.identifier);
@@ -724,9 +717,10 @@
/* Screenshot-aligned package list skin */ /* Screenshot-aligned package list skin */
.container { .container {
position: fixed; position: fixed;
top: 88rpx; /* Keep the page below the platform navigation bar on every screen size. */
top: var(--window-top);
right: 0; right: 0;
bottom: 0; bottom: var(--window-bottom);
left: 0; left: 0;
display: flex; display: flex;
flex-direction: column; flex-direction: column;