分类优化-0809
parent
cb5f4ecf6b
commit
9bd9c2993a
|
@ -4,7 +4,7 @@
|
|||
<view slot="content" style="margin: -20rpx -20rpx 0 -20rpx;">
|
||||
<view class="dis">
|
||||
<view class="cate-left-box">
|
||||
<scroll-view scroll-y :style="{height: scrollHeight +'px'}" class="bacf" :scroll-top="tabsScrollTop" @scroll="scroll">
|
||||
<scroll-view scroll-y :style="{height: scrollHeight +'px'}" class="bacf">
|
||||
<view>
|
||||
<view class="flexs clips1 pad-z20 fon24"
|
||||
@tap="chooseCate(index)" :style="{backgroundColor: current==index ? '#ff3673' : '#FFFFFF',color: current==index ? '#FFFFFF' : '#000000'}"
|
||||
|
@ -111,6 +111,8 @@
|
|||
for(let i=0;i<this.cateList.length;i++){
|
||||
this.ifLoading = true;
|
||||
let params = {
|
||||
page:1,
|
||||
size:9999,
|
||||
category_id:this.cateList[i].id
|
||||
}
|
||||
this.$requst.post('/api/spu/list',params).then(res=>{
|
||||
|
|
Loading…
Reference in New Issue