<template>
	<view class="verificationDetail">
		<!-- 核销状态 -->
		<view class="nav">
			<text class="verificationDate" >核销时间：2020-10-20</text>
			<text class="notVerification" v-if="false">未核销</text>
		</view>
		
		<!-- 地址+产品信息 -->
		<view class="address">
			<view class="title">
				<text>地址</text>
			</view>
			<view class="addressCard">
				<image style="width: 694rpx;height: 134rpx;position: absolute;" src="http://t9.9026.com/imgs/addressMap.png"></image>
				<view class="addressName">
					<image src="/static/icon/position.png"></image>
					<text>天堂洲际大饭店</text>
				</view>
				<view class="addressDetail">四川省 成都市 高新区 XXX小区 XXX号</view>
			</view>
			<view class="title">
				<text>产品信息</text>
			</view>
			<view class="shopCard">
				<image  src="/static/icon/Kudosbg.png"></image>
				<view style="margin-left: 24rpx;">
					<text class="name">端午佳节五香肉粽子，仅限前</text>
					<text class="tag">礼盒装 2000积分</text>
				</view>
			</view>
			<view class="shopNumber">
				<text>件数</text>
				<text>1件</text>
			</view>
			<view class="tatol">
				<text>合计</text>
				<text>2000积分</text>
			</view>
		</view>
		
		<!-- 收货信息 -->
		<view class="message">
			<view class="messageCard">
				<view class="title">
					<text>收货信息</text>
				</view>
				<view class="content" >
					<text>收货人</text>
					<text>张三</text>
				</view>
				<view class="content">
					<text>联系方式</text>
					<text>12325646</text>
				</view>
			</view>
			<view class="messageCard">
				<view class="title">
					<text>订单信息</text>
				</view>
				<view class="content" >
					<text>订单编号</text>
					<text>62aae0eb9c6fd622</text>
				</view>
				<view class="content">
					<text>时间</text>
					<text>2022-08-20 12:32:12</text>
				</view>
			</view>
			<view class="messageCard" >
				<view class="title">
					<text>核销信息</text>
				</view>
				<view class="content" >
					<text>核销员</text>
					<text>张武</text>
				</view>
				<view class="content">
					<text>核销时间</text>
					<text>2022-08-20 12:32:12</text>
				</view>
			</view>
		</view>
		
		<!-- 核销按钮 -->
		<view class="bottombtn" v-if="false">
			<view class="btnitem" @click="goOrderVF">
				<text>去核销</text>
			</view>
		</view>
		
	</view>
</template>

<script>
	export default{
		data(){
			return{
				
			}
		},
		methods:{
			// 跳转核销订单
			goOrderVF(){
				uni.navigateTo({
					url:'/pages/my/verification/orderVerification'
				})
			},
		}
	}
</script>

<style lang="scss" scoped>
	$pageColor:#F9F9F9;
	$bgColor:#FFFFFF;
	// flex布局居中对齐
	@mixin flexlayout {
		display: flex;
		align-items: center;
		justify-content: center;
	}
	
	.verificationDetail{
		height: 100%;
		background:$pageColor ;
	}
	.nav{
		width: 750rpx;
		height: 108rpx;
		background: $bgColor;
		border-radius: 0px 0px 16rpx 16rpx;
		padding:32rpx 0 0 28rpx;
		box-sizing: border-box;
		.verificationDate{
			font-size: 40rpx;
			font-family: PingFang-SC-Medium, PingFang-SC;
			font-weight: 500;
			color: #333333;
		}
		.notVerification{
			// 继承.verificationDate类的属性
			@extend .verificationDate;
			color: #FF6200;
		}
	}
	.address{
		margin-top: 24rpx;
		width: 750rpx;
		height: 650rpx;
		background: $bgColor;
		border-radius: 16rpx;
		padding:40rpx 30rpx;
		box-sizing: border-box;
		.title{
			margin-bottom: 24rpx;
			text{
				font-size: 32rpx;
				font-family: PingFang-SC-Bold, PingFang-SC;
				font-weight: bold;
				color: #080F18;
			}
		}
		.addressCard{
			width: 694rpx;
			height: 134rpx;
			display: flex;
			margin-bottom: 40rpx;
			flex-direction: column;
			justify-content: center;
			position: relative;
			background: linear-gradient(270deg, rgba(255,255,255,0.06) 0%, #FFFFFF 100%);
			.addressName{
				z-index: 999;
				display: flex;
				align-items: center;
				margin-bottom: 18rpx;
				image{
					width: 22rpx;
					height: 28rpx;
				}
				text{
					margin-left: 8rpx;
					font-size: 28rpx;
					font-family: PingFang-SC-Medium, PingFang-SC;
					font-weight: 500;
					color: #333333;
				}
			}
			.addressDetail{
				z-index: 999;
				font-size: 28rpx;
				font-family: PingFangSC-Medium, PingFang SC;
				font-weight: 500;
				color: #080F18;
			}
		}
		.shopCard{
			margin-top: 28rpx;
			width: 694rpx;
			height: 164rpx;
			background: #F4F5F6;
			border-radius: 10rpx;
			display: flex;
			align-items: center;
			image{
				border-radius: 10rpx;
				width: 132rpx;
				height: 132rpx; 
				margin-left: 16rpx;
				display: inline-block;
			}
			.name{
				font-size: 28rpx;
				font-family: PingFangSC-Medium, PingFang SC;
				font-weight: 500;
				color: #080F18;
				display: block;
			}
			.tag{
				font-size: 24rpx;
				font-family: PingFang-SC-Medium, PingFang-SC;
				font-weight: 500;
				color: #666666;
			}
		}
		.shopNumber{
			display: flex;
			justify-content: space-between;
			align-items: center;
			margin-top: 25rpx;
			text{
				font-size: 26rpx;
				font-family: PingFang-SC-Medium, PingFang-SC;
				font-weight: 500;
				color: #000000;
			}
		}
		.tatol{
			@extend .shopNumber;
		}
	}
	.message{
		margin-top: 24rpx;
		width: 750rpx;
		height: 690rpx;
		background: $bgColor;
		border-radius: 16rpx;
		padding:40rpx 30rpx;
		box-sizing: border-box;
		.messageCard{
			.title{
				margin-bottom: 40rpx;
				width: 120rpx;
				height: 30rpx;
				font-size: 30rpx;
				font-family: PingFang-SC-Bold, PingFang-SC;
				font-weight: bold;
				color: #080F18;
				line-height: 30rpx;
			}
			.content{
				margin-bottom: 32rpx;
				width: 600rpx;
				height: 28rpx;
				font-size: 28rpx;
				font-family: PingFang-SC-Medium, PingFang-SC;
				font-weight: 500;
				color: #666666;
				line-height: 28rpx;
				position: relative;
				text:last-child{
					position: absolute;
					left:176rpx;
				}
			}
		}
	}
	.bottombtn{
		width: 690rpx;
		height: 92rpx;
		background: linear-gradient(270deg, #FF6200 0%, #FF9342 100%);	
		border-radius: 12rpx;
		margin-left: 30rpx;
		position: fixed;
		bottom: 72rpx;
		@include flexlayout()
		.btnitem{
			@include flexlayout()
			text{
				font-size: 30rpx;
				font-family: PingFang-SC-Bold, PingFang-SC;
				font-weight: bold;
				color: $bgColor;
			}
		}
	}
</style>