完善登录、收藏、分享

This commit is contained in:
wangxiaowei
2025-10-20 17:34:50 +08:00
parent c3ffadfded
commit 820b445e9c
12 changed files with 228 additions and 78 deletions

View File

@ -155,7 +155,7 @@
import { onPageScroll, onReachBottom } from '@dcloudio/uni-app'
import useMescroll from "@/uni_modules/mescroll-uni/hooks/useMescroll.js"
import TeaSpecialistLevel from '@/components/TeaSpecialistLevel.vue'
import {getLocation} from '@/utils/jwexin'
import {wxGetLocation} from '@/utils/jwexin'
import {TeaSpecialistLevelValue} from '@/utils/teaSpecialist'
import {getDecorate, getTeaSpecialistLevels, getTeaSpecialist} from '@/api/home'
import {getCity} from '@/api/city'
@ -186,7 +186,7 @@
onLoad(async () => {
// 授权获取地址
await getLocation((res) => {
await wxGetLocation((res) => {
latitude.value = res.latitude
longitude.value = res.longitude
Index.handleSearch()