Browse Source

no message

sys 2 years ago
parent
commit
43e29ab88b
1 changed files with 14 additions and 8 deletions
  1. 14 8
      components/en-utils/en-popup/en-popup.vue

+ 14 - 8
components/en-utils/en-popup/en-popup.vue

@@ -3,7 +3,9 @@
     <uni-popup ref="popup"  @change="setTabBar" type="bottom" :mask-background-color="maskBackgroundColor">
       <view class="popup-box" v-show="showTop">
         <view class="popup-title" @click="close">
-          <image class="popup-close" src="@/static/img/pay/gb-p.png"></image>
+          <view class="popup-close">
+            <image class="popup-close-img" src="/static/img/common/close.png" mode="widthFix" ></image>
+          </view>
         </view>
         <slot name="popupInfo"></slot>
       </view>
@@ -63,16 +65,20 @@ export default {
 }
 .popup-box{
   background: #FFFFFF;
-  border-radius: 20rpx 20rpx 0 0;
+  border-radius: 30rpx 30rpx 0 0;
   box-shadow: 0px -8px 20px 0px rgba(0,0,0,0.04);
-  padding: 28rpx 32rpx 50rpx 32rpx;
-  z-index: 100;
+  padding: 42rpx 32rpx calc(16rxp + env(safe-area-inset-bottom));
+  z-index: 999999;
   .popup-title{
-    padding: 20rpx;
+    padding: 20rpx 0;
+    width: 100%;
     .popup-close{
-      margin: 0 auto;
-      width: 82rpx;
-      height: 10rpx;
+      width: 72rpx;
+      margin: auto;
+      border-radius: 30rpx;
+      .popup-close-img {
+        width: 72rpx;
+      }
     }
   }
 }