Browse Source

子表样式 :卡片-->分割线

lwx_v12
liwenxuan 4 weeks ago
parent
commit
011e7eb7d7
  1. 7
      src/components/lowCode/tablePage.vue

7
src/components/lowCode/tablePage.vue

@ -514,7 +514,7 @@ function asfValueChanged(val:any){
<div></div>
<div>
<el-form :model="tableDataNew" :disabled="props.type === 3" label-width="auto" class="formTable">
<el-card v-for="(itval,itIndex) in tableDataNew" :key="itIndex" class="taskCardBox" shadow="always">
<el-card v-for="(itval,itIndex) in tableDataNew" :key="itIndex" class="taskCardBox" shadow="never">
<template v-for="(item, index) in data.list" :key="index">
<el-form-item
@ -543,7 +543,7 @@ function asfValueChanged(val:any){
data.config.delBtnText}}
</el-button>
</template> -->
<div style="border-top: 1px #E4E7ED solid;width: 102.7%;height: 10px;">
<div v-if="preFillFlag==0" style="border-top: 0px #E4E7ED solid;width: 102.7%;height: 1px;position: relative;top: -10px;">
<el-icon v-if="type==1" style="float:right;margin-bottom: 5px;margin-top: 5px;margin-right: 10px;" size="23" @click="addColumnCurrent(itval,itIndex)"><CirclePlus /></el-icon>
<el-icon v-if="type == 1 && itIndex > 0" style="float:right; margin-top: 5px;margin-left: 14px;margin-bottom: 5px;margin-right: 16px;" size="23" @click="deleteColumnCurrent(itIndex)"><Remove /></el-icon>
</div>
@ -564,6 +564,9 @@ function asfValueChanged(val:any){
<style lang='scss' scoped>
.taskCardBox{
margin: 5px 0 10px 0;
border-left: 0px;
border-right: 0px;
border-top: 0px;
}
.formTable{
:deep .el-card__body{

Loading…
Cancel
Save