ソースを参照

修改popup zindex,修改日历demo

e 7 年 前
コミット
64576de850

BIN
src/asset/img/demo/datepicker1.png


BIN
src/asset/img/demo/datepicker2.png


BIN
src/asset/img/demo/datepicker3.png


+ 4 - 4
src/demo/datepicker.vue

@@ -1,6 +1,6 @@
 <template>
     <div>
-        <nut-demoheader 
+        <nut-demoheader
         :name="$route.name"
         ></nut-demoheader>
         <h5>示例</h5>
@@ -28,9 +28,9 @@ export default {
                 curDate: '请选择日期'
             },
             dateParams1: {
-                curDate: '2018-01-27',
-                minDate: '2018-01-24',
-                maxDate: '2018-07-26'
+                curDate: '2018-01-12',
+                minDate: '2018-01-08',
+                maxDate: '2018-01-26'
             },
             dateParams2: {
                 curDate: '请选择日期'

+ 2 - 1
src/package/popup/src/popup.vue

@@ -48,7 +48,7 @@ export default {
     },
     mounted: function() {
         var _this = this;
-        
+
         if (_this.configItems.popupHeight != undefined) {
             let height = this.configItems.popupHeight.height;
             setTimeout(function() {
@@ -121,6 +121,7 @@ export default {
     height: 100%;
     left: 0;
     top: 0;
+    z-index: 9999;
     background: rgba(0, 0, 0, .5);
     font-size: 16px;
     display: flex;

+ 3 - 3
src/view/datepicker.vue

@@ -164,9 +164,9 @@ export default {
         return{
             isFold: false,
             dateParams: {
-                curDate: '2018-01-27',
-                minDate: '2018-01-24',
-                maxDate: '2018-07-26'
+                curDate: '2018-01-12',
+                minDate: '2018-01-08',
+                maxDate: '2018-01-26'
             }
         }
     },