...
|
...
|
@@ -70,7 +70,7 @@ export default { |
|
|
},
|
|
|
page: 1,
|
|
|
modalLoad: false,
|
|
|
pageSize: 20,
|
|
|
pageSize: 50,
|
|
|
};
|
|
|
},
|
|
|
asyncData({store, router}) {
|
...
|
...
|
@@ -87,7 +87,6 @@ export default { |
|
|
...mapMutations(['MERGE_CHANGEPRICE_DATA']),
|
|
|
...mapActions(['fetchProduct', 'postNoSale', 'postChangePrice']),
|
|
|
async onPullingUp() {
|
|
|
/*
|
|
|
const beginCount = this.skcs.length;
|
|
|
|
|
|
const result = await this.fetchProduct({
|
...
|
...
|
@@ -95,6 +94,8 @@ export default { |
|
|
page: this.page + 1,
|
|
|
pageSize: this.pageSize
|
|
|
});
|
|
|
|
|
|
console.log(result);
|
|
|
const afterCount = this.skcs.length;
|
|
|
|
|
|
if (afterCount > beginCount) {
|
...
|
...
|
@@ -103,7 +104,6 @@ export default { |
|
|
const noMore = get(result, 'data.data', []).length;
|
|
|
|
|
|
this.$refs.scroll.forceUpdate(noMore > 0);
|
|
|
*/
|
|
|
|
|
|
},
|
|
|
onPullingDown() {
|
...
|
...
|
@@ -142,7 +142,7 @@ export default { |
|
|
params: {
|
|
|
productId: this.productInfo.productId
|
|
|
}
|
|
|
})
|
|
|
});
|
|
|
},
|
|
|
onChangePrice(skc) {
|
|
|
this.$refs.modalPrice.show({skc, product: this.productInfo});
|
...
|
...
|
@@ -205,9 +205,9 @@ export default { |
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
.order-page {
|
|
|
position: absolute;
|
|
|
position: relative;
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
/*height: 100%;*/
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
|
|
.title {
|
...
|
...
|
|