|
@@ -141,18 +141,7 @@ function onClickFeedBack() {
|
|
|
if (store.state.loginStatus === store.getters.loginStatusEnum.wxUser) {
|
|
|
isShowFeedBack.value = true
|
|
|
} else {
|
|
|
- ElMessageBox.confirm(
|
|
|
- '需登录后才能体验',
|
|
|
- '提示',
|
|
|
- {
|
|
|
- confirmButtonText: '去登录',
|
|
|
- cancelButtonText: '取消',
|
|
|
- type: 'message',
|
|
|
- }
|
|
|
- ).then(() => {
|
|
|
- isShowFeedBack.value = true
|
|
|
- }).catch(() => {
|
|
|
- })
|
|
|
+ location.href = `https://open.weixin.qq.com/connect/qrconnect?appid=wx3d4f2e0cfc3b8e54&redirect_uri=https%3A%2F%2Fsit-wuxicishan.4dage.com%2F%23%2Flogin-temp&response_type=code&scope=snsapi_login&state=${encodeURIComponent(route.name)}#wechat_redirect`
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -162,20 +151,7 @@ function onClickShop() {
|
|
|
name: 'ShopView'
|
|
|
})
|
|
|
} else {
|
|
|
- ElMessageBox.confirm(
|
|
|
- '需登录后才能体验',
|
|
|
- '提示',
|
|
|
- {
|
|
|
- confirmButtonText: '去登录',
|
|
|
- cancelButtonText: '取消',
|
|
|
- type: 'message',
|
|
|
- }
|
|
|
- ).then(() => {
|
|
|
- router.push({
|
|
|
- name: 'ShopView'
|
|
|
- })
|
|
|
- }).catch(() => {
|
|
|
- })
|
|
|
+ location.href = `https://open.weixin.qq.com/connect/qrconnect?appid=wx3d4f2e0cfc3b8e54&redirect_uri=https%3A%2F%2Fsit-wuxicishan.4dage.com%2F%23%2Flogin-temp&response_type=code&scope=snsapi_login&state=${encodeURIComponent('ShopView')}#wechat_redirect`
|
|
|
}
|
|
|
}
|
|
|
|