|  | @@ -3,7 +3,7 @@
 | 
	
		
			
				|  |  |  		<c-nav-bar title="我的" bgColor="transparent" :titleStyle="titleStyle" :showIcon="false"></c-nav-bar>
 | 
	
		
			
				|  |  |  		<view class="bg" :style="{'padding-top':(mt+30)+'px'}">
 | 
	
		
			
				|  |  |  			<view class="account">
 | 
	
		
			
				|  |  | -				<image :src="avatar"></image>
 | 
	
		
			
				|  |  | +				<image :src="avatar" mode="aspectFill"></image>
 | 
	
		
			
				|  |  |  				<text>{{name}}</text>
 | 
	
		
			
				|  |  |  				<u-icon name="arrow-right" color="#ffffff" size="28"></u-icon>
 | 
	
		
			
				|  |  |  			</view>
 | 
	
	
		
			
				|  | @@ -27,9 +27,9 @@
 | 
	
		
			
				|  |  |  			<text>酒店民宿信息</text>
 | 
	
		
			
				|  |  |  			<u-icon name="arrow-right" color="#999999" size="28"></u-icon>
 | 
	
		
			
				|  |  |  		</view>
 | 
	
		
			
				|  |  | -		
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  		<navigator url="/pages/my/roomType">
 | 
	
		
			
				|  |  | -			
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  			<view class="menu box">
 | 
	
		
			
				|  |  |  				<text>房型管理</text>
 | 
	
		
			
				|  |  |  				<u-icon name="arrow-right" color="#999999" size="28"></u-icon>
 | 
	
	
		
			
				|  | @@ -78,19 +78,21 @@
 | 
	
		
			
				|  |  |  			}
 | 
	
		
			
				|  |  |  		},
 | 
	
		
			
				|  |  |  		mounted() {
 | 
	
		
			
				|  |  | -			if(uni.getStorageSync('userInfo')){
 | 
	
		
			
				|  |  | -				this.name = JSON.parse(uni.getStorageSync('userInfo')).realName;
 | 
	
		
			
				|  |  | -				this.avatar = JSON.parse(uni.getStorageSync('userInfo')).headUrl;
 | 
	
		
			
				|  |  | +			if (uni.getStorageSync('userInfo')) {
 | 
	
		
			
				|  |  | +				this.name = uni.getStorageSync('userInfo').realName;
 | 
	
		
			
				|  |  | +				this.avatar = uni.getStorageSync('userInfo').headUrl;
 | 
	
		
			
				|  |  |  			}
 | 
	
		
			
				|  |  |  		},
 | 
	
		
			
				|  |  |  		methods: {
 | 
	
		
			
				|  |  |  			specifiedOrder(index) {
 | 
	
		
			
				|  |  |  				uni.navigateTo({
 | 
	
		
			
				|  |  | -					url: '/pagesMy/orderList/orderList?Type='+index
 | 
	
		
			
				|  |  | +					url: '/pagesMy/orderList/orderList?Type=' + index
 | 
	
		
			
				|  |  |  				})
 | 
	
		
			
				|  |  |  			},
 | 
	
		
			
				|  |  | -			toTurn(url){
 | 
	
		
			
				|  |  | -				uni.navigateTo({ url })
 | 
	
		
			
				|  |  | +			toTurn(url) {
 | 
	
		
			
				|  |  | +				uni.navigateTo({
 | 
	
		
			
				|  |  | +					url
 | 
	
		
			
				|  |  | +				})
 | 
	
		
			
				|  |  |  			}
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  	}
 | 
	
	
		
			
				|  | @@ -120,6 +122,7 @@
 | 
	
		
			
				|  |  |  				image {
 | 
	
		
			
				|  |  |  					width: 96rpx;
 | 
	
		
			
				|  |  |  					height: 96rpx;
 | 
	
		
			
				|  |  | +					border-radius: 50rpx;
 | 
	
		
			
				|  |  |  				}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  				text {
 | 
	
	
		
			
				|  | @@ -217,8 +220,8 @@
 | 
	
		
			
				|  |  |  			}
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  | -	
 | 
	
		
			
				|  |  | -	::v-deep .bottomBg{
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +	::v-deep .bottomBg {
 | 
	
		
			
				|  |  |  		background: transparent !important;
 | 
	
		
			
				|  |  | -	} 
 | 
	
		
			
				|  |  | +	}
 | 
	
		
			
				|  |  |  </style>
 |