GiftPackBuy.css 3.48 KB
@charset "UTF-8";

/* Author XGQ
 * 2019-11-12
 */

page {
	background-color: #fb7454;
}

.top_img {
	align-content: center;
}

.top_img image {
	width: 100%;
}

.top_title {
	display: flex;
	background-color: #FFFFFF;
	height: 85upx;
	border-radius: 10upx 10upx 0upx 0upx;
	margin: 0upx 20upx 0upx 20upx;
	align-content: center;
}

.top_title_box {
	width: 49%;
	align-content: center;
	text-align: center;
	padding: 15upx;
}

.top_title_box_S {
	width: 1%;
	align-content: center;
	text-align: center;
	margin: 20upx 0upx 20upx 0upx;
	border-left: #000000 solid 3upx;
}

.top_title_redtext {
	font-size: 30upx;
	color: #d61b30;
}

.top_title_blacktext {
	font-size: 30upx;
	color: #000000;
}

.content_box {
	background-color: #FFFFFF;
	height: 375upx;
	margin: 10upx 20upx 0upx 20upx;
	border-radius: 10upx;
}

.content_box_ware {
	border-bottom: #f5f5f5 solid 2upx;
	display: flex;
}

.content_box_img {
	margin: 20upx 20upx 20upx 25upx;
	width: 35%;
	display: flex;
	font-size: 8upx;
	position: relative;
}

.content_box_img image {
	width: 100%;
	height: 230upx;
}

.content_box_title {
	width: 65%;
	margin: 25upx 25upx 10upx 0upx;
	position: relative;
}

.content_ware_title {
	font-size: 30upx;
	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;
	/** 隐藏超出的内容 **/

}

.content_ware_type {
	font-size: 28upx;
	color: #c61a34;
	margin-top: 10upx;
	position: absolute;
	left: 0;
	bottom: 100upx;
}

.content_ware_price {
	font-size: 20upx;
	color: #b9b5b5;
	margin-top: 2upx;
	text-decoration: line-through;
    position: absolute;
    left: 0;
    bottom: 70upx;
}

.content_ware_time {
	font-size: 25upx;
	color: #000000;
	margin-top: 20upx;
	position: absolute;
	left: 0;
	bottom: 25upx;
}

.content_box_button {
   display: flex;
   justify-content: flex-end;
   position: relative;
}

.box_button_remark{
	margin: 15upx 0upx 0upx 30upx;
	width: 50%;
	position: absolute;
	left: 5upx;
	bottom: 15upx;
}

.box_button_remark text{
	font-size: 28upx;
	color: #B9B5B5;
}

.box_button_buy{
  text-align: right;
  margin: 22upx 25upx 0upx 0upx;
}

.box_button_buy button{
	display: inline-block;
	width: 160upx;
	height: 50upx;
	font-size: 20upx;
	background: #d41c34;
	color: #FFFFFF;
	line-height: 50upx;
}

.box_button_dui{
  text-align: right;
  margin: 22upx 25upx 0upx 0upx;
}

.box_button_dui button{
	display: inline-block;
	width: 160upx;
	height: 50upx;
	font-size: 20upx;
	background: #FFFFFF;
	color: #000000;
	line-height: 50upx;
}

.foot_box {
	align-content: center;
	text-align: center;
	margin-top: 15upx;
	margin-bottom: 50upx;
}

.foot_box text {
	font-size: 25upx;
	color: #FFFFFF;
}


.foot_empty{
	background-color: #FFFFFF;
	height: 375upx;
	margin: 10upx 20upx 0upx 20upx;
	border-radius: 10upx;
	text-align: center;
	padding: 150upx 0upx 300upx 0upx;
	justify-content: center;
}

.foot_empty image{
	width: 400upx;
	height: 273upx;
}

.foot_empty text{
	font-size: 30upx;
	color: #999999;
}

.foot_empty_button{
	background: #ff6363;
	margin: 60upx 230upx 0upx 230upx;
	padding: 10upx;
	border-radius: 70upx;
    line-height: 40upx;
}

.foot_empty_button text{
	font-size: 28upx;
	color: #FFFFFF;
}