You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
22 KiB
Plaintext

11 months ago
!function(i,d){var l={btnOk:"确定",btnCancel:"取消",title:"信息",promptTipA:"最多输入",promptTipB:"个字符",noPicture:"没有图片",photoError:"当前图片地址异常<br>是否继续查看下一张?",photoNextPage:"下一张",photoClose:"不看了"};if(i.lang=="en"){l={btnOk:"Ok",btnCancel:"Cancle",title:"Information",promptTipA:"Enter ",promptTipB:"character at most.",noPicture:"No picture",photoError:"Current image address error.<br>Next slide?",photoNextPage:"The next",photoClose:"Close"}}var e=i.layui&&layui.define,f,h,j={getPath:function(){var o=document.scripts,m=o[o.length-1],n=m.src;if(m.getAttribute("merge")){return}return n.substring(0,n.lastIndexOf("/")+1)}(),config:{},end:{},minIndex:0,minLeft:[],btn:[l.btnOk,l.btnCancel],type:["dialog","page","iframe","loading","tips"]};var g={v:"3.0.3",ie:function(){var m=navigator.userAgent.toLowerCase();return(!!i.ActiveXObject||"ActiveXObject" in i)?((m.match(/msie\s(\d+)/)||[])[1]||"11"):false}(),index:(i.layer&&i.layer.v)?100000:0,path:j.getPath,config:function(m,n){m=m||{};g.cache=j.config=f.extend({},j.config,m);g.path=j.config.path||g.path;typeof m.extend==="string"&&(m.extend=[m.extend]);if(j.config.path){g.ready()}if(!m.extend){return this}e?layui.addcss("modules/layer/"+m.extend):g.link("skin/"+m.extend);return this},link:function(m,t,n){if(!g.path){return}var u=f("head")[0],s=document.createElement("link");if(typeof t==="string"){n=t}var p=(n||m).replace(/\.|\//g,"");var o="layuicss-"+p,r=0;s.rel="stylesheet";s.href=g.path+m;s.id=o;if(!f("#"+o)[0]){u.appendChild(s)}if(typeof t!=="function"){return}(function q(){if(++r>8*1000/100){return i.console&&console.error("layer.css: Invalid")}parseInt(f("#"+o).css("width"))===1989?t():setTimeout(q,100)}())},ready:function(o){var n="skinlayercss",m="303";e?layui.addcss("modules/layer/default/layer.css?v="+g.v+m,o,n):g.link("skin/default/layer.css?v="+g.v+m,o,n);return this},alert:function(o,m,p){var n=typeof m==="function";if(n){p=m}return g.open(f.extend({content:o,yes:p},n?{}:m))},confirm:function(p,m,q,o){var n=typeof m==="function";if(n){o=q;q=m}return g.open(f.extend({content:p,btn:j.btn,yes:q,btn2:o},n?{}:m))},msg:function(p,n,m){var o=typeof n==="function",s=j.config.skin;var r=(s?s+" "+s+"-msg":"")||"layui-layer-msg";var q=c.anim.length-1;if(o){m=n}return g.open(f.extend({content:p,time:3000,shade:false,skin:r,title:false,closeBtn:false,btn:false,resize:false,end:m},(o&&!j.config.skin)?{skin:r+" layui-layer-hui",anim:q}:function(){n=n||{};if(n.icon===-1||n.icon===d&&!j.config.skin){n.skin=r+" "+(n.skin||"layui-layer-hui")}return n}()))},load:function(n,m){return g.open(f.extend({type:3,icon:n||0,resize:false,shade:0.01},m))},tips:function(o,m,n){return g.open(f.extend({type:4,content:[o,m],closeBtn:false,time:3000,shade:false,resize:false,fixed:false,maxWidth:210},n))}};var b=function(m){var n=this;n.index=++g.index;n.config=f.extend({},n.config,j.config,m);document.body?n.creat():setTimeout(function(){n.creat()},30)};b.pt=b.prototype;var c=["layui-layer",".layui-layer-title",".layui-layer-main",".layui-layer-dialog","layui-layer-iframe","layui-layer-content","layui-layer-btn","layui-layer-close"];c.anim=["layer-anim","layer-anim-01","layer-anim-02","layer-anim-03","layer-anim-04","layer-anim-05","layer-anim-06"];b.pt.config={type:0,shade:0.3,fixed:true,move:c[1],title:l.title,offset:"auto",area:"auto",closeBtn:1,time:0,zIndex:19891014,maxWidth:360,anim:0,isOutAnim:true,icon:-1,moveType:1,resize:true,scrollbar:true,tips:2};b.pt.vessel=function(q,u){var r=this,m=r.index,p=r.config;var t=p.zIndex+m,o=typeof p.title==="object";var s=p.maxmin&&(p.type===1||p.type===2);var n=(p.title?'<div class="layui-layer-title" style="'+(o?p.title[1]:"")+'">'+(o?p.title[0]:p.title)+"</div>":"");p.zIndex=t;u([p.shade?('<div class="layui-layer-shade" id="layui-layer-shade'+m+'" times="'+m+'" style="'+("z-index:"+(t-1)+"; background-color:"+(p.shade[1]||"#000")+"; opacity:"+(p.shade[0]||p.shade)+"; filter:alpha(opacity="+(p.shade[0]*100||p.shade*100)+");")+'"></div>'):"",'<div class="'+c[0]+(" layui-layer-"+j.type[p.t