|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<view class="content">
|
|
|
- <cu-custom bgColor="bg-blacks" :isBack="false">
|
|
|
+ <cu-custom bgColor="bg-blacks" :isBack="false" v-if="pageDisplay==1">
|
|
|
<block slot="right">
|
|
|
<image src="../../static/picture/fourLine.png" style="width: 30px;height: 30px;margin-left: 2%;" @tap="openDrawer"></image>
|
|
|
</block>
|
|
@@ -29,7 +29,7 @@
|
|
|
<!-- <view>
|
|
|
<button class="cu-btn bg-red lg" @tap="falseLogin" type="" :style="{ 'height': buttonHeight}">注销账号</button>
|
|
|
</view> -->
|
|
|
-
|
|
|
+ <view v-if="pageDisplay==1">
|
|
|
<view v-if="toggleid==12">
|
|
|
<mine ref="r1"></mine>
|
|
|
</view>
|
|
@@ -37,6 +37,10 @@
|
|
|
<view v-if="toggleid==13">
|
|
|
<chatindex ref="r1"></chatindex>
|
|
|
</view>
|
|
|
+ </view>
|
|
|
+ <view v-if="pageDisplay==2">
|
|
|
+ <addressBook></addressBook>
|
|
|
+ </view>
|
|
|
|
|
|
</view>
|
|
|
|
|
@@ -49,7 +53,7 @@
|
|
|
import res from '../../common/data.json';
|
|
|
import drawer from '../../components/drawer/threeLineDrawer.vue'
|
|
|
import plusDrawer from '../../components/drawer/plusDrawer.vue';
|
|
|
-
|
|
|
+ import addressBook from '../../components/mine/addressBook/addressBook.vue';
|
|
|
import mine from '../../components/mine/Mine.vue';
|
|
|
import chatindex from '../../components/mine/chat/Chatindex.vue';
|
|
|
|
|
@@ -58,10 +62,12 @@
|
|
|
drawer: drawer,
|
|
|
plusDrawer: plusDrawer,
|
|
|
mine:mine,
|
|
|
- chatindex:chatindex
|
|
|
+ chatindex:chatindex,
|
|
|
+ addressBook:addressBook
|
|
|
},
|
|
|
data:function(){
|
|
|
return{
|
|
|
+ pageDisplay:1,
|
|
|
toggleid:12,//12我的主页,13聊天通讯,默认12
|
|
|
badge: 22,
|
|
|
inconList:["form","favor","question","edit"],
|