├── README.md ├── allinfor.html ├── changepwd.html ├── css ├── layui.css ├── layui.mobile.css ├── login.css ├── modules │ ├── code.css │ ├── laydate │ │ └── default │ │ │ └── laydate.css │ └── layer │ │ └── default │ │ ├── icon-ext.png │ │ ├── icon.png │ │ ├── layer.css │ │ ├── loading-0.gif │ │ ├── loading-1.gif │ │ └── loading-2.gif └── reset.css ├── detail.html ├── detjoininfor.html ├── detrecominfor.html ├── detuserinfor.html ├── font ├── iconfont.eot ├── iconfont.svg ├── iconfont.ttf └── iconfont.woff ├── images └── face │ ├── 0.gif │ ├── 1.gif │ ├── 10.gif │ ├── 11.gif │ ├── 12.gif │ ├── 13.gif │ ├── 14.gif │ ├── 15.gif │ ├── 16.gif │ ├── 17.gif │ ├── 18.gif │ ├── 19.gif │ ├── 2.gif │ ├── 20.gif │ ├── 21.gif │ ├── 22.gif │ ├── 23.gif │ ├── 24.gif │ ├── 25.gif │ ├── 26.gif │ ├── 27.gif │ ├── 28.gif │ ├── 29.gif │ ├── 3.gif │ ├── 30.gif │ ├── 31.gif │ ├── 32.gif │ ├── 33.gif │ ├── 34.gif │ ├── 35.gif │ ├── 36.gif │ ├── 37.gif │ ├── 38.gif │ ├── 39.gif │ ├── 4.gif │ ├── 40.gif │ ├── 41.gif │ ├── 42.gif │ ├── 43.gif │ ├── 44.gif │ ├── 45.gif │ ├── 46.gif │ ├── 47.gif │ ├── 48.gif │ ├── 49.gif │ ├── 5.gif │ ├── 50.gif │ ├── 51.gif │ ├── 52.gif │ ├── 53.gif │ ├── 54.gif │ ├── 55.gif │ ├── 56.gif │ ├── 57.gif │ ├── 58.gif │ ├── 59.gif │ ├── 6.gif │ ├── 60.gif │ ├── 61.gif │ ├── 62.gif │ ├── 63.gif │ ├── 64.gif │ ├── 65.gif │ ├── 66.gif │ ├── 67.gif │ ├── 68.gif │ ├── 69.gif │ ├── 7.gif │ ├── 70.gif │ ├── 71.gif │ ├── 8.gif │ └── 9.gif ├── imgsrc.html ├── index.php ├── indexx.php ├── joininfor.html ├── lay └── modules │ ├── carousel.js │ ├── code.js │ ├── element.js │ ├── flow.js │ ├── form.js │ ├── jquery.js │ ├── laydate.js │ ├── layedit.js │ ├── layer.js │ ├── laypage.js │ ├── laytpl.js │ ├── mobile.js │ ├── table.js │ ├── tree.js │ ├── upload.js │ └── util.js ├── layui.all.js ├── layui.js ├── layui ├── css │ ├── layui.css │ ├── layui.mobile.css │ └── modules │ │ ├── code.css │ │ ├── laydate │ │ └── default │ │ │ └── laydate.css │ │ └── layer │ │ └── default │ │ ├── icon-ext.png │ │ ├── icon.png │ │ ├── layer.css │ │ ├── loading-0.gif │ │ ├── loading-1.gif │ │ └── loading-2.gif ├── font │ ├── iconfont.eot │ ├── iconfont.svg │ ├── iconfont.ttf │ └── iconfont.woff ├── images │ └── face │ │ ├── 0.gif │ │ ├── 1.gif │ │ ├── 10.gif │ │ ├── 11.gif │ │ ├── 12.gif │ │ ├── 13.gif │ │ ├── 14.gif │ │ ├── 15.gif │ │ ├── 16.gif │ │ ├── 17.gif │ │ ├── 18.gif │ │ ├── 19.gif │ │ ├── 2.gif │ │ ├── 20.gif │ │ ├── 21.gif │ │ ├── 22.gif │ │ ├── 23.gif │ │ ├── 24.gif │ │ ├── 25.gif │ │ ├── 26.gif │ │ ├── 27.gif │ │ ├── 28.gif │ │ ├── 29.gif │ │ ├── 3.gif │ │ ├── 30.gif │ │ ├── 31.gif │ │ ├── 32.gif │ │ ├── 33.gif │ │ ├── 34.gif │ │ ├── 35.gif │ │ ├── 36.gif │ │ ├── 37.gif │ │ ├── 38.gif │ │ ├── 39.gif │ │ ├── 4.gif │ │ ├── 40.gif │ │ ├── 41.gif │ │ ├── 42.gif │ │ ├── 43.gif │ │ ├── 44.gif │ │ ├── 45.gif │ │ ├── 46.gif │ │ ├── 47.gif │ │ ├── 48.gif │ │ ├── 49.gif │ │ ├── 5.gif │ │ ├── 50.gif │ │ ├── 51.gif │ │ ├── 52.gif │ │ ├── 53.gif │ │ ├── 54.gif │ │ ├── 55.gif │ │ ├── 56.gif │ │ ├── 57.gif │ │ ├── 58.gif │ │ ├── 59.gif │ │ ├── 6.gif │ │ ├── 60.gif │ │ ├── 61.gif │ │ ├── 62.gif │ │ ├── 63.gif │ │ ├── 64.gif │ │ ├── 65.gif │ │ ├── 66.gif │ │ ├── 67.gif │ │ ├── 68.gif │ │ ├── 69.gif │ │ ├── 7.gif │ │ ├── 70.gif │ │ ├── 71.gif │ │ ├── 8.gif │ │ └── 9.gif └── lay │ └── modules │ ├── carousel.js │ ├── code.js │ ├── element.js │ ├── flow.js │ ├── form.js │ ├── jquery.js │ ├── laydate.js │ ├── layedit.js │ ├── layer.js │ ├── laypage.js │ ├── laytpl.js │ ├── mobile.js │ ├── table.js │ ├── tree.js │ ├── upload.js │ └── util.js ├── main.html ├── phpinfo-daf1d88d91fb067884f6d8439b4ecbcb.php ├── putinfor.html ├── recominfor.html ├── res ├── css │ ├── changepwd.css │ ├── font_eolqem241z66flxr.css │ ├── imgsrc.css │ ├── index.css │ ├── main.css │ ├── putinfor.css │ └── userinfor.css └── js │ ├── bmob-min.js │ ├── canvas-particle.js │ ├── jquery.min.js │ └── modules │ ├── allinfor.js │ ├── bodyTab.js │ ├── changepwd.js │ ├── detail.js │ ├── detjoininfor.js │ ├── detrecominfor.js │ ├── detuserinfor.js │ ├── imgsrc.js │ ├── index.js │ ├── index_pd.js │ ├── joininfor.js │ ├── leftNav.js │ ├── login.js │ ├── main.js │ ├── nav.js │ ├── putinfor.js │ ├── recominfor.js │ ├── setinfor.js │ ├── setjoininfor.js │ ├── setrecominfor.js │ ├── setuserinfor.js │ └── userinfor.js ├── screen ├── 1.jpg ├── 10.jpg ├── 11.jpg ├── 12.jpg ├── 13.jpg ├── 14.jpg ├── 2.jpg ├── 3.jpg ├── 4.jpg ├── 5.jpg ├── 6.jpg ├── 7.jpg ├── 8.jpg └── 9.jpg ├── setinfor.html ├── setjoininfor.html ├── setrecominfor.html ├── setuserinfor.html ├── upimg └── demo.png ├── upload.php └── userinfor.html /README.md: -------------------------------------------------------------------------------- 1 | # 小程序后台管理 2 | 本项目为小程序招聘类 后台 前端框架使用layui 数据库使用Bmob JavaScript API完成数据请求,网站包括:信息管理 发布招聘 轮播图 用户管理 推荐管理 报名管理 等功能是一个比较完善的项目。 网站分角色对页面实现管理:管理员、招聘信息管理、报名用户管理 三类。 3 | 小程序主要实现招聘信息页的展示、用户报名、推荐管理、个人中心等功能是一个比较完善的系统 4 | ## ------------项目已停止维护-------------------- 5 | ### 目录结构: 6 | * css --基础样式 7 | * font --基础字体 8 | * images --基础图片 9 | * lay --LayUI默认框架 10 | * res --资源文件 11 | * css --页面样式 12 | * font_eolqem241z66flxr --图标 13 | * index 14 | * js --外部JS 15 | * modules 16 | * allinfor --招聘信息 17 | * changepwd --修改密码 18 | * imgsrc --轮播图修改 19 | * index --登陆 20 | * indexx --主页 21 | * joininfor --报名管理 22 | * main --显示基本信息 23 | * putinfor --发布信息 24 | * recominfor --推荐管理 25 | * userinfor --显示所有用户 26 | * upload --上传图片后台 27 | * phpinfo-daf1d88d91fb067884f6d8439b4ecbcb ---服务器后台 文件 28 | ## 项目截图: 29 | ### 登录界面 30 | ![界面](https://github.com/best-fan/wechat-app-web/blob/master/screen/1.jpg) 31 | ### 主界面 32 | ![主界面](https://github.com/best-fan/wechat-app-web/blob/master/screen/2.jpg) 33 | ### 用户管理 34 | ![用户管理](https://github.com/best-fan/wechat-app-web/blob/master/screen/3.jpg) 35 | ### 修改信息 36 | ![修改信息](https://github.com/best-fan/wechat-app-web/blob/master/screen/4.jpg) 37 | ### 查看信息 38 | ![查看信息](https://github.com/best-fan/wechat-app-web/blob/master/screen/5.jpg) 39 | ### 信息管理 40 | ![信息管理](https://github.com/best-fan/wechat-app-web/blob/master/screen/6.jpg) 41 | ### 修改招聘信息 42 | ![修改招聘信息](https://github.com/best-fan/wechat-app-web/blob/master/screen/7.jpg) 43 | ### 推荐管理 44 | ![推荐管理](https://github.com/best-fan/wechat-app-web/blob/master/screen/8.jpg) 45 | ### 报名管理 46 | ![报名管理](https://github.com/best-fan/wechat-app-web/blob/master/screen/9.jpg) 47 | ### 发布招聘 48 | ![发布招聘](https://github.com/best-fan/wechat-app-web/blob/master/screen/10.jpg) 49 | ### 轮播图修改 50 | ![轮播图修改](https://github.com/best-fan/wechat-app-web/blob/master/screen/11.jpg) 51 | ### 招聘信息管理员 52 | ![招聘信息管理员](https://github.com/best-fan/wechat-app-web/blob/master/screen/12.jpg) 53 | ### 无权限提示 54 | ![无权限提示](https://github.com/best-fan/wechat-app-web/blob/master/screen/13.jpg) 55 | ## 使用说明: 56 | 替换js文件中对应的Bmob.initialize("你的Application ID", "你的REST API Key"); 57 | 58 | -------------------------------------------------------------------------------- /allinfor.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 企业信息 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 29 | 30 | -------------------------------------------------------------------------------- /changepwd.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 修改密码--layui后台管理模板 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 |
如需修改用户名,请联系管理员修改
21 |
22 | 23 |
24 | 25 |
26 |
27 |
28 | 29 |
30 | 31 |
32 |
33 |
34 | 35 |
36 | 37 |
38 |
39 |
40 | 41 |
42 | 43 |
44 |
45 |
46 | 47 |
48 | 49 |
50 |
51 |
52 |
53 | 54 | 55 |
56 |
57 |
58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /css/login.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: #ddd 3 | } 4 | 5 | .loginwarrp { 6 | margin: 250px auto; 7 | width: 400px; 8 | padding: 30px 50px; 9 | background: rgba(255, 255, 255, 0.45); 10 | overflow: hidden; 11 | font-size: 14px; 12 | } 13 | 14 | .loginwarrp .logo { 15 | width: 100%; 16 | height: 44px; 17 | line-height: 44px; 18 | font-size: 20px; 19 | text-align: center; 20 | } 21 | 22 | .loginwarrp .login_form { 23 | margin-top: 15px; 24 | } 25 | 26 | .loginwarrp .login_form .login-item { 27 | padding: 2px 8px; 28 | border: 1px solid #dedede; 29 | border-radius: 8px; 30 | margin-top: 10px; 31 | } 32 | 33 | .loginwarrp .login_form .login_input { 34 | height: 35px; 35 | border: none; 36 | line-height: 35px; 37 | width: 200px; 38 | font-size: 14px; 39 | outline: none; 40 | background: rgba(255, 255, 255, 0.24); 41 | } 42 | 43 | .loginwarrp .login_form .verify { 44 | float: left; 45 | } 46 | 47 | .loginwarrp .verify .verify_input { 48 | width: 160px; 49 | } 50 | 51 | .loginwarrp .verifyimg { 52 | height: 30px; 53 | margin: 20px 0 0 20px; 54 | } 55 | 56 | .loginwarrp .login-sub { 57 | text-align: center; 58 | } 59 | 60 | .loginwarrp .login-sub button { 61 | margin-top: 15px; 62 | background: #45B549; 63 | line-height: 35px; 64 | width: 150px; 65 | color: #FFFFFF; 66 | font-size: 16px; 67 | border: none; 68 | border-radius: 5px; 69 | } 70 | 71 | .loginwarrp .login_form .login-item .error { 72 | color: #F00; 73 | } -------------------------------------------------------------------------------- /css/modules/code.css: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.5 MIT License By https://www.layui.com */ 2 | html #layuicss-skincodecss{display:none;position:absolute;width:1989px}.layui-code-h3,.layui-code-view{position:relative;font-size:12px}.layui-code-view{display:block;margin:10px 0;padding:0;border:1px solid #e2e2e2;border-left-width:6px;background-color:#F2F2F2;color:#333;font-family:Courier New}.layui-code-h3{padding:0 10px;height:32px;line-height:32px;border-bottom:1px solid #e2e2e2}.layui-code-h3 a{position:absolute;right:10px;top:0;color:#999}.layui-code-view .layui-code-ol{position:relative;overflow:auto}.layui-code-view .layui-code-ol li{position:relative;margin-left:45px;line-height:20px;padding:0 5px;border-left:1px solid #e2e2e2;list-style-type:decimal-leading-zero;*list-style-type:decimal;background-color:#fff}.layui-code-view pre{margin:0}.layui-code-notepad{border:1px solid #0C0C0C;border-left-color:#3F3F3F;background-color:#0C0C0C;color:#C2BE9E}.layui-code-notepad .layui-code-h3{border-bottom:none}.layui-code-notepad .layui-code-ol li{background-color:#3F3F3F;border-left:none} -------------------------------------------------------------------------------- /css/modules/layer/default/icon-ext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/css/modules/layer/default/icon-ext.png -------------------------------------------------------------------------------- /css/modules/layer/default/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/css/modules/layer/default/icon.png -------------------------------------------------------------------------------- /css/modules/layer/default/loading-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/css/modules/layer/default/loading-0.gif -------------------------------------------------------------------------------- /css/modules/layer/default/loading-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/css/modules/layer/default/loading-1.gif -------------------------------------------------------------------------------- /css/modules/layer/default/loading-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/css/modules/layer/default/loading-2.gif -------------------------------------------------------------------------------- /css/reset.css: -------------------------------------------------------------------------------- 1 | 2 | html, body, div, span, applet, object, iframe, 3 | h1, h2, h3, h4, h5, h6, p, blockquote, pre, 4 | a, abbr, acronym, address, big, cite, code, 5 | del, dfn, em, img, ins, kbd, q, s, samp, 6 | small, strike, strong, sub, sup, tt, var, 7 | b, u, i, center, 8 | dl, dt, dd, ol, ul, li, 9 | fieldset, form, label, legend, 10 | table, caption, tbody, tfoot, thead, tr, th, td, 11 | article, aside, canvas, details, embed, 12 | figure, figcaption, footer, header, hgroup, 13 | menu, nav, output, ruby, section, summary, 14 | time, mark, audio, video { 15 | margin: 0; 16 | padding: 0; 17 | border: 0; 18 | font-size: 100%; 19 | font: inherit; 20 | } 21 | /* HTML5 display-role reset for older browsers */ 22 | article, aside, details, figcaption, figure, 23 | footer, header, hgroup, menu, nav, section { 24 | display: block; 25 | } 26 | body { 27 | line-height: 1; 28 | } 29 | ol, ul,li { 30 | list-style: none; 31 | } 32 | blockquote, q { 33 | quotes: none; 34 | } 35 | blockquote:before, blockquote:after, 36 | q:before, q:after { 37 | content: ''; 38 | content: none; 39 | } 40 | table { 41 | border-collapse: collapse; 42 | border-spacing: 0; 43 | } 44 | a{ 45 | text-decoration: none; 46 | color: #333; 47 | display: block; 48 | } 49 | body{ 50 | font-size: 14px; 51 | } 52 | .clearfix{ 53 | zoom:1; 54 | } 55 | .clearfix:after{ 56 | content:"."; 57 | display:block; 58 | visibility:hidden; 59 | height:0; 60 | clear:both; 61 | } 62 | .fl,.l{ 63 | float: left; 64 | } 65 | .fr,.r{ 66 | float: right; 67 | } 68 | /*margin-top*/ 69 | .mt10{ 70 | margin-top: 10px; 71 | } 72 | .mt15{ 73 | margin-top: 15px; 74 | } 75 | .mt20{ 76 | margin-top: 20px; 77 | } 78 | .mt5{ 79 | margin-top: 5px; 80 | } 81 | .mt0{ 82 | margin-top: 0px; 83 | } 84 | /*padding-left*/ 85 | .pl15{ 86 | padding-left: 15px; 87 | } -------------------------------------------------------------------------------- /detail.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 招聘信息 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 |

