Commit af98851a5456d9f1301be8a363aee90eabe73de1
1 parent
336dcf2a
update...
Showing
12 changed files
with
260 additions
and
4 deletions
src/main/resources/static/real_control_v2/assets/plugins/layer3.0.3/skin/default/icon-ext.png
0 → 100644
5.77 KB
src/main/resources/static/real_control_v2/assets/plugins/layer3.0.3/skin/default/icon.png
0 → 100644
11.2 KB
src/main/resources/static/real_control_v2/assets/plugins/layer3.0.3/skin/default/layer.css
0 → 100644
| 1 | +/** | ||
| 2 | + | ||
| 3 | + @Name: layer | ||
| 4 | + @Author: 贤心 | ||
| 5 | + | ||
| 6 | + **/ | ||
| 7 | + | ||
| 8 | +*html{background-image: url(about:blank); background-attachment: fixed;} | ||
| 9 | +html #layuicss-skinlayercss{display: none; position: absolute; width: 1989px;} | ||
| 10 | + | ||
| 11 | +/* common */ | ||
| 12 | +.layui-layer-shade, .layui-layer{position:fixed; _position:absolute; pointer-events: auto;} | ||
| 13 | +.layui-layer-shade{top:0; left:0; width:100%; height:100%; _height:expression(document.body.offsetHeight+"px");} | ||
| 14 | +.layui-layer{-webkit-overflow-scrolling: touch;} | ||
| 15 | +.layui-layer{top:150px; left: 0; margin:0; padding:0; background-color:#fff; -webkit-background-clip: content; box-shadow: 1px 1px 50px rgba(0,0,0,.3);} | ||
| 16 | +.layui-layer-close{position:absolute;} | ||
| 17 | +.layui-layer-content{position:relative;} | ||
| 18 | +.layui-layer-border{border: 1px solid #B2B2B2; border: 1px solid rgba(0,0,0,.1); box-shadow: 1px 1px 5px rgba(0,0,0,.2);} | ||
| 19 | +.layui-layer-load{background:url("/real_control_v2/assets/plugins/layer3.0.3/skin/default/loading-1.gif") #eee center center no-repeat;} | ||
| 20 | +.layui-layer-ico{ background:url("/real_control_v2/assets/plugins/layer3.0.3/skin/default/icon.png") no-repeat;} | ||
| 21 | +.layui-layer-dialog .layui-layer-ico, | ||
| 22 | +.layui-layer-setwin a, | ||
| 23 | +.layui-layer-btn a{display:inline-block; *display:inline; *zoom:1; vertical-align:top;} | ||
| 24 | + | ||
| 25 | +.layui-layer-move{display: none; position: fixed; *position: absolute; left: 0px; top: 0px; width: 100%; height: 100%; cursor: move; opacity: 0; filter:alpha(opacity=0); background-color: #fff; z-index: 2147483647;} | ||
| 26 | +.layui-layer-resize{position: absolute; width: 15px; height: 15px; right: 0; bottom: 0; cursor: se-resize;} | ||
| 27 | + | ||
| 28 | +/* 动画 */ | ||
| 29 | +.layui-layer{border-radius: 2px; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-duration:.3s; animation-duration:.3s;} | ||
| 30 | + | ||
| 31 | +@-webkit-keyframes layer-bounceIn { /* 默认 */ | ||
| 32 | + 0% {opacity: 0; -webkit-transform: scale(.5); transform: scale(.5)} | ||
| 33 | + 100% {opacity: 1; -webkit-transform: scale(1); transform: scale(1)} | ||
| 34 | +} | ||
| 35 | +@keyframes layer-bounceIn { | ||
| 36 | + 0% {opacity: 0; -webkit-transform: scale(.5); -ms-transform: scale(.5); transform: scale(.5)} | ||
| 37 | + 100% {opacity: 1; -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1)} | ||
| 38 | +} | ||
| 39 | +.layer-anim{-webkit-animation-name: layer-bounceIn;animation-name: layer-bounceIn} | ||
| 40 | + | ||
| 41 | +@-webkit-keyframes layer-zoomInDown{0%{opacity:0;-webkit-transform:scale(.1) translateY(-2000px);transform:scale(.1) translateY(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}60%{opacity:1;-webkit-transform:scale(.475) translateY(60px);transform:scale(.475) translateY(60px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}@keyframes layer-zoomInDown{0%{opacity:0;-webkit-transform:scale(.1) translateY(-2000px);-ms-transform:scale(.1) translateY(-2000px);transform:scale(.1) translateY(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}60%{opacity:1;-webkit-transform:scale(.475) translateY(60px);-ms-transform:scale(.475) translateY(60px);transform:scale(.475) translateY(60px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}.layer-anim-01{-webkit-animation-name:layer-zoomInDown;animation-name:layer-zoomInDown} | ||
| 42 | + | ||
| 43 | +@-webkit-keyframes layer-fadeInUpBig{0%{opacity:0;-webkit-transform:translateY(2000px);transform:translateY(2000px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes layer-fadeInUpBig{0%{opacity:0;-webkit-transform:translateY(2000px);-ms-transform:translateY(2000px);transform:translateY(2000px)}100%{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}}.layer-anim-02{-webkit-animation-name:layer-fadeInUpBig;animation-name:layer-fadeInUpBig} | ||
| 44 | + | ||
| 45 | +@-webkit-keyframes layer-zoomInLeft{0%{opacity:0;-webkit-transform:scale(.1) translateX(-2000px);transform:scale(.1) translateX(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}60%{opacity:1;-webkit-transform:scale(.475) translateX(48px);transform:scale(.475) translateX(48px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}@keyframes layer-zoomInLeft{0%{opacity:0;-webkit-transform:scale(.1) translateX(-2000px);-ms-transform:scale(.1) translateX(-2000px);transform:scale(.1) translateX(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}60%{opacity:1;-webkit-transform:scale(.475) translateX(48px);-ms-transform:scale(.475) translateX(48px);transform:scale(.475) translateX(48px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}.layer-anim-03{-webkit-animation-name:layer-zoomInLeft;animation-name:layer-zoomInLeft} | ||
| 46 | + | ||
| 47 | +@-webkit-keyframes layer-rollIn{0%{opacity:0;-webkit-transform:translateX(-100%) rotate(-120deg);transform:translateX(-100%) rotate(-120deg)}100%{opacity:1;-webkit-transform:translateX(0px) rotate(0deg);transform:translateX(0px) rotate(0deg)}}@keyframes layer-rollIn{0%{opacity:0;-webkit-transform:translateX(-100%) rotate(-120deg);-ms-transform:translateX(-100%) rotate(-120deg);transform:translateX(-100%) rotate(-120deg)}100%{opacity:1;-webkit-transform:translateX(0px) rotate(0deg);-ms-transform:translateX(0px) rotate(0deg);transform:translateX(0px) rotate(0deg)}}.layer-anim-04{-webkit-animation-name:layer-rollIn;animation-name:layer-rollIn} | ||
| 48 | + | ||
| 49 | +@keyframes layer-fadeIn{0%{opacity:0}100%{opacity:1}}.layer-anim-05{-webkit-animation-name:layer-fadeIn;animation-name:layer-fadeIn} | ||
| 50 | + | ||
| 51 | +@-webkit-keyframes layer-shake{0%,100%{-webkit-transform:translateX(0);transform:translateX(0)}10%,30%,50%,70%,90%{-webkit-transform:translateX(-10px);transform:translateX(-10px)}20%,40%,60%,80%{-webkit-transform:translateX(10px);transform:translateX(10px)}}@keyframes layer-shake{0%,100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}10%,30%,50%,70%,90%{-webkit-transform:translateX(-10px);-ms-transform:translateX(-10px);transform:translateX(-10px)}20%,40%,60%,80%{-webkit-transform:translateX(10px);-ms-transform:translateX(10px);transform:translateX(10px)}}.layer-anim-06{-webkit-animation-name:layer-shake;animation-name:layer-shake}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}} | ||
| 52 | + | ||
| 53 | +/* 标题栏 */ | ||
| 54 | +.layui-layer-title{padding:0 80px 0 20px; height:42px; line-height:42px; border-bottom:1px solid #eee; font-size:14px; color:#333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background-color: #F8F8F8; border-radius: 2px 2px 0 0;} | ||
| 55 | +.layui-layer-setwin{position:absolute; right:15px; *right:0; top:15px; font-size:0; line-height: initial;} | ||
| 56 | +.layui-layer-setwin a{position:relative; width: 16px; height:16px; margin-left:10px; font-size:12px; _overflow:hidden;} | ||
| 57 | +.layui-layer-setwin .layui-layer-min cite{position:absolute; width:14px; height:2px; left:0; top:50%; margin-top:-1px; background-color:#2E2D3C; cursor:pointer; _overflow:hidden;} | ||
| 58 | +.layui-layer-setwin .layui-layer-min:hover cite{background-color:#2D93CA; } | ||
| 59 | +.layui-layer-setwin .layui-layer-max{background-position:-32px -40px;} | ||
| 60 | +.layui-layer-setwin .layui-layer-max:hover{background-position:-16px -40px;} | ||
| 61 | +.layui-layer-setwin .layui-layer-maxmin{background-position:-65px -40px;} | ||
| 62 | +.layui-layer-setwin .layui-layer-maxmin:hover{background-position:-49px -40px;} | ||
| 63 | +.layui-layer-setwin .layui-layer-close1{background-position: 1px -40px; cursor: pointer;} | ||
| 64 | +.layui-layer-setwin .layui-layer-close1:hover{opacity:0.7;} | ||
| 65 | +.layui-layer-setwin .layui-layer-close2{position:absolute; right:-28px; top:-28px; width:30px; height:30px; margin-left:0; background-position:-149px -31px; *right:-18px; _display:none;} | ||
| 66 | +.layui-layer-setwin .layui-layer-close2:hover{ background-position:-180px -31px;} | ||
| 67 | + | ||
| 68 | +/* 按钮栏 */ | ||
| 69 | +.layui-layer-btn{text-align: right; padding:0 10px 12px; pointer-events: auto; user-select: none; -webkit-user-select: none;} | ||
| 70 | +.layui-layer-btn a{height: 28px; line-height: 28px; margin: 6px 6px 0; padding: 0 15px; border:1px #dedede solid; background-color:#f1f1f1; color: #333; border-radius: 2px; font-weight:400; cursor:pointer; text-decoration: none;} | ||
| 71 | +.layui-layer-btn a:hover{opacity: 0.9; text-decoration: none;} | ||
| 72 | +.layui-layer-btn a:active{opacity: 0.8;} | ||
| 73 | +.layui-layer-btn .layui-layer-btn0{border-color: #4898d5; background-color: #2e8ded; color:#fff;} | ||
| 74 | +.layui-layer-btn-l{text-align: left;} | ||
| 75 | +.layui-layer-btn-c{text-align: center;} | ||
| 76 | + | ||
| 77 | +/* 定制化 */ | ||
| 78 | +.layui-layer-dialog{min-width:260px;} | ||
| 79 | +.layui-layer-dialog .layui-layer-content{position: relative; padding:20px; line-height:24px; word-break: break-all; overflow:hidden; font-size:14px; overflow-x: hidden; overflow-y:auto;} | ||
| 80 | +.layui-layer-dialog .layui-layer-content .layui-layer-ico{position:absolute; top:16px; left:15px; _left:-40px; width:30px; height:30px;} | ||
| 81 | +.layui-layer-ico1{background-position:-30px 0 } | ||
| 82 | +.layui-layer-ico2{background-position:-60px 0;} | ||
| 83 | +.layui-layer-ico3{background-position:-90px 0;} | ||
| 84 | +.layui-layer-ico4{background-position:-120px 0;} | ||
| 85 | +.layui-layer-ico5{background-position:-150px 0;} | ||
| 86 | +.layui-layer-ico6{background-position:-180px 0;} | ||
| 87 | +.layui-layer-rim{border:6px solid #8D8D8D; border:6px solid rgba(0,0,0,.3); border-radius:5px; box-shadow: none;} | ||
| 88 | +.layui-layer-msg{min-width:180px; border:1px solid #D3D4D3; box-shadow: none;} | ||
| 89 | +.layui-layer-hui{min-width:100px; background-color: #000; filter:alpha(opacity=60); background-color: rgba(0,0,0,0.6); color: #fff; border:none;} | ||
| 90 | +.layui-layer-hui .layui-layer-content{padding:12px 25px; text-align:center;} | ||
| 91 | +.layui-layer-dialog .layui-layer-padding{padding: 20px 20px 20px 55px; text-align: left;} | ||
| 92 | +.layui-layer-page .layui-layer-content{position:relative; overflow:auto;} | ||
| 93 | +.layui-layer-page .layui-layer-btn,.layui-layer-iframe .layui-layer-btn{padding-top:10px;} | ||
| 94 | +.layui-layer-nobg{background:none;} | ||
| 95 | +.layui-layer-iframe iframe{display: block; width: 100%;} | ||
| 96 | + | ||
| 97 | +.layui-layer-loading{border-radius:100%; background:none; box-shadow:none; border:none;} | ||
| 98 | +.layui-layer-loading .layui-layer-content{width:60px; height:24px; background:url("/real_control_v2/assets/plugins/layer3.0.3/skin/default/loading-0.gif") no-repeat;} | ||
| 99 | +.layui-layer-loading .layui-layer-loading1{width:37px; height:37px; background:url("/real_control_v2/assets/plugins/layer3.0.3/skin/default/loading-1.gif") no-repeat;} | ||
| 100 | +.layui-layer-loading .layui-layer-loading2, .layui-layer-ico16{width:32px; height:32px; background:url("/real_control_v2/assets/plugins/layer3.0.3/skin/default/loading-2.gif") no-repeat;} | ||
| 101 | +.layui-layer-tips{background: none; box-shadow:none; border:none;} | ||
| 102 | +.layui-layer-tips .layui-layer-content{position: relative; line-height: 22px; min-width: 12px; padding: 5px 10px; font-size: 12px; _float:left; border-radius: 2px; box-shadow: 1px 1px 3px rgba(0,0,0,.2); background-color: #000; color: #fff;} | ||
| 103 | +.layui-layer-tips .layui-layer-close{right:-2px; top:-1px;} | ||
| 104 | +.layui-layer-tips i.layui-layer-TipsG{ position:absolute; width:0; height:0; border-width:8px; border-color:transparent; border-style:dashed; *overflow:hidden;} | ||
| 105 | +.layui-layer-tips i.layui-layer-TipsT, .layui-layer-tips i.layui-layer-TipsB{left:5px; border-right-style:solid; border-right-color: #000;} | ||
| 106 | +.layui-layer-tips i.layui-layer-TipsT{bottom:-8px;} | ||
| 107 | +.layui-layer-tips i.layui-layer-TipsB{top:-8px;} | ||
| 108 | +.layui-layer-tips i.layui-layer-TipsR, .layui-layer-tips i.layui-layer-TipsL{top:1px; border-bottom-style:solid; border-bottom-color: #000;} | ||
| 109 | +.layui-layer-tips i.layui-layer-TipsR{left:-8px;} | ||
| 110 | +.layui-layer-tips i.layui-layer-TipsL{right:-8px;} | ||
| 111 | + | ||
| 112 | +/* skin */ | ||
| 113 | +.layui-layer-lan[type="dialog"]{min-width:280px;} | ||
| 114 | +.layui-layer-lan .layui-layer-title{background:#4476A7; color:#fff; border: none;} | ||
| 115 | +.layui-layer-lan .layui-layer-btn{padding: 5px 10px 10px; text-align: right; border-top:1px solid #E9E7E7} | ||
| 116 | +.layui-layer-lan .layui-layer-btn a{background:#BBB5B5; border:none;} | ||
| 117 | +.layui-layer-lan .layui-layer-btn .layui-layer-btn1{background:#C9C5C5;} | ||
| 118 | +.layui-layer-molv .layui-layer-title{background:#009f95; color:#fff; border: none;} | ||
| 119 | +.layui-layer-molv .layui-layer-btn a{background:#009f95;} | ||
| 120 | +.layui-layer-molv .layui-layer-btn .layui-layer-btn1{background:#92B8B1;} | ||
| 121 | + | ||
| 122 | + | ||
| 123 | + | ||
| 124 | +/** | ||
| 125 | + | ||
| 126 | + @Name: layer拓展样式 | ||
| 127 | + | ||
| 128 | + */ | ||
| 129 | + | ||
| 130 | +.layui-layer-iconext{background:url("/real_control_v2/assets/plugins/layer3.0.3/skin/default/icon-ext.png") no-repeat;} | ||
| 131 | + | ||
| 132 | +/* prompt模式 */ | ||
| 133 | +.layui-layer-prompt .layui-layer-input{display:block; width:220px; height:30px; margin:0 auto; line-height:30px; padding: 0 5px; border: 1px solid #ccc; box-shadow: 1px 1px 5px rgba(0,0,0,.1) inset; color:#333;} | ||
| 134 | +.layui-layer-prompt textarea.layui-layer-input{width:300px; height:100px; line-height:20px;} | ||
| 135 | +.layui-layer-prompt .layui-layer-content{padding: 20px;} | ||
| 136 | +.layui-layer-prompt .layui-layer-btn{padding-top: 0;} | ||
| 137 | + | ||
| 138 | +/* tab模式 */ | ||
| 139 | +.layui-layer-tab{box-shadow:1px 1px 50px rgba(0,0,0,.4);} | ||
| 140 | +.layui-layer-tab .layui-layer-title{padding-left:0; border-bottom:1px solid #ccc; background-color:#eee; overflow: visible;} | ||
| 141 | +.layui-layer-tab .layui-layer-title span{position:relative; float:left; min-width:80px; max-width:260px; padding:0 20px; text-align:center; cursor:default; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;} | ||
| 142 | +.layui-layer-tab .layui-layer-title span.layui-layer-tabnow{height:43px; border-left:1px solid #ccc; border-right:1px solid #ccc; background-color:#fff; z-index:10;} | ||
| 143 | +.layui-layer-tab .layui-layer-title span:first-child{border-left:none;} | ||
| 144 | +.layui-layer-tabmain{line-height:24px; clear:both;} | ||
| 145 | +.layui-layer-tabmain .layui-layer-tabli{display:none;} | ||
| 146 | +.layui-layer-tabmain .layui-layer-tabli.xubox_tab_layer{display:block;} | ||
| 147 | +.xubox_tabclose{position:absolute; right:10px; top:5px; cursor:pointer;} | ||
| 148 | + | ||
| 149 | +/* photo模式 */ | ||
| 150 | +.layui-layer-photos{-webkit-animation-duration: .8s; animation-duration: .8s;} | ||
| 151 | +.layui-layer-photos .layui-layer-content{overflow:hidden; text-align: center;} | ||
| 152 | +.layui-layer-photos .layui-layer-phimg img{position: relative; width:100%; display: inline-block; *display:inline; *zoom:1; vertical-align:top;} | ||
| 153 | +.layui-layer-imguide,.layui-layer-imgbar{display:none;} | ||
| 154 | +.layui-layer-imgprev, .layui-layer-imgnext{position:absolute; top:50%; width:27px; _width:44px; height:44px; margin-top:-22px; outline:none;blr:expression(this.onFocus=this.blur());} | ||
| 155 | +.layui-layer-imgprev{left:10px; background-position:-5px -5px; _background-position:-70px -5px;} | ||
| 156 | +.layui-layer-imgprev:hover{background-position:-33px -5px; _background-position:-120px -5px;} | ||
| 157 | +.layui-layer-imgnext{right:10px; _right:8px; background-position:-5px -50px; _background-position:-70px -50px;} | ||
| 158 | +.layui-layer-imgnext:hover{background-position:-33px -50px; _background-position:-120px -50px;} | ||
| 159 | +.layui-layer-imgbar{position:absolute; left:0; bottom:0; width:100%; height:32px; line-height:32px; background-color:rgba(0,0,0,.8); background-color:#000\9; filter:Alpha(opacity=80); color:#fff; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; font-size:0;} | ||
| 160 | +.layui-layer-imgtit{/*position:absolute; left:20px;*/} | ||
| 161 | +.layui-layer-imgtit *{display:inline-block; *display:inline; *zoom:1; vertical-align:top; font-size:12px;} | ||
| 162 | +.layui-layer-imgtit a{max-width:65%; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; color:#fff;} | ||
| 163 | +.layui-layer-imgtit a:hover{color:#fff; text-decoration:underline;} | ||
| 164 | +.layui-layer-imgtit em{padding-left:10px; font-style: normal;} | ||
| 165 | + | ||
| 166 | +/* 关闭动画 */ | ||
| 167 | +@-webkit-keyframes layer-bounceOut { | ||
| 168 | + 100% {opacity: 0; -webkit-transform: scale(.7); transform: scale(.7)} | ||
| 169 | + 30% {-webkit-transform: scale(1.05); transform: scale(1.05)} | ||
| 170 | + 0% {-webkit-transform: scale(1); transform: scale(1);} | ||
| 171 | +} | ||
| 172 | +@keyframes layer-bounceOut { | ||
| 173 | + 100% {opacity: 0; -webkit-transform: scale(.7); -ms-transform: scale(.7); transform: scale(.7);} | ||
| 174 | + 30% {-webkit-transform: scale(1.05); -ms-transform: scale(1.05); transform: scale(1.05);} | ||
| 175 | + 0% {-webkit-transform: scale(1); -ms-transform: scale(1);transform: scale(1);} | ||
| 176 | +} | ||
| 177 | +.layer-anim-close{-webkit-animation-name: layer-bounceOut;animation-name: layer-bounceOut; -webkit-animation-duration:.2s; animation-duration:.2s;} | ||
| 178 | + | ||
| 179 | +@media screen and (max-width: 1100px) { | ||
| 180 | + .layui-layer-iframe{overflow-y: auto; -webkit-overflow-scrolling: touch;} | ||
| 181 | +} | ||
| 182 | + | ||
| 183 | + |
src/main/resources/static/real_control_v2/assets/plugins/layer3.0.3/skin/default/loading-0.gif
0 → 100644
5.66 KB
src/main/resources/static/real_control_v2/assets/plugins/layer3.0.3/skin/default/loading-1.gif
0 → 100644
701 Bytes
src/main/resources/static/real_control_v2/assets/plugins/layer3.0.3/skin/default/loading-2.gif
0 → 100644
1.75 KB
src/main/resources/static/real_control_v2/assets/plugins/layer3.0.3/skin/moon/default.png
0 → 100644
7.39 KB
src/main/resources/static/real_control_v2/assets/plugins/layer3.0.3/skin/moon/style.css
0 → 100644
| 1 | +html #layui_layer_skinmoonstylecss{display:none;position:absolute;width:1989px}body .layer-ext-moon[type=dialog]{min-width:320px}body .layer-ext-moon-msg[type=dialog]{min-width:200px}body .layer-ext-moon .layui-layer-title{background:#f6f6f6;color:#212a31;font-size:16px;font-weight:700;height:46px;line-height:46px;border-bottom:1px solid #D5D5D5}body .layer-ext-moon .layui-layer-content .layui-layer-ico{height:32px;width:32px;top:18.5px}body .layer-ext-moon .layui-layer-ico0{background:url("/real_control_v2/assets/plugins/layer3.0.3/skin/moon/default.png") -96px 0 no-repeat}body .layer-ext-moon .layui-layer-ico1{background:url("/real_control_v2/assets/plugins/layer3.0.3/skin/moon/default.png") -224px 0 no-repeat}body .layer-ext-moon .layui-layer-ico2{background:url("/real_control_v2/assets/plugins/layer3.0.3/skin/moon/default.png") -192px 0 no-repeat}body .layer-ext-moon .layui-layer-ico3{background:url("/real_control_v2/assets/plugins/layer3.0.3/skin/moon/default.png") -160px 0 no-repeat}body .layer-ext-moon .layui-layer-ico4{background:url("/real_control_v2/assets/plugins/layer3.0.3/skin/moon/default.png") -320px 0 no-repeat}body .layer-ext-moon .layui-layer-ico5{background:url("/real_control_v2/assets/plugins/layer3.0.3/skin/moon/default.png") -288px 0 no-repeat}body .layer-ext-moon .layui-layer-ico6{background:url("/real_control_v2/assets/plugins/layer3.0.3/skin/moon/default.png") -256px 0}body .layer-ext-moon .layui-layer-ico7{background:url("/real_control_v2/assets/plugins/layer3.0.3/skin/moon/default.png") -128px 0 no-repeat}body .layer-ext-moon .layui-layer-setwin{top:15px;right:15px}body .layer-ext-moon .layui-layer-setwin a{width:16px;height:16px}body .layer-ext-moon .layui-layer-setwin .layui-layer-min cite:hover{background-color:#56abe4}body .layer-ext-moon .layui-layer-setwin .layui-layer-max{background:url("/real_control_v2/assets/plugins/layer3.0.3/skin/moon/default.png") -80px 0 no-repeat}body .layer-ext-moon .layui-layer-setwin .layui-layer-max:hover{background:url("/real_control_v2/assets/plugins/layer3.0.3/skin/moon/default.png") -64px 0 no-repeat}body .layer-ext-moon .layui-layer-setwin .layui-layer-maxmin{background:url("/real_control_v2/assets/plugins/layer3.0.3/skin/moon/default.png") -32px 0 no-repeat}body .layer-ext-moon .layui-layer-setwin .layui-layer-maxmin:hover{background:url("/real_control_v2/assets/plugins/layer3.0.3/skin/moon/default.png") -16px 0 no-repeat}body .layer-ext-moon .layui-layer-setwin .layui-layer-close1,body .layer-ext-moon .layui-layer-setwin .layui-layer-close2{background:url("/real_control_v2/assets/plugins/layer3.0.3/skin/moon/default.png")}body .layer-ext-moon .layui-layer-setwin .layui-layer-close1:hover,body .layer-ext-moon .layui-layer-setwin .layui-layer-close2:hover{background:url("/real_control_v2/assets/plugins/layer3.0.3/skin/moon/default.png") -48px 0}body .layer-ext-moon .layui-layer-padding{padding-top:24px}body .layer-ext-moon .layui-layer-btn{text-align:center;padding-top:15px;padding-bottom:15px;background:#f0f4f7;border-top:1px #c7c7c7 solid}body .layer-ext-moon .layui-layer-btn a{font-size:12px;font-weight:400;margin:0 7px;padding:6px 20px;color:#fff;border:1px solid #0064b6;background:no-repeat #0071ce;border-radius:3px;display:inline-block;height:20px;line-height:20px;text-align:center;vertical-align:middle;text-decoration:none;outline:0}body .layer-ext-moon .layui-layer-btn .layui-layer-btn0{background:#0071ce}body .layer-ext-moon .layui-layer-btn .layui-layer-btn1{background:#fff;color:#404a58;border:1px solid #c0c4cd;border-radius:3px}body .layer-ext-moon .layui-layer-btn .layui-layer-btn2{background:#f60;color:#fff;border:1px solid #f60;border-radius:3px}body .layer-ext-moon .layui-layer-btn .layui-layer-btn3{background:red;color:#fff;border:1px solid red;border-radius:3px}body .layer-ext-moon .layui-layer-title span.layui-layer-tabnow{height:47px} | ||
| 0 | \ No newline at end of file | 2 | \ No newline at end of file |
src/main/resources/static/real_control_v2/css/modal_extend.css
| @@ -39,4 +39,13 @@ | @@ -39,4 +39,13 @@ | ||
| 39 | #ssspVedioModal p.loading{ | 39 | #ssspVedioModal p.loading{ |
| 40 | text-align: center; | 40 | text-align: center; |
| 41 | margin-top: 50px; | 41 | margin-top: 50px; |
| 42 | +} | ||
| 43 | + | ||
| 44 | +.layui-layer-border{ | ||
| 45 | + box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 17px 0px, rgba(0, 0, 0, 0.19) 0px 6px 20px 0px !important; | ||
| 46 | +} | ||
| 47 | + | ||
| 48 | +body .layer-ext-moon .layui-layer-title{ | ||
| 49 | + background: #707070 !important; | ||
| 50 | + color: #e2e2e2 !important; | ||
| 42 | } | 51 | } |
| 43 | \ No newline at end of file | 52 | \ No newline at end of file |
src/main/resources/static/real_control_v2/js/forms/form_embed.js
| @@ -5,6 +5,9 @@ | @@ -5,6 +5,9 @@ | ||
| 5 | 5 | ||
| 6 | var gb_embed_form_hanlde = (function () { | 6 | var gb_embed_form_hanlde = (function () { |
| 7 | 7 | ||
| 8 | + layer.config({ | ||
| 9 | + skin: 'layer-ext-moon' | ||
| 10 | + }) | ||
| 8 | 11 | ||
| 9 | var temps; | 12 | var temps; |
| 10 | $.get('/real_control_v2/js/forms/temps.html', function (dom) { | 13 | $.get('/real_control_v2/js/forms/temps.html', function (dom) { |
| @@ -14,7 +17,7 @@ var gb_embed_form_hanlde = (function () { | @@ -14,7 +17,7 @@ var gb_embed_form_hanlde = (function () { | ||
| 14 | /** | 17 | /** |
| 15 | * 打开表单片段 | 18 | * 打开表单片段 |
| 16 | * @param pageUrl | 19 | * @param pageUrl |
| 17 | - */ | 20 | + |
| 18 | var open_modal_form_fragment = function (pageUrl, title) { | 21 | var open_modal_form_fragment = function (pageUrl, title) { |
| 19 | //modal ID | 22 | //modal ID |
| 20 | var id = '#formFragmentModal'; | 23 | var id = '#formFragmentModal'; |
| @@ -30,7 +33,32 @@ var gb_embed_form_hanlde = (function () { | @@ -30,7 +33,32 @@ var gb_embed_form_hanlde = (function () { | ||
| 30 | var htmlStr = gb_embed_form_hanlde.temps()['forms-embed-modal-temp']({pageUrl: wrapUrl, title: title}); | 33 | var htmlStr = gb_embed_form_hanlde.temps()['forms-embed-modal-temp']({pageUrl: wrapUrl, title: title}); |
| 31 | $(document.body).append(htmlStr); | 34 | $(document.body).append(htmlStr); |
| 32 | UIkit.modal(id, {bgclose: false}).show(); | 35 | UIkit.modal(id, {bgclose: false}).show(); |
| 33 | - }; | 36 | + };*/ |
| 37 | + var open_modal_form_fragment = function (pageUrl, title) { | ||
| 38 | + var id = '#formFragmentModal'; | ||
| 39 | + if($(id+'.uk-modal').length > 0){ | ||
| 40 | + $(id).remove(); | ||
| 41 | + } | ||
| 42 | + //将片段路径写入 localStorage | ||
| 43 | + window.localStorage.setItem('real_control_form_embed_pageUrl', pageUrl); | ||
| 44 | + //包裹页面 | ||
| 45 | + var wrapUrl = '/real_control_v2/js/forms/wrap.html?origin=real_control_iframe'; | ||
| 46 | + | ||
| 47 | + layer.open({ | ||
| 48 | + type: 2, | ||
| 49 | + title: title, | ||
| 50 | + shadeClose: true, | ||
| 51 | + shade: false, | ||
| 52 | + maxmin: true, //开启最大化最小化按钮 | ||
| 53 | + area: ['1093px', '600px'], | ||
| 54 | + moveOut: true, | ||
| 55 | + content: wrapUrl, | ||
| 56 | + end: function () { | ||
| 57 | + | ||
| 58 | + } | ||
| 59 | + }); | ||
| 60 | + } | ||
| 61 | + | ||
| 34 | 62 | ||
| 35 | return { | 63 | return { |
| 36 | temps: function () { | 64 | temps: function () { |
src/main/resources/static/real_control_v2/js/forms/wrap.html
| @@ -45,6 +45,36 @@ | @@ -45,6 +45,36 @@ | ||
| 45 | .form-page-content .portlet{ | 45 | .form-page-content .portlet{ |
| 46 | margin-bottom: 0px !important; | 46 | margin-bottom: 0px !important; |
| 47 | } | 47 | } |
| 48 | + | ||
| 49 | + .row{ | ||
| 50 | + margin-left: 0 !important; | ||
| 51 | + margin-right: 0 !important; | ||
| 52 | + } | ||
| 53 | + | ||
| 54 | + .row .col-md-12{ | ||
| 55 | + padding-left: 0 !important; | ||
| 56 | + } | ||
| 57 | + | ||
| 58 | + .portlet{ | ||
| 59 | + padding-top: 0 !important; | ||
| 60 | + padding-left: 0 !important; | ||
| 61 | + } | ||
| 62 | + | ||
| 63 | + .form-page-content .portlet>.portlet-title{ | ||
| 64 | + position: fixed; | ||
| 65 | + width: 100%; | ||
| 66 | + background: #ffffff; | ||
| 67 | + z-index: 9; | ||
| 68 | + padding-top: 12px; | ||
| 69 | + margin-top: -2px; | ||
| 70 | + box-shadow: 0px 4px 2px 0 rgba(225, 225, 225, 0.2), 0px 4px 9px 0 rgba(139, 135, 135, 0.19); | ||
| 71 | + border-bottom: 1px solid #dbdbdb; | ||
| 72 | + } | ||
| 73 | + | ||
| 74 | + .form-page-content .portlet.light .portlet-body{ | ||
| 75 | + padding-top: 8px; | ||
| 76 | + margin-top: 55px; | ||
| 77 | + } | ||
| 48 | </style> | 78 | </style> |
| 49 | </head> | 79 | </head> |
| 50 | <body> | 80 | <body> |
| @@ -88,7 +118,7 @@ | @@ -88,7 +118,7 @@ | ||
| 88 | }); | 118 | }); |
| 89 | 119 | ||
| 90 | //iframe 自适应高度 | 120 | //iframe 自适应高度 |
| 91 | - var iframeHeight; | 121 | +/* var iframeHeight; |
| 92 | var ifm = top.document.getElementById("formFragmentModalIframe"); | 122 | var ifm = top.document.getElementById("formFragmentModalIframe"); |
| 93 | 123 | ||
| 94 | function changeFrameHeight() { | 124 | function changeFrameHeight() { |
| @@ -104,7 +134,7 @@ | @@ -104,7 +134,7 @@ | ||
| 104 | var h = $('.form-page-content').height(); | 134 | var h = $('.form-page-content').height(); |
| 105 | if (iframeHeight != h) | 135 | if (iframeHeight != h) |
| 106 | ifm.height = h + 'px'; | 136 | ifm.height = h + 'px'; |
| 107 | - }, 600); | 137 | + }, 600);*/ |
| 108 | 138 | ||
| 109 | })(); | 139 | })(); |
| 110 | 140 |
src/main/resources/static/real_control_v2/main.html
| @@ -40,6 +40,9 @@ | @@ -40,6 +40,9 @@ | ||
| 40 | <link rel="stylesheet" href="/real_control_v2/css/modal_extend.css" merge="custom_style"/> | 40 | <link rel="stylesheet" href="/real_control_v2/css/modal_extend.css" merge="custom_style"/> |
| 41 | <!-- perfect-scrollbar style --> | 41 | <!-- perfect-scrollbar style --> |
| 42 | <link rel="stylesheet" href="/real_control_v2/assets/plugins/perfect-scrollbar/perfect-scrollbar.css" merge="plugins"/> | 42 | <link rel="stylesheet" href="/real_control_v2/assets/plugins/perfect-scrollbar/perfect-scrollbar.css" merge="plugins"/> |
| 43 | + <!-- layer 3.0.3 --> | ||
| 44 | + <link rel="stylesheet" href="/real_control_v2/assets/plugins/layer3.0.3/skin/default/layer.css" merge="plugins"/> | ||
| 45 | + <link rel="stylesheet" href="/real_control_v2/assets/plugins/layer3.0.3/skin/moon/style.css" merge="plugins"/> | ||
| 43 | </head> | 46 | </head> |
| 44 | 47 | ||
| 45 | <body> | 48 | <body> |
| @@ -147,6 +150,8 @@ | @@ -147,6 +150,8 @@ | ||
| 147 | <script src="/assets/plugins/pinyin.js" merge="plugins"></script> | 150 | <script src="/assets/plugins/pinyin.js" merge="plugins"></script> |
| 148 | <!-- qtip --> | 151 | <!-- qtip --> |
| 149 | <script src="/real_control_v2/assets/plugins/qtip/jquery.qtip.min.js" merge="plugins"></script> | 152 | <script src="/real_control_v2/assets/plugins/qtip/jquery.qtip.min.js" merge="plugins"></script> |
| 153 | +<!-- layer 3.0.3 --> | ||
| 154 | +<script src="/real_control_v2/assets/plugins/layer3.0.3/layer.js" merge="plugins"></script> | ||
| 150 | 155 | ||
| 151 | <!-- 数据 --> | 156 | <!-- 数据 --> |
| 152 | <script src="/real_control_v2/js/data/data_basic.js" merge="custom_js"></script> | 157 | <script src="/real_control_v2/js/data/data_basic.js" merge="custom_js"></script> |