调整全局支付收银class

This commit is contained in:
唐明明
2021-11-04 11:30:15 +08:00
parent cbe6cc912b
commit d9b4d459ae
13 changed files with 1841 additions and 1865 deletions

View File

@@ -215,32 +215,14 @@
this.coupons = res.coupons
})
},
onBackPress({
from
}) {
if (from == 'backbutton') {
this.$nextTick(function() {
uniShare.hide()
})
return uniShare.isShow;
}
},
methods: {
// 提交购买单
buyGoods() {
let token = this.$store.getters.getToken
if (token == '') {
let userLogin = new userAuth()
userLogin.Login()
this.$Router.push({name: 'Login'})
return
}
// this.$Router.push({
// name: 'Buy',
// params: {
// skuId: this.goodsObj.skus[0].sku_id,
// qty : this.goodsObj.skus[0].number
// }
// })
uni.navigateTo({
url: '/pages/goods/confirmOrder?qty=1&type=2&goods_sku_id=' + this.goodsObj.skus[0].sku_id
})