张晓波
2023-12-11 0d0968ec2d1a39c21e15e447c4f2227f70d6a11b
web/src/views/MixingInfo/mixing.vue
@@ -1,7 +1,7 @@
<template>
    <div class="wrap">
        <div class="header">
            <div class="header_name">中铁十四局通甬站前I标管片场拌合站</div>
            <div class="header_name">中铁十四局通甬站前I标管片场拌和站</div>
        </div>
        <div class="container">
            <div class="con_name">
@@ -46,7 +46,7 @@
            fn()
            return fn
        })(),
        1000 * 60 * 5
        1000 * 60 * 10
    )
    if (Vue) {
        Vue.$once('hook:beforeDestroy', function () {
@@ -100,6 +100,10 @@
            $html.style.fontSize = `${fontsize}px`
        }
    },
    beforeDestroy() {
        let $html = document.getElementsByTagName('html')[0]
        $html.style.fontSize = ''
    },
    methods: {
        getLists() {
            const percentArr = Object.keys(this.percents)
@@ -133,7 +137,7 @@
    }
}
</script>
<style scoped>
<style lang="scss" scoped>
li {
    list-style: none;
}
@@ -158,7 +162,7 @@
    background-size: 100% auto;
    .header_name {
        font-size: 1.6rem;
        font-size: 1.4rem;
        font-weight: bold;
        line-height: 3.2rem;
        letter-spacing: 2px;
@@ -170,6 +174,7 @@
}
.container {
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
@@ -203,6 +208,7 @@
        }
        .line {
            overflow: hidden;
            flex: 1;
            height: 14px;
@@ -217,6 +223,7 @@
    }
    .con_main {
        overflow: hidden;
        margin-top: 10px;
        flex: 1;
        display: flex;
@@ -251,13 +258,13 @@
                float: left;
                width: 50%;
                height: 100%;
                min-height: 480px;
                text-align: center;
                >p {
                > p {
                    position: absolute;
                    left: 50%;
                    top: 21%;
                    top: 9%;
                    font-size: 0.7rem;
                    white-space: nowrap;
                    transform: translate(-50%, -50%);
                }