system-phone 3.1.1 → 3.1.2

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 (103) 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/yulinyuchuan/AlreadyService.vue +194 -194
  78. package/src/filiale/yulinyuchuan/AttendManage.vue +537 -537
  79. package/src/filiale/yulinyuchuan/LoginApp.vue +741 -741
  80. package/src/filiale/yulinyuchuan/OnlineManage.vue +256 -256
  81. package/src/filiale/yulinyuchuan/SystemSetUp.vue +332 -332
  82. package/src/filiale/yulinyuchuan/UploadManage.vue +195 -195
  83. package/src/filiale/yulinyuchuan/systemphonegrid.js +9 -9
  84. package/src/filiale/yulinyuchuanTY/AlreadyService.vue +194 -0
  85. package/src/filiale/yulinyuchuanTY/AttendManage.vue +537 -0
  86. package/src/filiale/yulinyuchuanTY/LoginApp.vue +741 -0
  87. package/src/filiale/yulinyuchuanTY/OnlineManage.vue +256 -0
  88. package/src/filiale/yulinyuchuanTY/SystemSetUp.vue +332 -0
  89. package/src/filiale/yulinyuchuanTY/UploadManage.vue +195 -0
  90. package/src/filiale/yulinyuchuanTY/systemphonegrid.js +9 -0
  91. package/src/index.js +9 -9
  92. package/src/main.js +38 -38
  93. package/src/plugins/const.js +404 -404
  94. package/src/plugins/vue-py.js +37 -37
  95. package/src/stores/AppData.js +79 -79
  96. package/src/systemphone-gaomi.js +105 -105
  97. package/src/systemphone.js +60 -60
  98. package/src/systemphonegrid.js +185 -185
  99. package/src/util/LdapHelper.js +75 -75
  100. package/static/const.js +404 -404
  101. package/static/layui/font/iconfont.svg +554 -554
  102. package/static/vue-py.js +37 -37
  103. package/static/wasm_exec.js +465 -465
