完善地址

This commit is contained in:
wangxiaowei
2025-10-21 18:05:47 +08:00
parent 820b445e9c
commit b2f658f3c0
22 changed files with 613 additions and 190 deletions

View File

@ -160,6 +160,7 @@
import {getDecorate, getTeaSpecialistLevels, getTeaSpecialist} from '@/api/home'
import {getCity} from '@/api/city'
import type { IIndexListResult } from '@/api/types/home'
import { router } from '@/utils/tools'
const OSS = inject('OSS')
@ -259,9 +260,7 @@
// 跳转到预约茶艺师页面
handleToReserveTeaSpecialist: (id: number = 1) => {
uni.navigateTo({
url: `/pages/index/detail?id=${id}&lat=${latitude.value}&lng=${longitude.value}`
})
router.navigateTo(`/pages/index/detail?id=${id}&lat=${latitude.value}&lng=${longitude.value}`)
},
// 选择茶艺师等级
@ -280,9 +279,7 @@
// 跳转到团体预约页面
handleToGroupReserve: () => {
uni.navigateTo({
url: '/pages/reserve/group-tea-specialist'
})
router.navigateTo('/pages/reserve/group-tea-specialist')
}
}
</script>