system-phone 3.1.1 → 3.1.4

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