Quellcode durchsuchen

增加电话查号

seimin vor 3 Jahren
Ursprung
Commit
4434e0b0b1
5 geänderte Dateien mit 2456 neuen und 1881 gelöschten Zeilen
  1. 87 85
      css/base.css
  2. 35 7
      css/index.css
  3. 1259 1038
      index.html
  4. 1074 750
      js/index.js
  5. 1 1
      login.html

+ 87 - 85
css/base.css

@@ -23,18 +23,18 @@ p,
23
 blockquote,
23
 blockquote,
24
 th,
24
 th,
25
 td {
25
 td {
26
-    margin: 0;
27
-    padding: 0;
26
+  margin: 0;
27
+  padding: 0;
28
 }
28
 }
29
 
29
 
30
 table {
30
 table {
31
-    border-collapse: collapse;
32
-    border-spacing: 0;
31
+  border-collapse: collapse;
32
+  border-spacing: 0;
33
 }
33
 }
34
 
34
 
35
 fieldset,
35
 fieldset,
36
 img {
36
 img {
37
-    border: 0
37
+  border: 0;
38
 }
38
 }
39
 
39
 
40
 address,
40
 address,
@@ -47,18 +47,18 @@ strong,
47
 th,
47
 th,
48
 b,
48
 b,
49
 var {
49
 var {
50
-    font-style: normal;
51
-    font-weight: normal
50
+  font-style: normal;
51
+  font-weight: normal;
52
 }
52
 }
53
 
53
 
54
 ol,
54
 ol,
55
 ul {
55
 ul {
56
-    list-style: none
56
+  list-style: none;
57
 }
57
 }
58
 
58
 
59
 caption,
59
 caption,
60
 th {
60
 th {
61
-    text-align: left
61
+  text-align: left;
62
 }
62
 }
63
 
63
 
64
 h1,
64
 h1,
@@ -67,166 +67,168 @@ h3,
67
 h4,
67
 h4,
68
 h5,
68
 h5,
69
 h6 {
69
 h6 {
70
-    font-size: 100%;
71
-    font-weight: normal
70
+  font-size: 100%;
71
+  font-weight: normal;
72
 }
72
 }
73
 
73
 
74
 q:before,
74
 q:before,
75
 q:after {
75
 q:after {
76
-    content: ''
76
+  content: "";
77
 }
77
 }
78
 
78
 
79
 abbr,
79
 abbr,
80
 acronym {
80
 acronym {
81
-    border: 0
81
+  border: 0;
82
 }
82
 }
83
 
83
 
84
 * {
84
 * {
85
-    padding: 0px;
86
-    margin: 0px;
87
-    text-align: left;
88
-    font-family: 'PingFangSC-Regular', '微软雅黑', Arial, Verdana, Tahoma, "宋体", Helvetica, sans-serif;
89
-    line-height: 150%;
90
-    box-sizing: border-box;
85
+  padding: 0px;
86
+  margin: 0px;
87
+  text-align: left;
88
+  font-family: "PingFangSC-Regular", "微软雅黑", Arial, Verdana, Tahoma, "宋体",
89
+    Helvetica, sans-serif;
90
+  line-height: 150%;
91
+  box-sizing: border-box;
91
 }
92
 }
92
 
93
 
93
 html {
94
 html {
94
-    width: 100%;
95
-    height: 100%;
96
-    font-size: 14px;
97
-    color: #333;
98
-    overflow: hidden;
95
+  width: 100%;
96
+  height: 100%;
97
+  font-size: 14px;
98
+  color: #333;
99
+  overflow: hidden;
99
 }
100
 }
100
 
101
 
101
 body {
102
 body {
102
-    width: 100%;
103
-    height: 100%;
104
-    font-size: 14px;
105
-    text-align: center;
106
-    color: #333;
107
-    overflow: hidden;
103
+  width: 100%;
104
+  height: 100%;
105
+  font-size: 14px;
106
+  text-align: center;
107
+  color: #333;
108
+  overflow: hidden;
108
 }
109
 }
109
 
110
 
110
 table {
111
 table {
111
-    border-collapse: collapse;
112
+  border-collapse: collapse;
112
 }
113
 }
113
 
114
 
114
 td {
115
 td {
115
-    padding: 3px;
116
+  padding: 3px;
116
 }
117
 }
117
 
118
 
118
 img {
119
 img {
119
-    border: none;
120
-    vertical-align: middle;
120
+  border: none;
121
+  vertical-align: middle;
121
 }
122
 }
122
 
123
 
123
 input {
124
 input {
124
-    padding: 1px;
125
-    vertical-align: middle;
126
-    line-height: normal;
125
+  padding: 1px;
126
+  vertical-align: middle;
127
+  line-height: normal;
127
 }
128
 }
128
 
129
 
129
 input:focus {
130
 input:focus {
130
-    outline: none;
131
+  outline: none;
131
 }
132
 }
132
 
