From f170f85fd61d14e22a075b5cf4b3c057a7ad24f1 Mon Sep 17 00:00:00 2001 From: cheng.xu Date: Wed, 13 Nov 2019 16:39:43 +0800 Subject: [PATCH] 商品详情的价格修改 --- pages/goods/goodsInfo/goodsInfo.wxml | 8 +++++++- pages/goods/goodsInfo/goodsInfo.wxss | 4 ++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/pages/goods/goodsInfo/goodsInfo.wxml b/pages/goods/goodsInfo/goodsInfo.wxml index e89f9d6..d7c58b4 100644 --- a/pages/goods/goodsInfo/goodsInfo.wxml +++ b/pages/goods/goodsInfo/goodsInfo.wxml @@ -235,6 +235,9 @@ {{card_name}} {{filters.toFix(data[card_field],2)}} + + 原价:¥{{data.market_price}} + {{ filters.toFix(data.shop_price,2)}} @@ -255,7 +258,10 @@ {{g_filters.get_card_price(data,card_list,1)}} - {{g_filters.get_card_price(data,card_list,0)}} + + + ¥{{g_filters.get_card_price(data,card_list,0)}} + diff --git a/pages/goods/goodsInfo/goodsInfo.wxss b/pages/goods/goodsInfo/goodsInfo.wxss index fe14616..e533e88 100644 --- a/pages/goods/goodsInfo/goodsInfo.wxss +++ b/pages/goods/goodsInfo/goodsInfo.wxss @@ -2298,4 +2298,8 @@ right:17rpx; top:55rpx; transform: rotate(45deg);display:inline-block; margin-bottom:3rpx; +} +.carde_frame{ + height: 50rpx; + line-height: 18rpx } \ No newline at end of file -- libgit2 0.21.4