优化购物车
parent
acfacfde66
commit
042b5384e4
|
@ -79,15 +79,6 @@
|
|||
timeout:null
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
// 主题颜色
|
||||
publicColor() {
|
||||
return this.$store.state.publicColor
|
||||
},
|
||||
statusHeight() {
|
||||
return this.$store.state.statusHeight
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
uni.removeStorageSync('orderList');
|
||||
uni.removeStorageSync('payType');
|
||||
|
@ -106,6 +97,13 @@
|
|||
})
|
||||
return sum;
|
||||
},
|
||||
// 主题颜色
|
||||
publicColor() {
|
||||
return this.$store.state.publicColor
|
||||
},
|
||||
statusHeight() {
|
||||
return this.$store.state.statusHeight
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 数量输入事件
|
||||
|
|
|
@ -92,7 +92,7 @@
|
|||
}
|
||||
},
|
||||
onShow() {
|
||||
this.$toolAll.tools.isLogin();
|
||||
|
||||
},
|
||||
onLoad(options) {
|
||||
this.checkDor();
|
||||
|
|
|
@ -88,7 +88,7 @@
|
|||
return shareObj;
|
||||
},
|
||||
onShow() {
|
||||
this.$toolAll.tools.isLogin();
|
||||
|
||||
},
|
||||
onLoad(options) {
|
||||
uni.getStorageSync('shareAll')!='' ? this.dataList[1].num = uni.getStorageSync('shareAll').share_users.total : this.dataList[1].num = 0
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
}
|
||||
},
|
||||
onShow() {
|
||||
this.$toolAll.tools.isLogin()
|
||||
|
||||
},
|
||||
onLoad(options) {
|
||||
if(uni.getStorageSync('token')!='') {
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue