HolidayGift.css 4.32 KB
@charset "UTF-8";

/* Author XGQ
 * 2019-10-27
 */
.image_box {
	justify-content: center;
}

.image_box image {
	width: 100%;
	height: 690upx;
}

.top {
	margin: -20upx 28upx 45upx 28upx;
	padding: 10upx 10upx 70upx 10upx;
	background-color: #FFFFFF;
	border-radius: 0upx 0upx 15upx 15upx;
}

.top_box {
	display: flex;
	text-align: center;
	justify-content: center;
}

.top_box_text {
	justify-content: center;
	margin: 50upx 15upx 20upx 15upx;
}

.top_item {
	display: flex;
	width: 100%;
	margin: 60upx 0 0 0;
}

.top_item_img {
	float: left;
	width: 28%;
	margin: 0upx 10upx 0upx 20upx;
}

.top_item_img image {
	width: 150upx;
	height: 150upx;
	border-radius: 50%;
	border: #F96865 solid 3upx;
}

.top_item_center {
	float: left;
	width: 64%;
}

.top_item_center_title {
	font-size: 35upx;
	color: #FB6451;
	justify-content: flex-start;
	padding: 0 10upx 10upx 0upx;
	word-break: break-all;
	/*属性规定自动换行的处理方法。normal(使用浏览器默认的换行规则。),break-all(允许在单词内换行。),keep-all(只能在半角空格或连字符处换行。)*/
	text-overflow: ellipsis;
	display: -webkit-box;
	/** 对象作为伸缩盒子模型显示 **/
	-webkit-box-orient: vertical;
	/** 设置或检索伸缩盒对象的子元素的排列方式 **/
	-webkit-line-clamp: 2;
	/** 显示的行数 **/
	overflow: hidden;
	/** 隐藏超出的内容 **/
}

.top_item_center_ramke {
	font-size: 25upx;
	justify-content: flex-start;
	line-height: 35upx;
	letter-spacing: 0.5upx;
	word-break: break-all;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.top_card {
	width: calc(50% - 30upx);
	display: inline-block;
	margin: 15upx;

}

.top_card_box {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 20upx;
	height: 250upx;
	margin: 5upx;
}

.img1 {
	background-image: url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png);
}

.img2 {
	background-image: url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png);
}

.img3 {
	background-image: url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png);
}

.top_card_tite_box {
	width: 100%;
	display: flex;
	justify-content: flex-end;
}

.top_card_tite_a {
	padding: 5upx 25upx 5upx 25upx;
	line-height: 29upx;
	font-size: 25upx;
	color: #FFFFFF;
	background: #ffa7c0;
	border-radius: 0upx 20upx 0upx 6upx;
}

.top_card_tite_b {
	padding: 5upx 25upx 5upx 25upx;
	line-height: 29upx;
	font-size: 25upx;
	color: #FFFFFF;
	background: #50dfdb;
	border-radius: 0upx 20upx 0upx 6upx;
}

.top_card_tite_c {
	padding: 5upx 25upx 5upx 25upx;
	line-height: 29upx;
	font-size: 25upx;
	color: #FFFFFF;
	background: #92cbff;
	border-radius: 0upx 20upx 0upx 6upx;
}

.top_card_tite_d {
	padding: 5upx 25upx 5upx 25upx;
	line-height: 29upx;
	font-size: 25upx;
	color: #FFFFFF;
	border-radius: 0upx 20upx 0upx 6upx;
}

.top_card_counte {
	padding: 30upx 20upx 0 0;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #FFFFFF;
	font-size: 40upx;
}

.top_card_remak {
	padding: 5upx 0 20upx 0;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 20upx;
	color: #FFFFFF;
}

.top_card_number{
	padding: 5upx 0 40upx 0;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 20upx;
	color: #FFFFFF;
}

.top_box_image {
	padding: 20upx 20upx 20upx 20upx;
}

.top_box_image image {
	height: 216upx;
	width: 100%;
}

.foot_box {
	margin: 0 30upx 40upx 30upx;
	background: #FFFFFF;
	border-radius: 20upx;
}

.foot_box_title {
	font-size: 43upx;
	color: #000000;
	padding: 20upx 30upx 20upx 30upx;
}

.foot_box_text {
	font-size: 30upx;
	color: #000000;
	line-height: 48upx;
	padding: 20upx 35upx 50upx 30upx;
}

.button_box {
	margin: 50upx 50upx 50upx 50upx;
	text-align: center;
}

.button_text {
	padding-top: 20upx;
	font-size: 20upx;
	color: white;
	height: 100upx;
}
.foot_empty {
	height: 90upx;
}

.foot_button {
	display: flex;
	margin: 20upx 0upx 0upx 0upx;
	padding: 25upx 0upx;
	background: #FFFFFF;
	text-align: center;
	justify-content: center;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
}

.foot_button_notbuy{
	background: #999999;
	color: #FFFFFF;
	width: 400upx;
	height: 70upx;
	font-size: 28upx;
	line-height: 70upx;
	border-radius: 30upx 30upx 30upx 30upx;
}