update KilnRuntime
This commit is contained in:
parent
0ca11c2899
commit
6d4fe8a456
@ -4,11 +4,14 @@
|
|||||||
<SubContainer title="窑炉运行时间" icon="clock" padding="17px">
|
<SubContainer title="窑炉运行时间" icon="clock" padding="17px">
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
<div class="time flex flex-center">
|
<div class="time flex flex-center">
|
||||||
<DigitalBox class="time--item" v-for="(item, index) in time" :key="index" :value="item" />
|
<DigitalBox
|
||||||
</div>
|
class="time--item"
|
||||||
<div class="text">
|
v-for="(item, index) in time"
|
||||||
窑炉运行时间
|
:key="index"
|
||||||
|
:value="item"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="text">窑炉运行时间</div>
|
||||||
</div>
|
</div>
|
||||||
</SubContainer>
|
</SubContainer>
|
||||||
</Container>
|
</Container>
|
||||||
@ -17,7 +20,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import Container from "../layout/Container.vue";
|
import Container from "../layout/Container.vue";
|
||||||
import SubContainer from "../layout/SubContainer.vue";
|
import SubContainer from "../layout/SubContainer.vue";
|
||||||
import DigitalBox from '../common/DigitalBox.vue'
|
import DigitalBox from "../common/DigitalBox.vue";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "KilnRuntime",
|
name: "KilnRuntime",
|
||||||
@ -44,20 +47,28 @@ export default {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.time--item {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.time--item:not(:last-child) {
|
.time--item:not(:last-child) {
|
||||||
margin-right: 8px;
|
margin-right: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text {}
|
.text {
|
||||||
|
padding: 12px 0;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 23px;
|
||||||
|
letter-spacing: 4px;
|
||||||
|
position: relative;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
.text::after{
|
.text::after {
|
||||||
content: '';
|
content: "";
|
||||||
display: block;
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
left: 10%;
|
||||||
|
bottom: 16px;
|
||||||
|
height: 3px;
|
||||||
|
width: 80%;
|
||||||
/* 渐变色 */
|
/* 渐变色 */
|
||||||
/* background: khaki; */
|
background: linear-gradient(to left, #8ae7f800, #6fe2fff0, #52cbef00);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user