...
|
...
|
@@ -2,7 +2,6 @@ |
|
|
<LayoutApp :show-back="true" title="二手" class="list-wrapper">
|
|
|
<LayoutScroll
|
|
|
ref="scrolllist"
|
|
|
@scroll="scrollHandler"
|
|
|
@scroll-end="scrollEndHandler"
|
|
|
@pulling-up="fetchSkupList(isMore)"
|
|
|
v-if="skupList.list.length"
|
...
|
...
|
@@ -30,7 +29,12 @@ export default { |
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
yasParams: {P_NAME: 'XY_UFOSecondList', TYPE_ID: 5, TAB_ID: '', TAB_NAME: '', P_PARAM: [].toString()},
|
|
|
yasParams: { P_NAME: 'XY_UFOSecondList',
|
|
|
TYPE_ID: 5,
|
|
|
TAB_ID: '',
|
|
|
TAB_NAME: '',
|
|
|
P_PARAM: [].toString()
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
...
|
...
|
@@ -44,13 +48,9 @@ export default { |
|
|
await this.fetchSecondSkupList({ isReset: false });
|
|
|
}
|
|
|
},
|
|
|
scrollHandler({y}) {
|
|
|
this.scrollY = -y;
|
|
|
},
|
|
|
|
|
|
scrollEndHandler({y}) {
|
|
|
let height = -y;
|
|
|
|
|
|
this.$refs.second.yasShowEvent(height);
|
|
|
},
|
|
|
|
...
|
...
|
@@ -59,7 +59,7 @@ export default { |
|
|
let PRD_LIST = [];
|
|
|
|
|
|
for (let item of list) {
|
|
|
PRD_LIST.push(item.id);
|
|
|
PRD_LIST.push(item.product_id);
|
|
|
}
|
|
|
PRD_LIST = PRD_LIST.toString();
|
|
|
this.$store.dispatch('reportYas', {
|
...
|
...
|
|