mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-17 16:05:53 +08:00
修改反馈信息,回滚修改goods的代码
This commit is contained in:
@@ -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++
|
||||||
|
|||||||
Reference in New Issue
Block a user