Browse Source

修改顶部标题位置

306132416@qq.com 4 years ago
parent
commit
5b3fb655d0
1 changed files with 2 additions and 1 deletions
  1. 2 1
      pages/selfCenter/index.vue

+ 2 - 1
pages/selfCenter/index.vue

@@ -1,6 +1,6 @@
 <template>
   <view class="content">
-	<top-title :titleValue="title" style="width: 100%;"></top-title>
+	<top-title :titleValue="title" :btnTop="btnPos" style="width: 100%;"></top-title>
     <div class="self-inf">
       <div class="img-name-box" v-if="isAuth">
         <image :src="userHeadImg" class="heade-img" mode="aspectFill"></image>
@@ -50,6 +50,7 @@ export default {
       isAuth: true,
       userHeadImg: "",
       userNickName: "",
+	  btnPos:uni.getMenuButtonBoundingClientRect().top + 6,
       list: [
         { 
 		 icoin: "/static/selfCenter/suggest.png",