|
|
@@ -135,6 +135,7 @@
|
|
|
finished-text=""
|
|
|
@load="getList"
|
|
|
:class="{ hotList: sort === 'hot' }"
|
|
|
+ :immediate-check="false"
|
|
|
>
|
|
|
<template v-for="(item, index) in list" :key="item.id">
|
|
|
<product-info v-if="sort === 'collection'" v-model:info="list[index]" dark></product-info>
|
|
|
@@ -200,7 +201,8 @@ export default {
|
|
|
require('../assets/info_icon_lvzhougongyi.png'),
|
|
|
require('../assets/info_icon_banquanshichang.png')
|
|
|
],
|
|
|
- swiperRef: null
|
|
|
+ swiperRef: null,
|
|
|
+ notLike: ''
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
|
@@ -211,6 +213,19 @@ export default {
|
|
|
StatusBar.backgroundColorByHexString('#272b2e');
|
|
|
StatusBar.styleLightContent();
|
|
|
}
|
|
|
+ this.$http
|
|
|
+ .get('/sysConfig/get/collect_not')
|
|
|
+ .then(res => {
|
|
|
+ console.log(res);
|
|
|
+ this.notLike = res.value;
|
|
|
+ return Promise.resolve();
|
|
|
+ })
|
|
|
+ .catch(e => {
|
|
|
+ return Promise.resolve();
|
|
|
+ })
|
|
|
+ .then(() => {
|
|
|
+ this.getList(true);
|
|
|
+ });
|
|
|
},
|
|
|
methods: {
|
|
|
getInit() {
|
|
|
@@ -295,7 +310,8 @@ export default {
|
|
|
let query = {
|
|
|
onShelf: true,
|
|
|
del: false,
|
|
|
- source: this.$store.state.reviewPay ? 'OFFICIAL' : ''
|
|
|
+ source: this.$store.state.reviewPay ? 'OFFICIAL' : '',
|
|
|
+ notLike: this.notLike
|
|
|
};
|
|
|
let sort = 'id,desc';
|
|
|
if (this.sort === 'creator') {
|