mine concerns 8.15

This commit is contained in:
2020-08-15 17:16:11 +08:00
parent 7deb5d312b
commit df52535848
11 changed files with 377 additions and 227 deletions

View File

@@ -46,6 +46,7 @@ export default {
},
methods: {
viewGoodsDetails(item) {
if(this.closeAction()) return false;
const list = this.list.filter(item => {
return item.show;
})
@@ -57,6 +58,17 @@ export default {
}
})
},
closeAction() {
let status = false;
this.list.map((val, idx) => {
if(val.show) {
status = true;
this.$set(this.list[idx], 'show', false);
};
})
this.$forceUpdate();
return status;
},
getGoodsFavoritesList() {
this.$u.api.getFavoritesList().then(res => {
if(res.errCode == 0) {