main
fanfan 7 months ago
parent a5d32389ed
commit 86cc94d842
  1. 17
      pages/activity/newGoods.vue
  2. 4
      pages/user/vip/goods.vue

@ -38,7 +38,7 @@
</view>
</view>
</view>
<view class="lookBtn" @click="backtop">
<view class="lookBtn" @click="backtop" v-if="scrollTop>200">
再挑挑看<u-icon name="arrow-upward" color="#242424" size="30"></u-icon>
</view>
<view class="lookJie" v-html="content">
@ -66,7 +66,8 @@
},
backgroundImg: '',
list: [],
content: ''
content: '',
scrollTop: 0
}
},
/**
@ -79,14 +80,13 @@
},
methods: {
//
getCarousel(type) {
const app = this;
help.getAgreement({
type: 'copyright'
})
.then(result => {
let content = result.data.detail.content || '';
let content = result.data.detail?result.data.detail.content:'';
this.content = content
})
.finally(() => app.isLoading = false)
@ -104,7 +104,7 @@
}
Api.brandList(pamars)
.then(result => {
app.list = result.data.data;
app.list = result.data.data
})
.finally(() => app.isLoading = false)
},
@ -129,9 +129,10 @@
scrollTop: 0
});
}
}
},
onPageScroll(e) {
this.scrollTop = e.scrollTop;
}
}
</script>

@ -178,8 +178,8 @@
this.page = 1;
this.list = [];
this.$refs.uWaterfall1.clear();
this.category_id = item.category_id
this.getBrandList(item.category_id)
this.category_id = index==-1?'':item.category_id
this.getBrandList(this.category_id)
},
tabItem1(item, index) {
this.tabIndex1 = index;

Loading…
Cancel
Save