feat:优化需求

This commit is contained in:
2026-07-22 21:33:50 +08:00
parent 17ab8beefa
commit d9d3ec573a
3 changed files with 62 additions and 18 deletions
+3 -4
View File
@@ -25,16 +25,15 @@
</view>
</view>
<!-- 限时秒杀标签 -->
<view class="tab-list-container">
<!-- <view class="tab-list-container">
<view class="tab-list" @click="onTab(index)" v-for="(item, index) in tabList" :key="index">
<text class="text-28 text-space" :style="{
color: curTab == index ? '#7A35F6' : '#666'
}">
{{ item.name }}
</text>
<!-- <view class="line" v-if="curTab == index"></view> -->
</view>
</view>
</view> -->
</view>
<view class="setting-view">
@@ -126,7 +125,7 @@ export default {
},
// 获取秒杀
onGetSeckillCurrent(type = 'current') {
const url = type === 'current' ? getSeckillCurrent : getSeckillPreview;
const url = type === 'current' ? getSeckillCurrent : getSeckillPreview;
url()
.then((res) => {
if (res.bizcode === 100) {
+2 -2
View File
@@ -17,14 +17,14 @@
</view>
<view class="tab-view">
<!-- <view class="tab-view">
<view class="tab-list" @click="onTab(index)" v-for="(item, index) in tabList" :key="index">
<text class="text-28 text-space" :style="{
color: curTab == index ? '#7A35F6' : '#666',
}">{{ item.name }}</text>
<view class="line" v-if="curTab == index"></view>
</view>
</view>
</view> -->
<view class="setting-view">
<view class="name-box">