_shopblk.scss 5.17 KB
/*blk店铺默认模板pc*/
#decorationTemplate_blk_pc {
  width: 1150px;
  margin: 0 auto;
  font-size: 14px;
  font-family: "Microsoft YaHei";
  color: #000;

  *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .shopBanner {
    width: 100%;
    height: 150px;
    position: relative;

    h1{
      position: absolute;
      top:20px;
      left:40px;
    }
  }

  .nav{
    width: 100%;
    height: 41px;
    line-height: 40px;
    border-bottom: 1px solid #999;
    margin-bottom: 40px;

    ul{
      clear: both;

      li{
        float: left;
        margin-right: 20px;
        padding: 0 10px;
      }
    }
  }

  .resourceImg{
    width: 100%;
    clear: both;
    margin-bottom: 40px;

    .largeSlideImg{
      width: 770px;
      margin-right: 20px;
      float: left;

      li{
        float: left;
        width: 375px;
        height: 400px;
      }
      li:first-child{
        margin-right: 20px;
      }
    }

    .oneRowTwoColImages{
      width: 360px;
      float: left;

      li{
        width: 100%;
        height: 190px;
      }
      li:first-child{
        margin-bottom: 20px;
      }
    }
  }

  .newProducts{
    width: 100%;
    clear: both;

    .productList{
      width: 1170px;

      li{
        float: left;
        width: 274px;
        margin-right: 18px;
        margin-bottom: 20px;

        img{
          height: 366px;
        }
      }

      .editBorder{
        width: 1150px;
      }
      .editIcon{
        right: 25px;
      }
    }

    .productInfo{
      a{
        margin-top: 5px;
        display: block;
        text-align: center;
        height: 30px;
        line-height: 30px;
        font-size: 14px;
        font-weight: 700;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
      b{
        display: block;
        text-align: center;
      }
    }
  }

  .hotProducts{
    width: 100%;
    clear: both;

    .productList{
      width: 1170px;

      li{
        float: left;
        width: 274px;
        margin-right: 18px;
        margin-bottom: 20px;
        position: relative;

        img{
          height: 366px;
        }
      }

      .editBorder{
        width: 1150px;
      }
      .editIcon{
        right: 25px;
      }
    }

    .productInfo{
      a{
        margin-top: 5px;
        display: block;
        text-align: center;
        height: 30px;
        line-height: 30px;
        font-size: 14px;
        font-weight: 700;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
      b{
        display: block;
        text-align: center;
      }
    }

    .shadow{
      width: 100%;
      height: 105px;
      position: absolute;
      bottom: 0;
      z-index: 1;
      background: #000;
      opacity: 0.5;
    }

    .productInfo2{
      position: absolute;
      bottom: 0;
      width: 100%;
      background: transparent;
      padding: 20px 10px;
      z-index: 2;

      a{
        display: block;
        height: 30px;
        line-height: 30px;
        font-size: 16px;
        color: #fff;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        text-align: center;
        margin-bottom: 5px;
      }
      b{
        height: 30px;
        line-height: 30px;
        font-size: 18px;
        display: block;
        color: #fff;
        font-weight: normal;
        text-align: center;
      }
    }
  }

  .title{
    width: 100%;
    height: auto;
    margin: 20px 0;
    text-align: center;
    position:  relative;

    h1{
      text-align: center;
      font-size: 24px;
      font-weight: bold;
    }

    em{
      font-style: normal;
      font-size: 18px;
      font-weight: bold;
    }

    .more{
      position: absolute;
      right: 0;
      bottom: 0;
      font-size: 16px;
    }
  }

  img{
    width: 100%;
    height: 100%;
  }

  a{
    color: #585858;
  }

  .canEdit{
    position: relative;
  }

  .canEdit .editIcon{
    position: absolute;
    display: block;
    top: 5px;
    right: 5px;
    width: 50px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    background: deepskyblue;
    color: #fff;
    font-weight: bold;
    z-index: 6;
    /*opacity: 0.8;*/
  }

  .canEdit .editBorder{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0px;
    border: 5px solid #7cfc00;
    z-index: 5;
  }
}

/*blk店铺默认模板app*/
#decorationTemplate_blk_app {
  width: 375px;
  margin: 0 auto;
  font-size: 14px;
  font-family: "Microsoft YaHei";
  color: #000;

  .shopBanner{
    width: 100%;
    height: 234px;
  }

  img{
    width: 100%;
    height: 100%;
  }

  a{
    color: #585858;
  }

  .canEdit{
    position: relative;
  }

  .canEdit .editIcon{
    position: absolute;
    display: block;
    top: 5px;
    right: 5px;
    width: 50px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    background: deepskyblue;
    color: #fff;
    font-weight: bold;
    z-index: 3;
  }

  .canEdit .editBorder{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0px;
    border: 5px solid #7cfc00;
    z-index: 3;
  }
}