fix: third api

This commit is contained in:
zzc
2026-01-31 20:59:51 +08:00
parent 3fed213c30
commit a6ee0f8be6
4 changed files with 23 additions and 5 deletions

View File

@@ -8,6 +8,9 @@
paddingTop: statusBarHeight + 'px',
}"
>
<view class="nav-left" @tap="goHome">
<uni-icons type="home" size="24" color="#333"></uni-icons>
</view>
<text class="nav-title">新春祝福详情</text>
</view>
@@ -140,6 +143,12 @@ const goBack = () => {
uni.navigateBack();
};
const goHome = () => {
uni.reLaunch({
url: "/pages/index/index",
});
};
const makeGreeting = () => {
uni.switchTab({ url: "/pages/make/index" });
};
@@ -210,18 +219,23 @@ const decorList = ref([
z-index: 100;
display: flex;
align-items: center;
justify-content: center;
padding-left: 20rpx;
background: #fff6f6; /* Match page bg */
}
.nav-left {
position: absolute;
left: 20rpx;
padding: 10rpx 20rpx;
font-size: 48rpx;
line-height: 1;
display: flex;
align-items: center;
}
.nav-title {
font-size: 32rpx;
font-weight: 600;
margin-left: 10rpx;
/* margin-left: 10rpx; */
}
.content-scroll {