From 9259c2235e31708f954a3578bde3c6a7ab9753e8 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期一, 30 十二月 2024 15:51:40 +0800 Subject: [PATCH] 1、工作流相关组件更新 2、偶尔出现退出登录时路由报错的bug导致无法回到登录页面 3、全局配置文件修改,移除VITE_UPLOAD_URL配置等 --- src/components/DiyEditor/components/mobile/ProductCard/index.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/DiyEditor/components/mobile/ProductCard/index.vue b/src/components/DiyEditor/components/mobile/ProductCard/index.vue index f05d4fa..25f8cb8 100644 --- a/src/components/DiyEditor/components/mobile/ProductCard/index.vue +++ b/src/components/DiyEditor/components/mobile/ProductCard/index.vue @@ -67,15 +67,15 @@ class="text-16px" :style="{ color: property.fields.price.color }" > - ¥{{ spu.price }} + ¥{{ fenToYuan(spu.price as any) }} </span> <!-- 市场价 --> <span v-if="property.fields.marketPrice.show && spu.marketPrice" class="ml-4px text-10px line-through" :style="{ color: property.fields.marketPrice.color }" - >¥{{ spu.marketPrice }}</span - > + >¥{{ fenToYuan(spu.marketPrice) }} + </span> </div> <div class="text-12px"> <!-- 销量 --> @@ -117,6 +117,7 @@ <script setup lang="ts"> import { ProductCardProperty } from './config' import * as ProductSpuApi from '@/api/mall/product/spu' +import { fenToYuan } from '../../../../../utils' /** 商品卡片 */ defineOptions({ name: 'ProductCard' }) -- Gitblit v1.9.3