feat:优化需求
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user