usePacket.less 4.4 KB
/* pages/usePacket/usePacket.wxss */
.container {
  padding: 32rpx;
  box-sizing: border-box;
  border-top: 1rpx solid #f5f5f5;

  .padding {
    width: 100%;

    .packets {
      width: 100%;
      box-shadow: 0px 3px 6px 0px rgba(188, 42, 4, 0.08);
      margin: 10rpx 0;

      .packet {
        display: flex;
        align-items: center;
        padding: 20rpx;
        box-sizing: border-box;
        background-color: #e8370f;
        border-radius: 16rpx 16rpx 0 0;

        .red_left {
          flex: 1;
          display: flex;
          align-items: center;
          justify-content: center;
          flex-direction: column;
          border-right: 1rpx solid #fff;
          padding: 20rpx 0;
          box-sizing: border-box;

          .red_money {
            font-size: 36rpx;
            color: #fff;
            font-weight: bold;

          }

          .manjian {
            color: #fff;
            font-size: 28rpx;
            margin-top: 20rpx;
          }
        }

        .red_right {
          flex: 2;
          padding: 0 20rpx;
          box-sizing: border-box;
          display: flex;
          flex-direction: column;
          justify-content: space-around;
          height: 146rpx;



          .txt {
            font-size: 28rpx;
            color: #fff;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-box-orient: vertical;

          }

          .stay {
            width: 100%;
            font-size: 28rpx;
            color: #fff;
            margin: 10rpx 0;
          }

          .validity {
            font-size: 24rpx;
            color: #fff;
            margin: 10rpx 0;
          }

          .stat_num {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 50rpx;
            // border: 1rpx solid #fff;

            .stay__ {
              flex: 1;
              display: flex;
              align-items: center;
              height: 50rpx;


              .type_stay_ {
                font-size: 24rpx;
                color: #fff;
                margin-right: 10rpx;
              }

              .arrow_ {
                width: 20rpx;
                height: 16rpx;
              }
            }

            .numbe {
              flex: 1;
              display: flex;
              align-items: center;
              justify-content: flex-end;
              padding-right: 5rpx;

              .c_licke {
                width: 170rpx;
                background-color: #f7603e;
                border-radius: 20rpx;
                // padding: 0 20rpx;
                box-sizing: border-box;
                font-size: 28rpx;
                color: #fff;
                display: flex;
                align-items: center;
                justify-content: center;
              }

            }
          }
        }

      }

      .huise {
        background-color: #ccc;
        opacity: 0.5;
      }

      .times {
        height: 80rpx;
        background-color: #fff;
        display: flex;
        align-items: center;
        padding: 0 20rpx;
        box-sizing: border-box;
        border-radius: 0 0 16rpx 16rpx;


        .datetime {
          flex: 1;
          font-size: 24rpx;
          color: #2c2c2c;

        }

        .r_rd {
          flex: 1;
          display: flex;
          align-items: center;
          justify-content: flex-end;

          .residue {
            .name_ {
              color: #2c2c2c;
              font-size: 28rpx;
              margin-right: 5rpx;
            }
          }

          .bnt {
            width: 100rpx;
            height: 50rpx;
            color: #fff;
            background-color: #ffba00;
            line-height: 50rpx;
            text-align: center;
            border-radius: 8rpx;
            font-size: 26rpx;
          }
        }
      }


      .receive {
        border-radius: 16rpx;

      }
    }

    .text_box {
      width: 100%;
      // height: 300rpx;
      padding: 20rpx 32rpx;
      box-sizing: border-box;
      background-color: #fff;
      border-radius: 0 0 6rpx 6rpx;
      box-shadow: 0px 3rpx 6rpx 0rpx rgba(188, 42, 4, 0.08);

      .txt {
        font-size: 22rpx;
        color: #8C9198;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
      }
    }

  }
}