<!-- 拍照检查 -->
<template>
	<view id="empowerOpen">
		<view class="page-one" v-if="pageType==1">
			<view class="header">
				<input class="header-l" type="text" v-model="newData.subId" placeholder="实验室名称">
			</view>
			<view class="list">
				<view class="list-li">
					<view class="list-li-l">实验室名称（房间号）</view>
					<view class="list-li-r">授权</view>
				</view>
			</view>
		</view>
		<view class="page-tow" v-if="pageType==2">
			<view class="list-tow">
				<view class="list-tow-li">
					<view class="list-tow-li-t">被授权人</view>
					<input class="list-tow-li-b" type="text" v-model="newData.subId" placeholder="">
				</view>
				<view class="list-tow-li">
					<view class="list-tow-li-t">生效时间</view>
					<view class="time">
						<view class="time-l">2024/02/04  12:23</view>
						<view class="time-c">-</view>
						<view class="time-r">2024/02/04  12:23</view>
					</view>
				</view>
			</view>
		</view>
		
	</view>

</template>

<script>
	import {
		config
	} from '@/api/request/config.js'
	export default {
		components: {

		},
		data() {
			return {
				pageType: 2,
				baseUrl: config.base_url,
				newData: {
					
				},
				

			}
		},
		onLoad(option) {

		},
		onShow() {

		},
		methods: {
			
		}
	}
</script>

<style lang="stylus" scoped>
	#empowerOpen {
		.page-one{
			.header{
				width: 749rpx;
				height: 120rpx;
				background: #FFFFFF;
				padding: 20rpx 30rpx;
				box-sizing: border-box;
				border-bottom: 1rpx solid #D8D8D8;
				.header-l{
					width: 690rpx;
					height: 80rpx;
					border-radius: 10rpx 10rpx 10rpx 10rpx;
					border: 1rpx solid #E0E0E0;
					padding: 20rpx;
					box-sizing: border-box;
				}
			}
			.list{
				padding: 0 30rpx;
				box-sizing: border-box;
				background: #fff;
				.list-li{
					height: 90rpx;
					display: flex;
					justify-content: space-between;
					align-items: center;
					border-bottom: 1rpx solid #D8D8D8;
					
					.list-li-l{
						flex: 1;
						font-family: PingFang SC, PingFang SC;
						font-weight: 400;
						font-size: 30rpx;
						color: #333333;
						line-height: 42rpx;	
					}
					.list-li-r{
						font-family: PingFang SC, PingFang SC;
						font-weight: 400;
						font-size: 28rpx;
						color: #0183FA;
						line-height: 39rpx;
					}
				}
			}
			
		}
		.page-tow{
			.list-tow{
				padding: 0 30rpx;
				box-sizing: border-box;
				background: #fff;
				.list-tow-li{
					.list-tow-li-t{
						font-family: PingFang SC, PingFang SC;
						font-weight: 400;
						font-size: 30rpx;
						color: #333333;
						line-height: 42rpx;
						text-align: left;
						margin: 24rpx 0;
					}
					.list-tow-li-b{
						width: 690rpx;
						height: 80rpx;
						border-radius: 10rpx 10rpx 10rpx 10rpx;
						border: 1rpx solid #E0E0E0;
					}
					.time{
						display:flex;
						justify-content: flex-start;
						align-items: center;
						width: 690rpx;
						height: 80rpx;
						border-radius: 10rpx 10rpx 10rpx 10rpx;
						border: 1rpx solid #E0E0E0;
						.time-l{
							height: 80rpx;
							width: 324rpx;
							border-right:1rpx solid #E0E0E0;
							font-family: PingFang SC, PingFang SC;
							font-weight: 400;
							font-size: 28rpx;
							color: #333333;
							line-height: 80rpx;
							text-align: left;
						}
						.time-c{
							height: 80rpx;
							width: 40rpx;
							text-align: center;
							line-height: 80rpx;
						}
						.time-r{
							height: 80rpx;
							width: 324rpx;
							background: #E0E0E0;
							border-left:1rpx solid #E0E0E0;
							font-family: PingFang SC, PingFang SC;
							font-weight: 400;
							font-size: 28rpx;
							color: #333333;
							line-height: 80rpx;
							text-align: left;
						}
					}
				}
			}
		}
	}
</style>