招聘信息

21 |
22 |
23 | 24 |
25 |
26 | 27 |
28 | 29 |
30 |
31 |
32 | 33 |
34 | 35 |
36 |
37 |
38 |
39 | 40 |
41 | 42 | 43 |
44 |
45 |
46 | 47 | 48 |
49 |
50 | 51 |
52 | 53 |
54 |
-
55 |
56 | 57 |
58 |
59 |
60 |
61 |
62 | 63 |
64 | 65 |
66 |
67 |
68 | 69 |
70 | 71 |
72 | 73 |
74 |
75 |
76 | 77 |
78 | 79 |
80 |
81 |
82 | 83 |
84 | 85 |
86 |
87 |
88 | 89 |
90 | 91 |
92 |
93 |
94 | 95 |
96 | 97 |
98 |
99 |
100 | 101 | 107 |
108 | 109 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /detjoininfor.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 报名信息 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 |

报名信息

21 |
22 | 23 |
24 | 25 |
26 | 27 |
28 |
29 |
30 | 31 |
32 | 33 |
34 |
35 | 36 |
37 | 38 |
39 | 40 |
41 |
42 | 43 |
44 | 50 |
51 | 52 | 53 | -------------------------------------------------------------------------------- /detrecominfor.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 推荐信息 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 |

推荐信息

21 |
22 | 23 |
24 | 25 |
26 | 27 |
28 |
29 |
30 | 31 |
32 | 33 |
34 |
35 | 36 |
37 | 38 |
39 | 40 |
41 |
42 | 43 |
44 | 50 |
51 | 52 | 53 | -------------------------------------------------------------------------------- /detuserinfor.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 用户信息 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 |

用户信息

21 |
22 |
23 |
24 | 25 |
26 |
27 | 28 |
29 | 30 |
31 | 32 |
33 |
34 |
35 | 36 |
37 | 38 |
39 |
40 | 41 | 42 | 43 |
44 | 50 |
51 | 52 | 53 | -------------------------------------------------------------------------------- /font/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/font/iconfont.eot -------------------------------------------------------------------------------- /font/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/font/iconfont.ttf -------------------------------------------------------------------------------- /font/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/font/iconfont.woff -------------------------------------------------------------------------------- /images/face/0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/0.gif -------------------------------------------------------------------------------- /images/face/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/1.gif -------------------------------------------------------------------------------- /images/face/10.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/10.gif -------------------------------------------------------------------------------- /images/face/11.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/11.gif -------------------------------------------------------------------------------- /images/face/12.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/12.gif -------------------------------------------------------------------------------- /images/face/13.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/13.gif -------------------------------------------------------------------------------- /images/face/14.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/14.gif -------------------------------------------------------------------------------- /images/face/15.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/15.gif -------------------------------------------------------------------------------- /images/face/16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/16.gif -------------------------------------------------------------------------------- /images/face/17.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/17.gif -------------------------------------------------------------------------------- /images/face/18.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/18.gif -------------------------------------------------------------------------------- /images/face/19.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/19.gif -------------------------------------------------------------------------------- /images/face/2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/2.gif -------------------------------------------------------------------------------- /images/face/20.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/20.gif -------------------------------------------------------------------------------- /images/face/21.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/21.gif -------------------------------------------------------------------------------- /images/face/22.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/22.gif -------------------------------------------------------------------------------- /images/face/23.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/23.gif -------------------------------------------------------------------------------- /images/face/24.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/24.gif -------------------------------------------------------------------------------- /images/face/25.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/25.gif -------------------------------------------------------------------------------- /images/face/26.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/26.gif -------------------------------------------------------------------------------- /images/face/27.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/27.gif -------------------------------------------------------------------------------- /images/face/28.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/28.gif -------------------------------------------------------------------------------- /images/face/29.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/29.gif -------------------------------------------------------------------------------- /images/face/3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/3.gif -------------------------------------------------------------------------------- /images/face/30.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/30.gif -------------------------------------------------------------------------------- /images/face/31.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/31.gif -------------------------------------------------------------------------------- /images/face/32.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/32.gif -------------------------------------------------------------------------------- /images/face/33.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/33.gif -------------------------------------------------------------------------------- /images/face/34.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/34.gif -------------------------------------------------------------------------------- /images/face/35.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/35.gif -------------------------------------------------------------------------------- /images/face/36.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/36.gif -------------------------------------------------------------------------------- /images/face/37.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/37.gif -------------------------------------------------------------------------------- /images/face/38.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/38.gif -------------------------------------------------------------------------------- /images/face/39.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/39.gif -------------------------------------------------------------------------------- /images/face/4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/4.gif -------------------------------------------------------------------------------- /images/face/40.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/40.gif -------------------------------------------------------------------------------- /images/face/41.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/41.gif -------------------------------------------------------------------------------- /images/face/42.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/42.gif -------------------------------------------------------------------------------- /images/face/43.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/43.gif -------------------------------------------------------------------------------- /images/face/44.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/44.gif -------------------------------------------------------------------------------- /images/face/45.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/45.gif -------------------------------------------------------------------------------- /images/face/46.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/46.gif -------------------------------------------------------------------------------- /images/face/47.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/47.gif -------------------------------------------------------------------------------- /images/face/48.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/48.gif -------------------------------------------------------------------------------- /images/face/49.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/49.gif -------------------------------------------------------------------------------- /images/face/5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/5.gif -------------------------------------------------------------------------------- /images/face/50.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/50.gif -------------------------------------------------------------------------------- /images/face/51.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/51.gif -------------------------------------------------------------------------------- /images/face/52.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/52.gif -------------------------------------------------------------------------------- /images/face/53.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/53.gif -------------------------------------------------------------------------------- /images/face/54.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/54.gif -------------------------------------------------------------------------------- /images/face/55.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/55.gif -------------------------------------------------------------------------------- /images/face/56.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/56.gif -------------------------------------------------------------------------------- /images/face/57.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/57.gif -------------------------------------------------------------------------------- /images/face/58.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/58.gif -------------------------------------------------------------------------------- /images/face/59.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/59.gif -------------------------------------------------------------------------------- /images/face/6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/6.gif -------------------------------------------------------------------------------- /images/face/60.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/60.gif -------------------------------------------------------------------------------- /images/face/61.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/61.gif -------------------------------------------------------------------------------- /images/face/62.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/62.gif -------------------------------------------------------------------------------- /images/face/63.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/63.gif -------------------------------------------------------------------------------- /images/face/64.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/64.gif -------------------------------------------------------------------------------- /images/face/65.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/65.gif -------------------------------------------------------------------------------- /images/face/66.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/66.gif -------------------------------------------------------------------------------- /images/face/67.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/67.gif -------------------------------------------------------------------------------- /images/face/68.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/68.gif -------------------------------------------------------------------------------- /images/face/69.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/69.gif -------------------------------------------------------------------------------- /images/face/7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/7.gif -------------------------------------------------------------------------------- /images/face/70.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/70.gif -------------------------------------------------------------------------------- /images/face/71.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/71.gif -------------------------------------------------------------------------------- /images/face/8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/8.gif -------------------------------------------------------------------------------- /images/face/9.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/images/face/9.gif -------------------------------------------------------------------------------- /imgsrc.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 轮播图修改 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |

轮播图修改

16 |
17 | 图片一 18 |
19 |
20 |
21 | 22 |
23 |
24 | 25 |
26 | 27 |
28 |
29 |
30 | 31 |
32 |
33 |
34 | 图片二 35 |
36 |
37 |
38 | 39 |
40 |
41 | 42 |
43 | 44 |
45 |
46 |
47 | 48 |
49 |
50 |
51 | 图片三 52 |
53 |
54 |
55 | 56 |
57 |
58 | 59 |
60 | 61 |
62 |
63 |
64 | 65 |
66 |
67 |
68 | 上传图片 69 |
70 |
71 |
72 | 75 |
* 图片仅支持:jpg、png、gif、jpeg 图片地址会自动获取,请检查上传的文件名和上传后的文件名一致
76 |
77 | 78 |
79 |
80 |
81 |
82 | 83 |
84 | 85 |
86 |
87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 后台管理 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 |
18 | 19 | 20 | 38 |
39 |
40 | 57 | 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /indexx.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 濮阳打工网 7 | 8 | 9 | 10 | 11 | 16 | 17 | 18 | 19 |
20 |
21 | 22 | 37 |
38 |
39 |
40 | 41 |

你好!, 欢迎登录

42 |
43 | 44 | 45 |
46 | 47 |
48 |
49 |
    50 |
  • 首页
  • 51 |
52 |
53 |
54 | 55 |
56 |
57 |
58 |
59 | 60 | 64 |
65 | 66 | 67 | 68 | 69 | 70 | 71 | -------------------------------------------------------------------------------- /joininfor.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | layui 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 29 | 30 | -------------------------------------------------------------------------------- /lay/modules/carousel.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.5 MIT License By https://www.layui.com */ ; 2 | layui.define("jquery", function(e) { 3 | "use strict"; 4 | var i = layui.$, 5 | n = (layui.hint(), layui.device(), { config: {}, set: function(e) { var n = this; return n.config = i.extend({}, n.config, e), n }, on: function(e, i) { return layui.onevent.call(this, t, e, i) } }), 6 | t = "carousel", 7 | a = "layui-this", 8 | l = ">*[carousel-item]>*", 9 | o = "layui-carousel-left", 10 | r = "layui-carousel-right", 11 | d = "layui-carousel-prev", 12 | s = "layui-carousel-next", 13 | u = "layui-carousel-arrow", 14 | c = "layui-carousel-ind", 15 | m = function(e) { 16 | var t = this; 17 | t.config = i.extend({}, t.config, n.config, e), t.render() 18 | }; 19 | m.prototype.config = { width: "600px", height: "280px", full: !1, arrow: "hover", indicator: "inside", autoplay: !0, interval: 3e3, anim: "", trigger: "click", index: 0 }, m.prototype.render = function() { 20 | var e = this, 21 | n = e.config; 22 | n.elem = i(n.elem), n.elem[0] && (e.elemItem = n.elem.find(l), n.index < 0 && (n.index = 0), n.index >= e.elemItem.length && (n.index = e.elemItem.length - 1), n.interval < 800 && (n.interval = 800), n.full ? n.elem.css({ position: "fixed", width: "100%", height: "100%", zIndex: 9999 }) : n.elem.css({ width: n.width, height: n.height }), n.elem.attr("lay-anim", n.anim), e.elemItem.eq(n.index).addClass(a), e.elemItem.length <= 1 || (e.indicator(), e.arrow(), e.autoplay(), e.events())) 23 | }, m.prototype.reload = function(e) { 24 | var n = this; 25 | clearInterval(n.timer), n.config = i.extend({}, n.config, e), n.render() 26 | }, m.prototype.prevIndex = function() { 27 | var e = this, 28 | i = e.config, 29 | n = i.index - 1; 30 | return n < 0 && (n = e.elemItem.length - 1), n 31 | }, m.prototype.nextIndex = function() { 32 | var e = this, 33 | i = e.config, 34 | n = i.index + 1; 35 | return n >= e.elemItem.length && (n = 0), n 36 | }, m.prototype.addIndex = function(e) { 37 | var i = this, 38 | n = i.config; 39 | e = e || 1, n.index = n.index + e, n.index >= i.elemItem.length && (n.index = 0) 40 | }, m.prototype.subIndex = function(e) { 41 | var i = this, 42 | n = i.config; 43 | e = e || 1, n.index = n.index - e, n.index < 0 && (n.index = i.elemItem.length - 1) 44 | }, m.prototype.autoplay = function() { 45 | var e = this, 46 | i = e.config; 47 | i.autoplay && (e.timer = setInterval(function() { e.slide() }, i.interval)) 48 | }, m.prototype.arrow = function() { 49 | var e = this, 50 | n = e.config, 51 | t = i(['", '"].join("")); 52 | n.elem.attr("lay-arrow", n.arrow), n.elem.find("." + u)[0] && n.elem.find("." + u).remove(), n.elem.append(t), t.on("click", function() { 53 | var n = i(this), 54 | t = n.attr("lay-type"); 55 | e.slide(t) 56 | }) 57 | }, m.prototype.indicator = function() { 58 | var e = this, 59 | n = e.config, 60 | t = e.elemInd = i(['
"].join("")); 61 | n.elem.attr("lay-indicator", n.indicator), n.elem.find("." + c)[0] && n.elem.find("." + c).remove(), n.elem.append(t), "updown" === n.anim && t.css("margin-top", -(t.height() / 2)), t.find("li").on("hover" === n.trigger ? "mouseover" : n.trigger, function() { 62 | var t = i(this), 63 | a = t.index(); 64 | a > n.index ? e.slide("add", a - n.index) : a < n.index && e.slide("sub", n.index - a) 65 | }) 66 | }, m.prototype.slide = function(e, i) { 67 | var n = this, 68 | l = n.elemItem, 69 | u = n.config, 70 | c = u.index, 71 | m = u.elem.attr("lay-filter"); 72 | n.haveSlide || ("sub" === e ? (n.subIndex(i), l.eq(u.index).addClass(d), setTimeout(function() { l.eq(c).addClass(r), l.eq(u.index).addClass(r) }, 50)) : (n.addIndex(i), l.eq(u.index).addClass(s), setTimeout(function() { l.eq(c).addClass(o), l.eq(u.index).addClass(o) }, 50)), setTimeout(function() { l.removeClass(a + " " + d + " " + s + " " + o + " " + r), l.eq(u.index).addClass(a), n.haveSlide = !1 }, 300), n.elemInd.find("li").eq(u.index).addClass(a).siblings().removeClass(a), n.haveSlide = !0, layui.event.call(this, t, "change(" + m + ")", { index: u.index, prevIndex: c, item: l.eq(u.index) })) 73 | }, m.prototype.events = function() { 74 | var e = this, 75 | i = e.config; 76 | i.elem.data("haveEvents") || (i.elem.on("mouseenter", function() { clearInterval(e.timer) }).on("mouseleave", function() { e.autoplay() }), i.elem.data("haveEvents", !0)) 77 | }, n.render = function(e) { var i = new m(e); return i }, e(t, n) 78 | }); -------------------------------------------------------------------------------- /lay/modules/code.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.5 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var a=layui.$,l="http://www.layui.com/doc/modules/code.html";e("code",function(e){var t=[];e=e||{},e.elem=a(e.elem||".layui-code"),e.about=!("about"in e)||e.about,e.elem.each(function(){t.push(this)}),layui.each(t.reverse(),function(t,i){var c=a(i),o=c.html();(c.attr("lay-encode")||e.encode)&&(o=o.replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""")),c.html('
  1. '+o.replace(/[\r\t\n]+/g,"
  2. ")+"
