This commit is contained in:
kbing1981 2024-08-23 14:10:38 +08:00
parent c5d04072e7
commit f83978ab9f
2 changed files with 9 additions and 9 deletions

View File

@ -26,7 +26,7 @@
<a-row>
<a-col :span="24" v-for="(item, index) in zyJxdgMainTable.dataSource" :key="index" style="border:1px solid #f5f5f5;margin:5px 0; background:#fbfbfb;border-radius:5px;">
<a-row c>
<a-col :span="24" style="margin-bottom:15px;height:40px; background-color:#f5f7fa;border-left:3px solid #19a789;">
<a-col :span="24" style="height:50px; background-color:#f5f7fa;border-left:3px solid #19a789; margin-bottom:10px;">
<span class="title">{{ item.title }}</span>
</a-col>
<!-- 单行文本 1 -->
@ -122,7 +122,7 @@
<a-button type="danger" @click="handleZzbgDel(item.list, record.sort)" >删除</a-button>
</template>
<template v-else>
<a-input placeholder="请输入内容" v-model:value="record[column.key]" @blur="handleTwoGlxm(item)" style="width: 100%"></a-input>
<a-input placeholder="请输入内容" v-model:value="record[column.key]" @blur="handleTwoGlxm(item)" style="width:100%;"></a-input>
</template>
</template>
</a-table>
@ -498,12 +498,12 @@ export default defineComponent({
<style scoped lang="less" >
.title {
width: 80%;
font-size: 16px;
font-size: 18px;
font-weight: bold;
padding-left: 10px;
position: relative;
color: #333333;
line-height:40px;
line-height:50px;
}
.tishi {
width: 100%;

View File

@ -26,9 +26,9 @@
自增表格两列关联10
-->
<a-row>
<a-col :span="24" v-for="(item, index) in zyJxdgMainTable.dataSource" :key="index">
<a-col :span="24" v-for="(item, index) in zyJxdgMainTable.dataSource" :key="index" style="border:1px solid #f5f5f5;margin:5px 0; background:#fbfbfb;border-radius:5px;" >
<a-row>
<a-col :span="24" style="margin-bottom:15px;height:40px; margin-top:15px; background-color:#f3faf9;">
<a-col :span="24" style="height:50px; background-color:#f5f7fa;border-left:3px solid #19a789;">
<span class="title">{{ item.title }}</span>
</a-col>
<!-- 单行文本 1 -->
@ -71,7 +71,7 @@
<a-button type="primary" @click="handleDhwb(item)" class="increase">添加</a-button>
</a-col>
<a-col v-for="(item2, index2) in item.list" :key="index2">
<a-input placeholder="请输入内容" v-model:value="item2.title" style="width: 80%; margin: 0 10px 10px 0px;" @blur="handleGlxm(item)"></a-input>
<a-input placeholder="请输入内容" v-model:value="item2.title" style="width: 80%; margin:10px 10px 10px 15px;" @blur="handleGlxm(item)"></a-input>
<a-button type="danger" @click="handleDhwbDel(item, index2)">删除</a-button>
</a-col>
</a-row>
@ -503,7 +503,7 @@ export default defineComponent({
padding-left: 10px;
position: relative;
color: #333333;
line-height:40px;
line-height:50px;
}
.tishi {
width: 100%;
@ -520,7 +520,7 @@ export default defineComponent({
.increase{
position: absolute;
right:6px;
top:-51px;
top:-41px;
}
.place-dele{
margin:10px 0;