From d6ff7e3fd6fcfc5b9b4ec241f723040a94403297 Mon Sep 17 00:00:00 2001 From: daihh Date: Wed, 28 Sep 2022 14:55:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E7=AB=A0=E8=AF=A6=E7=BB=86=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E7=9A=84=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/portal.scss | 15 +++++++-- src/views/portal/article/Detail.vue | 52 ++++++++--------------------- 2 files changed, 26 insertions(+), 41 deletions(-) diff --git a/src/assets/styles/portal.scss b/src/assets/styles/portal.scss index d4fbca96..278b798d 100644 --- a/src/assets/styles/portal.scss +++ b/src/assets/styles/portal.scss @@ -39,16 +39,25 @@ body { box-sizing: border-box; } +.xpage-detail-content{ + padding: 54px; + background-color: #fff; +} // 详细页面的面包屑 .xpage-detail-crumbs{ - margin-top: 54px; - margin-left: 54px; .crumbs-first{ color:#cccccc; } - .crumbs-last{ + .crumbs-item{ color:#999999; } + .crumbs-line{ + margin: 0px 5px; + color:#999999; + } + .crumbs-last{ + color:#3d3d3d; + } } @media screen and (max-width: 1366px){ diff --git a/src/views/portal/article/Detail.vue b/src/views/portal/article/Detail.vue index 7e641caa..0daa765f 100644 --- a/src/views/portal/article/Detail.vue +++ b/src/views/portal/article/Detail.vue @@ -4,19 +4,20 @@
- +
- +
- - 文章列表 - 文章详情 - +
+ 文章列表 + / + 文章详情 +
{{articleDetailData.title}}
@@ -52,7 +53,7 @@
- +
写文章 @@ -87,9 +88,9 @@
- - - + + + @@ -182,7 +183,7 @@ export default { let key = 'article'; apiPlace.detail(key).then(res=>{ console.log(res) - let lmj = JSON.parse(res.result.content) + let lmj = JSON.parse(res.result.content) // console.log(lmj) this.resonimg = lmj[0] console.log(this.resonimg.image) @@ -333,14 +334,14 @@ export default { } .detail { background-color: #fff; - padding: 5px 20px 10px 20px; + padding: 54px; .title { font-size: 22px; text-align: center; line-height: 33px; color: #121212 ; font-weight: 500; - margin-top: 20px; + margin-top: 30px; word-break:break-all; } .label { @@ -413,29 +414,4 @@ export default { color: #999999; } } -// .ref-article-div { -// background-color: #fff; -// .change { -// float: right; -// } -// .list-item { -// padding: 5px 10px; -// } -// .list-item:not(:last-child) { -// border-bottom: 1px solid #dfdfdf; -// } -// img { -// width: 120px; -// border: 1px solid #eee; -// border-radius: 5px; -// vertical-align: middle; -// } -// .an-div { -// text-align: left; -// .tip { -// line-height: 35px; -// color: #666; -// } -// } -// }