中建四局:完成指挥中心页面的布局和样式
This commit is contained in:
parent
5a9b10a64b
commit
b041d2c65c
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
<style lang='scss' scoped>
|
<style lang='scss' scoped>
|
||||||
.steps {
|
.steps {
|
||||||
width: 100%;
|
// width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 80px;
|
height: 80px;
|
||||||
&-item {
|
&-item {
|
||||||
@ -63,7 +63,7 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
transform: translateX(-7px);
|
transform: translateX(-11px);
|
||||||
|
|
||||||
.label {
|
.label {
|
||||||
color: #9da9b9;
|
color: #9da9b9;
|
||||||
@ -75,6 +75,25 @@
|
|||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.steps-item:first-child {
|
||||||
|
width: 80px;
|
||||||
|
|
||||||
|
.steps-item-line {
|
||||||
|
border-radius: 12px 0 0 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.steps-item-num {
|
||||||
|
left: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.steps-item-text {
|
||||||
|
align-items: flex-start;
|
||||||
|
transform: translateX(0px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|||||||
@ -18,23 +18,27 @@ export default {
|
|||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
label: '2022-01-01',
|
label: '2022-01-01',
|
||||||
value: '测试阶段1'
|
value: '基础工程'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '二',
|
label: '2022-02-14',
|
||||||
value: '测试阶段2'
|
value: '主题结构施工'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '三',
|
label: '2022-03-25',
|
||||||
value: '测试阶段3'
|
value: '屋面工程'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '四',
|
label: '2022-01-01',
|
||||||
value: '测试阶段3'
|
value: '基础工程'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '五',
|
label: '2022-02-14',
|
||||||
value: '测试阶段3'
|
value: '主题结构施工'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '2022-03-25',
|
||||||
|
value: '屋面工程'
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
index: 0
|
index: 0
|
||||||
@ -51,11 +55,4 @@ export default {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ::v-deep .steps-item {
|
|
||||||
// width: 150px;
|
|
||||||
// height: 34px;
|
|
||||||
// padding-top: 15px;
|
|
||||||
// position: relative;
|
|
||||||
// }
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -11,7 +11,7 @@
|
|||||||
<span class="label">{{ item.label }}</span>
|
<span class="label">{{ item.label }}</span>
|
||||||
<div class="bottom">
|
<div class="bottom">
|
||||||
<span class="value" :style="{ fontStyle: item.unit ? 'italic' : '' }">{{ item.value }}</span>
|
<span class="value" :style="{ fontStyle: item.unit ? 'italic' : '' }">{{ item.value }}</span>
|
||||||
<span v-if="item.value" class="unit">{{ item.unit }}</span>
|
<span v-if="item.value" class="unit"> {{ item.unit }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -104,7 +104,7 @@ export default {
|
|||||||
color: #002636;
|
color: #002636;
|
||||||
}
|
}
|
||||||
|
|
||||||
.value {
|
.bottom {
|
||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -374,17 +374,17 @@ export default {
|
|||||||
|
|
||||||
.first-box {
|
.first-box {
|
||||||
bottom: 30%;
|
bottom: 30%;
|
||||||
left: 6.5%;
|
left: 8%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.second-box {
|
.second-box {
|
||||||
bottom: 30%;
|
bottom: 30%;
|
||||||
left: 42.5%;
|
left: 43.5%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.third-box {
|
.third-box {
|
||||||
bottom: 30%;
|
bottom: 30%;
|
||||||
left: 80.5%;
|
left: 81.5%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user