修改反馈信息,回滚修改goods的代码

master
Yer 2023-09-26 19:22:58 +08:00
parent dae3e74a60
commit 1cc6cc4ac7
2 changed files with 3 additions and 8 deletions

View File

@ -84,7 +84,7 @@ export default {
} }
if (!this.feedBack.context) { if (!this.feedBack.context) {
uni.showToast({ uni.showToast({
title: "请填写反馈类型", title: "请填写反馈信息",
duration: 2000, duration: 2000,
icon: "none", icon: "none",
}); });

View File

@ -37,7 +37,7 @@
</u-image> </u-image>
</div> </div>
<div class="goods-desc"> <div class="goods-desc">
<div class="goods-title" :style="{ height: (proportion * 34) + 'rpx' }"> <div class="goods-title">
{{ item.title }} {{ item.title }}
</div> </div>
<div class="goods-bottom"> <div class="goods-bottom">
@ -68,7 +68,7 @@
</u-image> </u-image>
</div> </div>
<div class="goods-desc"> <div class="goods-desc">
<div class="goods-title" :style="{ height: (proportion * 34) + 'rpx' }"> <div class="goods-title">
{{ item.goodsName }} {{ item.goodsName }}
</div> </div>
<div class="goods-bottom"> <div class="goods-bottom">
@ -100,7 +100,6 @@ export default {
}, },
goodsData: [], // goodsData: [], //
goodsResult:"", //es goodsResult:"", //es
proportion:0,
}; };
}, },
props: ["res","enableBottomLoad"], props: ["res","enableBottomLoad"],
@ -120,10 +119,6 @@ export default {
}, },
}, },
mounted() { mounted() {
const winWidth = uni.getSystemInfoSync().windowWidth
const proportion = 750 / winWidth
this.proportion = proportion
uni.$on('onReachBottom',()=>{ uni.$on('onReachBottom',()=>{
if(this.enableBottomLoad && this.goodsResult.totalElements >= this.params.pageNumber * this.params.pageSize){ if(this.enableBottomLoad && this.goodsResult.totalElements >= this.params.pageNumber * this.params.pageSize){
this.params.pageNumber++ this.params.pageNumber++