feat: 特供文字换成图片

This commit is contained in:
黄泽群
2025-09-30 16:04:16 +08:00
parent d04b889ee8
commit 356ed6c406
3 changed files with 10 additions and 3 deletions
+4 -2
View File
@@ -7,9 +7,11 @@
<view class="right-top-view text-overflow1">
<text class="text-32 text-bold text-zu text-overflow1">{{obj.title}}</text>
</view>
<view class="text-24" style="color:#FF5A5A;" v-if="obj.tag">特供</view>
<view class="right-bottom-view">
<view class="flex-c-lr" style="height:70rpx">
<view class="flex-c-lr" >
<view class="text-24" style="color:#FF5A5A;width: 112rpx;height: 32rpx;" v-if="obj.tag">
<image src="/static/shopping/tg.png" style="width: 112rpx;height: 32rpx;"></image>
</view>
<text class="text-24 text-fu">原价</text>
<text class="text-24 text-fu text-d text-bold">¥{{obj.adPrice}}</text>
</view>
@@ -20,12 +20,17 @@
<view class="product_content_warp">
<!-- 标题,系列 -->
<view class="content_data">
<view class="content_data_price">
<view style="display: flex;align-items: center;justify-content: space-between;">
<view class="content_data_price">
<text>¥</text>
<text style="font-size: 60rpx" v-if="orderInfo.minPrice && orderInfo.maxPrice">{{ orderInfo.minPrice }} - {{ orderInfo.maxPrice }}</text>
<text style="font-size: 60rpx" v-else>{{ orderInfo.minPrice }}</text>
<text class="price_o">¥{{ orderInfo.adPrice }}</text>
</view>
<view class="text-24" style="color:#FF5A5A;width: 120rpx;height: 38rpx;" v-if="orderInfo.tag">
<image src="/static/shopping/tg.png" style="width: 120rpx;height: 38rpx;"></image>
</view>
</view>
<view class="content_data_title">
{{ orderInfo.name }}
</view>
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB