lx 5 年之前
父节点
当前提交
2f7a9e4d95
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 1 4
      pages/index/index.js

+ 1 - 4
pages/index/index.js

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