system-phone 3.1.55 → 3.1.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,706 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="loginbg" id="outheight">
|
|
3
|
+
<!--输入框-->
|
|
4
|
+
<div class="htmleaf-container">
|
|
5
|
+
<div class="wrapper" :class="{'form-success': login}">
|
|
6
|
+
<div class="container">
|
|
7
|
+
<h3 style="color:white; margin-top: 15px">欢迎使用</h3>
|
|
8
|
+
<p class="form" :style="{'margin-top': margintop + 'px'}">
|
|
9
|
+
<input type="text" v-model="ename" class="usericon"/>
|
|
10
|
+
<input :type="showpass==true?'text':'password'" v-model="password" class="psicon"/>
|
|
11
|
+
<img :src="imageurl"
|
|
12
|
+
style="width: 20px;margin-bottom: 5px;position: absolute;left: 62%;bottom: 43%;"
|
|
13
|
+
alt=""
|
|
14
|
+
@click="changepass()"/>
|
|
15
|
+
<button type="button" id="login-button" @click.prevent="confirm()"><strong>登录</strong></button>
|
|
16
|
+
</p>
|
|
17
|
+
<div class="row">
|
|
18
|
+
<img src="../assets/选中.png" style="width: 20px;margin-bottom: 5px" alt="" v-if="showsave"
|
|
19
|
+
@click="showoff()">
|
|
20
|
+
<img src="../assets/未选.png" style="width: 20px;margin-bottom: 5px" alt="" v-if="!showsave"
|
|
21
|
+
@click="showon()">
|
|
22
|
+
<span class="text-left font">记住密码</span>
|
|
23
|
+
<img src="../assets/选中.png" style="width: 20px;margin-bottom: 5px" alt="" v-if="showauto == '1'"
|
|
24
|
+
@click="showoff1()">
|
|
25
|
+
<img src="../assets/未选.png" style="width: 20px;margin-bottom: 5px" alt="" v-if="showauto == '2'"
|
|
26
|
+
@click="showon1()">
|
|
27
|
+
<span class="text-left font">自动登录</span>
|
|
28
|
+
<p></p>
|
|
29
|
+
<span class="devicetext">设备码:{{ deviceIemi }}</span>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
<!--<load-appdata @ready="onReady"></load-appdata>-->
|
|
35
|
+
<div style="width: 100%;height: 100%;position: fixed;top: 0px;" v-show="loaderShow">
|
|
36
|
+
<div id="loading" class="loading">登陆中...</div>
|
|
37
|
+
</div>
|
|
38
|
+
<modal :show.sync="modifyPassword" backdrop="false">
|
|
39
|
+
<header slot="modal-header" class="modal-header">
|
|
40
|
+
</header>
|
|
41
|
+
<article slot="modal-body" class="modal-body">
|
|
42
|
+
<modify-pass-word :sourse="login" :weak-password="weakPassword" v-if="modifyPassword"
|
|
43
|
+
v-on:success="success"></modify-pass-word>
|
|
44
|
+
</article>
|
|
45
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
46
|
+
</footer>
|
|
47
|
+
</modal>
|
|
48
|
+
</div>
|
|
49
|
+
</template>
|
|
50
|
+
|
|
51
|
+
<script>
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* 说明:
|
|
55
|
+
* /rs/vue 请求获取到的配置文件有关配置项目
|
|
56
|
+
* telephone.LoginApp.weakPassword:为true 是判断是否弱密码校验
|
|
57
|
+
*
|
|
58
|
+
* globle 校验参数 Device_IEMI 是否需要校验设备iemi编码
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
import Vue from 'vue'
|
|
64
|
+
import * as Util from '../Util'
|
|
65
|
+
import JSEncrypt from 'jsencrypt'
|
|
66
|
+
//获取json配置文件
|
|
67
|
+
let asyncReady = async function (self, url) {
|
|
68
|
+
// 获取配置信息
|
|
69
|
+
try {
|
|
70
|
+
console.log("获取营收配置文件和参数【开始】")
|
|
71
|
+
await self.$appdata.load()
|
|
72
|
+
console.log("获取营收配置文件和参数【结束】,开始获取vue配置文件【开始】")
|
|
73
|
+
let that = self
|
|
74
|
+
let res = await Vue.resetget(`${url}/phone/rs/vue`, {data: {}}, {resolveMsg: null, rejectMsg: null})
|
|
75
|
+
that.$set('config', res.data)
|
|
76
|
+
Vue.config2 = res.data
|
|
77
|
+
// 判断是否需要弱密码校验
|
|
78
|
+
if (self.config && self.config.telephone && self.config.telephone.LoginApp && "undefined" != typeof self.config.telephone.LoginApp.weakPassword) {
|
|
79
|
+
self.weakPassword = self.config.telephone.LoginApp.weakPassword
|
|
80
|
+
}
|
|
81
|
+
console.log("手机端获取.json文件")
|
|
82
|
+
console.log(JSON.stringify(self.config))
|
|
83
|
+
return true
|
|
84
|
+
} catch (error) {
|
|
85
|
+
// 此处业务数据装载异常不做任何处理,理论上不会有任何异常
|
|
86
|
+
self.$showMessage('登录系统: 获取配置文件失败,请检查网络后重新登陆!')
|
|
87
|
+
return false
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
//装载业务数据
|
|
92
|
+
let asyncLoadData = async function (self, url) {
|
|
93
|
+
try {
|
|
94
|
+
// 读取报建本地配置文件
|
|
95
|
+
var result = HostApp.readLocalFile('workflow_apply.json')
|
|
96
|
+
if (result.code == 500) {
|
|
97
|
+
console.log('不存在流程配置文件,即不使用报建app')
|
|
98
|
+
return
|
|
99
|
+
}
|
|
100
|
+
var data = JSON.parse(result.data)
|
|
101
|
+
console.log('读取报建配置文件成功,存入缓存中的data=>' + JSON.stringify(data))
|
|
102
|
+
Vue.workflow_vue = Vue.prototype.$workflow_vue = data
|
|
103
|
+
} catch (error) {
|
|
104
|
+
// 此处业务数据装载异常不做任何处理,理论上不会有任何异常,只有当app版本端版本较低无readlocalfile时会异常
|
|
105
|
+
console.log(error)
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export default {
|
|
110
|
+
title: '登录系统',
|
|
111
|
+
data() {
|
|
112
|
+
return {
|
|
113
|
+
loaderShow: false,
|
|
114
|
+
config: {},
|
|
115
|
+
weakPassword: false,
|
|
116
|
+
modifyPassword: false,
|
|
117
|
+
ename: '',
|
|
118
|
+
login: 'login',
|
|
119
|
+
password: '',
|
|
120
|
+
showsave: true,
|
|
121
|
+
showauto: '2', // 1 自动登陆 2取消自动登陆
|
|
122
|
+
showpass: false,
|
|
123
|
+
imageurl: require('../assets/miwen.png'),
|
|
124
|
+
deviceIemi: '无法获取该设备码,请联系管理员',
|
|
125
|
+
loginSafe: false,
|
|
126
|
+
margintop: document.documentElement.clientHeight * 0.1
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
|
|
130
|
+
ready() {
|
|
131
|
+
if (Vue.android) {
|
|
132
|
+
const userCache = this.$androidUtil.getPreference('login_user_cache')
|
|
133
|
+
this.showauto = this.$androidUtil.getPreference('auto_login')
|
|
134
|
+
this.showauto = this.showauto ? this.showauto : '2'
|
|
135
|
+
console.log(`自动登陆标识ready:${this.showauto}`)
|
|
136
|
+
if (userCache) {
|
|
137
|
+
const userCacheJSON = JSON.parse(userCache.replace(/\'/g, '\"'))
|
|
138
|
+
this.password = userCacheJSON.password
|
|
139
|
+
this.ename = userCacheJSON.username
|
|
140
|
+
}
|
|
141
|
+
this.deviceIemi = this.$androidUtil.getDeviceIEMI()
|
|
142
|
+
console.log(`手机设备码:${this.deviceIemi}`)
|
|
143
|
+
if (this.showauto == '1' && this.password) {
|
|
144
|
+
this.confirm()
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
methods: {
|
|
149
|
+
success(val) {
|
|
150
|
+
// 修改密码成功
|
|
151
|
+
this.modifyPassword = false
|
|
152
|
+
this.password = val
|
|
153
|
+
},
|
|
154
|
+
// 对资源菜单进行排序
|
|
155
|
+
sortFunctions(val) {
|
|
156
|
+
if (val && val.length > 0) {
|
|
157
|
+
for (var i = 0; i < val.length - 1; i++) {
|
|
158
|
+
for (var j = 0; j < val.length - 1 - i; j++) {
|
|
159
|
+
if (val[j].position > val[j + 1].position) {
|
|
160
|
+
var temp = val[j + 1]
|
|
161
|
+
val[j + 1] = val[j]
|
|
162
|
+
val[j] = temp;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
return val
|
|
167
|
+
}
|
|
168
|
+
return val
|
|
169
|
+
},
|
|
170
|
+
// 记住密码选中/未选中
|
|
171
|
+
showoff() {
|
|
172
|
+
this.showsave = false
|
|
173
|
+
},
|
|
174
|
+
showon() {
|
|
175
|
+
this.showsave = true
|
|
176
|
+
},
|
|
177
|
+
showoff1() {
|
|
178
|
+
this.showauto = '2'
|
|
179
|
+
},
|
|
180
|
+
showon1() {
|
|
181
|
+
this.showauto = '1'
|
|
182
|
+
},
|
|
183
|
+
changepass() {
|
|
184
|
+
this.showpass = this.showpass ? false : true
|
|
185
|
+
if (this.showpass) {
|
|
186
|
+
this.imageurl = require("../assets/mingwen.png")
|
|
187
|
+
} else {
|
|
188
|
+
this.imageurl = require("../assets/miwen.png")
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
async confirm() {
|
|
192
|
+
Vue.$login ={
|
|
193
|
+
f: {}
|
|
194
|
+
}
|
|
195
|
+
this.loaderShow = true
|
|
196
|
+
// 判断用户状态
|
|
197
|
+
let users = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`,{
|
|
198
|
+
data: {items: 'id', tablename: 't_user', orderitem: 'id desc', condition:`ename = '${this.ename}' and (state='在职' or name like '%超级管理员%')`}
|
|
199
|
+
},{resolveMsg: null, rejectMsg: null})
|
|
200
|
+
if (users.data.length == 0) {
|
|
201
|
+
this.loaderShow = false
|
|
202
|
+
this.$showMessage("登陆失败!")
|
|
203
|
+
return
|
|
204
|
+
}else {
|
|
205
|
+
Vue.$login.jwt = users.data[0].id
|
|
206
|
+
}
|
|
207
|
+
console.log('Vue.android:' + Vue.android)
|
|
208
|
+
const userData = {username: this.ename, password: this.password}
|
|
209
|
+
console.log('获取登陆信息:' + userData)
|
|
210
|
+
Vue.dataUrl = this.$androidUtil.getProxyUrl() + "/"
|
|
211
|
+
// rsa加密
|
|
212
|
+
let encrypt = new JSEncrypt();
|
|
213
|
+
encrypt.setPublicKey('MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCqPvovSfXcwBbW8cKMCgwqNpsYuzF8RPAPFb7LGsnVo44JhM/xxzDyzoYtdfNmtbIuKVi9PzIsyp6rg+09gbuI6UGwBZ5DWBDBMqv5MPdOF5dCQkB2Bbr5yPfURPENypUz+pBFBg41d+BC+rwRiXELwKy7Y9caD/MtJyHydj8OUwIDAQAB');
|
|
214
|
+
const userDataEncrypt = encrypt.encrypt(JSON.stringify(userData))
|
|
215
|
+
console.log("加密后的用户登录信息", userDataEncrypt)
|
|
216
|
+
try {
|
|
217
|
+
let ret = {}
|
|
218
|
+
try {
|
|
219
|
+
ret = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/user/userLogin/手机服务`, userDataEncrypt, {
|
|
220
|
+
resolveMsg: null,
|
|
221
|
+
rejectMsg: null
|
|
222
|
+
})
|
|
223
|
+
console.log('获取登陆信息:', ret.data)
|
|
224
|
+
|
|
225
|
+
if ((JSON.stringify(ret.data).startsWith("{") || JSON.stringify(ret.data).data.startsWith("[")) && ret.data.code && ret.data.msg && ret.data.code !== 200) {
|
|
226
|
+
throw {status: ret.data.code, message: ret.data.msg}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
} catch (e) {
|
|
230
|
+
if (Vue.android) {
|
|
231
|
+
this.loaderShow = false
|
|
232
|
+
this.$showMessage(e.message ? e.message : '服务器内部错误!')
|
|
233
|
+
}
|
|
234
|
+
return
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
// 设置登录人
|
|
238
|
+
if ((JSON.stringify(ret.data).startsWith("{") || JSON.stringify(ret.data).data.startsWith("[")) && ret.data.code && ret.data.msg && ret.data.code === 200) {
|
|
239
|
+
Vue.user = Util.f = ret.data.data
|
|
240
|
+
} else {
|
|
241
|
+
Vue.user = Util.f = ret.data
|
|
242
|
+
}
|
|
243
|
+
Vue.$login.f.dir = ret.data.data.dir
|
|
244
|
+
// 对资源菜单进行排序
|
|
245
|
+
let viewDetails = await Vue.resetpost(`${this.$androidUtil.getProxyUrl()}/rs/search`, {
|
|
246
|
+
source: 'this.getRights().where(row.getType()==$function$ && row.getPath($name$).indexOf($功能权限$) != -1)',
|
|
247
|
+
userid: Vue.user.id
|
|
248
|
+
}, {resolveMsg: null, rejectMsg: null})
|
|
249
|
+
const rithtList = viewDetails.data
|
|
250
|
+
Vue.user.r = []
|
|
251
|
+
rithtList.forEach(x => Vue.user.r.push(x.name))
|
|
252
|
+
// 功能排序
|
|
253
|
+
if ((JSON.stringify(ret.data).startsWith("{") || JSON.stringify(ret.data).data.startsWith("[")) && ret.data.code && ret.data.msg && ret.data.code === 200) {
|
|
254
|
+
Vue.functions = this.sortFunctions(ret.data.data.functions)
|
|
255
|
+
} else {
|
|
256
|
+
Vue.functions = this.sortFunctions(ret.data.functions)
|
|
257
|
+
}
|
|
258
|
+
console.log('登陆人信息', JSON.stringify(Vue.user))
|
|
259
|
+
let userStr
|
|
260
|
+
if (Vue.android) {
|
|
261
|
+
console.log(`Device_IEMI:${this.$androidUtil.getPreference('Device_IEMI')}`)
|
|
262
|
+
Vue.$login.jwt = null
|
|
263
|
+
// 判断是否需要验证 设备码
|
|
264
|
+
if (this.$androidUtil.getPreference('Device_IEMI')) {
|
|
265
|
+
console.log(`手机设备码:${this.deviceIemi}`)
|
|
266
|
+
let result = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {
|
|
267
|
+
data: {
|
|
268
|
+
items: '*',
|
|
269
|
+
tablename: 't_equipment',
|
|
270
|
+
orderitem: 'id desc',
|
|
271
|
+
condition: `f_terminal_number = '${this.deviceIemi}' and f_state = '正常'`
|
|
272
|
+
}
|
|
273
|
+
}, {resolveMsg: null, rejectMsg: null})
|
|
274
|
+
console.log(`检测设备码存在是否:${result.data.length}`)
|
|
275
|
+
if (result.data.length == 0) {
|
|
276
|
+
HostApp.alert('设备码未绑定,请联系管理员!')
|
|
277
|
+
return
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
if (this.showsave) {
|
|
281
|
+
userStr = `{'username':'${this.ename}','password':'${this.password}'}`
|
|
282
|
+
} else {
|
|
283
|
+
userStr = `{'username':'${this.ename}','password':''}`
|
|
284
|
+
}
|
|
285
|
+
console.log(this.showauto)
|
|
286
|
+
this.$androidUtil.setPreference('login_user_cache', userStr)
|
|
287
|
+
this.$androidUtil.setPreference('f_repairman_id', Util.f.id)
|
|
288
|
+
this.$androidUtil.setPreference('f_repairman_name', Util.f.name)
|
|
289
|
+
this.$androidUtil.setPreference('f_role_name', Util.f.f_role_name || '')
|
|
290
|
+
console.log("自动登陆标识" + Util.f.f_role_name)
|
|
291
|
+
console.log(this.showauto)
|
|
292
|
+
this.$androidUtil.setPreference('auto_login', this.showauto)
|
|
293
|
+
}
|
|
294
|
+
// 设置当前登录人信息
|
|
295
|
+
// if ((JSON.stringify(ret.data).startsWith("{") || JSON.stringify(ret.data).startsWith("[")) && ret.data.code && ret.data.msg && ret.data.code === 200) {
|
|
296
|
+
// Vue.$login = {jwt: ret.data.data.id}
|
|
297
|
+
// } else {
|
|
298
|
+
// Vue.$login = {jwt: ret.data.id}
|
|
299
|
+
// }
|
|
300
|
+
// 获取参数
|
|
301
|
+
console.log('获取参数system以及安检参数')
|
|
302
|
+
const flag = await asyncReady(this, this.$androidUtil.getProxyUrl())
|
|
303
|
+
if (!flag) {
|
|
304
|
+
this.loaderShow = false
|
|
305
|
+
console.log('获取参数异常')
|
|
306
|
+
return
|
|
307
|
+
}
|
|
308
|
+
console.log('获取参数结束')
|
|
309
|
+
this.loaderShow = false
|
|
310
|
+
// 弱口令验证
|
|
311
|
+
if (this.weakPassword && !(/^(?:(?=.*[a-zA-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])).*$/.test(this.password))) {
|
|
312
|
+
await this.$showMessage('登录系统: 此账户的密码过于简单,请修改密码后重新登陆!!!', ['confirm'])
|
|
313
|
+
this.modifyPassword = true
|
|
314
|
+
return
|
|
315
|
+
}
|
|
316
|
+
this.$goto('nav-bottom')
|
|
317
|
+
} catch (e) {
|
|
318
|
+
if (Vue.android) {
|
|
319
|
+
this.loaderShow = false
|
|
320
|
+
}
|
|
321
|
+
console.error("登录异常,LoginApp的confirm函数错误", e)
|
|
322
|
+
this.$showMessage("登陆失败!,")
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
},
|
|
326
|
+
watch: {
|
|
327
|
+
'config'(val) {
|
|
328
|
+
Vue.config = val
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
</script>
|
|
333
|
+
<style scoped="">
|
|
334
|
+
.devicetext {
|
|
335
|
+
font: 13px PingFang-SC-Medium;
|
|
336
|
+
position: fixed;
|
|
337
|
+
width: 100%;
|
|
338
|
+
bottom: 13px;
|
|
339
|
+
transform: translate(-50%, -50%);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/*输入框样式*/
|
|
343
|
+
/*@import url(http://fonts.useso.com/css?family=Source+Sans+Pro:200,300);*/
|
|
344
|
+
* {
|
|
345
|
+
box-sizing: border-box;
|
|
346
|
+
margin: 0;
|
|
347
|
+
padding: 0;
|
|
348
|
+
font-weight: 300;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.loginbg {
|
|
352
|
+
font-family: 'Source Sans Pro', sans-serif;
|
|
353
|
+
color: white;
|
|
354
|
+
font-weight: 300;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.loginbg ::-webkit-input-placeholder {
|
|
358
|
+
/* WebKit browsers */
|
|
359
|
+
font-family: 'Source Sans Pro', sans-serif;
|
|
360
|
+
color: white;
|
|
361
|
+
font-weight: 300;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.loginbg :-moz-placeholder {
|
|
365
|
+
/* Mozilla Firefox 4 to 18 */
|
|
366
|
+
font-family: 'Source Sans Pro', sans-serif;
|
|
367
|
+
color: white;
|
|
368
|
+
opacity: 1;
|
|
369
|
+
font-weight: 300;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.loginbg ::-moz-placeholder {
|
|
373
|
+
/* Mozilla Firefox 19+ */
|
|
374
|
+
font-family: 'Source Sans Pro', sans-serif;
|
|
375
|
+
color: white;
|
|
376
|
+
opacity: 1;
|
|
377
|
+
font-weight: 300;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.loginbg :-ms-input-placeholder {
|
|
381
|
+
/* Internet Explorer 10+ */
|
|
382
|
+
font-family: 'Source Sans Pro', sans-serif;
|
|
383
|
+
color: white;
|
|
384
|
+
font-weight: 300;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.wrapper {
|
|
388
|
+
/*background: #2D83BA;
|
|
389
|
+
background: -webkit-linear-gradient(top left, #2D83BA 0%, #2D83BA 100%);
|
|
390
|
+
background: linear-gradient(to bottom right, #2D83BA 0%, #2D83BA 100%);
|
|
391
|
+
opacity: 0.8;*/
|
|
392
|
+
/*position: absolute;*/
|
|
393
|
+
/*top: 50%;
|
|
394
|
+
right: 10%;
|
|
395
|
+
width: 40%;
|
|
396
|
+
height: 350px;
|
|
397
|
+
margin-top: -150px;*/
|
|
398
|
+
overflow: hidden;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.wrapper.form-success .container h3 {
|
|
402
|
+
-webkit-transform: translateY(85px);
|
|
403
|
+
-ms-transform: translateY(85px);
|
|
404
|
+
transform: translateY(85px);
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.container {
|
|
408
|
+
/*max-width: 350px;*/
|
|
409
|
+
margin: 0 auto;
|
|
410
|
+
/*padding: 30px 100px 50px 100px;
|
|
411
|
+
height: 350px;*/
|
|
412
|
+
text-align: center;
|
|
413
|
+
/*以下增加*/
|
|
414
|
+
/*background: #2D83BA;
|
|
415
|
+
background: -webkit-linear-gradient(top left, #2D83BA 0%, #2D83BA 100%);
|
|
416
|
+
background: linear-gradient(to bottom right, #2D83BA 0%, #2D83BA 100%);*/
|
|
417
|
+
opacity: 0.8;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.container h3 {
|
|
421
|
+
font-size: 40px;
|
|
422
|
+
-webkit-transition-duration: 1s;
|
|
423
|
+
transition-duration: 1s;
|
|
424
|
+
-webkit-transition-timing-function: ease-in-out;
|
|
425
|
+
transition-timing-function: ease-in-out;
|
|
426
|
+
font-weight: 200;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.form {
|
|
430
|
+
padding: 20px 0;
|
|
431
|
+
/*margin-top: 15%;*/
|
|
432
|
+
position: relative;
|
|
433
|
+
z-index: 2;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
.form input {
|
|
437
|
+
-webkit-appearance: none;
|
|
438
|
+
-moz-appearance: none;
|
|
439
|
+
appearance: none;
|
|
440
|
+
outline: 0;
|
|
441
|
+
border: 1px solid #50ABE6;
|
|
442
|
+
background-color: #50ABE6;
|
|
443
|
+
width: 250px;
|
|
444
|
+
border-radius: 3px;
|
|
445
|
+
padding: 10px 15px;
|
|
446
|
+
margin: 0 auto 10px auto;
|
|
447
|
+
display: block;
|
|
448
|
+
text-align: center;
|
|
449
|
+
font-size: 18px;
|
|
450
|
+
color: white;
|
|
451
|
+
-webkit-transition-duration: 0.25s;
|
|
452
|
+
transition-duration: 0.25s;
|
|
453
|
+
font-weight: 300;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.form input:hover {
|
|
457
|
+
background-color: rgba(255, 255, 255, 0.4);
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.form input:focus {
|
|
461
|
+
background-color: white;
|
|
462
|
+
width: 300px;
|
|
463
|
+
color: #53e3a6;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
.usericon {
|
|
467
|
+
background-image: url(../assets/usericon.png);
|
|
468
|
+
background-repeat: no-repeat;
|
|
469
|
+
background-size: 30px;
|
|
470
|
+
background-position-x: 8px;
|
|
471
|
+
background-position-y: 8px;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
.psicon {
|
|
475
|
+
background-image: url(../assets/psicon.png);
|
|
476
|
+
background-repeat: no-repeat;
|
|
477
|
+
background-size: 30px;
|
|
478
|
+
background-position-x: 8px;
|
|
479
|
+
background-position-y: 8px;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.form button {
|
|
483
|
+
-webkit-appearance: none;
|
|
484
|
+
-moz-appearance: none;
|
|
485
|
+
appearance: none;
|
|
486
|
+
outline: 0;
|
|
487
|
+
background-color: white;
|
|
488
|
+
border: 0;
|
|
489
|
+
padding: 10px 15px;
|
|
490
|
+
color: #253830;
|
|
491
|
+
border-radius: 3px;
|
|
492
|
+
width: 250px;
|
|
493
|
+
cursor: pointer;
|
|
494
|
+
font-size: 18px;
|
|
495
|
+
-webkit-transition-duration: 0.25s;
|
|
496
|
+
transition-duration: 0.25s;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.form button:hover {
|
|
500
|
+
background-color: #f5f7f9;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
/*注册字体样式*/
|
|
504
|
+
.form span {
|
|
505
|
+
color: #fff;
|
|
506
|
+
display: table-footer-group;
|
|
507
|
+
position: absolute;
|
|
508
|
+
right: 10px;
|
|
509
|
+
margin-top: 10px;
|
|
510
|
+
cursor: pointer;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.logotitle {
|
|
514
|
+
color: #fff;
|
|
515
|
+
position: absolute;
|
|
516
|
+
top: 50px;
|
|
517
|
+
left: 50px;
|
|
518
|
+
font-size: 50px;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
/*注册模态框界面样式*/
|
|
522
|
+
.modifystyle {
|
|
523
|
+
background: #FCFEEE;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
.modifystyle div {
|
|
527
|
+
height: auto;
|
|
528
|
+
margin-bottom: 15px;
|
|
529
|
+
/*text-align: center;*/
|
|
530
|
+
/*margin-left: 20%;*/
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
/*bootstrap字体图标要手动调整,所以使用字体图标的span必须紧跟在input后面,负责会错位*/
|
|
534
|
+
.modifystyle div input + span {
|
|
535
|
+
top: 0 !important;
|
|
536
|
+
right: 32%;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
.modifystyle span {
|
|
540
|
+
color: red;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
/* 通告区内容 */
|
|
544
|
+
.notice-board {
|
|
545
|
+
height: auto;
|
|
546
|
+
position: absolute;
|
|
547
|
+
top: 50%;
|
|
548
|
+
margin-top: -150px;
|
|
549
|
+
margin-left: 100px;
|
|
550
|
+
color: #fff;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
/*修改密码底部按钮部分样式*/
|
|
554
|
+
.footerbtn {
|
|
555
|
+
text-align: center;
|
|
556
|
+
padding: 15px;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
.footerbtn button {
|
|
560
|
+
width: 100px;
|
|
561
|
+
margin-left: 20px;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
.bg-bubbles {
|
|
565
|
+
position: absolute;
|
|
566
|
+
top: 0;
|
|
567
|
+
left: 0;
|
|
568
|
+
width: 100%;
|
|
569
|
+
height: 100%;
|
|
570
|
+
z-index: 1;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
.bg-bubbles li {
|
|
574
|
+
position: absolute;
|
|
575
|
+
list-style: none;
|
|
576
|
+
display: block;
|
|
577
|
+
width: 40px;
|
|
578
|
+
height: 40px;
|
|
579
|
+
background-color: rgba(255, 255, 255, 0.15);
|
|
580
|
+
bottom: -160px;
|
|
581
|
+
-webkit-animation: square 25s infinite;
|
|
582
|
+
animation: square 25s infinite;
|
|
583
|
+
-webkit-transition-timing-function: linear;
|
|
584
|
+
transition-timing-function: linear;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
.bg-bubbles li:nth-child(1) {
|
|
588
|
+
left: 10%;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
.bg-bubbles li:nth-child(2) {
|
|
592
|
+
left: 20%;
|
|
593
|
+
width: 80px;
|
|
594
|
+
height: 80px;
|
|
595
|
+
-webkit-animation-delay: 2s;
|
|
596
|
+
animation-delay: 2s;
|
|
597
|
+
-webkit-animation-duration: 17s;
|
|
598
|
+
animation-duration: 17s;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
.bg-bubbles li:nth-child(3) {
|
|
602
|
+
left: 25%;
|
|
603
|
+
-webkit-animation-delay: 4s;
|
|
604
|
+
animation-delay: 4s;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
.bg-bubbles li:nth-child(4) {
|
|
608
|
+
left: 40%;
|
|
609
|
+
width: 60px;
|
|
610
|
+
height: 60px;
|
|
611
|
+
-webkit-animation-duration: 22s;
|
|
612
|
+
animation-duration: 22s;
|
|
613
|
+
background-color: rgba(255, 255, 255, 0.25);
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
.bg-bubbles li:nth-child(5) {
|
|
617
|
+
left: 70%;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
.bg-bubbles li:nth-child(6) {
|
|
621
|
+
left: 80%;
|
|
622
|
+
width: 120px;
|
|
623
|
+
height: 120px;
|
|
624
|
+
-webkit-animation-delay: 3s;
|
|
625
|
+
animation-delay: 3s;
|
|
626
|
+
background-color: rgba(255, 255, 255, 0.2);
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
.bg-bubbles li:nth-child(7) {
|
|
630
|
+
left: 32%;
|
|
631
|
+
width: 160px;
|
|
632
|
+
height: 160px;
|
|
633
|
+
-webkit-animation-delay: 7s;
|
|
634
|
+
animation-delay: 7s;
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
.bg-bubbles li:nth-child(8) {
|
|
638
|
+
left: 55%;
|
|
639
|
+
width: 20px;
|
|
640
|
+
height: 20px;
|
|
641
|
+
-webkit-animation-delay: 15s;
|
|
642
|
+
animation-delay: 15s;
|
|
643
|
+
-webkit-animation-duration: 40s;
|
|
644
|
+
animation-duration: 40s;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
.bg-bubbles li:nth-child(9) {
|
|
648
|
+
left: 25%;
|
|
649
|
+
width: 10px;
|
|
650
|
+
height: 10px;
|
|
651
|
+
-webkit-animation-delay: 2s;
|
|
652
|
+
animation-delay: 2s;
|
|
653
|
+
-webkit-animation-duration: 40s;
|
|
654
|
+
animation-duration: 40s;
|
|
655
|
+
background-color: rgba(255, 255, 255, 0.3);
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
.bg-bubbles li:nth-child(10) {
|
|
659
|
+
left: 90%;
|
|
660
|
+
width: 160px;
|
|
661
|
+
height: 160px;
|
|
662
|
+
-webkit-animation-delay: 11s;
|
|
663
|
+
animation-delay: 11s;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
@-webkit-keyframes square {
|
|
667
|
+
0% {
|
|
668
|
+
-webkit-transform: translateY(0);
|
|
669
|
+
transform: translateY(0);
|
|
670
|
+
}
|
|
671
|
+
100% {
|
|
672
|
+
-webkit-transform: translateY(-700px) rotate(600deg);
|
|
673
|
+
transform: translateY(-700px) rotate(600deg);
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
@keyframes square {
|
|
678
|
+
0% {
|
|
679
|
+
-webkit-transform: translateY(0);
|
|
680
|
+
transform: translateY(0);
|
|
681
|
+
}
|
|
682
|
+
100% {
|
|
683
|
+
-webkit-transform: translateY(-700px) rotate(600deg);
|
|
684
|
+
transform: translateY(-700px) rotate(600deg);
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
.loading {
|
|
689
|
+
width: 36%;
|
|
690
|
+
height: 7%;
|
|
691
|
+
position: absolute;
|
|
692
|
+
top: 30%;
|
|
693
|
+
left: 32%;
|
|
694
|
+
line-height: 56px;
|
|
695
|
+
color: #fff;
|
|
696
|
+
padding-left: 60px;
|
|
697
|
+
font-size: 15px;
|
|
698
|
+
background: #000 url(../assets/loging.gif) no-repeat 10px 50%;
|
|
699
|
+
opacity: 0.7;
|
|
700
|
+
z-index: 9999;
|
|
701
|
+
-moz-border-radius: 20px;
|
|
702
|
+
-webkit-border-radius: 20px;
|
|
703
|
+
border-radius: 20px;
|
|
704
|
+
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70);
|
|
705
|
+
}
|
|
706
|
+
</style>
|