From 06aadbe04dd96e52b58a08c5a8dc9282a21df205 Mon Sep 17 00:00:00 2001 From: daihh Date: Fri, 14 Oct 2022 19:06:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=96=E4=BB=AC=E4=B8=BB=E9=A1=B5=EF=BC=8C?= =?UTF-8?q?=E5=A4=B4=E5=83=8F=E6=8A=96=E5=8A=A8=E9=97=AE=E9=A2=98=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/HomePage/homePage.vue | 37 +++++--------------------- src/components/PortalHeader.vue | 2 +- src/components/UcHeader/Index.vue | 39 +++++++++------------------- 3 files changed, 20 insertions(+), 58 deletions(-) diff --git a/src/components/HomePage/homePage.vue b/src/components/HomePage/homePage.vue index 4317f4e3..d6e89f28 100644 --- a/src/components/HomePage/homePage.vue +++ b/src/components/HomePage/homePage.vue @@ -2,16 +2,13 @@
-
- -
-
-
+ +
+
+
+
-
@@ -98,7 +95,7 @@ code: "", name: "", orgInfo: "", - sex: 2, + sex: '', sign: "", } } @@ -111,7 +108,7 @@ this.setCurIdentity(1); } this.orgInfo=cutFullName(this.userInfo.departFullName,1); - + this.loadUserStat(); if(this.pageId !== this.userInfo.aid) { this.followHas(); @@ -355,27 +352,7 @@ color: #aa0000; } } - .uavatar{ - border-radius: 50%; - // border: 1px solid #73adfe; - // color: #73adfe; - text-align: center; - font-size: 30px; - line-height: 100px; - width: 100px; - height: 100px; - border-radius: 50%; - // background: #d9e9ff; - div{ - border-radius: 50%; - img{ - border-radius: 50%; - width: 100px; - height: 100px; - } - } -} @media screen and (max-width: 1366px){ .uc-header-box { diff --git a/src/components/PortalHeader.vue b/src/components/PortalHeader.vue index 8065c542..2d86ed8b 100644 --- a/src/components/PortalHeader.vue +++ b/src/components/PortalHeader.vue @@ -108,7 +108,7 @@
个人中心 - 个人主页 + 个人主页
diff --git a/src/components/UcHeader/Index.vue b/src/components/UcHeader/Index.vue index 3f8fd660..4b9fd484 100644 --- a/src/components/UcHeader/Index.vue +++ b/src/components/UcHeader/Index.vue @@ -6,13 +6,13 @@
-->
- -
- -
-
+ + +
+
+
+
-
@@ -102,6 +102,7 @@ import {userAvatarText,cutFullName} from "@/utils/tools.js"; }, mounted() { this.sex = this.userInfo.sex; + //console.log(this.sex,'this.sex') // 判断路由是进入的学员默认页面就重置setCurIdentity if(this.$route.path == '/uc/study/task' || this.$route.path == '/study/index'){ this.setCurIdentity(1); @@ -218,6 +219,10 @@ import {userAvatarText,cutFullName} from "@/utils/tools.js"; width: 120px; height: 120px; margin-right: 20px; + .uavatar{ + width: 120px; + height: 120px; + } img{ width: 100%; height: 100%; @@ -317,7 +322,7 @@ import {userAvatarText,cutFullName} from "@/utils/tools.js"; color: #FFFFFF; // border: 1px solid #ffb30f; } - .uc-alert{ +.uc-alert{ margin: 10px; text-align: center; padding: 0px 50x; @@ -329,26 +334,6 @@ import {userAvatarText,cutFullName} from "@/utils/tools.js"; color: #aa0000; } } -.uavatar{ - border-radius: 50%; - // border: 1px solid #73adfe; - // color: #73adfe; - text-align: center; - font-size: 30px; - line-height: 100px; - width: 100px; - height: 100px; - border-radius: 50%; - // background: #d9e9ff; - div{ - border-radius: 50%; - img{ - border-radius: 50%; - width: 100px; - height: 100px; - } - } -} @media screen and (max-width: 1366px){ .uc-header-box {