Browse Source

修改样式

lipengtao 6 years ago
parent
commit
996e771410

+ 13 - 17
src/views/dehumidificationSystem/airClamp.vue

@ -88,8 +88,7 @@
88 88
        arr1obj: {
89 89
          txt: '浦口侧上游排气夹',
90 90
          '7709': 0,
91
          '7710': 1,
92
          '7711': 2
91
          '7710': 1
93 92
        },
94 93
        arr1: [],
95 94
        arr2obj: {
@ -121,15 +120,13 @@
121 120
        arr6obj: {
122 121
          txt: '建邺侧上游排气夹',
123 122
          '7697': 0,
124
          '7698': 1,
125
          '7699': 2
123
          '7698': 1
126 124
        },
127 125
        arr6: [],
128 126
        arr7obj: {
129 127
          txt: '建邺侧下游排气夹',
130 128
          '7703': 0,
131
          '7704': 1,
132
          '7705': 2
129
          '7704': 1
133 130
        },
134 131
        arr7: [],
135 132
        arr8obj: {
@ -161,8 +158,7 @@
161 158
        arr12obj: {
162 159
          txt: '浦口侧下游排气夹',
163 160
          '7715': 0,
164
          '7716': 1,
165
          '7717': 2
161
          '7716': 1
166 162
        },
167 163
        arr11: [],
168 164
        unitObj: {
@ -181,18 +177,18 @@
181 177
          return
182 178
        }
183 179
        this.blockShow = true
184
        const array1 = ['', '', '']
180
        const array1 = ['', '']
185 181
        const array2 = ['', '', '']
186 182
        const array3 = ['', '']
187 183
        const array4 = ['', '']
188 184
        const array5 = ['', '', '']
189
        const array6 = ['', '', '']
190
        const array7 = ['', '', '']
185
        const array6 = ['', '']
186
        const array7 = ['', '']
191 187
        const array8 = ['', '', '']
192 188
        const array9 = ['', '']
193 189
        const array10 = ['', '']
194 190
        const array11 = ['', '', '']
195
        const array12 = ['', '', '']
191
        const array12 = ['', '']
196 192
        Object.keys(res['01']).forEach((key) => {
197 193
          res['01'][key].forEach((item) => {
198 194
            const code = item.code
@ -291,7 +287,7 @@
291 287
        background-color: rgba(246, 250, 255, 0.8);
292 288
293 289
        &:nth-child(2) {
294
          top: 215px;
290
          top: 223px;
295 291
          left: 201px;
296 292
        }
297 293
@ -311,12 +307,12 @@
311 307
        }
312 308
313 309
        &:nth-child(6) {
314
          top: 132px;
310
          top: 137px;
315 311
          right: 290px;
316 312
        }
317 313
318 314
        &:nth-child(7) {
319
          top: 215px;
315
          top: 223px;
320 316
          right: 146px;
321 317
        }
322 318
@ -342,7 +338,7 @@
342 338
        background-color: rgba(246, 250, 255, 0.8);
343 339
344 340
        &:nth-child(2) {
345
          top: 215px;
341
          top: 223px;
346 342
          left: 147px;
347 343
        }
348 344
@ -367,7 +363,7 @@
367 363
        }
368 364
369 365
        &:nth-child(7) {
370
          top: 215px;
366
          top: 223px;
371 367
          right: 201px;
372 368
        }
373 369

+ 3 - 3
src/views/dehumidificationSystem/history.vue

@ -100,7 +100,7 @@
100 100
              switch (this.truObject[key]) {
101 101
                case '01':
102 102
                  echObj.color.push('#5793f3')
103
                  echObj.yAxis.push(this.yAxisFun('温度', -50, 100, 'left', '#5793f3', '℃'))
103
                  echObj.yAxis.push(this.yAxisFun('温度', -20, 100, 'left', '#5793f3', '℃'))
104 104
                  echObj.series.push(this.seriesFun('温度', 'line', idx, []))
105 105
                  echObj.legend.push('温度')
106 106
                  break
@ -116,12 +116,12 @@
116 116
                  break
117 117
                case '03':
118 118
                  echObj.color.push('#675bba')
119
                  echObj.yAxis.push(this.yAxisFun('压力', 0, 250, 'right', '#675bba', 'kPa'))
119
                  echObj.yAxis.push(this.yAxisFun('压力', 0, 10, 'right', '#675bba', 'kPa'))
120 120
                  echObj.series.push(this.seriesFun('压力', 'bar', idx, []))
121 121
                  echObj.legend.push('压力')
122 122
                  break
123 123
                case '04':
124
                  const yItem = this.yAxisFun('风量', 0, 250, 'right', '#67C23A', 'm³/h')
124
                  const yItem = this.yAxisFun('风量', 0, 100, 'right', '#67C23A', 'm³/h')
125 125
                  if (echObj.color.indexOf('#675bba') >= 0) {
126 126
                    yItem.offset = 80
127 127
                  }

+ 0 - 9
src/views/layout/Layout.vue

@ -7,15 +7,6 @@
7 7
      <navbar></navbar>
8 8
      <app-main></app-main>
9 9
    </div>
10
    <div class="main-footer">
11
      <div style="margin:0 auto;line-height:20px;color:#939393; padding:12px 0;overflow: hidden;width:380px">
12
        <a style="margin: 0 5px 0 0;float:left">京ICP备16026450号-2 |</a>
13
        <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010802027571" style="display:inline-block;text-decoration:none;float:left">
14
          <img src="./img/beian.png" width="18" style="float:left;"/>
15
          <p style="float:left;margin: 0 0 0 5px;">京公网安备 11010802027571号</p>
16
        </a>
17
      </div>
18
    </div>
19 10
  </div>
20 11
</template>
21 12

+ 0 - 9
src/views/layout/com.vue

@ -7,15 +7,6 @@
7 7
      <nava></nava>
8 8
      <app-main></app-main>
9 9
    </div>
10
    <div class="main-footer">
11
      <div style="margin:0 auto;line-height:20px;color:#939393; padding:12px 0;overflow: hidden;width:380px">
12
        <a style="margin: 0 5px 0 0;float:left">京ICP备16026450号-2 |</a>
13
        <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010802027571" style="display:inline-block;text-decoration:none;float:left">
14
          <img src="./img/beian.png" width="18" style="float:left;" />
15
          <p style="float:left;margin: 0 0 0 5px;">京公网安备 11010802027571号</p>
16
        </a>
17
      </div>
18
    </div>
19 10
  </div>
20 11
</template>
21 12

+ 36 - 2
src/views/login/index.vue

@ -1,9 +1,9 @@
1 1
<template>
2
  <div class="login-container">
2
  <div class="login-container loginBox">
3 3
    <div class="logo-wrapper">
4 4
      <div class="logo-img"></div>
5 5
    </div>
6
    <el-form class="login-form" autoComplete="on" :model="loginForm" :rules="loginRules" ref="loginForm" label-position="left">
6
    <el-form class="login-form" autoComplete="on" :model="loginForm" :rules="loginRules" ref="loginForm" label-position="left" style="position: static">
7 7
      <h3 class="title">登录</h3>
8 8
      <el-form-item prop="username">
9 9
        <span class="svg-container svg-container_login">
@ -33,6 +33,15 @@
33 33
        <el-button v-waves type="text" @click.native.prevent="goBackPwd">忘记密码?</el-button>
34 34
      </el-form-item>
35 35
    </el-form>
36
    <div class="main-footer">
37
        <div style="margin:0 auto;line-height:20px;color:#939393; padding:12px 0;overflow: hidden;width:380px">
38
          <a style="margin: 0 5px 0 0;float:left">京ICP备16026450号-2 |</a>
39
          <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010802027571" style="display:inline-block;text-decoration:none;float:left">
40
            <img src="../layout/img/beian.png" width="18" style="float:left;"/>
41
            <p style="float:left;margin: 0 0 0 5px;">京公网安备 11010802027571号</p>
42
          </a>
43
        </div>
44
      </div>
36 45
  </div>
37 46
</template>
38 47
@ -146,3 +155,28 @@ export default {
146 155
  }
147 156
}
148 157
</script>
158
159
<style rel="stylesheet/scss" lang="scss" scoped>
160
  .loginBox {
161
    display: flex;
162
    align-items: center;
163
    justify-content: center;
164
    .logo-wrapper {
165
      position: fixed;
166
      top: 0
167
    }
168
  }
169
  .main-footer{
170
    z-index: 2002;
171
    position:fixed;
172
    background: #f5e2e6;
173
    border-top:1px solid #e6e6e6;
174
    bottom:0;
175
    left:0;
176
    right:0;
177
    font-size:14px;
178
    text-align: center;
179
    color: #333;
180
    opacity:0.8;
181
  }
182
</style>