From b83ba3cc4687f21d744e9866e10e30e91229e8a4 Mon Sep 17 00:00:00 2001 From: queenwuli <942534046@qq.com> Date: Thu, 28 Jan 2021 16:23:30 +0800 Subject: [PATCH] gx --- hive-app/pages/mine/index.vue | 39 ++++++++++++++++++++++++++++----------- 1 files changed, 28 insertions(+), 11 deletions(-) diff --git a/hive-app/pages/mine/index.vue b/hive-app/pages/mine/index.vue index afd239a..73f3c0e 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,24 +41,27 @@ 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"> - <text class="font-16 red">{{userAchieve.orderCash | formatNum}}</text> - <text class="mt-5">订单业绩</text> - </view> - <view class="flex flex-v align-center performance-item"> - <text class="font-16 green">{{userAchieve.cash | formatNum}}</text> + <text class="font-16 green">{{userAchieve.orderCash | formatNum}}</text> <text class="mt-5">现金业绩</text> </view> <view class="flex flex-v align-center performance-item"> - <text class="font-16 purple">{{userAchieve.cardUse | formatNum}}</text> + <text class="font-16 purple">{{userAchieve.cash | formatNum}}</text> <text class="mt-5">划扣业绩</text> + </view> + <view class="flex flex-v align-center performance-item"> + <text class="font-16 red">{{userAchieve.cardUse | formatNum}}</text> + <text class="mt-5">业绩提成</text> </view> </view> <view class="flex justify-around mt-15"> @@ -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