Commit 7b085667 by huangqy

111

parent b4c3195f
......@@ -41,7 +41,7 @@
<el-col :span="18">
<el-card style="height: 620px; overflow: auto;">
<div v-for="(item,index) in this.ArrayListX" :key="index">
<ul :style="'grid-template-columns: repeat('+ item.length +', 3.4%);'" >
<ul :style="index === 10 ? 'margin-top: 40px; grid-template-columns: repeat('+ item.length +', 3.4%);' : 'grid-template-columns: repeat('+ item.length +', 3.4%);'" >
<li v-for="(items,k) in item" :key="k+''+index" @click="onClick(items)" :style="items.select ? 'border: 1px solid black' : ''"
:class="items.x === 0 || items.y === 0 ? 'box' : items.status === 'E' ? 'boxE' : items.status === 'P' ? 'boxP': items.status === 'F' ? 'boxF' : items.status === 'A' ? 'boxA' : items.status === 'W' ? 'boxW' : items.status === 'C' ? 'boxC' : '' ">
{{ items.x === 0 ? items.y : items.y ===0 ? items.x : ''}}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论