@charset "UTF-8";
/* 页面左右间距 */
/* 文字尺寸 */
/*文字颜色*/
/* 边框颜色 */
/*颜色*/
/* 图片加载中颜色 */
/* 行为相关颜色 */
/* 功能栏字体大小 */
/*功能栏左侧小图标*/
page,
.content {
  background: #f8f8f8;
}
.content {
  padding-top: 96rpx;
}
.navbar {
  position: fixed;
  left: 0;
  top: 0px;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  width: 100%;
  height: 80rpx;
  background: #fff;
  -webkit-box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.06);
          box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.06);
  z-index: 10;
}
.navbar .nav-item {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
          align-items: center;
  height: 100%;
  font-size: 30rpx;
  color: #303133;
  position: relative;
}
.navbar .nav-item.current {
  color: #5dbc7c;
}
.navbar .nav-item.current:after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 120rpx;
  height: 0;
  border-bottom: 4rpx solid #5dbc7c;
}
.navbar .p-box {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
          flex-direction: column;
}
.navbar .p-box .iconfont {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
          justify-content: center;
  width: 30rpx;
  height: 14rpx;
  line-height: 1;
  margin-left: 4rpx;
  font-size: 26rpx;
  color: #888;
}
.navbar .p-box .iconfont.active {
  color: #5dbc7c;
}
.navbar .p-box .xia {
  -webkit-transform: scaleY(-1);
          transform: scaleY(-1);
}
.navbar .cate-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
          align-items: center;
  height: 100%;
  width: 80rpx;
  position: relative;
  font-size: 44rpx;
}
.navbar .cate-item:after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  border-left: 1px solid #ddd;
  width: 0;
  height: 36rpx;
}
/* 分类 */
.cate-mask {
  position: fixed;
  left: 0;
  top: 0px;
  bottom: 0;
  width: 100%;
  background: transparent;
  z-index: 95;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.cate-mask .cate-content {
  width: 630rpx;
  height: 100%;
  background: #fff;
  float: right;
  -webkit-transform: translateX(100%);
          transform: translateX(100%);
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.cate-mask.none {
  display: none;
}
.cate-mask.show {
  background: rgba(0, 0, 0, 0.4);
}
.cate-mask.show .cate-content {
  -webkit-transform: translateX(0);
          transform: translateX(0);
}
.cate-list {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
          flex-direction: column;
  height: 100%;
}
.cate-list .cate-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
          align-items: center;
  height: 90rpx;
  padding-left: 30rpx;
  font-size: 28rpx;
  color: #555;
  position: relative;
}
.cate-list .two {
  height: 64rpx;
  color: #303133;
  font-size: 30rpx;
  background: #f8f8f8;
}
.cate-list .active {
  color: #5dbc7c;
}
/* 商品列表 */
.goods-list {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  padding: 0 30rpx;
  background: #fff;
}
.goods-list .goods-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
          flex-direction: column;
  width: 48%;
  padding-bottom: 40rpx;
}
.goods-list .goods-item:nth-child(2n + 1) {
  margin-right: 4%;
}
.goods-list .image-wrapper {
  width: 100%;
  height: 330rpx;
  -webkit-border-radius: 3px;
          border-radius: 3px;
  overflow: hidden;
}
.goods-list .image-wrapper image {
  width: 100%;
  height: 100%;
  opacity: 1;
}
.goods-list .title {
  font-size: 32rpx;
  color: #303133;
  line-height: 80rpx;
}
.goods-list .price-box {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
          align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
          justify-content: space-between;
  padding-right: 10rpx;
  font-size: 24rpx;
  color: #909399;
}
.goods-list .price {
  font-size: 32rpx;
  color: #5dbc7c;
  line-height: 1;
}
.goods-list .price:before {
  content: '￥';
  font-size: 26rpx;
}