@@ -1,587 +1,587 @@
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"><img :src="imageurl" style="width: 20px;margin-bottom: 5px;position: absolute;left: 62%;bottom: 43%;" alt="" @click="changepass()">
11
- <button type="button" id="login-button" @click.prevent="confirm()"><strong>登录</strong></button>
12
- </p>
13
- <div class="row">
14
- <img src="../assets/选中.png" style="width: 20px;margin-bottom: 5px" alt="" v-if="showsave"@click="showoff()">
15
- <img src="../assets/未选.png" style="width: 20px;margin-bottom: 5px" alt="" v-if="!showsave" @click="showon()">
16
- <span class="text-left font">记住密码</span>
17
- <img src="../assets/选中.png" style="width: 20px;margin-bottom: 5px" alt="" v-if="showauto == '1'"@click="showoff1()">
18
- <img src="../assets/未选.png" style="width: 20px;margin-bottom: 5px" alt="" v-if="showauto == '2'" @click="showon1()">
19
- <span class="text-left font">自动登录</span>
20
- <p></p>
21
- <span class="devicetext">设备码:{{deviceIemi}}</span>
22
- </div>
23
- </div>
24
- </div>
25
- </div>
26
- <!--<load-appdata @ready="onReady"></load-appdata>-->
27
- <div style="width: 100%;height: 100%;position: fixed;top: 0px;" v-show="loaderShow">
28
- <div id="loading" class="loading">登陆中...</div>
29
- </div>
30
- </div>
31
- </template>
32
- <script>
33
- import Vue from 'vue'
34
- import * as Util from '../Util'
35
- import JSEncrypt from 'jsencrypt'
36
- import $ from 'jquery'
37
- import co from 'co'
38
- //获取json配置文件
39
- let asyncReady = async function(self,url) {
40
- // 获取配置信息
41
- try {
42
- // console.log(`获取参数信息++++${Vue.user.f_orgids}+++++${Vue.androidUtil.getProxyUrl()}`)
43
- await self.$appdata.load()
44
- let that = self
45
- let res = await Vue.resetget(`${url}/phone/rs/vue`,{data: {}},{resolveMsg: null, rejectMsg: null})
46
- that.$set('config',res.data)
47
- Vue.config2 = res.data
48
- console.log("手机端获取.json文件")
49
- console.log(JSON.stringify(self.config))
50
- } catch (error) {
51
- // 此处业务数据装载异常不做任何处理,理论上不会有任何异常
52
- console.log(error)
53
- }
54
- }
55
-
56
- //装载业务数据
57
- let asyncLoadData = async function(self,url) {
58
- try {
59
- // 读取报建本地配置文件
60
- var result = HostApp.readLocalFile('workflow_apply.json')
61
- if(result.code == 500){
62
- console.log('不存在流程配置文件,即不使用报建app')
63
- return
64
- }
65
- var data = JSON.parse(result.data)
66
- console.log('读取报建配置文件成功,存入缓存中的data=>' + JSON.stringify(data))
67
- Vue.workflow_vue = Vue.prototype.$workflow_vue = data
68
- } catch (error) {
69
- // 此处业务数据装载异常不做任何处理,理论上不会有任何异常,只有当app版本端版本较低无readlocalfile时会异常
70
- console.log(error)
71
- }
72
- }
73
-
74
- export default {
75
- title: '登录系统',
76
- data() {
77
- return {
78
- loaderShow:false,
79
- config:{},
80
- ename: '',
81
- password: '',
82
- showsave:true,
83
- continueLogin:true,
84
- showauto:'2', // 1 自动登陆 2取消自动登陆
85
- showpass:false,
86
- imageurl:require('../assets/miwen.png'),
87
- deviceIemi:'无法获取该设备码,请联系管理员',
88
- loginSafe:false,
89
- margintop: document.documentElement.clientHeight * 0.1
90
- }
91
- },
92
-
93
- ready () {
94
- if(Vue.android) {
95
- let userPp1 = this.$androidUtil.getPreference('login_user_cache')
96
- this.showauto = this.$androidUtil.getPreference('auto_login')
97
- this.showauto = this.showauto ? this.showauto : '2'
98
- console.log(`自动登陆标识ready:${this.showauto}`)
99
- if(userPp1){
100
- console.log(`1返回值是:${userPp1}`)
101
- userPp1 = userPp1.replace(/\'/g,'\"')
102
- console.log(`2返回值是:${userPp1}`)
103
- let userZs = JSON.parse(userPp1)
104
- this.password = userZs.password
105
- this.ename = userZs.username
106
- }
107
- this.deviceIemi = this.$androidUtil.getDeviceIEMI()
108
- console.log(`手机设备码:${this.deviceIemi}`)
109
- if(this.showauto == '1' && this.password){
110
- this.confirm()
111
- }
112
- }
113
-
114
- // if(Vue.android) {
115
- // let version = HostApp.getAppVersion().data
116
- // this.$set('version', version)
117
- // }
118
- },
119
- methods: {
120
- // 对资源菜单进行排序
121
- sortFunctions(val){
122
- if(val && val.length > 0){
123
- for(var i = 0;i<val.length-1;i++){
124
- for(var j = 0;j<val.length-1-i;j++){
125
- if(val[j].position > val[j+1].position){
126
- var temp = val[j+1]
127
- val[j+1] = val[j]
128
- val[j] = temp;
129
- }
130
- }
131
- }
132
- return val
133
- }
134
- return val
135
- },
136
- // 记住密码选中/未选中
137
- showoff(){
138
- this.showsave = false
139
- },
140
- showon(){
141
- this.showsave = true
142
- },
143
- showoff1(){
144
- this.showauto = '2'
145
- },
146
- showon1(){
147
- this.showauto = '1'
148
- },
149
- changepass(){
150
- this.showpass=this.showpass?false:true
151
- if(this.showpass){
152
- this.imageurl=require("../assets/mingwen.png")
153
- }else{
154
- this.imageurl=require("../assets/miwen.png")
155
- }
156
-
157
- },
158
- async confirm() {
159
- this.loaderShow=true
160
- console.log('Vue.android:' + Vue.android)
161
- let data = {username: this.ename, password: this.password}
162
- console.log('获取登陆信息:' + data)
163
- Vue.dataUrl = this.$androidUtil.getProxyUrl() + "/"
164
- // rsa加密
165
- let encrypt = new JSEncrypt();
166
- encrypt.setPublicKey('MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCqPvovSfXcwBbW8cKMCgwqNpsYuzF8RPAPFb7LGsnVo44JhM/xxzDyzoYtdfNmtbIuKVi9PzIsyp6rg+09gbuI6UGwBZ5DWBDBMqv5MPdOF5dCQkB2Bbr5yPfURPENypUz+pBFBg41d+BC+rwRiXELwKy7Y9caD/MtJyHydj8OUwIDAQAB');
167
- data = encrypt.encrypt(JSON.stringify(data))
168
- console.log(data)
169
- //try {
170
- let ret={}
171
- //try {
172
- try{
173
- ret = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/user/userLogin/手机服务`, data, {
174
- resolveMsg: null,
175
- rejectMsg: null
176
- })
177
- console.log('获取登陆信息:' + JSON.stringify(ret.data) )
178
- console.log('当前登录维修员:' + ret.data.name)
179
- }catch (e) {
180
- this.$showMessage("登陆失败,请检查账号密码后重新登录!")
181
- this.loaderShow=false
182
- return
183
- }
184
- console.log('获取参数system以及安检参数')
185
- await asyncReady(this,this.$androidUtil.getProxyUrl())
186
- console.log("this.continueLogin"+this.continueLogin)
187
- if(!this.continueLogin){
188
- this.$showMessage("获取配置文件失败,请检查网络状况后重新登录!(如网络状况正常,请联系管理员处理)")
189
- this.loaderShow=false
190
- return
191
- }
192
- console.log('获取参数结束')
193
- // 设置登录人
194
- Vue.user = Util.f = ret.data
195
- // 对资源菜单进行排序
196
- Vue.functions = this.sortFunctions(ret.data.functions)
197
- console.log('登陆人信息',JSON.stringify(Vue.user))
198
- let userStr
199
- if (Vue.android){
200
- console.log(`Device_IEMI:${this.$androidUtil.getPreference('Device_IEMI')}`)
201
- // 判断是否需要验证 设备码
202
- if(this.$androidUtil.getPreference('Device_IEMI')){
203
- console.log(`手机设备码:${this.deviceIemi}`)
204
- let result = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`,{data: {items: '*', tablename: 't_equipment', orderitem: 'id desc', condition:`f_terminal_number = '${this.deviceIemi}' and f_state = '正常'`}},{resolveMsg: null, rejectMsg: null})
205
- console.log(`检测设备码存在是否:${result.data.length}`)
206
- if(result.data.length == 0){
207
- HostApp.alert('设备码未绑定,请联系管理员!')
208
- return
209
- }
210
- }
211
- if(this.showsave){
212
- userStr = `{'username':'${this.ename}','password':'${this.password}'}`
213
- }else{
214
- userStr = `{'username':'${this.ename}','password':''}`
215
- }
216
- console.log(this.showauto)
217
- this.$androidUtil.setPreference('login_user_cache', userStr)
218
- this.$androidUtil.setPreference('f_repairman_id', Util.f.id)
219
- this.$androidUtil.setPreference('f_repairman_name', Util.f.name)
220
- console.log("自动登陆标识")
221
- console.log(this.showauto)
222
- this.$androidUtil.setPreference('auto_login',this.showauto)
223
- }
224
- Vue.$login = {jwt: ret.data.id}
225
- // 获取参数
226
- /*console.log('获取参数system以及安检参数')
227
- asyncReady(this,this.$androidUtil.getProxyUrl())
228
- console.log('获取参数结束')*/
229
-
230
- // console.log('登陆验证成功时装载业务数据')
231
- // asyncLoadData()
232
- // console.log('装载业务数据结束')
233
- this.loaderShow=false
234
- this.$goto('nav-bottom')
235
- /*}catch (e) {
236
- if (Vue.android)
237
- this.loaderShow=false
238
- HostApp.alert('登录失败!')
239
- }*/
240
- },
241
- // readConfig (url) {
242
- // let gen =
243
- // return co(gen)
244
- // },
245
- },
246
- watch:{
247
- 'config'(val){
248
- Vue.config = val
249
- }
250
- }
251
- }
252
- </script>
253
- <style scoped="">
254
- .devicetext {
255
- font: 13px PingFang-SC-Medium;
256
- position:fixed;
257
- width:100%;
258
- bottom:13px;
259
- transform: translate(-50%, -50%);
260
- }
261
- /*输入框样式*/
262
- /*@import url(http://fonts.useso.com/css?family=Source+Sans+Pro:200,300);*/
263
- * {
264
- box-sizing: border-box;
265
- margin: 0;
266
- padding: 0;
267
- font-weight: 300;
268
- }
269
- .loginbg {
270
- font-family: 'Source Sans Pro', sans-serif;
271
- color: white;
272
- font-weight: 300;
273
- }
274
- .loginbg ::-webkit-input-placeholder {
275
- /* WebKit browsers */
276
- font-family: 'Source Sans Pro', sans-serif;
277
- color: white;
278
- font-weight: 300;
279
- }
280
- .loginbg :-moz-placeholder {
281
- /* Mozilla Firefox 4 to 18 */
282
- font-family: 'Source Sans Pro', sans-serif;
283
- color: white;
284
- opacity: 1;
285
- font-weight: 300;
286
- }
287
- .loginbg ::-moz-placeholder {
288
- /* Mozilla Firefox 19+ */
289
- font-family: 'Source Sans Pro', sans-serif;
290
- color: white;
291
- opacity: 1;
292
- font-weight: 300;
293
- }
294
- .loginbg :-ms-input-placeholder {
295
- /* Internet Explorer 10+ */
296
- font-family: 'Source Sans Pro', sans-serif;
297
- color: white;
298
- font-weight: 300;
299
- }
300
- .wrapper {
301
- /*background: #2D83BA;
302
- background: -webkit-linear-gradient(top left, #2D83BA 0%, #2D83BA 100%);
303
- background: linear-gradient(to bottom right, #2D83BA 0%, #2D83BA 100%);
304
- opacity: 0.8;*/
305
- /*position: absolute;*/
306
- /*top: 50%;
307
- right: 10%;
308
- width: 40%;
309
- height: 350px;
310
- margin-top: -150px;*/
311
- overflow: hidden;
312
- }
313
-
314
- .wrapper.form-success .container h3{
315
- -webkit-transform: translateY(85px);
316
- -ms-transform: translateY(85px);
317
- transform: translateY(85px);
318
- }
319
- .container {
320
- /*max-width: 350px;*/
321
- margin: 0 auto;
322
- /*padding: 30px 100px 50px 100px;
323
- height: 350px;*/
324
- text-align: center;
325
- /*以下增加*/
326
- /*background: #2D83BA;
327
- background: -webkit-linear-gradient(top left, #2D83BA 0%, #2D83BA 100%);
328
- background: linear-gradient(to bottom right, #2D83BA 0%, #2D83BA 100%);*/
329
- opacity: 0.8;
330
- }
331
- .container h3{
332
- font-size: 40px;
333
- -webkit-transition-duration: 1s;
334
- transition-duration: 1s;
335
- -webkit-transition-timing-function: ease-in-put;
336
- transition-timing-function: ease-in-put;
337
- font-weight: 200;
338
- }
339
- .form {
340
- padding: 20px 0;
341
- /*margin-top: 15%;*/
342
- position: relative;
343
- z-index: 2;
344
- }
345
- .form input {
346
- -webkit-appearance: none;
347
- -moz-appearance: none;
348
- appearance: none;
349
- outline: 0;
350
- border: 1px solid #50ABE6;
351
- background-color: #50ABE6;
352
- width: 250px;
353
- border-radius: 3px;
354
- padding: 10px 15px;
355
- margin: 0 auto 10px auto;
356
- display: block;
357
- text-align: center;
358
- font-size: 18px;
359
- color: white;
360
- -webkit-transition-duration: 0.25s;
361
- transition-duration: 0.25s;
362
- font-weight: 300;
363
- }
364
- .form input:hover {
365
- background-color: rgba(255, 255, 255, 0.4);
366
- }
367
- .form input:focus {
368
- background-color: white;
369
- width: 300px;
370
- color: #53e3a6;
371
- }
372
- .usericon {
373
- background-image: url(../assets/usericon.png);
374
- background-repeat: no-repeat;
375
- background-size: 30px;
376
- background-position-x: 8px;
377
- background-position-y: 8px;
378
- }
379
- .psicon {
380
- background-image: url(../assets/psicon.png);
381
- background-repeat: no-repeat;
382
- background-size: 30px;
383
- background-position-x: 8px;
384
- background-position-y: 8px;
385
- }
386
- .form button {
387
- -webkit-appearance: none;
388
- -moz-appearance: none;
389
- appearance: none;
390
- outline: 0;
391
- background-color: white;
392
- border: 0;
393
- padding: 10px 15px;
394
- color: #253830;
395
- border-radius: 3px;
396
- width: 250px;
397
- cursor: pointer;
398
- font-size: 18px;
399
- -webkit-transition-duration: 0.25s;
400
- transition-duration: 0.25s;
401
- }
402
- .form button:hover {
403
- background-color: #f5f7f9;
404
- }
405
-
406
- /*注册字体样式*/
407
- .form span {
408
- color: #fff;
409
- display: table-footer-group;
410
- position: absolute;
411
- right: 10px;
412
- margin-top: 10px;
413
- cursor: pointer;
414
- }
415
- .logotitle {
416
- color: #fff;
417
- position: absolute;
418
- top: 50px;
419
- left: 50px;
420
- font-size: 50px;
421
- }
422
- /*注册模态框界面样式*/
423
- .modifystyle {
424
- background: #FCFEEE;
425
- }
426
- .modifystyle div{
427
- height: auto;
428
- margin-bottom: 15px;
429
- /*text-align: center;*/
430
- /*margin-left: 20%;*/
431
- }
432
- /*bootstrap字体图标要手动调整,所以使用字体图标的span必须紧跟在input后面,负责会错位*/
433
- .modifystyle div input + span{
434
- top: 0!important;
435
- right: 32%;
436
- }
437
- .modifystyle span{
438
- color: red;
439
- }
440
-
441
- /* 通告区内容 */
442
- .notice-board {
443
- height: auto;
444
- position: absolute;
445
- top: 50%;
446
- margin-top: -150px;
447
- margin-left: 100px;
448
- color: #fff;
449
- }
450
- /*修改密码底部按钮部分样式*/
451
- .footerbtn {
452
- text-align: center;
453
- padding: 15px;
454
- }
455
- .footerbtn button {
456
- width: 100px;
457
- margin-left: 20px;
458
- }
459
- .bg-bubbles {
460
- position: absolute;
461
- top: 0;
462
- left: 0;
463
- width: 100%;
464
- height: 100%;
465
- z-index: 1;
466
- }
467
- .bg-bubbles li {
468
- position: absolute;
469
- list-style: none;
470
- display: block;
471
- width: 40px;
472
- height: 40px;
473
- background-color: rgba(255, 255, 255, 0.15);
474
- bottom: -160px;
475
- -webkit-animation: square 25s infinite;
476
- animation: square 25s infinite;
477
- -webkit-transition-timing-function: linear;
478
- transition-timing-function: linear;
479
- }
480
- .bg-bubbles li:nth-child(1) {
481
- left: 10%;
482
- }
483
- .bg-bubbles li:nth-child(2) {
484
- left: 20%;
485
- width: 80px;
486
- height: 80px;
487
- -webkit-animation-delay: 2s;
488
- animation-delay: 2s;
489
- -webkit-animation-duration: 17s;
490
- animation-duration: 17s;
491
- }
492
- .bg-bubbles li:nth-child(3) {
493
- left: 25%;
494
- -webkit-animation-delay: 4s;
495
- animation-delay: 4s;
496
- }
497
- .bg-bubbles li:nth-child(4) {
498
- left: 40%;
499
- width: 60px;
500
- height: 60px;
501
- -webkit-animation-duration: 22s;
502
- animation-duration: 22s;
503
- background-color: rgba(255, 255, 255, 0.25);
504
- }
505
- .bg-bubbles li:nth-child(5) {
506
- left: 70%;
507
- }
508
- .bg-bubbles li:nth-child(6) {
509
- left: 80%;
510
- width: 120px;
511
- height: 120px;
512
- -webkit-animation-delay: 3s;
513
- animation-delay: 3s;
514
- background-color: rgba(255, 255, 255, 0.2);
515
- }
516
- .bg-bubbles li:nth-child(7) {
517
- left: 32%;
518
- width: 160px;
519
- height: 160px;
520
- -webkit-animation-delay: 7s;
521
- animation-delay: 7s;
522
- }
523
- .bg-bubbles li:nth-child(8) {
524
- left: 55%;
525
- width: 20px;
526
- height: 20px;
527
- -webkit-animation-delay: 15s;
528
- animation-delay: 15s;
529
- -webkit-animation-duration: 40s;
530
- animation-duration: 40s;
531
- }
532
- .bg-bubbles li:nth-child(9) {
533
- left: 25%;
534
- width: 10px;
535
- height: 10px;
536
- -webkit-animation-delay: 2s;
537
- animation-delay: 2s;
538
- -webkit-animation-duration: 40s;
539
- animation-duration: 40s;
540
- background-color: rgba(255, 255, 255, 0.3);
541
- }
542
- .bg-bubbles li:nth-child(10) {
543
- left: 90%;
544
- width: 160px;
545
- height: 160px;
546
- -webkit-animation-delay: 11s;
547
- animation-delay: 11s;
548
- }
549
- @-webkit-keyframes square {
550
- 0% {
551
- -webkit-transform: translateY(0);
552
- transform: translateY(0);
553
- }
554
- 100% {
555
- -webkit-transform: translateY(-700px) rotate(600deg);
556
- transform: translateY(-700px) rotate(600deg);
557
- }
558
- }
559
- @keyframes square {
560
- 0% {
561
- -webkit-transform: translateY(0);
562
- transform: translateY(0);
563
- }
564
- 100% {
565
- -webkit-transform: translateY(-700px) rotate(600deg);
566
- transform: translateY(-700px) rotate(600deg);
567
- }
568
- }
569
- .loading {
570
- width: 36%;
571
- height: 7%;
572
- position: absolute;
573
- top: 30%;
574
- left: 32%;
575
- line-height: 56px;
576
- color: #fff;
577
- padding-left: 60px;
578
- font-size: 15px;
579
- background: #000 url(../assets/loging.gif) no-repeat 10px 50%;
580
- opacity: 0.7;
581
- z-index: 9999;
582
- -moz-border-radius: 20px;
583
- -webkit-border-radius: 20px;
584
- border-radius: 20px;
585
- filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70);
586
- }
587
- </style>
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"><img :src="imageurl" style="width: 20px;margin-bottom: 5px;position: absolute;left: 62%;bottom: 43%;" alt="" @click="changepass()">
11
+ <button type="button" id="login-button" @click.prevent="confirm()"><strong>登录</strong></button>
12
+ </p>
13
+ <div class="row">
14
+ <img src="../assets/选中.png" style="width: 20px;margin-bottom: 5px" alt="" v-if="showsave"@click="showoff()">
15
+ <img src="../assets/未选.png" style="width: 20px;margin-bottom: 5px" alt="" v-if="!showsave" @click="showon()">
16
+ <span class="text-left font">记住密码</span>
17
+ <img src="../assets/选中.png" style="width: 20px;margin-bottom: 5px" alt="" v-if="showauto == '1'"@click="showoff1()">
18
+ <img src="../assets/未选.png" style="width: 20px;margin-bottom: 5px" alt="" v-if="showauto == '2'" @click="showon1()">
19
+ <span class="text-left font">自动登录</span>
20
+ <p></p>
21
+ <span class="devicetext">设备码:{{deviceIemi}}</span>
22
+ </div>
23
+ </div>
24
+ </div>
25
+ </div>
26
+ <!--<load-appdata @ready="onReady"></load-appdata>-->
27
+ <div style="width: 100%;height: 100%;position: fixed;top: 0px;" v-show="loaderShow">
28
+ <div id="loading" class="loading">登陆中...</div>
29
+ </div>
30
+ </div>
31
+ </template>
32
+ <script>
33
+ import Vue from 'vue'
34
+ import * as Util from '../Util'
35
+ import JSEncrypt from 'jsencrypt'
36
+ import $ from 'jquery'
37
+ import co from 'co'
38
+ //获取json配置文件
39
+ let asyncReady = async function(self,url) {
40
+ // 获取配置信息
41
+ try {
42
+ // console.log(`获取参数信息++++${Vue.user.f_orgids}+++++${Vue.androidUtil.getProxyUrl()}`)
43
+ await self.$appdata.load()
44
+ let that = self
45
+ let res = await Vue.resetget(`${url}/phone/rs/vue`,{data: {}},{resolveMsg: null, rejectMsg: null})
46
+ that.$set('config',res.data)
47
+ Vue.config2 = res.data
48
+ console.log("手机端获取.json文件")
49
+ console.log(JSON.stringify(self.config))
50
+ } catch (error) {
51
+ // 此处业务数据装载异常不做任何处理,理论上不会有任何异常
52
+ console.log(error)
53
+ }
54
+ }
55
+
56
+ //装载业务数据
57
+ let asyncLoadData = async function(self,url) {
58
+ try {
59
+ // 读取报建本地配置文件
60
+ var result = HostApp.readLocalFile('workflow_apply.json')
61
+ if(result.code == 500){
62
+ console.log('不存在流程配置文件,即不使用报建app')
63
+ return
64
+ }
65
+ var data = JSON.parse(result.data)
66
+ console.log('读取报建配置文件成功,存入缓存中的data=>' + JSON.stringify(data))
67
+ Vue.workflow_vue = Vue.prototype.$workflow_vue = data
68
+ } catch (error) {
69
+ // 此处业务数据装载异常不做任何处理,理论上不会有任何异常,只有当app版本端版本较低无readlocalfile时会异常
70
+ console.log(error)
71
+ }
72
+ }
73
+
74
+ export default {
75
+ title: '登录系统',
76
+ data() {
77
+ return {
78
+ loaderShow:false,
79
+ config:{},
80
+ ename: '',
81
+ password: '',
82
+ showsave:true,
83
+ continueLogin:true,
84
+ showauto:'2', // 1 自动登陆 2取消自动登陆
85
+ showpass:false,
86
+ imageurl:require('../assets/miwen.png'),
87
+ deviceIemi:'无法获取该设备码,请联系管理员',
88
+ loginSafe:false,
89
+ margintop: document.documentElement.clientHeight * 0.1
90
+ }
91
+ },
92
+
93
+ ready () {
94
+ if(Vue.android) {
95
+ let userPp1 = this.$androidUtil.getPreference('login_user_cache')
96
+ this.showauto = this.$androidUtil.getPreference('auto_login')
97
+ this.showauto = this.showauto ? this.showauto : '2'
98
+ console.log(`自动登陆标识ready:${this.showauto}`)
99
+ if(userPp1){
100
+ console.log(`1返回值是:${userPp1}`)
101
+ userPp1 = userPp1.replace(/\'/g,'\"')
102
+ console.log(`2返回值是:${userPp1}`)
103
+ let userZs = JSON.parse(userPp1)
104
+ this.password = userZs.password
105
+ this.ename = userZs.username
106
+ }
107
+ this.deviceIemi = this.$androidUtil.getDeviceIEMI()
108
+ console.log(`手机设备码:${this.deviceIemi}`)
109
+ if(this.showauto == '1' && this.password){
110
+ this.confirm()
111
+ }
112
+ }
113
+
114
+ // if(Vue.android) {
115
+ // let version = HostApp.getAppVersion().data
116
+ // this.$set('version', version)
117
+ // }
118
+ },
119
+ methods: {
120
+ // 对资源菜单进行排序
121
+ sortFunctions(val){
122
+ if(val && val.length > 0){
123
+ for(var i = 0;i<val.length-1;i++){
124
+ for(var j = 0;j<val.length-1-i;j++){
125
+ if(val[j].position > val[j+1].position){
126
+ var temp = val[j+1]
127
+ val[j+1] = val[j]
128
+ val[j] = temp;
129
+ }
130
+ }
131
+ }
132
+ return val
133
+ }
134
+ return val
135
+ },
136
+ // 记住密码选中/未选中
137
+ showoff(){
138
+ this.showsave = false
139
+ },
140
+ showon(){
141
+ this.showsave = true
142
+ },
143
+ showoff1(){
144
+ this.showauto = '2'
145
+ },
146
+ showon1(){
147
+ this.showauto = '1'
148
+ },
149
+ changepass(){
150
+ this.showpass=this.showpass?false:true
151
+ if(this.showpass){
152
+ this.imageurl=require("../assets/mingwen.png")
153
+ }else{
154
+ this.imageurl=require("../assets/miwen.png")
155
+ }
156
+
157
+ },
158
+ async confirm() {
159
+ this.loaderShow=true
160
+ console.log('Vue.android:' + Vue.android)
161
+ let data = {username: this.ename, password: this.password}
162
+ console.log('获取登陆信息:' + data)
163
+ Vue.dataUrl = this.$androidUtil.getProxyUrl() + "/"
164
+ // rsa加密
165
+ let encrypt = new JSEncrypt();
166
+ encrypt.setPublicKey('MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCqPvovSfXcwBbW8cKMCgwqNpsYuzF8RPAPFb7LGsnVo44JhM/xxzDyzoYtdfNmtbIuKVi9PzIsyp6rg+09gbuI6UGwBZ5DWBDBMqv5MPdOF5dCQkB2Bbr5yPfURPENypUz+pBFBg41d+BC+rwRiXELwKy7Y9caD/MtJyHydj8OUwIDAQAB');
167
+ data = encrypt.encrypt(JSON.stringify(data))
168
+ console.log(data)
169
+ //try {
170
+ let ret={}
171
+ //try {
172
+ try{
173
+ ret = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/user/userLogin/手机服务`, data, {
174
+ resolveMsg: null,
175
+ rejectMsg: null
176
+ })
177
+ console.log('获取登陆信息:' + JSON.stringify(ret.data) )
178
+ console.log('当前登录维修员:' + ret.data.name)
179
+ }catch (e) {
180
+ this.$showMessage("登陆失败,请检查账号密码后重新登录!")
181
+ this.loaderShow=false
182
+ return
183
+ }
184
+ console.log('获取参数system以及安检参数')
185
+ await asyncReady(this,this.$androidUtil.getProxyUrl())
186
+ console.log("this.continueLogin"+this.continueLogin)
187
+ if(!this.continueLogin){
188
+ this.$showMessage("获取配置文件失败,请检查网络状况后重新登录!(如网络状况正常,请联系管理员处理)")
189
+ this.loaderShow=false
190
+ return
191
+ }
192
+ console.log('获取参数结束')
193
+ // 设置登录人
194
+ Vue.user = Util.f = ret.data
195
+ // 对资源菜单进行排序
196
+ Vue.functions = this.sortFunctions(ret.data.functions)
197
+ console.log('登陆人信息',JSON.stringify(Vue.user))
198
+ let userStr
199
+ if (Vue.android){
200
+ console.log(`Device_IEMI:${this.$androidUtil.getPreference('Device_IEMI')}`)
201
+ // 判断是否需要验证 设备码
202
+ if(this.$androidUtil.getPreference('Device_IEMI')){
203
+ console.log(`手机设备码:${this.deviceIemi}`)
204
+ let result = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`,{data: {items: '*', tablename: 't_equipment', orderitem: 'id desc', condition:`f_terminal_number = '${this.deviceIemi}' and f_state = '正常'`}},{resolveMsg: null, rejectMsg: null})
205
+ console.log(`检测设备码存在是否:${result.data.length}`)
206
+ if(result.data.length == 0){
207
+ HostApp.alert('设备码未绑定,请联系管理员!')
208
+ return
209
+ }
210
+ }
211
+ if(this.showsave){
212
+ userStr = `{'username':'${this.ename}','password':'${this.password}'}`
213
+ }else{
214
+ userStr = `{'username':'${this.ename}','password':''}`
215
+ }
216
+ console.log(this.showauto)
217
+ this.$androidUtil.setPreference('login_user_cache', userStr)
218
+ this.$androidUtil.setPreference('f_repairman_id', Util.f.id)
219
+ this.$androidUtil.setPreference('f_repairman_name', Util.f.name)
220
+ console.log("自动登陆标识")
221
+ console.log(this.showauto)
222
+ this.$androidUtil.setPreference('auto_login',this.showauto)
223
+ }
224
+ Vue.$login = {jwt: ret.data.id}
225
+ // 获取参数
226
+ /*console.log('获取参数system以及安检参数')
227
+ asyncReady(this,this.$androidUtil.getProxyUrl())
228
+ console.log('获取参数结束')*/
229
+
230
+ // console.log('登陆验证成功时装载业务数据')
231
+ // asyncLoadData()
232
+ // console.log('装载业务数据结束')
233
+ this.loaderShow=false
234
+ this.$goto('nav-bottom')
235
+ /*}catch (e) {
236
+ if (Vue.android)
237
+ this.loaderShow=false
238
+ HostApp.alert('登录失败!')
239
+ }*/
240
+ },
241
+ // readConfig (url) {
242
+ // let gen =
243
+ // return co(gen)
244
+ // },
245
+ },
246
+ watch:{
247
+ 'config'(val){
248
+ Vue.config = val
249
+ }
250
+ }
251
+ }
252
+ </script>
253
+ <style scoped="">
254
+ .devicetext {
255
+ font: 13px PingFang-SC-Medium;
256
+ position:fixed;
257
+ width:100%;
258
+ bottom:13px;
259
+ transform: translate(-50%, -50%);
260
+ }
261
+ /*输入框样式*/
262
+ /*@import url(http://fonts.useso.com/css?family=Source+Sans+Pro:200,300);*/
263
+ * {
264
+ box-sizing: border-box;
265
+ margin: 0;
266
+ padding: 0;
267
+ font-weight: 300;
268
+ }
269
+ .loginbg {
270
+ font-family: 'Source Sans Pro', sans-serif;
271
+ color: white;
272
+ font-weight: 300;
273
+ }
274
+ .loginbg ::-webkit-input-placeholder {
275
+ /* WebKit browsers */
276
+ font-family: 'Source Sans Pro', sans-serif;
277
+ color: white;
278
+ font-weight: 300;
279
+ }
280
+ .loginbg :-moz-placeholder {
281
+ /* Mozilla Firefox 4 to 18 */
282
+ font-family: 'Source Sans Pro', sans-serif;
283
+ color: white;
284
+ opacity: 1;
285
+ font-weight: 300;
286
+ }
287
+ .loginbg ::-moz-placeholder {
288
+ /* Mozilla Firefox 19+ */
289
+ font-family: 'Source Sans Pro', sans-serif;
290
+ color: white;
291
+ opacity: 1;
292
+ font-weight: 300;
293
+ }
294
+ .loginbg :-ms-input-placeholder {
295
+ /* Internet Explorer 10+ */
296
+ font-family: 'Source Sans Pro', sans-serif;
297
+ color: white;
298
+ font-weight: 300;
299
+ }
300
+ .wrapper {
301
+ /*background: #2D83BA;
302
+ background: -webkit-linear-gradient(top left, #2D83BA 0%, #2D83BA 100%);
303
+ background: linear-gradient(to bottom right, #2D83BA 0%, #2D83BA 100%);
304
+ opacity: 0.8;*/
305
+ /*position: absolute;*/
306
+ /*top: 50%;
307
+ right: 10%;
308
+ width: 40%;
309
+ height: 350px;
310
+ margin-top: -150px;*/
311
+ overflow: hidden;
312
+ }
313
+
314
+ .wrapper.form-success .container h3{
315
+ -webkit-transform: translateY(85px);
316
+ -ms-transform: translateY(85px);
317
+ transform: translateY(85px);
318
+ }
319
+ .container {
320
+ /*max-width: 350px;*/
321
+ margin: 0 auto;
322
+ /*padding: 30px 100px 50px 100px;
323
+ height: 350px;*/
324
+ text-align: center;
325
+ /*以下增加*/
326
+ /*background: #2D83BA;
327
+ background: -webkit-linear-gradient(top left, #2D83BA 0%, #2D83BA 100%);
328
+ background: linear-gradient(to bottom right, #2D83BA 0%, #2D83BA 100%);*/
329
+ opacity: 0.8;
330
+ }
331
+ .container h3{
332
+ font-size: 40px;
333
+ -webkit-transition-duration: 1s;
334
+ transition-duration: 1s;
335
+ -webkit-transition-timing-function: ease-in-put;
336
+ transition-timing-function: ease-in-put;
337
+ font-weight: 200;
338
+ }
339
+ .form {
340
+ padding: 20px 0;
341
+ /*margin-top: 15%;*/
342
+ position: relative;
343
+ z-index: 2;
344
+ }
345
+ .form input {
346
+ -webkit-appearance: none;
347
+ -moz-appearance: none;
348
+ appearance: none;
349
+ outline: 0;
350
+ border: 1px solid #50ABE6;
351
+ background-color: #50ABE6;
352
+ width: 250px;
353
+ border-radius: 3px;
354
+ padding: 10px 15px;
355
+ margin: 0 auto 10px auto;
356
+ display: block;
357
+ text-align: center;
358
+ font-size: 18px;
359
+ color: white;
360
+ -webkit-transition-duration: 0.25s;
361
+ transition-duration: 0.25s;
362
+ font-weight: 300;
363
+ }
364
+ .form input:hover {
365
+ background-color: rgba(255, 255, 255, 0.4);
366
+ }
367
+ .form input:focus {
368
+ background-color: white;
369
+ width: 300px;
370
+ color: #53e3a6;
371
+ }
372
+ .usericon {
373
+ background-image: url(../assets/usericon.png);
374
+ background-repeat: no-repeat;
375
+ background-size: 30px;
376
+ background-position-x: 8px;
377
+ background-position-y: 8px;
378
+ }
379
+ .psicon {
380
+ background-image: url(../assets/psicon.png);
381
+ background-repeat: no-repeat;
382
+ background-size: 30px;
383
+ background-position-x: 8px;
384
+ background-position-y: 8px;
385
+ }
386
+ .form button {
387
+ -webkit-appearance: none;
388
+ -moz-appearance: none;
389
+ appearance: none;
390
+ outline: 0;
391
+ background-color: white;
392
+ border: 0;
393
+ padding: 10px 15px;
394
+ color: #253830;
395
+ border-radius: 3px;
396
+ width: 250px;
397
+ cursor: pointer;
398
+ font-size: 18px;
399
+ -webkit-transition-duration: 0.25s;
400
+ transition-duration: 0.25s;
401
+ }
402
+ .form button:hover {
403
+ background-color: #f5f7f9;
404
+ }
405
+
406
+ /*注册字体样式*/
407
+ .form span {
408
+ color: #fff;
409
+ display: table-footer-group;
410
+ position: absolute;
411
+ right: 10px;
412
+ margin-top: 10px;
413
+ cursor: pointer;
414
+ }
415
+ .logotitle {
416
+ color: #fff;
417
+ position: absolute;
418
+ top: 50px;
419
+ left: 50px;
420
+ font-size: 50px;
421
+ }
422
+ /*注册模态框界面样式*/
423
+ .modifystyle {
424
+ background: #FCFEEE;
425
+ }
426
+ .modifystyle div{
427
+ height: auto;
428
+ margin-bottom: 15px;
429
+ /*text-align: center;*/
430
+ /*margin-left: 20%;*/
431
+ }
432
+ /*bootstrap字体图标要手动调整,所以使用字体图标的span必须紧跟在input后面,负责会错位*/
433
+ .modifystyle div input + span{
434
+ top: 0!important;
435
+ right: 32%;
436
+ }
437
+ .modifystyle span{
438
+ color: red;
439
+ }
440
+
441
+ /* 通告区内容 */
442
+ .notice-board {
443
+ height: auto;
444
+ position: absolute;
445
+ top: 50%;
446
+ margin-top: -150px;
447
+ margin-left: 100px;
448
+ color: #fff;
449
+ }
450
+ /*修改密码底部按钮部分样式*/
451
+ .footerbtn {
452
+ text-align: center;
453
+ padding: 15px;
454
+ }
455
+ .footerbtn button {
456
+ width: 100px;
457
+ margin-left: 20px;
458
+ }
459
+ .bg-bubbles {
460
+ position: absolute;
461
+ top: 0;
462
+ left: 0;
463
+ width: 100%;
464
+ height: 100%;
465
+ z-index: 1;
466
+ }
467
+ .bg-bubbles li {
468
+ position: absolute;
469
+ list-style: none;
470
+ display: block;
471
+ width: 40px;
472
+ height: 40px;
473
+ background-color: rgba(255, 255, 255, 0.15);
474
+ bottom: -160px;
475
+ -webkit-animation: square 25s infinite;
476
+ animation: square 25s infinite;
477
+ -webkit-transition-timing-function: linear;
478
+ transition-timing-function: linear;
479
+ }
480
+ .bg-bubbles li:nth-child(1) {
481
+ left: 10%;
482
+ }
483
+ .bg-bubbles li:nth-child(2) {
484
+ left: 20%;
485
+ width: 80px;
486
+ height: 80px;
487
+ -webkit-animation-delay: 2s;
488
+ animation-delay: 2s;
489
+ -webkit-animation-duration: 17s;
490
+ animation-duration: 17s;
491
+ }
492
+ .bg-bubbles li:nth-child(3) {
493
+ left: 25%;
494
+ -webkit-animation-delay: 4s;
495
+ animation-delay: 4s;
496
+ }
497
+ .bg-bubbles li:nth-child(4) {
498
+ left: 40%;
499
+ width: 60px;
500
+ height: 60px;
501
+ -webkit-animation-duration: 22s;
502
+ animation-duration: 22s;
503
+ background-color: rgba(255, 255, 255, 0.25);
504
+ }
505
+ .bg-bubbles li:nth-child(5) {
506
+ left: 70%;
507
+ }
508
+ .bg-bubbles li:nth-child(6) {
509
+ left: 80%;
510
+ width: 120px;
511
+ height: 120px;
512
+ -webkit-animation-delay: 3s;
513
+ animation-delay: 3s;
514
+ background-color: rgba(255, 255, 255, 0.2);
515
+ }
516
+ .bg-bubbles li:nth-child(7) {
517
+ left: 32%;
518
+ width: 160px;
519
+ height: 160px;
520
+ -webkit-animation-delay: 7s;
521
+ animation-delay: 7s;
522
+ }
523
+ .bg-bubbles li:nth-child(8) {
524
+ left: 55%;
525
+ width: 20px;
526
+ height: 20px;
527
+ -webkit-animation-delay: 15s;
528
+ animation-delay: 15s;
529
+ -webkit-animation-duration: 40s;
530
+ animation-duration: 40s;
531
+ }
532
+ .bg-bubbles li:nth-child(9) {
533
+ left: 25%;
534
+ width: 10px;
535
+ height: 10px;
536
+ -webkit-animation-delay: 2s;
537
+ animation-delay: 2s;
538
+ -webkit-animation-duration: 40s;
539
+ animation-duration: 40s;
540
+ background-color: rgba(255, 255, 255, 0.3);
541
+ }
542
+ .bg-bubbles li:nth-child(10) {
543
+ left: 90%;
544
+ width: 160px;
545
+ height: 160px;
546
+ -webkit-animation-delay: 11s;
547
+ animation-delay: 11s;
548
+ }
549
+ @-webkit-keyframes square {
550
+ 0% {
551
+ -webkit-transform: translateY(0);
552
+ transform: translateY(0);
553
+ }
554
+ 100% {
555
+ -webkit-transform: translateY(-700px) rotate(600deg);
556
+ transform: translateY(-700px) rotate(600deg);
557
+ }
558
+ }
559
+ @keyframes square {
560
+ 0% {
561
+ -webkit-transform: translateY(0);
562
+ transform: translateY(0);
563
+ }
564
+ 100% {
565
+ -webkit-transform: translateY(-700px) rotate(600deg);
566
+ transform: translateY(-700px) rotate(600deg);
567
+ }
568
+ }
569
+ .loading {
570
+ width: 36%;
571
+ height: 7%;
572
+ position: absolute;
573
+ top: 30%;
574
+ left: 32%;
575
+ line-height: 56px;
576
+ color: #fff;
577
+ padding-left: 60px;
578
+ font-size: 15px;
579
+ background: #000 url(../assets/loging.gif) no-repeat 10px 50%;
580
+ opacity: 0.7;
581
+ z-index: 9999;
582
+ -moz-border-radius: 20px;
583
+ -webkit-border-radius: 20px;
584
+ border-radius: 20px;
585
+ filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70);
586
+ }
587
+ </style>