openatc-components 0.2.89 → 0.3.1
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/kisscomps/components/PhasePedSelect/index.js +2 -0
- package/package/kisscomps/components/PhasePedSelect/index.vue +192 -0
- package/package/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +16 -16
- package/package/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +16 -5
- package/package/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +2 -0
- package/package/kisscomps/components/StageBord/StageBord.vue +15 -0
- package/package/kisscomps/components/XRDDirSelector/XRDDirSelector.vue +1 -1
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/i18n/language/en.js +1 -0
- package/src/i18n/language/zh.js +1 -0
- package/src/kisscomps/components/PhasePedSelect/index.js +2 -0
- package/src/kisscomps/components/PhasePedSelect/index.vue +192 -0
- package/src/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +16 -16
- package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +16 -5
- package/src/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +2 -0
- package/src/kisscomps/components/StageBord/StageBord.vue +15 -0
- package/src/kisscomps/components/XRDDirSelector/XRDDirSelector.vue +1 -1
- package/src/views/schemeconfig.vue +3 -1
- package/static/styles/PhasePedSelect.scss +57 -158
- package/static/styles/common.scss +1 -0
- package/static/styles/dark/theme/element-dark.scss +2 -0
- package/static/styles/light/theme/element-light.scss +2 -0
package/package.json
CHANGED
package/src/i18n/language/en.js
CHANGED
package/src/i18n/language/zh.js
CHANGED
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020 kedacom
|
|
3
|
+
* OpenATC is licensed under Mulan PSL v2.
|
|
4
|
+
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
|
5
|
+
* You may obtain a copy of Mulan PSL v2 at:
|
|
6
|
+
* http://license.coscl.org.cn/MulanPSL2
|
|
7
|
+
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
|
|
8
|
+
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
|
|
9
|
+
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
|
|
10
|
+
* See the Mulan PSL v2 for more details.
|
|
11
|
+
**/
|
|
12
|
+
<template>
|
|
13
|
+
<div class="PhasePedSelect">
|
|
14
|
+
<div class="item">
|
|
15
|
+
<div class="name">{{$t('openatccomponents.channel.phaseVehicle')}}:</div>
|
|
16
|
+
<div class="content">
|
|
17
|
+
<template v-for="(ring, index) in phaseDirection">
|
|
18
|
+
<div :class="ring.selected ? 'card-selected' : 'card'" :key="ring" @click="onCardClick(ring, index)" :style="getStyle(ring)">
|
|
19
|
+
<xdrdirselector
|
|
20
|
+
Width="75PX"
|
|
21
|
+
Height="75PX"
|
|
22
|
+
Widths="95PX"
|
|
23
|
+
Heights="65PX"
|
|
24
|
+
:showlist="ring.desc"
|
|
25
|
+
:roadDirection="roadDirection"></xdrdirselector>
|
|
26
|
+
<div class="num">{{ring.id}}</div>
|
|
27
|
+
</div>
|
|
28
|
+
</template>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="item">
|
|
32
|
+
<div class="name">{{$t('openatccomponents.channel.phasePedestrian')}}:</div>
|
|
33
|
+
<div class="content">
|
|
34
|
+
<template v-for="(ring, index) in pedDirection">
|
|
35
|
+
<div :class="ring.selected ? 'card-selected' : 'card'" :key="ring" @click="onCardClick(ring, index)">
|
|
36
|
+
<xdrdirselector
|
|
37
|
+
Width="75PX"
|
|
38
|
+
Height="75PX"
|
|
39
|
+
Widths="65PX"
|
|
40
|
+
Heights="65PX"
|
|
41
|
+
:showlist="ring.desc"
|
|
42
|
+
:roadDirection="roadDirection"></xdrdirselector>
|
|
43
|
+
<div class="num">{{ring.id}}</div>
|
|
44
|
+
</div>
|
|
45
|
+
</template>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
</template>
|
|
50
|
+
<script>
|
|
51
|
+
import xdrdirselector from '../XRDDirSelector/XRDDirSelector.vue'
|
|
52
|
+
import { getTheme } from '../../../utils/auth'
|
|
53
|
+
|
|
54
|
+
export default {
|
|
55
|
+
name: 'PhasePedSelect',
|
|
56
|
+
components: {
|
|
57
|
+
xdrdirselector
|
|
58
|
+
// patternwalksvg
|
|
59
|
+
},
|
|
60
|
+
props: {
|
|
61
|
+
closePhaseRings: {
|
|
62
|
+
type: Array,
|
|
63
|
+
default: () => []
|
|
64
|
+
},
|
|
65
|
+
sidewalkPhaseData: {
|
|
66
|
+
type: Array,
|
|
67
|
+
default: () => []
|
|
68
|
+
},
|
|
69
|
+
headerText: {
|
|
70
|
+
type: String
|
|
71
|
+
},
|
|
72
|
+
list: {
|
|
73
|
+
type: Array,
|
|
74
|
+
default () {
|
|
75
|
+
return []
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
roadDirection: {
|
|
79
|
+
type: String
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
data () {
|
|
83
|
+
return {
|
|
84
|
+
themeColor: getTheme() === 'light' ? '#606266' : '#fff',
|
|
85
|
+
backgroundBase: getTheme() === 'light' ? '#606266' : '#fff',
|
|
86
|
+
backgroundSelected: getTheme() === 'light' ? '#606266' : '#fff',
|
|
87
|
+
phaseList: [],
|
|
88
|
+
pedPhaseList: [],
|
|
89
|
+
phaseDirection: [],
|
|
90
|
+
pedDirection: [],
|
|
91
|
+
params: {
|
|
92
|
+
'phases':
|
|
93
|
+
[
|
|
94
|
+
{
|
|
95
|
+
'id': 1,
|
|
96
|
+
'type': 0
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
'id': 2,
|
|
100
|
+
'type': 2
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
'id': 3,
|
|
104
|
+
'type': 3
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
watch: {
|
|
111
|
+
closePhaseRings (val) {
|
|
112
|
+
console.log('closePhaseRings', val)
|
|
113
|
+
console.log('sidewalkPhaseData', this.sidewalkPhaseData)
|
|
114
|
+
let tempPhaseList = []
|
|
115
|
+
for (let ring of this.closePhaseRings) {
|
|
116
|
+
let phases = ring.phases
|
|
117
|
+
tempPhaseList = [...tempPhaseList, ...phases]
|
|
118
|
+
}
|
|
119
|
+
tempPhaseList = tempPhaseList.sort((a, b) => a.id - b.id)
|
|
120
|
+
let tempPhaseListCopy = JSON.parse(JSON.stringify(tempPhaseList))
|
|
121
|
+
tempPhaseList = tempPhaseList.map(item => {
|
|
122
|
+
item.selected = false
|
|
123
|
+
item.desc.map(des => {
|
|
124
|
+
des.color = this.themeColor
|
|
125
|
+
des.peddirection = []
|
|
126
|
+
return des
|
|
127
|
+
})
|
|
128
|
+
return item
|
|
129
|
+
})
|
|
130
|
+
this.phaseDirection = JSON.parse(JSON.stringify(tempPhaseList))
|
|
131
|
+
let tempPedList = tempPhaseListCopy.filter(item => item.peddirection && item.peddirection.length > 0)
|
|
132
|
+
console.log('tempPhaseList', tempPedList)
|
|
133
|
+
tempPedList = tempPedList.map(item => {
|
|
134
|
+
item.selected = false
|
|
135
|
+
item.desc.map(des => {
|
|
136
|
+
des.id = 0
|
|
137
|
+
des.color = this.themeColor
|
|
138
|
+
des.peddirection = des.peddirection.map(dir => {
|
|
139
|
+
dir.color = this.themeColor
|
|
140
|
+
return dir
|
|
141
|
+
})
|
|
142
|
+
return des
|
|
143
|
+
})
|
|
144
|
+
return item
|
|
145
|
+
})
|
|
146
|
+
this.pedDirection = JSON.parse(JSON.stringify(tempPedList))
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
methods: {
|
|
150
|
+
onCardClick (item, index) {
|
|
151
|
+
item.selected = !item.selected
|
|
152
|
+
let res = this.getParams()
|
|
153
|
+
this.$emit('onPhasePedSelectChange', res)
|
|
154
|
+
},
|
|
155
|
+
getParams () {
|
|
156
|
+
console.log('phaseDirection', this.phaseDirection)
|
|
157
|
+
console.log('pedDirection', this.pedDirection)
|
|
158
|
+
console.log('closePhaseRings', this.closePhaseRings)
|
|
159
|
+
this.params.phases = []
|
|
160
|
+
for (let i = 0; i < this.phaseDirection.length; i++) {
|
|
161
|
+
let type = 0
|
|
162
|
+
let phase = this.phaseDirection[i]
|
|
163
|
+
let id = phase.id
|
|
164
|
+
let isPhaseSelected = phase.selected
|
|
165
|
+
if (isPhaseSelected) {
|
|
166
|
+
type = 2
|
|
167
|
+
}
|
|
168
|
+
let ped = this.pedDirection.find(item => item.id === id)
|
|
169
|
+
if (ped) {
|
|
170
|
+
let isPedSelected = ped.selected
|
|
171
|
+
if (isPhaseSelected && isPedSelected) {
|
|
172
|
+
type = 1
|
|
173
|
+
} else if (isPhaseSelected && !isPedSelected) {
|
|
174
|
+
type = 2
|
|
175
|
+
} else if (!isPhaseSelected && isPedSelected) {
|
|
176
|
+
type = 3
|
|
177
|
+
} else if (!isPhaseSelected && !isPedSelected) {
|
|
178
|
+
type = 0
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
let phaseItem = {
|
|
182
|
+
id: id,
|
|
183
|
+
type: type
|
|
184
|
+
}
|
|
185
|
+
this.params.phases.push(phaseItem)
|
|
186
|
+
}
|
|
187
|
+
let res = this.params.phases
|
|
188
|
+
return res
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
</script>
|
|
@@ -56,23 +56,23 @@
|
|
|
56
56
|
</div>
|
|
57
57
|
</div>
|
|
58
58
|
<div v-if="currentName !==''" style="width: 100%; height: auto;overflow: hidden;">
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
<div style="margin-top:20px" class="model-label-title">{{currentName}}{{$t('openatccomponents.overview.currentphase')}}:</div>
|
|
60
|
+
<div class="control-model" v-for="(item, index) in sidewalkPhaseData" :key="index">
|
|
61
61
|
<div style="position:relative;" class="single-model" :style="{'backgroundColor': item[0].bgcolor}">
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
62
|
+
<xdr-dir-selector Width="75PX" Height="75PX" Widths="65PX" Heights="65PX" :Data="showStyle" :Datas="showStyles" :showlist="dirListSetTheme(item)"></xdr-dir-selector>
|
|
63
|
+
<div style="height:80px;display:flex;flex-direction:row;justify-content:center;align-items:end;">
|
|
64
|
+
<div class="current-stage-num" :style="{color: themeColor}" style="width:20%;">{{index + 1}}</div>
|
|
65
|
+
<div style="width:70%;">
|
|
66
|
+
<i class="iconfont icon-feijidongche" :style="{color: themeColor}" style="font-size:11PX;color:#606266;margin-left:10PX" v-if="item[item.length-1].controltype === 6"></i>
|
|
67
|
+
<i class="iconfont icon-lukouzhilu" :style="{color: themeColor2}" style="font-size:16PX;color:#454545;margin-left:10PX" v-if="item[item.length-1].controltype === 1"></i>
|
|
68
|
+
<i class="iconfont icon-BRT" :style="{color: themeColor2}" style="font-size:11PX;color:#454545;margin-left:10PX" v-if="item[item.length-1].controltype === 4"></i>
|
|
69
|
+
<div style="transform:scale(0.65);margin-left:10PX">
|
|
70
|
+
<i class="iconfont icon-xuxiangwei-xin" :style="{color: themeColor2}" style="font-size:5PX;color:#454545;" v-if="item[item.length-1].controltype === 99"></i>
|
|
71
|
+
</div>
|
|
72
|
+
<i class="iconfont icon-gongjiaoche" :style="{color: themeColor}" style="font-size:11PX;color:#606266;margin-left:10PX" v-if="item[item.length-1].controltype === 3"></i>
|
|
73
|
+
<i class="iconfont icon-youguidianche" :style="{color: themeColor}" style="font-size:11PX;color:#606266;margin-left:10PX" v-if="item[item.length-1].controltype === 5"></i>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
76
|
</div>
|
|
77
77
|
</div>
|
|
78
78
|
</div>
|
|
@@ -60,15 +60,13 @@
|
|
|
60
60
|
</el-col>
|
|
61
61
|
</el-row>
|
|
62
62
|
<el-row>
|
|
63
|
-
<div class="model-label">{{$t('openatccomponents.overview.mode')}}:</div>
|
|
63
|
+
<!-- <div class="model-label">{{$t('openatccomponents.overview.mode')}}:</div>
|
|
64
64
|
<div style="width: 100%; overflow: hidden;margin-top: 20px;">
|
|
65
65
|
<common-kanban
|
|
66
66
|
v-for="ring in closePhaseRings"
|
|
67
67
|
:key="ring.num" class="closephasekanban"
|
|
68
68
|
:list="ring.phases"
|
|
69
69
|
:header-text="$t('openatccomponents.pattern.ring') + ring.num"
|
|
70
|
-
:Draggable="false"
|
|
71
|
-
:sidewalkPhaseData="sidewalkPhaseData"
|
|
72
70
|
:roadDirection="roadDirection"
|
|
73
71
|
@handleSort="handleSort">
|
|
74
72
|
<template v-slot:kanbantitle>
|
|
@@ -85,7 +83,12 @@
|
|
|
85
83
|
</el-select>
|
|
86
84
|
</template>
|
|
87
85
|
</common-kanban>
|
|
88
|
-
</div>
|
|
86
|
+
</div> -->
|
|
87
|
+
<PhasePedSelect :closePhaseRings="closePhaseRings"
|
|
88
|
+
:sidewalkPhaseData="sidewalkPhaseData"
|
|
89
|
+
:roadDirection="roadDirection"
|
|
90
|
+
@onPhasePedSelectChange="onPhasePedSelectChange"
|
|
91
|
+
></PhasePedSelect>
|
|
89
92
|
</el-row>
|
|
90
93
|
<div class="footer">
|
|
91
94
|
<el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
|
|
@@ -98,9 +101,13 @@
|
|
|
98
101
|
<script>
|
|
99
102
|
import RingDataModel from '../../../../utils/RingDataModel.js'
|
|
100
103
|
import { hasPermission } from '../../../../utils/auth'
|
|
104
|
+
import PhasePedSelect from '../../PhasePedSelect/index'
|
|
101
105
|
|
|
102
106
|
export default {
|
|
103
107
|
name: 'LockPhaselControl',
|
|
108
|
+
components: {
|
|
109
|
+
PhasePedSelect
|
|
110
|
+
},
|
|
104
111
|
props: {
|
|
105
112
|
phaseList: {
|
|
106
113
|
type: Array
|
|
@@ -124,6 +131,7 @@ export default {
|
|
|
124
131
|
},
|
|
125
132
|
data () {
|
|
126
133
|
return {
|
|
134
|
+
params: {},
|
|
127
135
|
closePhaseRings: [],
|
|
128
136
|
sidewalkPhaseData: [],
|
|
129
137
|
manualInfo: {
|
|
@@ -152,6 +160,9 @@ export default {
|
|
|
152
160
|
}
|
|
153
161
|
},
|
|
154
162
|
methods: {
|
|
163
|
+
onPhasePedSelectChange (params) {
|
|
164
|
+
this.phases = params
|
|
165
|
+
},
|
|
155
166
|
handleClose () {
|
|
156
167
|
this.$emit('closePhaseBack')
|
|
157
168
|
},
|
|
@@ -175,7 +186,7 @@ export default {
|
|
|
175
186
|
if (this.manualInfo.tempMingreen !== undefined) {
|
|
176
187
|
submitdata.data.mingreen = Number(this.manualInfo.tempMingreen)
|
|
177
188
|
}
|
|
178
|
-
submitdata.data.phases = this.
|
|
189
|
+
submitdata.data.phases = this.phases
|
|
179
190
|
this.$emit('closePhaseControl', submitdata)
|
|
180
191
|
},
|
|
181
192
|
handleSubmitPhaseLocking () {
|
|
@@ -467,6 +467,7 @@ export default {
|
|
|
467
467
|
green: 25,
|
|
468
468
|
yellow: 3,
|
|
469
469
|
red: 2,
|
|
470
|
+
stageNo: 0,
|
|
470
471
|
phases: [],
|
|
471
472
|
stageSplit: 30
|
|
472
473
|
})
|
|
@@ -556,6 +557,7 @@ export default {
|
|
|
556
557
|
res.yellow = rings.yellow ? rings.yellow : rings.yellow === 0 ? 0 : 3
|
|
557
558
|
res.red = rings.red ? rings.red : rings.red === 0 ? 0 : 2
|
|
558
559
|
res.phases = rings.phases ? rings.phases : stageArr
|
|
560
|
+
res.stageNo = rings.stageNo ? rings.stageNo : 0
|
|
559
561
|
// res.stageSplit = rings.split ? rings.split : 30
|
|
560
562
|
if (rings.split) {
|
|
561
563
|
res.stageSplit = rings.split
|
|
@@ -96,6 +96,21 @@
|
|
|
96
96
|
</el-input-number>
|
|
97
97
|
</el-col>
|
|
98
98
|
</el-row>
|
|
99
|
+
<el-row :gutter="0" v-if="isRing">
|
|
100
|
+
<el-col :span="6">
|
|
101
|
+
{{this.$t('openatccomponents.pattern.stageno')}}
|
|
102
|
+
</el-col>
|
|
103
|
+
<el-col :span="18">
|
|
104
|
+
<el-input-number
|
|
105
|
+
class="stage-value"
|
|
106
|
+
size="small"
|
|
107
|
+
:controls="false"
|
|
108
|
+
:min="0"
|
|
109
|
+
v-model.number="stage.stageNo"
|
|
110
|
+
@change="stageSplitChange">
|
|
111
|
+
</el-input-number>
|
|
112
|
+
</el-col>
|
|
113
|
+
</el-row>
|
|
99
114
|
<el-row :gutter="0" v-if="isRing">
|
|
100
115
|
<el-col :span="6">
|
|
101
116
|
{{this.$t('openatccomponents.pattern.yellow')}}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* See the Mulan PSL v2 for more details.
|
|
11
11
|
**/
|
|
12
12
|
<template>
|
|
13
|
-
<div :style="{position: 'reletive'}">
|
|
13
|
+
<div :style="{position: 'reletive', width: '100%', height: '100%'}">
|
|
14
14
|
<div :style="{position: 'absolute', left: Data?Data.left:0, top: Data?Data.top:0}">
|
|
15
15
|
<svg
|
|
16
16
|
version="1.1"
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
append-to-body>
|
|
23
23
|
<scheme-config
|
|
24
24
|
ref="rightpanel"
|
|
25
|
+
:fromPage="fromPage"
|
|
25
26
|
:agentId="agentId"
|
|
26
27
|
:statusData="crossStatusData"
|
|
27
28
|
:phaseList="phaseList2"/>
|
|
@@ -51,13 +52,14 @@ export default {
|
|
|
51
52
|
},
|
|
52
53
|
data () {
|
|
53
54
|
return {
|
|
55
|
+
fromPage: 2,
|
|
54
56
|
timer: 0,
|
|
55
57
|
phaseList2: [],
|
|
56
58
|
phaseList: [],
|
|
57
59
|
showWalk: [ 1, 2 ],
|
|
58
60
|
sidewalkPhaseData: [{key: 'pedphase1653873194007699', phaseid: 1, id: 1, name: '东人行横道', isshow: false}],
|
|
59
61
|
lockPhaseBtnName: this.$t('openatccomponents.overview.comfirm'),
|
|
60
|
-
agentId: '
|
|
62
|
+
agentId: 'gjnlahql',
|
|
61
63
|
Token: 'eyJraWQiOiIxNzAxODMyOTQ3MTUwIiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJxeXl0aCIsImV4cCI6MTc2OTc4ODgwMCwiaWF0IjoxNzAxMzYwMDAwfQ.RIQpNEkJibL-RYllirDeNLi8G9-t8PecM_m7KlZNQXg',
|
|
62
64
|
Token103: 'eyJraWQiOiIxNjcwMzc0ODA4MTcyIiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTc1Njc3NDgwOCwiaWF0IjoxNjcwMzc0ODA4fQ.xsRoye_tk_Xf60w5Mpigm8vrPgQJCLN-W_IW4U7dafA',
|
|
63
65
|
boxVisible: true,
|
|
@@ -1,169 +1,68 @@
|
|
|
1
|
-
//
|
|
2
|
-
.
|
|
3
|
-
|
|
4
|
-
max-width: 380PX;
|
|
5
|
-
min-height: 100PX;
|
|
1
|
+
// phasepedselect
|
|
2
|
+
.PhasePedSelect {
|
|
3
|
+
width: 100%;
|
|
6
4
|
height: auto;
|
|
7
|
-
|
|
8
|
-
//
|
|
9
|
-
border-radius: 3PX;
|
|
10
|
-
border: 1PX solid $--border-color-base;
|
|
11
|
-
// min-width: 180PX;
|
|
12
|
-
// min-height: 100PX;
|
|
13
|
-
// max-width: 350PX;
|
|
14
|
-
// height: auto;
|
|
15
|
-
// overflow: hidden;
|
|
16
|
-
// background: #f0f0f0;
|
|
17
|
-
// border: 1PX solid $--border-color-base;
|
|
18
|
-
.common-phase-description {
|
|
19
|
-
position: relative;
|
|
20
|
-
background: rgb(217, 236, 255);
|
|
21
|
-
width: 42PX;
|
|
22
|
-
height: 40PX;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// .board-column-header {
|
|
26
|
-
// height: 50PX;
|
|
27
|
-
// line-height: 50PX;
|
|
28
|
-
// overflow: hidden;
|
|
29
|
-
// padding: 0 10PX;
|
|
30
|
-
// text-align: center;
|
|
31
|
-
// background: $--color-primary;
|
|
32
|
-
// color: #FFFFFF;
|
|
33
|
-
// border-radius: 3PX 3PX 0 0;
|
|
34
|
-
// }
|
|
35
|
-
// .board-table-header {
|
|
36
|
-
// height: 30PX;
|
|
37
|
-
// line-height: 30PX;
|
|
38
|
-
// overflow: hidden;
|
|
39
|
-
// text-align: center;
|
|
40
|
-
// padding: 0 6PX;
|
|
41
|
-
// margin-bottom: -20PX;
|
|
42
|
-
// font-size: 12PX;
|
|
43
|
-
// color: $--color-info;
|
|
44
|
-
// background-color: $--color-black;
|
|
45
|
-
// }
|
|
46
|
-
.common-board-column-header {
|
|
47
|
-
line-height: 40PX;
|
|
48
|
-
overflow: hidden;
|
|
49
|
-
text-align: center;
|
|
50
|
-
background: $--color-primary;
|
|
51
|
-
color: #FFFFFF;
|
|
52
|
-
height: 40PX;
|
|
53
|
-
}
|
|
54
|
-
.common-board-table-header {
|
|
55
|
-
height: 30PX;
|
|
56
|
-
line-height: 30PX;
|
|
57
|
-
overflow: hidden;
|
|
58
|
-
text-align: center;
|
|
59
|
-
padding: 0 6PX;
|
|
60
|
-
margin-bottom: -10PX;
|
|
61
|
-
font-size: 12PX;
|
|
62
|
-
color: $--color-info;
|
|
63
|
-
background-color: $--color-black;
|
|
64
|
-
// height: 42PX;
|
|
65
|
-
// overflow: hidden;
|
|
66
|
-
// text-align: center;
|
|
67
|
-
// margin-bottom: -12PX;
|
|
68
|
-
// font-size: 14PX;
|
|
69
|
-
// color: $--color-info;
|
|
70
|
-
// background-color: $--color-black;
|
|
71
|
-
// border: 20PX solid transparent;
|
|
72
|
-
// border-bottom-width: 0PX;
|
|
73
|
-
.common-titlecolumn {
|
|
74
|
-
float: left;
|
|
75
|
-
text-align: left;
|
|
76
|
-
}
|
|
77
|
-
.phaseId{
|
|
78
|
-
width: 20px;
|
|
79
|
-
}
|
|
80
|
-
.phase {
|
|
81
|
-
text-align: center;
|
|
82
|
-
width: 50PX;
|
|
83
|
-
}
|
|
84
|
-
.mode {
|
|
85
|
-
text-align: center;
|
|
86
|
-
width: calc(100% - 80PX)
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.common-board-column-content {
|
|
91
|
-
height: auto;
|
|
92
|
-
overflow: hidden;
|
|
93
|
-
border: 10PX solid transparent;
|
|
94
|
-
min-height: 60PX;
|
|
5
|
+
// margin-top: 10PX;
|
|
6
|
+
// border: 1PX solid red;
|
|
95
7
|
display: flex;
|
|
96
|
-
justify-content: flex-start;
|
|
97
8
|
flex-direction: column;
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
// .board-item {
|
|
102
|
-
// cursor: pointer;
|
|
103
|
-
// width: 100%;
|
|
104
|
-
// height: 48PX;
|
|
105
|
-
// margin: 5PX 0;
|
|
106
|
-
// // background-color: rgba(31,46,46,0.9);
|
|
107
|
-
// text-align: left;
|
|
108
|
-
// line-height: 40PX;
|
|
109
|
-
// padding: 1PX 1PX;
|
|
110
|
-
// box-sizing: border-box;
|
|
111
|
-
// }
|
|
112
|
-
// height: auto;
|
|
113
|
-
// overflow: hidden;
|
|
114
|
-
// border: 10PX solid transparent;
|
|
115
|
-
// min-height: 60PX;
|
|
116
|
-
// display: flex;
|
|
117
|
-
// justify-content: flex-start;
|
|
118
|
-
// flex-direction: column;
|
|
119
|
-
// align-items: center;
|
|
120
|
-
// background-color: $--color-black;
|
|
121
|
-
// border-width: 20PX;
|
|
122
|
-
// border-top-width: 16PX;
|
|
123
|
-
// border-bottom-width: 15PX;
|
|
124
|
-
.common-contentcolumn {
|
|
125
|
-
float: left;
|
|
126
|
-
}
|
|
127
|
-
.index{
|
|
128
|
-
height: 40px;
|
|
129
|
-
line-height: 40px;
|
|
130
|
-
width: 20px;
|
|
131
|
-
}
|
|
132
|
-
.phase {
|
|
133
|
-
width: 40PX;
|
|
134
|
-
}
|
|
135
|
-
.mode {
|
|
136
|
-
margin-left: 10PX;
|
|
137
|
-
width: calc(100% - 80PX);
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.common-board-item {
|
|
141
|
-
cursor: pointer;
|
|
9
|
+
justify-content: flex-start;
|
|
10
|
+
align-items: flex-start;
|
|
11
|
+
.item {
|
|
142
12
|
width: 100%;
|
|
143
|
-
height:
|
|
144
|
-
//
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
// box-sizing: border-box;
|
|
156
|
-
.index{
|
|
157
|
-
color: $--color-text-primary;
|
|
13
|
+
height: 50%;
|
|
14
|
+
// border: 1PX solid green;
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
justify-content: flex-start;
|
|
18
|
+
align-items: flex-start;
|
|
19
|
+
.name {
|
|
20
|
+
width: 100%;
|
|
21
|
+
height: 20%;
|
|
22
|
+
// border: 1PX solid green;
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
158
25
|
font-size: 14PX;
|
|
26
|
+
color: $--color-text-secondary;
|
|
27
|
+
padding: 10PX 0;
|
|
159
28
|
}
|
|
160
|
-
.
|
|
29
|
+
.content {
|
|
161
30
|
width: 100%;
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
31
|
+
height: 80%;
|
|
32
|
+
// border: 1PX solid green;
|
|
33
|
+
display: flex;
|
|
34
|
+
justify-content: flex-start;
|
|
35
|
+
flex-wrap: wrap;
|
|
36
|
+
gap: 10PX;
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
.card {
|
|
39
|
+
width: 70PX;
|
|
40
|
+
height: 80PX;
|
|
41
|
+
// border: 1PX solid red;
|
|
42
|
+
position: relative;
|
|
43
|
+
// background-color: #243d59;
|
|
44
|
+
background-color: $--color-black;
|
|
45
|
+
border-radius: 5PX;
|
|
46
|
+
.num {
|
|
47
|
+
position: absolute;
|
|
48
|
+
left: 5PX;
|
|
49
|
+
bottom: 5PX;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
.card-selected {
|
|
53
|
+
width: 70PX;
|
|
54
|
+
height: 80PX;
|
|
55
|
+
// border: 1PX solid red;
|
|
56
|
+
position: relative;
|
|
57
|
+
// background-color: #0082ac;
|
|
58
|
+
background-color: $--color-primary;
|
|
59
|
+
border-radius: 5PX;
|
|
60
|
+
.num {
|
|
61
|
+
position: absolute;
|
|
62
|
+
left: 5PX;
|
|
63
|
+
bottom: 5PX;
|
|
64
|
+
}
|
|
165
65
|
}
|
|
166
66
|
}
|
|
167
67
|
}
|
|
168
68
|
}
|
|
169
|
-
}
|
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
$--color-primary: #299BCC;
|
|
15
15
|
$--color-white: #091F40;
|
|
16
16
|
$--color-black: #243D59;
|
|
17
|
+
// $--card-background-base: #243d59;
|
|
18
|
+
// $--card-background-selected: #0082ac;
|
|
17
19
|
$--background-color-base: #021026;
|
|
18
20
|
$--color-text-primary: #FFFFFF;
|
|
19
21
|
$--color-text-regular: #FFFFFF;
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
/* 改变主题色变量 */
|
|
13
13
|
$--color-black: #f7f8fa;
|
|
14
14
|
$--color-primary: #299BCC;
|
|
15
|
+
// $--card-background-base: #edf6ff;
|
|
16
|
+
// $--card-background-selected: #c1e0ff;
|
|
15
17
|
// $--color-white: #202940;
|
|
16
18
|
// $--color-black: #f7f8fa;
|
|
17
19
|
// $--background-color-base: #191F34;
|