Ver código fonte

弹框尺寸

wushaodong 4 anos atrás
pai
commit
d6ae040645

+ 2 - 2
uis/tenant/banner/index.html

@@ -148,7 +148,7 @@
                     type: 2,
                     title: '修改',
                     shadeClose: false,
-                    area: ['700px', '700px'],
+                    area: ['50%', '80%'],
                     btn: ['保存', '取消'],
                     yes: function (index, dom) {
                         layui.submitChild();
@@ -167,7 +167,7 @@
                 title: '添加',
                 shadeClose: false,
                 btn: ['保存', '取消'],
-                area: ['700px', '700px'],
+                area: ['50%', '80%'],
                 yes: function (index, dom) {
                     layui.submitChild();
                 },

+ 1 - 1
uis/tenant/company/index.html

@@ -163,7 +163,7 @@
                     type: 2,
                     title: "查看",
                     shadeClose: false,
-                    area: ['700px', '700px'],
+                    area: ['50%', '80%'],
                     content: 'detail.html'
                 })
             } else if (obj.event === 'edit') {

+ 2 - 2
uis/tenant/employee/index.html

@@ -151,7 +151,7 @@
                     type: 2,
                     title: '修改',
                     shadeClose: false,
-                    area: ['600px', '600px'],
+                    area: ['50%', '80%'],
                     btn: ['保存', '取消'],
                     yes: function (index, dom) {
                         layui.submitChild();
@@ -181,7 +181,7 @@
                 type: 2,
                 title: '添加',
                 shadeClose: false,
-                area: ['700px', '700px'],
+                area: ['50%', '80%'],
                 btn: ['保存', '取消'],
                 yes: function (index, dom) {
                     layui.onSubmitChild = function (data) {

+ 1 - 1
uis/tenant/inspection/index.html

@@ -152,7 +152,7 @@
                     type: 2,
                     title: "巡检详情",
                     shadeClose: false,
-                    area: ['600px', '650px'],
+                    area: ['50%', '80%'],
                     content: 'detail.html'
                 })
             } else if (obj.event === 'transfer') {

+ 2 - 2
uis/tenant/option/index.html

@@ -147,7 +147,7 @@
                     type: 2,
                     title: '修改',
                     shadeClose: false,
-                    area: ['700px', '500px'],
+                    area: ['50%', '70%'],
                     btn: ['保存', '取消'],
                     yes: function (index, dom) {
                         layui.onSubmitChild = function (data) {
@@ -181,7 +181,7 @@
                 type: 2,
                 title: '添加',
                 shadeClose: false,
-                area: ['700px', '500px'],
+                area: ['50%', '70%'],
                 btn: ['保存', '取消'],
                 yes: function (index, dom) {
                     layui.onSubmitChild = function (data) {

+ 2 - 2
uis/tenant/repairManage/index.html

@@ -178,7 +178,7 @@
                     type: 2,
                     title: "查看",
                     shadeClose: false,
-                    area: ['700px', '650px'],
+                    area: ['50%', '80%'],
                     content: 'detail.html'
                 })
             } else if (obj.event === 'dispatch') {
@@ -195,7 +195,7 @@
                     title: "派工",
                     shadeClose: false,
                     btn: ['确定', '取消'],
-                    area: ['600px', '450px'],
+                    area: ['50%', '50%'],
                     yes: function (index, dom) {
                         layui.onSubmitChild = function (data) {
                             layer.close(index);