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 | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/hive-app/pages/mine/index.vue b/hive-app/pages/mine/index.vue index c492140..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"> @@ -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> @@ -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; -- Gitblit v1.9.1