29415
This commit is contained in:
@@ -29,7 +29,7 @@ export default {
|
||||
current: 1,
|
||||
categoryType: '0',
|
||||
list: [],
|
||||
parentName: ''
|
||||
parentName: '',
|
||||
}
|
||||
},
|
||||
onLoad(o) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div class="header" v-if="tabList.length">
|
||||
<div class="header-tab">
|
||||
<img src="https://cdn.cunwuyun.cn/dvcp/live/dh.png" alt="" class="more-icon" @click="toSelect()">
|
||||
<u-tabs :list="tabList" :current="currIndex" @change="changeTab" style="width:650rpx" :font-size="26"></u-tabs>
|
||||
<u-tabs :list="tabList" :current="currIndex" @change="changeTab" style="width:650rpx" is-scroll :font-size="26"></u-tabs>
|
||||
<!-- <div v-for="(item, index) in tabList" :key="index" @click="changeTab(item.id)" v-if="index < 5" :class="currId == item.id ? 'tab-item active-item' : 'tab-item'">{{item.name}}<span class="active-line" v-if="currId == item.id"></span></div> -->
|
||||
</div>
|
||||
</div>
|
||||
@@ -131,7 +131,7 @@
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code === 0) {
|
||||
this.newsList = this.current == 1 ? [...res.data.records] : [...this.newsList, ...res.data.records]
|
||||
this.newsList = this.current == 1 ? res.data.records : [...this.newsList, ...res.data.records]
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user