From 9784213154341f10540d1442177c16ca3140cc2d Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Wed, 13 Oct 2021 13:54:14 +0800 Subject: [PATCH] no message --- pages/home/city-select/index.js | 3 +-- pages/mall/information-item/index.wxml | 9 +++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pages/home/city-select/index.js b/pages/home/city-select/index.js index c8a1ed3..6d22d62 100644 --- a/pages/home/city-select/index.js +++ b/pages/home/city-select/index.js @@ -96,8 +96,7 @@ Page({ this.setData({ touchmove: false, touchmoveIndex: -1 }) }, lookNow: function(){ - var item = {code: app.nowLocation.cityCode, name:app.nowLocation.cityName} - this.selectCity(item) + this.selectCity({code: app.nowLocation.cityCode, name:app.nowLocation.cityName}) }, lookItem: function(e){ var item = null diff --git a/pages/mall/information-item/index.wxml b/pages/mall/information-item/index.wxml index 2a0decf..8eac073 100644 --- a/pages/mall/information-item/index.wxml +++ b/pages/mall/information-item/index.wxml @@ -1,4 +1,5 @@ - + + {{item.categoryName}} {{item.shortName}} @@ -6,14 +7,14 @@ - {{item.quotedPrice}} + {{formate.formatePrice(item.quotedPrice, 0) || '- -'}} 当前价 - - {{item.floatingQuotedPrice}} + + {{formate.formatePrice(item.floatingQuotedPrice, 0) || '- -'}} 较上次 \ No newline at end of file