Browse Source

通讯录 链接

zhaomiao 4 years ago
parent
commit
6a20ff7db2
2 changed files with 5 additions and 30 deletions
  1. 2 28
      components/drawer/threeLineDrawer.vue
  2. 3 2
      components/mine/addressBook/addressBook.vue

+ 2 - 28
components/drawer/threeLineDrawer.vue

@@ -59,32 +59,6 @@
 		methods: {
 			openDrawer: function(width, drawerList, inconList,leftNavigationtitle) {
 				
-				
-				
-				
-				
-				
-				
-				
-				
-				
-				
-				
-				
-				
-				
-				
-				
-				
-				
-				
-				
-				
-				
-				
-				
-				
-				
 				this.drawerIsShow = true;
 				this.drawerList = drawerList;
 				this.width = width;
@@ -117,7 +91,7 @@
 			},
 			goToIndex:function(item){
 				console.log(item.remark1);
-				console.log("---");
+				
 				this.$parent.$root.toggleid = item.id;
 				if(item.remark1 == '/pages/mine/Mine'){
 					uni.switchTab({
@@ -126,7 +100,7 @@
 				}
 				/* if(item.remark1 == '/components/mine/Mine'){
 					uni.switchTab({
-							url: '/pages/mine/Mine'
+							url: item.remark1
 					 });
 				} */
 				if(item.remark1 == '/pages/index/Index'){

+ 3 - 2
components/mine/addressBook/addressBook.vue

@@ -179,7 +179,8 @@
 
 		</scroll-view>
 		
-		<initial ></initial>
+		<initial ref="mychild"></initial>
+		
 	
 	</view>
 </template>
@@ -427,7 +428,7 @@
 				 */
 			},
 			child(id,bool,state) {
-				this.$refs.initial.childMethod(id,bool,state);
+				this.$refs.mychild.childMethod(id,bool,state);
 				this.webshowid=id;
 				this.judge = 0;
 			},