From 9b658bd2946b643076aa79d1cb4e4abb3487dc3f Mon Sep 17 00:00:00 2001 From: fanfan Date: Tue, 16 Apr 2024 09:03:24 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/cart/index.vue | 4 ++-- pages/goods/detail.vue | 14 +++++++------- pages/goods/list.vue | 4 ++-- pages/index/index.vue | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/pages/cart/index.vue b/pages/cart/index.vue index 56dd0d4..587290b 100644 --- a/pages/cart/index.vue +++ b/pages/cart/index.vue @@ -90,7 +90,7 @@ ¥{{ item.line_price_min>0?Number(item.line_price_min):0.00 }} - + @@ -139,7 +139,7 @@ ¥{{ item.line_price_min>0?Number(item.line_price_min):0.00 }} - + diff --git a/pages/goods/detail.vue b/pages/goods/detail.vue index c235197..5713b39 100644 --- a/pages/goods/detail.vue +++ b/pages/goods/detail.vue @@ -46,7 +46,7 @@ ¥{{goods.cost_price_min?Number(goods.cost_price_min):0}} ¥{{(goods.line_price_min>0&&goods.goods_price_min>0)?(Number(goods.line_price_min)-Number(goods.goods_price_min)):0}} + v-else>¥{{(goods.line_price_min>0&&goods.goods_price_min>0)?Number((Number(goods.line_price_min)-Number(goods.goods_price_min)).toFixed(2)):0}} @@ -76,7 +76,7 @@ - + 排行榜 {{goods.category.name}}热搜榜第{{goods.paihang}}名 @@ -105,11 +105,11 @@ - + {{goods.goods_source}} - {{goods.unicode}} + {{goods.goods_no}} @@ -499,7 +499,7 @@ onLoad(options) { const that = this; let result = uni.getStorageSync("addressResult") - this.addressResult = result.address_component || '' + this.addressResult = result?result.address_component:this.addressResult this.isPre = options.isPre ? options.isPre : null // 记录query参数 // this.onRecordQuery(options) @@ -1297,7 +1297,7 @@ } .rightBox { - width: 195rpx; + min-width: 195rpx; height: 64rpx; background: #FFFFFF; border-radius: 20rpx 20rpx 20rpx 20rpx; diff --git a/pages/goods/list.vue b/pages/goods/list.vue index fb32e83..a23084b 100644 --- a/pages/goods/list.vue +++ b/pages/goods/list.vue @@ -127,7 +127,7 @@ ¥{{ item.line_price_min>0?Number(item.line_price_min):0.00 }} - + @@ -181,7 +181,7 @@ ¥{{ item.line_price_min>0?Number(item.line_price_min):'' }} - + diff --git a/pages/index/index.vue b/pages/index/index.vue index d60e86e..476f152 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -259,7 +259,7 @@ ¥{{ item.line_price_min>0?Number(item.line_price_min):0.00 }} - + @@ -308,7 +308,7 @@ ¥{{ item.line_price_min>0?Number(item.line_price_min):0.00 }} - +