mygiftpack.wxss 4.27 KB
/*引用样式路径*/
@charset "UTF-8";

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

.top_img {
  -webkit-align-content: center;
  align-content: center;
}

.top_img image {
  width: 100%;
}

.top_title {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  background-color: #fff;
  height: 85rpx;
  border-radius: 10rpx 10rpx 0rpx 0rpx;
  margin: 0rpx 20rpx 0rpx 20rpx;
  -webkit-align-content: center;
  align-content: center;
  margin-bottom: 10rpx;
}

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

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

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

.top_title_blacktext {
  font-size: 30rpx;
  color: #000;
}

.content_box {
  background-color: #fff;
  height: 375rpx;
  margin: 0rpx 20rpx;
  border-radius: 10rpx;
  margin-bottom: 10rpx;
}

.content_box_ware {
  border-bottom: #f5f5f5 solid 2rpx;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
}

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

.content_box_img image {
  width: 230rpx;
  height: 230rpx;
}

.content_box_img_title {
  position: absolute;
  background: #d01119;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  padding: 8rpx;
  border-radius: 0rpx 0rpx 10rpx 0rpx;
}

.content_box_img_ground1 {
  background: #fb6451;
}

.content_box_img_ground2 {
  background: #ffb72d;
}

.content_box_img_ground3 {
  background: #9be0e5;
}

.content_box_img_ground4 {
  background: #4784ef;
}

.content_box_img_title image {
  width: 30rpx;
  height: 30rpx;
}

.content_box_img_title text {
  font-size: 20rpx;
  color: #fff;
  line-height: 25rpx;
  padding-top: 5rpx;
}

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

.content_ware_title {
  font-size: 30rpx;
  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: 28rpx;
  color: #c61a34;
  margin-top: 10rpx;
  position: absolute;
  left: 0;
  bottom: 100rpx;
}

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

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

.content_box_button {
  text-align: right;
  margin: 20rpx 25rpx 20rpx 20rpx;
}

.content_box_button button {
  display: inline-block;
  width: 160rpx;
  height: 50rpx;
  font-size: 25rpx;
  background: #d41c34;
  color: #fff;
  line-height: 50rpx;
}

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

.foot_box text {
  font-size: 25rpx;
  color: #fff;
}

.foot_empty {
  background-color: #fff;
  height: 375rpx;
  margin: 10rpx 20rpx 0rpx 20rpx;
  border-radius: 10rpx;
  text-align: center;
  padding: 150rpx 0rpx 300rpx 0rpx;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}

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

.foot_empty text {
  font-size: 30rpx;
  color: #999;
}

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

.foot_empty_button text {
  font-size: 28rpx;
  color: #fff;
}

page {
  /* background-color: rgb(250, 120, 88); */
}
.After_all {
  height: 80rpx;
  margin-bottom: 10rpx;
  color: rgb(255, 255, 255);
}

.After_all .Line {
  border-top: 3rpx solid rgb(255, 255, 255);
  width: 130rpx;
}

.After_all .end {
  margin: 0rpx 15rpx;
}