|
|
@ -30,6 +30,9 @@ Page({ |
|
|
onLoad: function (options) { |
|
|
onLoad: function (options) { |
|
|
var height = app.globalData.fragmentHeight - 100 |
|
|
var height = app.globalData.fragmentHeight - 100 |
|
|
this.data.indexHeight = height - 48 |
|
|
this.data.indexHeight = height - 48 |
|
|
|
|
|
if(this.data.indexHeight >= 1200){ |
|
|
|
|
|
this.data.indexHeight = 1200 |
|
|
|
|
|
} |
|
|
var titleHeight = this.px2rpx(app.globalData.CustomBar) + 116 |
|
|
var titleHeight = this.px2rpx(app.globalData.CustomBar) + 116 |
|
|
var itemHeight = parseInt(this.data.indexHeight / 24) |
|
|
var itemHeight = parseInt(this.data.indexHeight / 24) |
|
|
var localCity = null |
|
|
var localCity = null |
|
|
|