<template>
	<view class="detail-send-order">
		<view class="detail-send-order-top">
			<view class="detail-send-order-top-left">
				订单编号：{{items.order_sn || '--'}}
			</view>
		</view>
	<view class="detail-send-order-product">
	 <view class="detail-send-order-product__wrapper" v-if="items.orderProduct">
	 	<view class="detail-send-order-content" v-for="(itemData,indexs) in items.orderProduct" :key="indexs">
	 		<view class="detail-send-order-content-left">
	 			<view class="detail-send-order-content-left-img">
					<image v-if="itemData.cart_info" :src="itemData.cart_info.product.image" mode="widthFix"></image>
					<text  v-else>暂无照片</text>
	 			</view>
	 		</view>
			<view class="detail-send-order-content-middle">
				<view class="detail-send-order-content-middle-top" v-if="itemData.cart_info">
					{{itemData.cart_info.product.store_name || ""}}
				</view>
				<view class="detail-send-order-content-middle-top-bot" v-if="itemData.cart_info">
					{{itemData.cart_info.productAttr.sku || ''}}
				</view>
			</view>
	 		<view class="detail-send-order-content-right">
	 			<view class="detail-send-order-yi-in-neibu-right-im">
	 				¥{{items.pay_price || 0}}
	 			</view>
	 			<view class="detail-send-order-yi-in-neibu-right-in">
	 				共 {{items.total_num || 0}} 件
	 			</view>
	 		</view>
	 	</view>
	 	
	 
	 </view>
	</view>
	</view>
</template>

<script>
	export default {
		props:{
			items:{
				type:Object,
				default:()=>{}
			}
		},
		data() {
			return {
				
				
			};
		}
	}
</script>

<style lang="scss" scoped>
.detail-send-order{
	// width: 100%;
	min-height: 267rpx;
	background: #FFFFFF;
	border-radius: 16rpx;
	padding: 0 26rpx 20rpx;
	.detail-send-order-top{
		width: 100%;
		padding: 32rpx 0 32rpx 0;
		display: flex;
		color: #333333;
		justify-content: space-between;
		align-items: center;
		font-size: 26rpx;
		.detail-send-order-top-left {
			font-weight: 500;
			color: #333333;
		}
	}
.detail-send-order-product{
	width: calc(100% - 54rpx);
	margin:0 26rpx;
	&__wrapper{
		
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: flex-end;
		.detail-send-order-content{
			width:100%;
			display: flex;
			align-items: center;
			padding: 10rpx 0 15rpx 0;
			gap:20rpx;
			.detail-send-order-content-left{
				height: 100%;
				display: flex;
				align-items: flex-start;
				justify-content: space-between;
				&-img{
					width: 158rpx;
					height: 158rpx;
					background-color: #eee;
					overflow: hidden;
					border-radius: 10rpx;
					flex-shrink: 0;
					image {
						width: 100%;
						height: auto;
					}
				}
			}
}
     }
	 .detail-send-order-content-middle{
		 height: 100%;
		 flex: 1;
		 &-top{
		 	width: 100%;
		 	font-weight: 400;
		 	color: #333333;
		 	font-size: 28rpx;
		 	display: -webkit-box;
		 	-webkit-box-orient: vertical;
		 	-webkit-line-clamp: 2;
		 	overflow: hidden;
		 	justify-content: space-between;
		 }
	 }
  
  .detail-send-order-content-right{
	  .detail-send-order-yi-in-neibu-right-im{
		  font-weight: 500;
		  font-size: 28rpx;
		  color: #333333;
	  }
	  .detail-send-order-yi-in-neibu-right-in{
		  font-weight: 400;
		  font-size: 24rpx;
		  color: #666666;
		  text-align: center;
		  padding-top:5rpx;                                                               
	  }
  }
   }

}
</style>
