完善茶艺师套餐功能

This commit is contained in:
wangxiaowei
2026-03-31 21:59:42 +08:00
parent 61d0ca2bd1
commit 401b1f0d2f
28 changed files with 593 additions and 176 deletions

View File

@ -118,7 +118,7 @@
<view class="flex flex-wrap">
<view class="flex flex-wrap items-center">
<view class="mr-8rpx bg-[#4C9F44] text-[#fff] px-10rpx leading-34rpx font-400 text-24rpx rounded-4rpx"
v-for="item in info.label" :key="item">{{ item }}</view>
v-for="label in info.label" :key="label.id">{{ label.label_name }}</view>
</view>
</view>
</view>
@ -177,6 +177,7 @@ const TeaSpecialist = {
*/
handleGetTeaSpecialistList: async () => {
if (!hasMore.value) return
console.log("🚀 ~ uni.getStorageSync('teaPackageType'):", uni.getStorageSync('teaPackageType'))
const storage = uni.getStorageSync('selectedPackageService')
const filter = {
@ -184,6 +185,7 @@ const TeaSpecialist = {
size,
latitude: storage.latitude || import.meta.env.VITE_DEFAULT_LATITUDE,
longitude: storage.longitude || import.meta.env.VITE_DEFAULT_LONGITUDE,
level: uni.getStorageSync('teaPackageType'),
}
try {
const res = await getTeaSpecialist(filter)
@ -237,6 +239,7 @@ const TeaSpecialist = {
* 下一步
*/
handleNext: () => {
console.log("🚀 ~ info.value:", info.value)
router.navigateTo(`/bundle/package/reserve?id=${info.value.team_user_id}`)
}
}