添加一店一码
This commit is contained in:
@ -81,7 +81,7 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<template v-if="tab == 0">
|
<template v-if="tab == 0">
|
||||||
<view class="mt-34rpx px-30rpx">
|
<view class="mt-34rpx px-30rpx pb-20rpx">
|
||||||
<view class="mb-24rpx text-32rpx text-[#303133] font-bold leading-44rpx">
|
<view class="mb-24rpx text-32rpx text-[#303133] font-bold leading-44rpx">
|
||||||
{{ storeInfo.name }}
|
{{ storeInfo.name }}
|
||||||
</view>
|
</view>
|
||||||
@ -107,6 +107,20 @@
|
|||||||
<text class="flex-1 text-[#000]">{{ storeInfo.contact_phone || '-' }}</text>
|
<text class="flex-1 text-[#000]">{{ storeInfo.contact_phone || '-' }}</text>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
<!-- 一店一码 -->
|
||||||
|
<view class="bg-white mt-40rpx">
|
||||||
|
<view class="mb-24rpx text-32rpx text-[#303133] font-bold leading-44rpx">
|
||||||
|
一店一码
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="flex items-center">
|
||||||
|
<view class="h-200rpx w-200rpx" v-if="storeInfo.wxcode_url">
|
||||||
|
<image style="width: 100%; height: 100%;" :src="storeInfo.wxcode_url" mode="aspectFill" show-menu-by-longpress />
|
||||||
|
</view>
|
||||||
|
<view class="text-center text-28rpx text-[#666] w-full" v-else>此门店暂无门店码,请联系平台</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
<!-- 门店视频/图片区域 -->
|
<!-- 门店视频/图片区域 -->
|
||||||
<view class="bg-white mt-40rpx">
|
<view class="bg-white mt-40rpx">
|
||||||
<view class="mb-24rpx text-32rpx text-[#303133] font-bold leading-44rpx">
|
<view class="mb-24rpx text-32rpx text-[#303133] font-bold leading-44rpx">
|
||||||
@ -193,7 +207,8 @@ const storeInfo = ref({
|
|||||||
contact_phone: '',
|
contact_phone: '',
|
||||||
start_time: '',
|
start_time: '',
|
||||||
end_time: '',
|
end_time: '',
|
||||||
image_arr: []
|
image_arr: [],
|
||||||
|
wxcode_url: '',
|
||||||
})
|
})
|
||||||
|
|
||||||
// 门店媒体列表(视频/图片)
|
// 门店媒体列表(视频/图片)
|
||||||
@ -249,6 +264,7 @@ const My = {
|
|||||||
storeMediaList.value = storeDetails.details.image_arr.slice(0, 6)
|
storeMediaList.value = storeDetails.details.image_arr.slice(0, 6)
|
||||||
}
|
}
|
||||||
storeInfo.value = storeDetails.details
|
storeInfo.value = storeDetails.details
|
||||||
|
console.log("🚀 ~ storeInfo.value :", storeInfo.value )
|
||||||
mediaCount.value = storeInfo.value.image_arr.length
|
mediaCount.value = storeInfo.value.image_arr.length
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user