Commit f33c4049 authored by Liu Peng's avatar Liu Peng

调整页面样式

parent 97a90acd
......@@ -37,14 +37,12 @@
<template slot="action" slot-scope="text, record">
<a-button
icon="edit"
type="primary"
class="btn_margin"
type="link"
@click="showModal(record)"
>编辑</a-button>
<a-button
icon="delete"
type="danger"
class="btn_margin"
type="link"
@click="deleteRow({record})"
>删除</a-button>
</template>
......@@ -118,7 +116,8 @@ let columns = [
title: "操作",
key: "action",
scopedSlots: { customRender: "action" },
align: "center"
align: "center",
width: 180,
}
];
......
......@@ -10,7 +10,7 @@
</a-button-group>
</div>
<div>
<a-row>
<a-row type="flex" justify="space-between">
<a-col :span="4" class="col-h">
<a-tree
:treeData="menuTreeData"
......@@ -21,7 +21,7 @@
showLine
/>
</a-col>
<a-col :span="10">
<a-col :span="16">
<a-form :form="modalForm" @submit="modalHandleSubmit">
<a-form-item
label="父级名称"
......@@ -77,6 +77,8 @@
</a-form-item>
</a-form>
</a-col>
<a-col :span="4"/>
</a-row>
</div>
</div>
......
This diff is collapsed.
......@@ -47,14 +47,13 @@
<template slot="action" slot-scope="text, record">
<a-button
icon="edit"
type="primary"
class="btn_margin"
type="link"
size="small"
@click="showModal(record)"
>修改</a-button>
<a-button
icon="delete"
type="danger"
class="btn_margin"
type="link"
@click="deleteRow({record})"
>删除</a-button>
</template>
......@@ -135,6 +134,7 @@ let columns = [
title: "状态",
dataIndex: "status",
align: "center",
width: '100px',
scopedSlots: { customRender: "statusFlag" }
},
{
......@@ -148,6 +148,7 @@ let columns = [
title: "创建时间",
dataIndex: "createTime",
align: "center",
width: '180px',
customRender: (text,record) => {
return timestampToTime(text);
}
......@@ -156,7 +157,8 @@ let columns = [
title: "操作",
key: "action",
scopedSlots: { customRender: "action" },
align: "center"
align: "center",
width: '180px'
}
];
......
......@@ -77,14 +77,12 @@
<template slot="action" slot-scope="text, record">
<a-button
icon="edit"
type="primary"
class="btn_margin"
type="link"
@click="navigateDetailPage(record)"
>编辑</a-button>
<a-button
icon="edit"
type="primary"
class="btn_margin"
type="link"
@click="changeStatus(record)"
>{{record.status == 'UP' ? '下架' : '上架'}}</a-button>
</template>
......@@ -120,7 +118,8 @@ let columns = [
title: '收费模式',
dataIndex: 'chargeModel',
align: 'center',
scopedSlots: {customRender: 'chargeModel'}
scopedSlots: {customRender: 'chargeModel'},
width: 120,
},
{
title: '标签',
......@@ -132,13 +131,15 @@ let columns = [
title: '状态',
dataIndex: 'status',
align: 'center',
scopedSlots: {customRender: 'status'}
scopedSlots: {customRender: 'status'},
width: 100,
},
{
title: '操作',
key: "action",
scopedSlots: { customRender: "action" },
align: "center"
align: "center",
width: 180,
}
]
export default {
......
This diff is collapsed.
This diff is collapsed.
......@@ -37,18 +37,16 @@
<!-- 表格操作 -->
<template slot="action" slot-scope="text,record">
<a-button
type="primary"
type="link"
icon="edit"
@click="showModal(record)"
class="btn_margin"
>
修改
</a-button>
<a-button
type="danger"
icon="delete"
@click="deleteRow(record)"
class="btn_margin"
type="link"
>
删除
</a-button>
......@@ -130,7 +128,8 @@ let columns = [
title: '操作',
key: "action",
scopedSlots: { customRender: "action" },
align: "center"
align: "center",
width: 180,
}
]
......
<template>
<div>
<div class="price-config-container">
<a-form-model
:model="formModel"
:label-col="{span:4}"
......@@ -168,5 +168,7 @@ export default {
}
</script>
<style>
.price-config-container{
margin: 10px;
}
</style>
\ No newline at end of file
......@@ -40,18 +40,18 @@
<!-- 表格操作 -->
<template slot="action" slot-scope="text,record">
<a-button
type="primary"
icon="edit"
@click="showModal(record)"
class="btn_margin"
type="link"
>
修改
</a-button>
<a-button
type="danger"
icon="delete"
@click="deleteRow(record)"
class="btn_margin"
type="link"
>
删除
</a-button>
......@@ -139,7 +139,8 @@ let columns = [
{
title: "讲师编号",
dataIndex: "code",
align: "center"
align: "center",
width: 120,
},
{
title: "讲师名称",
......@@ -165,13 +166,15 @@ let columns = [
{
title: "课程数",
dataIndex: "courseCount",
align: "center"
align: "center",
width: 80,
},
{
title: '操作',
key: "action",
scopedSlots: { customRender: "action" },
align: "center"
align: "center",
width: 180,
}
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment