<template>
	<view class="bg">
		<view class="box">
			<view class="info">
				<image class="img" src="" mode=""></image>
				<view class="main">
					<view class="title text-overflowRows">
						名称名称名称名称名称名称名称名称名称名称名称名称名称名称名称名称名称名称
					</view>
					<view class="main-bottom">
						<view class="price">
							9.9
						</view>
						<view class="num-box">
							<view class="del">-</view>
							<view class="num">1</view>
							<view class="add">+</view>
						</view>
					</view>
				</view>
			</view>
			<view class="msg-box">
				<view class="left-text">
					优惠券
				</view>
				<view class="coupon" v-if="!coupon">
					暂无可用优惠券
					<image class="rightIcon" :src="showImg('/uploads/20240827/96dee582e7ce3b8293e659bb1dc87433.png')" mode=""></image>
				</view>
			</view>
			<view class="name-box">
				<view class="left-text">
					联系人：
				</view>
				<input type="text" placeholder="输入您的名字" />
			</view>
			<view class="phone-box">
				<view class="" style="display: flex;">
					<view class="left-text">
						手机号：
					</view>
					<input type="number" />
				</view>
				<image class="cha" :src="showImg('/uploads/20240827/5e5970926e92a2109da55bfe32a47e4b.png')" mode=""></image>
			</view>
		</view>
		
		<view class="bottom">
			
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				coupon:null,
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
	.bg {
		background: #F7F7F7;
		min-height: 100vh;
		padding: 26rpx 25.33rpx 168rpx;
	}
	
	.box {
		width: 699rpx;
		// height: 553rpx;
		background: #FFFFFF;
		border-radius: 13rpx;
		padding: 28rpx 21.33rpx 0;
	}
	
	.bottom {
		height: 148rpx;
	    background: #FFFFFF;
	    box-shadow: 0rpx 0rpx 16rpx 0rpx rgba(6, 0, 1, 0.1);
	    padding: 20.67rpx 26.67rpx 40.67rpx;
	    position: fixed;
	    left: 0;
	    right: 0;
	    bottom: 0;
	}
	
	.img {
		width: 167rpx;
		height: 160rpx;
		background: #666666;
		border-radius: 7rpx;
		margin-right: 29.33rpx;
		flex-shrink: 0;
	}
	
	.info {
		display: flex;
		margin-bottom: 22rpx;
	}
	
	.main {
		padding-top: 8.67rpx;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}
	
	.title {
		width: 429rpx;
		font-family: PingFang SC;
		font-weight: 500;
		font-size: 33rpx;
		color: #333333;
	}
	
	.main-bottom {
		display: flex;
		justify-content: space-between;
	}
	
	.num-box {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	
	.price {
		font-family: PingFang SC;
		font-weight: 400;
		font-size: 33rpx;
		color: #000000;
	}
	.price::before {
		content: "￥";
		font-size: 24rpx;
	}
	
	.del {
		width: 47rpx;
		height: 47rpx;
		background: #E8E8E8;
		border-radius: 50%;
		font-family: PingFang SC;
		font-weight: 400;
		font-size: 34rpx;
		color: #999999;
		text-align: center;
		line-height: 47rpx;
	}
	
	.add {
		width: 47rpx;
		height: 47rpx;
		background: #71B580;
		border-radius: 50%;
		font-family: PingFang SC;
		font-weight: 400;
		font-size: 34rpx;
		color: #FFFFFF;
		text-align: center;
		line-height: 47rpx;
	}
	
	.num {
		margin: 0 29rpx;
	}
	
	.msg-box {
		padding: 42rpx 0;
		border-bottom: 1rpx solid #CCC;
		display: flex;
		justify-content: space-between;
	}
	
	.name-box {
		padding: 42rpx 0;
		display: flex;
		border-bottom: 1rpx solid #CCC;
	}
	
	.phone-box {
		padding: 42rpx 0;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	
	.rightIcon {
		width: 10.67rpx;
		height: 20rpx;
		margin-left: 19.33rpx;
	}
	
	.left-text {
		font-family: PingFang SC;
		font-weight: 500;
		font-size: 31rpx;
		color: #000000;
	}
	
	.coupon {
		font-family: PingFang SC;
		font-weight: 400;
		font-size: 27rpx;
		color: #999999;
	}
	
	.cha {
		width: 26rpx;
		height: 25.33rpx;
	}
	
	input {
		margin-left: 20rpx;
	}
	

</style>
