File tree Expand file tree Collapse file tree 2 files changed +6
-25
lines changed Expand file tree Collapse file tree 2 files changed +6
-25
lines changed Original file line number Diff line number Diff line change 1717@media screen and (min-width : 58em ) {
1818 /* 弹窗的样式 */
1919 div [times ][type = "page" ] {
20- width : 60 vw !important ;
20+ width : 70 vw !important ;
2121 max-height : 95vh !important ;
2222 }
2323}
2424
2525@media screen and (min-width : 75em ) {
2626 /* 弹窗的样式 */
2727 div [times ][type = "page" ] {
28- width : 50 vw !important ;
28+ width : 60 vw !important ;
2929 max-height : 95vh !important ;
3030 }
3131}
3939
4040 /* 弹窗的样式 */
4141 div [times ][type = "page" ] {
42- width : 93 vw !important ;
42+ width : 90 vw !important ;
4343 max-height : 95vh !important ;
4444 }
4545}
Original file line number Diff line number Diff line change @@ -14,9 +14,6 @@ import http from "./utils/http.js";
1414import array from "./utils/array.js" ;
1515import string from "./utils/string.js" ;
1616
17- let bsAreaWidth = "" ;
18- let keyAreaWidth = "" ;
19- let nsdAreaWidth = "" ;
2017
2118
2219/**
@@ -32,28 +29,12 @@ $(function () {
3229 }
3330 } )
3431 window . onload = function ( ) {
35- area ( ) ;
32+
3633 }
3734 window . onresize = function ( ) {
38- area ( ) ;
39- }
40- } )
4135
42- function area ( ) {
43- if ( window . innerWidth <= 419 ) {
44- bsAreaWidth = "95%" ;
45- keyAreaWidth = "80%" ;
46- nsdAreaWidth = "80%" ;
47- } else if ( window . innerWidth <= 768 ) {
48- bsAreaWidth = "80%" ;
49- keyAreaWidth = "50%" ;
50- nsdAreaWidth = "50%" ;
51- } else {
52- bsAreaWidth = "60%" ;
53- keyAreaWidth = "40%" ;
54- nsdAreaWidth = "50%" ;
5536 }
56- }
37+ } )
5738
5839
5940// ================================== 获取Netsarang激活key ===================================
@@ -176,7 +157,7 @@ window.getKey = function getKey() {
176157 layer . open ( {
177158 // 在默认状态下,layer是宽高都自适应的,但当你只想定义宽度时,你可以area: '500px',高度仍然是自适应的。
178159 // 当你宽高都要定义时,你可以area: ['500px', '300px']
179- //area: [keyAreaWidth ],
160+ //area: [keyAreaWidthWidth ],
180161 type : 1 ,
181162 icon : 1 ,
182163 // 样式类名,目前layer内置的skin有:layui-layer-lan、layui-layer-molv
You can’t perform that action at this time.
0 commit comments