Showing
1 changed file
with
7 additions
and
4 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2022-09-19 14:11:06 | 2 | * @Date: 2022-09-19 14:11:06 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2025-07-29 13:45:56 | 4 | + * @LastEditTime: 2025-07-30 14:48:32 |
| 5 | * @FilePath: /jgdl/src/pages/productDetail/index.vue | 5 | * @FilePath: /jgdl/src/pages/productDetail/index.vue |
| 6 | * @Description: 商品详情页 | 6 | * @Description: 商品详情页 |
| 7 | --> | 7 | --> |
| ... | @@ -41,9 +41,12 @@ | ... | @@ -41,9 +41,12 @@ |
| 41 | <text class="text-2xl font-bold text-orange-500 mr-2"> | 41 | <text class="text-2xl font-bold text-orange-500 mr-2"> |
| 42 | ¥ {{ product?.price?.toLocaleString() }} | 42 | ¥ {{ product?.price?.toLocaleString() }} |
| 43 | </text> | 43 | </text> |
| 44 | - <!-- <view class="ml-2 text-xs px-2 py-1 bg-orange-100 text-orange-600 rounded"> | 44 | + <view v-if="product?.market_price" class="text-gray-400 text-xs line-through ml-2"> |
| 45 | - 低于市场价{{ product.discountPercent }}% | 45 | + ¥ {{ product.market_price?.toLocaleString() }} |
| 46 | - </view> --> | 46 | + </view> |
| 47 | + </view> | ||
| 48 | + <view> | ||
| 49 | + <text class="text-xs text-gray-500 block">{{ product?.school_name }}</text> | ||
| 47 | </view> | 50 | </view> |
| 48 | </view> | 51 | </view> |
| 49 | 52 | ... | ... |
-
Please register or login to post a comment