Commit 8cd9ca10 authored by 陈明豪's avatar 陈明豪

bug修改

parent 54aee1c3
...@@ -2,12 +2,12 @@ ...@@ -2,12 +2,12 @@
<!-- 文章详情页--> <!-- 文章详情页-->
<div class="pet-owner-detail"> <div class="pet-owner-detail">
<!-- 头部标题--> <!-- 头部标题-->
<div style="padding-top:30px;text-align: center;"> <div class="topTitle">
<span <span
class="top-title-style" class="top-title-style"
>详情</span> >详情</span>
</div> </div>
<div style="padding: 30px 20px 20px 20px;"> <div class="box-card">
<div style="display: flex"> <div style="display: flex">
<!-- 文章信息 --> <!-- 文章信息 -->
<div class="tip-green" /> <div class="tip-green" />
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
:rules="rules" :rules="rules"
label-width="6.8rem" label-width="6.8rem"
label-position="right" label-position="right"
style="padding-left: 13px"
> >
<el-form-item label="文章标题" prop="articleTitle" style="padding-top: 32px"> <el-form-item label="文章标题" prop="articleTitle" style="padding-top: 32px">
<el-input v-model="form.articleTitle" disabled placeholder="暂无数据" /> <el-input v-model="form.articleTitle" disabled placeholder="暂无数据" />
...@@ -58,13 +57,17 @@ ...@@ -58,13 +57,17 @@
</div> </div>
</div> </div>
</el-form-item> </el-form-item>
<div class="lastRow">
<el-form-item label="文章内容" prop="articleCover"> <el-form-item label="文章内容" prop="articleCover">
<!-- 0-- 文章信息的页面--文章封面 --> <!-- 0-- 文章信息的页面--文章封面 -->
<editor v-model="form.articleContent" read-only /> <editor v-model="form.articleContent" read-only />
</el-form-item> </el-form-item>
</div>
<div class="lastRow footerButton">
<el-form-item label="" prop=""> <el-form-item label="" prop="">
<el-button class="resetBtn" icon="el-icon-back" @click="goBack">返 回</el-button> <el-button class="resetBtn" icon="el-icon-back" @click="goBack">返 回</el-button>
</el-form-item> </el-form-item>
</div>
</el-form> </el-form>
</div> </div>
</div> </div>
...@@ -178,9 +181,12 @@ export default { ...@@ -178,9 +181,12 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
//整个页面整体布局 //整个页面整体布局
.pet-owner-detail { .pet-owner-detail {
min-height: calc(100vh - 100px);
//最外层嵌套卡片的样式 //最外层嵌套卡片的样式
.box-card { .box-card {
min-height: calc(100vh - 100px); //padding: 30px 20px 20px 20px;
padding-left: 32px;
padding-right: 32px;
} }
background-color: #fff; background-color: #fff;
//模块tip样式--绿色 //模块tip样式--绿色
...@@ -271,4 +277,17 @@ export default { ...@@ -271,4 +277,17 @@ export default {
::v-deep .ql-snow { ::v-deep .ql-snow {
border-color: #e5e5e5 !important; border-color: #e5e5e5 !important;
} }
.topTitle {
padding-top: 30px;
padding-bottom: 30px;
text-align: center;
}
.lastRow {
::v-deep .el-form-item {
margin-bottom: 0;
}
}
.footerButton {
margin-top: 30px;
}
</style> </style>
...@@ -2,12 +2,12 @@ ...@@ -2,12 +2,12 @@
<!-- 文章详情页--> <!-- 文章详情页-->
<div class="pet-owner-detail"> <div class="pet-owner-detail">
<!-- 头部标题--> <!-- 头部标题-->
<div style="padding-top:30px;text-align: center;"> <div class="topTitle">
<span <span
class="top-title-style" class="top-title-style"
>编辑</span> >编辑</span>
</div> </div>
<div style="padding: 30px 20px 20px 20px;"> <div class="box-card">
<div style="display: flex"> <div style="display: flex">
<!-- 0-- 文章信息--标签头 --> <!-- 0-- 文章信息--标签头 -->
<div class="tip-green" /> <div class="tip-green" />
...@@ -46,9 +46,12 @@ ...@@ -46,9 +46,12 @@
</div> </div>
</div> </div>
</el-form-item> </el-form-item>
<div class="lastRow">
<el-form-item label="文章内容" prop="articleContent"> <el-form-item label="文章内容" prop="articleContent">
<editor v-model="form.articleContent" min-height="200" /> <editor v-model="form.articleContent" min-height="200" />
</el-form-item> </el-form-item>
</div>
<div class="lastRow footerButton">
<el-form-item> <el-form-item>
<div> <div>
<el-button class="queryBtn" icon="el-icon-check" @click="submitForm">提交</el-button> <el-button class="queryBtn" icon="el-icon-check" @click="submitForm">提交</el-button>
...@@ -61,6 +64,7 @@ ...@@ -61,6 +64,7 @@
/> />
</div> </div>
</el-form-item> </el-form-item>
</div>
</el-form> </el-form>
</div> </div>
</div> </div>
...@@ -253,9 +257,12 @@ export default { ...@@ -253,9 +257,12 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
//整个页面整体布局 //整个页面整体布局
.pet-owner-detail { .pet-owner-detail {
min-height: calc(100vh - 100px);
//最外层嵌套卡片的样式 //最外层嵌套卡片的样式
.box-card { .box-card {
//margin: 20px 20px 20px 20px; //padding: 30px 20px 20px 20px;
padding-left: 32px;
padding-right: 32px;
} }
background-color: #ffffff; background-color: #ffffff;
//模块tip样式--绿色 //模块tip样式--绿色
...@@ -299,9 +306,8 @@ export default { ...@@ -299,9 +306,8 @@ export default {
color: #666666; color: #666666;
//display: grid !important; //display: grid !important;
//grid-template-columns: repeat(3, auto); //grid-template-columns: repeat(3, auto);
margin-top: 20px; margin-top: 30px;
margin-bottom: 20px; margin-bottom: 20px;
margin-left: 13px;
} }
//表格内容选中后的样式-all //表格内容选中后的样式-all
...@@ -335,4 +341,17 @@ export default { ...@@ -335,4 +341,17 @@ export default {
::v-deep .ql-snow { ::v-deep .ql-snow {
border-color: #e5e5e5 !important; border-color: #e5e5e5 !important;
} }
.topTitle {
padding-top: 30px;
padding-bottom: 30px;
text-align: center;
}
.lastRow {
::v-deep .el-form-item {
margin-bottom: 0;
}
}
.footerButton {
margin-top: 30px;
}
</style> </style>
...@@ -2,12 +2,12 @@ ...@@ -2,12 +2,12 @@
<!-- 文章详情页--> <!-- 文章详情页-->
<div class="pet-owner-detail"> <div class="pet-owner-detail">
<!-- 头部标题--> <!-- 头部标题-->
<div style="padding-top:30px;text-align: center;"> <div class="topTitle">
<span <span
class="top-title-style" class="top-title-style"
>新增</span> >新增</span>
</div> </div>
<div style="padding: 30px 20px 20px 20px;"> <div class="box-card">
<div style="display: flex"> <div style="display: flex">
<!-- 0-- 文章信息--标签头 --> <!-- 0-- 文章信息--标签头 -->
<div class="tip-green" /> <div class="tip-green" />
...@@ -50,6 +50,7 @@ ...@@ -50,6 +50,7 @@
</div> </div>
</div> </div>
</el-form-item> </el-form-item>
<div class="lastRow">
<el-form-item label="文章内容" prop="articleContent"> <el-form-item label="文章内容" prop="articleContent">
<editor <editor
v-model.trim="form.articleContent" v-model.trim="form.articleContent"
...@@ -57,6 +58,8 @@ ...@@ -57,6 +58,8 @@
@change="changeQuillEditor('articleContent')" @change="changeQuillEditor('articleContent')"
/> />
</el-form-item> </el-form-item>
</div>
<div class="lastRow footerButton">
<el-form-item> <el-form-item>
<div> <div>
<el-button :loading="submitLoading" class="queryBtn" icon="el-icon-check" @click="submitForm">提交</el-button> <el-button :loading="submitLoading" class="queryBtn" icon="el-icon-check" @click="submitForm">提交</el-button>
...@@ -69,6 +72,7 @@ ...@@ -69,6 +72,7 @@
/> />
</div> </div>
</el-form-item> </el-form-item>
</div>
</el-form> </el-form>
</div> </div>
</div> </div>
...@@ -226,7 +230,9 @@ export default { ...@@ -226,7 +230,9 @@ export default {
background-color: #ffffff; background-color: #ffffff;
//最外层嵌套卡片的样式 //最外层嵌套卡片的样式
.box-card { .box-card {
//margin: 20px 20px 20px 20px; //padding: 30px 20px 20px 20px;
padding-left: 32px;
padding-right: 32px;
} }
//模块tip样式--绿色 //模块tip样式--绿色
...@@ -260,11 +266,8 @@ export default { ...@@ -260,11 +266,8 @@ export default {
//1--基本信息--模块内信息整体样式 //1--基本信息--模块内信息整体样式
.base-msg { .base-msg {
color: #666666; color: #666666;
//display: grid !important; margin-top: 30px;
//grid-template-columns: repeat(3, auto);
margin-top: 20px;
margin-bottom: 20px; margin-bottom: 20px;
margin-left: 13px;
} }
//表格内容选中后的样式-all //表格内容选中后的样式-all
...@@ -306,6 +309,11 @@ export default { ...@@ -306,6 +309,11 @@ export default {
font-weight: bold; font-weight: bold;
color: #333333; color: #333333;
} }
.topTitle {
padding-top: 30px;
padding-bottom: 30px;
text-align: center;
}
.dialog-footer{ .dialog-footer{
margin-bottom: 20px; margin-bottom: 20px;
margin-top: 60px; margin-top: 60px;
...@@ -313,4 +321,12 @@ export default { ...@@ -313,4 +321,12 @@ export default {
::v-deep .ql-snow { ::v-deep .ql-snow {
border-color: #e5e5e5 !important; border-color: #e5e5e5 !important;
} }
.lastRow {
::v-deep .el-form-item {
margin-bottom: 0;
}
}
.footerButton {
margin-top: 30px;
}
</style> </style>
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