layui.define("jquery",function(exports){
!function(p) {
"use strict";
var m, d, e, n = p.layui && layui.define, u = {
getPath: (e = document.currentScript ? document.currentScript.src : function() {
for (var e, t = document.scripts, i = t.length - 1, n = i; 0 < n; n--)
if ("interactive" === t[n].readyState) {
e = t[n].src;
break
}
return e || t[i].src
}(),
(p.LAYUI_GLOBAL || {}).layer_dir || e.substring(0, e.lastIndexOf("/") + 1)),
config: {
removeFocus: !0
},
end: {},
events: {
resize: {}
},
minStackIndex: 0,
minStackArr: [],
btn: ["确定", "取消"],
type: ["dialog", "page", "iframe", "loading", "tips"],
getStyle: function(e, t) {
e = e.currentStyle || p.getComputedStyle(e, null);
return e[e.getPropertyValue ? "getPropertyValue" : "getAttribute"](t)
},
link: function(e, i, t) {
var n, a, o, s, l, r;
h.path && (n = document.getElementsByTagName("head")[0],
a = document.createElement("link"),
o = ((t = "string" == typeof i ? i : t) || e).replace(/\.|\//g, ""),
s = "layuicss-" + o,
l = "creating",
r = 0,
a.rel = "stylesheet",
a.href = h.path + e,
a.id = s,
document.getElementById(s) || n.appendChild(a),
"function" == typeof i) && !function c(e) {
var t = document.getElementById(s);
return 100 < ++r ? p.console && console.error(o + ".css: Invalid") : void (1989 === parseInt(u.getStyle(t, "width")) ? (e === l && t.removeAttribute("lay-status"),
t.getAttribute("lay-status") === l ? setTimeout(c, 100) : i()) : (t.setAttribute("lay-status", l),
setTimeout(function() {
c(l)
}, 100)))
}()
}
}, h = {
v: "3.7.0",
ie: (e = navigator.userAgent.toLowerCase(),
!!(p.ActiveXObject || "ActiveXObject"in p) && ((e.match(/msie\s(\d+)/) || [])[1] || "11")),
index: p.layer && p.layer.v ? 1e5 : 0,
path: u.getPath,
config: function(e, t) {
return h.cache = u.config = m.extend({}, u.config, e = e || {}),
h.path = u.config.path || h.path,
"string" == typeof e.extend && (e.extend = [e.extend]),
u.config.path && h.ready(),
e.extend && (n ? layui.addcss("modules/layer/" + e.extend) : u.link("css/" + e.extend)),
this
},
ready: function(e) {
// var t = "layer"
// , i = (n ? "modules/" : "css/") + "layer.css?v=" + h.v;
// return n ? layui["layui.all"] ? "function" == typeof e && e() : layui.addcss(i, e, t) : u.link(i, e, t),
// this
},
alert: function(e, t, i) {
var n = "function" == typeof t;
return h.open(m.extend({
content: e,
yes: i = n ? t : i
}, n ? {} : t))
},
confirm: function(e, t, i, n) {
var a = "function" == typeof t;
return a && (n = i,
i = t),
h.open(m.extend({
content: e,
btn: u.btn,
yes: i,
btn2: n
}, a ? {} : t))
},
msg: function(e, t, i) {
var n = "function" == typeof t
, a = u.config.skin
, a = (a ? a + " " + a + "-msg" : "") || "layui-layer-msg"
, o = y.anim.length - 1;
return n && (i = t),
h.open(m.extend({
content: e,
time: 3e3,
shade: !1,
skin: a,
title: !1,
closeBtn: !1,
btn: !1,
resize: !1,
end: i,
removeFocus: !1
}, n && !u.config.skin ? {
skin: a + " layui-layer-hui",
anim: o
} : (-1 !== (t = t || {}).icon && (void 0 !== t.icon || u.config.skin) || (t.skin = a + " " + (t.skin || "layui-layer-hui")),
t)))
},
load: function(e, t) {
return h.open(m.extend({
type: 3,
icon: e || 0,
resize: !1,
shade: .01,
removeFocus: !1
}, t))
},
tips: function(e, t, i) {
return h.open(m.extend({
type: 4,
content: [e, t],
closeBtn: !1,
time: 3e3,
shade: !1,
resize: !1,
fixed: !1,
maxWidth: 260,
removeFocus: !1
}, i))
}
}, t = function(e) {
var t = this
, i = function() {
t.creat()
};
t.index = ++h.index,
t.config.maxWidth = m(d).width() - 30,
t.config = m.extend({}, t.config, u.config, e),
document.body ? i() : setTimeout(function() {
i()
}, 30)
}, y = (t.pt = t.prototype,
["layui-layer", ".layui-layer-title", ".layui-layer-main", ".layui-layer-dialog", "layui-layer-iframe", "layui-layer-content", "layui-layer-btn", "layui-layer-close"]), i = (y.anim = {
0: "layer-anim-00",
1: "layer-anim-01",
2: "layer-anim-02",
3: "layer-anim-03",
4: "layer-anim-04",
5: "layer-anim-05",
6: "layer-anim-06",
slideDown: "layer-anim-slide-down",
slideLeft: "layer-anim-slide-left",
slideUp: "layer-anim-slide-up",
slideRight: "layer-anim-slide-right"
},
y.SHADE = "layui-layer-shade",
y.MOVE = "layui-layer-move",
t.pt.config = {
type: 0,
shade: .3,
fixed: !0,
move: y[1],
title: "信息",
offset: "auto",
area: "auto",
closeBtn: 1,
icon: -1,
time: 0,
zIndex: 19891014,
maxWidth: 360,
anim: 0,
isOutAnim: !0,
minStack: !0,
moveType: 1,
resize: !0,
scrollbar: !0,
tips: 2
},
t.pt.vessel = function(e, t) {
var i, n = this.index, a = this.config, o = a.zIndex + n, s = "object" == typeof a.title, l = a.maxmin && (1 === a.type || 2 === a.type), s = a.title ? '<div class="layui-layer-title" style="' + (s ? a.title[1] : "") + '">' + (s ? a.title[0] : a.title) + "</div>" : "";
return a.zIndex = o,
t([a.shade ? '<div class="' + y.SHADE + '" id="' + y.SHADE + n + '" times="' + n + '" style="z-index:' + (o - 1) + '; "></div>' : "", '<div class="' + y[0] + " layui-layer-" + u.type[a.type] + (0 != a.type && 2 != a.type || a.shade ? "" : " layui-layer-border") + " " + (a.skin || "") + '" id="' + y[0] + n + '" type="' + u.type[a.type] + '" times="' + n + '" showtime="' + a.time + '" conType="' + (e ? "object" : "string") + '" style="z-index: ' + o + "; width:" + a.area[0] + ";height:" + a.area[1] + ";position:" + (a.fixed ? "fixed;" : "absolute;") + '">' + (e && 2 != a.type ? "" : s) + "<div" + (a.id ? ' id="' + a.id + '"' : "") + ' class="layui-layer-content' + (0 == a.type && -1 !== a.icon ? " layui-layer-padding" : "") + (3 == a.type ? " layui-layer-loading" + a.icon : "") + '">' + (n = ["layui-icon-tips", "layui-icon-success", "layui-icon-error", "layui-icon-question", "layui-icon-lock", "layui-icon-face-cry", "layui-icon-face-smile"],
o = "layui-anim layui-anim-rotate layui-anim-loop",
0 == a.type && -1 !== a.icon ? '<i class="layui-laye
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
layer开启图片放大缩小.zip (6个子文件)
layer开启图片放大缩小
font
iconfont.ttf 53KB
iconfont.woff2 29KB
iconfont.svg 323KB
iconfont.eot 53KB
iconfont.woff 34KB
layphoto.js 45KB
共 6 条
- 1
资源评论
Minions_Fatman
- 粉丝: 116
- 资源: 11
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功