page {
  padding-bottom: 300rpx;
  background: #f8f8f8;

  .flexd {
    position: fixed;
    z-index: 999;
    width: 100%;

    .nav-background {
      background: #f39283;
      height: 40rpx;
    }

    .nav-info {
      margin: 0 32rpx;
      background: #ffffff;
      box-shadow: -3px 5px 5px 0px rgba(16, 16, 16, 0.07);
      border-radius: 36rpx;
      position: relative;
      top: -40rpx;

      .info-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16rpx 32rpx 16rpx 8rpx;

        .top-left {
          display: flex;
          align-items: center;

          .name-distance {
            text-indent: 16rpx;

            .name {
              font-size: 25rpx;
              font-family: Source Han Sans CN;
              font-weight: 400;
              color: #030000;
            }

            .distance {
              font-size: 16rpx;
              font-family: Source Han Sans CN;
              font-weight: 400;
              color: #747474;
            }
          }
        }

        .top-right {
          font-size: 17rpx;
          font-family: Source Han Sans CN;
          font-weight: 400;
          color: #363636;

          >view {
            display: flex;
            // align-items: center;
            margin-bottom: 8rpx;

            .right-info {
              text-indent: 4rpx;
            }
          }
        }
      }

      .v-search {

        // box-shadow: 0px 5rpx 10rpx rgba(0, 0, 0, 0.2);
        background-color: transparent;
      }
    }
  }

  .cate_info {
    margin-top: 16rpx;

    .cate_container {
      // height: calc(100vh - 420rpx);
      display: flex;

      .left_menu {
        width: 175rpx;
        background: #fff;

        .left_content {
          width: 180rpx;
          background: #f4f4f4;
          color: #aaaaaa;

          .left_item {
            font-size: 30rpx;
            // font-weight: 600;
            height: 112rpx;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            border-bottom: 2rpx solid #f6f6f6;

            .post_asb {
              position: absolute;
              top: 4px;
              right: 0px;
              font-size: 60rpx;
              color: #FF5722;
            }
          }

          .active {
            color: #000000;
            // text-shadow: -2rpx 2rpx 0 #333, 2rpx 2rpx 0 #333, 2rpx -2rpx 0 #333, -2rpx -2rpx 0 #333;
            background: #ffffff;
            border-left: 10rpx solid #f39283;
            margin-left: 10rpx;
          }
        }
      }

      .right_list {

        .loading {
          width: 100%;
          height: 100%;
          display: flex;
          align-items: center;
          justify-content: center;
        }

        // height: calc(100vh - 320rpx);
        ::-webkit-scrollbar {
          width: 0;
          height: 0;
          color: transparent;
        }

        .right_content {
          // width: calc(100vw - 210rpx);
          padding-bottom: 50rpx;
          margin: 0 auto;
          margin-top: -5rpx;
          .right_swiper{
            height: 220rpx;
            padding: 24rpx 24rpx 0 24rpx;
          }

          .title {
            position: relative;
            width: 100%;
            height: 60rpx;
            margin: 10rpx 0;
            text-align: center;
            line-height: 60rpx;

            &::before,
            &::after {
              content: '';
              position: absolute;
              top: 29rpx;
              width: 30%;
              height: 2rpx;
              border: 1rpx solid #bbb;
              // background: #bbb;
            }

            &::before {
              left: 20rpx;
            }

            &::after {
              right: 20rpx;
            }
          }

          .right_item {
            display: flex;
            align-items: center;
            padding: 20rpx 10rpx;
            margin: 0 15rpx;
            margin-top: 10rpx;
            box-shadow: 0 0 8px #e0e0e0;
            border-radius: 10rpx;
            background: #fff;

            .image {
              width: 120rpx;
              height: 120rpx;
              flex-shrink: 0;
            }

            .li_right {
              font-size: 32rpx;
              flex: 1;
              margin-left: 20rpx;

              .name {
                margin-bottom: 10rpx;
                width: 300rpx;
                white-space: nowrap;
                text-overflow: ellipsis;
                overflow: hidden;
                word-break: break-all;
              }

              .li_desc {
                color: #989898;
                margin-bottom: 10rpx;
                font-size: 24rpx;
                text-overflow: -o-ellipsis-lastline;
                overflow: hidden; //溢出内容隐藏
                text-overflow: ellipsis; //文本溢出部分用省略号表示
                display: -webkit-box; //特别显示模式
                -webkit-line-clamp: 2; //行数
                line-clamp: 2;
                -webkit-box-orient: vertical; //盒子中内容竖直排列
              }

              .li_num {
                color: #989898;
                margin-bottom: 10rpx;
                font-size: 24rpx;
                display: flex;
                justify-content: space-between;

                .li_desc_row {}
              }

              .li_row {
                display: flex;
                justify-content: space-between;
                align-items: center;

                .price {
                  color: red;
                  display: flex;
                  font-weight: 600;
                }

                .count {
                  display: flex;

                  .num {
                    margin-right: 10rpx;
                    color: #6d6d6d;
                  }

                  .tag {
                    background: white;
                    color: #f39283;
                    font-size: 44rpx;
                  }
                }

                .decoration {
                  text-decoration: line-through;
                  color: #989898;
                  margin-left: 10rpx;
                  font-weight: 500;
                }
              }
            }
          }

          .right_item:first-child {
            margin-top: none;
          }
        }
      }
    }
  }

  .shopcart {
    position: fixed;
    bottom: 120rpx;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16rpx 24rpx;
    background-color: #fafafa;

    .price {
      display: flex;
      align-items: center;
      font-size: 36rpx;
      font-family: Source Han Sans CN;
      font-weight: bold;
      .total{
        content: '';
        position: absolute;
        top: -10rpx;
        right: -10rpx;
        width: 40rpx;
        height: 40rpx;
        border-radius: 50%;
        color: #fff;
        font-size: 24rpx;
        text-align: center;
        line-height: 40rpx;
        background: #f00;
      }
      .sum {
        text-indent: 12rpx;
      }
    }

    .cart-btn {
      button {
        padding: 20rpx 60rpx;
        margin: 0;
        line-height: normal;
        background: #f39283;
        border-radius: 48rpx;
        color: #ffffff;
        font-size: 27rpx;
        font-family: Source Han Sans CN;
        font-weight: bold;
      }
    }
  }

  .shopGoods {
    position: relative;

    >.title {
      width: 100%;
      height: 80rpx;
      text-align: center;
      line-height: 80rpx;
      box-shadow: 0 5rpx 10rpx rgb(0 0 0 / 30%);
      z-index: 9;
    }

    .goods {

      .cart_info {
        width: 93%;
        background: #ffffff;
        border-radius: 12rpx;
        margin: 10rpx auto;
        display: flex;
        box-shadow: 0 0 13px #dedede;
        position: relative;

        .left_info {
          width: 40%;
          display: flex;
          align-items: center;

          .radio {
            margin: 0 10rpx;
          }

          .image_box {
            position: relative;
            width: 188rpx;
            height: 188rpx;

            .image {
              width: 188rpx;
              height: 188rpx;
              border-radius: 16rpx;
            }

            .open {
              position: absolute;
              top: 0;
              left: 0;
              width: 100%;
              height: 100%;
              display: flex;
              align-items: center;
              justify-content: center;
              background: rgb(31 31 31 / 43%);
              border-radius: 50%;
              color: white;
              padding: 20rpx;
              text-align: center;
              font-size: 30rpx;
            }
          }
        }

        .right_info {
          display: flex;
          flex-direction: column;
          justify-content: space-around;
          align-items: center;
          width: 58%;

          .title {
            font-size: 28rpx;
            width: 300rpx;
            margin: 10rpx 0;
            font-weight: 700;
            overflow: hidden;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 1;
          }

          .desc {
            font-size: 24rpx;
            margin-bottom: 10rpx;
            overflow: hidden;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 1;
          }

          .down_info {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            padding: 20rpx 0;

            .price {
              font-size: 34rpx;
              color: #fd3030;
              font-weight: 700;
            }

            .ipt {
              color: #333;
            }

            .van-stepper {
              .van-stepper__input {
                z-index: 0;
              }
            }
          }
        }

        .post {
          position: absolute;
          right: 4rpx;
          top: 4rpx;
          padding: 4rpx 20rpx;
          background: #2196F3;
          color: white;
          border-radius: 6rpx;
          font-size: 28rpx;
        }
      }

      .delete {
        background: #e42929;
        color: #fff;
        width: 120rpx;
        height: 100%;
        text-align: center;
        line-height: 175rpx;
      }

      .bottom {
        width: 100%;
        height: 100rpx;
      }
    }


    .cart_down {
      display: flex;
      position: fixed;
      bottom: var(--bottom);
      z-index: 999;
      left: 0;
      width: 100%;
      background: #ffffff;
      align-items: center;
      justify-content: space-between;
      padding: 0 20rpx;
      height: 100rpx;
      box-shadow: 0px -6px 11px #dedede;

      .cart_left {
        display: flex;
      }

      .cart_right {
        display: flex;

        .total_info {
          margin-right: 20rpx;
          text-align: center;
          flex-direction: column;
          display: flex;
          justify-content: center;
          align-items: flex-start;

          .total_price {
            font-size: 30rpx;
            color: #fd3030;
            font-weight: 600;
          }

          .text {
            font-size: 24rpx;
            color: #979393;
          }
        }

        .button {
          width: 140rpx;
          text-align: center;
          background: #b3afaf;
          color: #fff;
          font-size: 30rpx;
          border-radius: 36rpx;
          // font-weight: 700;
          margin-right: 10rpx;
        }

        .active {
          background: #dd4848;
        }

        .actives {
          background-color: #fff;
          color: #808080;
          border: 1px solid #808080 !important;
        }
      }
    }
  }
  .play-list{
    justify-content: space-between;
    display: flex;
    flex-wrap: wrap;
    padding: 24rpx;
    .play-item {
      width: 246rpx;
      height: 400rpx;
      background: #FFFFFF;
      box-shadow: 0px 5px 9px 0px rgba(14, 5, 9, 0.05);
      border-radius: 12rpx;
      margin-bottom: 24rpx;
      .body {
        padding: 0 16rpx;
        height: 130rpx;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        .item-text {
          font-size: 24rpx;
          font-weight: 300;
          display: -webkit-box;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 1;
          overflow: hidden;
        }
  
        .label {
          display: flex;
          font-size: 15rpx;
          font-weight: 400;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 2;
          overflow: hidden;
  
          >view {
            background-color: #fdefed;
            border-radius: 12rpx;
            padding: 5rpx 16rpx;
            margin-right: 12rpx;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
          }
        }
  
        .detail {
          display: flex;
          align-items: center;
          font-size: 18rpx;
          font-weight: 300;
          justify-content: space-between;
          .d-light {
            font-weight: bold;
            font-size: 26rpx;
            color: #FB8737;
          }
        }
      }
    }
  }

}