133
 
133
 .main-box {
134
 .main-box {
134
-    margin-right: auto;
135
-    margin-left: auto;
136
-    width: 960px;
137
-    clear: both;
138
-    zoom: 1;
139
-    overflow: hidden;
140
-    background-color: #CCCCCC;
135
+  margin-right: auto;
136
+  margin-left: auto;
137
+  width: 960px;
138
+  clear: both;
139
+  zoom: 1;
140
+  overflow: hidden;
141
+  background-color: #cccccc;
141
 }
142
 }
142
 
143
 
143
 .text-overflow-hidden {
144
 .text-overflow-hidden {
144
-    white-space: nowrap;
145
-    word-spacing: normal;
146
-    letter-spacing: normal;
147
-    overflow: hidden;
145
+  white-space: nowrap;
146
+  word-spacing: normal;
147
+  letter-spacing: normal;
148
+  overflow: hidden;
148
 }
149
 }
149
 
150
 
150
 .box-align-center {
151
 .box-align-center {
151
-    margin-right: auto;
152
-    margin-left: auto;
152
+  margin-right: auto;
153
+  margin-left: auto;
153
 }
154
 }
154
 
155
 
155
-
156
 /*css定义超链接四个状态也有顺序的。*/
156
 /*css定义超链接四个状态也有顺序的。*/
157
 
157
 
158
 a:link,
158
 a:link,
159
 a:visited {
159
 a:visited {
160
-    text-decoration: none;
161
-    color: #1F376D;
160
+  text-decoration: none;
161
+  color: #1f376d;
162
 }
162
 }
163
 
163
 
164
 a:hover,
164
 a:hover,
165
 a:active {
165
 a:active {
166
-    text-decoration: underline;
167
-    color: #BD0A01;
168
-    border: none;
166
+  text-decoration: underline;
167
+  color: #bd0a01;
168
+  border: none;
169
 }
169
 }
170
 
170
 
171
 .fl {
171
 .fl {
172
-    float: left;
172
+  float: left;
173
 }
173
 }
174
 
174
 
175
 .fr {
175
 .fr {
176
-    float: right;
176
+  float: right;
177
+}
178
+.hauto {
179
+  height: auto !important;
177
 }
180
 }
178
 
181
 
179
 .clearfix:after {
182
 .clearfix:after {
180
-    content: '';
181
-    display: block;
182
-    clear: both;
183
-    visibility: hidden;
183
+  content: "";
184
+  display: block;
185
+  clear: both;
186
+  visibility: hidden;
184
 }
187
 }
185
 
188
 
186
 .clearfix {
189
 .clearfix {
187
-    *zoom: 1;
190
+  *zoom: 1;
188
 }
191
 }
189
 
192
 
190
 .iconfont {
193
 .iconfont {
191
-    font-family: "iconfont";
192
-    font-style: normal;
193
-    -webkit-font-smoothing: antialiased;
194
-    -webkit-text-stroke-width: 0.2px;
195
-    -moz-osx-font-smoothing: grayscale;
196
-    color: #005395;
197
-    font-size: 18px;
194
+  font-family: "iconfont";
195
+  font-style: normal;
196
+  -webkit-font-smoothing: antialiased;
197
+  -webkit-text-stroke-width: 0.2px;
198
+  -moz-osx-font-smoothing: grayscale;
199
+  color: #005395;
200
+  font-size: 18px;
198
 }
201
 }
199
 
202
 
200
 .bolderFont {
203
 .bolderFont {
201
-    font-weight: 600;
204
+  font-weight: 600;
202
 }
205
 }
203
 
206
 
204
-
205
 /* 超出部分隐藏 展示行数 */
207
 /* 超出部分隐藏 展示行数 */
206
 
208
 
207
 .firstLine {
209
 .firstLine {
208
-    -webkit-line-clamp: 1;
210
+  -webkit-line-clamp: 1;
209
 }
211
 }
210
 
212
 
211
 .secondLine {
213
 .secondLine {
212
-    -webkit-line-clamp: 2;
214
+  -webkit-line-clamp: 2;
213
 }
215
 }
214
 
216
 
215
 .required {
217
 .required {
216
-    color: #fe2a44;
217
-    margin-right: 4px;
218
+  color: #fe2a44;
219
+  margin-right: 4px;
218
 }
220
 }
219
 
221
 
220
 .oneline {
222
 .oneline {
221
-    overflow: hidden;
222
-    text-overflow: ellipsis;
223
-    white-space: nowrap;
223
+  overflow: hidden;
224
+  text-overflow: ellipsis;
225
+  white-space: nowrap;
224
 }
226
 }
225
 
227
 
226
 .twoline {
228
 .twoline {
227
-    overflow: hidden;
228
-    text-overflow: ellipsis;
229
-    -webkit-line-clamp: 2;
230
-    -webkit-box-orient: vertical;
231
-    display: -webkit-box;
229
+  overflow: hidden;
230
+  text-overflow: ellipsis;
231
+  -webkit-line-clamp: 2;
232
+  -webkit-box-orient: vertical;
233
+  display: -webkit-box;
232
 }
234
 }

+ 35 - 7
css/index.css

@@ -152,6 +152,35 @@ article > .content .left {
152
   background: rgba(255, 255, 255, 0.85);
152
   background: rgba(255, 255, 255, 0.85);
153
   filter: alpha(opacity=85);
153
   filter: alpha(opacity=85);
154
 }
154
 }
155
+.opcBg .opcBg_searchBox {
156
+  width: 100%;
157
+  top: 41px;
158
+  right: 0;
159
+  margin-top: 0;
160
+  display: none;
161
+}
162
+.opcBg .opcBg_title {
163
+  height: 40px;
164
+  padding-left: 0;
165
+}
166
+.opcBg .opcBg_item {
167
+  height: 100%;
168
+  line-height: 40px;
169
+  width: 50%;
170
+  text-align: center;
171
+  border-right: 1px solid #fff;
172
+  cursor: pointer;
173
+}
174
+.opcBg .opcBg_item:last-of-type {
175
+  border-right: none;
176
+}
177
+.opcBg .opcBg_item.active {
178
+  background-color: #005395;
179
+  color: #fff;
180
+}
181
+.opcBg .opcBg_item.active .iconfont {
182
+  color: #fff;
183
+}
155
 
184
 
156
 .title {
185
 .title {
157
   font-size: 16px;
186
   font-size: 16px;
@@ -411,7 +440,6 @@ article > .content .left {
411
 }
440
 }
412
 
441
 
413
 .right .r-list {
442
 .right .r-list {
414
-  padding-right: 6px;
415
   position: absolute;
443
   position: absolute;
416
   top: 41px;
444
   top: 41px;
417
   left: 0;
445
   left: 0;
@@ -422,17 +450,17 @@ article > .content .left {
422
 
450
 
423
 .right .r-list .r-item {
451
 .right .r-list .r-item {
424
   height: 165px;
452
   height: 165px;
425
-  padding-left: 16px;
453
+  padding: 16px 8px 16px 16px;
426
   overflow: hidden;
454
   overflow: hidden;
427
   color: #333;
455
   color: #333;
428
   margin-top: 1px;
456
   margin-top: 1px;
457
+  border-bottom: 1px solid #fff;
429
 }
458
 }
430
 
459
 
431
 .right .r-list .r-item .r-item-title {
460
 .right .r-list .r-item .r-item-title {
432
   font-weight: bold;
461
   font-weight: bold;
433
   height: 20px;
462
   height: 20px;
434
   line-height: 20px;
463
   line-height: 20px;
435
-  margin-top: 16px;
436
 }
464
 }
437
 
465
 
438
 .right .r-list .r-item .r-item-content {
466
 .right .r-list .r-item .r-item-content {
@@ -1125,13 +1153,13 @@ article > .content .left {
1125
   border-bottom: none;
1153
   border-bottom: none;
1126
 }
1154
 }
1127
 /* 自动建单 */
1155
 /* 自动建单 */
1128
-#bx_eventClass{
1129
-  width:100%;
1156
+#bx_eventClass {
1157
+  width: 100%;
1130
   height: 100%;
1158
   height: 100%;
1131
   border: 0 none;
1159
   border: 0 none;
1132
   padding: 5px 16px;
1160
   padding: 5px 16px;
1133
   color: #999;
1161
   color: #999;
1134
 }
1162
 }
1135
-.bx_eventClass{
1136
-  padding:0!important;
1163
+.bx_eventClass {
1164
+  padding: 0 !important;
1137
 }
1165
 }

Datei-Diff unterdrückt, da er zu groß ist
+ 1259 - 1038
index.html


Datei-Diff unterdrückt, da er zu groß ist
+ 1074 - 750
js/index.js


+ 1 - 1
login.html

@@ -30,7 +30,7 @@
30
                 <input id="pwd" type="password" placeholder="请输入密码">
30
                 <input id="pwd" type="password" placeholder="请输入密码">
31
                 <button id="login">登录</button>
31
                 <button id="login">登录</button>
32
                 <p>推荐使用Google浏览器,其他浏览器可能出现兼容性问题</p>
32
                 <p>推荐使用Google浏览器,其他浏览器可能出现兼容性问题</p>
33
-                <p class="login_reset" style="color: #005395;">账号为您的学号(工号),初始密码为您的学号(工号)后4位</p>
33
+                <!-- <p class="login_reset" style="color: #005395;">账号为您的学号(工号),初始密码为您的学号(工号)后4位</p> -->
34
             </div>
34
             </div>
35
             <div class="shadow">
35
             <div class="shadow">
36
                 <img src="./imgs/shadow_login.png" alt="">
36
                 <img src="./imgs/shadow_login.png" alt="">