zhaoxiaohai il y a 3 ans
Parent
commit
3e1de988db

+ 5 - 5
pages/threadedTree/details/modules/handOver/index.scss

@@ -1,11 +1,11 @@
 .footer-but {
-    position: fixed;
-    width: 100vw;
-    height: 130rpx;
-    bottom: 0;
+    position: fixed !important;
+    width: 100vw !important;
+    height: 130rpx !important;
+    bottom: 0 !important;
     text-align: center;
     background-color: #FFFFFF;
-    
+
     .button {
         width: 500rpx !important;
         height: 90rpx !important;

+ 1 - 0
pages/threadedTree/details/modules/handOver/index.wxml

@@ -5,6 +5,7 @@
         </van-cell>
     </van-cell-group>
 </van-radio-group>
+
 <view style="height: 140rpx;" />
 <view class="footer-but">
     <van-button custom-class='button' disabled='{{!radio}}' bindtap="submit" loading='{{loading}}' loading-text="保存中...">确定</van-button>

+ 1 - 1
pages/threadedTree/modules/insert/insert.wxml

@@ -21,4 +21,4 @@
 <view style="height: 140rpx;" />
 <view class="footer-but">
     <van-button custom-class='button' disabled='{{disabled}}' bindtap="submit" loading='{{loading}}' loading-text="保存中...">确定</van-button>
-</view>
+</view>

+ 1 - 1
pages/threadedTree/modules/popup/index.js

@@ -12,7 +12,7 @@ Component({
             const that = this;
             wx.getSystemInfo({
                 success: (res => that.setData({
-                    scrollHeight: res.windowHeight - 90
+                    scrollHeight: res.windowHeight - 45
                 }))
             });
         }

+ 13 - 2
pages/threadedTree/modules/popup/index.scss

@@ -1,13 +1,24 @@
 /* 弹窗 */
 .popup {
     .header {
+        position: relative;
         width: 100%;
-        height: 90rpx;
-        line-height: 90rpx;
+        height: 100rpx;
+        line-height: 100rpx;
         text-align: center;
         border-bottom: 1px solid #EEEEEE;
         font-size: 28rpx;
         font-family: PingFang SC-Regular, PingFang SC;
         color: #333333;
+
+        .close {
+            position: absolute;
+            width: 100rpx;
+            height: 100rpx;
+            text-align: center;
+            line-height: 100rpx;
+            top: 0;
+            right: 0;
+        }
     }
 }

+ 7 - 2
pages/threadedTree/modules/popup/index.wxml

@@ -1,5 +1,10 @@
-<van-popup class="popup" show="{{ sheetTitle }}" custom-style="height: 100vh;" position="bottom" round closeable bind:close='sheetClose'>
-    <view class="header">{{sheetTitle}}</view>
+<van-popup class="popup" show="{{ sheetTitle }}" custom-style="height: 100vh;" position="bottom" round safe-area-inset-bottom='{{false}}'>
+    <view class="header">
+        {{sheetTitle}}
+        <view class="close" bindtap="sheetClose">
+            <van-icon size='35rpx' name="cross" />
+        </view>
+    </view>
     <scroll-view scroll-y style="height:{{scrollHeight}}px;">
         <slot />
     </scroll-view>