From 4b80c98ef5fda8d6358778f2efe8bb35cb20ccf9 Mon Sep 17 00:00:00 2001
From: queenwuli <942534046@qq.com>
Date: Fri, 15 Jan 2021 16:18:21 +0800
Subject: [PATCH] gx

---
 hive-app/pages/mine/index.vue |   27 ++++++++++++++++++++++-----
 1 files changed, 22 insertions(+), 5 deletions(-)

diff --git a/hive-app/pages/mine/index.vue b/hive-app/pages/mine/index.vue
index afd239a..fbc8aa7 100644
--- a/hive-app/pages/mine/index.vue
+++ b/hive-app/pages/mine/index.vue
@@ -11,10 +11,10 @@
 			<view class="flex align-center">
 				<image class="header-img ml-10" :src="userInfo.photo?userInfo.photo:'../../static/images/default-avatar.png'"></image>
 				<view class="flex flex-v ml-15">
-					<view>
+					<navigator url="./myInfo" hover-class="none">
 						<text class="font-18 white mr-5">{{userInfo.name}}</text>
-						<text class="white icon iconfont iconxiugai"></text>
-					</view>
+						<text class="white font-16 iconfont iconxiugai"></text>
+					</navigator>
 					<view class="flex mt-10">
 						<view class="mr-20 ellipsis ellipsis-rolename">
 							<text class="white mr-5 font-14">职位:</text>
@@ -41,11 +41,14 @@
 						activeColor: '#518EFF',
 						underLineColor: '#518EFF',
 						underLineHeight: 4,
-						fontSize: '30px',
+						fontSize: 26,
 						itemWidth: 70,
 						underLineWidth: 60,
 					}"
 				/>
+				<view  class="look-more" @click="lookMore">
+					更多<text class="iconfont iconarrow-backimg light-gray"></text>
+				</view>
 				<view class="performance-content">
 					<view class="flex justify-around">
 						<view class="flex flex-v align-center performance-item">
@@ -77,7 +80,7 @@
 					</view>
 				</view>
 			</view>
-			<navigator url="./knowledge" class="flex align-center justify-between repository mt-10">
+			<navigator url="./knowledge" class="flex align-center justify-between repository mt-10" v-if="$utils.hasPermission('zhishiku')">
 				<view class="flex align-center">
 					<image class="title-img mr-10" src="../../static/images/mine2.png"></image>
 					<text>知识库</text>
@@ -147,6 +150,11 @@
 				uni.navigateTo({
 					url: './setting?isLogin='+isLogin
 				})
+			},
+			lookMore(){
+				uni.navigateTo({
+					url: '../manager/employeeReport'
+				})
 			}
 	    }
 	}
@@ -191,10 +199,19 @@
 		background: #FFFFFF;
 		border-radius: 4px;
 		margin-top: 10px;
+		position: relative;
 	}
 	.tab{
 		border-bottom: 1px solid #EDEAF4;
 	}
+	.look-more{
+		position: absolute;
+		z-index: 99;
+		top: 22rpx;
+		right: 10px;
+		color: rgb(171, 177, 204);
+		font-size: 26rpx;
+	}
 	.performance-content{
 		padding: 20px 0;
 	}

--
Gitblit v1.9.1