mirror of
				https://gitee.com/hhyykk/ipms-sjy-ui.git
				synced 2025-11-04 04:08:44 +08:00 
			
		
		
		
	【功能修复】商城:店铺装修的价格展示,没有 / 100 在管理后台的预览时
This commit is contained in:
		@@ -67,15 +67,15 @@
 | 
			
		||||
            class="text-16px"
 | 
			
		||||
            :style="{ color: property.fields.price.color }"
 | 
			
		||||
          >
 | 
			
		||||
            ¥{{ spu.price }}
 | 
			
		||||
            ¥{{ fenToYuan(spu.price) }}
 | 
			
		||||
          </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' })
 | 
			
		||||
 
 | 
			
		||||
@@ -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 './index'
 | 
			
		||||
 | 
			
		||||
/** 商品栏 */
 | 
			
		||||
defineOptions({ name: 'ProductList' })
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user