├── BMS.sql ├── README.md ├── css ├── font.css ├── login.css ├── theme1.css ├── theme2.css ├── theme3.css ├── theme4.css ├── theme5.css └── xadmin.css ├── fonts ├── iconfont.eot ├── iconfont.svg ├── iconfont.ttf └── iconfont.woff ├── html ├── AddBook.html ├── AddBookBorrowing.html ├── AddBookInfo.html ├── AddBookType.html ├── AddOperators.html ├── AddReaderType.html ├── AddReaders.html ├── BookBorrowing.html ├── BookInfos.html ├── BookStatistics.html ├── BookType.html ├── Books.html ├── BorrowingRecords.html ├── Fine.html ├── MyBookBorrowing.html ├── Operators.html ├── ReaderBorrowing.html ├── ReaderBorrowingStatistics.html ├── ReaderType.html └── Readers.html ├── images ├── aiwrap.png └── bg.png ├── index.html ├── js ├── jquery-3.3.1.js ├── jquery.min.js ├── xadmin.js └── xcity.js ├── lib └── 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 │ └── iconfont.woff2 │ ├── 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 │ │ ├── colorpicker.js │ │ ├── element.js │ │ ├── flow.js │ │ ├── form.js │ │ ├── jquery.js │ │ ├── laydate.js │ │ ├── layedit.js │ │ ├── layer.js │ │ ├── laypage.js │ │ ├── laytpl.js │ │ ├── mobile.js │ │ ├── rate.js │ │ ├── slider.js │ │ ├── table.js │ │ ├── transfer.js │ │ ├── tree.js │ │ ├── upload.js │ │ └── util.js │ ├── layui.all.js │ └── layui.js ├── main.html ├── main1.html ├── php ├── BookInfos.php ├── BookType.php ├── Books.php ├── Circulation.php ├── DbBase.php ├── Home.php ├── Login.php ├── Operators.php ├── ReaderBorrowing.php ├── ReaderType.php ├── Readers.php └── out.php ├── welcome.html └── 图书馆管理系统表结构及表数据.docx /README.md: -------------------------------------------------------------------------------- 1 | # BMS-HTML-PHP 2 | 图书馆管理系统 3 | -------------------------------------------------------------------------------- /css/font.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'iconfont'; 3 | src: url('../fonts/iconfont.eot'); 4 | src: url('../fonts/iconfont.eot?#iefix') format('embedded-opentype'), 5 | url('../fonts/iconfont.woff') format('woff'), 6 | url('../fonts/iconfont.ttf') format('truetype'), 7 | url('../fonts/iconfont.svg#iconfont') format('svg'); 8 | } 9 | .iconfont{ 10 | font-family:"iconfont" !important; 11 | font-size:16px;font-style:normal; 12 | -webkit-font-smoothing: antialiased; 13 | -webkit-text-stroke-width: 0.2px; 14 | -moz-osx-font-smoothing: grayscale; 15 | } 16 | 17 | -------------------------------------------------------------------------------- /css/login.css: -------------------------------------------------------------------------------- 1 | /* 2 | * @Author: xuebingsi 3 | * @Date: 2019-04-01 13:37:17 4 | * @Last Modified by: zhibinm 5 | * @Last Modified time: 2019-04-01 13:37:19 6 | */ 7 | .login-bg{ 8 | /*background: #eeeeee url() 0 0 no-repeat;*/ 9 | background:url(../images/bg.png) no-repeat center; 10 | background-size: cover; 11 | overflow: hidden; 12 | } 13 | .login{ 14 | margin: 120px auto 0 auto; 15 | min-height: 420px; 16 | max-width: 420px; 17 | padding: 40px; 18 | background-color: #ffffff; 19 | margin-left: auto; 20 | margin-right: auto; 21 | border-radius: 4px; 22 | /* overflow-x: hidden; */ 23 | box-sizing: border-box; 24 | } 25 | .login a.logo{ 26 | display: block; 27 | height: 58px; 28 | width: 167px; 29 | margin: 0 auto 30px auto; 30 | background-size: 167px 42px; 31 | } 32 | .login .message { 33 | margin: 10px 0 0 -58px; 34 | padding: 18px 10px 18px 60px; 35 | background: #189F92; 36 | position: relative; 37 | color: #fff; 38 | font-size: 16px; 39 | } 40 | .login #darkbannerwrap { 41 | background: url(../images/aiwrap.png); 42 | width: 18px; 43 | height: 10px; 44 | margin: 0 0 20px -58px; 45 | position: relative; 46 | } 47 | 48 | .login input[type=text], 49 | .login input[type=file], 50 | .login input[type=password], 51 | .login input[type=email], select { 52 | border: 1px solid #DCDEE0; 53 | vertical-align: middle; 54 | border-radius: 3px; 55 | height: 50px; 56 | padding: 0px 16px; 57 | font-size: 14px; 58 | color: #555555; 59 | outline:none; 60 | width:100%; 61 | box-sizing: border-box; 62 | } 63 | .login input[type=text]:focus, 64 | .login input[type=file]:focus, 65 | .login input[type=password]:focus, 66 | .login input[type=email]:focus, select:focus { 67 | border: 1px solid #27A9E3; 68 | } 69 | .login input[type=submit], 70 | .login input[type=button]{ 71 | display: inline-block; 72 | vertical-align: middle; 73 | padding: 12px 24px; 74 | margin: 0px; 75 | font-size: 18px; 76 | line-height: 24px; 77 | text-align: center; 78 | white-space: nowrap; 79 | vertical-align: middle; 80 | cursor: pointer; 81 | color: #ffffff; 82 | background-color: #189F92; 83 | border-radius: 3px; 84 | border: none; 85 | -webkit-appearance: none; 86 | outline:none; 87 | width:100%; 88 | } 89 | .login hr { 90 | background: #fff url() 0 0 no-repeat; 91 | } 92 | .login hr.hr15 { 93 | height: 15px; 94 | border: none; 95 | margin: 0px; 96 | padding: 0px; 97 | width: 100%; 98 | } 99 | .login hr.hr20 { 100 | height: 20px; 101 | border: none; 102 | margin: 0px; 103 | padding: 0px; 104 | width: 100%; 105 | } -------------------------------------------------------------------------------- /css/theme1.css: -------------------------------------------------------------------------------- 1 | body{ 2 | background:#F2F1F2; 3 | } 4 | .container{ 5 | background:#1A1B20; 6 | } 7 | .left-nav{ 8 | background:#1A1B20; 9 | } 10 | 11 | .left-nav a{ 12 | color:rgba(255,255,255,.7); 13 | } 14 | ..left-nav a.active{ 15 | background: #009688 !important; 16 | color: #fff; 17 | } 18 | .left-nav a:hover{ 19 | background: #009688 !important; 20 | color: #fff; 21 | } -------------------------------------------------------------------------------- /css/theme2.css: -------------------------------------------------------------------------------- 1 | body{ 2 | background:#EEF5F9; 3 | } 4 | .container{ 5 | background:#323640; 6 | } 7 | .left-nav{ 8 | background:#fff; 9 | } 10 | 11 | .left-nav a{ 12 | color:#686a76; 13 | } 14 | .left-nav a.active{ 15 | background: #786AED !important; 16 | color: #fff; 17 | } 18 | .left-nav a:hover{ 19 | background: #786AED !important; 20 | color: #fff; 21 | } 22 | -------------------------------------------------------------------------------- /css/theme3.css: -------------------------------------------------------------------------------- 1 | body{ 2 | background:#E8E8E8; 3 | } 4 | .container{ 5 | background:#F34743; 6 | } 7 | 8 | .left-nav{ 9 | background:#F4F4F4; 10 | } 11 | 12 | .left-nav a{ 13 | color:#686a76; 14 | } 15 | .left-nav a.active{ 16 | background: #FEFEFE !important; 17 | color: #F34743; 18 | } 19 | .left-nav a:hover{ 20 | background: #FEFEFE !important; 21 | color: #F34743; 22 | } -------------------------------------------------------------------------------- /css/theme4.css: -------------------------------------------------------------------------------- 1 | body{ 2 | background:#E4E4E4; 3 | } 4 | .container{ 5 | background:#019587; 6 | } 7 | .left-nav{ 8 | background:#263035; 9 | } 10 | 11 | .left-nav a{ 12 | color:#fff; 13 | } 14 | .left-nav a.active{ 15 | background: #212525 !important; 16 | color: #fff !important; 17 | } 18 | .left-nav a:hover{ 19 | background: #212525 !important; 20 | color: #fff !important; 21 | } -------------------------------------------------------------------------------- /css/theme5.css: -------------------------------------------------------------------------------- 1 | body{ 2 | background:#EEF5F9 !important; 3 | } 4 | .container{ 5 | background:linear-gradient(to left, #7b4397, #2196f3); 6 | } 7 | 8 | .left-nav{ 9 | background:#fff !important; 10 | } 11 | 12 | .left-nav a{ 13 | color:#686a76 !important; 14 | } 15 | .left-nav a.active{ 16 | background: linear-gradient(to left, #7c8ce4, #2196f3) !important; 17 | color: #fff !important; 18 | border-color: #7b4397 !important; 19 | } 20 | .left-nav a:hover{ 21 | background: linear-gradient(to left, #7c8ce4, #2196f3) !important; 22 | color: #fff !important; 23 | border-color: #7b4397 !important; 24 | } 25 | .container .logo a{ 26 | background: rgba(0,0,0,0) !important; 27 | } -------------------------------------------------------------------------------- /fonts/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/fonts/iconfont.eot -------------------------------------------------------------------------------- /fonts/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/fonts/iconfont.ttf -------------------------------------------------------------------------------- /fonts/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/fonts/iconfont.woff -------------------------------------------------------------------------------- /html/AddBook.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 添加图书 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 |
19 | 22 |
23 | 25 |
26 |
27 |
28 | 31 |
32 | 34 |
35 |
36 |
37 | 40 |
41 | 42 |
43 |
44 |
45 | 48 |
49 | 50 |
51 |
52 |
53 | 56 |
57 | 58 |
59 |
60 |
61 | 63 | 64 |
65 |
66 | 67 | 68 | 103 | 104 | 105 | -------------------------------------------------------------------------------- /html/AddBookBorrowing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 图书借阅 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 |
19 | 22 |
23 | 25 |
26 |
27 |
28 | 31 |
32 | 34 |
35 |
36 |
37 | 39 | 40 |
41 |
42 | 43 | 44 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /html/AddBookInfo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 添加图书信息 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 |
19 | 22 |
23 | 25 |
26 |
27 |
28 | 31 |
32 | 34 |
35 |
36 |
37 | 40 |
41 | 43 |
44 |
45 |
46 | 49 |
50 | 51 |
52 |
53 |
54 | 57 |
58 | 59 |
60 |
61 |
62 | 65 |
66 | 67 |
68 |
69 |
70 | 73 |
74 | 75 |
76 |
77 |
78 | 81 |
82 | 84 |
85 |
86 |
87 | 90 |
91 | 92 |
93 |
94 |
95 | 97 | 98 |
99 |
100 | 101 | 102 | 147 | 148 | 149 | -------------------------------------------------------------------------------- /html/AddBookType.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 添加类别 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 |
17 | 20 |
21 | 23 |
24 |
25 |
26 | 29 |
30 | 32 |
33 |
34 |
35 | 37 | 38 |
39 |
40 | 41 | 42 | 76 | 77 | -------------------------------------------------------------------------------- /html/AddOperators.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 添加类别 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 |
19 | 22 |
23 | 25 |
26 |
27 |
28 | 31 |
32 | 33 |
34 |
35 |
36 | 39 |
40 | 42 |
43 |
44 |
45 | 47 | 48 |
49 |
50 | 51 | 52 | 85 | 86 | 87 | -------------------------------------------------------------------------------- /html/AddReaderType.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 添加图书类别 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 |
19 | 22 |
23 | 25 |
26 |
27 |
28 | 31 |
32 | 33 |
34 |
35 |
36 | 39 |
40 | 42 |
43 |
44 |
45 | 48 |
49 | 50 |
51 |
52 |
53 | 55 | 56 |
57 |
58 | 59 | 94 | 95 | 96 | -------------------------------------------------------------------------------- /html/AddReaders.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 添加读者 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 |
19 | 22 |
23 | 25 |
26 |
27 |
28 | 31 |
32 | 33 |
34 |
35 |
36 | 39 |
40 | 42 |
43 |
44 |
45 | 48 |
49 | 50 |
51 |
52 |
53 | 56 |
57 | 58 |
59 |
60 |
61 | 64 |
65 | 66 |
67 |
68 |
69 | 72 |
73 | 74 |
75 |
76 |
77 | 80 |
81 | 83 |
84 |
85 |
86 | 89 |
90 | 91 |
92 |
93 |
94 | 97 |
98 | 99 |
100 |
101 |
102 | 104 | 105 |
106 |
107 | 108 | 159 | 160 | 161 | -------------------------------------------------------------------------------- /html/BookStatistics.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 图书借阅情况统计 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 20 | 21 | 22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 | 30 |
31 |
33 |
34 | 35 |
36 | 37 |
38 |
39 | 40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 | 48 | 49 | 153 | 154 | 155 | -------------------------------------------------------------------------------- /html/BookType.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 图书类型 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 18 | 19 | 20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 | 28 |
29 |
31 |
32 | 33 |
34 | 35 |
36 |
37 | 38 | 39 |
40 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 | 50 | 79 | 80 | 83 | 191 | 192 | -------------------------------------------------------------------------------- /html/BorrowingRecords.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | BorrowingRecords 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 20 | 21 | 22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 | 30 |
31 |
33 |
34 | 35 |
36 | 37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 | 47 | 48 | 49 | 50 | 151 | 152 | 153 | -------------------------------------------------------------------------------- /html/Fine.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 图书信息 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 20 | 21 | 22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 | 30 |
31 |
33 |
34 | 35 |
36 | 37 |
38 |
39 | 40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 | 48 | 49 | 50 | 53 | 190 | 191 | 192 | -------------------------------------------------------------------------------- /html/MyBookBorrowing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 图书信息 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 20 | 21 | 22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 | 30 |
31 |
33 |
34 | 35 |
36 | 37 |
38 |
39 | 40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 | 48 | 49 | 50 | 53 | 185 | 186 | 187 | -------------------------------------------------------------------------------- /html/ReaderBorrowing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | BorrowingRecords 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 23 | 24 | 25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 | 38 | 39 | 40 | 41 | 160 | 161 | 162 | -------------------------------------------------------------------------------- /html/ReaderBorrowingStatistics.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 图书类型 10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 19 | 20 | 21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 | 29 |
30 |
32 |
33 | 34 |
35 | 36 |
37 |
38 | 39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 | 47 | 113 | 114 | -------------------------------------------------------------------------------- /images/aiwrap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/images/aiwrap.png -------------------------------------------------------------------------------- /images/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/images/bg.png -------------------------------------------------------------------------------- /index.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 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /lib/layui/css/modules/code.css: -------------------------------------------------------------------------------- 1 | /** layui-v2.5.4 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} -------------------------------------------------------------------------------- /lib/layui/css/modules/laydate/default/laydate.css: -------------------------------------------------------------------------------- 1 | /** layui-v2.5.4 MIT License By https://www.layui.com */ 2 | .laydate-set-ym,.layui-laydate,.layui-laydate *,.layui-laydate-list{box-sizing:border-box}html #layuicss-laydate{display:none;position:absolute;width:1989px}.layui-laydate *{margin:0;padding:0}.layui-laydate{position:absolute;z-index:66666666;margin:5px 0;border-radius:2px;font-size:14px;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:laydate-upbit;animation-name:laydate-upbit}.layui-laydate-main{width:272px}.layui-laydate-content td,.layui-laydate-header *,.layui-laydate-list li{transition-duration:.3s;-webkit-transition-duration:.3s}@-webkit-keyframes laydate-upbit{from{-webkit-transform:translate3d(0,20px,0);opacity:.3}to{-webkit-transform:translate3d(0,0,0);opacity:1}}@keyframes laydate-upbit{from{transform:translate3d(0,20px,0);opacity:.3}to{transform:translate3d(0,0,0);opacity:1}}.layui-laydate-static{position:relative;z-index:0;display:inline-block;margin:0;-webkit-animation:none;animation:none}.laydate-ym-show .laydate-next-m,.laydate-ym-show .laydate-prev-m{display:none!important}.laydate-ym-show .laydate-next-y,.laydate-ym-show .laydate-prev-y{display:inline-block!important}.laydate-time-show .laydate-set-ym span[lay-type=month],.laydate-time-show .laydate-set-ym span[lay-type=year],.laydate-time-show .layui-laydate-header .layui-icon,.laydate-ym-show .laydate-set-ym span[lay-type=month]{display:none!important}.layui-laydate-header{position:relative;line-height:30px;padding:10px 70px 5px}.laydate-set-ym span,.layui-laydate-header i{padding:0 5px;cursor:pointer}.layui-laydate-header *{display:inline-block;vertical-align:bottom}.layui-laydate-header i{position:absolute;top:10px;color:#999;font-size:18px}.layui-laydate-header i.laydate-prev-y{left:15px}.layui-laydate-header i.laydate-prev-m{left:45px}.layui-laydate-header i.laydate-next-y{right:15px}.layui-laydate-header i.laydate-next-m{right:45px}.laydate-set-ym{width:100%;text-align:center;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.laydate-time-text{cursor:default!important}.layui-laydate-content{position:relative;padding:10px;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}.layui-laydate-content table{border-collapse:collapse;border-spacing:0}.layui-laydate-content td,.layui-laydate-content th{width:36px;height:30px;padding:5px;text-align:center}.layui-laydate-content td{position:relative;cursor:pointer}.laydate-day-mark{position:absolute;left:0;top:0;width:100%;height:100%;line-height:30px;font-size:12px;overflow:hidden}.laydate-day-mark::after{position:absolute;content:'';right:2px;top:2px;width:5px;height:5px;border-radius:50%}.layui-laydate-footer{position:relative;height:46px;line-height:26px;padding:10px 20px}.layui-laydate-footer span{margin-right:15px;display:inline-block;cursor:pointer;font-size:12px}.layui-laydate-footer span:hover{color:#5FB878}.laydate-footer-btns{position:absolute;right:10px;top:10px}.laydate-footer-btns span{height:26px;line-height:26px;margin:0 0 0 -1px;padding:0 10px;border:1px solid #C9C9C9;background-color:#fff;white-space:nowrap;vertical-align:top;border-radius:2px}.layui-laydate-list>li,.layui-laydate-range .layui-laydate-main{display:inline-block;vertical-align:middle}.layui-laydate-list{position:absolute;left:0;top:0;width:100%;height:100%;padding:10px;background-color:#fff}.layui-laydate-list>li{position:relative;width:33.3%;height:36px;line-height:36px;margin:3px 0;text-align:center;cursor:pointer}.laydate-month-list>li{width:25%;margin:17px 0}.laydate-time-list>li{height:100%;margin:0;line-height:normal;cursor:default}.laydate-time-list p{position:relative;top:-4px;line-height:29px}.laydate-time-list ol{height:181px;overflow:hidden}.laydate-time-list>li:hover ol{overflow-y:auto}.laydate-time-list ol li{width:130%;padding-left:33px;line-height:30px;text-align:left;cursor:pointer}.layui-laydate-hint{position:absolute;top:115px;left:50%;width:250px;margin-left:-125px;line-height:20px;padding:15px;text-align:center;font-size:12px}.layui-laydate-range{width:546px}.layui-laydate-range .laydate-main-list-0 .laydate-next-m,.layui-laydate-range .laydate-main-list-0 .laydate-next-y,.layui-laydate-range .laydate-main-list-1 .laydate-prev-m,.layui-laydate-range .laydate-main-list-1 .laydate-prev-y{display:none}.layui-laydate-range .laydate-main-list-1 .layui-laydate-content{border-left:1px solid #e2e2e2}.layui-laydate,.layui-laydate-hint{border:1px solid #d2d2d2;box-shadow:0 2px 4px rgba(0,0,0,.12);background-color:#fff;color:#666}.layui-laydate-header{border-bottom:1px solid #e2e2e2}.layui-laydate-header i:hover,.layui-laydate-header span:hover{color:#5FB878}.layui-laydate-content{border-top:none 0;border-bottom:none 0}.layui-laydate-content th{font-weight:400;color:#333}.layui-laydate-content td{color:#666}.layui-laydate-content td.laydate-selected{background-color:#00F7DE}.laydate-selected:hover{background-color:#00F7DE!important}.layui-laydate-content td:hover,.layui-laydate-list li:hover{background-color:#eaeaea;color:#333}.laydate-time-list li ol{margin:0;padding:0;border:1px solid #e2e2e2;border-left-width:0}.laydate-time-list li:first-child ol{border-left-width:1px}.laydate-time-list>li:hover{background:0 0}.layui-laydate-content .laydate-day-next,.layui-laydate-content .laydate-day-prev{color:#d2d2d2}.laydate-selected.laydate-day-next,.laydate-selected.laydate-day-prev{background-color:#f8f8f8!important}.layui-laydate-footer{border-top:1px solid #e2e2e2}.layui-laydate-hint{color:#FF5722}.laydate-day-mark::after{background-color:#5FB878}.layui-laydate-content td.layui-this .laydate-day-mark::after{display:none}.layui-laydate-footer span[lay-type=date]{color:#5FB878}.layui-laydate .layui-this{background-color:#009688!important;color:#fff!important}.layui-laydate .laydate-disabled,.layui-laydate .laydate-disabled:hover{background:0 0!important;color:#d2d2d2!important;cursor:not-allowed!important;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}.laydate-theme-molv{border:none}.laydate-theme-molv.layui-laydate-range{width:548px}.laydate-theme-molv .layui-laydate-main{width:274px}.laydate-theme-molv .layui-laydate-header{border:none;background-color:#009688}.laydate-theme-molv .layui-laydate-header i,.laydate-theme-molv .layui-laydate-header span{color:#f6f6f6}.laydate-theme-molv .layui-laydate-header i:hover,.laydate-theme-molv .layui-laydate-header span:hover{color:#fff}.laydate-theme-molv .layui-laydate-content{border:1px solid #e2e2e2;border-top:none;border-bottom:none}.laydate-theme-molv .laydate-main-list-1 .layui-laydate-content{border-left:none}.laydate-theme-grid .laydate-month-list>li,.laydate-theme-grid .laydate-year-list>li,.laydate-theme-grid .layui-laydate-content td,.laydate-theme-grid .layui-laydate-content thead,.laydate-theme-molv .layui-laydate-footer{border:1px solid #e2e2e2}.laydate-theme-grid .laydate-selected,.laydate-theme-grid .laydate-selected:hover{background-color:#f2f2f2!important;color:#009688!important}.laydate-theme-grid .laydate-selected.laydate-day-next,.laydate-theme-grid .laydate-selected.laydate-day-prev{color:#d2d2d2!important}.laydate-theme-grid .laydate-month-list,.laydate-theme-grid .laydate-year-list{margin:1px 0 0 1px}.laydate-theme-grid .laydate-month-list>li,.laydate-theme-grid .laydate-year-list>li{margin:0 -1px -1px 0}.laydate-theme-grid .laydate-year-list>li{height:43px;line-height:43px}.laydate-theme-grid .laydate-month-list>li{height:71px;line-height:71px} -------------------------------------------------------------------------------- /lib/layui/css/modules/layer/default/icon-ext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/css/modules/layer/default/icon-ext.png -------------------------------------------------------------------------------- /lib/layui/css/modules/layer/default/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/css/modules/layer/default/icon.png -------------------------------------------------------------------------------- /lib/layui/css/modules/layer/default/loading-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/css/modules/layer/default/loading-0.gif -------------------------------------------------------------------------------- /lib/layui/css/modules/layer/default/loading-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/css/modules/layer/default/loading-1.gif -------------------------------------------------------------------------------- /lib/layui/css/modules/layer/default/loading-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/css/modules/layer/default/loading-2.gif -------------------------------------------------------------------------------- /lib/layui/font/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/font/iconfont.eot -------------------------------------------------------------------------------- /lib/layui/font/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/font/iconfont.ttf -------------------------------------------------------------------------------- /lib/layui/font/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/font/iconfont.woff -------------------------------------------------------------------------------- /lib/layui/font/iconfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/font/iconfont.woff2 -------------------------------------------------------------------------------- /lib/layui/images/face/0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/0.gif -------------------------------------------------------------------------------- /lib/layui/images/face/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/1.gif -------------------------------------------------------------------------------- /lib/layui/images/face/10.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/10.gif -------------------------------------------------------------------------------- /lib/layui/images/face/11.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/11.gif -------------------------------------------------------------------------------- /lib/layui/images/face/12.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/12.gif -------------------------------------------------------------------------------- /lib/layui/images/face/13.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/13.gif -------------------------------------------------------------------------------- /lib/layui/images/face/14.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/14.gif -------------------------------------------------------------------------------- /lib/layui/images/face/15.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/15.gif -------------------------------------------------------------------------------- /lib/layui/images/face/16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/16.gif -------------------------------------------------------------------------------- /lib/layui/images/face/17.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/17.gif -------------------------------------------------------------------------------- /lib/layui/images/face/18.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/18.gif -------------------------------------------------------------------------------- /lib/layui/images/face/19.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/19.gif -------------------------------------------------------------------------------- /lib/layui/images/face/2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/2.gif -------------------------------------------------------------------------------- /lib/layui/images/face/20.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/20.gif -------------------------------------------------------------------------------- /lib/layui/images/face/21.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/21.gif -------------------------------------------------------------------------------- /lib/layui/images/face/22.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/22.gif -------------------------------------------------------------------------------- /lib/layui/images/face/23.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/23.gif -------------------------------------------------------------------------------- /lib/layui/images/face/24.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/24.gif -------------------------------------------------------------------------------- /lib/layui/images/face/25.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/25.gif -------------------------------------------------------------------------------- /lib/layui/images/face/26.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/26.gif -------------------------------------------------------------------------------- /lib/layui/images/face/27.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/27.gif -------------------------------------------------------------------------------- /lib/layui/images/face/28.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/28.gif -------------------------------------------------------------------------------- /lib/layui/images/face/29.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/29.gif -------------------------------------------------------------------------------- /lib/layui/images/face/3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/3.gif -------------------------------------------------------------------------------- /lib/layui/images/face/30.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/30.gif -------------------------------------------------------------------------------- /lib/layui/images/face/31.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/31.gif -------------------------------------------------------------------------------- /lib/layui/images/face/32.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/32.gif -------------------------------------------------------------------------------- /lib/layui/images/face/33.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/33.gif -------------------------------------------------------------------------------- /lib/layui/images/face/34.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/34.gif -------------------------------------------------------------------------------- /lib/layui/images/face/35.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/35.gif -------------------------------------------------------------------------------- /lib/layui/images/face/36.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/36.gif -------------------------------------------------------------------------------- /lib/layui/images/face/37.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/37.gif -------------------------------------------------------------------------------- /lib/layui/images/face/38.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/38.gif -------------------------------------------------------------------------------- /lib/layui/images/face/39.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/39.gif -------------------------------------------------------------------------------- /lib/layui/images/face/4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/4.gif -------------------------------------------------------------------------------- /lib/layui/images/face/40.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/40.gif -------------------------------------------------------------------------------- /lib/layui/images/face/41.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/41.gif -------------------------------------------------------------------------------- /lib/layui/images/face/42.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/42.gif -------------------------------------------------------------------------------- /lib/layui/images/face/43.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/43.gif -------------------------------------------------------------------------------- /lib/layui/images/face/44.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/44.gif -------------------------------------------------------------------------------- /lib/layui/images/face/45.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/45.gif -------------------------------------------------------------------------------- /lib/layui/images/face/46.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/46.gif -------------------------------------------------------------------------------- /lib/layui/images/face/47.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/47.gif -------------------------------------------------------------------------------- /lib/layui/images/face/48.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/48.gif -------------------------------------------------------------------------------- /lib/layui/images/face/49.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/49.gif -------------------------------------------------------------------------------- /lib/layui/images/face/5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/5.gif -------------------------------------------------------------------------------- /lib/layui/images/face/50.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/50.gif -------------------------------------------------------------------------------- /lib/layui/images/face/51.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/51.gif -------------------------------------------------------------------------------- /lib/layui/images/face/52.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/52.gif -------------------------------------------------------------------------------- /lib/layui/images/face/53.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/53.gif -------------------------------------------------------------------------------- /lib/layui/images/face/54.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/54.gif -------------------------------------------------------------------------------- /lib/layui/images/face/55.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/55.gif -------------------------------------------------------------------------------- /lib/layui/images/face/56.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/56.gif -------------------------------------------------------------------------------- /lib/layui/images/face/57.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/57.gif -------------------------------------------------------------------------------- /lib/layui/images/face/58.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/58.gif -------------------------------------------------------------------------------- /lib/layui/images/face/59.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/59.gif -------------------------------------------------------------------------------- /lib/layui/images/face/6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/6.gif -------------------------------------------------------------------------------- /lib/layui/images/face/60.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/60.gif -------------------------------------------------------------------------------- /lib/layui/images/face/61.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/61.gif -------------------------------------------------------------------------------- /lib/layui/images/face/62.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/62.gif -------------------------------------------------------------------------------- /lib/layui/images/face/63.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/63.gif -------------------------------------------------------------------------------- /lib/layui/images/face/64.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/64.gif -------------------------------------------------------------------------------- /lib/layui/images/face/65.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/65.gif -------------------------------------------------------------------------------- /lib/layui/images/face/66.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/66.gif -------------------------------------------------------------------------------- /lib/layui/images/face/67.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/67.gif -------------------------------------------------------------------------------- /lib/layui/images/face/68.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/68.gif -------------------------------------------------------------------------------- /lib/layui/images/face/69.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/69.gif -------------------------------------------------------------------------------- /lib/layui/images/face/7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/7.gif -------------------------------------------------------------------------------- /lib/layui/images/face/70.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/70.gif -------------------------------------------------------------------------------- /lib/layui/images/face/71.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/71.gif -------------------------------------------------------------------------------- /lib/layui/images/face/8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/8.gif -------------------------------------------------------------------------------- /lib/layui/images/face/9.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/lib/layui/images/face/9.gif -------------------------------------------------------------------------------- /lib/layui/lay/modules/carousel.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.5.4 MIT License By https://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&&(clearInterval(e.timer),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(['
"].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"); -------------------------------------------------------------------------------- /lib/layui/lay/modules/element.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.5.4 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(t){"use strict";var a=layui.$,i=(layui.hint(),layui.device()),e="element",l="layui-this",n="layui-show",s=function(){this.config={}};s.prototype.set=function(t){var i=this;return a.extend(!0,i.config,t),i},s.prototype.on=function(t,a){return layui.onevent.call(this,e,t,a)},s.prototype.tabAdd=function(t,i){var e=".layui-tab-title",l=a(".layui-tab[lay-filter="+t+"]"),n=l.children(e),s=n.children(".layui-tab-bar"),o=l.children(".layui-tab-content"),r='
  • "+(i.title||"unnaming")+"
  • ";return s[0]?s.before(r):n.append(r),o.append('
    '+(i.content||"")+"
    "),f.hideTabMore(!0),f.tabAuto(),this},s.prototype.tabDelete=function(t,i){var e=".layui-tab-title",l=a(".layui-tab[lay-filter="+t+"]"),n=l.children(e),s=n.find('>li[lay-id="'+i+'"]');return f.tabDelete(null,s),this},s.prototype.tabChange=function(t,i){var e=".layui-tab-title",l=a(".layui-tab[lay-filter="+t+"]"),n=l.children(e),s=n.find('>li[lay-id="'+i+'"]');return f.tabClick.call(s[0],null,null,s),this},s.prototype.tab=function(t){t=t||{},b.on("click",t.headerElem,function(i){var e=a(this).index();f.tabClick.call(this,i,e,null,t)})},s.prototype.progress=function(t,i){var e="layui-progress",l=a("."+e+"[lay-filter="+t+"]"),n=l.find("."+e+"-bar"),s=n.find("."+e+"-text");return n.css("width",i),s.text(i),this};var o=".layui-nav",r="layui-nav-item",c="layui-nav-bar",u="layui-nav-tree",d="layui-nav-child",y="layui-nav-more",h="layui-anim layui-anim-upbit",f={tabClick:function(t,i,s,o){o=o||{};var r=s||a(this),i=i||r.parent().children("li").index(r),c=o.headerElem?r.parent():r.parents(".layui-tab").eq(0),u=o.bodyElem?a(o.bodyElem):c.children(".layui-tab-content").children(".layui-tab-item"),d=r.find("a"),y=c.attr("lay-filter");"javascript:;"!==d.attr("href")&&"_blank"===d.attr("target")||(r.addClass(l).siblings().removeClass(l),u.eq(i).addClass(n).siblings().removeClass(n)),layui.event.call(this,e,"tab("+y+")",{elem:c,index:i})},tabDelete:function(t,i){var n=i||a(this).parent(),s=n.index(),o=n.parents(".layui-tab").eq(0),r=o.children(".layui-tab-content").children(".layui-tab-item"),c=o.attr("lay-filter");n.hasClass(l)&&(n.next()[0]?f.tabClick.call(n.next()[0],null,s+1):n.prev()[0]&&f.tabClick.call(n.prev()[0],null,s-1)),n.remove(),r.eq(s).remove(),setTimeout(function(){f.tabAuto()},50),layui.event.call(this,e,"tabDelete("+c+")",{elem:o,index:s})},tabAuto:function(){var t="layui-tab-more",e="layui-tab-bar",l="layui-tab-close",n=this;a(".layui-tab").each(function(){var s=a(this),o=s.children(".layui-tab-title"),r=(s.children(".layui-tab-content").children(".layui-tab-item"),'lay-stope="tabmore"'),c=a('');if(n===window&&8!=i.ie&&f.hideTabMore(!0),s.attr("lay-allowClose")&&o.find("li").each(function(){var t=a(this);if(!t.find("."+l)[0]){var i=a('');i.on("click",f.tabDelete),t.append(i)}}),"string"!=typeof s.attr("lay-unauto"))if(o.prop("scrollWidth")>o.outerWidth()+1){if(o.find("."+e)[0])return;o.append(c),s.attr("overflow",""),c.on("click",function(a){o[this.title?"removeClass":"addClass"](t),this.title=this.title?"":"收缩"})}else o.find("."+e).remove(),s.removeAttr("overflow")})},hideTabMore:function(t){var i=a(".layui-tab-title");t!==!0&&"tabmore"===a(t.target).attr("lay-stope")||(i.removeClass("layui-tab-more"),i.find(".layui-tab-bar").attr("title",""))},clickThis:function(){var t=a(this),i=t.parents(o),n=i.attr("lay-filter"),s=t.parent(),c=t.siblings("."+d),y="string"==typeof s.attr("lay-unselect");"javascript:;"!==t.attr("href")&&"_blank"===t.attr("target")||y||c[0]||(i.find("."+l).removeClass(l),s.addClass(l)),i.hasClass(u)&&(c.removeClass(h),c[0]&&(s["none"===c.css("display")?"addClass":"removeClass"](r+"ed"),"all"===i.attr("lay-shrink")&&s.siblings().removeClass(r+"ed"))),layui.event.call(this,e,"nav("+n+")",t)},collapse:function(){var t=a(this),i=t.find(".layui-colla-icon"),l=t.siblings(".layui-colla-content"),s=t.parents(".layui-collapse").eq(0),o=s.attr("lay-filter"),r="none"===l.css("display");if("string"==typeof s.attr("lay-accordion")){var c=s.children(".layui-colla-item").children("."+n);c.siblings(".layui-colla-title").children(".layui-colla-icon").html(""),c.removeClass(n)}l[r?"addClass":"removeClass"](n),i.html(r?"":""),layui.event.call(this,e,"collapse("+o+")",{title:t,content:l,show:r})}};s.prototype.init=function(t,e){var l=function(){return e?'[lay-filter="'+e+'"]':""}(),s={tab:function(){f.tabAuto.call({})},nav:function(){var t=200,e={},s={},p={},b=function(l,o,r){var c=a(this),f=c.find("."+d);o.hasClass(u)?l.css({top:c.position().top,height:c.children("a").outerHeight(),opacity:1}):(f.addClass(h),l.css({left:c.position().left+parseFloat(c.css("marginLeft")),top:c.position().top+c.height()-l.height()}),e[r]=setTimeout(function(){l.css({width:c.width(),opacity:1})},i.ie&&i.ie<10?0:t),clearTimeout(p[r]),"block"===f.css("display")&&clearTimeout(s[r]),s[r]=setTimeout(function(){f.addClass(n),c.find("."+y).addClass(y+"d")},300))};a(o+l).each(function(i){var l=a(this),o=a(''),h=l.find("."+r);l.find("."+c)[0]||(l.append(o),h.on("mouseenter",function(){b.call(this,o,l,i)}).on("mouseleave",function(){l.hasClass(u)||(clearTimeout(s[i]),s[i]=setTimeout(function(){l.find("."+d).removeClass(n),l.find("."+y).removeClass(y+"d")},300))}),l.on("mouseleave",function(){clearTimeout(e[i]),p[i]=setTimeout(function(){l.hasClass(u)?o.css({height:0,top:o.position().top+o.height()/2,opacity:0}):o.css({width:0,left:o.position().left+o.width()/2,opacity:0})},t)})),h.find("a").each(function(){var t=a(this),i=(t.parent(),t.siblings("."+d));i[0]&&!t.children("."+y)[0]&&t.append(''),t.off("click",f.clickThis).on("click",f.clickThis)})})},breadcrumb:function(){var t=".layui-breadcrumb";a(t+l).each(function(){var t=a(this),i="lay-separator",e=t.attr(i)||"/",l=t.find("a");l.next("span["+i+"]")[0]||(l.each(function(t){t!==l.length-1&&a(this).after(""+e+"")}),t.css("visibility","visible"))})},progress:function(){var t="layui-progress";a("."+t+l).each(function(){var i=a(this),e=i.find(".layui-progress-bar"),l=e.attr("lay-percent");e.css("width",function(){return/^.+\/.+$/.test(l)?100*new Function("return "+l)()+"%":l}()),i.attr("lay-showPercent")&&setTimeout(function(){e.html(''+l+"")},350)})},collapse:function(){var t="layui-collapse";a("."+t+l).each(function(){var t=a(this).find(".layui-colla-item");t.each(function(){var t=a(this),i=t.find(".layui-colla-title"),e=t.find(".layui-colla-content"),l="none"===e.css("display");i.find(".layui-colla-icon").remove(),i.append(''+(l?"":"")+""),i.off("click",f.collapse).on("click",f.collapse)})})}};return s[t]?s[t]():layui.each(s,function(t,a){a()})},s.prototype.render=s.prototype.init;var p=new s,b=a(document);p.render();var v=".layui-tab-title li";b.on("click",v,f.tabClick),b.on("click",f.hideTabMore),a(window).on("resize",f.tabAuto),t(e,p)}); -------------------------------------------------------------------------------- /lib/layui/lay/modules/flow.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.5.4 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)}); -------------------------------------------------------------------------------- /lib/layui/lay/modules/laypage.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.5.4 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=['"}(),refresh:['','',""].join(""),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)}); -------------------------------------------------------------------------------- /lib/layui/lay/modules/laytpl.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.5.4 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)}); -------------------------------------------------------------------------------- /lib/layui/lay/modules/rate.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.5.4 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var a=layui.jquery,i={config:{},index:layui.rate?layui.rate.index+1e4:0,set:function(e){var i=this;return i.config=a.extend({},i.config,e),i},on:function(e,a){return layui.onevent.call(this,n,e,a)}},l=function(){var e=this,a=e.config;return{setvalue:function(a){e.setvalue.call(e,a)},config:a}},n="rate",t="layui-rate",o="layui-icon-rate",s="layui-icon-rate-solid",u="layui-icon-rate-half",r="layui-icon-rate-solid layui-icon-rate-half",c="layui-icon-rate-solid layui-icon-rate",f="layui-icon-rate layui-icon-rate-half",v=function(e){var l=this;l.index=++i.index,l.config=a.extend({},l.config,i.config,e),l.render()};v.prototype.config={length:5,text:!1,readonly:!1,half:!1,value:0,theme:""},v.prototype.render=function(){var e=this,i=e.config,l=i.theme?'style="color: '+i.theme+';"':"";i.elem=a(i.elem),parseInt(i.value)!==i.value&&(i.half||(i.value=Math.ceil(i.value)-i.value<.5?Math.ceil(i.value):Math.floor(i.value)));for(var n='
      ",u=1;u<=i.length;u++){var r='
    • ";i.half&&parseInt(i.value)!==i.value&&u==Math.ceil(i.value)?n=n+'
    • ":n+=r}n+="
    "+(i.text?''+i.value+"星":"")+"";var c=i.elem,f=c.next("."+t);f[0]&&f.remove(),e.elemTemp=a(n),i.span=e.elemTemp.next("span"),i.setText&&i.setText(i.value),c.html(e.elemTemp),c.addClass("layui-inline"),i.readonly||e.action()},v.prototype.setvalue=function(e){var a=this,i=a.config;i.value=e,a.render()},v.prototype.action=function(){var e=this,i=e.config,l=e.elemTemp,n=l.find("i").width();l.children("li").each(function(e){var t=e+1,v=a(this);v.on("click",function(e){if(i.value=t,i.half){var o=e.pageX-a(this).offset().left;o<=n/2&&(i.value=i.value-.5)}i.text&&l.next("span").text(i.value+"星"),i.choose&&i.choose(i.value),i.setText&&i.setText(i.value)}),v.on("mousemove",function(e){if(l.find("i").each(function(){a(this).addClass(o).removeClass(r)}),l.find("i:lt("+t+")").each(function(){a(this).addClass(s).removeClass(f)}),i.half){var c=e.pageX-a(this).offset().left;c<=n/2&&v.children("i").addClass(u).removeClass(s)}}),v.on("mouseleave",function(){l.find("i").each(function(){a(this).addClass(o).removeClass(r)}),l.find("i:lt("+Math.floor(i.value)+")").each(function(){a(this).addClass(s).removeClass(f)}),i.half&&parseInt(i.value)!==i.value&&l.children("li:eq("+Math.floor(i.value)+")").children("i").addClass(u).removeClass(c)})})},v.prototype.events=function(){var e=this;e.config},i.render=function(e){var a=new v(e);return l.call(a)},e(n,i)}); -------------------------------------------------------------------------------- /lib/layui/lay/modules/slider.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.5.4 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var i=layui.jquery,t={config:{},index:layui.slider?layui.slider.index+1e4:0,set:function(e){var t=this;return t.config=i.extend({},t.config,e),t},on:function(e,i){return layui.onevent.call(this,n,e,i)}},a=function(){var e=this,i=e.config;return{setValue:function(i,t){return e.slide("set",i,t||0)},config:i}},n="slider",l="layui-disabled",s="layui-slider",r="layui-slider-bar",o="layui-slider-wrap",u="layui-slider-wrap-btn",d="layui-slider-tips",v="layui-slider-input",c="layui-slider-input-txt",m="layui-slider-input-btn",p="layui-slider-hover",f=function(e){var a=this;a.index=++t.index,a.config=i.extend({},a.config,t.config,e),a.render()};f.prototype.config={type:"default",min:0,max:100,value:0,step:1,showstep:!1,tips:!0,input:!1,range:!1,height:200,disabled:!1,theme:"#009688"},f.prototype.render=function(){var e=this,t=e.config;if(t.step<1&&(t.step=1),t.maxt.min?a:t.min,t.value[1]=n>t.min?n:t.min,t.value[0]=t.value[0]>t.max?t.max:t.value[0],t.value[1]=t.value[1]>t.max?t.max:t.value[1];var r=Math.floor((t.value[0]-t.min)/(t.max-t.min)*100),v=Math.floor((t.value[1]-t.min)/(t.max-t.min)*100),m=v-r+"%";r+="%",v+="%"}else{"object"==typeof t.value&&(t.value=Math.min.apply(null,t.value)),t.valuet.max&&(t.value=t.max);var m=Math.floor((t.value-t.min)/(t.max-t.min)*100)+"%"}var p=t.disabled?"#c2c2c2":t.theme,f='
    '+(t.tips?'
    ':"")+'
    '+(t.range?'
    ':"")+"
    ",h=i(t.elem),y=h.next("."+s);if(y[0]&&y.remove(),e.elemTemp=i(f),t.range?(e.elemTemp.find("."+o).eq(0).data("value",t.value[0]),e.elemTemp.find("."+o).eq(1).data("value",t.value[1])):e.elemTemp.find("."+o).data("value",t.value),h.html(e.elemTemp),"vertical"===t.type&&e.elemTemp.height(t.height+"px"),t.showstep){for(var g=(t.max-t.min)/t.step,b="",x=1;x')}e.elemTemp.append(b)}if(t.input&&!t.range){var w=i('
    ');h.css("position","relative"),h.append(w),h.find("."+c).children("input").val(t.value),"vertical"===t.type?w.css({left:0,top:-48}):e.elemTemp.css("margin-right",w.outerWidth()+15)}t.disabled?(e.elemTemp.addClass(l),e.elemTemp.find("."+u).addClass(l)):e.slide(),e.elemTemp.find("."+u).on("mouseover",function(){var a="vertical"===t.type?t.height:e.elemTemp[0].offsetWidth,n=e.elemTemp.find("."+o),l="vertical"===t.type?a-i(this).parent()[0].offsetTop-n.height():i(this).parent()[0].offsetLeft,s=l/a*100,r=i(this).parent().data("value"),u=t.setTips?t.setTips(r):r;e.elemTemp.find("."+d).html(u),"vertical"===t.type?e.elemTemp.find("."+d).css({bottom:s+"%","margin-bottom":"20px",display:"inline-block"}):e.elemTemp.find("."+d).css({left:s+"%",display:"inline-block"})}).on("mouseout",function(){e.elemTemp.find("."+d).css("display","none")})},f.prototype.slide=function(e,t,a){var n=this,l=n.config,s=n.elemTemp,f=function(){return"vertical"===l.type?l.height:s[0].offsetWidth},h=s.find("."+o),y=s.next("."+v),g=y.children("."+c).children("input").val(),b=100/((l.max-l.min)/Math.ceil(l.step)),x=function(e,i){e=Math.ceil(e)*b>100?Math.ceil(e)*b:Math.round(e)*b,e=e>100?100:e,h.eq(i).css("vertical"===l.type?"bottom":"left",e+"%");var t=T(h[0].offsetLeft),a=l.range?T(h[1].offsetLeft):0;"vertical"===l.type?(s.find("."+d).css({bottom:e+"%","margin-bottom":"20px"}),t=T(f()-h[0].offsetTop-h.height()),a=l.range?T(f()-h[1].offsetTop-h.height()):0):s.find("."+d).css("left",e+"%"),t=t>100?100:t,a=a>100?100:a;var n=Math.min(t,a),o=Math.abs(t-a);"vertical"===l.type?s.find("."+r).css({height:o+"%",bottom:n+"%"}):s.find("."+r).css({width:o+"%",left:n+"%"});var u=l.min+Math.round((l.max-l.min)*e/100);if(g=u,y.children("."+c).children("input").val(g),h.eq(i).data("value",u),u=l.setTips?l.setTips(u):u,s.find("."+d).html(u),l.range){var v=[h.eq(0).data("value"),h.eq(1).data("value")];v[0]>v[1]&&v.reverse()}l.change&&l.change(l.range?v:u)},T=function(e){var i=e/f()*100/b,t=Math.round(i)*b;return e==f()&&(t=Math.ceil(i)*b),t},w=i(['
    f()&&(r=f());var o=r/f()*100/b;x(o,e),t.addClass(p),s.find("."+d).show(),i.preventDefault()},o=function(){t.removeClass(p),s.find("."+d).hide()};M(r,o)})}),s.on("click",function(e){var t=i("."+u);if(!t.is(event.target)&&0===t.has(event.target).length&&t.length){var a,n="vertical"===l.type?f()-e.clientY+i(this).offset().top:e.clientX-i(this).offset().left;n<0&&(n=0),n>f()&&(n=f());var s=n/f()*100/b;a=l.range?"vertical"===l.type?Math.abs(n-parseInt(i(h[0]).css("bottom")))>Math.abs(n-parseInt(i(h[1]).css("bottom")))?1:0:Math.abs(n-h[0].offsetLeft)>Math.abs(n-h[1].offsetLeft)?1:0:0,x(s,a),e.preventDefault()}}),y.hover(function(){var e=i(this);e.children("."+m).fadeIn("fast")},function(){var e=i(this);e.children("."+m).fadeOut("fast")}),y.children("."+m).children("i").each(function(e){i(this).on("click",function(){g=1==e?g-l.stepl.max?l.max:Number(g)+l.step;var i=(g-l.min)/(l.max-l.min)*100/b;x(i,0)})});var q=function(){var e=this.value;e=isNaN(e)?0:e,e=el.max?l.max:e,this.value=e;var i=(e-l.min)/(l.max-l.min)*100/b;x(i,0)};y.children("."+c).children("input").on("keydown",function(e){13===e.keyCode&&(e.preventDefault(),q.call(this))}).on("change",q)},f.prototype.events=function(){var e=this;e.config},t.render=function(e){var i=new f(e);return a.call(i)},e(n,t)}); -------------------------------------------------------------------------------- /lib/layui/lay/modules/transfer.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.5.4 MIT License By https://www.layui.com */ 2 | ;layui.define(["laytpl","form"],function(e){"use strict";var a=layui.$,t=layui.laytpl,n=layui.form,i="transfer",l={config:{},index:layui[i]?layui[i].index+1e4:0,set:function(e){var t=this;return t.config=a.extend({},t.config,e),t},on:function(e,a){return layui.onevent.call(this,i,e,a)}},r=function(){var e=this,a=e.config,t=a.id||e.index;return r.that[t]=e,r.config[t]=a,{config:a,reload:function(a){e.reload.call(e,a)},getData:function(){return e.getData.call(e)}}},c="layui-hide",o="layui-btn-disabled",d="layui-none",s="layui-transfer-box",u="layui-transfer-header",h="layui-transfer-search",f="layui-transfer-active",y="layui-transfer-data",p=function(e){return e=e||{},['
    ','
    ','","
    ","{{# if(d.data.showSearch){ }}",'","{{# } }}",'
      ',"
      "].join("")},v=['
      ',p({index:0,checkAllName:"layTransferLeftCheckAll"}),'
      ','",'","
      ",p({index:1,checkAllName:"layTransferRightCheckAll"}),"
      "].join(""),x=function(e){var t=this;t.index=++l.index,t.config=a.extend({},t.config,l.config,e),t.render()};x.prototype.config={title:["列表一","列表二"],width:200,height:360,data:[],value:[],showSearch:!1,id:"",text:{none:"无数据",searchNone:"无匹配数据"}},x.prototype.reload=function(e){var t=this;layui.each(e,function(e,a){a.constructor===Array&&delete t.config[e]}),t.config=a.extend(!0,{},t.config,e),t.render()},x.prototype.render=function(){var e=this,n=e.config,i=e.elem=a(t(v).render({data:n,index:e.index})),l=n.elem=a(n.elem);l[0]&&(n.data=n.data||[],n.value=n.value||[],e.key=n.id||e.index,l.html(e.elem),e.layBox=e.elem.find("."+s),e.layHeader=e.elem.find("."+u),e.laySearch=e.elem.find("."+h),e.layData=i.find("."+y),e.layBtn=i.find("."+f+" .layui-btn"),e.layBox.css({width:n.width,height:n.height}),e.layData.css({height:function(){return n.height-e.layHeader.outerHeight()-e.laySearch.outerHeight()-2}()}),e.renderData(),e.events())},x.prototype.renderData=function(){var e=this,a=(e.config,[{checkName:"layTransferLeftCheck",views:[]},{checkName:"layTransferRightCheck",views:[]}]);e.parseData(function(e){var t=e.selected?1:0,n=["
    • ",'',"
    • "].join("");a[t].views.push(n),delete e.selected}),e.layData.eq(0).html(a[0].views.join("")),e.layData.eq(1).html(a[1].views.join("")),e.renderCheckBtn()},x.prototype.renderForm=function(e){n.render(e,"LAY-transfer-"+this.index)},x.prototype.renderCheckBtn=function(e){var t=this,n=t.config;e=e||{},t.layBox.each(function(i){var l=a(this),r=l.find("."+y),d=l.find("."+u).find('input[type="checkbox"]'),s=r.find('input[type="checkbox"]'),h=0,f=!1;if(s.each(function(){var e=a(this).data("hide");(this.checked||this.disabled||e)&&h++,this.checked&&!e&&(f=!0)}),d.prop("checked",f&&h===s.length),t.layBtn.eq(i)[f?"removeClass":"addClass"](o),!e.stopNone){var p=r.children("li:not(."+c+")").length;t.noneView(r,p?"":n.text.none)}}),t.renderForm("checkbox")},x.prototype.noneView=function(e,t){var n=a('

      '+(t||"")+"

      ");e.find("."+d)[0]&&e.find("."+d).remove(),t.replace(/\s/g,"")&&e.append(n)},x.prototype.setValue=function(){var e=this,t=e.config,n=[];return e.layBox.eq(1).find("."+y+' input[type="checkbox"]').each(function(){var e=a(this).data("hide");e||n.push(this.value)}),t.value=n,e},x.prototype.parseData=function(e){var t=this,n=t.config,i=[];return layui.each(n.data,function(t,l){l=("function"==typeof n.parseData?n.parseData(l):l)||l,i.push(l=a.extend({},l)),layui.each(n.value,function(e,a){a==l.value&&(l.selected=!0)}),e&&e(l)}),n.data=i,t},x.prototype.getData=function(e){var a=this,t=a.config,n=[];return layui.each(e||t.value,function(e,a){layui.each(t.data,function(e,t){delete t.selected,a==t.value&&n.push(t)})}),n},x.prototype.events=function(){var e=this,t=e.config;e.elem.on("click",'input[lay-filter="layTransferCheckbox"]+',function(){var t=a(this).prev(),n=t[0].checked,i=t.parents("."+s).eq(0).find("."+y);t[0].disabled||("all"===t.attr("lay-type")&&i.find('input[type="checkbox"]').each(function(){this.disabled||(this.checked=n)}),e.renderCheckBtn({stopNone:!0}))}),e.layBtn.on("click",function(){var n=a(this),i=n.data("index"),l=e.layBox.eq(i),r=[];if(!n.hasClass(o)){e.layBox.eq(i).each(function(t){var n=a(this),i=n.find("."+y);i.children("li").each(function(){var t=a(this),n=t.find('input[type="checkbox"]'),i=n.data("hide");n[0].checked&&!i&&(n[0].checked=!1,l.siblings("."+s).find("."+y).append(t.clone()),t.remove(),r.push(n[0].value)),e.setValue()})}),e.renderCheckBtn();var c=l.siblings("."+s).find("."+h+" input");""===c.val()||c.trigger("keyup"),t.onchange&&t.onchange(e.getData(r),i)}}),e.laySearch.find("input").on("keyup",function(){var n=this.value,i=a(this).parents("."+h).eq(0).siblings("."+y),l=i.children("li");l.each(function(){var e=a(this),t=e.find('input[type="checkbox"]'),i=t[0].title.indexOf(n)!==-1;e[i?"removeClass":"addClass"](c),t.data("hide",!i)}),e.renderCheckBtn();var r=l.length===i.children("li."+c).length;e.noneView(i,r?t.text.searchNone:"")})},r.that={},r.config={},l.reload=function(e,a){var t=r.that[e];return t.reload(a),r.call(t)},l.getData=function(e){var a=r.that[e];return a.getData()},l.render=function(e){var a=new x(e);return r.call(a)},e(i,l)}); -------------------------------------------------------------------------------- /lib/layui/lay/modules/upload.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.5.4 MIT License By https://www.layui.com */ 2 | ;layui.define("layer",function(e){"use strict";var t=layui.$,i=layui.layer,n=layui.hint(),a=layui.device(),o={config:{},set:function(e){var i=this;return i.config=t.extend({},i.config,e),i},on:function(e,t){return layui.onevent.call(this,r,e,t)}},l=function(){var e=this;return{upload:function(t){e.upload.call(e,t)},reload:function(t){e.reload.call(e,t)},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 i=this;i.config=t.extend({},i.config,o.config,e),i.render()};p.prototype.config={accept:"images",exts:"",auto:!0,bindAction:"",url:"",field:"file",acceptMime:"",method:"post",data:{},drag:!0,size:0,number:0,multiple:!1},p.prototype.render=function(e){var i=this,e=i.config;e.elem=t(e.elem),e.bindAction=t(e.bindAction),i.file(),i.events()},p.prototype.file=function(){var e=this,i=e.config,n=e.elemFile=t(['"].join("")),o=i.elem.next();(o.hasClass(u)||o.hasClass(c))&&o.remove(),a.ie&&a.ie<10&&i.elem.wrap('
      '),e.isFile()?(e.elemFile=i.elem,i.field=i.elem[0].name):i.elem.after(n),a.ie&&a.ie<10&&e.initIE()},p.prototype.initIE=function(){var e=this,i=e.config,n=t(''),a=t(['
      ',"
      "].join(""));t("#"+f)[0]||t("body").append(n),i.elem.next().hasClass(c)||(e.elemFile.wrap(a),i.elem.next("."+c).append(function(){var e=[];return layui.each(i.data,function(t,i){i="function"==typeof i?i():i,e.push('')}),e.join("")}()))},p.prototype.msg=function(e){return i.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 t=this;window.FileReader&&layui.each(t.chooseFiles,function(t,i){var n=new FileReader;n.readAsDataURL(i),n.onload=function(){e&&e(t,i,this.result)}})},p.prototype.upload=function(e,i){var n,o=this,l=o.config,r=o.elemFile[0],u=function(){var i=0,n=0,a=e||o.files||o.chooseFiles||r.files,u=function(){l.multiple&&i+n===o.fileLength&&"function"==typeof l.allDone&&l.allDone({total:o.fileLength,successful:i,aborted:n})};layui.each(a,function(e,a){var r=new FormData;r.append(l.field,a),layui.each(l.data,function(e,t){t="function"==typeof t?t():t,r.append(e,t)}),t.ajax({url:l.url,type:"post",data:r,contentType:!1,processData:!1,dataType:"json",headers:l.headers||{},success:function(t){i++,d(e,t),u()},error:function(){n++,o.msg("请求上传接口出现异常"),m(e),u()}})})},c=function(){var e=t("#"+f);o.elemFile.parent().submit(),clearInterval(p.timer),p.timer=setInterval(function(){var t,i=e.contents().find("body");try{t=i.text()}catch(n){o.msg("获取上传后的响应信息出现异常"),clearInterval(p.timer),m()}t&&(clearInterval(p.timer),i.html(""),d(0,t))},30)},d=function(e,t){if(o.elemFile.next("."+s).remove(),r.value="","object"!=typeof t)try{t=JSON.parse(t)}catch(i){return t={},o.msg("请对上传接口返回有效JSON")}"function"==typeof l.done&&l.done(t,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 t=[];return layui.each(e||o.chooseFiles,function(e,i){t.push(i.name)}),t}(),g={preview:function(e){o.preview(e)},upload:function(e,t){var i={};i[e]=t,o.upload(i)},pushFile:function(){return o.files=o.files||{},layui.each(o.chooseFiles,function(e,t){o.files[e]=t}),o.files},resetFile:function(e,t,i){var n=new File([t],i);o.files=o.files||{},o.files[e]=n}},y=function(){if("choose"!==i&&!l.auto||(l.choose&&l.choose(g),"choose"!==i))return 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,t){RegExp("\\w\\.("+(h||"jpg|png|gif|bmp|jpeg$")+")","i").test(escape(t))||(n=!0)}),n)return o.msg("选择的图片中包含不支持的格式"),r.value=""}if(o.fileLength=function(){var t=0,i=e||o.files||o.chooseFiles||r.files;return layui.each(i,function(){t++}),t}(),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,t){if(t.size>1024*l.size){var i=l.size/1024;i=i>=1?i.toFixed(2)+"MB":l.size+"KB",r.value="",F=i}}),F)return o.msg("文件不能超过"+F)}y()}},p.prototype.reload=function(e){e=e||{},delete e.elem,delete e.bindAction;var i=this,e=i.config=t.extend({},i.config,o.config,e),n=e.elem.next();n.attr({name:e.name,accept:e.acceptMime,multiple:e.multiple})},p.prototype.events=function(){var e=this,i=e.config,o=function(t){e.chooseFiles={},layui.each(t,function(t,i){var n=(new Date).getTime();e.chooseFiles[n+"-"+t]=i})},l=function(t,n){var a=e.elemFile,o=t.length>1?t.length+"个文件":(t[0]||{}).name||a[0].value.match(/[^\/\\]+\..+/g)||[]||"";a.next().hasClass(s)&&a.next().remove(),e.upload(null,"choose"),e.isFile()||i.choose||a.after(''+o+"")};i.elem.off("upload.start").on("upload.start",function(){var a=t(this),o=a.attr("lay-data");if(o)try{o=new Function("return "+o)(),e.config=t.extend({},i,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||i.elem.off("upload.over").on("upload.over",function(){var e=t(this);e.attr("lay-over","")}).off("upload.leave").on("upload.leave",function(){var e=t(this);e.removeAttr("lay-over")}).off("upload.drop").on("upload.drop",function(n,a){var r=t(this),u=a.originalEvent.dataTransfer.files||[];r.removeAttr("lay-over"),o(u),i.auto?e.upload(u):l(u)}),e.elemFile.off("upload.change").on("upload.change",function(){var t=this.files||[];o(t),i.auto?e.upload():l(t)}),i.bindAction.off("upload.action").on("upload.action",function(){e.upload()}),i.elem.data("haveEvents")||(e.elemFile.on("change",function(){t(this).trigger("upload.change")}),i.elem.on("click",function(){e.isFile()||t(this).trigger("upload.start")}),i.drag&&i.elem.on("dragover",function(e){e.preventDefault(),t(this).trigger("upload.over")}).on("dragleave",function(e){t(this).trigger("upload.leave")}).on("drop",function(e){e.preventDefault(),t(this).trigger("upload.drop",e)}),i.bindAction.on("click",function(){t(this).trigger("upload.action")}),i.elem.data("haveEvents",!0))},o.render=function(e){var t=new p(e);return l.call(t)},e(r,o)}); -------------------------------------------------------------------------------- /lib/layui/lay/modules/util.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.5.4 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(t){"use strict";var e=layui.$,i={fixbar:function(t){var i,n,a="layui-fixbar",o="layui-fixbar-top",r=e(document),l=e("body");t=e.extend({showHeight:200},t),t.bar1=t.bar1===!0?"":t.bar1,t.bar2=t.bar2===!0?"":t.bar2,t.bgcolor=t.bgcolor?"background-color:"+t.bgcolor:"";var c=[t.bar1,t.bar2,""],g=e(['
        ',t.bar1?'
      • '+c[0]+"
      • ":"",t.bar2?'
      • '+c[1]+"
      • ":"",'
      • '+c[2]+"
      • ","
      "].join("")),s=g.find("."+o),u=function(){var e=r.scrollTop();e>=t.showHeight?i||(s.show(),i=1):i&&(s.hide(),i=0)};e("."+a)[0]||("object"==typeof t.css&&g.css(t.css),l.append(g),u(),g.find("li").on("click",function(){var i=e(this),n=i.attr("lay-type");"top"===n&&e("html,body").animate({scrollTop:0},200),t.click&&t.click.call(this,n)}),r.on("scroll",function(){clearTimeout(n),n=setTimeout(function(){u()},100)}))},countdown:function(t,e,i){var n=this,a="function"==typeof e,o=new Date(t).getTime(),r=new Date(!e||a?(new Date).getTime():e).getTime(),l=o-r,c=[Math.floor(l/864e5),Math.floor(l/36e5)%24,Math.floor(l/6e4)%60,Math.floor(l/1e3)%60];a&&(i=e);var g=setTimeout(function(){n.countdown(t,r+1e3,i)},1e3);return i&&i(l>0?c:[0,0,0,0],e,g),l<=0&&clearTimeout(g),g},timeAgo:function(t,e){var i=this,n=[[],[]],a=(new Date).getTime()-new Date(t).getTime();return a>6912e5?(a=new Date(t),n[0][0]=i.digit(a.getFullYear(),4),n[0][1]=i.digit(a.getMonth()+1),n[0][2]=i.digit(a.getDate()),e||(n[1][0]=i.digit(a.getHours()),n[1][1]=i.digit(a.getMinutes()),n[1][2]=i.digit(a.getSeconds())),n[0].join("-")+" "+n[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(t,e){var i="";t=String(t),e=e||2;for(var n=t.length;n/g,">").replace(/'/g,"'").replace(/"/g,""")},event:function(t,n,a){n=i.event[t]=e.extend(!0,i.event[t],n)||{},e("body").on(a||"click","*["+t+"]",function(){var i=e(this),a=i.attr(t);n[a]&&n[a].call(this,i)})}};!function(t,e,i){"$:nomunge";function n(){a=e[l](function(){o.each(function(){var e=t(this),i=e.width(),n=e.height(),a=t.data(this,g);(i!==a.w||n!==a.h)&&e.trigger(c,[a.w=i,a.h=n])}),n()},r[s])}var a,o=t([]),r=t.resize=t.extend(t.resize,{}),l="setTimeout",c="resize",g=c+"-special-event",s="delay",u="throttleWindow";r[s]=250,r[u]=!0,t.event.special[c]={setup:function(){if(!r[u]&&this[l])return!1;var e=t(this);o=o.add(e),t.data(this,g,{w:e.width(),h:e.height()}),1===o.length&&n()},teardown:function(){if(!r[u]&&this[l])return!1;var e=t(this);o=o.not(e),e.removeData(g),o.length||clearTimeout(a)},add:function(e){function n(e,n,o){var r=t(this),l=t.data(this,g)||{};l.w=n!==i?n:r.width(),l.h=o!==i?o:r.height(),a.apply(this,arguments)}if(!r[u]&&this[l])return!1;var a;return t.isFunction(e)?(a=e,n):(a=e.handler,void(e.handler=n))}}}(e,window),t("util",i)}); -------------------------------------------------------------------------------- /lib/layui/layui.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.5.4 MIT License By https://www.layui.com */ 2 | ;!function(e){"use strict";var t=document,o={modules:{},status:{},timeout:10,event:{}},n=function(){this.v="2.5.4"},r=function(){var e=t.currentScript?t.currentScript.src:function(){for(var e,o=t.scripts,n=o.length-1,r=n;r>0;r--)if("interactive"===o[r].readyState){e=o[r].src;break}return e||o[n].src}();return e.substring(0,e.lastIndexOf("/")+1)}(),i=function(t){e.console&&console.error&&console.error("Layui hint: "+t)},a="undefined"!=typeof opera&&"[object Opera]"===opera.toString(),u={layer:"modules/layer",laydate:"modules/laydate",laypage:"modules/laypage",laytpl:"modules/laytpl",layim:"modules/layim",layedit:"modules/layedit",form:"modules/form",upload:"modules/upload",transfer:"modules/transfer",tree:"modules/tree",table:"modules/table",element:"modules/element",rate:"modules/rate",colorpicker:"modules/colorpicker",slider:"modules/slider",carousel:"modules/carousel",flow:"modules/flow",util:"modules/util",code:"modules/code",jquery:"modules/jquery",mobile:"modules/mobile","layui.all":"../layui.all"};n.prototype.cache=o,n.prototype.define=function(e,t){var n=this,r="function"==typeof e,i=function(){var e=function(e,t){layui[e]=t,o.status[e]=!0};return"function"==typeof t&&t(function(n,r){e(n,r),o.callback[n]=function(){t(e)}}),this};return r&&(t=e,e=[]),!layui["layui.all"]&&layui["layui.mobile"]?i.call(n):(n.use(e,i),n)},n.prototype.use=function(e,n,l){function s(e,t){var n="PLaySTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/;("load"===e.type||n.test((e.currentTarget||e.srcElement).readyState))&&(o.modules[f]=t,d.removeChild(v),function r(){return++m>1e3*o.timeout/4?i(f+" is not a valid module"):void(o.status[f]?c():setTimeout(r,4))}())}function c(){l.push(layui[f]),e.length>1?y.use(e.slice(1),n,l):"function"==typeof n&&n.apply(layui,l)}var y=this,p=o.dir=o.dir?o.dir:r,d=t.getElementsByTagName("head")[0];e="string"==typeof e?[e]:e,window.jQuery&&jQuery.fn.on&&(y.each(e,function(t,o){"jquery"===o&&e.splice(t,1)}),layui.jquery=layui.$=jQuery);var f=e[0],m=0;if(l=l||[],o.host=o.host||(p.match(/\/\/([\s\S]+?)\//)||["//"+location.host+"/"])[0],0===e.length||layui["layui.all"]&&u[f]||!layui["layui.all"]&&layui["layui.mobile"]&&u[f])return c(),y;if(o.modules[f])!function g(){return++m>1e3*o.timeout/4?i(f+" is not a valid module"):void("string"==typeof o.modules[f]&&o.status[f]?c():setTimeout(g,4))}();else{var v=t.createElement("script"),h=(u[f]?p+"lay/":/^\{\/\}/.test(y.modules[f])?"":o.base||"")+(y.modules[f]||f)+".js";h=h.replace(/^\{\/\}/,""),v.async=!0,v.charset="utf-8",v.src=h+function(){var e=o.version===!0?o.v||(new Date).getTime():o.version||"";return e?"?v="+e:""}(),d.appendChild(v),!v.attachEvent||v.attachEvent.toString&&v.attachEvent.toString().indexOf("[native code")<0||a?v.addEventListener("load",function(e){s(e,h)},!1):v.attachEvent("onreadystatechange",function(e){s(e,h)}),o.modules[f]=h}return y},n.prototype.getStyle=function(t,o){var n=t.currentStyle?t.currentStyle:e.getComputedStyle(t,null);return n[n.getPropertyValue?"getPropertyValue":"getAttribute"](o)},n.prototype.link=function(e,n,r){var a=this,u=t.createElement("link"),l=t.getElementsByTagName("head")[0];"string"==typeof n&&(r=n);var s=(r||e).replace(/\.|\//g,""),c=u.id="layuicss-"+s,y=0;return u.rel="stylesheet",u.href=e+(o.debug?"?v="+(new Date).getTime():""),u.media="all",t.getElementById(c)||l.appendChild(u),"function"!=typeof n?a:(function p(){return++y>1e3*o.timeout/100?i(e+" timeout"):void(1989===parseInt(a.getStyle(t.getElementById(c),"width"))?function(){n()}():setTimeout(p,100))}(),a)},o.callback={},n.prototype.factory=function(e){if(layui[e])return"function"==typeof o.callback[e]?o.callback[e]:null},n.prototype.addcss=function(e,t,n){return layui.link(o.dir+"css/"+e,t,n)},n.prototype.img=function(e,t,o){var n=new Image;return n.src=e,n.complete?t(n):(n.onload=function(){n.onload=null,"function"==typeof t&&t(n)},void(n.onerror=function(e){n.onerror=null,"function"==typeof o&&o(e)}))},n.prototype.config=function(e){e=e||{};for(var t in e)o[t]=e[t];return this},n.prototype.modules=function(){var e={};for(var t in u)e[t]=u[t];return e}(),n.prototype.extend=function(e){var t=this;e=e||{};for(var o in e)t[o]||t.modules[o]?i("模块名 "+o+" 已被占用"):t.modules[o]=e[o];return t},n.prototype.router=function(e){var t=this,e=e||location.hash,o={path:[],search:{},hash:(e.match(/[^#](#.*$)/)||[])[1]||""};return/^#\//.test(e)?(e=e.replace(/^#\//,""),o.href="/"+e,e=e.replace(/([^#])(#.*$)/,"$1").split("/")||[],t.each(e,function(e,t){/^\w+=/.test(t)?function(){t=t.split("="),o.search[t[0]]=t[1]}():o.path.push(t)}),o):o},n.prototype.data=function(t,o,n){if(t=t||"layui",n=n||localStorage,e.JSON&&e.JSON.parse){if(null===o)return delete n[t];o="object"==typeof o?o:{key:o};try{var r=JSON.parse(n[t])}catch(i){var r={}}return"value"in o&&(r[o.key]=o.value),o.remove&&delete r[o.key],n[t]=JSON.stringify(r),o.key?r[o.key]:r}},n.prototype.sessionData=function(e,t){return this.data(e,t,sessionStorage)},n.prototype.device=function(t){var o=navigator.userAgent.toLowerCase(),n=function(e){var t=new RegExp(e+"/([^\\s\\_\\-]+)");return e=(o.match(t)||[])[1],e||!1},r={os:function(){return/windows/.test(o)?"windows":/linux/.test(o)?"linux":/iphone|ipod|ipad|ios/.test(o)?"ios":/mac/.test(o)?"mac":void 0}(),ie:function(){return!!(e.ActiveXObject||"ActiveXObject"in e)&&((o.match(/msie\s(\d+)/)||[])[1]||"11")}(),weixin:n("micromessenger")};return t&&!r[t]&&(r[t]=n(t)),r.android=/android/.test(o),r.ios="ios"===r.os,r},n.prototype.hint=function(){return{error:i}},n.prototype.each=function(e,t){var o,n=this;if("function"!=typeof t)return n;if(e=e||[],e.constructor===Object){for(o in e)if(t.call(e[o],o,e[o]))break}else for(o=0;oi?1:r 2 | 3 | 4 | 5 | 图书管理系统 6 | 7 | 8 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 23 | 24 | 25 | 26 | 27 |
      28 | 31 |
      32 | 33 |
      34 |
        35 |
      • 36 | 37 |
      • 38 |
      • 39 | 退出 40 |
      • 41 |
      42 |
      43 | 44 | 45 | 46 | 184 | 185 | 186 | 187 |
      188 |
      189 |
        190 |
      • 我的桌面
      • 191 |
      192 |
      196 |
      197 |
      关闭当前
      198 |
      关闭其它
      199 |
      关闭全部
      200 |
      201 |
      202 |
      203 |
      204 | 210 |
      211 |
      212 |
      213 |
      214 |
      215 |
      216 | 217 | 218 | 219 | 224 | 225 | 226 | -------------------------------------------------------------------------------- /main1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 图书管理系统 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 22 | 23 | 24 | 25 | 26 |
      27 | 29 |
      30 | 31 |
      32 |
        33 |
      • 34 | 35 |
      • 36 |
      • 37 | 退出
      • 38 |
      39 |
      40 | 41 | 42 | 43 |
      44 | 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 | 106 | 107 | 108 | -------------------------------------------------------------------------------- /php/BookInfos.php: -------------------------------------------------------------------------------- 1 | code == 0) { 97 | Create($otherSql); 98 | } 99 | 100 | echo $result; 101 | } 102 | 103 | // 更新图书基本信息 104 | function UpdateBookInfo($isGet) 105 | { 106 | $callNo = ($isGet ? $_GET['callNo'] : $_POST['callNo']); 107 | $name = $isGet ? $_GET['name'] : $_POST['name']; 108 | $typeNumber = $isGet ? $_GET['typeNumber'] : $_POST['typeNumber']; 109 | $author = $isGet ? $_GET['author'] : $_POST['author']; 110 | $translator = $isGet ? $_GET['translator'] : $_POST['translator']; 111 | $press = $isGet ? $_GET['press'] : $_POST['press']; 112 | $datePublication = $isGet ? $_GET['datePublication'] : $_POST['datePublication']; 113 | $price = $isGet ? $_GET['price'] : $_POST['price']; 114 | $price = $price != null ? $price : 0; 115 | $page = $isGet ? $_GET['page'] : $_POST['page']; 116 | $page = $page != null ? $page : 0; 117 | 118 | if ($callNo == null) { 119 | echo Error("索书号不能为空"); 120 | return; 121 | } 122 | 123 | if ($name == null) { 124 | echo Error("图书名称不能为空"); 125 | return; 126 | } 127 | 128 | if ($typeNumber == null) { 129 | echo Error("图书类型不能为空"); 130 | return; 131 | } 132 | 133 | if ($datePublication == null) { 134 | echo Error("出版年份不能为空"); 135 | return; 136 | } 137 | 138 | $sql = "UPDATE BookInfos SET Name = '$name', TypeNumber = '$typeNumber', Author = '$author', Translator = '$translator', Press = '$press', DatePublication = '$datePublication', Price = '$price', Page = '$page' WHERE CallNo = '$callNo'"; 139 | echo Update($sql); 140 | } 141 | -------------------------------------------------------------------------------- /php/BookType.php: -------------------------------------------------------------------------------- 1 | code == 0) { 98 | Update($otherSql); 99 | } 100 | echo $result; 101 | } 102 | 103 | // 禁用图书 104 | function Disabled($isGet) 105 | { 106 | $barcode = $isGet ? $_GET['barcode'] : $_POST['barcode']; 107 | $disabled = $isGet ? $_GET['disabled'] : $_POST['disabled']; 108 | $sql = "UPDATE Books SET Disabled = $disabled WHERE Barcode = '$barcode'"; 109 | echo Update($sql); 110 | } 111 | -------------------------------------------------------------------------------- /php/DbBase.php: -------------------------------------------------------------------------------- 1 | query("set names utf8"); 16 | return $db; 17 | } 18 | 19 | function Success($sql, $data, $count) 20 | { 21 | return json_encode(array("data" => $data, "code" => 0, "msg" => "Success", "count" => $count, "sql" => $sql)); 22 | } 23 | 24 | function Error($msg, $sql) 25 | { 26 | return json_encode(array("code" => 1, "msg" => $msg, "sql" => $sql)); 27 | } 28 | 29 | function GetAll($sql, $page, $limit) 30 | { 31 | $DbContext = ConnDB(); 32 | $temp = ($page - 1) * $limit; 33 | $tempsql = "$sql LIMIT $temp, $limit"; 34 | 35 | $rs = $DbContext->query($sql); 36 | $count = $rs->rowCount(); 37 | 38 | $result = $DbContext->query($tempsql); 39 | $data = $result->fetchAll(PDO::FETCH_ASSOC); 40 | 41 | 42 | $arr = $DbContext->errorInfo(); 43 | return Base($arr, $tempsql, $data, $count); 44 | } 45 | 46 | function GetFull($sql) 47 | { 48 | $DbContext = ConnDB(); 49 | $result = $DbContext->query($sql); 50 | $arr = $DbContext->errorInfo(); 51 | $data = $result->fetchAll(PDO::FETCH_ASSOC); 52 | $arr = $DbContext->errorInfo(); 53 | return Base($arr, $sql, $data, 0); 54 | } 55 | 56 | function Get($sql) 57 | { 58 | $DbContext = ConnDB(); 59 | $result = $DbContext->query($sql); 60 | $data = $result->fetch(PDO::FETCH_ASSOC); 61 | $count = $result->rowCount(); 62 | $arr = $DbContext->errorInfo(); 63 | return Base($arr, $sql, $data, $count); 64 | } 65 | 66 | function Update($sql) 67 | { 68 | $DbContext = ConnDB(); 69 | $result = $DbContext->query($sql); 70 | $arr = $DbContext->errorInfo(); 71 | return Base($arr, $sql, null, null); 72 | } 73 | 74 | function Create($sql) 75 | { 76 | $DbContext = ConnDB(); 77 | $result = $DbContext->query($sql); 78 | $arr = $DbContext->errorInfo(); 79 | 80 | return Base($arr, $sql, null, null); 81 | } 82 | 83 | function Base($arr, $sql, $data, $count) 84 | { 85 | if ($arr[0] == "00000") { 86 | return Success($sql, $data, $count); 87 | } 88 | 89 | return Error($arr[2], $sql); 90 | } 91 | 92 | function LikeScreen(&$sql, $lable, $value) 93 | { 94 | $sql = $value != null ? "$sql AND $lable LIKE '%$value%'" : $sql; 95 | } 96 | 97 | function StringEqualScreen(&$sql, $lable, $value) 98 | { 99 | $temp = $value != null ? "'$value'" : $value; 100 | EqualScreen($sql, $lable, $temp); 101 | } 102 | 103 | function EqualScreen(&$sql, $lable, $value) 104 | { 105 | $sql = $value != null ? "$sql AND $lable = $value" : $sql; 106 | } 107 | 108 | function SelectSql($sql) 109 | { 110 | $DbContext = ConnDB(); 111 | $result = $DbContext->query($sql); 112 | return $result->fetch(PDO::FETCH_ASSOC); 113 | } 114 | -------------------------------------------------------------------------------- /php/Home.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /php/Login.php: -------------------------------------------------------------------------------- 1 | query($sql)->fetch(PDO::FETCH_ASSOC); 31 | $returnValue = $rs != null; 32 | echo Success($sql, $returnValue, 0); 33 | } 34 | 35 | //检查用户名密码 36 | // typeId 0为操作员 其他为读者 37 | function Login($isGet) 38 | { 39 | $number = $_POST['number']; 40 | $password = $_POST['password']; 41 | $typeId = $_POST['typeId']; 42 | $DbContext = ConnDB(); 43 | 44 | if ($number == null) { 45 | echo Error("用户名不能为空"); 46 | return; 47 | } 48 | 49 | if ($password == null) { 50 | echo Error("密码不能为空"); 51 | return; 52 | } 53 | 54 | if ($typeId != 0 && $typeId == null) { 55 | echo Error("类型不能为空"); 56 | return; 57 | } 58 | 59 | $sql = $typeId == 0 ? "SELECT Number, Name FROM Operators WHERE Number ='$number' AND Password = '$password'" 60 | : "SELECT Number, Name, TypeId, Barcode, Sex, EnrollmentYear, RegistrationDate FROM Readers WHERE Number ='$number' AND Password = '$password'"; 61 | 62 | $rs = $DbContext->query($sql)->fetch(PDO::FETCH_ASSOC); 63 | 64 | $returnValue = $rs != null; 65 | if ($returnValue) { 66 | $_SESSION['Name'] = $rs['Name']; 67 | $_SESSION['Number'] = $rs['Number']; 68 | $tempId = $typeId == 0 ? 0 : $rs['TypeId']; 69 | $_SESSION['Barcode'] = $typeId != 0 ? $rs['Barcode'] : ""; 70 | $_SESSION['TypeId'] = $tempId; 71 | $rs["TypeId"] = $tempId; 72 | echo Success($sql, $rs, 0); 73 | } else { 74 | echo Error("用户名或密码不正确", $sql); 75 | } 76 | } 77 | 78 | //检查是否登录 79 | function CheckStatus() 80 | { 81 | if (isset($_SESSION['Name'])) { 82 | echo Success(null, $_SESSION['Name'], 0); 83 | } else { 84 | echo Error(""); 85 | } 86 | } 87 | -------------------------------------------------------------------------------- /php/Operators.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /welcome.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 | 78 |
      79 |
      80 |
      介绍
      81 |
      82 | 83 | 84 | 85 | 86 | 88 | 89 | 90 | 91 | 92 | 93 |
      学校官网兴义民族师范学院 87 | 访问官网
      版权信息技术学院
      94 |
      95 |
      96 |
      97 | 98 |
      99 |
      Copyright © 2011 兴义民族师范学院 技术支持:信息技术学院
      100 |
      101 |
      102 |
      103 | 109 | 110 | 123 | -------------------------------------------------------------------------------- /图书馆管理系统表结构及表数据.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhangNanBin/BMS-HTML-PHP/dc2d2ccdcc5e1008fa14a9caa50a29c5af497421/图书馆管理系统表结构及表数据.docx --------------------------------------------------------------------------------