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