"),c.find(">.layui-code-h3")[0]||c.prepend('

'+(c.attr("lay-title")||e.title||"code")+(e.about?'layui.code':"")+"

");var d=c.find(">.layui-code-ol");c.addClass("layui-box layui-code-view"),(c.attr("lay-skin")||e.skin)&&c.addClass("layui-code-"+(c.attr("lay-skin")||e.skin)),(d.find("li").length/100|0)>0&&d.css("margin-left",(d.find("li").length/100|0)+"px"),(c.attr("lay-height")||e.height)&&d.css("max-height",c.attr("lay-height")||e.height)})})}).addcss("modules/code.css","skincodecss"); -------------------------------------------------------------------------------- /lay/modules/flow.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.5 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var l=layui.$,o=function(e){},t='';o.prototype.load=function(e){var o,i,n,r,a=this,c=0;e=e||{};var f=l(e.elem);if(f[0]){var m=l(e.scrollElem||document),u=e.mb||50,s=!("isAuto"in e)||e.isAuto,v=e.end||"没有更多了",y=e.scrollElem&&e.scrollElem!==document,d="加载更多",h=l('
'+d+"
");f.find(".layui-flow-more")[0]||f.append(h);var p=function(e,t){e=l(e),h.before(e),t=0==t||null,t?h.html(v):h.find("a").html(d),i=t,o=null,n&&n()},g=function(){o=!0,h.find("a").html(t),"function"==typeof e.done&&e.done(++c,p)};if(g(),h.find("a").on("click",function(){l(this);i||o||g()}),e.isLazyimg)var n=a.lazyimg({elem:e.elem+" img",scrollElem:e.scrollElem});return s?(m.on("scroll",function(){var e=l(this),t=e.scrollTop();r&&clearTimeout(r),i||(r=setTimeout(function(){var i=y?e.height():l(window).height(),n=y?e.prop("scrollHeight"):document.documentElement.scrollHeight;n-t-i<=u&&(o||g())},100))}),a):a}},o.prototype.lazyimg=function(e){var o,t=this,i=0;e=e||{};var n=l(e.scrollElem||document),r=e.elem||"img",a=e.scrollElem&&e.scrollElem!==document,c=function(e,l){var o=n.scrollTop(),r=o+l,c=a?function(){return e.offset().top-n.offset().top+o}():e.offset().top;if(c>=o&&c<=r&&!e.attr("src")){var m=e.attr("lay-src");layui.img(m,function(){var l=t.lazyimg.elem.eq(i);e.attr("src",m).removeAttr("lay-src"),l[0]&&f(l),i++})}},f=function(e,o){var f=a?(o||n).height():l(window).height(),m=n.scrollTop(),u=m+f;if(t.lazyimg.elem=l(r),e)c(e,f);else for(var s=0;su)break}};if(f(),!o){var m;n.on("scroll",function(){var e=l(this);m&&clearTimeout(m),m=setTimeout(function(){f(null,e)},50)}),o=!0}return f},e("flow",new o)}); -------------------------------------------------------------------------------- /lay/modules/laypage.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.5 MIT License By https://www.layui.com */ 2 | ;layui.define(function(e){"use strict";var a=document,t="getElementById",n="getElementsByTagName",i="laypage",r="layui-disabled",u=function(e){var a=this;a.config=e||{},a.config.index=++s.index,a.render(!0)};u.prototype.type=function(){var e=this.config;if("object"==typeof e.elem)return void 0===e.elem.length?2:3},u.prototype.view=function(){var e=this,a=e.config,t=a.groups="groups"in a?0|a.groups:5;a.layout="object"==typeof a.layout?a.layout:["prev","page","next"],a.count=0|a.count,a.curr=0|a.curr||1,a.limits="object"==typeof a.limits?a.limits:[10,20,30,40,50],a.limit=0|a.limit||10,a.pages=Math.ceil(a.count/a.limit)||1,a.curr>a.pages&&(a.curr=a.pages),t<0?t=1:t>a.pages&&(t=a.pages),a.prev="prev"in a?a.prev:"上一页",a.next="next"in a?a.next:"下一页";var n=a.pages>t?Math.ceil((a.curr+(t>1?1:0))/(t>0?t:1)):1,i={prev:function(){return a.prev?''+a.prev+"":""}(),page:function(){var e=[];if(a.count<1)return"";n>1&&a.first!==!1&&0!==t&&e.push(''+(a.first||1)+"");var i=Math.floor((t-1)/2),r=n>1?a.curr-i:1,u=n>1?function(){var e=a.curr+(t-i-1);return e>a.pages?a.pages:e}():t;for(u-r2&&e.push('');r<=u;r++)r===a.curr?e.push('"+r+""):e.push(''+r+"");return a.pages>t&&a.pages>u&&a.last!==!1&&(u+1…'),0!==t&&e.push(''+(a.last||a.pages)+"")),e.join("")}(),next:function(){return a.next?''+a.next+"":""}(),count:'共 '+a.count+" 条",limit:function(){var e=['"}(),skip:function(){return['到第','','页',""].join("")}()};return['
',function(){var e=[];return layui.each(a.layout,function(a,t){i[t]&&e.push(i[t])}),e.join("")}(),"
"].join("")},u.prototype.jump=function(e,a){if(e){var t=this,i=t.config,r=e.children,u=e[n]("button")[0],l=e[n]("input")[0],p=e[n]("select")[0],c=function(){var e=0|l.value.replace(/\s|\D/g,"");e&&(i.curr=e,t.render())};if(a)return c();for(var o=0,y=r.length;oi.pages||(i.curr=e,t.render())});p&&s.on(p,"change",function(){var e=this.value;i.curr*e>i.count&&(i.curr=Math.ceil(i.count/e)),i.limit=e,t.render()}),u&&s.on(u,"click",function(){c()})}},u.prototype.skip=function(e){if(e){var a=this,t=e[n]("input")[0];t&&s.on(t,"keyup",function(t){var n=this.value,i=t.keyCode;/^(37|38|39|40)$/.test(i)||(/\D/.test(n)&&(this.value=n.replace(/\D/,"")),13===i&&a.jump(e,!0))})}},u.prototype.render=function(e){var n=this,i=n.config,r=n.type(),u=n.view();2===r?i.elem&&(i.elem.innerHTML=u):3===r?i.elem.html(u):a[t](i.elem)&&(a[t](i.elem).innerHTML=u),i.jump&&i.jump(i,e);var s=a[t]("layui-laypage-"+i.index);n.jump(s),i.hash&&!e&&(location.hash="!"+i.hash+"="+i.curr),n.skip(s)};var s={render:function(e){var a=new u(e);return a.index},index:layui.laypage?layui.laypage.index+1e4:0,on:function(e,a,t){return e.attachEvent?e.attachEvent("on"+a,function(a){a.target=a.srcElement,t.call(e,a)}):e.addEventListener(a,t,!1),this}};e(i,s)}); -------------------------------------------------------------------------------- /lay/modules/laytpl.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.5 MIT License By https://www.layui.com */ 2 | ;layui.define(function(e){"use strict";var r={open:"{{",close:"}}"},c={exp:function(e){return new RegExp(e,"g")},query:function(e,c,t){var o=["#([\\s\\S])+?","([^{#}])*?"][e||0];return n((c||"")+r.open+o+r.close+(t||""))},escape:function(e){return String(e||"").replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""")},error:function(e,r){var c="Laytpl Error:";return"object"==typeof console&&console.error(c+e+"\n"+(r||"")),c+e}},n=c.exp,t=function(e){this.tpl=e};t.pt=t.prototype,window.errors=0,t.pt.parse=function(e,t){var o=this,p=e,a=n("^"+r.open+"#",""),l=n(r.close+"$","");e=e.replace(/\s+|\r|\t|\n/g," ").replace(n(r.open+"#"),r.open+"# ").replace(n(r.close+"}"),"} "+r.close).replace(/\\/g,"\\\\").replace(n(r.open+"!(.+?)!"+r.close),function(e){return e=e.replace(n("^"+r.open+"!"),"").replace(n("!"+r.close),"").replace(n(r.open+"|"+r.close),function(e){return e.replace(/(.)/g,"\\$1")})}).replace(/(?="|')/g,"\\").replace(c.query(),function(e){return e=e.replace(a,"").replace(l,""),'";'+e.replace(/\\/g,"")+';view+="'}).replace(c.query(1),function(e){var c='"+(';return e.replace(/\s/g,"")===r.open+r.close?"":(e=e.replace(n(r.open+"|"+r.close),""),/^=/.test(e)&&(e=e.replace(/^=/,""),c='"+_escape_('),c+e.replace(/\\/g,"")+')+"')}),e='"use strict";var view = "'+e+'";return view;';try{return o.cache=e=new Function("d, _escape_",e),e(t,c.escape)}catch(u){return delete o.cache,c.error(u,p)}},t.pt.render=function(e,r){var n,t=this;return e?(n=t.cache?t.cache(e,c.escape):t.parse(t.tpl,e),r?void r(n):n):c.error("no data")};var o=function(e){return"string"!=typeof e?c.error("Template not found"):new t(e)};o.config=function(e){e=e||{};for(var c in e)r[c]=e[c]},o.v="1.2.0",e("laytpl",o)}); -------------------------------------------------------------------------------- /lay/modules/tree.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.5 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var o=layui.$,a=layui.hint(),i="layui-tree-enter",r=function(e){this.options=e},t={arrow:["",""],checkbox:["",""],radio:["",""],branch:["",""],leaf:""};r.prototype.init=function(e){var o=this;e.addClass("layui-box layui-tree"),o.options.skin&&e.addClass("layui-tree-skin-"+o.options.skin),o.tree(e),o.on(e)},r.prototype.tree=function(e,a){var i=this,r=i.options,n=a||r.nodes;layui.each(n,function(a,n){var l=n.children&&n.children.length>0,c=o('
    '),s=o(["
  • ",function(){return l?''+(n.spread?t.arrow[1]:t.arrow[0])+"":""}(),function(){return r.check?''+("checkbox"===r.check?t.checkbox[0]:"radio"===r.check?t.radio[0]:"")+"":""}(),function(){return'"+(''+(l?n.spread?t.branch[1]:t.branch[0]:t.leaf)+"")+(""+(n.name||"未命名")+"")}(),"
  • "].join(""));l&&(s.append(c),i.tree(c,n.children)),e.append(s),"function"==typeof r.click&&i.click(s,n),i.spread(s,n),r.drag&&i.drag(s,n)})},r.prototype.click=function(e,o){var a=this,i=a.options;e.children("a").on("click",function(e){layui.stope(e),i.click(o)})},r.prototype.spread=function(e,o){var a=this,i=(a.options,e.children(".layui-tree-spread")),r=e.children("ul"),n=e.children("a"),l=function(){e.data("spread")?(e.data("spread",null),r.removeClass("layui-show"),i.html(t.arrow[0]),n.find(".layui-icon").html(t.branch[0])):(e.data("spread",!0),r.addClass("layui-show"),i.html(t.arrow[1]),n.find(".layui-icon").html(t.branch[1]))};r[0]&&(i.on("click",l),n.on("dblclick",l))},r.prototype.on=function(e){var a=this,r=a.options,t="layui-tree-drag";e.find("i").on("selectstart",function(e){return!1}),r.drag&&o(document).on("mousemove",function(e){var i=a.move;if(i.from){var r=(i.to,o('
    '));e.preventDefault(),o("."+t)[0]||o("body").append(r);var n=o("."+t)[0]?o("."+t):r;n.addClass("layui-show").html(i.from.elem.children("a").html()),n.css({left:e.pageX+10,top:e.pageY+10})}}).on("mouseup",function(){var e=a.move;e.from&&(e.from.elem.children("a").removeClass(i),e.to&&e.to.elem.children("a").removeClass(i),a.move={},o("."+t).remove())})},r.prototype.move={},r.prototype.drag=function(e,a){var r=this,t=(r.options,e.children("a")),n=function(){var t=o(this),n=r.move;n.from&&(n.to={item:a,elem:e},t.addClass(i))};t.on("mousedown",function(){var o=r.move;o.from={item:a,elem:e}}),t.on("mouseenter",n).on("mousemove",n).on("mouseleave",function(){var e=o(this),a=r.move;a.from&&(delete a.to,e.removeClass(i))})},e("tree",function(e){var i=new r(e=e||{}),t=o(e.elem);return t[0]?void i.init(t):a.error("layui.tree 没有找到"+e.elem+"元素")})}); -------------------------------------------------------------------------------- /lay/modules/upload.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.5 MIT License By https://www.layui.com */ 2 | ;layui.define("layer",function(e){"use strict";var i=layui.$,t=layui.layer,n=layui.hint(),a=layui.device(),o={config:{},set:function(e){var t=this;return t.config=i.extend({},t.config,e),t},on:function(e,i){return layui.onevent.call(this,r,e,i)}},l=function(){var e=this;return{upload:function(i){e.upload.call(e,i)},config:e.config}},r="upload",u="layui-upload-file",c="layui-upload-form",f="layui-upload-iframe",s="layui-upload-choose",p=function(e){var t=this;t.config=i.extend({},t.config,o.config,e),t.render()};p.prototype.config={accept:"images",exts:"",auto:!0,bindAction:"",url:"",field:"file",method:"post",data:{},drag:!0,size:0,number:0,multiple:!1},p.prototype.render=function(e){var t=this,e=t.config;e.elem=i(e.elem),e.bindAction=i(e.bindAction),t.file(),t.events()},p.prototype.file=function(){var e=this,t=e.config,n=e.elemFile=i(['"].join("")),o=t.elem.next();(o.hasClass(u)||o.hasClass(c))&&o.remove(),a.ie&&a.ie<10&&t.elem.wrap('
    '),e.isFile()?(e.elemFile=t.elem,t.field=t.elem[0].name):t.elem.after(n),a.ie&&a.ie<10&&e.initIE()},p.prototype.initIE=function(){var e=this,t=e.config,n=i(''),a=i(['
    ',"
    "].join(""));i("#"+f)[0]||i("body").append(n),t.elem.next().hasClass(f)||(e.elemFile.wrap(a),t.elem.next("."+f).append(function(){var e=[];return layui.each(t.data,function(i,t){e.push('')}),e.join("")}()))},p.prototype.msg=function(e){return t.msg(e,{icon:2,shift:6})},p.prototype.isFile=function(){var e=this.config.elem[0];if(e)return"input"===e.tagName.toLocaleLowerCase()&&"file"===e.type},p.prototype.preview=function(e){var i=this;window.FileReader&&layui.each(i.chooseFiles,function(i,t){var n=new FileReader;n.readAsDataURL(t),n.onload=function(){e&&e(i,t,this.result)}})},p.prototype.upload=function(e,t){var n,o=this,l=o.config,r=o.elemFile[0],u=function(){var t=0,n=0,a=e||o.files||o.chooseFiles||r.files,u=function(){l.multiple&&t+n===o.fileLength&&"function"==typeof l.allDone&&l.allDone({total:o.fileLength,successful:t,aborted:n})};layui.each(a,function(e,a){var r=new FormData;r.append(l.field,a),layui.each(l.data,function(e,i){r.append(e,i)}),i.ajax({url:l.url,type:l.method,data:r,contentType:!1,processData:!1,dataType:"json",success:function(i){t++,d(e,i),u()},error:function(){n++,o.msg("请求上传接口出现异常"),m(e),u()}})})},c=function(){var e=i("#"+f);o.elemFile.parent().submit(),clearInterval(p.timer),p.timer=setInterval(function(){var i,t=e.contents().find("body");try{i=t.text()}catch(n){o.msg("获取上传后的响应信息出现异常"),clearInterval(p.timer),m()}i&&(clearInterval(p.timer),t.html(""),d(0,i))},30)},d=function(e,i){if(o.elemFile.next("."+s).remove(),r.value="","object"!=typeof i)try{i=JSON.parse(i)}catch(t){return i={},o.msg("请对上传接口返回有效JSON")}"function"==typeof l.done&&l.done(i,e||0,function(e){o.upload(e)})},m=function(e){l.auto&&(r.value=""),"function"==typeof l.error&&l.error(e||0,function(e){o.upload(e)})},h=l.exts,v=function(){var i=[];return layui.each(e||o.chooseFiles,function(e,t){i.push(t.name)}),i}(),g={preview:function(e){o.preview(e)},upload:function(e,i){var t={};t[e]=i,o.upload(t)},pushFile:function(){return o.files=o.files||{},layui.each(o.chooseFiles,function(e,i){o.files[e]=i}),o.files}},y=function(){return"choose"===t?l.choose&&l.choose(g):(l.before&&l.before(g),a.ie?a.ie>9?u():c():void u())};if(v=0===v.length?r.value.match(/[^\/\\]+\..+/g)||[]||"":v,0!==v.length){switch(l.accept){case"file":if(h&&!RegExp("\\w\\.("+h+")$","i").test(escape(v)))return o.msg("选择的文件中包含不支持的格式"),r.value="";break;case"video":if(!RegExp("\\w\\.("+(h||"avi|mp4|wma|rmvb|rm|flash|3gp|flv")+")$","i").test(escape(v)))return o.msg("选择的视频中包含不支持的格式"),r.value="";break;case"audio":if(!RegExp("\\w\\.("+(h||"mp3|wav|mid")+")$","i").test(escape(v)))return o.msg("选择的音频中包含不支持的格式"),r.value="";break;default:if(layui.each(v,function(e,i){RegExp("\\w\\.("+(h||"jpg|png|gif|bmp|jpeg$")+")","i").test(escape(i))||(n=!0)}),n)return o.msg("选择的图片中包含不支持的格式"),r.value=""}if(o.fileLength=function(){var i=0,t=e||o.files||o.chooseFiles||r.files;return layui.each(t,function(){i++}),i}(),l.number&&o.fileLength>l.number)return o.msg("同时最多只能上传的数量为:"+l.number);if(l.size>0&&!(a.ie&&a.ie<10)){var F;if(layui.each(o.chooseFiles,function(e,i){if(i.size>1024*l.size){var t=l.size/1024;t=t>=1?Math.floor(t)+(t%1>0?t.toFixed(1):0)+"MB":l.size+"KB",r.value="",F=t}}),F)return o.msg("文件不能超过"+F)}y()}},p.prototype.events=function(){var e=this,t=e.config,o=function(i){e.chooseFiles={},layui.each(i,function(i,t){var n=(new Date).getTime();e.chooseFiles[n+"-"+i]=t})},l=function(i,n){var a=e.elemFile,o=i.length>1?i.length+"个文件":(i[0]||{}).name||a[0].value.match(/[^\/\\]+\..+/g)||[]||"";a.next().hasClass(s)&&a.next().remove(),e.upload(null,"choose"),e.isFile()||t.choose||a.after(''+o+"")};t.elem.off("upload.start").on("upload.start",function(){var a=i(this),o=a.attr("lay-data");if(o)try{o=new Function("return "+o)(),e.config=i.extend({},t,o)}catch(l){n.error("Upload element property lay-data configuration item has a syntax error: "+o)}e.config.item=a,e.elemFile[0].click()}),a.ie&&a.ie<10||t.elem.off("upload.over").on("upload.over",function(){var e=i(this);e.attr("lay-over","")}).off("upload.leave").on("upload.leave",function(){var e=i(this);e.removeAttr("lay-over")}).off("upload.drop").on("upload.drop",function(n,a){var r=i(this),u=a.originalEvent.dataTransfer.files||[];r.removeAttr("lay-over"),o(u),t.auto?e.upload(u):l(u)}),e.elemFile.off("upload.change").on("upload.change",function(){var i=this.files||[];o(i),t.auto?e.upload():l(i)}),t.bindAction.off("upload.action").on("upload.action",function(){e.upload()}),t.elem.data("haveEvents")||(e.elemFile.on("change",function(){i(this).trigger("upload.change")}),t.elem.on("click",function(){e.isFile()||i(this).trigger("upload.start")}),t.drag&&t.elem.on("dragover",function(e){e.preventDefault(),i(this).trigger("upload.over")}).on("dragleave",function(e){i(this).trigger("upload.leave")}).on("drop",function(e){e.preventDefault(),i(this).trigger("upload.drop",e)}),t.bindAction.on("click",function(){i(this).trigger("upload.action")}),t.elem.data("haveEvents",!0))},o.render=function(e){var i=new p(e);return l.call(i)},e(r,o)}); -------------------------------------------------------------------------------- /lay/modules/util.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.5 MIT License By https://www.layui.com */ ; 2 | layui.define("jquery", function(e) { 3 | "use strict"; 4 | var t = layui.$, 5 | i = { 6 | fixbar: function(e) { 7 | var i, o, a = "layui-fixbar", 8 | r = "layui-fixbar-top", 9 | n = t(document), 10 | l = t("body"); 11 | e = t.extend({ showHeight: 200 }, e), e.bar1 = e.bar1 === !0 ? "" : e.bar1, e.bar2 = e.bar2 === !0 ? "" : e.bar2, e.bgcolor = e.bgcolor ? "background-color:" + e.bgcolor : ""; 12 | var c = [e.bar1, e.bar2, ""], 13 | g = t(['
      ', e.bar1 ? '
    • ' + c[0] + "
    • " : "", e.bar2 ? '
    • ' + c[1] + "
    • " : "", '
    • ' + c[2] + "
    • ", "
    "].join("")), 14 | s = g.find("." + r), 15 | u = function() { 16 | var t = n.scrollTop(); 17 | t >= e.showHeight ? i || (s.show(), i = 1) : i && (s.hide(), i = 0) 18 | }; 19 | t("." + a)[0] || ("object" == typeof e.css && g.css(e.css), l.append(g), u(), g.find("li").on("click", function() { 20 | var i = t(this), 21 | o = i.attr("lay-type"); 22 | "top" === o && t("html,body").animate({ scrollTop: 0 }, 200), e.click && e.click.call(this, o) 23 | }), n.on("scroll", function() { clearTimeout(o), o = setTimeout(function() { u() }, 100) })) 24 | }, 25 | countdown: function(e, t, i) { 26 | var o = this, 27 | a = "function" == typeof t, 28 | r = new Date(e).getTime(), 29 | n = new Date(!t || a ? (new Date).getTime() : t).getTime(), 30 | l = r - n, 31 | c = [Math.floor(l / 864e5), Math.floor(l / 36e5) % 24, Math.floor(l / 6e4) % 60, Math.floor(l / 1e3) % 60]; 32 | a && (i = t); 33 | var g = setTimeout(function() { o.countdown(e, n + 1e3, i) }, 1e3); 34 | return i && i(l > 0 ? c : [0, 0, 0, 0], t, g), l <= 0 && clearTimeout(g), g 35 | }, 36 | timeAgo: function(e, t) { 37 | var i = this, 38 | o = [ 39 | [], 40 | [] 41 | ], 42 | a = (new Date).getTime() - new Date(e).getTime(); 43 | return a > 6912e5 ? (a = new Date(e), o[0][0] = i.digit(a.getFullYear(), 4), o[0][1] = i.digit(a.getMonth() + 1), o[0][2] = i.digit(a.getDate()), t || (o[1][0] = i.digit(a.getHours()), o[1][1] = i.digit(a.getMinutes()), o[1][2] = i.digit(a.getSeconds())), o[0].join("-") + " " + o[1].join(":")) : a >= 864e5 ? (a / 1e3 / 60 / 60 / 24 | 0) + "天前" : a >= 36e5 ? (a / 1e3 / 60 / 60 | 0) + "小时前" : a >= 12e4 ? (a / 1e3 / 60 | 0) + "分钟前" : a < 0 ? "未来" : "刚刚" 44 | }, 45 | digit: function(e, t) { 46 | var i = ""; 47 | e = String(e), t = t || 2; 48 | for (var o = e.length; o < t; o++) i += "0"; 49 | return e < Math.pow(10, t) ? i + (0 | e) : e 50 | }, 51 | toDateString: function(e, t) { 52 | var i = this, 53 | o = new Date(e || new Date), 54 | a = [i.digit(o.getFullYear(), 4), i.digit(o.getMonth() + 1), i.digit(o.getDate())], 55 | r = [i.digit(o.getHours()), i.digit(o.getMinutes()), i.digit(o.getSeconds())]; 56 | return t = t || "yyyy-MM-dd HH:mm:ss", t.replace(/yyyy/g, a[0]).replace(/MM/g, a[1]).replace(/dd/g, a[2]).replace(/HH/g, r[0]).replace(/mm/g, r[1]).replace(/ss/g, r[2]) 57 | } 58 | }; 59 | e("util", i) 60 | }); -------------------------------------------------------------------------------- /layui/css/modules/code.css: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.45 MIT License By http://www.layui.com */ 2 | html #layuicss-skincodecss{display:none;position:absolute;width:1989px}.layui-code-h3,.layui-code-view{position:relative;font-size:12px}.layui-code-view{display:block;margin:10px 0;padding:0;border:1px solid #e2e2e2;border-left-width:6px;background-color:#F2F2F2;color:#333;font-family:Courier New}.layui-code-h3{padding:0 10px;height:32px;line-height:32px;border-bottom:1px solid #e2e2e2}.layui-code-h3 a{position:absolute;right:10px;top:0;color:#999}.layui-code-view .layui-code-ol{position:relative;overflow:auto}.layui-code-view .layui-code-ol li{position:relative;margin-left:45px;line-height:20px;padding:0 5px;border-left:1px solid #e2e2e2;list-style-type:decimal-leading-zero;*list-style-type:decimal;background-color:#fff}.layui-code-view pre{margin:0}.layui-code-notepad{border:1px solid #0C0C0C;border-left-color:#3F3F3F;background-color:#0C0C0C;color:#C2BE9E}.layui-code-notepad .layui-code-h3{border-bottom:none}.layui-code-notepad .layui-code-ol li{background-color:#3F3F3F;border-left:none} -------------------------------------------------------------------------------- /layui/css/modules/layer/default/icon-ext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/css/modules/layer/default/icon-ext.png -------------------------------------------------------------------------------- /layui/css/modules/layer/default/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/css/modules/layer/default/icon.png -------------------------------------------------------------------------------- /layui/css/modules/layer/default/loading-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/css/modules/layer/default/loading-0.gif -------------------------------------------------------------------------------- /layui/css/modules/layer/default/loading-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/css/modules/layer/default/loading-1.gif -------------------------------------------------------------------------------- /layui/css/modules/layer/default/loading-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/css/modules/layer/default/loading-2.gif -------------------------------------------------------------------------------- /layui/font/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/font/iconfont.eot -------------------------------------------------------------------------------- /layui/font/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/font/iconfont.ttf -------------------------------------------------------------------------------- /layui/font/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/font/iconfont.woff -------------------------------------------------------------------------------- /layui/images/face/0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/0.gif -------------------------------------------------------------------------------- /layui/images/face/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/1.gif -------------------------------------------------------------------------------- /layui/images/face/10.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/10.gif -------------------------------------------------------------------------------- /layui/images/face/11.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/11.gif -------------------------------------------------------------------------------- /layui/images/face/12.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/12.gif -------------------------------------------------------------------------------- /layui/images/face/13.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/13.gif -------------------------------------------------------------------------------- /layui/images/face/14.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/14.gif -------------------------------------------------------------------------------- /layui/images/face/15.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/15.gif -------------------------------------------------------------------------------- /layui/images/face/16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/16.gif -------------------------------------------------------------------------------- /layui/images/face/17.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/17.gif -------------------------------------------------------------------------------- /layui/images/face/18.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/18.gif -------------------------------------------------------------------------------- /layui/images/face/19.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/19.gif -------------------------------------------------------------------------------- /layui/images/face/2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/2.gif -------------------------------------------------------------------------------- /layui/images/face/20.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/20.gif -------------------------------------------------------------------------------- /layui/images/face/21.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/21.gif -------------------------------------------------------------------------------- /layui/images/face/22.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/22.gif -------------------------------------------------------------------------------- /layui/images/face/23.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/23.gif -------------------------------------------------------------------------------- /layui/images/face/24.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/24.gif -------------------------------------------------------------------------------- /layui/images/face/25.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/25.gif -------------------------------------------------------------------------------- /layui/images/face/26.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/26.gif -------------------------------------------------------------------------------- /layui/images/face/27.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/27.gif -------------------------------------------------------------------------------- /layui/images/face/28.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/28.gif -------------------------------------------------------------------------------- /layui/images/face/29.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/29.gif -------------------------------------------------------------------------------- /layui/images/face/3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/3.gif -------------------------------------------------------------------------------- /layui/images/face/30.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/30.gif -------------------------------------------------------------------------------- /layui/images/face/31.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/31.gif -------------------------------------------------------------------------------- /layui/images/face/32.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/32.gif -------------------------------------------------------------------------------- /layui/images/face/33.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/33.gif -------------------------------------------------------------------------------- /layui/images/face/34.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/34.gif -------------------------------------------------------------------------------- /layui/images/face/35.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/35.gif -------------------------------------------------------------------------------- /layui/images/face/36.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/36.gif -------------------------------------------------------------------------------- /layui/images/face/37.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/37.gif -------------------------------------------------------------------------------- /layui/images/face/38.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/38.gif -------------------------------------------------------------------------------- /layui/images/face/39.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/39.gif -------------------------------------------------------------------------------- /layui/images/face/4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/4.gif -------------------------------------------------------------------------------- /layui/images/face/40.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/40.gif -------------------------------------------------------------------------------- /layui/images/face/41.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/41.gif -------------------------------------------------------------------------------- /layui/images/face/42.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/42.gif -------------------------------------------------------------------------------- /layui/images/face/43.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/43.gif -------------------------------------------------------------------------------- /layui/images/face/44.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/44.gif -------------------------------------------------------------------------------- /layui/images/face/45.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/45.gif -------------------------------------------------------------------------------- /layui/images/face/46.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/46.gif -------------------------------------------------------------------------------- /layui/images/face/47.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/47.gif -------------------------------------------------------------------------------- /layui/images/face/48.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/48.gif -------------------------------------------------------------------------------- /layui/images/face/49.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/49.gif -------------------------------------------------------------------------------- /layui/images/face/5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/5.gif -------------------------------------------------------------------------------- /layui/images/face/50.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/50.gif -------------------------------------------------------------------------------- /layui/images/face/51.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/51.gif -------------------------------------------------------------------------------- /layui/images/face/52.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/52.gif -------------------------------------------------------------------------------- /layui/images/face/53.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/53.gif -------------------------------------------------------------------------------- /layui/images/face/54.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/54.gif -------------------------------------------------------------------------------- /layui/images/face/55.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/55.gif -------------------------------------------------------------------------------- /layui/images/face/56.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/56.gif -------------------------------------------------------------------------------- /layui/images/face/57.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/57.gif -------------------------------------------------------------------------------- /layui/images/face/58.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/58.gif -------------------------------------------------------------------------------- /layui/images/face/59.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/59.gif -------------------------------------------------------------------------------- /layui/images/face/6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/6.gif -------------------------------------------------------------------------------- /layui/images/face/60.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/60.gif -------------------------------------------------------------------------------- /layui/images/face/61.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/61.gif -------------------------------------------------------------------------------- /layui/images/face/62.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/62.gif -------------------------------------------------------------------------------- /layui/images/face/63.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/63.gif -------------------------------------------------------------------------------- /layui/images/face/64.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/64.gif -------------------------------------------------------------------------------- /layui/images/face/65.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/65.gif -------------------------------------------------------------------------------- /layui/images/face/66.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/66.gif -------------------------------------------------------------------------------- /layui/images/face/67.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/67.gif -------------------------------------------------------------------------------- /layui/images/face/68.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/68.gif -------------------------------------------------------------------------------- /layui/images/face/69.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/69.gif -------------------------------------------------------------------------------- /layui/images/face/7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/7.gif -------------------------------------------------------------------------------- /layui/images/face/70.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/70.gif -------------------------------------------------------------------------------- /layui/images/face/71.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/71.gif -------------------------------------------------------------------------------- /layui/images/face/8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/8.gif -------------------------------------------------------------------------------- /layui/images/face/9.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-fan/wechat-app-web/5efe6a2bb7ee4fe4b2fcbb2515395fea946c8863/layui/images/face/9.gif -------------------------------------------------------------------------------- /layui/lay/modules/carousel.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.45 MIT License By http://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var i=layui.$,n=(layui.hint(),layui.device(),{config:{},set:function(e){var n=this;return n.config=i.extend({},n.config,e),n},on:function(e,i){return layui.onevent.call(this,t,e,i)}}),t="carousel",a="layui-this",l=">*[carousel-item]>*",o="layui-carousel-left",r="layui-carousel-right",d="layui-carousel-prev",s="layui-carousel-next",u="layui-carousel-arrow",c="layui-carousel-ind",m=function(e){var t=this;t.config=i.extend({},t.config,n.config,e),t.render()};m.prototype.config={width:"600px",height:"280px",full:!1,arrow:"hover",indicator:"inside",autoplay:!0,interval:3e3,anim:"",trigger:"click",index:0},m.prototype.render=function(){var e=this,n=e.config;n.elem=i(n.elem),n.elem[0]&&(e.elemItem=n.elem.find(l),n.index<0&&(n.index=0),n.index>=e.elemItem.length&&(n.index=e.elemItem.length-1),n.interval<800&&(n.interval=800),n.full?n.elem.css({position:"fixed",width:"100%",height:"100%",zIndex:9999}):n.elem.css({width:n.width,height:n.height}),n.elem.attr("lay-anim",n.anim),e.elemItem.eq(n.index).addClass(a),e.elemItem.length<=1||(e.indicator(),e.arrow(),e.autoplay(),e.events()))},m.prototype.reload=function(e){var n=this;clearInterval(n.timer),n.config=i.extend({},n.config,e),n.render()},m.prototype.prevIndex=function(){var e=this,i=e.config,n=i.index-1;return n<0&&(n=e.elemItem.length-1),n},m.prototype.nextIndex=function(){var e=this,i=e.config,n=i.index+1;return n>=e.elemItem.length&&(n=0),n},m.prototype.addIndex=function(e){var i=this,n=i.config;e=e||1,n.index=n.index+e,n.index>=i.elemItem.length&&(n.index=0)},m.prototype.subIndex=function(e){var i=this,n=i.config;e=e||1,n.index=n.index-e,n.index<0&&(n.index=i.elemItem.length-1)},m.prototype.autoplay=function(){var e=this,i=e.config;i.autoplay&&(e.timer=setInterval(function(){e.slide()},i.interval))},m.prototype.arrow=function(){var e=this,n=e.config,t=i(['",'"].join(""));n.elem.attr("lay-arrow",n.arrow),n.elem.find("."+u)[0]&&n.elem.find("."+u).remove(),n.elem.append(t),t.on("click",function(){var n=i(this),t=n.attr("lay-type");e.slide(t)})},m.prototype.indicator=function(){var e=this,n=e.config,t=e.elemInd=i(['
      ',function(){var i=[];return layui.each(e.elemItem,function(e){i.push("")}),i.join("")}(),"
    "].join(""));n.elem.attr("lay-indicator",n.indicator),n.elem.find("."+c)[0]&&n.elem.find("."+c).remove(),n.elem.append(t),"updown"===n.anim&&t.css("margin-top",-(t.height()/2)),t.find("li").on("hover"===n.trigger?"mouseover":n.trigger,function(){var t=i(this),a=t.index();a>n.index?e.slide("add",a-n.index):a/g,">").replace(/'/g,"'").replace(/"/g,""")),c.html('
    1. '+o.replace(/[\r\t\n]+/g,"
    2. ")+"
    "),c.find(">.layui-code-h3")[0]||c.prepend('

    '+(c.attr("lay-title")||e.title||"code")+(e.about?'layui.code':"")+"

    ");var d=c.find(">.layui-code-ol");c.addClass("layui-box layui-code-view"),(c.attr("lay-skin")||e.skin)&&c.addClass("layui-code-"+(c.attr("lay-skin")||e.skin)),(d.find("li").length/100|0)>0&&d.css("margin-left",(d.find("li").length/100|0)+"px"),(c.attr("lay-height")||e.height)&&d.css("max-height",c.attr("lay-height")||e.height)})})}).addcss("modules/code.css","skincodecss"); -------------------------------------------------------------------------------- /layui/lay/modules/flow.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.45 MIT License By http://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var l=layui.$,o=function(e){},t='';o.prototype.load=function(e){var o,i,n,r,a=this,c=0;e=e||{};var f=l(e.elem);if(f[0]){var m=l(e.scrollElem||document),u=e.mb||50,s=!("isAuto"in e)||e.isAuto,v=e.end||"没有更多了",y=e.scrollElem&&e.scrollElem!==document,d="加载更多",h=l('");f.find(".layui-flow-more")[0]||f.append(h);var p=function(e,t){e=l(e),h.before(e),t=0==t||null,t?h.html(v):h.find("a").html(d),i=t,o=null,n&&n()},g=function(){o=!0,h.find("a").html(t),"function"==typeof e.done&&e.done(++c,p)};if(g(),h.find("a").on("click",function(){l(this);i||o||g()}),e.isLazyimg)var n=a.lazyimg({elem:e.elem+" img",scrollElem:e.scrollElem});return s?(m.on("scroll",function(){var e=l(this),t=e.scrollTop();r&&clearTimeout(r),i||(r=setTimeout(function(){var i=y?e.height():l(window).height(),n=y?e.prop("scrollHeight"):document.documentElement.scrollHeight;n-t-i<=u&&(o||g())},100))}),a):a}},o.prototype.lazyimg=function(e){var o,t=this,i=0;e=e||{};var n=l(e.scrollElem||document),r=e.elem||"img",a=e.scrollElem&&e.scrollElem!==document,c=function(e,l){var o=n.scrollTop(),r=o+l,c=a?function(){return e.offset().top-n.offset().top+o}():e.offset().top;if(c>=o&&c<=r&&!e.attr("src")){var m=e.attr("lay-src");layui.img(m,function(){var l=t.lazyimg.elem.eq(i);e.attr("src",m).removeAttr("lay-src"),l[0]&&f(l),i++})}},f=function(e,o){var f=a?(o||n).height():l(window).height(),m=n.scrollTop(),u=m+f;if(t.lazyimg.elem=l(r),e)c(e,f);else for(var s=0;su)break}};if(f(),!o){var m;n.on("scroll",function(){var e=l(this);m&&clearTimeout(m),m=setTimeout(function(){f(null,e)},50)}),o=!0}return f},e("flow",new o)}); -------------------------------------------------------------------------------- /layui/lay/modules/laypage.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.45 MIT License By http://www.layui.com */ 2 | ;layui.define(function(e){"use strict";var a=document,t="getElementById",n="getElementsByTagName",i="laypage",r="layui-disabled",u=function(e){var a=this;a.config=e||{},a.config.index=++s.index,a.render(!0)};u.prototype.type=function(){var e=this.config;if("object"==typeof e.elem)return void 0===e.elem.length?2:3},u.prototype.view=function(){var e=this,a=e.config,t=a.groups="groups"in a?0|a.groups:5;a.layout="object"==typeof a.layout?a.layout:["prev","page","next"],a.count=0|a.count,a.curr=0|a.curr||1,a.limits="object"==typeof a.limits?a.limits:[10,20,30,40,50],a.limit=0|a.limit||10,a.pages=Math.ceil(a.count/a.limit)||1,a.curr>a.pages&&(a.curr=a.pages),t<0?t=1:t>a.pages&&(t=a.pages),a.prev="prev"in a?a.prev:"上一页",a.next="next"in a?a.next:"下一页";var n=a.pages>t?Math.ceil((a.curr+(t>1?1:0))/(t>0?t:1)):1,i={prev:function(){return a.prev?''+a.prev+"":""}(),page:function(){var e=[];if(a.count<1)return"";n>1&&a.first!==!1&&0!==t&&e.push(''+(a.first||1)+"");var i=Math.floor((t-1)/2),r=n>1?a.curr-i:1,u=n>1?function(){var e=a.curr+(t-i-1);return e>a.pages?a.pages:e}():t;for(u-r2&&e.push('');r<=u;r++)r===a.curr?e.push('"+r+""):e.push(''+r+"");return a.pages>t&&a.pages>u&&a.last!==!1&&(u+1…'),0!==t&&e.push(''+(a.last||a.pages)+"")),e.join("")}(),next:function(){return a.next?''+a.next+"":""}(),count:'共 '+a.count+" 条",limit:function(){var e=['"}(),skip:function(){return['到第','','页',""].join("")}()};return['
    ',function(){var e=[];return layui.each(a.layout,function(a,t){i[t]&&e.push(i[t])}),e.join("")}(),"
    "].join("")},u.prototype.jump=function(e,a){if(e){var t=this,i=t.config,r=e.children,u=e[n]("button")[0],l=e[n]("input")[0],p=e[n]("select")[0],c=function(){var e=0|l.value.replace(/\s|\D/g,"");e&&(i.curr=e,t.render())};if(a)return c();for(var o=0,y=r.length;oi.pages||(i.curr=e,t.render())});p&&s.on(p,"change",function(){var e=this.value;i.curr*e>i.count&&(i.curr=Math.ceil(i.count/e)),i.limit=e,t.render()}),u&&s.on(u,"click",function(){c()})}},u.prototype.skip=function(e){if(e){var a=this,t=e[n]("input")[0];t&&s.on(t,"keyup",function(t){var n=this.value,i=t.keyCode;/^(37|38|39|40)$/.test(i)||(/\D/.test(n)&&(this.value=n.replace(/\D/,"")),13===i&&a.jump(e,!0))})}},u.prototype.render=function(e){var n=this,i=n.config,r=n.type(),u=n.view();2===r?i.elem&&(i.elem.innerHTML=u):3===r?i.elem.html(u):a[t](i.elem)&&(a[t](i.elem).innerHTML=u),i.jump&&i.jump(i,e);var s=a[t]("layui-laypage-"+i.index);n.jump(s),i.hash&&!e&&(location.hash="!"+i.hash+"="+i.curr),n.skip(s)};var s={render:function(e){var a=new u(e);return a.index},index:layui.laypage?layui.laypage.index+1e4:0,on:function(e,a,t){return e.attachEvent?e.attachEvent("on"+a,function(a){a.target=a.srcElement,t.call(e,a)}):e.addEventListener(a,t,!1),this}};e(i,s)}); -------------------------------------------------------------------------------- /layui/lay/modules/laytpl.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.45 MIT License By http://www.layui.com */ 2 | ;layui.define(function(e){"use strict";var r={open:"{{",close:"}}"},c={exp:function(e){return new RegExp(e,"g")},query:function(e,c,t){var o=["#([\\s\\S])+?","([^{#}])*?"][e||0];return n((c||"")+r.open+o+r.close+(t||""))},escape:function(e){return String(e||"").replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""")},error:function(e,r){var c="Laytpl Error:";return"object"==typeof console&&console.error(c+e+"\n"+(r||"")),c+e}},n=c.exp,t=function(e){this.tpl=e};t.pt=t.prototype,window.errors=0,t.pt.parse=function(e,t){var o=this,p=e,a=n("^"+r.open+"#",""),l=n(r.close+"$","");e=e.replace(/\s+|\r|\t|\n/g," ").replace(n(r.open+"#"),r.open+"# ").replace(n(r.close+"}"),"} "+r.close).replace(/\\/g,"\\\\").replace(n(r.open+"!(.+?)!"+r.close),function(e){return e=e.replace(n("^"+r.open+"!"),"").replace(n("!"+r.close),"").replace(n(r.open+"|"+r.close),function(e){return e.replace(/(.)/g,"\\$1")})}).replace(/(?="|')/g,"\\").replace(c.query(),function(e){return e=e.replace(a,"").replace(l,""),'";'+e.replace(/\\/g,"")+';view+="'}).replace(c.query(1),function(e){var c='"+(';return e.replace(/\s/g,"")===r.open+r.close?"":(e=e.replace(n(r.open+"|"+r.close),""),/^=/.test(e)&&(e=e.replace(/^=/,""),c='"+_escape_('),c+e.replace(/\\/g,"")+')+"')}),e='"use strict";var view = "'+e+'";return view;';try{return o.cache=e=new Function("d, _escape_",e),e(t,c.escape)}catch(u){return delete o.cache,c.error(u,p)}},t.pt.render=function(e,r){var n,t=this;return e?(n=t.cache?t.cache(e,c.escape):t.parse(t.tpl,e),r?void r(n):n):c.error("no data")};var o=function(e){return"string"!=typeof e?c.error("Template not found"):new t(e)};o.config=function(e){e=e||{};for(var c in e)r[c]=e[c]},o.v="1.2.0",e("laytpl",o)}); -------------------------------------------------------------------------------- /layui/lay/modules/tree.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.45 MIT License By http://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var o=layui.$,a=layui.hint(),i="layui-tree-enter",r=function(e){this.options=e},t={arrow:["",""],checkbox:["",""],radio:["",""],branch:["",""],leaf:""};r.prototype.init=function(e){var o=this;e.addClass("layui-box layui-tree"),o.options.skin&&e.addClass("layui-tree-skin-"+o.options.skin),o.tree(e),o.on(e)},r.prototype.tree=function(e,a){var i=this,r=i.options,n=a||r.nodes;layui.each(n,function(a,n){var l=n.children&&n.children.length>0,c=o('
      '),s=o(["
    • ",function(){return l?''+(n.spread?t.arrow[1]:t.arrow[0])+"":""}(),function(){return r.check?''+("checkbox"===r.check?t.checkbox[0]:"radio"===r.check?t.radio[0]:"")+"":""}(),function(){return'"+(''+(l?n.spread?t.branch[1]:t.branch[0]:t.leaf)+"")+(""+(n.name||"未命名")+"")}(),"
    • "].join(""));l&&(s.append(c),i.tree(c,n.children)),e.append(s),"function"==typeof r.click&&i.click(s,n),i.spread(s,n),r.drag&&i.drag(s,n)})},r.prototype.click=function(e,o){var a=this,i=a.options;e.children("a").on("click",function(e){layui.stope(e),i.click(o)})},r.prototype.spread=function(e,o){var a=this,i=(a.options,e.children(".layui-tree-spread")),r=e.children("ul"),n=e.children("a"),l=function(){e.data("spread")?(e.data("spread",null),r.removeClass("layui-show"),i.html(t.arrow[0]),n.find(".layui-icon").html(t.branch[0])):(e.data("spread",!0),r.addClass("layui-show"),i.html(t.arrow[1]),n.find(".layui-icon").html(t.branch[1]))};r[0]&&(i.on("click",l),n.on("dblclick",l))},r.prototype.on=function(e){var a=this,r=a.options,t="layui-tree-drag";e.find("i").on("selectstart",function(e){return!1}),r.drag&&o(document).on("mousemove",function(e){var i=a.move;if(i.from){var r=(i.to,o('
      '));e.preventDefault(),o("."+t)[0]||o("body").append(r);var n=o("."+t)[0]?o("."+t):r;n.addClass("layui-show").html(i.from.elem.children("a").html()),n.css({left:e.pageX+10,top:e.pageY+10})}}).on("mouseup",function(){var e=a.move;e.from&&(e.from.elem.children("a").removeClass(i),e.to&&e.to.elem.children("a").removeClass(i),a.move={},o("."+t).remove())})},r.prototype.move={},r.prototype.drag=function(e,a){var r=this,t=(r.options,e.children("a")),n=function(){var t=o(this),n=r.move;n.from&&(n.to={item:a,elem:e},t.addClass(i))};t.on("mousedown",function(){var o=r.move;o.from={item:a,elem:e}}),t.on("mouseenter",n).on("mousemove",n).on("mouseleave",function(){var e=o(this),a=r.move;a.from&&(delete a.to,e.removeClass(i))})},e("tree",function(e){var i=new r(e=e||{}),t=o(e.elem);return t[0]?void i.init(t):a.error("layui.tree 没有找到"+e.elem+"元素")})}); -------------------------------------------------------------------------------- /layui/lay/modules/upload.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.45 MIT License By http://www.layui.com */ 2 | ;layui.define("layer",function(e){"use strict";var i=layui.$,t=layui.layer,n=layui.hint(),a=layui.device(),o={config:{},set:function(e){var t=this;return t.config=i.extend({},t.config,e),t},on:function(e,i){return layui.onevent.call(this,r,e,i)}},l=function(){var e=this;return{upload:function(i){e.upload.call(e,i)},config:e.config}},r="upload",u="layui-upload-file",c="layui-upload-form",f="layui-upload-iframe",s="layui-upload-choose",p=function(e){var t=this;t.config=i.extend({},t.config,o.config,e),t.render()};p.prototype.config={accept:"images",exts:"",auto:!0,bindAction:"",url:"",field:"file",method:"post",data:{},drag:!0,size:0,number:0,multiple:!1},p.prototype.render=function(e){var t=this,e=t.config;e.elem=i(e.elem),e.bindAction=i(e.bindAction),t.file(),t.events()},p.prototype.file=function(){var e=this,t=e.config,n=e.elemFile=i(['"].join("")),o=t.elem.next();(o.hasClass(u)||o.hasClass(c))&&o.remove(),a.ie&&a.ie<10&&t.elem.wrap('
      '),e.isFile()?(e.elemFile=t.elem,t.field=t.elem[0].name):t.elem.after(n),a.ie&&a.ie<10&&e.initIE()},p.prototype.initIE=function(){var e=this,t=e.config,n=i(''),a=i(['
      ',"
      "].join(""));i("#"+f)[0]||i("body").append(n),t.elem.next().hasClass(f)||(e.elemFile.wrap(a),t.elem.next("."+f).append(function(){var e=[];return layui.each(t.data,function(i,t){e.push('')}),e.join("")}()))},p.prototype.msg=function(e){return t.msg(e,{icon:2,shift:6})},p.prototype.isFile=function(){var e=this.config.elem[0];if(e)return"input"===e.tagName.toLocaleLowerCase()&&"file"===e.type},p.prototype.preview=function(e){var i=this;window.FileReader&&layui.each(i.chooseFiles,function(i,t){var n=new FileReader;n.readAsDataURL(t),n.onload=function(){e&&e(i,t,this.result)}})},p.prototype.upload=function(e,t){var n,o=this,l=o.config,r=o.elemFile[0],u=function(){var t=0,n=0,a=e||o.files||o.chooseFiles||r.files,u=function(){l.multiple&&t+n===o.fileLength&&"function"==typeof l.allDone&&l.allDone({total:o.fileLength,successful:t,aborted:n})};layui.each(a,function(e,a){var r=new FormData;r.append(l.field,a),layui.each(l.data,function(e,i){r.append(e,i)}),i.ajax({url:l.url,type:l.method,data:r,contentType:!1,processData:!1,dataType:"json",success:function(i){t++,d(e,i),u()},error:function(){n++,o.msg("请求上传接口出现异常"),m(e),u()}})})},c=function(){var e=i("#"+f);o.elemFile.parent().submit(),clearInterval(p.timer),p.timer=setInterval(function(){var i,t=e.contents().find("body");try{i=t.text()}catch(n){o.msg("获取上传后的响应信息出现异常"),clearInterval(p.timer),m()}i&&(clearInterval(p.timer),t.html(""),d(0,i))},30)},d=function(e,i){if(o.elemFile.next("."+s).remove(),r.value="","object"!=typeof i)try{i=JSON.parse(i)}catch(t){return i={},o.msg("请对上传接口返回有效JSON")}"function"==typeof l.done&&l.done(i,e||0,function(e){o.upload(e)})},m=function(e){l.auto&&(r.value=""),"function"==typeof l.error&&l.error(e||0,function(e){o.upload(e)})},h=l.exts,v=function(){var i=[];return layui.each(e||o.chooseFiles,function(e,t){i.push(t.name)}),i}(),g={preview:function(e){o.preview(e)},upload:function(e,i){var t={};t[e]=i,o.upload(t)},pushFile:function(){return o.files=o.files||{},layui.each(o.chooseFiles,function(e,i){o.files[e]=i}),o.files}},y=function(){return"choose"===t?l.choose&&l.choose(g):(l.before&&l.before(g),a.ie?a.ie>9?u():c():void u())};if(v=0===v.length?r.value.match(/[^\/\\]+\..+/g)||[]||"":v,0!==v.length){switch(l.accept){case"file":if(h&&!RegExp("\\w\\.("+h+")$","i").test(escape(v)))return o.msg("选择的文件中包含不支持的格式"),r.value="";break;case"video":if(!RegExp("\\w\\.("+(h||"avi|mp4|wma|rmvb|rm|flash|3gp|flv")+")$","i").test(escape(v)))return o.msg("选择的视频中包含不支持的格式"),r.value="";break;case"audio":if(!RegExp("\\w\\.("+(h||"mp3|wav|mid")+")$","i").test(escape(v)))return o.msg("选择的音频中包含不支持的格式"),r.value="";break;default:if(layui.each(v,function(e,i){RegExp("\\w\\.("+(h||"jpg|png|gif|bmp|jpeg$")+")","i").test(escape(i))||(n=!0)}),n)return o.msg("选择的图片中包含不支持的格式"),r.value=""}if(o.fileLength=function(){var i=0,t=e||o.files||o.chooseFiles||r.files;return layui.each(t,function(){i++}),i}(),l.number&&o.fileLength>l.number)return o.msg("同时最多只能上传的数量为:"+l.number);if(l.size>0&&!(a.ie&&a.ie<10)){var F;if(layui.each(o.chooseFiles,function(e,i){if(i.size>1024*l.size){var t=l.size/1024;t=t>=1?Math.floor(t)+(t%1>0?t.toFixed(1):0)+"MB":l.size+"KB",r.value="",F=t}}),F)return o.msg("文件不能超过"+F)}y()}},p.prototype.events=function(){var e=this,t=e.config,o=function(i){e.chooseFiles={},layui.each(i,function(i,t){var n=(new Date).getTime();e.chooseFiles[n+"-"+i]=t})},l=function(i,n){var a=e.elemFile,o=i.length>1?i.length+"个文件":(i[0]||{}).name||a[0].value.match(/[^\/\\]+\..+/g)||[]||"";a.next().hasClass(s)&&a.next().remove(),e.upload(null,"choose"),e.isFile()||t.choose||a.after(''+o+"")};t.elem.off("upload.start").on("upload.start",function(){var a=i(this),o=a.attr("lay-data");if(o)try{o=new Function("return "+o)(),e.config=i.extend({},t,o)}catch(l){n.error("Upload element property lay-data configuration item has a syntax error: "+o)}e.config.item=a,e.elemFile[0].click()}),a.ie&&a.ie<10||t.elem.off("upload.over").on("upload.over",function(){var e=i(this);e.attr("lay-over","")}).off("upload.leave").on("upload.leave",function(){var e=i(this);e.removeAttr("lay-over")}).off("upload.drop").on("upload.drop",function(n,a){var r=i(this),u=a.originalEvent.dataTransfer.files||[];r.removeAttr("lay-over"),o(u),t.auto?e.upload(u):l(u)}),e.elemFile.off("upload.change").on("upload.change",function(){var i=this.files||[];o(i),t.auto?e.upload():l(i)}),t.bindAction.off("upload.action").on("upload.action",function(){e.upload()}),t.elem.data("haveEvents")||(e.elemFile.on("change",function(){i(this).trigger("upload.change")}),t.elem.on("click",function(){e.isFile()||i(this).trigger("upload.start")}),t.drag&&t.elem.on("dragover",function(e){e.preventDefault(),i(this).trigger("upload.over")}).on("dragleave",function(e){i(this).trigger("upload.leave")}).on("drop",function(e){e.preventDefault(),i(this).trigger("upload.drop",e)}),t.bindAction.on("click",function(){i(this).trigger("upload.action")}),t.elem.data("haveEvents",!0))},o.render=function(e){var i=new p(e);return l.call(i)},e(r,o)}); -------------------------------------------------------------------------------- /layui/lay/modules/util.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.45 MIT License By http://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var t=layui.$,i={fixbar:function(e){var i,o,a="layui-fixbar",r="layui-fixbar-top",n=t(document),l=t("body");e=t.extend({showHeight:200},e),e.bar1=e.bar1===!0?"":e.bar1,e.bar2=e.bar2===!0?"":e.bar2,e.bgcolor=e.bgcolor?"background-color:"+e.bgcolor:"";var c=[e.bar1,e.bar2,""],g=t(['
        ',e.bar1?'
      • '+c[0]+"
      • ":"",e.bar2?'
      • '+c[1]+"
      • ":"",'
      • '+c[2]+"
      • ","
      "].join("")),s=g.find("."+r),u=function(){var t=n.scrollTop();t>=e.showHeight?i||(s.show(),i=1):i&&(s.hide(),i=0)};t("."+a)[0]||("object"==typeof e.css&&g.css(e.css),l.append(g),u(),g.find("li").on("click",function(){var i=t(this),o=i.attr("lay-type");"top"===o&&t("html,body").animate({scrollTop:0},200),e.click&&e.click.call(this,o)}),n.on("scroll",function(){clearTimeout(o),o=setTimeout(function(){u()},100)}))},countdown:function(e,t,i){var o=this,a="function"==typeof t,r=new Date(e).getTime(),n=new Date(!t||a?(new Date).getTime():t).getTime(),l=r-n,c=[Math.floor(l/864e5),Math.floor(l/36e5)%24,Math.floor(l/6e4)%60,Math.floor(l/1e3)%60];a&&(i=t);var g=setTimeout(function(){o.countdown(e,n+1e3,i)},1e3);return i&&i(l>0?c:[0,0,0,0],t,g),l<=0&&clearTimeout(g),g},timeAgo:function(e,t){var i=this,o=[[],[]],a=(new Date).getTime()-new Date(e).getTime();return a>6912e5?(a=new Date(e),o[0][0]=i.digit(a.getFullYear(),4),o[0][1]=i.digit(a.getMonth()+1),o[0][2]=i.digit(a.getDate()),t||(o[1][0]=i.digit(a.getHours()),o[1][1]=i.digit(a.getMinutes()),o[1][2]=i.digit(a.getSeconds())),o[0].join("-")+" "+o[1].join(":")):a>=864e5?(a/1e3/60/60/24|0)+"天前":a>=36e5?(a/1e3/60/60|0)+"小时前":a>=12e4?(a/1e3/60|0)+"分钟前":a<0?"未来":"刚刚"},digit:function(e,t){var i="";e=String(e),t=t||2;for(var o=e.length;o 2 | 3 | 4 | 5 | 6 | 首页--layui后台管理模板 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 70 | 71 | 72 | 77 | 78 | 79 | -------------------------------------------------------------------------------- /phpinfo-daf1d88d91fb067884f6d8439b4ecbcb.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 推荐信息 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
      19 | 20 | 21 | 22 | 23 | 28 | 29 | -------------------------------------------------------------------------------- /res/css/changepwd.css: -------------------------------------------------------------------------------- 1 | form input.layui-input[disabled] { 2 | background: #f2f2f2; 3 | color: #595963!important; 4 | } 5 | 6 | .user_left { 7 | width: 45%; 8 | float: left; 9 | margin: 20px 0 0 5%; 10 | } 11 | 12 | .user_right { 13 | width: 25%; 14 | float: left; 15 | margin: 20px 0 0 5%; 16 | text-align: center; 17 | } 18 | 19 | .user_right p { 20 | margin: 10px 0 25px; 21 | font-size: 12px; 22 | text-align: center; 23 | color: #FF5722; 24 | } 25 | 26 | .user_right img#userFace { 27 | width: 200px; 28 | height: 200px; 29 | } 30 | 31 | .layui-table, 32 | .layui-table th { 33 | text-align: center; 34 | } 35 | 36 | 37 | /*用户列表*/ 38 | 39 | .news_list .layui-btn, 40 | .news_list .layui-btn+.layui-btn { 41 | margin: 2px 5px; 42 | } 43 | 44 | #page { 45 | text-align: right; 46 | } 47 | 48 | 49 | /*修改密码*/ 50 | 51 | .changePwd { 52 | width: 30%; 53 | margin: 3% 0 0 5%; 54 | } 55 | 56 | 57 | /*适配*/ 58 | 59 | @media screen and (max-width:1050px) { 60 | /*用户信息*/ 61 | .user_left, 62 | .user_right, 63 | .changePwd { 64 | width: 100%; 65 | float: none; 66 | margin-left: 0; 67 | } 68 | .user_right { 69 | margin-bottom: 20px; 70 | } 71 | } 72 | 73 | @media screen and (max-width: 750px) { 74 | /*用户信息*/ 75 | .user_left, 76 | .user_right, 77 | .changePwd { 78 | width: 100%; 79 | float: none; 80 | margin-left: 0; 81 | } 82 | .user_right { 83 | margin-bottom: 20px; 84 | } 85 | } 86 | 87 | @media screen and (max-width:432px) { 88 | /*用户信息*/ 89 | .user_left, 90 | .user_right, 91 | .changePwd { 92 | width: 100%; 93 | float: none; 94 | margin-left: 0; 95 | } 96 | .user_right { 97 | margin-bottom: 20px; 98 | } 99 | } -------------------------------------------------------------------------------- /res/css/font_eolqem241z66flxr.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: "iconfont"; 3 | src: url('//at.alicdn.com/t/font_570766_yav7zc416k7ta9k9.eot?t=1518953998372'); 4 | /* IE9*/ 5 | src: url('//at.alicdn.com/t/font_570766_yav7zc416k7ta9k9.eot?t=1518953998372#iefix') format('embedded-opentype'), /* IE6-IE8 */ 6 | url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAjEAAsAAAAADEwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFZW7kpDY21hcAAAAYAAAAB+AAABzqhK01ZnbHlmAAACAAAABKQAAAWwpG5qLWhlYWQAAAakAAAALwAAADYQflHhaGhlYQAABtQAAAAcAAAAJAfeA4hobXR4AAAG8AAAABMAAAAcG+kAAGxvY2EAAAcEAAAAEAAAABAEMgX6bWF4cAAABxQAAAAdAAAAIAEbAKhuYW1lAAAHNAAAAUUAAAJtPlT+fXBvc3QAAAh8AAAARQAAAFyGdIfueJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2Bk/ss4gYGVgYOpk+kMAwNDP4RmfM1gxMjBwMDEwMrMgBUEpLmmMDgwVLwIYW7438AQw9zA0AAUZgTJAQArXwzHeJzFkcENgzAMRZ9JiCpUNukYnQA4dIyeKiaOsgX9jrkwAd96kf1lyZENjEASL5HBfhiur1zrfmLqfuateuLBoNgrdW7bcciLfOl5yNQX4XlSf9akoqJwm+y+0Vc9+/s5K9/IfqIvVgK/Sp0D7Y+2BH6ltgZ+vbYFlD++CRoQAAB4nGVUXYwTVRS+5975absz02k7P+30v7PtQLq2bKczs4XQwrogf0aoiUGNyRLQEKRITHDNLg9dDUgIkoUIIZC4aAwiiYmQELORAKsE9AUTIu+YJT7hm4/s4G2LD+rN3G/OPXPPd885c85FLELPfic3SBzF0Ao0iibQdoSAK0NBwmnIW/UKLoOaZ1VdkYhlWnneLFTIWtALnKLV3HpJ53guDBJkwM7XXKuCLXDqTbwGaloaIJE0Xo0WU1EyB6G4lTnib8Ffgpo1U+HmC/7mkZZSy8UCU0I0mohGTwQ4lg1gzIQl6OhakA2GOP8rNmyoN7IrcRaEhGVse13MJaO7jtUPpIt6EKDbhVgyJ33dihgR+hw2tFg0wctiIG6I5rACU4+H4jEhXVpCdLA9IAv4VySiMnoRvYLepLGaEvAZ0O0meBUgZqFk9USq4W0tC7ZVsgbLUQkI3VoBq48O1dpUrVC5SDkUrUdRL9H8lOpuL3yFwzsXztwj5N6ZhbN3Gebu2YX1748Au9dSmxnM6FK4GJZ0Zaq86jN+5amYcyiX25Cu7Dbyw+TakYWj14ha/Mj/NmZWq+YAFMNQYjHDwPcp14D47N3lfaNl4QsBxleSjKrH9YL1vSD9Ft76BvwQuLy+PI65E7UVe8YoHbl2dI2z7soUVF+qQg+6hpVMWkYvL8+65GeyCQ0hHSVRFlk0LzTQQeBSXxjEnQEwIzbv5NUiXZku8jCavojxxekBTs4SMjvZRzg8NrYEJ/3GlUdMgwVYBInMz0zPEzI/PTPvku6uyVmMZyd3dX0XTi41GkvMoyuLACwKUX/+IIeIgXJoNWqicbQRbUF70X50DF2gnjmmU2/1/FNN1VZ53VM1S9M1y/Fcz+F4p+jUPddxad2a1FFbtZ3+jOQjvOnYHp06nZTFZjVq6raA8nC8ppvPt5quY3OKxduqSXWUkYJJT9Btlx6hek7N9eoeX+yx89SSo8fX6BfTg1yGAAhxyxqRUsQMkQaRAqwkwW1C+MaqWf9ytb2tPQIzf7ouaTROeHT4B4MuEAYfL5JhmQll3eF91RyXTnne7p1m9rWsTII8R5hw7sOdoaJIWvCLv/1Q4icurIxrzJSWDi8IOGvowSAGgIphCnmhLDBDCkltZIBkODZ1SxCFEMet0doVOvxlaP1V21D7hs6Pw2GiR6tKohaVyR5B2JMdS8dJqzT6NkcOTIfC6awIRI4/PvkOR8wVQmrTpn0tgnHW0eLfFXrthOm/uk0WyTpUpLcHYiv/KhZaO7yiZoDma1BLfbEO/xQW7R1yW7rUdVpA5joH5gg03e4lCUeMKMgPL5x/KEMkGcHLXdxp7+hg3NnR7iSO3y+b70105gg1mThYKN8/znCiHBPP3WGYO+fEmCxy+K32foz3t/v4vO9vYR/JyEQjyKE1hWDgIE8ded76hVIVeM8atHbfPei1de+S8/4nYHTzKQsb1sbftT9YR0X26c3VB0flpiStbjJPrl59wjBP/E+FSCQRiVwXZdmQ5etif4V95sH8y5/Y3c1Ginnw+fyD5YaRCJS3Do3OTJxeZJjF06d+hL3QszBk+M/7b3eWFO54nGNgZGBgAOId9se64vltvjJwszCAwLX17XwI+n8DCwOzB5DLwcAEEgUALXsKBAB4nGNgZGBgbvjfwBDDwgACQJKRARWwAwBHDQJweJxjYWBgYH7JwMDCgIkBFrMBBQAAAAAAAHYBAgFKAiACcgLYeJxjYGRgYGBnmMPAxQACTEDMBWb/B/MZABkpAcQAAAB4nGWPTU7DMBCFX/oHpBKqqGCH5AViASj9EatuWFRq911036ZOmyqJI8et1ANwHo7ACTgC3IA78EgnmzaWx9+8eWNPANzgBx6O3y33kT1cMjtyDRe4F65TfxBukF+Em2jjVbhF/U3YxzOmwm10YXmD17hi9oR3YQ8dfAjXcI1P4Tr1L+EG+Vu4iTv8CrfQ8erCPuZeV7iNRy/2x1YvnF6p5UHFockikzm/gple75KFrdLqnGtbxCZTg6BfSVOdaVvdU+zXQ+ciFVmTqgmrOkmMyq3Z6tAFG+fyUa8XiR6EJuVYY/62xgKOcQWFJQ6MMUIYZIjK6Og7VWb0r7FDwl57Vj3N53RbFNT/c4UBAvTPXFO6stJ5Ok+BPV8bUnV0K27LnpQ0kV7NSRKyQl7WtlRC6gE2ZVeOEXpc0Yk/KGdI/wAJWm7IAAAAeJxtyDEOgCAMBdB+UCreshM0gUKiJOjpHVh94yNHy0n/GA4eG3YEMA7CDPfoKhan2tMs5cFvltbVopSyxtcrEX1h/A9mAAAA') format('woff'), url('//at.alicdn.com/t/font_570766_yav7zc416k7ta9k9.ttf?t=1518953998372') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/ 7 | url('//at.alicdn.com/t/font_570766_yav7zc416k7ta9k9.svg?t=1518953998372#iconfont') format('svg'); 8 | /* iOS 4.1- */ 9 | } 10 | 11 | .iconfont { 12 | font-family: "iconfont" !important; 13 | font-size: 16px; 14 | font-style: normal; 15 | -webkit-font-smoothing: antialiased; 16 | -moz-osx-font-smoothing: grayscale; 17 | } 18 | 19 | .icon-tupian:before { 20 | content: "\e60d"; 21 | } 22 | 23 | .icon-xinyonghu:before { 24 | content: "\e600"; 25 | } 26 | 27 | .icon-zhaopin:before { 28 | content: "\e852"; 29 | } 30 | 31 | .icon-allyonghu:before { 32 | content: "\e853"; 33 | } 34 | 35 | .icon-msg:before { 36 | content: "\e854"; 37 | } -------------------------------------------------------------------------------- /res/css/imgsrc.css: -------------------------------------------------------------------------------- 1 | #div_img { 2 | margin-left: 10px; 3 | width: 800px; 4 | height: 400px; 5 | border: 1px solid #000; 6 | } 7 | 8 | #pre_img { 9 | margin-top: 10px; 10 | margin-left: 10px; 11 | width: 600px; 12 | height: 200px; 13 | border: 1px solid #000; 14 | } 15 | 16 | h1 { 17 | margin-top: 10px; 18 | text-align: center; 19 | } 20 | 21 | img { 22 | width: 100%; 23 | height: 100%; 24 | } 25 | 26 | #tishi { 27 | color: blue; 28 | } 29 | 30 | #btn { 31 | margin-left: 10px; 32 | margin-bottom: 20px; 33 | } 34 | 35 | #putbtn { 36 | margin-left: 10px; 37 | margin-bottom: 10px; 38 | } -------------------------------------------------------------------------------- /res/css/main.css: -------------------------------------------------------------------------------- 1 | .childrenBody { 2 | margin-left: 10px; 3 | margin-top: 5px; 4 | } -------------------------------------------------------------------------------- /res/css/putinfor.css: -------------------------------------------------------------------------------- 1 | #body { 2 | margin-top: 10px; 3 | margin-left: 10px; 4 | margin-right: 10px; 5 | } 6 | 7 | h1 { 8 | text-align: center; 9 | margin-bottom: 20px; 10 | } 11 | 12 | .layui-upload img { 13 | display: block; 14 | width: 300px; 15 | height: 300px; 16 | margin-left: 10px; 17 | margin-top: 10px; 18 | margin-bottom: 10px; 19 | } 20 | 21 | #tishi { 22 | color: blue; 23 | } 24 | 25 | #myform { 26 | margin-left: 28px; 27 | } 28 | 29 | h1 { 30 | height: 100px; 31 | line-height: 100px; 32 | } -------------------------------------------------------------------------------- /res/css/userinfor.css: -------------------------------------------------------------------------------- 1 | #demo td { 2 | height: 100% 3 | } -------------------------------------------------------------------------------- /res/js/canvas-particle.js: -------------------------------------------------------------------------------- 1 | var CanvasParticle = (function(){ 2 | function getElementByTag(name){ 3 | return document.getElementsByTagName(name); 4 | } 5 | function getELementById(id){ 6 | return document.getElementById(id); 7 | } 8 | // 根据传入的config初始化画布 9 | function canvasInit(canvasConfig){ 10 | canvasConfig = canvasConfig || {}; 11 | var html = getElementByTag("html")[0]; 12 | var body = getElementByTag("body")[0]; 13 | var canvasDiv = getELementById("canvas-particle"); 14 | var canvasObj = document.createElement("canvas"); 15 | 16 | var canvas = { 17 | element: canvasObj, 18 | points : [], 19 | // 默认配置 20 | config: { 21 | vx: canvasConfig.vx || 4, 22 | vy: canvasConfig.vy || 4, 23 | height: canvasConfig.height || 2, 24 | width: canvasConfig.width || 2, 25 | count: canvasConfig.count || 100, 26 | color: canvasConfig.color || "0, 0, 255", 27 | stroke: canvasConfig.stroke || "130,255,255", 28 | dist: canvasConfig.dist || 6000, 29 | e_dist: canvasConfig.e_dist || 20000, 30 | max_conn: 10 31 | } 32 | }; 33 | 34 | // 获取context 35 | if(canvas.element.getContext("2d")){ 36 | canvas.context = canvas.element.getContext("2d"); 37 | }else{ 38 | return null; 39 | } 40 | 41 | body.style.padding = "0"; 42 | body.style.margin = "0"; 43 | // body.replaceChild(canvas.element, canvasDiv); 44 | body.appendChild(canvas.element); 45 | 46 | canvas.element.style = "position: absolute; top: 0; left: 0; z-index: -1;"; 47 | canvasSize(canvas.element); 48 | window.onresize = function(){ 49 | canvasSize(canvas.element); 50 | } 51 | body.onmousemove = function(e){ 52 | var event = e || window.event; 53 | canvas.mouse = { 54 | x: event.clientX, 55 | y: event.clientY 56 | } 57 | } 58 | document.onmouseleave = function(){ 59 | canvas.mouse = undefined; 60 | } 61 | setInterval(function(){ 62 | drawPoint(canvas); 63 | }, 40); 64 | } 65 | 66 | // 设置canvas大小 67 | function canvasSize(canvas){ 68 | canvas.width = window.innerWeight || document.documentElement.clientWidth || document.body.clientWidth; 69 | canvas.height = window.innerWeight || document.documentElement.clientHeight || document.body.clientHeight; 70 | } 71 | 72 | // 画点 73 | function drawPoint(canvas){ 74 | var context = canvas.context, 75 | point, 76 | dist; 77 | context.clearRect(0, 0, canvas.element.width, canvas.element.height); 78 | context.beginPath(); 79 | context.fillStyle = "rgb("+ canvas.config.color +")"; 80 | for(var i = 0, len = canvas.config.count; i < len; i++){ 81 | if(canvas.points.length != canvas.config.count){ 82 | // 初始化所有点 83 | point = { 84 | x: Math.floor(Math.random() * canvas.element.width), 85 | y: Math.floor(Math.random() * canvas.element.height), 86 | vx: canvas.config.vx / 2 - Math.random() * canvas.config.vx, 87 | vy: canvas.config.vy / 2 - Math.random() * canvas.config.vy 88 | } 89 | }else{ 90 | // 处理球的速度和位置,并且做边界处理 91 | point = borderPoint(canvas.points[i], canvas); 92 | } 93 | context.fillRect(point.x - canvas.config.width / 2, point.y - canvas.config.height / 2, canvas.config.width, canvas.config.height); 94 | 95 | canvas.points[i] = point; 96 | } 97 | drawLine(context, canvas, canvas.mouse); 98 | context.closePath(); 99 | } 100 | 101 | // 边界处理 102 | function borderPoint(point, canvas){ 103 | var p = point; 104 | if(point.x <= 0 || point.x >= canvas.element.width){ 105 | p.vx = -p.vx; 106 | p.x += p.vx; 107 | }else if(point.y <= 0 || point.y >= canvas.element.height){ 108 | p.vy = -p.vy; 109 | p.y += p.vy; 110 | }else{ 111 | p = { 112 | x: p.x + p.vx, 113 | y: p.y + p.vy, 114 | vx: p.vx, 115 | vy: p.vy 116 | } 117 | } 118 | return p; 119 | } 120 | 121 | // 画线 122 | function drawLine(context, canvas, mouse){ 123 | context = context || canvas.context; 124 | for(var i = 0, len = canvas.config.count; i < len; i++){ 125 | // 初始化最大连接数 126 | canvas.points[i].max_conn = 0; 127 | // point to point 128 | for(var j = 0; j < len; j++){ 129 | if(i != j){ 130 | dist = Math.round(canvas.points[i].x - canvas.points[j].x) * Math.round(canvas.points[i].x - canvas.points[j].x) + 131 | Math.round(canvas.points[i].y - canvas.points[j].y) * Math.round(canvas.points[i].y - canvas.points[j].y); 132 | // 两点距离小于吸附距离,而且小于最大连接数,则画线 133 | if(dist <= canvas.config.dist && canvas.points[i].max_conn canvas.config.dist && dist <= canvas.config.e_dist){ 153 | canvas.points[i].x = canvas.points[i].x + (mouse.x - canvas.points[i].x) / 20; 154 | canvas.points[i].y = canvas.points[i].y + (mouse.y - canvas.points[i].y) / 20; 155 | } 156 | if(dist <= canvas.config.e_dist){ 157 | context.lineWidth = 1; 158 | context.strokeStyle = "rgba("+ canvas.config.stroke + ","+ (1 - dist / canvas.config.e_dist) +")"; 159 | context.beginPath(); 160 | context.moveTo(canvas.points[i].x, canvas.points[i].y); 161 | context.lineTo(mouse.x, mouse.y); 162 | context.stroke(); 163 | } 164 | } 165 | } 166 | } 167 | return canvasInit; 168 | })(); -------------------------------------------------------------------------------- /res/js/modules/changepwd.js: -------------------------------------------------------------------------------- 1 | Bmob.initialize("你的Application ID", "你的REST API Key"); 2 | layui.use(['form', 'layedit', 'upload', 'laydate'], function() { 3 | var $ = layui.jquery, 4 | layer = layui.layer, 5 | form = layui.form; 6 | element = layui.element; 7 | $('#nikname').val(localStorage.getItem("nikname")); 8 | $('#username').val(localStorage.getItem("name")); 9 | //自定义验证规则 10 | form.verify({ 11 | nikname: function(value) { 12 | if (value.length == 0) { 13 | return '昵称不能为空'; 14 | } 15 | } 16 | }); 17 | //监听提交 18 | form.on('submit(changePwd)', function(data) { 19 | 20 | if ($('#newpwd').val() == $('#entpwd').val()) { 21 | 22 | var GameScore = Bmob.Object.extend("login"); 23 | var query = new Bmob.Query(GameScore); 24 | query.equalTo("username", $('#username').val()); 25 | query.equalTo("password", $('#oldpwd').val()); 26 | query.find({ 27 | success: function(results) { 28 | if (results.length == 1) { 29 | //原来密码正确 30 | var login = Bmob.Object.extend("login"); 31 | var query = new Bmob.Query(login); 32 | // 这个 id 是要修改条目的 id,你在生成这个存储并成功时可以获取到,请看前面的文档 33 | query.get(localStorage.getItem("login_id"), { 34 | success: function(gameScore) { 35 | // 回调中可以取得这个 GameScore 对象的一个实例,然后就可以修改它了 36 | gameScore.set('nikname', $('#nikname').val()); 37 | gameScore.set('username', $('#username').val()); 38 | gameScore.set('password', $('#newpwd').val()); 39 | gameScore.save(); 40 | layer.msg('密码、昵称修改成功,请牢记密码', { 41 | icon: 1, 42 | time: 3000 //2秒关闭(如果不配置,默认是3秒) 43 | }, function() { 44 | $('#oldpwd').val(''); 45 | $('#newpwd').val(''); 46 | $('#entpwd').val(''); 47 | }); 48 | 49 | // The object was retrieved successfully. 50 | }, 51 | error: function(object, error) { 52 | layer.msg('网络错误', { 53 | icon: 2, 54 | time: 1500 //2秒关闭(如果不配置,默认是3秒) 55 | }, function() {}); 56 | } 57 | }); 58 | 59 | } else { 60 | layer.msg('原密码错误,请重新输入', { 61 | icon: 2, 62 | time: 1500 //2秒关闭(如果不配置,默认是3秒) 63 | }, function() { 64 | $('#oldpwd').val(''); 65 | $('#oldpwd').focus(); 66 | }); 67 | } 68 | }, 69 | error: function(error) { 70 | alert("查询失败: " + error.code + " " + error.message); 71 | } 72 | }); 73 | 74 | } else { 75 | layer.msg('两次密码不一致', { 76 | icon: 2, 77 | time: 1500 //2秒关闭(如果不配置,默认是3秒) 78 | }, function() { 79 | //do something 80 | $('#newpwd').val(''); 81 | $('#entpwd').val(''); 82 | $('#newpwd').focus(); 83 | }); 84 | } 85 | 86 | 87 | return false; 88 | }); 89 | }); -------------------------------------------------------------------------------- /res/js/modules/detail.js: -------------------------------------------------------------------------------- 1 | Bmob.initialize("你的Application ID", "你的REST API Key"); 2 | 3 | var window = ''; 4 | layui.use('layer', function() { 5 | var $ = layui.jquery; 6 | var GameScore = Bmob.Object.extend("DetailInfo"); 7 | var query = new Bmob.Query(GameScore); 8 | //alert(localStorage.getItem("det_id")); 9 | var id = localStorage.getItem("det_id"); 10 | query.get(id, { 11 | success: function(results) { 12 | $("#detName").val(results.get("detName")); 13 | $("#detAddr").val(results.get("detAddr")); 14 | $("#detPayMin").val(results.get("detPayMin")); 15 | $("#detPayMax").val(results.get("detPayMax")); 16 | $("#payDescription").val(results.get("payDescription").replace(new RegExp("
      ", "g"), "\n")); 17 | $("#boardDescription").val(results.get("boardDescription").replace(new RegExp("
      ", "g"), "\n")); 18 | $("#recruitDescription").val(results.get("recruitDescription").replace(new RegExp("
      ", "g"), "\n")); 19 | $("#kindlyReminder").val(results.get("kindlyReminder").replace(new RegExp("
      ", "g"), "\n")); 20 | $("#detCompany").val(results.get("detCompany").replace(new RegExp("
      ", "g"), "\n")); 21 | $("#detSrc").attr("src", results.get("detSrc")); 22 | $("#detSrcUrl").val(results.get("detSrc")); 23 | $("#entNum").val(results.get("entNum")); 24 | var paytype = results.get("payType"); 25 | $("input[type=radio][value=0]").attr("checked", 'checked') 26 | if (paytype == 0) { 27 | var update = $("#update-form") 28 | update.find("input[type=radio][value=0]").next().find("i").click(); //将value是female的单选框选中 29 | $("#payTypeOne").attr("disabled", 'disabled'); 30 | } else if (paytype == 1) { 31 | var update = $("#update-form") 32 | update.find("input[type=radio][value=1]").next().find("i").click(); //将value是female的单选框选中 33 | $("#payTypeZero").attr("disabled", 'disabled'); 34 | $("#detPayMin").hide(); 35 | $("#detPayM_M").hide(); 36 | } 37 | 38 | }, 39 | error: function(results, error) { 40 | alert("查询失败: "); 41 | } 42 | }); 43 | 44 | var layer = layui.layer; 45 | 46 | layer.load(0, { time: 1.5 * 1000 }) 47 | }); -------------------------------------------------------------------------------- /res/js/modules/detjoininfor.js: -------------------------------------------------------------------------------- 1 | Bmob.initialize("你的Application ID", "你的REST API Key"); 2 | //加载并展示信息 3 | var window = ''; 4 | var id = localStorage.getItem("det_id"); 5 | layui.use('layer', function() { 6 | var $ = layui.jquery; 7 | var GameScore = Bmob.Object.extend("MyJoinInfo"); //接受传值 8 | var query = new Bmob.Query(GameScore); 9 | //alert(id); 10 | query.get(id, { 11 | success: function(results) { 12 | $("#userName").val(results.get("userName")); 13 | $("#userPhone").val(results.get("userPhone")); 14 | $("#myJoinName").val(results.get("myJoinName")); 15 | //alert(results.get("myJoinName")); 16 | }, 17 | error: function(results, error) { 18 | alert("查询失败: "); 19 | } 20 | }); 21 | 22 | var layer = layui.layer; 23 | 24 | layer.load(0, { time: 1.5 * 1000 }); 25 | }); -------------------------------------------------------------------------------- /res/js/modules/detrecominfor.js: -------------------------------------------------------------------------------- 1 | Bmob.initialize("你的Application ID", "你的REST API Key"); 2 | //加载并展示信息 3 | var window = ''; 4 | var id = localStorage.getItem("det_id"); //接受传值 5 | layui.use('layer', function() { 6 | var $ = layui.jquery; 7 | var GameScore = Bmob.Object.extend("MyRecommend"); 8 | var query = new Bmob.Query(GameScore); 9 | //alert(id); 10 | query.get(id, { 11 | success: function(results) { 12 | $("#userName").val(results.get("userName")); 13 | $("#userPhone").val(results.get("userPhone")); 14 | $("#recoName").val(results.get("recoName")); 15 | //alert(results.get("recoName")); 16 | }, 17 | error: function(results, error) { 18 | alert("查询失败: "); 19 | } 20 | }); 21 | 22 | var layer = layui.layer; 23 | 24 | layer.load(0, { time: 1.5 * 1000 }); 25 | }); -------------------------------------------------------------------------------- /res/js/modules/detuserinfor.js: -------------------------------------------------------------------------------- 1 | Bmob.initialize("你的Application ID", "你的REST API Key"); 2 | //加载并展示信息 3 | var window = ''; 4 | var id = localStorage.getItem("det_id"); 5 | layui.use('layer', function() { 6 | var $ = layui.jquery; 7 | var GameScore = Bmob.Object.extend("UserInfo"); //接受传值 8 | var query = new Bmob.Query(GameScore); 9 | //alert(localStorage.getItem("det_id")); 10 | query.get(id, { 11 | success: function(results) { 12 | $("#username").val(results.get("username")); 13 | $("#userphone").val(results.get("userphone")); 14 | $("#imgSrc").attr("src", results.get("imgSrc")); 15 | 16 | }, 17 | error: function(results, error) { 18 | alert("查询失败: "); 19 | } 20 | }); 21 | 22 | var layer = layui.layer; 23 | 24 | layer.load(0, { time: 1.5 * 1000 }); 25 | }); -------------------------------------------------------------------------------- /res/js/modules/index.js: -------------------------------------------------------------------------------- 1 | var $, tab, skyconsWeather; 2 | layui.config({ 3 | base: "res/js/modules/" 4 | }).use(['bodyTab', 'element', 'layer', 'jquery'], function() { 5 | layer = layui.layer, 6 | element = layui.element; 7 | $ = layui.jquery; 8 | tab = layui.bodyTab(); 9 | //手机设备的简单适配 10 | var treeMobile = $('.site-tree-mobile'), 11 | shadeMobile = $('.site-mobile-shade') 12 | 13 | treeMobile.on('click', function() { 14 | $('body').addClass('site-mobile'); 15 | }); 16 | 17 | shadeMobile.on('click', function() { 18 | $('body').removeClass('site-mobile'); 19 | }); 20 | 21 | // 添加新窗口 22 | $(".layui-nav .layui-nav-item a").on("click", function() { 23 | addTab($(this)); 24 | $(this).parent("li").siblings().removeClass("layui-nav-itemed"); 25 | }) 26 | //刷新后还原打开的窗口 27 | if (window.sessionStorage.getItem("menu") != null) { 28 | menu = JSON.parse(window.sessionStorage.getItem("menu")); 29 | curmenu = window.sessionStorage.getItem("curmenu"); 30 | var openTitle = ''; 31 | for (var i = 0; i < menu.length; i++) { 32 | openTitle = ''; 33 | if (menu[i].icon.split("-")[0] == 'icon') { 34 | openTitle += ''; 35 | } else { 36 | openTitle += '' + menu[i].icon + ''; 37 | } 38 | openTitle += '' + menu[i].title + ''; 39 | openTitle += ''; 40 | element.tabAdd("bodyTab", { 41 | title: openTitle, 42 | content: "