布局调整

master
DongZeLiang 2023-11-27 15:07:15 +08:00
parent 032d7a185e
commit 65d003dab2
1 changed files with 4 additions and 4 deletions

View File

@ -1,10 +1,10 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<el-row :gutter="10"> <el-row :gutter="10">
<el-col :span="10"> <el-col :span="24">
<div class="grid-content bg-purple" :style="{'height': contentHeight+'px'}"> <div class="grid-content bg-purple" :style="{'height': contentHeight+'px'}">
<el-row :gutter="10"> <el-row :gutter="10">
<el-col :span="12" v-for="vehicle in vehicleList" style="margin: 10px 0;"> <el-col :span="6" v-for="vehicle in vehicleList" style="margin: 10px 0;">
<el-card class="box-card"> <el-card class="box-card">
<div slot="header" class="clearfix"> <div slot="header" class="clearfix">
<el-tag :type="!vehicle.online ? 'info' : 'success'" style="padding-left: 0; padding-right: 0">{{vehicle.vin}}</el-tag> <el-tag :type="!vehicle.online ? 'info' : 'success'" style="padding-left: 0; padding-right: 0">{{vehicle.vin}}</el-tag>
@ -57,11 +57,11 @@
</div> </div>
</el-col> </el-col>
<el-col :span="14"> <!-- <el-col :span="14">
<div class="grid-content bg-purple" :style="{'height': contentHeight+'px'}"> <div class="grid-content bg-purple" :style="{'height': contentHeight+'px'}">
</div> </div>
</el-col> </el-col>-->
</el-row> </el-row>
</div> </div>
</template> </template>