From aaa767b2054fdbe7f60b9d1fdc7a8ad3b25d6c90 Mon Sep 17 00:00:00 2001
From: queenwuli <942534046@qq.com>
Date: Thu, 17 Dec 2020 16:37:31 +0800
Subject: [PATCH] gx
---
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