完善地址
This commit is contained in:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user