<template>
	<view class="list">
		<view class="listItem">
			<view class="lable">
				案件编号：
			</view>
			<view class="main">
				{{defalutVal.caseNum}}
			</view>
		</view>
		<view class="listItem">
			<view class="lable">
				申请人姓名：
			</view>
			<view class="main">
				{{defalutVal.applicantName}}
			</view>
		</view>
		<view class="listItem" style="margin-top:22rpx">
			<view class="lable">
				被申请人姓名：
			</view>
			<view class="main">
				{{defalutVal.respondentName}}
			</view>
		</view>
		<view class="listItem">
			<view class="lable">
				案件状态：
			</view>
			<view class="main">
				{{defalutVal.caseStatusName}}
			</view>
		</view>
		<view class="btn">
			<button class="btnItem" type="primary" size="mini" @tap="uploadEvidence(defalutVal.id)">查看快递信息</button>
			<!-- <button class="btnItem" type="primary" size="mini" @tap="confirmationEvidence" v-if="defalutVal.caseStatus == 4">确认证据</button>
			<button class="btnItem" type="primary" size="mini" @tap="isAssignrbitrators" v-if="defalutVal.caseStatus == 5">是否指派仲裁员</button>
			<button class="btnItem" type="primary" size="mini" @tap="isAssignrbitrators">是否指派仲裁员</button>
			<button class="btnItem" type="primary" size="mini" @tap="chooseMethod" v-if="defalutVal.caseStatus == 9">选择仲裁方式</button> -->
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				
			}
		},
		props:{
			defalutVal:{
				type:Object,
				default:() => {}
			}
		},
		methods:{
			// // 查看快递
			uploadEvidence(id){
				uni.navigateTo({
					// url:`/pages/expressDelivery/component/expressDelivery?id=${this.defalutVal.id}`
					url:`/pages/expressDelivery/component/expressDelivery?id=${id}`
				})
			},
		}
	}
</script>

<style lang="scss" scoped>
	.list {
		padding: 15rpx;
		display: flex;
		flex-direction: column;
		background-color: #ffffff;
		border-radius: 30rpx;
		margin-top: 20rpx;
		.listItem {
			width: 100%;
			display: flex;
			height: 50rpx;
			.lable {
				width: 30%;
			}

			.main {
				width: 60%;
			}
		}
		.btn{
			margin-top: 20rpx;
			width: 100%;
			display: flex;
			justify-content: space-between;
			.btnItem{
				height: 50rpx;
				background-color: #5395ff;
				border-radius: 10rpx;
				text-align: center;
				line-height: 50rpx;
			}
		}
	}
</style>