goodDetails.less 8.93 KB
.good-details-box{
  padding-bottom: 130px;
  .pl {
    background-color: transparent;
    width: 100%;
    &.is-open-app {
        height: 122px;
    }
    &.is-cnlive {
        height: 93px;
    }
  }   
  .hide{
    display:none;
  }
  .call-app-box{
    position: fixed;
    z-index:1;
  }
  .back-box{
    background-color: #FFF;
    position:fixed;
    z-index:1;
  }
  .goods-img{
    display: block;
    width: 100%;
    height:750px
  }
  .main-box{
    .title{
      // width: 414px;
      font-size: 34px;
      font-weight: 500;
      color: #333333;
      line-height: 48px;
      text-align: center;
      margin:30px 20px 0 20px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      /*! autoprefixer: off */
      -webkit-box-orient: vertical;
      /*! autoprefixer: on */
      text-overflow: ellipsis;
      overflow: hidden;
    }
    .title-t{
      margin:20px 60px 10px 60px ;
      display: flex;
      align-items: center;
      justify-content: center;
       // 积分 + 现金标示
       .goods_tip{
        padding: 3px 8px;
        background: linear-gradient(90deg, #F9EE7A 0%, #FAD844 100%);
        border-radius: 7px;
        height: 30px;
        font-size: 22px;
        font-weight: 400;
        color: #945A08;
        line-height: 30px;
        margin-right: 10px;
      }
      .price{
        height: 40px;
        font-size: 28px;
        font-weight: 400;
        color: #999999;
        line-height: 40px;
        margin-right: 24px;
        text-decoration: line-through;
      }
      .integral{
        height: 92px;
        font-size: 42px;
        font-weight: 500;
        color: #FC1541;
        line-height: 92px;
      }
      .integral-in{
        height: 45px;
        font-size: 32px;
        font-weight: 400;
        color: #333333;
        line-height: 45px;
        margin-left: 14px;
      }
    }
    /*商品信息**/
    .goods-info{
      margin: 30px;
      width: 690px;
      background: #FFFFFF;
      box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.06);
      border-radius: 24px;
      overflow: hidden;
      .good-title{
        margin-top: 50px;
        height: 42px;
        font-size: 30px;
        font-weight: 500;
        color: #666666;
        line-height: 42px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        .left{
          margin-right: 28px;
        }
        .right{
          margin-left: 28px;
        }
        span{
          width: 46px;
          height: 1.5px;
          background-color: #B4B4B4;          
        }
      }
      .good-desc{
        margin:40px 40px 10px 40px;
        font-size: 26px;
        font-weight: 300;
        color: #999999;
        line-height: 37px;
        .text-left{
          text-align: left;
          margin-top: 20px;
          .blue{
            color: #0091FF;
          }
          .to-link{
            color: #0091FF;
          }
          span{
            font-size: 26px;
            font-weight: 400;
            color: #666666;
            line-height: 37px;
          }
        }
        .desc_title{
          height: 37px;
          font-size: 26px;
          font-weight: 400;
          color: #666666;
          line-height: 37px;
        }
        .mar_top10{
          margin-top:10px;
        }
      }
       /**商品规格*/
      .item_sku_box{
        margin-top:30px;
        .item_sku{
          font-size: 26px;
          font-weight: 300;
          display: flex;
          margin:0 30px;
          div{
            background: #FEF9F9;
          }
          .left{
            color: #777777;
            font-weight: 300;
            margin-right:10px;
            width: 204px;
            height:72px;
            line-height: 72px;
            text-align: center;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            /*! autoprefixer: off */
            -webkit-box-orient: vertical;
            /*! autoprefixer: on */
            text-overflow: ellipsis;
            overflow: hidden;
          }
          .right{
            width:435px;
            height:72px;
            line-height: 72px;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            /*! autoprefixer: off */
            -webkit-box-orient: vertical;
            /*! autoprefixer: on */
            text-overflow: ellipsis;
            overflow: hidden;
            flex: 1;
            color:#333333;
            font-weight: 400;
            span{
              margin-left: 60px;
            }
          }
        }
        .item_sku:nth-child(odd) > div{
          background: #FEF9F9;
        }
        .item_sku:nth-child(even) > div{
          background: rgba(249, 249, 249, 0.3);
        }
      }
      /**相似商品*/
      .column-list-box{
        margin-top:40px;
      }
    }
  }
  /**页脚*/
  .footer{
    width: 750px;
    height: 130px;
    background: #FFFFFF;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    position: fixed;
    bottom:0px;
    left:0px;
    display:flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 0;  
    padding-bottom: constant(safe-area-inset-bottom);  
    padding-bottom: env(safe-area-inset-bottom);  
    .desc{
      height: 130px;
      font-size: 30px;
      font-weight: 400;
      color: #333333;
      line-height: 130px;
      margin: 0 30px;     
    }
    .btn{
      flex: 1;
      margin: 20px 30px;
      height: 90px;
      line-height: 90px;
      background: #F5A623;
      border-radius: 16px;
      text-align: center;
      color: #fff;
      font-size: 34px;
      font-weight: 500;
      color: #FFFFFF;
    }
    .grey{
      background: #E6E6E6;
      color: #888888;
    }
  }
  /*底部弹窗**/
  .popup_box{
    overflow-y: initial;
    padding-bottom: 0;  
    padding-bottom: constant(safe-area-inset-bottom);  
    padding-bottom: env(safe-area-inset-bottom);  
    .popup_main{
      height: 834px;
      background: #FFFFFF;
      padding: 30px 50px 37px 50px;
      .goods_box{
        // display: flex;
        // justify-content: flex-end;
        position: relative;
        padding-bottom: 37px;
        border-bottom: solid 1px #E4E4E4;
        .item_pic_box{
          position: absolute;
          top: -70px;
          left: 0;
          width: 220px;
          height: 220px;
          background: #FFFFFF;
          border-radius: 10px;
          .item_pic{
            display: block;
            width: 190px;
            height: 190px;
            margin: 15px auto;
          }
        }
        .right{
          margin-left:260px;
          .title{
            height: 46px;
            display: flex;
            justify-content: space-between;
            .title_t{
              width: 354px;
              font-size: 30px;
              font-weight: 500;
              color: #333333;
              line-height: 42px;
              display: -webkit-box;
              -webkit-line-clamp: 1;
              /*! autoprefixer: off */
              -webkit-box-orient: vertical;
              /*! autoprefixer: on */
              text-overflow: ellipsis;
              overflow: hidden;
            }
            .close{
              display: block;
              width:46px;
              height:46px;
            }
          }
          .pirce{
            width: 304px;
            // height: 50px;
            font-size: 36px;
            font-weight: 500;
            color: #FC1541;
            line-height: 50px;
            text-align: left;
            margin-top:42px;
          }
        }
      }
      .num_box{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding:70px 0;
        border-bottom: solid 1px #E4E4E4;
        .num_tip{
          width: 128px;
          height: 40px;
          font-size: 28px;
          font-weight: 500;
          color: #707070;
          line-height: 40px;
        }
        .right{
          display: flex;
          .num{
            width: 30px;
            height: 48px;
            font-size: 34px;
            font-weight: 400;
            color: #565656;
            line-height: 48px;
            text-align: center;
            margin: 0 16px;
          }
          img{
            display: block;
            width: 54px;
            height: 54px;
          }
        }
      }
      .line_box{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding:30px 0;
        border-bottom: solid 1px #E4E4E4;
        height: 40px;
        font-size: 28px;
        line-height: 40px;
        .left{
          font-weight: 500;
          color: #707070;
        }
        .right{
          font-weight: 400;
          color: #FC1541;
        }
      }
      .btn{
        width: 546px;
        height: 86px;
        line-height:86px;
        background: #F5A623;
        border-radius: 100px;
        text-align: center;
        font-size: 34px;
        font-weight: 500;
        color: #fff;
        margin: 275px auto 0 auto;
        letter-spacing: 20px;
      }
    }
  }
}