添加以下4个页面的内容分享

1. 首页
2. 包间列表
3. 茶艺师列表
4. 茶艺师详情
This commit is contained in:
wangxiaowei
2026-01-08 02:30:57 +08:00
parent 40c2b0dd6c
commit 2b58bac9ac
7 changed files with 103 additions and 27 deletions

View File

@ -229,6 +229,13 @@
Index.handleResetSearch()
})
// 首页分享
onShareAppMessage(async (e) => {
return {
title: '首页',
path: `/pages/index/index`,
}
})
const Index = {
/**

View File

@ -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('登录成功')