feat: 选品广场购买结算返回原位

This commit is contained in:
2026-09-08 11:10:52 +08:00
parent a573a61be7
commit 34b2ac37b8
8 changed files with 1039 additions and 630 deletions
+29 -9
View File
@@ -6,6 +6,7 @@
:showLeftButton="false"
>
<view class="ai-store-page h100 flex-column">
<view v-if="index === 0" class="page-bg page-bg--ai"></view>
<view class="top-area" :class="{'top-area1': index === 1}">
<view class="tab-header">
<view
@@ -40,7 +41,7 @@
</view>
</view>
<aistore_earnings_carousel v-if="index === 0" :pageSize="30" />
<!-- <view class="m-t-16 m-b-8" v-if="timeRound.length && index === 0">
<view class="m-t-16 m-b-8" v-if="timeRound.length && index === 0">
<scroll-view scroll-x class="time-scroll">
<view class="flex">
<view
@@ -54,7 +55,7 @@
</view>
</view>
</scroll-view>
</view> -->
</view>
<view style="padding: 80rpx 0 120rpx" v-if="index === 1">
<view style="position: relative">
<view class="shop-summary-card">
@@ -353,11 +354,12 @@
status: mescroll?.params?.status,
});
} else {
const id = selectedTimeId.value;
res = await api.getSpuPage({
pageNo: mescroll?.num || 1,
pageSize: mescroll?.size || 10,
keyWord: searchText.value,
// timeId: selectedTimeId.value,
...(id !== null && id !== undefined && id !== '' ? { timeId: id } : {}),
...mescroll.params,
});
}
@@ -472,16 +474,32 @@
.ai-store-page {
min-height: 100vh;
position: relative;
}
.page-bg {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
pointer-events: none;
z-index: 0;
}
.page-bg--ai {
background: url('/static/ai_bg.png') no-repeat center top;
background-size: 100% auto;
}
.top-area {
position: relative;
z-index: 1;
padding: 0 24rpx 24rpx;
background: url('/static/ai_bg.png') no-repeat center top;
background-size: cover;
// border-radius: 0 0 30rpx 30rpx;
}
.top-area1{
position: relative;
z-index: 1;
background: #2556ec;
}
@@ -560,8 +578,10 @@
padding: 0 22rpx;
border-radius: 28rpx;
font-size: 28rpx;
color: rgba(255, 255, 255, 0.85);
background: rgba(255, 255, 255, 0.15);
// color: rgba(255, 255, 255, 0.85);
color: #2556ec;
background: rgba(255, 255, 255, 0.55);
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.01);
}
.activeTime {