index.css 6.46 KB
/***************************************************
* feature  :  变量配置;
* update   :  2015/02/05;
* use      :  ;
* extend   :  ;
* example  :  ;
* desc     :  ;
* feedback :  此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description]
*          -  demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中];
****************************************************/
.bg-img {
  background: url('../../images/icon/icon.png') no-repeat;
  background-size: 150px;
}
/*搜索*/
#indexPage .m-table-view {
  margin-top: 0;
}
#indexPage .icon-history {
  margin-right: 5px;
}
#indexPage .clear-history {
  text-align: center;
  padding-top: 10px;
}
#indexPage .clear-history .m-btn {
  width: 170px;
  line-height: 40px;
}
#indexPage .banner {
  height: 120px;
  position: relative;
  overflow: hidden;
  font-size: 0;
}
#indexPage .banner a {
  display: block;
  width: 100%;
  height: 100%;
}
#indexPage .banner img {
  display: inline-block;
  width: 100%;
  height: 100%;
  float: left;
}
#indexPage .banner .swiper-container {
  height: 100%;
}
#indexPage .p-page {
  width: 100%;
  min-height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: 20px;
  -webkit-transform: translate3d(0px, 100%, 0px);
  -moz-transform: translate3d(0px, 100%, 0px);
  transform: translate3d(0px, 100%, 0px);
  -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  -moz-transition: -moz-transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  -o-transition: -o-transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  transition: transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
#indexPage .p-page.show {
  -webkit-transform: translate3d(0px, 0%, 0px);
  -moz-transform: translate3d(0px, 0%, 0px);
  transform: translate3d(0px, 0%, 0px);
  -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  -moz-transition: -moz-transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  -o-transition: -o-transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#indexPage .p-page .page-content {
  display: none;
}
#indexPage .page-content.show {
  display: block;
}
#indexPage .menu {
  padding: 15px 10px 7px;
  text-align: center;
  background-color: #fff;
  overflow: hidden;
}
#indexPage .menu li {
  float: left;
  width: 25%;
  text-align: center;
  padding-bottom: 8px;
}
#indexPage .menu a {
  display: inline-block;
  text-align: center;
  font-size: 12px;
}
#indexPage .menu .m-icon {
  display: block;
  margin-bottom: 5px;
}
#indexPage .news {
  padding: 5px 10px;
  background-color: #fff;
  height: 30px;
  line-height: 30px;
<<<<<<< HEAD
=======
  margin-bottom: 10px;
>>>>>>> b51924697e7ffdccee5d9d41bd2be4b3b02828fa
}
#indexPage .news .title {
  margin-top: 5px;
}
<<<<<<< HEAD
#indexPage .news ul {
  margin-left: 75px;
  padding: 0 10px;
  border-left: 1px solid #ddd;
=======
#indexPage .news .list {
  height: 30px;
  margin-left: 75px;
  overflow: hidden;
  position: relative;
}
#indexPage .news .list:after {
  border-width: 0 0 0 1px;
}
#indexPage .news ul {
  padding: 0 10px;
  position: absolute;
  overflow: hidden;
  top: 0px;
  transition-duration: 0.5s;
  transform: translate3d(0px, 0px, 0px);
  backface-visibility: hidden;
>>>>>>> b51924697e7ffdccee5d9d41bd2be4b3b02828fa
}
#indexPage .news li {
  font-size: 14px;
  color: #333;
}
#indexPage .category {
  background: #fff;
  margin-top: 10px;
<<<<<<< HEAD
  border-top: 1px #dddddd solid;
  border-bottom: 1px #dddddd solid;
=======
  border-top: 1px #ddd solid;
  border-bottom: 1px #ddd solid;
>>>>>>> b51924697e7ffdccee5d9d41bd2be4b3b02828fa
}
#indexPage .category .title {
  height: 40px;
  line-height: 40px;
  padding-left: 15px;
  font-size: 14px;
}
#indexPage .category li {
<<<<<<< HEAD
  border-top: 1px #dddddd solid;
  border-left: 1px #dddddd solid;
=======
  border-top: 1px #ddd solid;
  border-left: 1px #ddd solid;
>>>>>>> b51924697e7ffdccee5d9d41bd2be4b3b02828fa
  margin-left: -1px;
  padding: 10px 0;
  float: left;
  width: 50%;
}
#indexPage .category li a {
  display: block;
}
#indexPage .category li .desc {
  display: inline-block;
  vertical-align: middle;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-left: 60px;
  margin-left: -60px;
  box-sizing: border-box;
  width: 100%;
}
#indexPage .category li .desc p {
  color: #999;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#indexPage .category li img {
  display: inline-block;
  width: 40px;
  height: 40px;
  margin: 0 10px;
  float: left;
}
#indexPage .m-slider {
  height: 100px;
}
#indexPage .category-section {
  background-color: #fff;
<<<<<<< HEAD
  margin-top: 10px;
=======
  margin-bottom: 10px;
>>>>>>> b51924697e7ffdccee5d9d41bd2be4b3b02828fa
}
#indexPage .category-section h3 {
  font-size: 16px;
  font-weight: normal;
  line-height: 35px;
  padding-left: 10px;
<<<<<<< HEAD
  border-top: 2px solid #23ac38;
}
=======
  color: #23ac38;
  border-top: 2px solid #23ac38;
}
#indexPage .category-section:nth-child(2) h3 {
  color: #ff9d2c;
  border-color: #ff9d2c;
}
>>>>>>> b51924697e7ffdccee5d9d41bd2be4b3b02828fa
#indexPage .category-section .top {
  padding: 0 10px 10px 5px;
}
#indexPage .category-section .top li {
  width: 50%;
  float: left;
  height: 70px;
  padding-left: 5px;
  box-sizing: border-box;
}
#indexPage .category-section .top li a {
  height: 100%;
  display: block;
}
#indexPage .category-section .items .item {
  width: 25%;
  float: left;
  font-size: 13px;
  text-align: center;
  padding: 8px 0;
}
#indexPage .category-section .items .item a {
<<<<<<< HEAD
  display: inline-block;
}
#indexPage .category-section .items .item .m-icon {
  display: block;
=======
  display: block;
  position: relative;
  z-index: 2;
}
#indexPage .category-section .items .item span {
  display: block;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#indexPage .category-section .items .item .pic {
  width: 60px;
  height: 60px;
  display: inline-block;
  vertical-align: middle;
>>>>>>> b51924697e7ffdccee5d9d41bd2be4b3b02828fa
}
#indexPage .category-section .items .item .icon-pro-more {
  margin: 15px 0;
}
#indexPage .category-section .items .item:after {
  border-left: none;
  border-top: none;
}
<<<<<<< HEAD
#indexPage .fruit-section h3 {
  border-color: #ff9d2c;
}
=======
>>>>>>> b51924697e7ffdccee5d9d41bd2be4b3b02828fa