浏览代码

chart页可触发下滑翻页的范围增加到全页

任一存 3 年之前
父节点
当前提交
24667fab4b
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4 2
      src/views/Chart.vue

+ 4 - 2
src/views/Chart.vue

@@ -692,6 +692,7 @@ export default {
   overflow: hidden;
   .back-btn {
     position: absolute;
+    z-index: 2;
   }
   .picker {
     width: 7.08rem;
@@ -702,6 +703,7 @@ export default {
     top: 6.92rem;
     left: calc(50% - 4.25rem);
     overflow: hidden;
+    z-index: 2;
   }
   .data-circle {
     position: absolute;
@@ -797,10 +799,10 @@ export default {
   }
   .slide-to-nav-mask {
     position: absolute;
-    width: 100%;
-    height: 65%;
+    top: 0;
     bottom: 0;
     left: 0;
+    right: 0;
     // background: red;
     z-index: 1;
   }