| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480 | $pagegap:32rpx;.page-wrap{padding: $pagegap;}.top-search{	position: absolute;	z-index: 31;	background-color: rgba(0,0,0,0.04);	border-radius: 100rpx;	margin-bottom: 20rpx;	margin-left: $pagegap;}.search-wrap{	background-color: #fff;	position: relative;	padding: 20rpx;	margin-bottom: 24rpx;}.search-wrap::after {  content: "";  position: absolute;  width: 100%;  height: 14rpx;  bottom: -20rpx;  left: 0;  background: linear-gradient(to bottom, #F5F5F5, #fff);  z-index: -1;}.search-wrap{	.position{		font-size: 28rpx;		font-weight: bold;		color: #2D2D2D;		/deep/ .u-icon{			position: relative;			top: 5rpx;			margin-left: 8rpx;		}	}	.search-out{		flex: 1;		border: 1px solid #DADADA;		border-radius: 50rpx;		margin-left: 24rpx;	}	.conditions{		// margin-top: 48rpx;		.item{			margin: 0 24rpx;			padding: 48rpx 0 20rpx;			font-size: 24rpx;			font-weight: 400;			color: #363636;			.text{				margin-right: 10rpx;			}		}	}}.gray{	color: #999;}.red{	color: #FF3C3F;}.view-wrap{	padding: 30rpx 20rpx;}.full-btn{	background-color: #F01414;	color: #fff;	border-radius: 44rpx;	padding: 22rpx 0;	text-align: center;	margin-bottom: 40rpx;	margin-top: 20rpx;	font-weight: bold;	&.gray{		background-color: #ddd;		color: #999;	}	&.white{		background-color: #fff;		color: #606060;	}	&.red{		background-color: #ED0000;		color: #fff;	}}.single-til{	margin-bottom: 20rpx;	.text{		font-size: 32rpx;		color: #333;		font-weight: 600;		.sub-title{			margin-left: 20rpx;			font-size: 24rpx;			font-weight: 400;			color: #999999;		}	}	.more-text{		font-size: 24rpx;		color: #999;	}}.date-list{	.date-item{		position: relative;		overflow: hidden;		flex: 1;		background: #FFFFFF;		border-radius: 16rpx;		border: 2rpx solid #7F7F7F;		text-align: center;		margin: 0 8rpx;		box-sizing: border-box;		&.active{			border-color: #ED0000;			background-color: #FFC8C8 ;			.name,.date{				color: #ED0000;			}			.selected-img{				display: block;			}		}		&.disabled{			background-color: #e0e0e0 ;			border-color: #7F7F7F;			.name,.date{				color: #7F7F7F;			}		}		&.stock-over{			// border-color: #7F7F7F;			background-color: #FFFFFF ;			.name,.date{				color: #7F7F7F;			}		}		.selected-img{			width: 32rpx;			height: 32rpx;			position: absolute;			right: 0;			bottom: 0;			display: none;		}		&.dot::after{			content: '';			width: 4px;			height: 4px;			border-radius: 50%;			background-color: #ED0000;			position: absolute;			right: 10rpx;			top: 5px;		}		.name{			padding-top: 26rpx;			margin-bottom: 12rpx;			font-size: 24rpx;			font-weight: 400;			color: #7F7F7F;			line-height: 36rpx;		}		.sold-out{			position: absolute;			right: -2rpx;			top: -2rpx;			background: #D8D8D8;			border-radius: 0rpx 16rpx 0rpx 16rpx;			font-weight: bold;			font-size: 20rpx;			color: #3C3838;			padding: 4rpx 10rpx;			box-sizing: border-box;		}		.date{			font-size: 28rpx;			font-weight: 500;			color: #2D2D2D;			line-height: 42rpx;			padding-bottom: 28rpx;		}	}	.more-date{		height: 148rpx;		.text{			margin-left: 20rpx;			margin-right: 10rpx;			font-size: 24rpx;			font-weight: 400;			color: #7F7F7F;			line-height: 36rpx;		}	}}.date-block.generic-block{	.date-list{		display: grid;		grid-template-columns: repeat(3, 1fr);		gap: 10rpx;	}	.name{		padding-top: 0;		margin-bottom: 0;		display: grid;		align-content: center;		height: 52px;		// padding: 34rpx 0;	}}// 分享 海报.share-option{	transform: translateY(100%);	.overlay{		position: fixed;		left: 0;		top: 0;		width: 100vw;		height: 100vh;		background-color: rgba(0, 0, 0, 0.35);		transform: translateY(-100%);	}	&.shareShow{		transform: translateY(0);	}	position: fixed;	width: 100%;	left: 0;	bottom: 0;	z-index: 50;	background-color: #fff;	.share-option-item{		position: relative;		height: 46px;		line-height: 46px;		border: 0;		background-color: #fff;		text-align: center;		border-radius: 0;		border-bottom: 1px solid #eee;		font-size: 30rpx;	}	.wx-share{		border-bottom: 0;	}}.poster-wrap{	position: fixed;	left: 0;	top: 0;	width: 100%;	height: 100vh;	.poster-inner{		flex: 1;		margin: 0 75rpx;		.close-wrap{			display: flex;			justify-content: flex-end;			margin-bottom: 16rpx;		}	}	.poster{		position: relative;		// padding-bottom: 90rpx;		background-color: transparent;		.posterBg{			position: absolute;			left: 0;			bottom: 0;			right: 0;			width: 100%;			z-index: 1;		}		.placard{			position: relative;			z-index: 10;		}		.bottom{			position: relative;			z-index: 20;			margin: 33rpx 40rpx 0;			.left{				margin-right: 58rpx;				.price{					font-size: 22rpx;					font-weight: 600;					color: #FF3538;					line-height: 30rpx;					margin-bottom: 10rpx;					.num{						font-size: 40rpx;						font-weight: 600;						margin-left: 5rpx;					}				}				.goodsName{					font-size: 30rpx;					font-weight: 400;					color: #333333;					line-height: 38rpx;					margin-bottom: 16rpx;				}				.slogan{					font-size: 26rpx;					font-weight: 600;					line-height: 37rpx;				}			}			.right{				text-align: center;				.imgTip{					margin-top: 12rpx;					font-size: 20rpx;					font-weight: 400;					color: #333333;					line-height: 28rpx;				}				.qrcode{					width: 108rpx;					height:108rpx;				}			}		}	}	.poster-btn{		height: 88rpx;		line-height: 88rpx;		border-radius: 44rpx;		text-align: center;		color: #fff;		margin-top: 40rpx;		font-size: 32rpx;		font-weight: 600;		background: linear-gradient(90deg, #FF7979 0%, #ED0000 100%);	}}// 分享 海报// 富文本.parse-content{	font-size: 26rpx;	font-family: SourceHanSansCN, SourceHanSansCN;	font-weight: 400;	color: #4E4E4E;	line-height: 40rpx;	rich-text,p{		display: block;		margin-bottom: 8px;	}}.coupon-list{	.item{		position: relative;		margin-bottom: 16rpx;		background-size: contain;		text-align: center;		background-repeat: no-repeat;		height: 236rpx;		&.ifReceive{			.right {				.btn{					background-color: #FFC4C4;				}			}		}		.content{			// padding-top: 30rpx;			height: calc( 236rpx - 40rpx );		}		.left{			width: 34%;			padding-left: 6rpx;			.quota{				font-weight: 500;				font-size: 28rpx;				background-clip: text;				text-fill-color: transparent;				background: linear-gradient(180deg, #FF9B81 0%, #FF1D45 100%);				-webkit-background-clip: text;				-webkit-text-fill-color: transparent; /* 使用 WebKit 前缀以支持 Safari 和旧版本的 Chrome */			}			.number{				font-weight: bold;				font-size: 100rpx;				&.small{					font-size: 54rpx;				}			}			.condition{				font-weight: 400;				font-size: 22rpx;				color: #D56442;				line-height: 34rpx			}		}		.center{			flex: 1;			text-align: left;			padding-left: 40rpx;			.name{				font-weight: bold;				font-size: 28rpx;				color: #C5412B;				line-height: 42rpx;				margin-bottom: 16rpx;				&.small{					font-size: 24rpx;				}			}			.condition{				font-weight: 400;				font-size: 22rpx;				color: #D56442;				line-height: 34rpx;			}			.tip{				font-weight: 400;				font-size: 22rpx;				color: #D56442;				line-height: 30rpx;			}		}		.bottom-time{			position: absolute;			left: 48rpx;			bottom: 18rpx;			font-weight: 400;			font-size: 22rpx;			color: #C5412B;		}		.right{			// flex: 1;			padding-top: 20rpx;			.btn{				display: inline-block;				width: 144rpx;				text-align: center;				height: 50rpx;				line-height: 50rpx;				background: #FF1212;				border-radius: 25rpx;				margin-bottom: 14rpx;				margin-right: 30rpx;				font-weight: bold;				font-size: 24rpx;				color: #fff;			}			.time{				font-weight: 400;				font-size: 20rpx;				color: #FEF1D3;			}		}		.type{			position: absolute;			left: 8rpx;			top: 22rpx;			font-weight: 500;			font-size: 20rpx;			color: #FFF6E1;			transform: rotate(-45deg);		}		.status-img{			position: absolute;			top: 40rpx;			left: 66%;			width: 120rpx;			height: 94rpx;		}	}}
 |