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