diff --git a/pages/home/city-select/index.js b/pages/home/city-select/index.js index dc971a9..749ca9c 100644 --- a/pages/home/city-select/index.js +++ b/pages/home/city-select/index.js @@ -30,6 +30,9 @@ Page({ onLoad: function (options) { var height = app.globalData.fragmentHeight - 100 this.data.indexHeight = height - 48 + if(this.data.indexHeight >= 1200){ + this.data.indexHeight = 1200 + } var titleHeight = this.px2rpx(app.globalData.CustomBar) + 116 var itemHeight = parseInt(this.data.indexHeight / 24) var localCity = null diff --git a/pages/mall/fragment/index.wxml b/pages/mall/fragment/index.wxml index 3e9db3b..9c7e6e8 100644 --- a/pages/mall/fragment/index.wxml +++ b/pages/mall/fragment/index.wxml @@ -57,7 +57,7 @@ - + 价格比一比