2 次代码提交 fa6c092963 ... 2135254634

作者 SHA1 备注 提交日期
  napier 2135254634 再次调整了分页栏位置;消除console 3 年之前
  napier 8bf8723f7b 修复了分页栏功能异常,定位异常 3 年之前
共有 2 个文件被更改,包括 2 次插入12 次删除
  1. 0 2
      src/components/map.vue
  2. 2 10
      src/components/mobileBar.vue

+ 0 - 2
src/components/map.vue

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

+ 2 - 10
src/components/mobileBar.vue

@@ -408,21 +408,14 @@ export default {
      * @description: 通知列表总数目
      */
     rows: function () {
-      return this.listData.notice.length
+      return this.listData.current.length
     },
 
     /**
      * @description: 最高伸展等级时通知列表每页显示数目
      */
     perPage: function () {
-      return Math.floor((this.maxHeight - 34 - 16 - 24) / 42)
-    },
-
-    /**
-     * @description: 中等伸展等级时通知列表单页显示数目
-     */
-    onePage: function () {
-      return Math.floor((this.maxHeight - 34 - 16 - 24) / 42)
+      return Math.floor((this.maxHeight - 24 - 34 - 4 - 9 - 31 - 10) / 42)
     }
   },
 
@@ -491,7 +484,6 @@ export default {
 }
 #pagin-div {
   position: relative;
-  /* bottom: 0; */
   left: 50%;
   transform: translateX(-50%);
 }