Przeglądaj źródła

点击上下箭头页面显示不完整

luolei 5 lat temu
rodzic
commit
600be1d969
2 zmienionych plików z 5 dodań i 4 usunięć
  1. 4 3
      src/components/Detail.vue
  2. 1 1
      src/components/DetailBox.vue

+ 4 - 3
src/components/Detail.vue

@@ -97,6 +97,7 @@ import $ from 'jquery';
         showCheckDatas:[],
         imgUrl:imageUrlPrefix,
         age: pathInfo.patientAge,
+        scroll:''
       }
     },
     props:['datas','data','checkF','tips','sex','flags'],
@@ -398,10 +399,10 @@ import $ from 'jquery';
     font-size: .3rem;
     padding:0;
     .viewPrew {
-      position: absolute;
+      position: fixed;
       width: 100%;
       height: 100%;
-      top: 1.6rem;
+      top: 2.6rem;
       left: 0;
       .content {
         padding-bottom: 3.88rem;
@@ -468,7 +469,7 @@ import $ from 'jquery';
       padding: 0 .4rem 0 .32rem;
       font-size: .28rem;
       color: #7C828E;
-      position: relative;
+      position: fixed;
       z-index: 100;
       width: 100%;
       background-color: #fff;

+ 1 - 1
src/components/DetailBox.vue

@@ -198,8 +198,8 @@
     background: #fff;
     font-size: .3rem;
     animation: wave .4s linear;
-    overflow: hidden;
     border-radius:.2rem .2rem 0px 0px;
+    overflow: hidden;
     .content{
       // height: 100%;
       // width:100%;