ZengTao
2023-09-05 02b631950b886ab06d3afac24541e92422a8c9b8
CanadaMes-ui/src/views/home/index.vue
@@ -29,8 +29,13 @@
.el-main {
    padding: 3px;
    min-height: 40vh;
}
.el-footer {
    max-height: 60vh;
    padding: 0px;
    margin: 0px;
}
.green {
    background-color: green;
}
@@ -73,11 +78,13 @@
}
.block {
    width: 685px;
    height: 350px;
    min-height: 50vh;
    max-width: 100vw;
    background-image: url('xmjc.png');
    background-size: contain;
    margin: 0 auto;
    margin: 0px;
    background-repeat:no-repeat ;
    background-size:100% 100%;
    background-attachment:local;
}
</style>
<template>
@@ -119,8 +126,7 @@
                </div>
            </div>
        </el-main>
        <el-footer>
            <div>
        <el-footer>
                <div class="block" style="text-align: center;position: relative;">
                    <div style="display:flex;position: absolute;float:left;z-index: 999;top:71px;left:136px;">
                        <div :class="getStatusClass(item.state)" v-for="item in cagelist1" :key="item['date']"></div>
@@ -134,9 +140,9 @@
                    <div style="display:flex;position: absolute;float:left;z-index: 999;top:96px;left:366px;">
                        <div :class="getStatusClass(item.state)" v-for="item in cagelist4" :key="item['date']"></div>
                    </div>
                </div>
            </div>
                </div>
        </el-footer>
    </el-container>
</template>
  
@@ -148,12 +154,12 @@
export default {
    data() {
        return {
            tableData: [],
            cagelist1: [],
            cagelist2: [],
            cagelist3: [],
            cagelist4: [],
            form: {},
            task1: 3,
            task2: 4,
            tasklist1: [],
@@ -198,7 +204,7 @@
            }
        },
        getOrder() {
            if(this.order!=""){
            if (this.order != "") {
                InsertOrder(this.order).then(res => {
                    if (res.data.message == 200) {
                        this.$message.success("Operation successful");
@@ -208,7 +214,7 @@
                    this.load();
                });
            }
        }
    }
};