|
@@ -377,12 +377,6 @@
|
|
|
this.$api.navigateTo('/pages/authorization/authorization')
|
|
|
}
|
|
|
})
|
|
|
- // if(uni.getStorageSync('_WX_State')){
|
|
|
- // wxLogin.wxLoginAuthorize()
|
|
|
- // }else{
|
|
|
- // console.log(new Date +'用户未授权微信信息')
|
|
|
- // this.$api.navigateTo('/pages/authorization/authorization')
|
|
|
- // }
|
|
|
}
|
|
|
this.getWinHeight()
|
|
|
},
|
|
@@ -518,16 +512,6 @@
|
|
|
this.$api.navigateTo('/pages/authorization/authorization?type=1')
|
|
|
}
|
|
|
})
|
|
|
- // if(uni.getStorageSync('_WX_State')){
|
|
|
- // if(this.hasLogin){
|
|
|
- // this.$api.navigateTo('/pages/goods/cart')
|
|
|
- // }else{
|
|
|
- // this.$api.navigateTo('/pages/login/login?type=1')
|
|
|
- // }
|
|
|
- // }else{
|
|
|
- // console.log(new Date +'用户未授权微信信息')
|
|
|
- // this.$api.navigateTo('/pages/authorization/authorization?type=1')
|
|
|
- // }
|
|
|
},
|
|
|
btnGetConfirm(type){//加入购物车&&立即购买点击
|
|
|
authorize.getSetting().then(res =>{
|
|
@@ -542,16 +526,6 @@
|
|
|
this.$api.navigateTo('/pages/authorization/authorization?type=1')
|
|
|
}
|
|
|
})
|
|
|
- // if(uni.getStorageSync('_WX_State')){
|
|
|
- // if(this.hasLogin){
|
|
|
- // this.showSpec(type);
|
|
|
- // }else{
|
|
|
- // this.$api.navigateTo('/pages/login/login?type=1')
|
|
|
- // }
|
|
|
- // }else{
|
|
|
- // console.log(new Date +'用户未授权微信信息')
|
|
|
- // this.$api.navigateTo('/pages/authorization/authorization?type=1')
|
|
|
- // }
|
|
|
},
|
|
|
changeCountAdd(){//popup弹窗数量增加按钮
|
|
|
if(this.buyRetailPriceStep == 2){
|
|
@@ -656,14 +630,6 @@
|
|
|
this.$api.navigateTo('/pages/authorization/authorization?type=1')
|
|
|
}
|
|
|
})
|
|
|
- // if(uni.getStorageSync('_WX_State')){
|
|
|
- // this.$store.commit('setLoginType',8)
|
|
|
- // this.$store.commit('setLoginProductId',this.productID)
|
|
|
- // this.$api.navigateTo(`/pages/login/login?id=${this.productID}`)
|
|
|
- // }else{
|
|
|
- // console.log(new Date +'用户未授权微信信息')
|
|
|
- // this.$api.navigateTo('/pages/authorization/authorization?type=1')
|
|
|
- // }
|
|
|
},
|
|
|
setHeaderBtnPosi(){
|
|
|
// 获得胶囊按钮位置信息
|