|  |  |  | @ -1,12 +1,12 @@ | 
			
		
	
		
			
				
					|  |  |  |  | <template> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 	<view class="zhuye"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<meta name="viewport" | 
			
		
	
		
			
				
					|  |  |  |  | 			content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" /> | 
			
		
	
		
			
				
					|  |  |  |  | 		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<!-- <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" /> --> | 
			
		
	
		
			
				
					|  |  |  |  | 		<LoadingPage :loading="loading"></LoadingPage> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 		<!-- //导航栏 --> | 
			
		
	
		
			
				
					|  |  |  |  | 		<u-navbar bgColor="#ffffff" :placeholder="true" titleStyle="font-weight:600" title="首页" :autoBack="true"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<u-navbar bgColor="#ffffff" :placeholder="true" titleStyle="font-weight:600" title="首页" :autoBack="false"> | 
			
		
	
		
			
				
					|  |  |  |  | 			<template #left> | 
			
		
	
		
			
				
					|  |  |  |  | 				<image src='../static/back.png' style="width: 36rpx;height: 36rpx;" @click="goback"> | 
			
		
	
		
			
				
					|  |  |  |  | 				</image> | 
			
		
	
	
		
			
				
					|  |  |  | @ -263,7 +263,37 @@ | 
			
		
	
		
			
				
					|  |  |  |  | 		}, | 
			
		
	
		
			
				
					|  |  |  |  | 		methods: { | 
			
		
	
		
			
				
					|  |  |  |  | 			goback() { | 
			
		
	
		
			
				
					|  |  |  |  | 				this.$router.go(-2) | 
			
		
	
		
			
				
					|  |  |  |  | 				 | 
			
		
	
		
			
				
					|  |  |  |  | 				// this.$router.go(-3) | 
			
		
	
		
			
				
					|  |  |  |  | 				// window.history.back() | 
			
		
	
		
			
				
					|  |  |  |  | 				// window.JSBridge.exit(); | 
			
		
	
		
			
				
					|  |  |  |  | 	 | 
			
		
	
		
			
				
					|  |  |  |  | 		// 获取当前页面栈 | 
			
		
	
		
			
				
					|  |  |  |  | const pages = getCurrentPages(); | 
			
		
	
		
			
				
					|  |  |  |  | console.log(pages);  // 打印页面栈 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | // 如果页面栈大于 1,执行返回操作 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | if (pages.length > 1) { | 
			
		
	
		
			
				
					|  |  |  |  |   // uni.navigateBack(1); | 
			
		
	
		
			
				
					|  |  |  |  | window.history.back(); | 
			
		
	
		
			
				
					|  |  |  |  |   console.log("pages.length",pages.length); | 
			
		
	
		
			
				
					|  |  |  |  | } else { | 
			
		
	
		
			
				
					|  |  |  |  |   console.log('已经在首页,无法返回'); | 
			
		
	
		
			
				
					|  |  |  |  | window.history.back(); | 
			
		
	
		
			
				
					|  |  |  |  | console.log('已执行back'); | 
			
		
	
		
			
				
					|  |  |  |  | // this.$router.go(-2) | 
			
		
	
		
			
				
					|  |  |  |  | // console.log('已执行$router'); | 
			
		
	
		
			
				
					|  |  |  |  | // uni.navigateBack(1); | 
			
		
	
		
			
				
					|  |  |  |  | // console.log('已执行navigateBack'); | 
			
		
	
		
			
				
					|  |  |  |  | // window.JSBridge.exit(); | 
			
		
	
		
			
				
					|  |  |  |  | // console.log('已执行exit'); | 
			
		
	
		
			
				
					|  |  |  |  | // window.close(); | 
			
		
	
		
			
				
					|  |  |  |  | // console.log('已执行close'); | 
			
		
	
		
			
				
					|  |  |  |  | } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 			}, | 
			
		
	
		
			
				
					|  |  |  |  | 			getYanLian() { | 
			
		
	
		
			
				
					|  |  |  |  | 				backlog().then(res => { | 
			
		
	
	
		
			
				
					|  |  |  | 
 |