body {
  /* FIXME */
  /* background-color: #c7edcc; */
}

body {
  width: 100%;
  min-width: 320px;
  max-width: 640px;
  margin: 0 auto;
  font-size: 14px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: #666;
  line-height: 1.5;
  /* FIXME */
  /* height: 2000px; */
}

a {
  color: #666;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  vertical-align: middle;
}

.clearfix:after {
  content: "";
  display: block;
  line-height: 0;
  visibility: hidden;
  height: 0;
  clear: both;
}

.app {
  height: 45px;
}

.app ul li {
  float: left;
  height: 45px;
  line-height: 45px;
  background-color: #333;
  text-align: center;
}

.app ul li:nth-child(1) {
  width: 8%;
}
.app ul li:nth-child(1) img {
  width: 10px;
}
.app ul li:nth-child(2) {
  width: 10%;
}
.app ul li:nth-child(2) img {
  width: 30px;
  vertical-align: middle;
}
.app ul li:nth-child(3) {
  width: 57%;
  color: #fff;
}
.app ul li:nth-child(4) {
  width: 25%;
  background-color: #ef6733;
  text-align: center;
  line-height: 45px;
  color: #fff;
}

.search_wrap {
  /* 可视区域固定 */
  position: fixed;
  overflow: hidden;
  height: 44px;
  width: 100%;
  min-width: 320px;
  max-width: 640px;
}

.search_btn {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 44px;
  /* background-color: pink; */
}

.search_btn::before {
  content: "";
  display: block;
  width: 20px;
  height: 18px;
  background: url(../img/s-btn.png) no-repeat;
  background-size: 20px 18px;
  margin: 14px 0 0 15px;
}

.search_login {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 44px;
  color: #fff;
  line-height: 44px;
  /* background-color: pink; */
}

.search {
  position: relative;
  height: 30px;
  background-color: #fff;
  margin: 0 50px;
  border-radius: 15px;
  margin-top: 9px;
}

.jd_icon {
  position: absolute;
  top: 8px;
  left: 13px;
  width: 20px;
  height: 15px;
  background: url(../img/jd.png) no-repeat;
  background-size: 20px 15px;
}

.jd_icon::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 0;
  display: block;
  width: 1px;
  height: 15px;
  background-color: #ccc;
}

.sou {
  position: absolute;
  top: 8px;
  left: 49px;
  width: 18px;
  height: 15px;
  /* background-color: pink; */
  background: url(../img/jd-sprites.png) no-repeat -81px 0;
  background-size: 200px;
}

.slider img {
  width: 100%;
}

.brand {
  position: relative;
  top: -10px;
  border-radius: 15px 15px 0 0;
  overflow: hidden;
}

.brand div {
  float: left;
  width: 33.33%;
}

.brand div img {
  width: 100%;
}

.nav {
  padding-top: 5px;
}

.nav a {
  float: left;
  width: 20%;
  text-align: center;
}

.nav a span {
  display: block;
}

.nav a img {
  width: 40px;
  margin: 10px 0;
}

/* news */

.news {
  margin-top: 20px;
}

.news img {
  width: 100%;
}

.news a {
  float: left;
  box-sizing: border-box;
}

.news a:nth-child(1) {
  width: 50%;
}

/* .news a:nth-child(2),
.news a:nth-child(3),
{
    width: 25%;
} */

/* n+2 就是从从2个往后面选 */

.news a:nth-child(n + 2) {
  width: 25%;
  border-left: 1px solid #ccc;
}

/* .news a:nth-child(3) {
    width: 25%;
} */
