隐藏店铺配置的店铺装修

This commit is contained in:
gyq
2024-09-24 15:13:05 +08:00
parent 19be296326
commit d1893abd05
2 changed files with 17 additions and 9 deletions

View File

@@ -71,15 +71,17 @@
</el-button>
</template>
</el-table-column>
<el-table-column label="耗材信息">
<el-table-column label="耗材信息" width="200">
<template v-slot="scope">
<div v-if="scope.row.conInfos && scope.row.conInfos.length">
<span v-for="item in scope.row.conInfos" :key="item.id">{{ item.conName }}</span>
<div class="cons_wrap">
<div v-if="scope.row.conInfos && scope.row.conInfos.length">
<span v-for="item in scope.row.conInfos" :key="item.id">{{ item.conName }}</span>
</div>
<el-button type="text" @click="showBindCons(scope.row)">
绑定
<i class="el-icon-edit"></i>
</el-button>
</div>
<el-button type="text" @click="showBindCons(scope.row)">
绑定
<i class="el-icon-edit"></i>
</el-button>
</template>
</el-table-column>
<el-table-column label="上架">
@@ -367,6 +369,12 @@ export default {
</script>
<style scoped lang="scss">
.cons_wrap {
display: flex;
flex-wrap: wrap;
align-items: center;
}
.handle {
font-size: 18px;
color: #999;