system-clients 3.2.0 → 3.2.1-6

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.
@@ -1,734 +1,757 @@
1
- <template>
2
- <div class="syslogin">
3
- <div class="login-title" >
4
- <div class="row auto">
5
- <marquee style="width:80%;margin-top:25px"><span style="font-size: 1.8rem;color: white;">{{notice}}</span></marquee>
6
- <div class="login-title-chi" style="white-space: nowrap;margin-right:-5%">
7
- <img src="../../../static/newStyle/login-info.png"/>
8
- <span @click="showus=true">关于我们</span>
9
- <!-- <img src="../../../static/newStyle/login-con.png"/>-->
10
- <!-- <span>联系我们</span>-->
11
- </div>
12
- </div>
13
- </div>
14
-
15
- <modal :show.sync="showus" backdrop="true" width="50%" style="width:auto;">
16
- <article slot="modal-body" class="modal-body" >
17
- <img style="height:100%;width:100%" src="../../../static/newStyle/about-us.png"/>
18
- </article>
19
- <footer slot="modal-footer" class="modal-footer">
20
- </footer>
21
- </modal>
22
-
23
-
24
- <div class="logoew" v-if="logoandroid" >
25
- <div v-if="logoandroid" class="imglogo"></div>
26
- <p class="logocontent">燃气客服系统Android版</p>
27
- <p class="logofooter">(仅浏览器扫描)</p>
28
- </div>
29
- <!--输入框-->
30
- <div class="loginmain">
31
- <!-- <img src="../../../static/login_title1.png" alt="图片加载未完成" class="img-responsive" style="margin: 0 auto; padding-top: 150px;" /> -->
32
- <div class="loginmain-left">
33
- <img class="loginmain-left-img" src="../../../static/newStyle/login-left.png">
34
- </div>
35
- <div class="loginmain-right">
36
-
37
- <p @click="theme()" style="white-space: nowrap">{{config.title}}</p>
38
-
39
- <form v-show="!login">
40
- <!-- <input type="text" placeholder="用户名" v-model="model.ename" class="usericon">-->
41
- <div class="login-input">
42
- <img src="../../../static/newStyle/login-user.png"/>
43
- <input type="text" style="display: inline;background-color: white!important;" placeholder="用户名" v-model="model.ename"/>
44
- </div>
45
- <div class="login-input">
46
- <img src="../../../static/newStyle/login-pwd.png"/>
47
- <input type="password" placeholder="密码" style="display: inline;background-color: darkgray;" v-model="model.password"
48
- @keyup.enter="confirm('key')"/>
49
- </div>
50
- <div class="login-input-1">
51
- <img src="../../../static/newStyle/login-check.png"/>
52
- <input v-if="$login.Verification" class="login-check" type="text" placeholder="请输入验证码"
53
- v-model="picLyanzhengma" @keyup.enter="confirm('key')"/>
54
- </div>
55
- <div class="login-input-2" >
56
- <input v-if="$login.Verification" class="login-check-1" style="display: inline;background-color:#eeeeee !important;"
57
- type="button" @click="createCode" v-model="checkCode"/>
58
- </div>
59
- <div class="login-bt">
60
- <button type="button" id="login-button" class="login-button" @click.prevent="confirm('click')">登录</button>
61
- </div>
62
- <!-- <input type="password" placeholder="密码" v-model="model.password" class="psicon"-->
63
- <!-- @keyup.enter="confirm('key')">-->
64
- <!-- <input v-if="$login.Verification" styljiaoyane="width: 40%; display: inline" type="text" placeholder="请输入验证码"-->
65
- <!-- v-model="picLyanzhengma" @keyup.enter="confirm('key')">-->
66
- <!-- <input v-if="$login.Verification" style="width: 30%; display: inline;background-color: darkgray;"-->
67
- <!-- type="button" @click="createCode" v-model="checkCode"/><br>-->
68
-
69
- <!-- <button type="button" id="login-button" @click.prevent="confirm()"><strong>注册</strong></button> -->
70
- <!-- <span @click="register()">还没有注册,现在注册>>></span> -->
71
- </form>
72
- <div v-show="login" class="login_load">
73
- <img src="../../../static/newStyle/login-do.gif">
74
- </div>
75
- </div>
76
- </div>
77
- <div class="login-foot" v-show="false">
78
- 技术支持:西安奥枫软件有限公司
79
- </div>
80
-
81
- <modal v-if="depPromptShow" :show.sync="depPromptShow" :backdrop="false" v-ref:modal >
82
- <header slot="modal-header" class="modal-header">
83
- <h4 class="modal-title">登录信息</h4>
84
- </header>
85
- <article slot="modal-body" class="modal-body">
86
- <form class="form-horizontal">
87
- <div class="row">
88
- <div class="col-sm-12 form-group">
89
- <label class="col-sm-5 control-label">当前登录人</label>
90
- <div class="col-sm-7">
91
- <p class="form-control-static">{{$login.f.name}}</p>
92
- </div>
93
- </div>
94
- <div class="col-sm-12 form-group">
95
- <label class="col-sm-5 control-label">所在销售点</label>
96
- <div class="col-sm-7">
97
- <p class="form-control-static">{{$login.f.deps}}</p>
98
- </div>
99
- </div>
100
- </div>
101
- </form>
102
- </article>
103
- <footer slot="modal-footer" class="modal-footer">
104
- <button class="button_search" @click="depPromptConfirm">确认</button>
105
- <button class="button_clear" @click="depPromptCancel">取消</button>
106
- </footer>
107
- </modal>
108
-
109
- <!-- 修改密码组件 -->
110
- <modify-pw :show.sync="modifyPwShow" v-if="modifyPwShow"></modify-pw>
111
- </div>
112
-
113
- </template>
114
-
115
- <script>
116
- import co from 'co'
117
- import $ from 'jquery'
118
- import Vue from 'vue'
119
- import {HttpResetClass} from 'vue-client'
120
-
121
-
122
-
123
- let saveGen = function *(self) {
124
- try {
125
- yield self.$login.login(self.model.ename, self.model.password)
126
- yield self.$appdata.load()
127
-
128
- if (Vue.$heatCompatibility) {
129
- try {
130
- yield self.$loginHeat.login(self.model.ename, self.model.password)
131
- yield self.$appdataHeat.load()
132
- } catch (e) {
133
- console.log('热力系统登陆失败!')
134
- }
135
- }
136
-
137
- yield self.$getConfig(self, 'Login')
138
- console.log('登录配置', self.config)
139
- if (self.config.isMac) {
140
- // 获取该登录人分公司下的mac配置
141
- let getMacs = yield self.$resetpost('rs/sql/equipmentQuery', {data: {condition: `f_filialeids like '%${self.$login.f.f_orgids}%'`}}, {
142
- resolveMsg: null,
143
- rejectMsg: null
144
- }).catch(() => {
145
- throw new Error('获取mac配置失败')
146
- })
147
- console.log('MAC地址信息', getMacs)
148
- // 获取本地mac地址
149
- let getLocalMac = yield self.$resetget('http://127.0.0.1:8003/loadmac', {
150
- resolveMsg: null,
151
- rejectMsg: null
152
- }).catch(() => {
153
- throw new Error('获取本地mac配置失败')
154
- })
155
- console.log('本地MAC地址信息', getLocalMac)
156
- // 对Mac地址进行匹配
157
- let macValidate = false
158
- for (let i = 0; i < getLocalMac.data.mac.length; i++) {
159
- for (let j = 0; j < getMacs.data.length; j++) {
160
- if (getMacs.data[j].f_mac_number.toLocaleUpperCase() === getLocalMac.data.mac[i]) {
161
- macValidate = true
162
- }
163
- }
164
- }
165
- if (!macValidate) {
166
- throw new Error('Mac地址验证失败, 请联系管理员!!')
167
- }
168
- }
169
- // 弱口令验证
170
- if (self.config.weakPassword && !(/^(?:(?=.*[a-zA-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])).*$/.test(self.model.password))) {
171
- self.$showMessage('登录系统: 此账户的密码过于简单,请修改密码后重新登陆!!!', ['confirm']).then((res) => {
172
- self.modifyPwShow = true
173
- })
174
- } else if (self.config.depPrompt) {
175
- self.depPromptShow = true
176
- } else {
177
- self.$goto('home-page', {functions: self.$login.f})
178
- if (self.$login) {
179
- console.log('登录信息', self.$login.f)
180
- global.login=self.$login.f
181
- console.log('登录信息', global.login)
182
- }
183
- }
184
-
185
- } catch (ret) {
186
- console.error('登录失败', ret)
187
- let msg
188
- if (ret instanceof Error) {
189
- msg = ret
190
- }
191
- if (ret.status === 0) {
192
- msg = '服务连接错误,请确认服务状态'
193
- } else if (ret.status === 401) {
194
- msg = ret.data
195
- } else if (ret.status === 710) {
196
- msg = ret.data
197
- }
198
- self.createCode()
199
- self.picLyanzhengma = ''
200
- yield self.$showMessage(msg)
201
- self.model.ename = ''
202
- self.model.password = ''
203
- self.login = false
204
- $('form').fadeIn(500)
205
- }
206
- }
207
- export default {
208
- title: '登录',
209
- async ready () {
210
- try{
211
- let http = new HttpResetClass()
212
- let res = await http.load('POST', 'rs/sql/singleTable',
213
- {data:{
214
- tablename: 't_changedeclare',
215
- condition: ` f_type ='变更通知' `
216
- }
217
- }, {resolveMsg: null, rejectMsg: null})
218
- if(res.data.length>0){
219
- console.log("---------------获取通知",res.data[0].f_change_message)
220
- this.notice=res.data[0].f_change_message
221
- }
222
- }catch(e){}
223
- this.loginother();
224
- $('#login-button').click(function (event) {
225
- event.preventDefault()
226
- $('form').fadeOut(500)
227
- }),
228
- this.createCode()
229
- },
230
- data () {
231
- return {
232
- image:{
233
- img1: '/images/newStyle/login-info.png',
234
- img2: '/images/newStyle/login-con.png',
235
- img3: '/images/newStyle/login-left.png',
236
- img4: '/images/newStyle/login-user.png',
237
- img5: '/images/newStyle/login-pwd.png',
238
- img6: '/images/newStyle/login-check.png',
239
- img7: '/images/newStyle/login-do.png',
240
- },
241
- config: {
242
- isMac: false,
243
- depPrompt: false,
244
- weakPassword: false,
245
- title: '燃气客服系统',
246
- distanceLogin: false
247
- },
248
- login: false,
249
- depPromptShow: false,
250
- model: {},
251
- show: false,
252
- checkCode: '',
253
- login_do:true,
254
- picLyanzhengma: '',
255
- // 修改密码弹框展示
256
- modifyPwShow: false,
257
- logoandroid:false,
258
- showus:false,
259
- notice:'',
260
- loginotherflag :true
261
- }
262
- },
263
- methods: {
264
- async loginother(){
265
- if (this.config.distanceLogin) {
266
- if (this.$login && this.$login.getUrlParames('name') ) {
267
- let ename = this.$login.getUrlParames('name');
268
- let logininfo = await this.$resetpost('rs/logic/getLoginData',{data:{ename:ename}},{resolveMsg: null, rejectMsg: null});
269
- if(logininfo.data){
270
- if(logininfo.data.ename && logininfo.data.password){
271
- this.model.ename = logininfo.data.ename
272
- this.model.password =logininfo.data.password
273
- let gen = saveGen(this)
274
- return co(gen)
275
- }
276
- }
277
- }
278
- }
279
- },
280
- theme(){
281
- // var elementList = document.querySelectorAll('body');
282
- // console.log(elementList)
283
- // document.querySelectorAll('body')[0].className='themeTwo'
284
- // var elementList = document.querySelectorAll('body');
285
- // console.log(elementList)
286
- },
287
- onReady () {
288
- this.$emit('ready')
289
- },
290
- confirm (key) {
291
- this.login_do=!this.login_do
292
- // return
293
- if (key == 'key') {
294
- $('form').fadeOut(500)
295
- }
296
- this.login = true
297
- // let gen = saveGen(this)
298
- // return co(gen)
299
- if(this.$login.Verification){
300
- if(this.picLyanzhengma == '') {
301
- this.$showMessage("请输入验证码!").then(()=>{
302
- this.login = false
303
- $('form').fadeIn(500)
304
- this.createCode()
305
- })
306
- }else if(this.picLyanzhengma.toUpperCase() != this.checkCode ) {
307
- //若输入的验证码与产生的验证码不一致时
308
- this.$showMessage("验证码不正确").then(()=>{
309
- this.login = false
310
- $('form').fadeIn(500)
311
- this.createCode();//刷新验证码
312
- this.picLyanzhengma = '';
313
- })
314
- }else {
315
- this.login = true
316
- let gen = saveGen(this)
317
- return co(gen)
318
- }
319
- }else {
320
- this.login = true
321
- let gen = saveGen(this)
322
- return co(gen)
323
- }
324
- },
325
- createCode(){
326
- let code = "";
327
- let codeLength = 4;//验证码的长度
328
- let random = new Array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R',
329
- 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z');//随机数
330
- for (let i = 0; i < codeLength; i++) {
331
- //循环操作
332
- let index = Math.floor(Math.random() * 36);//取得随机数的索引(0~35)
333
- code += random[index];//根据索引取得随机数加到code上
334
- }
335
- this.checkCode = code;//把code值赋给验证码
336
- },
337
-
338
- async depPromptConfirm () {
339
- this.depPromptShow = false
340
- return this.$goto('home-page', {functions: this.$login.f})
341
- },
342
-
343
- depPromptCancel () {
344
- this.depPromptShow = false
345
- this.createCode()
346
- this.picLyanzhengma = ''
347
- this.model.ename = ''
348
- this.model.password = ''
349
- this.login = false
350
- $('form').fadeIn(500)
351
- }
352
- },
353
- watch: {
354
- 'modifyPwShow' (val){
355
- if (!val) {
356
- window.location.reload()
357
- }
358
- }
359
- }
360
- }
361
- </script>
362
-
363
- <style>
364
-
365
- /*输入框样式*/
366
- /*@import url(http://fonts.useso.com/css?family=Source+Sans+Pro:200,300);*/
367
- * {
368
- box-sizing: border-box;
369
- margin: 0;
370
- padding: 0;
371
- font-weight: 400;
372
- outline: none;
373
- }
374
-
375
- body {
376
- font-family: 'Source Sans Pro', sans-serif;
377
- color: white;
378
- font-weight: 400;
379
- }
380
-
381
- body ::-webkit-input-placeholder {
382
- /* WebKit browsers */
383
- font-family: 'Source Sans Pro', sans-serif;
384
- color: white;
385
- font-weight: 400;
386
- }
387
-
388
- body :-moz-placeholder {
389
- /* Mozilla Firefox 4 to 18 */
390
- font-family: 'Source Sans Pro', sans-serif;
391
- color: white;
392
- opacity: 1;
393
- font-weight: 400;
394
- }
395
-
396
- body ::-moz-placeholder {
397
- /* Mozilla Firefox 19+ */
398
- font-family: 'Source Sans Pro', sans-serif;
399
- color: white;
400
- opacity: 1;
401
- font-weight: 400;
402
- }
403
-
404
- body :-ms-input-placeholder {
405
- /* Internet Explorer 10+ */
406
- font-family: 'Source Sans Pro', sans-serif;
407
- color: white;
408
- font-weight: 400;
409
- }
410
-
411
- .wrapper {
412
- /*background: #2D83BA;
413
- background: -webkit-linear-gradient(top left, #2D83BA 0%, #2D83BA 100%);
414
- background: linear-gradient(to bottom right, #2D83BA 0%, #2D83BA 100%);
415
- opacity: 0.8;*/
416
- position: absolute;
417
- top: 50%;
418
- right: -60px;
419
- width: 40%;
420
- height: 400px;
421
- margin-top: -150px;
422
- overflow: hidden;
423
-
424
- }
425
-
426
- .wrapper.form-success .container h3 {
427
- -webkit-transform: translateY(85px);
428
- -ms-transform: translateY(85px);
429
- transform: translateY(85px);
430
- }
431
-
432
- .container {
433
- max-width: 350px;
434
- margin: 0 auto;
435
- padding: 30px 100px 50px 100px;
436
- height: 400px;
437
- text-align: center;
438
- /*以下增加*/
439
- background: #2D83BA;
440
- background: -webkit-linear-gradient(top left, #2D83BA 0%, #2D83BA 100%);
441
- background: linear-gradient(to bottom right, #2D83BA 0%, #2D83BA 100%);
442
- opacity: 0.8;
443
- }
444
-
445
- .container h3 {
446
- font-size: 40px;
447
- -webkit-transition-duration: 1s;
448
- transition-duration: 1s;
449
- -webkit-transition-timing-function: ease-in-put;
450
- transition-timing-function: ease-in-put;
451
- font-weight: 200;
452
- }
453
-
454
- .form {
455
- padding: 20px 0;
456
- position: relative;
457
- z-index: 2;
458
- }
459
-
460
- .form input {
461
- -webkit-appearance: none;
462
- -moz-appearance: none;
463
- appearance: none;
464
- outline: 0;
465
- border: 1px solid #50ABE6;
466
- background-color: #50ABE6;
467
- width: 250px;
468
- border-radius: 3px;
469
- padding: 10px 15px;
470
- margin: 0 auto 10px auto;
471
- display: block;
472
- text-align: center;
473
- font-size: 18px;
474
- color: white;
475
- -webkit-transition-duration: 0.25s;
476
- transition-duration: 0.25s;
477
- font-weight: 400;
478
- }
479
-
480
- .form input:hover {
481
- background-color: rgba(255, 255, 255, 0.4);
482
- }
483
-
484
- .form input:focus {
485
- background-color: white;
486
- width: 300px;
487
- color: #53e3a6;
488
- }
489
-
490
- .usericon {
491
- background-image: url(../../../static/usericon.png);
492
- background-repeat: no-repeat;
493
- background-size: 30px;
494
- background-position-x: 8px;
495
- background-position-y: 8px;
496
- }
497
-
498
- .psicon {
499
- background-image: url(../../../static/psicon.png);
500
- background-repeat: no-repeat;
501
- background-size: 30px;
502
- background-position-x: 8px;
503
- background-position-y: 8px;
504
- }
505
-
506
- .form button {
507
- -webkit-appearance: none;
508
- -moz-appearance: none;
509
- appearance: none;
510
- outline: 0;
511
- background-color: white;
512
- border: 0;
513
- padding: 10px 15px;
514
- color: #253830;
515
- border-radius: 3px;
516
- width: 250px;
517
- cursor: pointer;
518
- font-size: 18px;
519
- -webkit-transition-duration: 0.25s;
520
- transition-duration: 0.25s;
521
- }
522
-
523
- .form button:hover {
524
- background-color: #f5f7f9;
525
- }
526
-
527
- /*注册字体样式*/
528
- .form span {
529
- color: #fff;
530
- display: table-footer-group;
531
- position: absolute;
532
- right: 10px;
533
- margin-top: 10px;
534
- cursor: pointer;
535
- }
536
-
537
- .logotitle {
538
- color: #fff;
539
- position: absolute;
540
- top: 50px;
541
- left: 50px;
542
- font-size: 50px;
543
- }
544
-
545
- /*注册模态框界面样式*/
546
- .modifystyle {
547
- background: #FCFEEE;
548
- }
549
-
550
- .modifystyle div {
551
- height: auto;
552
- margin-bottom: 15px;
553
- /*text-align: center;*/
554
- /*margin-left: 20%;*/
555
- }
556
-
557
- /*bootstrap字体图标要手动调整,所以使用字体图标的span必须紧跟在input后面,负责会错位*/
558
- .modifystyle div input + span {
559
- top: 0 !important;
560
- right: 32%;
561
- }
562
-
563
- .modifystyle span {
564
- color: red;
565
- }
566
-
567
- /* 通告区内容 */
568
- .notice-board {
569
- height: auto;
570
- position: absolute;
571
- top: 50%;
572
- margin-top: -150px;
573
- margin-left: 100px;
574
- color: #fff;
575
- }
576
-
577
- /*修改密码底部按钮部分样式*/
578
- .footerbtn {
579
- text-align: center;
580
- padding: 15px;
581
- }
582
-
583
- .footerbtn button {
584
- width: 100px;
585
- margin-left: 20px;
586
- }
587
-
588
- .bg-bubbles {
589
- position: absolute;
590
- top: 0;
591
- left: 0;
592
- width: 100%;
593
- height: 100%;
594
- z-index: 1;
595
- }
596
-
597
- .bg-bubbles li {
598
- position: absolute;
599
- list-style: none;
600
- display: block;
601
- width: 40px;
602
- height: 40px;
603
- background-color: rgba(255, 255, 255, 0.15);
604
- bottom: -160px;
605
- -webkit-animation: square 25s infinite;
606
- animation: square 25s infinite;
607
- -webkit-transition-timing-function: linear;
608
- transition-timing-function: linear;
609
- }
610
-
611
- .bg-bubbles li:nth-child(1) {
612
- left: 10%;
613
- }
614
-
615
- .bg-bubbles li:nth-child(2) {
616
- left: 20%;
617
- width: 80px;
618
- height: 80px;
619
- -webkit-animation-delay: 2s;
620
- animation-delay: 2s;
621
- -webkit-animation-duration: 17s;
622
- animation-duration: 17s;
623
- }
624
-
625
- .bg-bubbles li:nth-child(3) {
626
- left: 25%;
627
- -webkit-animation-delay: 4s;
628
- animation-delay: 4s;
629
- }
630
-
631
- .bg-bubbles li:nth-child(4) {
632
- left: 40%;
633
- width: 60px;
634
- height: 60px;
635
- -webkit-animation-duration: 22s;
636
- animation-duration: 22s;
637
- background-color: rgba(255, 255, 255, 0.25);
638
- }
639
-
640
- .bg-bubbles li:nth-child(5) {
641
- left: 70%;
642
- }
643
-
644
- .bg-bubbles li:nth-child(6) {
645
- left: 80%;
646
- width: 120px;
647
- height: 120px;
648
- -webkit-animation-delay: 3s;
649
- animation-delay: 3s;
650
- background-color: rgba(255, 255, 255, 0.2);
651
- }
652
-
653
- .bg-bubbles li:nth-child(7) {
654
- left: 32%;
655
- width: 160px;
656
- height: 160px;
657
- -webkit-animation-delay: 7s;
658
- animation-delay: 7s;
659
- }
660
-
661
- .bg-bubbles li:nth-child(8) {
662
- left: 55%;
663
- width: 20px;
664
- height: 20px;
665
- -webkit-animation-delay: 15s;
666
- animation-delay: 15s;
667
- -webkit-animation-duration: 40s;
668
- animation-duration: 40s;
669
- }
670
-
671
- .bg-bubbles li:nth-child(9) {
672
- left: 25%;
673
- width: 10px;
674
- height: 10px;
675
- -webkit-animation-delay: 2s;
676
- animation-delay: 2s;
677
- -webkit-animation-duration: 40s;
678
- animation-duration: 40s;
679
- background-color: rgba(255, 255, 255, 0.3);
680
- }
681
-
682
- .bg-bubbles li:nth-child(10) {
683
- left: 90%;
684
- width: 160px;
685
- height: 160px;
686
- -webkit-animation-delay: 11s;
687
- animation-delay: 11s;
688
- }
689
- .logofooter{
690
- font-size: 12px;
691
- color:#fff;
692
- width:150px;
693
- margin-left: 17px;
694
- }
695
- .logocontent{
696
- font-size: 14px;
697
- color:#fff;
698
- width:150px;
699
- margin: 3px -15px;
700
- }
701
- .imglogo {
702
- background:url(../../../static/logo.png);
703
- background-size:100%;
704
- }
705
- .logoew {
706
- width:120px;
707
- height:120px;
708
- float:right;
709
- margin-right:8.5%;
710
- margin-top:10px;
711
- }
712
-
713
- @-webkit-keyframes square {
714
- 0% {
715
- -webkit-transform: translateY(0);
716
- transform: translateY(0);
717
- }
718
- 100% {
719
- -webkit-transform: translateY(-700px) rotate(600deg);
720
- transform: translateY(-700px) rotate(600deg);
721
- }
722
- }
723
-
724
- @keyframes square {
725
- 0% {
726
- -webkit-transform: translateY(0);
727
- transform: translateY(0);
728
- }
729
- 100% {
730
- -webkit-transform: translateY(-700px) rotate(600deg);
731
- transform: translateY(-700px) rotate(600deg);
732
- }
733
- }
734
- </style>
1
+ <template>
2
+ <div class="syslogin">
3
+ <div class="login-title" >
4
+ <div class="row auto">
5
+ <marquee style="width:80%;margin-top:25px"><span style="font-size: 1.8rem;color: white;">{{notice}}</span></marquee>
6
+ <div class="login-title-chi" style="white-space: nowrap;margin-right:-5%">
7
+ <img src="../../../static/newStyle/login-info.png"/>
8
+ <span @click="showus=true">关于我们</span>
9
+ <!-- <img src="../../../static/newStyle/login-con.png"/>-->
10
+ <!-- <span>联系我们</span>-->
11
+ </div>
12
+ </div>
13
+ </div>
14
+
15
+ <modal :show.sync="showus" backdrop="true" width="50%" style="width:auto;">
16
+ <article slot="modal-body" class="modal-body" >
17
+ <img style="height:100%;width:100%" src="../../../static/newStyle/about-us.png"/>
18
+ </article>
19
+ <footer slot="modal-footer" class="modal-footer">
20
+ </footer>
21
+ </modal>
22
+
23
+
24
+ <div class="logoew" v-if="logoandroid" >
25
+ <div v-if="logoandroid" class="imglogo"></div>
26
+ <p class="logocontent">燃气客服系统Android版</p>
27
+ <p class="logofooter">(仅浏览器扫描)</p>
28
+ </div>
29
+ <!--输入框-->
30
+ <div class="loginmain">
31
+ <!-- <img src="../../../static/login_title1.png" alt="图片加载未完成" class="img-responsive" style="margin: 0 auto; padding-top: 150px;" /> -->
32
+ <div class="loginmain-left">
33
+ <img class="loginmain-left-img" src="../../../static/newStyle/login-left.png">
34
+ </div>
35
+ <div class="loginmain-right">
36
+
37
+ <p @click="theme()" style="white-space: nowrap">{{config.title}}</p>
38
+
39
+ <form v-show="!login">
40
+ <!-- <input type="text" placeholder="用户名" v-model="model.ename" class="usericon">-->
41
+ <div class="login-input">
42
+ <img src="../../../static/newStyle/login-user.png"/>
43
+ <input type="text" style="display: inline;background-color: white!important;" placeholder="用户名" v-model="model.ename"/>
44
+ </div>
45
+ <div class="login-input">
46
+ <img src="../../../static/newStyle/login-pwd.png"/>
47
+ <input type="password" placeholder="密码" style="display: inline;background-color: darkgray;" v-model="model.password"
48
+ @keyup.enter="confirm('key')"/>
49
+ </div>
50
+ <div class="login-input-1">
51
+ <img src="../../../static/newStyle/login-check.png"/>
52
+ <input v-if="$login.Verification" class="login-check" type="text" placeholder="请输入验证码"
53
+ v-model="picLyanzhengma" @keyup.enter="confirm('key')"/>
54
+ </div>
55
+ <div class="login-input-2" >
56
+ <input v-if="$login.Verification" class="login-check-1" style="display: inline;background-color:#eeeeee !important;"
57
+ type="button" @click="createCode" v-model="checkCode"/>
58
+ </div>
59
+ <div class="login-bt">
60
+ <button type="button" id="login-button" class="login-button" @click.prevent="confirm('click')">登录</button>
61
+ </div>
62
+ <!-- <input type="password" placeholder="密码" v-model="model.password" class="psicon"-->
63
+ <!-- @keyup.enter="confirm('key')">-->
64
+ <!-- <input v-if="$login.Verification" styljiaoyane="width: 40%; display: inline" type="text" placeholder="请输入验证码"-->
65
+ <!-- v-model="picLyanzhengma" @keyup.enter="confirm('key')">-->
66
+ <!-- <input v-if="$login.Verification" style="width: 30%; display: inline;background-color: darkgray;"-->
67
+ <!-- type="button" @click="createCode" v-model="checkCode"/><br>-->
68
+
69
+ <!-- <button type="button" id="login-button" @click.prevent="confirm()"><strong>注册</strong></button> -->
70
+ <!-- <span @click="register()">还没有注册,现在注册>>></span> -->
71
+ </form>
72
+ <div v-show="login" class="login_load">
73
+ <img src="../../../static/newStyle/login-do.gif">
74
+ </div>
75
+ </div>
76
+ </div>
77
+ <div class="login-foot" v-show="false">
78
+ 技术支持:西安奥枫软件有限公司
79
+ </div>
80
+
81
+ <modal v-if="depPromptShow" :show.sync="depPromptShow" :backdrop="false" v-ref:modal >
82
+ <header slot="modal-header" class="modal-header">
83
+ <h4 class="modal-title">登录信息</h4>
84
+ </header>
85
+ <article slot="modal-body" class="modal-body">
86
+ <form class="form-horizontal">
87
+ <div class="row">
88
+ <div class="col-sm-12 form-group">
89
+ <label class="col-sm-5 control-label">当前登录人</label>
90
+ <div class="col-sm-7">
91
+ <p class="form-control-static">{{$login.f.name}}</p>
92
+ </div>
93
+ </div>
94
+ <div class="col-sm-12 form-group">
95
+ <label class="col-sm-5 control-label">所在销售点</label>
96
+ <div class="col-sm-7">
97
+ <p class="form-control-static">{{$login.f.deps}}</p>
98
+ </div>
99
+ </div>
100
+ </div>
101
+ </form>
102
+ </article>
103
+ <footer slot="modal-footer" class="modal-footer">
104
+ <button class="button_search" @click="depPromptConfirm">确认</button>
105
+ <button class="button_clear" @click="depPromptCancel">取消</button>
106
+ </footer>
107
+ </modal>
108
+
109
+ <!-- 修改密码组件 -->
110
+ <modify-pw :show.sync="modifyPwShow" v-if="modifyPwShow"></modify-pw>
111
+ </div>
112
+
113
+ </template>
114
+
115
+ <script>
116
+ import co from 'co'
117
+ import $ from 'jquery'
118
+ import Vue from 'vue'
119
+ import {HttpResetClass} from 'vue-client'
120
+
121
+
122
+
123
+ let saveGen = function *(self) {
124
+ try {
125
+ if(self.$login){
126
+ yield self.$login.login(self.model.ename, self.model.password)
127
+ }
128
+ if(self.$appdata){
129
+ yield self.$appdata.load()
130
+
131
+ }
132
+ if (Vue.$heatCompatibility) {
133
+ try {
134
+ if(self.$loginHeat){
135
+ yield self.$loginHeat.login(self.model.ename, self.model.password)
136
+ }
137
+ if(self.$appdataHeat){
138
+ yield self.$appdataHeat.load()
139
+ }
140
+ } catch (e) {
141
+ console.log('热力系统登陆失败!')
142
+ }
143
+ }
144
+ //吴小平
145
+ // yield self.$getConfig(self, 'Login')
146
+ console.log('登录配置', self.config)
147
+ if (self.config.isMac) {
148
+ // 获取该登录人分公司下的mac配置
149
+ let getMacs = yield self.$resetpost('rs/sql/equipmentQuery', {data: {condition: `f_filialeids like '%${self.$login.f.f_orgids}%'`}}, {
150
+ resolveMsg: null,
151
+ rejectMsg: null
152
+ }).catch(() => {
153
+ throw new Error('获取mac配置失败')
154
+ })
155
+ console.log('MAC地址信息', getMacs)
156
+ // 获取本地mac地址
157
+ let getLocalMac = yield self.$resetget('http://127.0.0.1:8003/loadmac', {
158
+ resolveMsg: null,
159
+ rejectMsg: null
160
+ }).catch(() => {
161
+ throw new Error('获取本地mac配置失败')
162
+ })
163
+ console.log('本地MAC地址信息', getLocalMac)
164
+ // 对Mac地址进行匹配
165
+ let macValidate = false
166
+ for (let i = 0; i < getLocalMac.data.mac.length; i++) {
167
+ for (let j = 0; j < getMacs.data.length; j++) {
168
+ if (getMacs.data[j].f_mac_number.toLocaleUpperCase() === getLocalMac.data.mac[i]) {
169
+ macValidate = true
170
+ }
171
+ }
172
+ }
173
+ if (!macValidate) {
174
+ throw new Error('Mac地址验证失败, 请联系管理员!!')
175
+ }
176
+ }
177
+ // 弱口令验证
178
+ //跳转过来的不进行验证
179
+ if ((!this.otherLogin) && self.config.weakPassword && !(/^(?:(?=.*[a-zA-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])).*$/.test(self.model.password))) {
180
+ self.$showMessage('登录系统: 此账户的密码过于简单,请修改密码后重新登陆!!!', ['confirm']).then((res) => {
181
+ self.modifyPwShow = true
182
+ })
183
+ } else if ((!this.otherLogin) && self.config.depPrompt) {
184
+ self.depPromptShow = true
185
+ } else {
186
+ self.$goto('home-page', {functions: self.$login.f})
187
+ if (self.$login) {
188
+ console.log('登录信息', self.$login.f)
189
+ global.login=self.$login.f
190
+ console.log('登录信息', global.login)
191
+ }
192
+ }
193
+
194
+ } catch (ret) {
195
+ console.error('登录失败', ret)
196
+ let msg
197
+ if (ret instanceof Error) {
198
+ msg = ret
199
+ }
200
+ if (ret.status === 0) {
201
+ msg = '服务连接错误,请确认服务状态'
202
+ } else if (ret.status === 401) {
203
+ msg = ret.data
204
+ } else if (ret.status === 710) {
205
+ msg = ret.data
206
+ }
207
+ self.createCode()
208
+ self.picLyanzhengma = ''
209
+ yield self.$showMessage(msg)
210
+ self.model.ename = ''
211
+ self.model.password = ''
212
+ self.login = false
213
+ $('form').fadeIn(500)
214
+ }
215
+ }
216
+ export default {
217
+ title: '登录',
218
+ async ready () {
219
+ try{
220
+ let http = new HttpResetClass()
221
+ let res = await http.load('POST', 'rs/sql/singleTable',
222
+ {data:{
223
+ tablename: 't_changedeclare',
224
+ condition: ` f_type ='变更通知' `
225
+ }
226
+ }, {resolveMsg: null, rejectMsg: null})
227
+ if(res.data.length>0){
228
+ console.log("---------------获取通知",res.data[0].f_change_message)
229
+ this.notice=res.data[0].f_change_message
230
+ }
231
+ }catch(e){}
232
+
233
+ this.loginother();
234
+ $('#login-button').click(function (event) {
235
+ event.preventDefault()
236
+ $('form').fadeOut(500)
237
+ })
238
+ if (window.location.search && window.location.search.indexOf('af_key') !== -1&& window.location.search.indexOf('af_n') !== -1) {
239
+ const subUrl = window.location.search.replace('?af_key=','').split('&af_n=')
240
+ console.log(subUrl)
241
+ this.model.ename = window.atob(subUrl[0])
242
+ this.model.password = window.atob(subUrl[1])
243
+ console.log('this.model.ename',this.model.ename)
244
+ this.otherLogin = true
245
+ this.confirm()
246
+ }else{
247
+ //跳转不需要验证码
248
+ this.createCode()
249
+ }
250
+ },
251
+ data () {
252
+ return {
253
+ image:{
254
+ img1: '/images/newStyle/login-info.png',
255
+ img2: '/images/newStyle/login-con.png',
256
+ img3: '/images/newStyle/login-left.png',
257
+ img4: '/images/newStyle/login-user.png',
258
+ img5: '/images/newStyle/login-pwd.png',
259
+ img6: '/images/newStyle/login-check.png',
260
+ img7: '/images/newStyle/login-do.png',
261
+ },
262
+ config: {
263
+ isMac: false,
264
+ depPrompt: false,
265
+ weakPassword: false,
266
+ title: '燃气客服系统',
267
+ distanceLogin: false
268
+ },
269
+ otherLogin:false,
270
+ login: false,
271
+ depPromptShow: false,
272
+ model: {},
273
+ show: false,
274
+ checkCode: '',
275
+ login_do:true,
276
+ picLyanzhengma: '',
277
+ // 修改密码弹框展示
278
+ modifyPwShow: false,
279
+ logoandroid:false,
280
+ showus:false,
281
+ notice:'',
282
+ loginotherflag :true
283
+ }
284
+ },
285
+ methods: {
286
+ async loginother(){
287
+ if (this.config.distanceLogin) {
288
+ if (this.$login && this.$login.getUrlParames('name') ) {
289
+ let ename = this.$login.getUrlParames('name');
290
+ let logininfo = await this.$resetpost('rs/logic/getLoginData',{data:{ename:ename}},{resolveMsg: null, rejectMsg: null});
291
+ if(logininfo.data){
292
+ if(logininfo.data.ename && logininfo.data.password){
293
+ this.model.ename = logininfo.data.ename
294
+ this.model.password =logininfo.data.password
295
+ let gen = saveGen(this)
296
+ return co(gen)
297
+ }
298
+ }
299
+ }
300
+ }
301
+ },
302
+ theme(){
303
+ // var elementList = document.querySelectorAll('body');
304
+ // console.log(elementList)
305
+ // document.querySelectorAll('body')[0].className='themeTwo'
306
+ // var elementList = document.querySelectorAll('body');
307
+ // console.log(elementList)
308
+ },
309
+ onReady () {
310
+ this.$emit('ready')
311
+ },
312
+ confirm (key) {
313
+ this.login_do=!this.login_do
314
+ // return
315
+ if (key == 'key') {
316
+ $('form').fadeOut(500)
317
+ }
318
+ this.login = true
319
+ // let gen = saveGen(this)
320
+ // return co(gen)
321
+ if((!this.otherLogin) && this.$login && this.$login.Verification){
322
+ console.log('跳转过来的不走验证')
323
+ if(this.picLyanzhengma == '') {
324
+ this.$showMessage("请输入验证码!").then(()=>{
325
+ this.login = false
326
+ $('form').fadeIn(500)
327
+ this.createCode()
328
+ })
329
+ }else if(this.picLyanzhengma.toUpperCase() != this.checkCode ) {
330
+ //若输入的验证码与产生的验证码不一致时
331
+ this.$showMessage("验证码不正确").then(()=>{
332
+ this.login = false
333
+ $('form').fadeIn(500)
334
+ this.createCode();//刷新验证码
335
+ this.picLyanzhengma = '';
336
+ })
337
+ }else {
338
+ this.login = true
339
+ let gen = saveGen(this)
340
+ return co(gen)
341
+ }
342
+ }else {
343
+ this.login = true
344
+ let gen = saveGen(this)
345
+ return co(gen)
346
+ }
347
+ },
348
+ createCode(){
349
+ let code = "";
350
+ let codeLength = 4;//验证码的长度
351
+ let random = new Array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R',
352
+ 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z');//随机数
353
+ for (let i = 0; i < codeLength; i++) {
354
+ //循环操作
355
+ let index = Math.floor(Math.random() * 36);//取得随机数的索引(0~35)
356
+ code += random[index];//根据索引取得随机数加到code上
357
+ }
358
+ this.checkCode = code;//把code值赋给验证码
359
+ },
360
+
361
+ async depPromptConfirm () {
362
+ this.depPromptShow = false
363
+ return this.$goto('home-page', {functions: this.$login.f})
364
+ },
365
+
366
+ depPromptCancel () {
367
+ this.depPromptShow = false
368
+ this.createCode()
369
+ this.picLyanzhengma = ''
370
+ this.model.ename = ''
371
+ this.model.password = ''
372
+ this.login = false
373
+ $('form').fadeIn(500)
374
+ }
375
+ },
376
+ watch: {
377
+ 'modifyPwShow' (val){
378
+ if (!val) {
379
+ window.location.reload()
380
+ }
381
+ }
382
+ }
383
+ }
384
+ </script>
385
+
386
+ <style>
387
+
388
+ /*输入框样式*/
389
+ /*@import url(http://fonts.useso.com/css?family=Source+Sans+Pro:200,300);*/
390
+ * {
391
+ box-sizing: border-box;
392
+ margin: 0;
393
+ padding: 0;
394
+ font-weight: 400;
395
+ outline: none;
396
+ }
397
+
398
+ body {
399
+ font-family: 'Source Sans Pro', sans-serif;
400
+ color: white;
401
+ font-weight: 400;
402
+ }
403
+
404
+ body ::-webkit-input-placeholder {
405
+ /* WebKit browsers */
406
+ font-family: 'Source Sans Pro', sans-serif;
407
+ color: white;
408
+ font-weight: 400;
409
+ }
410
+
411
+ body :-moz-placeholder {
412
+ /* Mozilla Firefox 4 to 18 */
413
+ font-family: 'Source Sans Pro', sans-serif;
414
+ color: white;
415
+ opacity: 1;
416
+ font-weight: 400;
417
+ }
418
+
419
+ body ::-moz-placeholder {
420
+ /* Mozilla Firefox 19+ */
421
+ font-family: 'Source Sans Pro', sans-serif;
422
+ color: white;
423
+ opacity: 1;
424
+ font-weight: 400;
425
+ }
426
+
427
+ body :-ms-input-placeholder {
428
+ /* Internet Explorer 10+ */
429
+ font-family: 'Source Sans Pro', sans-serif;
430
+ color: white;
431
+ font-weight: 400;
432
+ }
433
+
434
+ .wrapper {
435
+ /*background: #2D83BA;
436
+ background: -webkit-linear-gradient(top left, #2D83BA 0%, #2D83BA 100%);
437
+ background: linear-gradient(to bottom right, #2D83BA 0%, #2D83BA 100%);
438
+ opacity: 0.8;*/
439
+ position: absolute;
440
+ top: 50%;
441
+ right: -60px;
442
+ width: 40%;
443
+ height: 400px;
444
+ margin-top: -150px;
445
+ overflow: hidden;
446
+
447
+ }
448
+
449
+ .wrapper.form-success .container h3 {
450
+ -webkit-transform: translateY(85px);
451
+ -ms-transform: translateY(85px);
452
+ transform: translateY(85px);
453
+ }
454
+
455
+ .container {
456
+ max-width: 350px;
457
+ margin: 0 auto;
458
+ padding: 30px 100px 50px 100px;
459
+ height: 400px;
460
+ text-align: center;
461
+ /*以下增加*/
462
+ background: #2D83BA;
463
+ background: -webkit-linear-gradient(top left, #2D83BA 0%, #2D83BA 100%);
464
+ background: linear-gradient(to bottom right, #2D83BA 0%, #2D83BA 100%);
465
+ opacity: 0.8;
466
+ }
467
+
468
+ .container h3 {
469
+ font-size: 40px;
470
+ -webkit-transition-duration: 1s;
471
+ transition-duration: 1s;
472
+ -webkit-transition-timing-function: ease-in-put;
473
+ transition-timing-function: ease-in-put;
474
+ font-weight: 200;
475
+ }
476
+
477
+ .form {
478
+ padding: 20px 0;
479
+ position: relative;
480
+ z-index: 2;
481
+ }
482
+
483
+ .form input {
484
+ -webkit-appearance: none;
485
+ -moz-appearance: none;
486
+ appearance: none;
487
+ outline: 0;
488
+ border: 1px solid #50ABE6;
489
+ background-color: #50ABE6;
490
+ width: 250px;
491
+ border-radius: 3px;
492
+ padding: 10px 15px;
493
+ margin: 0 auto 10px auto;
494
+ display: block;
495
+ text-align: center;
496
+ font-size: 18px;
497
+ color: white;
498
+ -webkit-transition-duration: 0.25s;
499
+ transition-duration: 0.25s;
500
+ font-weight: 400;
501
+ }
502
+
503
+ .form input:hover {
504
+ background-color: rgba(255, 255, 255, 0.4);
505
+ }
506
+
507
+ .form input:focus {
508
+ background-color: white;
509
+ width: 300px;
510
+ color: #53e3a6;
511
+ }
512
+
513
+ .usericon {
514
+ background-image: url(../../../static/usericon.png);
515
+ background-repeat: no-repeat;
516
+ background-size: 30px;
517
+ background-position-x: 8px;
518
+ background-position-y: 8px;
519
+ }
520
+
521
+ .psicon {
522
+ background-image: url(../../../static/psicon.png);
523
+ background-repeat: no-repeat;
524
+ background-size: 30px;
525
+ background-position-x: 8px;
526
+ background-position-y: 8px;
527
+ }
528
+
529
+ .form button {
530
+ -webkit-appearance: none;
531
+ -moz-appearance: none;
532
+ appearance: none;
533
+ outline: 0;
534
+ background-color: white;
535
+ border: 0;
536
+ padding: 10px 15px;
537
+ color: #253830;
538
+ border-radius: 3px;
539
+ width: 250px;
540
+ cursor: pointer;
541
+ font-size: 18px;
542
+ -webkit-transition-duration: 0.25s;
543
+ transition-duration: 0.25s;
544
+ }
545
+
546
+ .form button:hover {
547
+ background-color: #f5f7f9;
548
+ }
549
+
550
+ /*注册字体样式*/
551
+ .form span {
552
+ color: #fff;
553
+ display: table-footer-group;
554
+ position: absolute;
555
+ right: 10px;
556
+ margin-top: 10px;
557
+ cursor: pointer;
558
+ }
559
+
560
+ .logotitle {
561
+ color: #fff;
562
+ position: absolute;
563
+ top: 50px;
564
+ left: 50px;
565
+ font-size: 50px;
566
+ }
567
+
568
+ /*注册模态框界面样式*/
569
+ .modifystyle {
570
+ background: #FCFEEE;
571
+ }
572
+
573
+ .modifystyle div {
574
+ height: auto;
575
+ margin-bottom: 15px;
576
+ /*text-align: center;*/
577
+ /*margin-left: 20%;*/
578
+ }
579
+
580
+ /*bootstrap字体图标要手动调整,所以使用字体图标的span必须紧跟在input后面,负责会错位*/
581
+ .modifystyle div input + span {
582
+ top: 0 !important;
583
+ right: 32%;
584
+ }
585
+
586
+ .modifystyle span {
587
+ color: red;
588
+ }
589
+
590
+ /* 通告区内容 */
591
+ .notice-board {
592
+ height: auto;
593
+ position: absolute;
594
+ top: 50%;
595
+ margin-top: -150px;
596
+ margin-left: 100px;
597
+ color: #fff;
598
+ }
599
+
600
+ /*修改密码底部按钮部分样式*/
601
+ .footerbtn {
602
+ text-align: center;
603
+ padding: 15px;
604
+ }
605
+
606
+ .footerbtn button {
607
+ width: 100px;
608
+ margin-left: 20px;
609
+ }
610
+
611
+ .bg-bubbles {
612
+ position: absolute;
613
+ top: 0;
614
+ left: 0;
615
+ width: 100%;
616
+ height: 100%;
617
+ z-index: 1;
618
+ }
619
+
620
+ .bg-bubbles li {
621
+ position: absolute;
622
+ list-style: none;
623
+ display: block;
624
+ width: 40px;
625
+ height: 40px;
626
+ background-color: rgba(255, 255, 255, 0.15);
627
+ bottom: -160px;
628
+ -webkit-animation: square 25s infinite;
629
+ animation: square 25s infinite;
630
+ -webkit-transition-timing-function: linear;
631
+ transition-timing-function: linear;
632
+ }
633
+
634
+ .bg-bubbles li:nth-child(1) {
635
+ left: 10%;
636
+ }
637
+
638
+ .bg-bubbles li:nth-child(2) {
639
+ left: 20%;
640
+ width: 80px;
641
+ height: 80px;
642
+ -webkit-animation-delay: 2s;
643
+ animation-delay: 2s;
644
+ -webkit-animation-duration: 17s;
645
+ animation-duration: 17s;
646
+ }
647
+
648
+ .bg-bubbles li:nth-child(3) {
649
+ left: 25%;
650
+ -webkit-animation-delay: 4s;
651
+ animation-delay: 4s;
652
+ }
653
+
654
+ .bg-bubbles li:nth-child(4) {
655
+ left: 40%;
656
+ width: 60px;
657
+ height: 60px;
658
+ -webkit-animation-duration: 22s;
659
+ animation-duration: 22s;
660
+ background-color: rgba(255, 255, 255, 0.25);
661
+ }
662
+
663
+ .bg-bubbles li:nth-child(5) {
664
+ left: 70%;
665
+ }
666
+
667
+ .bg-bubbles li:nth-child(6) {
668
+ left: 80%;
669
+ width: 120px;
670
+ height: 120px;
671
+ -webkit-animation-delay: 3s;
672
+ animation-delay: 3s;
673
+ background-color: rgba(255, 255, 255, 0.2);
674
+ }
675
+
676
+ .bg-bubbles li:nth-child(7) {
677
+ left: 32%;
678
+ width: 160px;
679
+ height: 160px;
680
+ -webkit-animation-delay: 7s;
681
+ animation-delay: 7s;
682
+ }
683
+
684
+ .bg-bubbles li:nth-child(8) {
685
+ left: 55%;
686
+ width: 20px;
687
+ height: 20px;
688
+ -webkit-animation-delay: 15s;
689
+ animation-delay: 15s;
690
+ -webkit-animation-duration: 40s;
691
+ animation-duration: 40s;
692
+ }
693
+
694
+ .bg-bubbles li:nth-child(9) {
695
+ left: 25%;
696
+ width: 10px;
697
+ height: 10px;
698
+ -webkit-animation-delay: 2s;
699
+ animation-delay: 2s;
700
+ -webkit-animation-duration: 40s;
701
+ animation-duration: 40s;
702
+ background-color: rgba(255, 255, 255, 0.3);
703
+ }
704
+
705
+ .bg-bubbles li:nth-child(10) {
706
+ left: 90%;
707
+ width: 160px;
708
+ height: 160px;
709
+ -webkit-animation-delay: 11s;
710
+ animation-delay: 11s;
711
+ }
712
+ .logofooter{
713
+ font-size: 12px;
714
+ color:#fff;
715
+ width:150px;
716
+ margin-left: 17px;
717
+ }
718
+ .logocontent{
719
+ font-size: 14px;
720
+ color:#fff;
721
+ width:150px;
722
+ margin: 3px -15px;
723
+ }
724
+ .imglogo {
725
+ background:url(../../../static/logo.png);
726
+ background-size:100%;
727
+ }
728
+ .logoew {
729
+ width:120px;
730
+ height:120px;
731
+ float:right;
732
+ margin-right:8.5%;
733
+ margin-top:10px;
734
+ }
735
+
736
+ @-webkit-keyframes square {
737
+ 0% {
738
+ -webkit-transform: translateY(0);
739
+ transform: translateY(0);
740
+ }
741
+ 100% {
742
+ -webkit-transform: translateY(-700px) rotate(600deg);
743
+ transform: translateY(-700px) rotate(600deg);
744
+ }
745
+ }
746
+
747
+ @keyframes square {
748
+ 0% {
749
+ -webkit-transform: translateY(0);
750
+ transform: translateY(0);
751
+ }
752
+ 100% {
753
+ -webkit-transform: translateY(-700px) rotate(600deg);
754
+ transform: translateY(-700px) rotate(600deg);
755
+ }
756
+ }
757
+ </style>