<template>
	<view class="content">
		<view class="couponBox">
			<view class="halfCircle_l"></view>
			<view class="halfCircle_r"></view>			
			<view class="top">
				<view class="logo"><image mode="scaleToFill" src="../../static/shop-logo.png"></image></view>
				<view class="title">时光印记妈妈摄影机构时光印记妈妈摄影机构时光印记妈妈摄影机构时光印记妈妈摄影机构</view>
			</view>
			<view class="detail">
				<view class="detailTop">
					<view class="title">5折优惠券</view>
					<view class="useBtn">立即使用</view>
				</view>
				<view class="intro">
					<view class="col">
						<view class="col_l">可用时间</view>
						<view class="col_r">2021.02.10-2021.03.08 14:00</view>
					</view>
					<view class="col">
						<view class="col_l">使用说明</view>
						<view class="col_r">优惠券说明优惠券说明优惠券说明优 优惠券说明优惠券说明优惠券说明优 说明</view>
					</view>
				</view>
				<view class="useCon">
					<view class="useCol"><text>赠送给好友</text><text class="iconfont icon-right"></text></view>
					<view class="useCol"><text>公众号</text><text class="iconfont icon-right"></text></view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onLoad() {

		},
		methods: {

		}
	}
</script>
<style>
	page{background-color: #FF578A;}
</style>
<style lang="scss" scoped>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	.couponBox{
		width:710rpx;
		margin:20rpx auto 0 auto;
		position: relative;
		.halfCircle_l{width:14rpx;height:28rpx;background:#FF578A;border-radius:0 14rpx 14rpx 0;position: absolute;left:0;top:122rpx;}
		.halfCircle_r{width:14rpx;height:28rpx;background:#FF578A;border-radius:14rpx 0 0 14rpx;position: absolute;right:0;top:122rpx;}
		.top{
			background: #F5F5F5;padding:24rpx 40rpx;border-radius:10rpx 10rpx 0 0;height:136rpx;box-sizing: border-box;
			display: flex;justify-content: flex-start;align-items: center;align-content: center;
			.logo{
				width:88rpx;height:88rpx;border-radius:8rpx;
				image{display:block;width:88rpx;height:88rpx;}
			}
			.title{font-size: 32rpx;height:40rpx;font-weight: 400;color: #666666;padding-left:24rpx;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}
		}
		.detail{
			padding:0 40rpx;
			background: #fff;
			border-radius: 0 0 10rpx 10rpx;
			.detailTop{
				padding:80rpx 0;
				text-align: center;
				.title{font-size: 56rpx;font-weight: 500;color: #333333;}
				.useBtn{margin-top:72rpx;width:100%;height: 88rpx;line-height:88rpx;text-align: center;background: linear-gradient(90deg, #FF7E95 0%, #FF447B 100%);border-radius: 44rpx;font-size: 36rpx;font-weight: 500;color: #FFFFFF;}
			}
		}
		.intro{
			border-top:1rpx dashed #DEE4E7;
			padding-bottom:40rpx;
			.col{
				display: flex;
				justify-content: flex-start;
				font-size: 28rpx;
				color:#666;
				line-height:1.8;
				margin-top:40rpx;
				.col_l{min-width:115rpx;}
				.col_r{margin-left:38rpx;}
			}
		}
		.useCon{
			font-size: 32rpx;
			font-weight: 400;
			color: #333333;			
			.useCol{
				border-top:1rpx solid #F7F7F7;
				display: flex;
				justify-content: space-between;
				align-items: center;
				align-content: center;
				padding:40rpx 0;
				.iconfont{color:#BBBBBB;}
			}
			.useCol:first-child{
				border-top:none;
			}
		}
	}

</style>
