提交 6d45f157 authored 作者: pengxiaohui's avatar pengxiaohui

feat: 优化样式

上级 ee228b9f
...@@ -40,8 +40,8 @@ ...@@ -40,8 +40,8 @@
<el-input v-model="form.remark" type="textarea" size="small" rows="4" placeholder="请输入备注" /> <el-input v-model="form.remark" type="textarea" size="small" rows="4" placeholder="请输入备注" />
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button size="mini" @click="handleClose">取消</el-button>
<el-button type="primary" @click="handleSubmit" size="mini">提交</el-button> <el-button type="primary" @click="handleSubmit" size="mini">提交</el-button>
<el-button size="mini" @click="handleClose">取消</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
</el-dialog> </el-dialog>
......
<template> <template>
<app-card> <app-card>
<h4 class="title">{{title || ''}}</h4>
<el-tabs v-model="tabActive"> <el-tabs v-model="tabActive">
<el-tab-pane label="基本信息" name="baseInfo"> <el-tab-pane label="基本信息" name="baseInfo">
<base-info :id="id" /> <base-info :id="id" />
...@@ -37,9 +38,18 @@ export default { ...@@ -37,9 +38,18 @@ export default {
computed: { computed: {
id() { id() {
return this.$route.query.id return this.$route.query.id
},
title() {
return this.$route.query.name
} }
} }
} }
</script> </script>
<style lang="scss" scoped></style> <style lang="scss" scoped>
.title{
font-size:20px;
line-height:36px;
padding-bottom:10px;
}
</style>
...@@ -273,7 +273,8 @@ export default { ...@@ -273,7 +273,8 @@ export default {
this.$router.push({ this.$router.push({
path: '/customer-manage/details', path: '/customer-manage/details',
query: { query: {
id: row.id id: row.id,
name: row.name
} }
}) })
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论