瀏覽代碼

增加电话查号

seimin 3 年之前
父節點
當前提交
4434e0b0b1
共有 5 個文件被更改,包括 2456 次插入1881 次删除
  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 23
 blockquote,
24 24
 th,
25 25
 td {
26
-    margin: 0;
27
-    padding: 0;
26
+  margin: 0;
27
+  padding: 0;
28 28
 }
29 29
 
30 30
 table {
31
-    border-collapse: collapse;
32
-    border-spacing: 0;
31
+  border-collapse: collapse;
32
+  border-spacing: 0;
33 33
 }
34 34
 
35 35
 fieldset,
36 36
 img {
37
-    border: 0
37
+  border: 0;
38 38
 }
39 39
 
40 40
 address,
@@ -47,18 +47,18 @@ strong,
47 47
 th,
48 48
 b,
49 49
 var {
50
-    font-style: normal;
51
-    font-weight: normal
50
+  font-style: normal;
51
+  font-weight: normal;
52 52
 }
53 53
 
54 54
 ol,
55 55
 ul {
56
-    list-style: none
56
+  list-style: none;
57 57
 }
58 58
 
59 59
 caption,
60 60
 th {
61
-    text-align: left
61
+  text-align: left;
62 62
 }
63 63
 
64 64
 h1,
@@ -67,166 +67,168 @@ h3,
67 67
 h4,
68 68
 h5,
69 69
 h6 {
70
-    font-size: 100%;
71
-    font-weight: normal
70
+  font-size: 100%;
71
+  font-weight: normal;
72 72
 }
73 73
 
74 74
 q:before,
75 75
 q:after {
76
-    content: ''
76
+  content: "";
77 77
 }
78 78
 
79 79
 abbr,
80 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 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 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 111
 table {
111
-    border-collapse: collapse;
112
+  border-collapse: collapse;
112 113
 }
113 114
 
114 115
 td {
115
-    padding: 3px;
116
+  padding: 3px;
116 117
 }
117 118
 
118 119
 img {
119
-    border: none;
120
-    vertical-align: middle;
120
+  border: none;
121
+  vertical-align: middle;
121 122
 }
122 123
 
123 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 130
 input:focus {
130
-    outline: none;
131
+  outline: none;
131 132
 }
132 133
 
133 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 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 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 156
 /*css定义超链接四个状态也有顺序的。*/
157 157
 
158 158
 a:link,
159 159
 a:visited {
160
-    text-decoration: none;
161
-    color: #1F376D;
160
+  text-decoration: none;
161
+  color: #1f376d;
162 162
 }
163 163
 
164 164
 a:hover,
165 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 171
 .fl {
172
-    float: left;
172
+  float: left;
173 173
 }
174 174
 
175 175
 .fr {
176
-    float: right;
176
+  float: right;
177
+}
178
+.hauto {
179
+  height: auto !important;
177 180
 }
178 181
 
179 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 189
 .clearfix {
187
-    *zoom: 1;
190
+  *zoom: 1;
188 191
 }
189 192
 
190 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 203
 .bolderFont {
201
-    font-weight: 600;
204
+  font-weight: 600;
202 205
 }
203 206
 
204
-
205 207
 /* 超出部分隐藏 展示行数 */
206 208
 
207 209
 .firstLine {
208
-    -webkit-line-clamp: 1;
210
+  -webkit-line-clamp: 1;
209 211
 }
210 212
 
211 213
 .secondLine {
212
-    -webkit-line-clamp: 2;
214
+  -webkit-line-clamp: 2;
213 215
 }
214 216
 
215 217
 .required {
216
-    color: #fe2a44;
217
-    margin-right: 4px;
218
+  color: #fe2a44;
219
+  margin-right: 4px;
218 220
 }
219 221
 
220 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 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 152
   background: rgba(255, 255, 255, 0.85);
153 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 185
 .title {
157 186
   font-size: 16px;
@@ -411,7 +440,6 @@ article > .content .left {
411 440
 }
412 441
 
413 442
 .right .r-list {
414
-  padding-right: 6px;
415 443
   position: absolute;
416 444
   top: 41px;
417 445
   left: 0;
@@ -422,17 +450,17 @@ article > .content .left {
422 450
 
423 451
 .right .r-list .r-item {
424 452
   height: 165px;
425
-  padding-left: 16px;
453
+  padding: 16px 8px 16px 16px;
426 454
   overflow: hidden;
427 455
   color: #333;
428 456
   margin-top: 1px;
457
+  border-bottom: 1px solid #fff;
429 458
 }
430 459
 
431 460
 .right .r-list .r-item .r-item-title {
432 461
   font-weight: bold;
433 462
   height: 20px;
434 463
   line-height: 20px;
435
-  margin-top: 16px;
436 464
 }
437 465
 
438 466
 .right .r-list .r-item .r-item-content {
@@ -1125,13 +1153,13 @@ article > .content .left {
1125 1153
   border-bottom: none;
1126 1154
 }
1127 1155
 /* 自动建单 */
1128
-#bx_eventClass{
1129
-  width:100%;
1156
+#bx_eventClass {
1157
+  width: 100%;
1130 1158
   height: 100%;
1131 1159
   border: 0 none;
1132 1160
   padding: 5px 16px;
1133 1161
   color: #999;
1134 1162
 }
1135
-.bx_eventClass{
1136
-  padding:0!important;
1163
+.bx_eventClass {
1164
+  padding: 0 !important;
1137 1165
 }

文件差異過大導致無法顯示
+ 1259 - 1038
index.html


文件差異過大導致無法顯示
+ 1074 - 750
js/index.js


+ 1 - 1
login.html

@@ -30,7 +30,7 @@
30 30
                 <input id="pwd" type="password" placeholder="请输入密码">
31 31
                 <button id="login">登录</button>
32 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 34
             </div>
35 35
             <div class="shadow">
36 36
                 <img src="./imgs/shadow_login.png" alt="">