zs 2 年之前
父節點
當前提交
c344f2baa2
共有 1 個文件被更改,包括 7 次插入4 次删除
  1. 7 4
      pagesHome/order/appraise.vue

+ 7 - 4
pagesHome/order/appraise.vue

@@ -13,7 +13,7 @@
 				</view>
 			</view>
 			<view class="two">
-				<scroll-view scroll-y="true" class="scroll-view" @scrolltolower="toPage">
+				<scroll-view scroll-y="true" class="scroll-view">
 					<view class="list-scroll-view">
 						<view class="list" v-for="(item, index) in list" :key="index">
 							<image v-if="item.customer.icon&&item.customer.icon.length>0" class="image"
@@ -93,6 +93,8 @@
 				thr: [],
 				// 回复数据
 				reply: {},
+				// 列表
+				code: ''
 			};
 		},
 		onLoad: function(e) {
@@ -139,8 +141,9 @@
 			// 选择
 			toSelect(e) {
 				const that = this;
+				that.$set(that, `code`, e.code);
 				if (e.code == '0') {
-					that.clearPage();
+					// that.clearPage();
 					that.search()
 				} else if (e.code == '1') {
 					that.$set(that, `list`, that.one);
@@ -179,8 +182,8 @@
 					that.$set(that, `info`, res.data)
 				}
 				let info = {
-					skip: that.skip,
-					limit: that.limit,
+					// skip: that.skip,
+					// limit: that.limit,
 					goods: that.id
 				}
 				res = await that.$api(`/goodsRate`, `GET`, {