fix:修复部分显示错误
This commit is contained in:
1 parent
50b8652a64
commit
8dd3f58fa4
6 files changed
+55
-40
No files matched your search
@@ -63,36 +63,36 @@
|
||||
<view class="second-text-26 flex justify-between my-6rpx">
|
||||
<view>
|
||||
<image class="w-24rpx h-24rpx mr-1" src="@/static/page/phone.svg" />
|
||||
<text @tap.stop="doPhone(v.contactPhone)">{{ v.contactPhone }}</text>
|
||||
<text @tap.stop="doPhone(v.contactPhone)">{{ v.contactPhone || "暂无" }}</text>
|
||||
</view>
|
||||
<text class="c-#0094ff! sub-text-26 px-2 bg-#0094ff22 rounded-2">营业</text>
|
||||
</view>
|
||||
<view class="second-text-26">
|
||||
<image class="w-24rpx h-24rpx mr-1" src="@/static/page/address.svg" />
|
||||
<text>{{ v.address }}</text>
|
||||
<text>{{ v.address || "暂无" }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<scroll-view scroll-x>
|
||||
<view class="flex mt-2">
|
||||
<view class="w-160rpx flex-col items-center mr-20rpx" v-for="(pV, pI) in v.featuredProducts" :key="pI">
|
||||
<image class="w-160rpx h-160rpx rounded-12rpx bg-#eeeeee" :src="filePath(pV.coverImage)" mode="aspectFill" />
|
||||
<view class="w-180rpx flex-col items-center mr-20rpx" v-for="(pV, pI) in v.featuredProducts" :key="pI">
|
||||
<image class="size-180rpx rounded-12rpx bg-#eeeeee" :src="filePath(pV.coverImage)" mode="aspectFill" />
|
||||
<view class="w-full mt-4rpx sub-text-24 truncate">{{ pV.title }}</view>
|
||||
<view class="w-full flex justify-between">
|
||||
<text class="main-text-26 color-red!">
|
||||
<text class="text-26 color-red!">
|
||||
<text class="text-22rpx">¥</text>
|
||||
<text>{{ pV.priceType == "1" ? displayPrice(pV.minPrice, "") : displayPrice(pV.spuPrice, "") }}</text>
|
||||
</text>
|
||||
<text class="second-text-24 line-through">
|
||||
<!-- <text class="second-text-24 line-through">
|
||||
<template v-if="pV.priceType == '2'">
|
||||
<text class="text-22rpx">¥</text>
|
||||
<text>{{ displayPrice(pV.originalPrice, "") }}</text>
|
||||
</template>
|
||||
</text>
|
||||
</text> -->
|
||||
</view>
|
||||
<view class="w-full flex justify-between second-text-24">
|
||||
<text>{{ pV.unit || "" }}</text>
|
||||
<text>库存{{ pV.totalStock }}</text>
|
||||
<text>{{ pV.status ? "已停售" : "在售" }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in new issue
Block a user