<template>
	<view class="content">
		<view class="detailTop">
			<image class="banner" mode="scaleToFill" src="../../static/750x500.png"></image>
		</view>
		<view class="toptitle">
			<view class="h3">时光印记店(石路店)</view>
			<view class="dataGroup">
				<view class="dataCol">
					<image mode="heightFix" src="../../static/icon_liulan@2x.png"></image>
					<text class="bot">1334</text>
				</view>
			</view>
			<view class="discuss">
				<view class="starBox">
					<image mode="heightFix" src="../../static/icon_detail_star_pre@2x.png"></image>
					<image mode="heightFix" src="../../static/icon_detail_star_pre@2x.png"></image>
					<image mode="heightFix" src="../../static/icon_detail_star_pre@2x.png"></image>
					<image mode="heightFix" src="../../static/icon_detail_star_nor@2x.png"></image>
					<image mode="heightFix" src="../../static/icon_detail_star_nor@2x.png"></image>
				</view>
			</view>	
			<view class="shopInfo">
				<view class="tit">
					<image mode="heightFix" src="../../static/icon_shijian@2x.png"></image>
					<text>2021-02-10 14:00</text>
				</view>			
			</view>
			<view class="shopInfo">
				<view class="tit">
					<image mode="heightFix" src="../../static/icon_dizhi.png"></image>
					<text>苏州市姑苏区十全街999号</text>
				</view>
				<view class="add_detail">
					<view class="add_l">距地铁1号线临顿路站4号口入口步行 500米</view>
					<view class="add_r">
						<text class="iconfont icon-dianhua"></text>
						<text>电话</text>
					</view>
				</view>
			</view>	
		</view>
		<view class="shops">
			<view class="shop">
				<image class="pic" src="../../static/shop-logo.png"></image>
				<view class="infos">
					<view class="name">时光印记店(石路店)</view>
					<view class="date-txt">周一至周日 09:00-18:00</view>
					<view class="txt">苏州市姑苏区十全街999号</view>
				</view>
			</view>
		</view>
		<!--为您推荐-->
		<view class="introBox hasMenu">
			<view class="normal_tit padding_20">附近商家</view>
			<view class="intro_column" @tap="gotoDetail">
				<view class="imgOuter"><image mode="aspectFill" src="../../static/rishang.png"></image><view class="i_intro">推荐</view></view>
				<view class="columnInfo">
					<view class="title">孕育邦孕妈妈摄影体验</view>
					<view class="discuss">
						<view class="starBox">
							<image mode="heightFix" src="../../static/icon_detail_star_pre@2x.png"></image>
							<image mode="heightFix" src="../../static/icon_detail_star_pre@2x.png"></image>
							<image mode="heightFix" src="../../static/icon_detail_star_pre@2x.png"></image>
							<image mode="heightFix" src="../../static/icon_detail_star_nor@2x.png"></image>
							<image mode="heightFix" src="../../static/icon_detail_star_nor@2x.png"></image>
						</view>
					</view>	
					<view class="subInfo">2020/12/11 14:00</view>
					<view class="subInfo">苏州·园区星海街188号园区星海街188号苏州·园区星海街188号园区星海街188号</view>
					<view class="menu"><text class="hui">惠</text>时光印记孕妈妈摄影体验套餐</view>
				</view>
			</view>
			<view class="intro_column" @tap="gotoDetail">
				<view class="imgOuter"><image mode="aspectFill" src="../../static/rishang.png"></image></view>
				<view class="columnInfo">
					<view class="title">孕育邦孕妈妈摄影体验</view>
					<view class="discuss">
						<view class="starBox">
							<image mode="heightFix" src="../../static/icon_detail_star_pre@2x.png"></image>
							<image mode="heightFix" src="../../static/icon_detail_star_pre@2x.png"></image>
							<image mode="heightFix" src="../../static/icon_detail_star_pre@2x.png"></image>
							<image mode="heightFix" src="../../static/icon_detail_star_nor@2x.png"></image>
							<image mode="heightFix" src="../../static/icon_detail_star_nor@2x.png"></image>
						</view>
					</view>	
					<view class="subInfo">2020/12/11 14:00</view>
					<view class="subInfo">苏州·园区星海街188号园区星海街188号苏州·园区星海街188号园区星海街188号</view>
					<view class="menu"><text class="hui">惠</text>时光印记孕妈妈摄影体验套餐</view>
				</view>
			</view>
			<view class="intro_column" @tap="gotoDetail">
				<view class="imgOuter"><image mode="aspectFill" src="../../static/rishang.png"></image></view>
				<view class="columnInfo">
					<view class="title">孕育邦孕妈妈摄影体验</view>
					<view class="discuss">
						<view class="starBox">
							<image mode="heightFix" src="../../static/icon_detail_star_pre@2x.png"></image>
							<image mode="heightFix" src="../../static/icon_detail_star_pre@2x.png"></image>
							<image mode="heightFix" src="../../static/icon_detail_star_pre@2x.png"></image>
							<image mode="heightFix" src="../../static/icon_detail_star_nor@2x.png"></image>
							<image mode="heightFix" src="../../static/icon_detail_star_nor@2x.png"></image>
						</view>
					</view>	
					<view class="subInfo">2020/12/11 14:00</view>
					<view class="subInfo">苏州·园区星海街188号园区星海街188号苏州·园区星海街188号园区星海街188号</view>
					<view class="menu"><text class="hui">惠</text>时光印记孕妈妈摄影体验套餐</view>
				</view>
			</view>
		</view>					
	</view>
