Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pet-business-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘怀志
pet-business-web
Commits
8cd9ca10
Commit
8cd9ca10
authored
Sep 08, 2023
by
陈明豪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
54aee1c3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
111 additions
and
57 deletions
+111
-57
article-detail.vue
src/views/article-management/article-detail.vue
+30
-11
article-edit.vue
src/views/article-management/article-edit.vue
+40
-21
article-insert.vue
src/views/article-management/article-insert.vue
+41
-25
No files found.
src/views/article-management/article-detail.vue
View file @
8cd9ca10
...
...
@@ -2,12 +2,12 @@
<!-- 文章详情页-->
<div
class=
"pet-owner-detail"
>
<!-- 头部标题-->
<div
style=
"padding-top:30px;text-align: center;
"
>
<div
class=
"topTitle
"
>
<span
class=
"top-title-style"
>
详情
</span>
</div>
<div
style=
"padding: 30px 20px 20px 20px;
"
>
<div
class=
"box-card
"
>
<div
style=
"display: flex"
>
<!-- 文章信息 -->
<div
class=
"tip-green"
/>
...
...
@@ -25,7 +25,6 @@
:rules=
"rules"
label-width=
"6.8rem"
label-position=
"right"
style=
"padding-left: 13px"
>
<el-form-item
label=
"文章标题"
prop=
"articleTitle"
style=
"padding-top: 32px"
>
<el-input
v-model=
"form.articleTitle"
disabled
placeholder=
"暂无数据"
/>
...
...
@@ -58,13 +57,17 @@
</div>
</div>
</el-form-item>
<div
class=
"lastRow"
>
<el-form-item
label=
"文章内容"
prop=
"articleCover"
>
<!-- 0-- 文章信息的页面--文章封面 -->
<editor
v-model=
"form.articleContent"
read-only
/>
</el-form-item>
</div>
<div
class=
"lastRow footerButton"
>
<el-form-item
label=
""
prop=
""
>
<el-button
class=
"resetBtn"
icon=
"el-icon-back"
@
click=
"goBack"
>
返 回
</el-button>
</el-form-item>
</div>
</el-form>
</div>
</div>
...
...
@@ -178,9 +181,12 @@ export default {
<
style
lang=
"scss"
scoped
>
//整个页面整体布局
.pet-owner-detail
{
min-height
:
calc
(
100vh
-
100px
);
//最外层嵌套卡片的样式
.box-card
{
min-height
:
calc
(
100vh
-
100px
);
//padding: 30px 20px 20px 20px;
padding-left
:
32px
;
padding-right
:
32px
;
}
background-color
:
#fff
;
//模块tip样式--绿色
...
...
@@ -271,4 +277,17 @@ export default {
::v-deep
.ql-snow
{
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
>
src/views/article-management/article-edit.vue
View file @
8cd9ca10
...
...
@@ -2,12 +2,12 @@
<!-- 文章详情页-->
<div
class=
"pet-owner-detail"
>
<!-- 头部标题-->
<div
style=
"padding-top:30px;text-align: center;
"
>
<div
class=
"topTitle
"
>
<span
class=
"top-title-style"
>
编辑
</span>
</div>
<div
style=
"padding: 30px 20px 20px 20px;
"
>
<div
class=
"box-card
"
>
<div
style=
"display: flex"
>
<!-- 0-- 文章信息--标签头 -->
<div
class=
"tip-green"
/>
...
...
@@ -46,9 +46,12 @@
</div>
</div>
</el-form-item>
<div
class=
"lastRow"
>
<el-form-item
label=
"文章内容"
prop=
"articleContent"
>
<editor
v-model=
"form.articleContent"
min-height=
"200"
/>
</el-form-item>
</div>
<div
class=
"lastRow footerButton"
>
<el-form-item>
<div>
<el-button
class=
"queryBtn"
icon=
"el-icon-check"
@
click=
"submitForm"
>
提交
</el-button>
...
...
@@ -61,6 +64,7 @@
/>
</div>
</el-form-item>
</div>
</el-form>
</div>
</div>
...
...
@@ -253,9 +257,12 @@ export default {
<
style
lang=
"scss"
scoped
>
//整个页面整体布局
.pet-owner-detail
{
min-height
:
calc
(
100vh
-
100px
);
//最外层嵌套卡片的样式
.box-card
{
//margin: 20px 20px 20px 20px;
//padding: 30px 20px 20px 20px;
padding-left
:
32px
;
padding-right
:
32px
;
}
background-color
:
#ffffff
;
//模块tip样式--绿色
...
...
@@ -299,9 +306,8 @@ export default {
color
:
#666666
;
//display: grid !important;
//grid-template-columns: repeat(3, auto);
margin-top
:
2
0px
;
margin-top
:
3
0px
;
margin-bottom
:
20px
;
margin-left
:
13px
;
}
//表格内容选中后的样式-all
...
...
@@ -335,4 +341,17 @@ export default {
::v-deep
.ql-snow
{
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
>
src/views/article-management/article-insert.vue
View file @
8cd9ca10
...
...
@@ -2,12 +2,12 @@
<!-- 文章详情页-->
<div
class=
"pet-owner-detail"
>
<!-- 头部标题-->
<div
style=
"padding-top:30px;text-align: center;
"
>
<div
class=
"topTitle
"
>
<span
class=
"top-title-style"
>
新增
</span>
</div>
<div
style=
"padding: 30px 20px 20px 20px;
"
>
<div
class=
"box-card
"
>
<div
style=
"display: flex"
>
<!-- 0-- 文章信息--标签头 -->
<div
class=
"tip-green"
/>
...
...
@@ -50,6 +50,7 @@
</div>
</div>
</el-form-item>
<div
class=
"lastRow"
>
<el-form-item
label=
"文章内容"
prop=
"articleContent"
>
<editor
v-model
.
trim=
"form.articleContent"
...
...
@@ -57,6 +58,8 @@
@
change=
"changeQuillEditor('articleContent')"
/>
</el-form-item>
</div>
<div
class=
"lastRow footerButton"
>
<el-form-item>
<div>
<el-button
:loading=
"submitLoading"
class=
"queryBtn"
icon=
"el-icon-check"
@
click=
"submitForm"
>
提交
</el-button>
...
...
@@ -69,6 +72,7 @@
/>
</div>
</el-form-item>
</div>
</el-form>
</div>
</div>
...
...
@@ -226,7 +230,9 @@ export default {
background-color
:
#ffffff
;
//最外层嵌套卡片的样式
.box-card
{
//margin: 20px 20px 20px 20px;
//padding: 30px 20px 20px 20px;
padding-left
:
32px
;
padding-right
:
32px
;
}
//模块tip样式--绿色
...
...
@@ -260,11 +266,8 @@ export default {
//1--基本信息--模块内信息整体样式
.base-msg
{
color
:
#666666
;
//display: grid !important;
//grid-template-columns: repeat(3, auto);
margin-top
:
20px
;
margin-top
:
30px
;
margin-bottom
:
20px
;
margin-left
:
13px
;
}
//表格内容选中后的样式-all
...
...
@@ -306,6 +309,11 @@ export default {
font-weight
:
bold
;
color
:
#333333
;
}
.topTitle
{
padding-top
:
30px
;
padding-bottom
:
30px
;
text-align
:
center
;
}
.dialog-footer
{
margin-bottom
:
20px
;
margin-top
:
60px
;
...
...
@@ -313,4 +321,12 @@ export default {
::v-deep
.ql-snow
{
border-color
:
#e5e5e5
!
important
;
}
.lastRow
{
::v-deep
.el-form-item
{
margin-bottom
:
0
;
}
}
.footerButton
{
margin-top
:
30px
;
}
</
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment