update KilnRuntime

This commit is contained in:
lb 2023-05-09 15:21:52 +08:00
parent 0ca11c2899
commit 6d4fe8a456

View File

@ -4,11 +4,14 @@
<SubContainer title="窑炉运行时间" icon="clock" padding="17px">
<div class="flex flex-col">
<div class="time flex flex-center">
<DigitalBox class="time--item" v-for="(item, index) in time" :key="index" :value="item" />
<DigitalBox
class="time--item"
v-for="(item, index) in time"
:key="index"
:value="item"
/>
</div>
<div class="text">
窑炉运行时间
</div>
<div class="text">窑炉运行时间</div>
</div>
</SubContainer>
</Container>
@ -17,7 +20,7 @@
<script>
import Container from "../layout/Container.vue";
import SubContainer from "../layout/SubContainer.vue";
import DigitalBox from '../common/DigitalBox.vue'
import DigitalBox from "../common/DigitalBox.vue";
export default {
name: "KilnRuntime",
@ -35,29 +38,37 @@ export default {
@import "../../assets/styles/functions";
.time {
// background: #eee;
margin: 12px 0;
// background: #eee;
margin: 12px 0;
}
.flex-center {
justify-content: center;
align-items: center;
}
.time--item {
justify-content: center;
align-items: center;
}
.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{
content: '';
display: block;
/* 渐变色 */
/* background: khaki; */
.text::after {
content: "";
display: block;
position: absolute;
left: 10%;
bottom: 16px;
height: 3px;
width: 80%;
/* 渐变色 */
background: linear-gradient(to left, #8ae7f800, #6fe2fff0, #52cbef00);
}
</style>