</template>
<script>
	export default {
		data() {
			return {
			}
		},
		onLoad() {

		},
		methods: {
		}
	}
</script>
<style lang="scss" scoped>

	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		background: #F6F6F6;
	}
	.shopInfo{
		padding:25rpx 0;border-top:1rpx solid #EAEAEA;
		.tit{
			display: flex;justify-content: flex-start;align-items: center;align-content: center;
			font-size: 28rpx;font-weight: 400;color: #333333;
			image{display: block;width:24rpx;height:24rpx;margin-right:13rpx;}
		}
		.add_detail{
			color:#999;font-size: 28rpx;padding:10rpx 0 0 36rpx;
			display: flex;justify-content:space-between;align-items: center;align-content: center;
			.iconfont{color:#FF578A;}
			.add_l{width:65%;}
			.add_r{padding:0 34rpx;border-left:1rpx solid #EAEAEA;}
			.add_r text{display: block;text-align: center;}
			}
		}
	.detailTop{
		width: 750rpx;
		.banner{display: block;width:100%;height:500rpx;}
	}
	.infoTop{
		position: relative;
		width: 100%;
		height: 88rpx;
		background: #FF97AA;
		.price {
			position: absolute;
			left: 0;
			bottom: 0;
			width: 400rpx;
			height: 124rpx;
			border-radius: 0 40rpx 0 0;
			color: #fff;
			.priceBg{display: block;width:100%;height:124rpx;position: absolute;top:0;left:0;z-index: 9;}
			.two-price {
				display: inline-block;
				margin-top: 22rpx;
				margin-left: 20rpx;
				font-size: 24rpx;
				line-height: 56rpx;
				position: relative;
				z-index:10;
				.large {
					font-size: 56rpx;
				}
				.del {
					display: inline-block;
					margin-left: 10rpx;
					text-decoration: line-through;
				}
			}
			.surplus {
				display: inline-block;
				width: 102rpx;
				height: 32rpx;
				line-height: 32rpx;
				background: rgba(51,51,51,0.2);
				border-radius: 16rpx;
				font-size: 24rpx;
				text-align: center;
				margin-left: 20rpx;
				position: relative;
				z-index:10;				
			}
		}
		.times {
			position: absolute;
			top: 13rpx;
			right: 30rpx;
			display: flex;
			align-items: center;
			color: #fff;
			font-size: 24rpx;
			.djs {
				padding-right: 10rpx;
			}
			.num {
				display: inline-block;
				margin-left: 8rpx;
				margin-right: 8rpx;
				padding: 5rpx;
				background: #333333;
				border-radius: 4rpx;
			}
		}
	}
	.discuss{
		display: flex;justify-content: flex-start;margin:25rpx 0;position: relative;align-items: center;align-content: center;
		.dis_l{font-size:28rpx;color:#333;font-weight: 500;padding-top:5rpx;margin-right: 32rpx;}
		.starBox{
			display: flex;
			justify-content: flex-start;
			image{display: block;width:26rpx;height:26rpx;margin-right:8rpx;}
		}
	}		
	.toptitle {
		width:100%;
		background: #fff;
		border-radius: 24rpx 24rpx 0;
		margin-top: -20rpx;
		padding:30rpx 30rpx 0 30rpx;
		box-sizing: border-box;
		position: relative;
		z-index:20;
		.h3 {
			display: inline-block;
			font-size: 36rpx;
			font-weight: 500;
			color: #333333;
		}
		.dataGroup {
			position: absolute;
			top: 30rpx;
			right: 30rpx;
			.dataCol {
				display: inline-block;
				margin-left:20rpx;
				image{display: block;width:34rpx;height:34rpx;margin:0 auto;}
				.bot {
					display: block;
					font-size: 20rpx;
					width: 60rpx;
					text-align: center;
				}
			}
		}
		.tags {
			.txt {
				padding: 8rpx;
				background: rgba(255,177,62,0.1);
				border-radius: 4rpx;
				font-size: 20rpx;
				color: #FF7E4C;
				display: inline-block;
				margin-right: 10rpx;
			}
		}
		.normalPrice{
			display: flex;
			justify-content: space-between;
			align-items: flex-end;
			align-content: flex-end;
			font-size:24rpx;color:#999;
			.price{
				flex:1;
				color: #FF578A;
				.big{font-size: 56rpx;font-weight: 500;margin-right:10rpx;}
				.small{color:#999;}
			}
			.r_info{flex:1;display: flex;justify-content: flex-end;align-items: center;
				.leaveNum{margin-left:24rpx;}
				.shareMoney{
					max-width:136rpx;
					height: 28rpx;
					border:2rpx solid #FF578A;
					border-radius: 4rpx;
					line-height:28rpx;
					font-size:20rpx;
					margin-right:10rpx;
					padding-right:10rpx;
					color:#FF578A;
					display: flex;
					flex-direction: flex-start;
					text{background: #FF578A;color:#fff;padding: 0 10rpx;}
				}			
			}
			
		}
		.shareIntro{
			display: flex;
			border-top:1rpx solid #DEE4E7;
			justify-content: space-between;
			align-items: center;
			align-content: center;
			font-size:28rpx;
			color:#666;
			padding:25rpx 0;
			margin-top:25rpx;
			.title{
				width: 90rpx;
				padding:0 8rpx;
				height: 32rpx;
				line-height:32rpx;
				background: #FF578A;
				border-radius: 6rpx;
				font-size: 20rpx;
				color:#fff;
				margin-right:32rpx;
			}
		}
	}
	.summary {
		width: 100%;
		margin-top: 15rpx;
		background: #fff;
		padding-bottom: 40rpx;
		.tit {
			line-height: 32rpx;
			font-size: 32rpx;
			font-weight: 500;
			color: #333333;
			margin-top: 35rpx;
			margin-left: 30rpx;
		}
		.wrap {
			margin-top: 40rpx;
			width: 100%;
			display: flex;
			align-items: center;
			justify-content: space-around;
			.item {
				width: 170rpx;
				.iconfont {
					text-align: center;
					font-size: 34rpx;
					color: #FF578A;
				}
				.grey-txt {
					text-align: center;
					font-size: 24rpx;
					color: #999999;
					margin: 10rpx auto;
				}
				.black-txt {
					text-align: center;
					font-size: 24rpx;
					color: #333333;
				}
			}
		}
	}
	.shops {
		background: #fff;
		margin-top: 10rpx;
		padding: 15rpx 30rpx;
		box-sizing: border-box;
		.shop {
			box-sizing: border-box;
			padding: 25rpx 0;
			border-bottom: 1rpx solid #EAEAEA;
			.pic {
				width: 120rpx;
				height: 120rpx;
				display: inline-block;
			}
			.infos {
				position: relative;
				width: 540rpx;
				margin-left: 24rpx;
				display: inline-block;
				vertical-align: top;
				.name {
					font-size: 32rpx;
					font-weight: 500;
					color: #333333;
					line-height: 32rpx;
				}
				.starts {
					margin: 20rpx 0;
					height: 20rpx;
					line-height: 20rpx;
					.iconfont {
						color: #FF578A;
						font-size: 20rpx;
						display: inline-block;
						margin-right: 7rpx;
						height: 100%;
						line-height: 20rpx;
					}
				}
				.txt {
					font-size: 24rpx;
					color: #666666;
					line-height: 24rpx;
				}
				.reply {
					position: absolute;
					top: 45rpx;
					right: 0;
					font-size: 24rpx;
					color: #666666;
					line-height: 24rpx;
					.iconfont {
						padding-left: 7rpx;
						font-size: 24rpx;
						color:#999;
					}
				}
				.date-txt {
					font-size: 24rpx;
					color: #666666;
					line-height: 24rpx;
					margin: 20rpx 0;
				}
			}
		}
		.shop:last-child {
			border-bottom: 0;
		}
	}
	.details {
		margin-top: 10rpx;
		padding: 0 30rpx 30rpx 30rpx;
		background: #fff;
		width: 100%;
		box-sizing: border-box;
		.tit {
			font-size: 32rpx;
			font-weight: 500;
			color: #333333;
			line-height: 32rpx;
			margin-top: 30rpx;
		}
		.txts {
			margin-top: 33rpx;
			.txt {
				display: block;
				font-size: 28rpx;
				color: #333333;
				line-height: 45rpx;
			}
		}
		image{width:100%;margin-top:30rpx;}
	}
	.introBox{
		width:710rpx;
		margin:20rpx auto 0 auto;
		border-radius: 16rpx;
		background: #fff;
		padding:0 35rpx;
		box-sizing: border-box;
	}
	.introBox .intro_column:last-child{border-bottom:none;}
	.intro_column{
		display: flex;
		justify-content: flex-start;
		padding:20rpx 0;
		border-bottom:2rpx solid #EAEAEA;
		.imgOuter{
			width: 260rpx;
			height:210rpx;
			position: relative;
			image{width:260rpx;height:210rpx;border-radius:5rpx;}
			.i_intro{position: absolute;top:0;left:0;width: 68rpx;height: 32rpx;background: #FF578A;border-radius: 5rpx 0px 18rpx 5rpx;font-size: 22rpx;font-weight: 400;color: #FFFFFF;line-height: 32rpx;text-align: center;}	
		}
		.columnInfo{
			width:360rpx;
			margin-left:22rpx;
			.discuss{margin:13rpx 0!important;}
			.menu{
				font-size:24rpx;
				color:#333;
				margin-top:20rpx;
				.hui{margin-right:8rpx;display: inline-block;width: 30rpx;height: 30rpx;background: #FF753E;border-radius: 2rpx;font-size:22rpx;color: #FFFFFF;text-align: center;line-height:30rpx;}
			}
			.title{
				width:100%;
				font-size:30rpx;
				font-weight:bold;
				color:#333;
				overflow: hidden;
				white-space: nowrap;
				text-overflow: ellipsis;				
			}
			.tags text{
				height: 28rpx;
				background: rgba(255,177,62,0.1);
				border-radius: 4rpx;
				line-height:28rpx;
				font-size:20rpx;
				padding: 0 10rpx;
				margin-right:10rpx;
				color:#FF753E;
			}
			.subInfo{
				width:100%;
				font-size:24rpx;
				color:#999;
				font-weight:400;
				overflow: hidden;
				white-space: nowrap;
				text-overflow: ellipsis;
				padding-top:5rpx;	
				.font_red{margin-left:10rpx;}
			}
			.price{
				display: flex;
				justify-content: flex-start;
				align-items: center;
				align-content: center;
				margin-top:8rpx;
				text{margin-right:10rpx;}
				.shareMoney{
					height: 28rpx;
					border:2rpx solid #FF578A;
					border-radius: 4rpx;
					line-height:28rpx;
					font-size:20rpx;
					margin-right:10rpx;
					padding-right:10rpx;
					color:#FF578A;
					display: flex;
					flex-direction: flex-start;
					text{background: #FF578A;color:#fff;padding: 0 10rpx;}
				}
				.free{
					height: 28rpx;
					background: #FF753E;
					border-radius: 4rpx;
					line-height:28rpx;
					font-size:20rpx;
					padding: 0 10rpx;
					margin-right:10rpx;
					color:#fff;					
				}
			}
			
		}		
	}
	.termBox{
		width: 750rpx;
		height: 200rpx;
		background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.8) 70%, rgba(255, 255, 255, 0) 100%);
		border-radius: 40rpx 40rpx 0px 0px;
		margin-top:20rpx;
		.termOuter{
			display: flex;
			align-items: center;
			align-content: center;
			justify-content: flex-start;
			.termCol{
				width:27%;
				text-align:center;
				font-size: 28rpx;
				font-weight: 400;
				color: #333333;	
				padding-top:36rpx;
				.iconfont{font-size: 24rpx;color: #666666;line-height:28rpx;margin-left:8rpx;}
				
			}
			.termCol.cur{
				color:#FF578A;
				.iconfont{color: #FF578A;}
			}
			.termCol:last-child{width:19%;}
			
		}
	}
</style>
