<template>
	<view>
		<view class="content">
			<view class="list">
				<view class="item" v-for="(item,index) in list" :key="index">
					<view class="label">{{item.name}}</view>
					<view class="inner">{{item.value}}</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list:[],
			};
		},
		onLoad(option) {
			// console.log(option.id)
			uni.setNavigationBarTitle({
				title:option.title
			})
			
			this.title = option.title
			
			this.$p_api.coalmine_working_face_info({
				id:option.id
			}).then((res)=>{
				console.log(res)
				this.list = res.data.data
			})
		}
	}
</script>

<style lang="scss">
	page{
		background-color: #009FE8;
	}
	.content{
		width: 750rpx;
		
		box-sizing: border-box;
		padding: 10rpx 25rpx;
		
		.list{
			width: 700rpx;
			background-color: #FFFFFF;
			border-radius: 16rpx;
			box-sizing: border-box;
			padding: 10rpx 30rpx;
			.item{
				display: flex;
				
				font-size: 28rpx;
				box-sizing: border-box;
				padding: 30rpx 0;
				border-bottom: 1rpx solid #eee;
				.label{
					width: 256rpx;
					
					color: #1e1e1e;
				}
				.inner{
					width: 380rpx;
					
					color: #666;
				}
			}
		}
	}
</style>
