Browse Source

再次调整了分页栏位置;消除console

napier 3 years ago
parent
commit
2135254634
2 changed files with 1 additions and 3 deletions
  1. 0 2
      src/components/map.vue
  2. 1 1
      src/components/mobileBar.vue

+ 0 - 2
src/components/map.vue

@@ -249,12 +249,10 @@ export default {
                       if (!xyz) {
                       if (!xyz) {
                         return ''
                         return ''
                       }
                       }
-                      console.log("xyz:", xyz)
                       var z = xyz[0]
                       var z = xyz[0]
                       var x = xyz[1]
                       var x = xyz[1]
                       var y = xyz[2]
                       var y = xyz[2]
                       y = Math.pow(2, z) - 1 - y
                       y = Math.pow(2, z) - 1 - y
-                      console.log(x,y,z)
                       return "http://rt1.map.gtimg.com/realtimerender?z="
                       return "http://rt1.map.gtimg.com/realtimerender?z="
                         + z + "&x=" + x + "&y=" + y + 
                         + z + "&x=" + x + "&y=" + y + 
                         "&type=vector&style=0"
                         "&type=vector&style=0"

+ 1 - 1
src/components/mobileBar.vue

@@ -415,7 +415,7 @@ export default {
      * @description: 最高伸展等级时通知列表每页显示数目
      * @description: 最高伸展等级时通知列表每页显示数目
      */
      */
     perPage: function () {
     perPage: function () {
-      return Math.floor((this.maxHeight - 24 - 9 - 34 - 10) / 42)
+      return Math.floor((this.maxHeight - 24 - 34 - 4 - 9 - 31 - 10) / 42)
     }
     }
   },
   },