topic.less 6 KB
* {
    margin: 0;
    padding: 0;
    border: none;
}

ul {
    list-style: none;
}

body {
    font: 14px/1.5 normal "SimHei", "Microsoft YaHei", "Simson";
    color: #333;
}

.head {
  height: 44px;
  box-sizing: border-box;
  text-align: center;
}
.logo {
  width: 25px;
  background: url('../images/icon/icon.png') no-repeat;
  background-size: 150px;
  background-position: -125px 11px;
  margin: 0 15px;
}
.m-header {
  z-index: 5;
  color: #FFF;
  background-color: #6c2;
  position: relative;
}
.m-header.header-light {
  background: rgba(255, 255, 255, 0.8);
  color: #000;
  box-shadow: inset 0 0 1px #ddd;
}
.m-header.header-light .text {
  color: #666;
}
.m-header .head {
  padding: 0 50px;
  box-sizing: border-box;
}
.m-header .head h1 {
  display: inline-block;
  vertical-align: middle;
  line-height: 44px;
  font-weight: normal;
  font-size: 18px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.m-header .lt-bar,
.m-header .rt-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  min-width: 44px;
  height: 100%;
  cursor: pointer;
}
.m-header .lt-bar {
  float: left;
}
.m-header .lt-bar.text {
  padding-left: 10px;
  text-align: left;
}
.m-header .rt-bar {
  float: right;
  left: auto;
  right: 0;
}
.m-header .rt-bar.text {
  padding-right: 10px;
  text-align: right;
}
.m-header .text {
  text-align: center;
  line-height: 44px;
  font-size: 15px;
  color: #FFF;
}
.m-header.header-search .head {
  padding: 7px 44px 7px 44px;
}
.m-header.header-search .search-box {
  line-height: 30px;
  font-size: 14px;
  padding: 0 8px;
  background-color: #55bb22;
  border-radius: 3px;
  height: 30px;
  color: #eee;
  cursor: text;
  text-align: left;
}
.m-header.header-search .input-wrap {
  overflow: hidden;
  padding-left: 8px;
  box-sizing: border-box;
}
.m-header.header-search .m-input {
  float: left;
  width: 98%;
  display: block;
  padding: 4px 0;
  color: #FFF;
}
.m-header.header-search .m-input::-webkit-input-placeholder {
  color: #EEE;
}
.m-header.header-search .m-dropdown {
  float: left;
}
.m-header.header-search #search-btn {
  background: none;
  color: #fff;
  font-size: 14px;
}
.m-header.header-home .head {
  position: relative;
  padding: 7px 10px 7px 44px;
  margin-right: 0;
}

.m-page {
    padding-bottom: 0;
}

.m-icon {
  width: 25px;
  height: 25px;
  display: inline-block;
  vertical-align: middle;
  text-align: left;
  text-indent: -999em;
  overflow: hidden;
  background: url("../images/icon/bank_card.png") center center no-repeat;
}
.m-icon.icon-back {
  background-image: url("../images/icon/arrow_rt@2x.png");
  background-size: 10px;
  -webkit-transform: rotateZ(180deg);
  -ms-transform: rotateZ(180deg);
  -o-transform: rotateZ(180deg);
  transform: rotateZ(180deg);
}
.clearfix:after,
.clear:after {
    content: " ";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    line-height: 0px;
}

.m-to-top {
    position: fixed;
    right: 10px;
    bottom: 20px;
    display: block;
    width: 37px;
    height: 37px;
    background: url(../images/icon_top.png)center center no-repeat;
    background-size: cover;
}

.background-green{
  background-color: #074d00;
}
.background-orange{
  background-color: #682d01;
}
.background-red{
  background-color: #6e0000;
}

.background-brown{
  background-color: #734b05;
}
.background-pink{
  background-color: #ad4f3a;
}

.background-deep-brown{
  background-color: #783300;
}

.background-deep-red{
  background-color: #410000;
}
.nf_main {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    .section {
        float: left;
        width: 100%;
        img {
            float: left;
            width: 100%;
            max-width: 100%;
            max-height: 100%;
        }
    }
    .feature{
      a{
          display: block;
          overflow: hidden;
      }
    }
    .product{
      ul{
        display: block;
        width: 100%;
        padding-top: 10px;
        overflow: hidden;
        li{
          float: left;
          width: 50%;
          padding: 6px 4px 6px 6px; 
          box-sizing: border-box;
        }
        a{
          display: block;
          overflow: hidden;
        }
      }
    }
    .store {
        background-color: #6a012b;
        padding-top: 8px;
        a{
          display: block;
          margin-top: 2px;
          overflow: hidden;
          margin-bottom: 5px;
        }
        ul {
            width: 100%;
            padding: 0 15px;
            box-sizing: border-box;
        }
        li {
            float: left;
            width: 50%;
            padding: 5px 8px;
            box-sizing: border-box;
            img {
                width: 100%;
                max-width: 100%;
            }
        }
    }
    .market {
        text-align: right;
        font-size: 0;
        position: relative;
        height: 80px;
        background-color: #028e0f;
        padding: 0 12px;
        box-sizing: border-box;
        dl{
          // top: 30%;
          padding-top: 5px;
          // position: absolute;
          // bottom: 15px;
          width: 100%;
        }
        dd {
            float: left;
            width: 33.33%;
            padding: 2px 4px;
            box-sizing: border-box;
            height: 36px;
            display: inline-block;
            margin-bottom: 2px;
            font-weight: normal;
            text-align: center;
            a {
                border: 1px solid #000;
                border-radius: 6px;
                font-size: 13px;
                font-weight: normal;
                color: #FFF;
                display: block;
                line-height: 24px;
                text-decoration: none;
                background-color: #09b50e;
                border: 3px solid #129900;
                box-shadow:inset -1px -0 2px #6ce85e;
                background-image: -webkit-linear-gradient(top, #01bb12, #17ab07);
                background-image: -o-linear-gradient(top, #01bb12, #17ab07);
                background-image: linear-gradient(top, #01bb12, #17ab07);
            }
        }
    }
}