n20-common-lib 2.4.31 → 2.4.33
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.
- package/package.json +1 -1
- package/src/components/operatingStatus/index.vue +10 -5
- package/style/index.css +1 -1
- package/style/index.css.map +1 -1
- package/theme/blue.css +1 -1
- package/theme/cctcRed.css +1 -1
- package/theme/green.css +1 -1
- package/theme/lightBlue.css +1 -1
- package/theme/orange.css +1 -1
- package/theme/purple.css +1 -1
- package/theme/red.css +1 -1
- package/theme/yellow.css +1 -1
- package/src/assets/.DS_Store +0 -0
- package/src/plugins/.DS_Store +0 -0
- package/src/plugins/Sign/.DS_Store +0 -0
- package/src/plugins/Sign/cfca/.DS_Store +0 -0
- package/src/utils/.DS_Store +0 -0
package/package.json
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<el-carousel height="50px" :interval="3000" direction="vertical" indicator-position="none" :autoplay="true">
|
|
3
3
|
<el-carousel-item v-for="tip in tips" :key="tip.id">
|
|
4
|
-
<div
|
|
5
|
-
v-if="tip.isShow === '1'"
|
|
6
|
-
v-title="`${tip.createTime}${enumData[tip.busState]}${tip.busCode !== 'D001' ? tip.currency || '' : ''}`"
|
|
7
|
-
:class="`tip_color_${tip.style || 'default'}`"
|
|
8
|
-
>
|
|
4
|
+
<div v-if="tip.isShow === '1'" v-title:br="list" :class="`tip_color_${tip.style || 'default'}`">
|
|
9
5
|
{{ tip.busCode | busType }}
|
|
10
6
|
</div>
|
|
11
7
|
</el-carousel-item>
|
|
@@ -14,6 +10,7 @@
|
|
|
14
10
|
|
|
15
11
|
<script>
|
|
16
12
|
import axios from '../../utils/axios'
|
|
13
|
+
import cloneDeep from 'lodash/cloneDeep'
|
|
17
14
|
let filterData
|
|
18
15
|
let enumData = {
|
|
19
16
|
D001: '营业中',
|
|
@@ -53,6 +50,7 @@ export default {
|
|
|
53
50
|
return {
|
|
54
51
|
enumData,
|
|
55
52
|
tips: [],
|
|
53
|
+
list: '',
|
|
56
54
|
interval: ''
|
|
57
55
|
}
|
|
58
56
|
},
|
|
@@ -69,6 +67,13 @@ export default {
|
|
|
69
67
|
const { data } = await axios.get(`/bems/portal/portalTopShow/getShowTopAll`)
|
|
70
68
|
this.tips = data
|
|
71
69
|
filterData = data
|
|
70
|
+
this.list = cloneDeep(data)
|
|
71
|
+
.map((tip) => {
|
|
72
|
+
return `${tip.createTime}${tip.busNname}${enumData[tip.busState]}${
|
|
73
|
+
tip.busCode !== 'D001' ? tip.currency || '' : ''
|
|
74
|
+
}`
|
|
75
|
+
})
|
|
76
|
+
.join(',')
|
|
72
77
|
}
|
|
73
78
|
}
|
|
74
79
|
}
|