From 82c48f3b548145d0cb3c652c47ed4def1e3e4c77 Mon Sep 17 00:00:00 2001 From: li-guang <153605324@qq.com> Date: Fri, 18 Dec 2020 15:48:04 +0800 Subject: [PATCH] Merge branch 'master' of https://gitee.com/jyyforjava/hive-app --- hive-app/pages/mine/index.vue | 28 +++++++++++++++------------- 1 files changed, 15 insertions(+), 13 deletions(-) diff --git a/hive-app/pages/mine/index.vue b/hive-app/pages/mine/index.vue index 6ab569a..08aba0f 100644 --- a/hive-app/pages/mine/index.vue +++ b/hive-app/pages/mine/index.vue @@ -5,7 +5,7 @@ <view class="status_bar"></view> <!-- #endif --> <view class="header"> - <view class="icon white iconfont iconshezhi right"></view> + <view class="icon white iconfont iconshezhi right" @click="linkTo('./setting')"></view> <view class="flex align-center"> <image class="header-img ml-15" src="../../static/images/head-img.jpg"></image> <view class="flex flex-v ml-20"> @@ -33,17 +33,17 @@ <text class="font-18">我的业绩</text> </view> <view class="tab-box"> - <liuyuno-tabs + <h-tabs class="tab" :tabData="tabs" :config="{ color: '#abb1cc', activeColor: '#518EFF', underLineColor: '#518EFF', - underLineHeight: 5, - fontSize: 30, + underLineHeight: 4, + fontSize: '30px', itemWidth: 70, - underLineWidth: 50, + underLineWidth: 60, }" /> <view class="performance-content"> @@ -61,7 +61,7 @@ <text class="font-14 mt-5">项目业绩</text> </view> </view> - <view class="flex justify-around mt-20"> + <view class="flex justify-around mt-15"> <view class="flex flex-v align-center performance-item"> <text class="font-16 blueness">600.00</text> <text class="font-14 mt-5">产品业绩</text> @@ -77,7 +77,7 @@ </view> </view> </view> - <view class="flex align-center justify-between repository mt-20"> + <view class="flex align-center justify-between repository mt-20" @click="linkTo('./knowledge')"> <view class="flex align-center"> <image class="title-img mr-10" src="../../static/images/mine2.png"></image> <text>知识库</text> @@ -89,10 +89,10 @@ </template> <script> - import liuyunoTabs from "@/components/liuyuno-tabs/liuyuno-tabs.vue"; + import HTabs from "@/components/liuyuno-tabs/liuyuno-tabs.vue"; export default { components: { - liuyunoTabs + HTabs }, data() { return { @@ -117,7 +117,11 @@ } }, methods: { - + linkTo(val){ + uni.navigateTo({ + url:val + }) + } } } </script> @@ -128,7 +132,6 @@ color: #FFFFFF; } .header{ - height: 100px; background: #518EFF; border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; @@ -158,13 +161,12 @@ border: 1px solid #EDEAF4; border-radius: 4px; box-shadow:0 6px 6px rgba(237,234,244,0.5); - padding: 10px; } .tab{ border-bottom: 1px solid #EDEAF4; } .performance-content{ - padding: 10px 0; + padding: 20px 0; } .performance-item{ width: 33.3%; -- Gitblit v1.9.1