<template>
	<view class="title">
		<text class="fontStyle">{{info.proName}}</text>
		<view class="titleBox">
			<image :src="info.proImg" mode="" style="width: 102rpx;height: 102rpx;border-radius: 12rpx 12rpx 12rpx 12rpx;"></image>
			<view class="ml-20 rightText">
				<view >
					{{info.avaTime}}
				</view>
				<view style="margin-top: 8rpx;">{{info.proDetail}}</view>
			</view>
		</view>
		<view class="moneyStyle">
			<text class="moneys">￥{{info.orderAmount}}</text>
			<u-icon name="arrow-right" color="#000" size="28"></u-icon>
		</view>
	</view>
</template>

<script>
	export default {
		props: ['info'],
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style lang="less">
	.title {
		width: 750rpx;
		height: 206rpx;
		background: #FFFFFF;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		padding: 32rpx 64rpx;
		margin-top: 32rpx;
		position: relative;

		.fontStyle {
			font-weight: 400;
			font-size: 28rpx;
			color: #333333;
		}

		.titleBox {
			.df();

			.rightText {
				font-weight: 400;
				font-size: 24rpx;
				color: #999999;
			}
		}

		.moneyStyle {
			position: absolute;
			right: 30rpx;
			top: 80rpx;
			.df();
			.moneys{
				font-weight: bold;
				font-size: 32rpx;
				color: #333333;
			}
		}
	}

	.ml-20 {
		margin-left: 20rpx;
	}

	.df(@start: flex-start, @position: center) {
		display: flex;
		justify-content: @start;
		align-items: @position;
	}
</style>