Browse Source

取消按钮 左右导肮

zhaomiao 4 years ago
parent
commit
cb241c6632

+ 9 - 0
components/drawer/threeLineDrawer.vue

@@ -124,6 +124,11 @@
 							url: item.remark1
 					 });
 				}
+				/* if(item.remark1 == '/components/mine/Mine'){
+					uni.switchTab({
+							url: '/pages/mine/Mine'
+					 });
+				} */
 				if(item.remark1 == '/pages/index/Index'){
 					uni.switchTab({
 							url: item.remark1
@@ -147,6 +152,10 @@
 					this.$parent.$root.pageDisplay = 1;
 				}
 				
+				else if(item.remark1 == '/components/mine/Mine'){
+					this.$parent.$root.pageDisplay = 1;
+				}
+				
 				else if(item.remark1 == '/components/mine/addressBook/addressBook'){
 					this.$parent.$root.pageDisplay = 2;
 				}				

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

@@ -16,7 +16,7 @@
 			</block>
 			<block slot="content">通讯录</block>
 			<block slot="right">
-				<view class="plus" @tap="showModal" data-target="viewModal">+</view>
+				<view class="plus" @tap="" data-target="viewModal"></view>
 			</block>
 		</cu-custom>
 
@@ -65,7 +65,7 @@
 						<input type="text" placeholder="输入搜索的关键词"  confirm-type="search" v-model="search"></input>
 					</view>
 					<view class="action" >
-						<button class="cu-btn bg-gradual-sisBlack shadow-blur round" style="width:200upx;" @click="accordingOut">取消</button>
+						<button class="cu-btn bg-gradual-sisBlack shadow-blur round" style="width:200upx;top: 0px; margin-top: 3%;" @click="accordingOut">取消</button>
 					</view>
 				</view>
 				<!-- 搜索列表 -->