<template>
	<view class="content">
		<view class="header">
			<view class="back" @click="goBack">
				<image class="back-icon" src="https://cdn.his.cdwjyyh.com/images/back.png" mode=""></image>
			</view>
			<view class="title">经营资质</view>
			<view class="right"></view>
		</view>
		<view class="license-container">
			<image class="license-image" src="https://cdn.his.cdwjyyh.com/images/license.png" mode="aspectFit"></image>
		</view>
	</view>
</template>

<script>
export default {
	methods: {
		goBack() {
			uni.navigateBack({
				delta: 1
			})
		}
	}
}
</script>

<style lang="scss">
	page {
		height: 100%;
		background: #F5F7FA;
	}
	
	.content {
		height: 100%;
		display: flex;
		flex-direction: column;
		
		.header {
			height: 100rpx;
			background: #FFFFFF;
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 0 30rpx;
			box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
			
			.back {
				width: 60rpx;
				height: 60rpx;
				display: flex;
				align-items: center;
				justify-content: center;
				
				.back-icon {
					width: 32rpx;
					height: 32rpx;
				}
			}
			
			.title {
				font-size: 32rpx;
				font-weight: 600;
				color: #333333;
			}
			
			.right {
				width: 60rpx;
			}
		}
		
		.license-container {
			flex: 1;
			padding: 40rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			
			.license-image {
				width: 100%;
				height: auto;
				max-height: 80vh;
			}
		}
	}
</style>