|
|
|
@ -49,7 +49,7 @@ |
|
|
|
|
<view style="height: 100%;width: 100%;"> |
|
|
|
|
<scroll-view scroll-y class="scroll-box" enable-back-to-top scroll-with-animation> |
|
|
|
|
<view class="right" style="width: calc(100vw - 200rpx);" v-if="categoryData.length"> |
|
|
|
|
<image class="type-img" v-if="categoryData[listId].image" :src="categoryData[listId].image" lazy-load mode="aspectFill"></image> |
|
|
|
|
<!-- <image class="type-img" v-if="categoryData[listId].image" :src="categoryData[listId].image" lazy-load mode="aspectFill"></image> --> |
|
|
|
|
<!-- <view class="type-box u-flex u-col-center u-row-center"> |
|
|
|
|
<view class="u-iconfont uicon-minus" style="color: #d3d3d3;font-size: 28rpx;"></view> |
|
|
|
|
<text class="type-title">{{ categoryData[listId].name }}</text> |
|
|
|
@ -96,7 +96,9 @@ export default { |
|
|
|
|
data() { |
|
|
|
|
return { |
|
|
|
|
listId: 0, |
|
|
|
|
categoryData: [], |
|
|
|
|
categoryData: [ |
|
|
|
|
|
|
|
|
|
], |
|
|
|
|
twoData:[], |
|
|
|
|
options: [{ |
|
|
|
|
custom: true // 该栏目开启自定义模式 |
|
|
|
@ -160,7 +162,9 @@ export default { |
|
|
|
|
id: this.categoryStyleId |
|
|
|
|
}).then(res => { |
|
|
|
|
if (res.code === 1) { |
|
|
|
|
|
|
|
|
|
this.categoryData = res.data.children; |
|
|
|
|
console.log(this.categoryData[this.listId],"iiiii",this.listId) |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|