|
@@ -38,7 +38,7 @@
|
|
|
|
|
|
|
|
<van-list v-model:loading="loading" :finished="finished" finished-text="" @load="getData">
|
|
<van-list v-model:loading="loading" :finished="finished" finished-text="" @load="getData">
|
|
|
<template v-for="(item, index) in list" :key="index">
|
|
<template v-for="(item, index) in list" :key="index">
|
|
|
- <product-info v-model:info="list[index]" @update:info="init"></product-info>
|
|
|
|
|
|
|
+ <product-info v-model:info="list[index]" @update:info="init" :noNumber="noNumber"></product-info>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<van-empty
|
|
<van-empty
|
|
@@ -89,7 +89,8 @@ export default {
|
|
|
url: '/collection/all',
|
|
url: '/collection/all',
|
|
|
title: '',
|
|
title: '',
|
|
|
salable: false,
|
|
salable: false,
|
|
|
- scrollTop: 0
|
|
|
|
|
|
|
+ scrollTop: 0,
|
|
|
|
|
+ noNumber: false
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
@@ -112,6 +113,11 @@ export default {
|
|
|
if (this.$route.query.title) {
|
|
if (this.$route.query.title) {
|
|
|
this.title = this.$route.query.title;
|
|
this.title = this.$route.query.title;
|
|
|
}
|
|
}
|
|
|
|
|
+ if (this.$route.query.noNumber) {
|
|
|
|
|
+ this.noNumber = true;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.noNumber = false;
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
beforeData() {
|
|
beforeData() {
|