<Collapse v-model="value1" style="background: #fff;" simple>
<Panel name="1" :hide-arrow="true">
<Row>
<i-col span="2" class="height_border">
<div class="title">基本信息</div>
</i-col>
<i-col span="20" class="height_border"/>
<i-col span="1">
<Button type="primary" @click.stop="edit">新增</Button>
</i-col>
<i-col span="1">
<Icon type="ios-arrow-down"></Icon>
</i-col>
</Row>
<p slot="content">
<Row style="height:25px;"/>
<Row>
<i-col span="1" class="height_border"/>
<i-col span="22">
<Table :columns="columns1" :data="personInfoTest" :border="false">
<template slot-scope="{ row }" slot="name">
<strong>{{ row.name }}</strong>
</template>
<template slot-scope="{ row, index }" slot="action">
<Button
type="primary"
size="small"
style="margin-right: 5px"
@click="show(index)"
>编辑</Button>
<Button type="error" size="small" @click="remove(index)">删除</Button>
</template>
</Table>
</i-col>
</Row>
<Row style="height:30px;"/>
</p>
</Panel>
</Collapse>
iview收缩框
猜你喜欢
转载自blog.csdn.net/qq_36939013/article/details/90753753
今日推荐
周排行