|
@@ -208,11 +208,8 @@ Page({
|
|
|
query.select('.news').boundingClientRect()
|
|
|
query.exec(res => {
|
|
|
let topHeight = res[0].height
|
|
|
- console.log(topHeight);
|
|
|
let searchHeight = res[1].height
|
|
|
- console.log(searchHeight);
|
|
|
let titleHeight = res[2].height
|
|
|
- console.log(titleHeight);
|
|
|
let windowHeight = wx.getSystemInfoSync().windowHeight
|
|
|
let windowWidth = wx.getSystemInfoSync().windowWidth
|
|
|
let height = windowHeight - topHeight - searchHeight - titleHeight
|
|
@@ -237,7 +234,7 @@ Page({
|
|
|
},
|
|
|
choose:function(e){
|
|
|
wx.navigateTo({
|
|
|
- url:"../news/news"
|
|
|
+ url:"../filter/filter"
|
|
|
})
|
|
|
},
|
|
|
swichNav: function(e) {
|