From f3850178fddbab84450b418b5f7bc349e973e8d9 Mon Sep 17 00:00:00 2001 From: lmj <3407000732@qq.com> Date: Tue, 7 Jun 2022 14:49:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=88=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Index.vue | 40 +++++++++++++++++------------ src/views/portal/case/Detail.vue | 22 ++++++++++------ src/views/portal/case/Index.vue | 44 ++++++++++++++++++++------------ 3 files changed, 65 insertions(+), 41 deletions(-) diff --git a/src/views/Index.vue b/src/views/Index.vue index 6ba1da38..850b2144 100644 --- a/src/views/Index.vue +++ b/src/views/Index.vue @@ -112,33 +112,36 @@ 推荐案例 - 最新 最热 + 最新 更多 >
-
+
{{ca.sysCreateTime.substring(0,10)}}
+ - {{ca.title}} + {{ca.title}}
- {{ca.content}} + {{ca.summary}}
+
-
-
+
+
+
@@ -629,6 +632,7 @@ export default { -webkit-box-orient: vertical; } .casetwo{ + border: 1px solid #F0F0F0; width: 100%; height: 220px; margin-bottom:15px; @@ -639,34 +643,36 @@ export default { background-image: linear-gradient(to right , #b8c7e2, #d0dcf3); } .case-conent{ - width: 220px; - height: 160px; - box-shadow: 1px 1px 15px #ccc; - position: absolute; - top: 5%; + width: 100%; + height: 100%; + // box-shadow: 1px 1px 15px #ccc; + // position: absolute; + // top: 5%; background-color: #fff; - left: 4%; - padding: 10px; + // left: 4%; + padding: 16px; .case-time{ - font-size: 10px; - color: #b1b1b1; + font-size: 12px; + color: #999999; text-align: right; } .case-title{ + margin-top: 10px; font-size: 14px; color: #333; font-weight: bold; margin-bottom:10px; } .case-text{ + height: 55px; font-size: 14px; color: #888888; line-height: 18px; margin-bottom:12px; } .case-inter{ - position: absolute; - bottom: 5%; + width: 100%; + border-bottom: 1px solid #f3f3f3; } } diff --git a/src/views/portal/case/Detail.vue b/src/views/portal/case/Detail.vue index b5c45e60..c96a70df 100644 --- a/src/views/portal/case/Detail.vue +++ b/src/views/portal/case/Detail.vue @@ -13,18 +13,19 @@
{{ caseDetail.title }}
- + 作者:{{ authorInfo.name }} 工号:{{ authorInfo.code }} 部门:{{ authorInfo.orgInfo }} {{ caseDetail.sysCreateTime.substring(0,10) }} +
-
- 角色认知 - 角色转变 - 团队管理 +
{{ caseDetail.summary }}
+
+ {{ caseDetail.orgDomain }} + {{ caseDetail.majorType }}
@@ -91,7 +92,7 @@
- 人气榜 + 热度榜
@@ -153,7 +154,7 @@ export default { filePath:'' }, ankingList:[], - authorInfo:{ aid: '', name: '', orgInfo: '', avatar: '', code: '' } + authorInfo:{ aid: '', name: '', orgInfo: '', avatar: '', code: '',sex:null} }; }, mounted() { @@ -184,7 +185,7 @@ export default { } } if(scrollTop > 630) { - document.querySelector('#fixd-box').style.cssText = "position: fixed;top: -400px;width:245.5px"; + document.querySelector('#fixd-box').style.cssText = "position: fixed;top: -550px;width:245.5px"; } else { document.querySelector('#fixd-box').style.cssText = "position: static"; } @@ -264,6 +265,11 @@ export default {