/* 这里是写index专门样式 */
.entry {
  height: 500px;
  /* 设置高度 */
  background-color: #f5f5f5;
  /* 设置背景颜色 */
}

.entry .w {

  /* height: 100%;   高度是父元素的比例100%就是500px */
  height: 100%;
  background: url(../uploads/banner1.png) no-repeat;

}

.category {
  width: 250px;
  height: 100%;
  /* 背景半透明
    
  */
  background: rgba(0, 0, 0, .42);

}

.category ul li {
  /* 这个写不写都可以，因为子元素的宽度是父元素的宽度 */
  font-size: 14px;
  width: 250px;
  height: 50px;
  line-height: 50px;
  padding-left: 30px;
  padding-right: 10px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;


}

.category ul li:hover {
  background-color: #029b4a;
}

.category ul li a {
  color: #fff;
  margin-right: 5px;

}

.category ul li .startlink {
  font-size: 16px;
}


/* 新鲜好物模块 */
.w .box-hd {
  height: 112px;
  display: flex;

  /* 水平两端对齐 */
  justify-content: space-between;
  /* 垂直方向居中对齐 */
  align-items: center;

}

.w .box-hd h2 {
  font-size: 30px;
  color: #333;
}

.w .box-hd h2 small {
  font-size: 16px;
  color: #a1a1a1;
  margin-left: 30px;
}

.w .box-hd a {
  font-size: 16px;
  color: #a1a1a1;
}



.w .box-bd ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.w .box-bd ul li {
  width: 304px;
  height: 404px;
  text-align: center;
  background-color: #baf4d5;

}

.w .box-bd ul li img {
  width: 304px;
  height: 304px;
}

.box-bd ul li .title {
  margin: 18px 0px 15px 0px;
  font-size: 20px;
  padding: 0px 10px;
  /* 单行文字超出部分省略号显示 */
  /* overflow: hidden 隐藏超出部分的文字 */
  overflow: hidden;
  /* text-overflow: ellipsis 超出部分省略号显示 */
  text-overflow: ellipsis;
  /* 强制一行显示 */
  white-space: nowrap;

}

.box-bd ul li .price {

  font-size: 20px;
  color: #aa2113;
}

.box-bd ul li .price small {
  font-size: 18px;
}

.box-bd ul li a {
  /* a标签设置为块级元素，占满父元素的宽度 */
  display: block;
  height: 100%;
}

/* 人气推荐 */
.box-bd ul li .price1 {

  font-size: 20px;
  color: #a1a1a1;
}



.hot .box-bd ul li {
  background-color: #fff;
}

/* 热门品牌模块 */
.brand .box-bd ul li {
  width: 244px;
  height: 340px;
  text-align: center;
  background-color: #fff;

}

.brand .box-bd ul li img {
  width: 244px;
  height: 306px;


}

/* 服饰模块 */
.clothes .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 102px;
  padding-top: 10px;

}

.head .head-right {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.head .head-right ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.head h2 {
  font-size: 30px;

}

.head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;

}

.head .head-right {

  width: 600px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.head .head-right a {
  font-size: 16px;
  color: #a1a1a1;
}

.head .head-right ul {
  width: 400px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.head .head-right ul li a {
  font-size: 18px;
  color: #333;
}

.clothes .body {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* a只要加了flex属性，就会占满父元素的宽度
   并且可以设置宽度和高度 */

.clothes .body .left {
  width: 248px;
  height: 610px;


}

.clothes .body .right {
  width: 968px;
  height: 610px;


}



.clothes .body .right li {
  width: 242px;
  height: 305px;

  padding: 10px 21px 0px 21px;
}

.clothes .body .right li a {
  /* a标签设置为块级元素，占满父元素的宽度和高度 */
  display: block;
  height: 100%;
  width: 100%;
  line-height: 19px;
}

.clothes .body .right li a img {
  width: 200px;
  height: 180px;
}

.clothes .body .right li a .title {
  margin-top: 10px;
  font-size: 16px;
}

.clothes .body .right li a .price {
  font-size: 22px;
  color: #af2f22;
}

.clothes .body .right li a .price small {
  font-size: 18px;
}

.clothes .body .right-list {
  display: flex;
  /* 换行 */
  flex-wrap: wrap;
}

/* 单行文字超出部分省略号显示 做一个类 

   谁需要谁调用
*/
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 生鲜模块 */
.shengxian>.title {
  height: 132px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.shengxian .title-right {
  width: 600px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
}

.shengxian .title-right ul {
  width: 400px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.shengxian .title-left {
  font-size: 30px;
}

.shengxian .title-right .more {
  font-size: 16px;
  color: #a1a1a1;
}

.shengxian .body {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.shengxian .body .left {
  width: 248px;
  height: 610px;
}

.shengxian .body .right {
  width: 968px;
  height: 610px;
}

.shengxian .body .right-list {
  display: flex;
  /* 换行 */
  flex-wrap: wrap;
}

.shengxian .body .right li {
  width: 242px;
  height: 305px;
  padding: 10px 21px 0px 21px;
}

.shengxian .body .right li a {
  /* a标签设置为块级元素，占满父元素的宽度和高度 */
  display: block;
  height: 100%;
  width: 100%;
  line-height: 19px;
}

.shengxian .body .right li a .title {
  margin-top: 10px;
  font-size: 16px;


}

.shengxian .body .right li a img {
  width: 200px;
  height: 180px;


}

.shengxian .body .right li a .price {
  font-size: 22px;
  color: #af2f22;
}

.shengxian .body .right li a .price small {
  font-size: 18px;
}

/* 餐厨模块 */
.canchu_header {
  height: 132px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.canchu_header-left {
  font-size: 30px;
}

.canchu_header-right {
  width: 600px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.canchu_header-right-end a {
  font-size: 16px;
  color: #a1a1a1;
}

.canchu_header-right ul {
  font-size: 18px;
  width: 400px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.canchu_body {
  width: 100%;
  height: 610px;

  display: flex;

}

.canchu_body_right ul {
  display: flex;
  flex-wrap: wrap;
}

.canchu_body_right li {
  width: 242px;
  height: 305px;
  padding: 10px 21px 0px 21px;


}

.canchu_body_right li a {
  /* a标签设置为块级元素，占满父元素的宽度和高度 */
  display: block;
  height: 100%;
  width: 100%;
  line-height: 19px;
}

.canchu_body_right li a .title {
  margin: 5px 0 5px 0;
}


.canchu_body_right li a .price {
  font-size: 22px;
  color: #af2f22;

}

.canchu_body_right li a .price small {
  font-size: 18px;

}

/* 最新专题 */
.zuijin_header {
  height: 132px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.zuijin_header-left {
  font-size: 30px;
}


.zuijin_header-right a {
  font-size: 16px;
  color: #a1a1a1;
}

.zuijin_body {
  width: 100%;
  height: 355px;

}

.zuijin_body ul {
  display: flex;
  justify-content: space-between;
  align-items: top;
}

.zuijin_body li a .footer {
  height: 67px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-right: 10px;
  margin-left: 10px;

}

.zuijin_body li a .footer-left {
  width: 150px;
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.zuijin_body .footer i {
  font-size: 20px;
  color: #a1a1a1;
}