完善茶艺师套餐功能优化
This commit is contained in:
@ -116,7 +116,7 @@
|
||||
<view class="flex items-center">
|
||||
<wd-img :src="`${OSS}icon/icon_store_cert.png`" width="36rpx" height="36rpx"></wd-img>
|
||||
</view>
|
||||
<text class="ml-8rpx font-400 text-24rpx leading-4rpx text-#303133">商家认证</text>
|
||||
<text class="ml-8rpx font-400 text-24rpx leading-4rpx text-#303133" @click="Detail.handlePreviewInfo">{{ info.company_abv }}</text>
|
||||
</view>
|
||||
|
||||
<view class="bg-[#EBFBF7] w-692rpx h-64rpx rounded-12rpx p-14rpx flex items-center mt-22rpx text-[#35C1A0]">
|
||||
@ -331,6 +331,9 @@ const info = ref({
|
||||
mileage_price: 0, // 车马费
|
||||
server_type: 0, // 服务方式 1到店 2上门 3两者都有
|
||||
label: [], // 专属圈子标签
|
||||
company_abv: '', // 公司简称
|
||||
company_url: '', // 图片链接
|
||||
company_status: 0, // 是否有公司信息
|
||||
})
|
||||
const latitude = ref<number>(0) // 纬度
|
||||
const longitude = ref<number>(0) // 经度
|
||||
@ -510,6 +513,17 @@ const Detail = {
|
||||
*/
|
||||
handlePreviewImage: (e: { index: number, item: any }) => {
|
||||
previewImage(info.value.image_arr[e.index], info.value.image_arr)
|
||||
},
|
||||
|
||||
/**
|
||||
* 查看商家信息
|
||||
*/
|
||||
handlePreviewInfo: () => {
|
||||
if (info.value.company_status) {
|
||||
previewImage(info.value.company_url, [info.value.company_url])
|
||||
} else {
|
||||
toast.info('暂无商家信息')
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user