index.less 4.83 KB
.detail-page {
  position: relative;
  height: 100vh;
  .detail-info-wrapper {
    padding: 1rem;
    .detail-info-title {
      color: #0B0B0B;
      font-size: 1rem;
      font-weight: bold;
    }
    .detail-info-content {
      color: #7D7C7C;
      font-size: 0.8rem;
      margin-top: 0.1rem;
    }
  }
  .book-cal {
    padding: 0 0.75rem;
  }
  .no-calendar-border {
    width: 100%;
    height: 1rpx;
    background-color: rgb(244, 244, 244);
  }
  .detail-introduce-title {
    padding: 1rem;
    text-align: center;
    font-weight: bold;
  }
  .detail-introduce-html {
    padding: 0 1rem;
  }
  .book-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    height: 4rem;
    padding: 30rpx 30rpx 20rpx 30rpx;
    box-shadow: 0px -5px 4px 0px rgba(0, 0, 0, 0.07);
    .book-price {
      height: 2rem;
      margin-left: 0.5rem;
      display: flex;
      align-items: center;
      .price {
        color: #EB2E2E; font-size: 1.3rem; font-weight: bold;
      }
      .old-price {
        margin-left: 5rpx;
        margin-top: 8rpx;
      }
    }
    .book-btn {
      background-color: #6a4925;
      border-radius: 1.25rem;
      padding: 0.25rem 0.5rem;
      color: #fff;
      text-align: center;
      height: 2rem;
      line-height: 2rem;
    }
  }
}
.nut-swiper-item {
  // line-height: 250px;
}
.nut-swiper-item img {
  width: 100%;
  height: 100%;
}

.overlay-body {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
}
.overlay-content {
  width: 85%;
  height: 80%;
  background: #fff;
  border-radius: 8px;
  overflow: scroll;
}

.container {
  display: grid;
  grid-template-columns: auto auto auto auto;
  color: #666;
  font-size: 1rem;
  border-left: 1px solid #ddd;
  border-top: 1px solid #ddd;
  .item {
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    text-align: center;
    // padding: 0.85rem 0;
    display: grid;
    align-items: center;
  }
  .item-1 {
    grid-column: 1 / 2;
  }
  .item-2 {
    grid-column: 2 / 3;
  }
  .item-3 {
    grid-column: 3 / 4;
  }
  .item-4 {
    grid-column: 4 / 7;
  }
  .item-5  {
    grid-row: 2 / 4
  }
  // .item-6 {
  //   grid-column: 3 / 7;
  // }
  // .item-8 {
  //   grid-column: 3 / 7;
  // }
  // .item-9 {
  //   grid-column: 1 / 3;
  // }
  // .item-10 {
  //   grid-column-end: span 4;
  // }
}

// .table {
//   display: flex;
//   flex-direction: column;     /* 排列形式: 向下 */
//   margin-top: 50px;
//   margin-bottom: 50px;
// }

// .tr {
//   display: flex;
//   flex-direction: row;
// }

// .th, .td {  /* 公有的属性 */
//   display: flex;
//   flex-direction: row;
//   flex-wrap: wrap;            /* 自动换行 */
//   width: 25%;					/* 4个25%相加刚好100% */
//   text-align: center;         /* 文本居中 */
//   justify-content:center;     /* 主轴居中 */
//   align-items: center;        /* 交叉轴居中 */
//   border-top: 1px solid #dadada;      /* 单元格上线框 */
//   border-bottom: 1px solid #dadada;   /* 单元格下线框 */
//   border-left: 1px solid #dadada;     /* 单元格左线框 */
//   border-right: 1px solid #dadada;    /* 单元格右线框 */
//   &.rowspan {
//     width: 50%;
//   }
// }

// .th {
//   font-weight: 800;           /* 字体加重 */
//   background-color:#B3CCF4;   /* 背景色 */
// }

// .td {
//   background-color:#edf3e9;   /* 背景色 */
// }

.table {
  display: flex;
  flex-direction: column;     /* 排列形式: 向下 */
  margin-top: 50px;
  margin-bottom: 50px;
}

.tr {
  // width: 160%;    /* 15% + 25% + 25% + 85% = 150%*/
  width: 100%;    /* 15% + 25% + 25% + 85% = 150%*/
  display: flex;
  flex-direction: row;
}

.th_1, .th_2, .th_3, .th_4, .td_1, .td_2, .td_3, .td_4 { /* 公有的属性 */
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;            /* 自动换行 */
  text-align: center;         /* 文本居中 */
  justify-content:center;     /* 主轴居中 */
  align-items: center;        /* 交叉轴居中 */
  border-top: 1px solid #dadada;      /* 单元格上线框 */
  border-bottom: 1px solid #dadada;   /* 单元格下线框 */
  border-left: 1px solid #dadada;     /* 单元格左线框 */
  border-right: 1px solid #dadada;    /* 单元格右线框 */
}

.th_1, .th_2, .th_3, .th_4 {
  font-weight: 800;           /* 字体加重 */
  background-color:#B3CCF4;   /* 背景色 */
}

.td_1, .td_2, .td_3, .td_4 {
  background-color:#edf3e9;   /* 背景色 */
}

.th_1, .td_1 {
  width: 25%;
  &.rowspan {
    width: 50%;
  }
}

.th_2, .td_2 {
  width: 25%;
}

.th_3, .td_3 {
  width: 25%;
}

.th_4, .td_4 {
  width: 85%;
}

.notice-wrapper {
  padding: 1rem;

  .notice-content {
    .title {
      font-weight: bold;
      text-align: center;
      margin-bottom: 0.5rem;
    }
    .content {
      margin-bottom: 0.5rem;
      text-align: justify;
    }
    .mb-1 {
      margin-bottom: 1rem !important;
    }
  }
}