修改反馈信息,回滚修改goods的代码
parent
dae3e74a60
commit
1cc6cc4ac7
|
@ -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",
|
||||||
});
|
});
|
||||||
|
|
|
@ -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++
|
||||||
|
|
Loading…
Reference in New Issue