From e0f54802dca2bc55704eaee11132f5cefd8f4d53 Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Sat, 22 Oct 2022 18:35:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/HomePage/homePage.vue | 55 ++++++++++++++++++---------- src/components/UcHeader/Index.vue | 26 +++++++------ 2 files changed, 50 insertions(+), 31 deletions(-) diff --git a/src/components/HomePage/homePage.vue b/src/components/HomePage/homePage.vue index b1a5fb15..b4d79098 100644 --- a/src/components/HomePage/homePage.vue +++ b/src/components/HomePage/homePage.vue @@ -12,20 +12,21 @@
-
{{userData.name}} +
{{userData.name}}{{userData.orgInfo}} + 个人设置
-
-
{{statData.level}}
- 经验值:{{statData.evalue}} -
- 关注TA - 已关注 - {{pageId == userInfo.aid ? '留言板':'去留言'}}
-

{{userData.sign}}

+

{{userData.sign}} 个人中心>>

+
+
+
{{statData.level}}
+ 经验值:{{statData.evalue}} + {{pageId == userInfo.aid ? '留言板':'去留言'}} + 关注TA + 已关注 +
-
@@ -260,9 +261,17 @@ } .grade{ float: left; - margin-top: 10px; + margin-top: 20px; + .btn-user{ + margin-top: -6px; + // margin-left: 68px; + height: 30px; + border-radius: 20px; + border: 1px solid #0060FF; + color: #0060FF; + } div{ - margin-left: 22px; + // margin-left: 22px; font-weight: 600; float: left; width: 57px; @@ -293,20 +302,26 @@ .user-content{ flex: 1; .content-top{ - margin-top: 15px; + // margin-top: 15px; height: 56px; - .btn-user{ - margin-top: 6px; - height: 30px; - border-radius: 20px; - border: 1px solid #0060FF; - color: #0060FF; - } + h6{ color: #333333; font-size: 26px; margin:0; float: left; + .content-one-info{ + display: inline-block; + width: 97px; + height: 30px; + margin-left: 130px; + line-height: 30px; + text-align: center; + border-radius: 4px; + color: #588afc; + font-weight: normal; + border: 1px solid #387DF7; + } } span{ color: #999999; diff --git a/src/components/UcHeader/Index.vue b/src/components/UcHeader/Index.vue index 97469f74..20db4c26 100644 --- a/src/components/UcHeader/Index.vue +++ b/src/components/UcHeader/Index.vue @@ -19,12 +19,14 @@
{{userInfo.name}}
{{orgInfo}} -
-
{{statData.level}}
- 经验值:{{statData.evalue}} -
+ 编辑资料
+
+
{{statData.level}}
+ 经验值:{{statData.evalue}} + 个人主页>> +
@@ -186,7 +188,7 @@ import {userAvatarText,cutFullName} from "@/utils/tools.js"; } } .content-bottom{ - margin-top: 30px; + margin-top: 10px; display: flex; .medal-list{ //float: left; @@ -233,17 +235,15 @@ import {userAvatarText,cutFullName} from "@/utils/tools.js"; } .user-content{ flex: 1; - .content-top{ - margin-top: 15px; - line-height: 25px; - .grade{ - display: inline-block; + .grade{ + margin-top: 10px; + // display: inline-block; div{ font-weight: 600; float: left; width: 58px; height: 24px; - text-align: center; + // text-align: center; line-height: 34px; color: #9D6110 ; } @@ -254,6 +254,10 @@ import {userAvatarText,cutFullName} from "@/utils/tools.js"; } } + .content-top{ + // margin-top: 10px; + line-height: 25px; + h6{ color: #333333; font-size: 26px;