添加以下4个页面的内容分享
1. 首页 2. 包间列表 3. 茶艺师列表 4. 茶艺师详情
This commit is contained in:
@ -229,6 +229,13 @@
|
||||
Index.handleResetSearch()
|
||||
})
|
||||
|
||||
// 首页分享
|
||||
onShareAppMessage(async (e) => {
|
||||
return {
|
||||
title: '首页',
|
||||
path: `/pages/index/index`,
|
||||
}
|
||||
})
|
||||
|
||||
const Index = {
|
||||
/**
|
||||
|
||||
@ -92,6 +92,7 @@
|
||||
const userStore = useUserStore()
|
||||
const res = await userStore.wxLogin()
|
||||
console.log("🚀 ~ res:", res)
|
||||
console.log("🚀 ~ token:", uni.getStorageSync('token'))
|
||||
uni.hideLoading()
|
||||
if (!res.mobile) {
|
||||
showBindMobilePopup.value = true
|
||||
@ -158,9 +159,14 @@
|
||||
handleToLogin: () => {
|
||||
const decoded = decodeURIComponent(redirectUrl.value)
|
||||
console.log("🚀 ~ decoded:", decoded)
|
||||
console.log("🚀 ~ decoded:", uni.getStorageSync('refreshTeaSpecialistDetailsParams'))
|
||||
if (decoded == '/bundle/order/tea-room/order-detail') {
|
||||
const transferOrderParams = uni.getStorageSync('transferOrderParams')
|
||||
uni.$emit('transferOrder', transferOrderParams)
|
||||
} else if (decoded == '/bundle_b/pages/tea-specialist/detail') {
|
||||
uni.$emit('refreshTeaSpecialistDetails')
|
||||
} else if (decoded == '/bundle/tea-room/room') {
|
||||
uni.$emit('refreshShareTeaRoomLists')
|
||||
}
|
||||
|
||||
toast.info('登录成功')
|
||||
|
||||
Reference in New Issue
Block a user