system-clients 3.2.3 → 3.2.4-aodeToV4

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