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