From f6ea543b3de9a770c1bf5db2baf3e8a5dc2c867a Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期一, 30 十二月 2024 18:18:44 +0800 Subject: [PATCH] 10.88.4.131 --- src/components/DiyEditor/components/mobile/ProductList/index.vue | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/components/DiyEditor/components/mobile/ProductList/index.vue b/src/components/DiyEditor/components/mobile/ProductList/index.vue index 3ba6367..a51fc07 100644 --- a/src/components/DiyEditor/components/mobile/ProductList/index.vue +++ b/src/components/DiyEditor/components/mobile/ProductList/index.vue @@ -54,7 +54,7 @@ class="text-12px" :style="{ color: property.fields.price.color }" > - ¥{{ spu.price }} + ¥{{ fenToYuan(spu.price) }} </span> </div> </div> @@ -65,6 +65,7 @@ <script setup lang="ts"> import { ProductListProperty } from './config' import * as ProductSpuApi from '@/api/mall/product/spu' +import { fenToYuan } from '@/utils' /** 商品栏 */ defineOptions({ name: 'ProductList' }) -- Gitblit v1.9.3