Commit 0f7720dc by cwq0219

修改

1 parent 735a4da7
...@@ -193,9 +193,9 @@ ...@@ -193,9 +193,9 @@
<span class="warningFont" v-if="showChoosePrError">未选择商品</span> <span class="warningFont" v-if="showChoosePrError">未选择商品</span>
<div> <div>
<el-checkbox-group v-model="selectList"> <el-checkbox-group v-model="selectList">
<div class="base-pro-block" v-for="(item, index) in goodList" :key="index"> <div class="base-pro-block base-pro-block-wh" v-for="(item, index) in goodList" :key="index">
<img :src="item.goodsInfo.thumbUrl"/> <img class="base-pro-block-wh" :src="item.goodsInfo.thumbUrl"/>
<el-checkbox :label="item.id">{{item.goodsInfo.goodsName}}</el-checkbox> <el-checkbox class="base-pro-block-wh" :label="item.id">{{item.goodsInfo.goodsName}}</el-checkbox>
</div> </div>
</el-checkbox-group> </el-checkbox-group>
</div> </div>
...@@ -697,15 +697,21 @@ export default { ...@@ -697,15 +697,21 @@ export default {
padding-left: 20px; padding-left: 20px;
background-color: #e1e0e0; background-color: #e1e0e0;
} }
.base-pro-block-wh {
width: 120px;
height: 120px;
}
.base-pro-block { .base-pro-block {
display: inline-block; display: inline-block;
width: 100px; margin-right: 20px;
height: 100px;
margin-right: 10px;
} }
.base-pro-block img { .base-pro-block img {
width: 100px;
height: 100px;
vertical-align: top; vertical-align: top;
} }
.base-pro-block .el-checkbox {
height: auto;
white-space: nowrap;
overflow: hidden;
text-emphasis: ellipsis;
}
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!