Browse Source

Merge branch 'next' of https://github.com/jdf2e/nutui into next

ailululu 4 years ago
parent
commit
8f508c8f0b
2 changed files with 4 additions and 0 deletions
  1. 3 0
      src/packages/popup/index.scss
  2. 1 0
      src/packages/popup/index.vue

+ 3 - 0
src/packages/popup/index.scss

@@ -32,6 +32,9 @@
   top: 50%;
   top: 50%;
   left: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   transform: translate(-50%, -50%);
+  &.round {
+    border-radius: $popup-border-radius;
+  }
 }
 }
 
 
 .popup-bottom {
 .popup-bottom {

+ 1 - 0
src/packages/popup/index.vue

@@ -3,6 +3,7 @@
     <nut-overlay
     <nut-overlay
       v-if="overlay"
       v-if="overlay"
       :visible="visible"
       :visible="visible"
+      :close-on-click-overlay="closeOnClickOverlay"
       :class="overlayClass"
       :class="overlayClass"
       :style="overlayStyle"
       :style="overlayStyle"
       :z-index="zIndex"
       :z-index="zIndex"