/* 透明大背景  弹出层*/
/* 按钮 */
/* 分类页面 导航高度 */
/* 新闻列表 */
/* 新闻列表 图片(left) */
/* 新闻列表 基本信息(right) */
/* 渐变 */
html {
  background-color: #f1f1f1;
  font-size: 20vw;
}
@media screen and (max-width: 320px) {
  html {
    font-size: 64px;
  }
}
@media screen and (min-width: 540px) {
  html {
    font-size: 108px;
  }
}
html,
body {
  width: 100%;
  max-width: 320px;
  max-width: 540px;
  margin: 0 auto;
  min-height: 100vh;
  color: #333;
  -webkit-overflow-scrolling: touch;
}
a {
  color: inherit;
}
a,
span,
label {
  display: inline-block;
}
button,
input {
  border: none;
  background-color: transparent;
}
i {
  font-style: normal;
}
hr {
  margin: 0;
}
/* 修改默认select */
.yj-select {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  /*清除浏览器 Select后面的小箭头*/
  background: url(../images/drop.png) 95% center no-repeat;
  background-size: 1em;
}
/* 占位符 */
::-webkit-input-placeholder {
  color: #999;
}
/* Firefox 18- */
:-moz-placeholder {
  color: #999;
}
/* Firefox 19+ */
::-moz-placeholder {
  color: #999;
}
:-ms-input-placeholder {
  color: #999;
}
.yj-shadow-top-blue {
  box-shadow: 0 -2px 5px rgba(194, 218, 247, 0.75);
}
.yj-bg-gradient {
  background-image: -webkit-linear-gradient(90deg, #1ebafc, #1e82fc);
  background-image: -o-linear-gradient(90deg, #1ebafc, #1e82fc);
  background-image: linear-gradient(90deg, #1ebafc, #1e82fc);
}
.yj-bg-gradient .yj-btn-line-main {
  border: 1px solid #fff;
  color: #fff;
}
.yj-bg-main {
  background-color: #2f87eb;
  color: #fff;
}
.yj-bgfff {
  background-color: #fff;
}
.yj-bg-gray-light {
  background-color: #f1f1f1 !important;
}
.yj-colorfff {
  color: #fff;
}
.yj-color-red {
  color: #fb0914;
}
.yj-color-gray {
  color: #666;
}
.yj-color-gray-light {
  color: #999;
}
.yj-color-gray-dark {
  color: #333;
}
.yj-color-main {
  color: #2f87eb !important;
}
.yj-line-height-2 {
  line-height: 2em;
}
.yj-height-line2 {
  height: 3em;
  line-height: 1.5;
}
.yj-circle {
  border-radius: 50%;
}
.yj-radius-small {
  border-radius: 5px;
}
.yj-display-flex {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.yj-flex-1 {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.yj-none {
  display: none;
}
.yj-block {
  display: block;
}
.yj-line-block {
  display: inline-block;
}
.yj-text-center {
  text-align: center;
}
.yj-text-right {
  text-align: right;
}
.yj-text-left {
  text-align: left;
}
.yj-right {
  float: right;
}
.yj-left {
  float: left;
}
.yj-clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.yj-elip-1 {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.yj-elip-2 {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  word-wrap: break-word;
  white-space: normal !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.yj-text-small {
  font-size: 0.16rem;
}
.yj-text-big {
  font-size: 0.21333333rem;
}
.yj-memorial {
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
  -webkit-filter: grayscale(1);
}
.yj-padding {
  padding: 0.1rem;
}
.yj-padding-big {
  padding: 0.2rem;
}
.yj-pad-t {
  padding-top: 0.1rem;
}
.yj-pad-t-big {
  padding-top: 0.2rem;
}
.yj-pad-b {
  padding-bottom: 0.1rem;
}
.yj-pad-b-big {
  padding-bottom: 0.2rem;
}
.yj-pad-l {
  padding-left: 0.1rem;
}
.yj-pad-l-big {
  padding-left: 0.2rem;
}
.yj-pad-r {
  padding-right: 0.1rem;
}
.yj-pad-r-big {
  padding-right: 0.2rem;
}
.yj-pad-lr {
  padding-left: 0.1rem;
  padding-right: 0.1rem;
}
.yj-pad-lr-big {
  padding-left: 0.2rem;
  padding-right: 0.2rem;
}
.yj-pad-tb {
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
}
.yj-pad-tb-big {
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}
.yj-pad-header {
  padding-top: 0.65rem;
}
.yj-pad-footer {
  padding-bottom: 0.65rem;
}
.yj-margin {
  margin: 0.1rem;
}
.yj-margin-big {
  margin: 0.2rem;
}
.yj-mar-t {
  margin-top: 0.1rem;
}
.yj-mar-t-big {
  margin-top: 0.2rem;
}
.yj-mar-b {
  margin-bottom: 0.1rem;
}
.yj-mar-b-big {
  margin-bottom: 0.2rem;
}
.yj-mar-l {
  margin-left: 0.1rem;
}
.yj-mar-l-big {
  margin-left: 0.2rem;
}
.yj-mar-r {
  margin-right: 0.1rem;
}
.yj-mar-r-big {
  margin-right: 0.2rem;
}
.yj-mar-lr {
  margin-left: 0.1rem;
  margin-right: 0.1rem;
}
.yj-mar-lr-big {
  margin-left: 0.2rem;
  margin-right: 0.2rem;
}
.yj-mar-tb {
  margin-top: 0.1rem;
  margin-bottom: 0.1rem;
}
.yj-mar-tb-big {
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
}
.yj-mar-header {
  margin-top: 0.65rem;
}
.yj-mar-footer {
  margin-bottom: 0.65rem;
}
.yj-border {
  border: 1px solid #ddd;
}
.yj-border0 {
  border: none;
}
/* 边框 */
.yj-border-t {
  position: relative;
}
.yj-border-t:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  width: 100%;
  height: 1px;
  background-color: #ddd;
}
.yj-border-t.yj-light:before {
  background-color: #f4f4f4;
}
.yj-border-b {
  position: relative;
}
.yj-border-b:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 0;
  width: 100%;
  height: 1px;
  background-color: #ddd;
}
.yj-border-b.yj-light:after {
  background-color: #f4f4f4;
}
.yj-border-l {
  position: relative;
}
.yj-border-l:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  width: 1px;
  height: 100%;
  background-color: #ddd;
}
.yj-border-l.yj-light:before {
  background-color: #f4f4f4;
}
.yj-border-r {
  position: relative;
}
.yj-border-r:after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
  width: 1px;
  height: 100%;
  background-color: #ddd;
}
.yj-border-r.yj-light:after {
  background-color: #f4f4f4;
}
/* 右下角 联系我们 */
.yj-contact {
  position: fixed;
  z-index: 999;
  bottom: 0.45rem;
  right: 5px;
  width: .6rem;
  height: .6rem;
}
.yj-contact img {
  width: 100%;
}
.yj-dot {
  display: inline-block;
  width: .1rem;
  height: .1rem;
  border-radius: 50%;
  background-color: #2f87eb;
}
.yj-dot.yj-big {
  width: .15rem;
  height: .15rem;
}
.yj-dot.yj-red {
  background-color: #fb0914;
}
/* 所有段落的icon */
.yj-p-icon {
  height: 1.2em;
  margin-right: 1em;
}
.yj-mask-body {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 0);
}
.yj-mask-body.fade {
  display: block;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1);
}
.yj-mask-main {
  position: fixed;
  z-index: 1002;
  right: -67vw;
  top: 0;
  width: 66vw;
  height: 100%;
  background-color: #fff;
  transition: right .4s;
  -moz-transition: right .4s;
  /* Firefox 4 */
  -webkit-transition: right .4s;
  /* Safari and Chrome */
  -o-transition: right .4s;
  /* Opera */
}
.yj-mask-main.in {
  right: 0;
  transition: right .4s;
  -moz-transition: right .4s;
  /* Firefox 4 */
  -webkit-transition: right .4s;
  /* Safari and Chrome */
  -o-transition: right .4s;
  /* Opera */
}
.yj-mask-main.top {
  top: auto;
  left: 0;
  right: 0;
  bottom: -71vh;
  width: 100%;
  height: auto;
  transition: bottom .4s;
  -moz-transition: bottom .4s;
  /* Firefox 4 */
  -webkit-transition: bottom .4s;
  /* Safari and Chrome */
  -o-transition: bottom .4s;
  /* Opera */
}
.yj-mask-main.top .yj-mask-content {
  max-height: 65vh;
  height: auto;
  overflow: auto;
}
.yj-mask-main.top.in {
  bottom: 0;
  transition: bottom .4s;
  -moz-transition: bottom .4s;
  /* Firefox 4 */
  -webkit-transition: bottom .4s;
  /* Safari and Chrome */
  -o-transition: bottom .4s;
  /* Opera */
}
/* input 选中、未选中样式 */
.yj-input-item label {
  display: inline-block;
  height: .4rem;
  line-height: .4rem;
  padding: 0 .2rem;
  border-radius: 3px;
  background-color: #f1f1f1;
}
.yj-input-item input {
  display: none;
}
.yj-input-item input:checked + label {
  background-color: #2f87eb;
  color: #fff;
}
.yj-input-item-border label {
  display: block;
  border: 1px solid #ddd;
}
.yj-input-item-border input {
  display: none;
}
.yj-input-item-border input:checked + label {
  border-color: #2f87eb;
  color: #2f87eb;
}
.yj-btn {
  display: inline-block;
  padding-left: .2rem;
  padding-right: .2rem;
  height: 0.48rem;
  line-height: 0.48rem;
  border: 1px solid #ddd;
  background-color: #fff;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  /* Firefox */
  -webkit-box-sizing: border-box;
  /* Safari */
  border-radius: 3px;
}
.yj-btn.yj-label {
  font-size: 0.13333333rem;
  padding-left: 3px;
  padding-right: 3px;
  height: 0.22rem;
  line-height: 0.22rem;
}
.yj-btn.yj-label.yj-red {
  border-color: #fb0914;
  color: #fb0914;
}
.yj-btn.yj-small {
  font-size: 0.16rem;
  padding-left: 8px;
  padding-right: 8px;
  height: 0.33rem;
  line-height: 0.33rem;
}
.yj-btn.yj-big {
  font-size: 0.21333333rem;
  padding-left: .22rem;
  padding-right: .22rem;
  height: 0.63rem;
  line-height: 0.63rem;
}
.yj-btn.yj-main {
  background-color: #2f87eb;
  color: #fff;
  border: 1px solid #2f87eb;
}
.yj-btn.yj-gray {
  background-color: #ddd;
  border: 1px solid #ddd;
  color: #666;
}
.yj-btn.yj-radius {
  border-radius: 1rem;
}
.yj-btn.yj-line {
  border: 1px solid #ddd;
}
.yj-btn.yj-line-main {
  border: 1px solid #2f87eb;
  color: #2f87eb !important;
}
.yj-btn.yj-line.yj-red {
  border-color: #fb0914;
  color: #fb0914;
}
.yj-btn.yj-block {
  width: 100%;
  text-align: center;
}
.yj-btn.yj-circle {
  width: .28rem;
  height: .28rem;
  line-height: .28rem;
  border-radius: 50%;
  text-align: center;
}
/* 头部固定 */
.yj-fixed-header {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  /* Firefox */
  -webkit-box-sizing: border-box;
  /* Safari */
  width: 100%;
  max-width: 320px;
  max-width: 540px;
  margin: 0 auto;
  box-shadow: 0 2px 5px rgba(194, 218, 247, 0.75);
}
/* 固定在底部的按钮样式 */
.yj-fixed-bottom-btn {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  width: 100%;
  max-width: 320px;
  max-width: 540px;
  margin: 0 auto;
  height: 0.65rem;
  line-height: 0.65rem;
  border: none;
  text-align: center;
  background-color: #2f87eb;
  color: #fff;
}
.yj-textarea.yj-block {
  width: 100%;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  /* Firefox */
  -webkit-box-sizing: border-box;
  /* Safari */
}
/* 选中、未选中样式 */
.yj-label-btn input {
  background-color: transparent;
  color: #333;
  border: 1px solid #ddd;
}
.yj-label-btn.yj-active label {
  border-color: #2f87eb;
  color: #2f87eb;
}
.yj-label-btn input:checked + label {
  border-color: #2f87eb;
  color: #2f87eb;
}
/* 普通列表css */
.yj-list-item {
  height: 0.65rem;
  line-height: 0.65rem;
  overflow: hidden;
}
.yj-list-item-icon {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  margin-right: 0.1rem;
}
/*单选按钮,复选按钮*/
.yj-radio {
  width: 16px !important;
  height: 16px !important;
  position: relative;
  border-radius: 50%;
  -webkit-appearance: none;
  border: 1px solid #999;
  background-color: #fff;
  text-align: center;
}
.yj-radio:checked {
  border-color: #2f87eb;
}
.yj-radio:checked:before {
  position: absolute;
  content: "";
  width: 8px !important;
  height: 8px !important;
  left: 3px;
  top: 3px;
  background-color: #2f87eb;
  border-radius: 50%;
  background-size: 10px;
}
/* 头部切换条/选项卡 */
.yj-tab {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  color: #333;
  background-color: #fff;
}
.yj-tab a,
.yj-tab-item {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  text-align: center;
}
.yj-tab a span,
.yj-tab-item span {
  height: .55rem;
  line-height: .55rem;
  display: inline-block;
  border-bottom: .03rem solid transparent;
}
.yj-tab a.yj-active,
.yj-tab-item.yj-active {
  color: #2f87eb;
}
.yj-tab a.yj-active span,
.yj-tab-item.yj-active span {
  border-bottom: 0.03rem solid #2f87eb;
}
/* 最后一个border为0 */
.yj-border-son .yj-border-b:last-of-type:after {
  height: 0;
}
/* 点击加减 */
.yj-addsub {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  border: 1px solid #ddd;
}
.yj-addsub .yj-sub,
.yj-addsub .yj-add,
.yj-addsub .yj-num {
  border: none;
  height: 1.5em;
  line-height: 1.5em;
}
.yj-addsub .yj-sub,
.yj-addsub .yj-add {
  width: 1.5em;
  background-color: #fff;
}
.yj-addsub .yj-sub:disabled,
.yj-addsub .yj-add:disabled,
.yj-addsub .yj-sub.yj-disabled,
.yj-addsub .yj-add.yj-disabled {
  cursor: no-drop;
  background-color: #eee;
}
.yj-addsub .yj-add {
  background-color: #2f87eb;
  color: #fff;
}
.yj-addsub .yj-num {
  width: 2em;
  text-align: center;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
}
.yj-addsub .yj-num.yj-big {
  width: 3em;
}
.yj-addsub .yj-num:disabled {
  background-color: #fff;
}
.yj-addsub.yj-radius {
  border: none;
}
.yj-addsub.yj-radius .yj-sub,
.yj-addsub.yj-radius .yj-add {
  border-radius: 50%;
}
.yj-addsub.yj-radius .yj-sub {
  border: 1px solid #ddd;
}
.yj-addsub.yj-radius .yj-num {
  border: none;
}
/* tab切换 */
.yj-tab-group {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.yj-tab-group-item {
  border: 1px solid #2f87eb;
  color: #2f87eb;
  height: 2.5em;
  line-height: 2.6em;
  background-color: #fff;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  text-align: center;
}
.yj-tab-group-item.yj-active {
  background-color: #2f87eb;
  color: #fff;
}
.yj-tab-group.yj-radius .yj-tab-group-item:first-child {
  border-radius: 1em 0 0 1em;
}
.yj-tab-group.yj-radius .yj-tab-group-item:last-child {
  border-radius: 0 1em 1em 0;
}
.yj-line-1 {
  height: 1.5em;
}
.yj-title-short {
  width: 47vw;
}
.yj-title-short.yj-elip-1 {
  height: 1.4em;
}
.yj-goods-title.yj-elip-2 {
  height: 3em;
  line-height: 1.5;
  overflow: hidden;
}
.yj-title-long {
  width: 62vw;
}
/* 商品缩略图 */
.yj-goods-thumbnail {
  width: .9rem;
  height: .9rem;
  text-align: center;
  line-height: .9rem;
  display: inline-block;
  border: 1px solid #ddd;
  border-radius: .1rem;
  overflow: hidden;
}
.yj-img-middle img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}
/* 头尾css */
.yj-header,
.yj-footer {
  position: fixed;
  z-index: 9999;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 540px;
  margin: auto;
  text-align: center;
}
.yj-header {
  top: 0;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  height: 0.65rem;
  line-height: 0.65rem;
  font-size: 0.24rem;
  background-color: #333;
  color: #fff;
  overflow: hidden;
}
.yj-header .layui-icon {
  font-size: 0.32rem;
}
.yj-header span {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.yj-header-return,
.yj-header-meau {
  width: 0.65rem;
}
.yj-footer {
  bottom: 0;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  height: 0.65rem;
  background-color: #fff;
}
.yj-footer .layui-icon {
  font-size: 0.29333333rem;
}
.yj-footer-item {
  -webkit-box-flex: 4;
  -webkit-flex: 4;
  -ms-flex: 4;
  flex: 4;
  padding-top: .08rem;
}
.yj-footer-icon {
  width: .28rem;
  height: .28rem;
  display: inline-block;
  overflow: hidden;
  margin-bottom: .01rem;
}
.yj-footer-icon img {
  width: 100%;
}
.yj-footer-icon.yj-scan {
  padding: .06rem;
  border-radius: 50%;
  border: 1px solid #2f87eb;
  width: .6rem;
  height: .6rem;
  background-color: #fff;
  margin-top: -0.25rem;
}
.yj-footer-middle {
  -webkit-box-flex: 3;
  -webkit-flex: 3;
  -ms-flex: 3;
  flex: 3;
  margin-top: -0.15rem;
  padding-top: .12rem;
  border-radius: 50%;
  box-shadow: 0 -2px 5px rgba(194, 218, 247, 0.75);
  background-color: #fff;
}
.yj-footer-middle .yj-footer-icon {
  margin-bottom: 0;
}
.yj-footer-middle .yj-footer-title {
  padding-top: .1rem;
  margin: 0 -3px;
  background-color: #fff;
}
.yj-footer-title {
  font-size: 0.16rem;
}
/* 内容盒子 */
.yj-content {
  position: relative;
  font-size: 0.18666667rem;
  min-height: 100vh;
  overflow: auto;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  /* Firefox */
  -webkit-box-sizing: border-box;
  /* Safari */
  -webkit-overflow-scrolling: touch;
}
.yj-content.yj-mainHF {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}
.yj-content.yj-mainHF .yj-catalog {
  top: 0.65rem !important;
  bottom: 0.65rem !important;
}
.yj-content.yj-mainHF .yj-fixed-header {
  top: 0.65rem;
}
.yj-content.yj-mainH {
  padding-top: 0.65rem;
}
.yj-content.yj-mainH .yj-catalog {
  top: 0.65rem !important;
}
.yj-content.yj-mainH .yj-about-bg {
  top: 0.85rem;
}
.yj-content.yj-mainH .yj-fixed-header {
  top: 0.65rem;
}
.yj-content.yj-mainF {
  padding-bottom: 0.65rem;
}
.yj-content.yj-mainF .yj-catalog {
  bottom: 0.65rem !important;
}
/* 消息通知 */
.yj-message {
  position: relative;
}
.yj-message-dot,
.yj-message-num {
  display: inline-block;
  position: absolute;
  right: -0.1rem;
  top: 0;
}
.yj-message-num {
  font-size: 12px;
  height: 14px;
  line-height: 14px;
  padding: 0 4px;
  background-color: #fb0914;
  color: #fff;
  border-radius: 7px;
}
/* 宫格css */
.yj-gird-container {
  position: relative;
  background-color: #fff;
  overflow-x: hidden;
}
.yj-gird-container .layui-icon {
  font-size: 0.32rem;
  color: #2f87eb;
}
.yj-gird-container .layui-row {
  text-align: center;
}
.yj-gird-container .layui-row [class^="layui-col"] a {
  padding: .15rem 0;
  display: block;
  font-size: 0.18666667rem;
}
.yj-gird-container .layui-row [class^="layui-col"] .yj-gird-icon {
  display: inline-block;
  margin-bottom: .5em;
}
.yj-gird-container .layui-row [class^="layui-col"]:nth-last-of-type(1) a {
  right: -1px;
}
/* banner */
.swiper-container.yj-banner {
  width: 100%;
  height: 66.66666vw;
  overflow: hidden;
}
.swiper-container.yj-banner .swiper-slide {
  width: 100%;
  height: 100%;
}
.swiper-container.yj-banner .swiper-slide img {
  width: 100%;
  height: 100%;
}
.swiper-container.yj-banner .swiper-pagination {
  bottom: 20px !important;
}
/* 普通表单 简洁样式1 */
.yj-form1-item {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.yj-form1-item input,
.yj-form1-item button {
  border: none;
  height: 100%;
  background-color: transparent;
}
.yj-form1-item input {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.yj-form1-item button {
  color: #999;
}
.yj-form1-label {
  display: inline-block;
  width: 1rem;
  text-align: justify;
  text-justify: distribute-all-lines;
}
.yj-form1-verif_code {
  width: 8em;
}
/* 普通表单2 */
.yj-form2-item {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.yj-form2-label {
  display: inline-block;
  width: 5em;
}
.yj-form2-container {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
}
.yj-form2-container-main {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.yj-form2-container textarea {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  max-height: 3em;
}
.yj-form2-container-icon {
  width: 1.2em;
}
.yj-form2 input,
.yj-form2 button,
.yj-form2 textarea {
  border: none;
  background: transparent;
}
/* 登录页面 */
.yj-bg-all {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  max-width: 320px;
  max-width: 540px;
  margin: 0 auto;
  background-image: -webkit-linear-gradient(150deg, #1ebafc, #1e43fc);
  background-image: -o-linear-gradient(150deg, #1ebafc, #1e43fc);
  background-image: linear-gradient(150deg, #1ebafc, #1e43fc);
  color: #fff;
}
.yj-login {
  font-size: 0.21333333rem;
}
.yj-login-logo {
  width: 1.5rem;
  padding: 0.93rem 0 0.53rem;
}
.yj-login-form-item {
  border: .5px solid #fff;
  height: .6rem;
  line-height: .6rem;
  padding: 0 .3rem;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  border-radius: 0.6rem;
  overflow: hidden;
}
.yj-login-form-label img {
  width: 1.2em;
}
.yj-login-form input {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  width: 100%;
  height: 100%;
  border: none;
  background-color: transparent;
}
.yj-login-btn {
  margin-top: .6rem;
}
.yj-catalog {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 320px;
  max-width: 540px;
  margin: 0 auto;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  /* Firefox */
  -webkit-box-sizing: border-box;
  /* Safari */
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.yj-catalog-left,
.yj-catalog-right {
  min-height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.yj-catalog-left {
  width: 1.1rem;
}
.yj-catalog-right {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  background-color: #fff;
}
.yj-catalog-item {
  height: 0.7rem;
  line-height: 0.7rem;
}
.yj-catalog-item a {
  border-left: 2px solid transparent;
  display: block;
  text-align: center;
}
.yj-catalog-item.yj-active a {
  background-color: #fff;
  border-left-color: #2f87eb;
}
.yj-goods-basicinfo {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.yj-goods-textinfo {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.yj-goods-textinfo .yj-addsub,
.yj-goods-textinfo .yj-choiceGoods {
  margin-top: -2px;
}
/* 小白柜 用户版 */
.yj-index-header {
  width: 100%;
  background: url("../images/banner-bg1.png") no-repeat bottom;
  background-size: cover;
  padding: .6rem 0 .8rem;
}
.yj-index-header-title {
  background-color: rgba(0, 0, 0, 0.4);
  width: 80%;
  padding: .3rem 0;
  text-align: center;
  margin: 0 auto;
  border-radius: 0.28rem;
}
.yj-index-header-title h1 {
  font-size: 0.37333333rem;
  font-weight: bold;
  letter-spacing: .09rem;
}
.yj-index-header-title h2 {
  margin-top: .12rem;
  font-size: 0.21333333rem;
  letter-spacing: .02rem;
}
.yj-index-nav {
  margin-top: -0.5rem;
  padding: 0 .15rem;
  text-align: center;
}
.yj-index-nav-icon {
  position: relative;
  margin-bottom: .15rem;
  height: .4rem;
}
.yj-index-nav-icon.yj-scan {
  height: .6rem;
  margin-top: -0.15rem;
}
.yj-index-nav-icon img {
  height: 100%;
}
.yj-index-nav-container {
  padding: .4rem 0;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  border-radius: 0.2rem;
  box-shadow: 0px 0px 5px rgba(47, 135, 235, 0.4);
}
.yj-index-nav-container li {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  position: relative;
}
.yj-index-nav-container li a {
  display: block;
}
.yj-title1 {
  border-left: 4px solid #2f87eb;
  padding-left: .5em;
}
.yj-index-news-pic {
  float: left;
  width: calc(40vw -  0.2rem );
  height: 1.2rem;
  line-height: 1.2rem;
  text-align: center;
  border-radius: 0.12rem;
  overflow: hidden;
  background-color: #fff;
}
.yj-index-news-info {
  float: right;
  width: calc(57vw -  0.2rem );
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  /* Firefox */
  -webkit-box-sizing: border-box;
  /* Safari */
}
.yj-index-news-info-txt {
  margin-top: .08rem;
  margin-bottom: .08rem;
  line-height: 1.5;
  height: 3em;
  color: #666;
}
.yj-index-news-title {
  font-size: 0.18666667rem;
  font-weight: bold;
}
/* 个人中心 */
.yj-user-header {
  position: relative;
  padding: .3rem 0 .8rem;
  text-align: center;
  background: #1eb1fc url("../images/user-bg.png") no-repeat bottom;
  background-size: 100% auto;
}
.yj-user-set {
  position: absolute;
  right: .25rem;
  top: .2rem;
  color: #fff !important;
}
.yj-user-set .layui-icon {
  font-size: 0.29333333rem;
}
.yj-user-photo {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
}
.yj-user-name {
  margin-top: 0.1rem;
  color: #fff;
}
.yj-user-row-item a {
  display: block;
  padding: .3rem 0;
}
.yj-user-row-icon {
  display: inline-block;
  width: 1.2rem;
  height: .67rem;
}
.yj-user-row-icon .yj-message {
  display: inline-block;
  width: .67rem;
  height: .67rem;
}
/* 用户头像设置 */
.yj-set-user-photo {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  height: 3.5em;
  align-items: center;
}
.yj-set-user-photo-title {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.yj-set-user-photo-pic {
  width: 3.5em;
  height: 3.5em;
}
.yj-set-user-photo-pic img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
/* 地址列表 */
.yj-address-list {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  background-color: #fff;
}
.yj-address-icon,
.yj-address-more {
  text-align: center;
  width: .7rem;
}
.yj-address-icon img {
  width: .25rem;
}
.yj-address-main {
  -webkit-box-flex: 4.5;
  -webkit-flex: 4.5;
  -ms-flex: 4.5;
  flex: 4.5;
}
.yj-address-note {
  color: #999;
  margin-top: -0.1rem;
}
/* 提示页面 404页面 */
.yj-remind-pic {
  padding-top: 1rem;
  height: 2.35rem;
}
.yj-remind-main {
  padding: 0 1rem;
}
/* 关于我们 */
.yj-about-bg {
  position: absolute;
  left: 0.2rem;
  right: 0.2rem;
  top: .2rem;
  bottom: .3rem;
  padding: .23rem;
  overflow: hidden;
  border-radius: 0.13rem;
}
.yj-about-main {
  width: 100%;
  height: 100%;
  line-height: 2em;
  overflow: auto;
}
.yj-about-logo {
  padding: .5rem 0 .6rem;
  height: 2.35rem;
}
/* 余额充值 */
.yj-recharge {
  border-radius: 0.15rem;
}
.yj-recharge-title {
  font-size: 0.2rem;
}
.yj-recharge-item {
  padding: 0.2rem;
  border: 1px solid #2f87eb;
  border-radius: 0.1rem;
  position: relative;
  overflow: hidden;
}
.yj-recharge-discount {
  position: absolute;
  top: -1.3em;
  left: -3.3em;
  display: inline-block;
  font-size: 0.16rem;
  width: 3.5em;
  padding: 2em 2em .3em;
  text-align: center;
  background-color: #2f87eb;
  color: #fff;
  transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  /* Internet Explorer */
  -moz-transform: rotate(-45deg);
  /* Firefox */
  -webkit-transform: rotate(-45deg);
  /* Safari 和 Chrome */
  -o-transform: rotate(-45deg);
  /* Opera */
}
.yj-recharge-money li {
  overflow: hidden;
}
.yj-recharge-money li.yj-active .yj-recharge-item {
  background-color: #2f87eb;
  color: #fff;
}
.yj-recharge-money li.yj-active .yj-recharge-discount {
  background-color: #fff;
  color: #2f87eb;
}
.yj-recharge-type {
  border: 1px solid #dedede;
}
.yj-active .yj-recharge-type {
  border: 1px solid #2f87eb;
}
/* 余额明细 */
.yj-record-title {
  height: 0.65rem;
  line-height: 0.65rem;
  text-align: center;
}
.yj-record-type {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  background-color: #fff;
}
.yj-record-type a {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  text-align: center;
}
.yj-record-type a span {
  display: inline-block;
  height: .45rem;
  line-height: .5rem;
  border-bottom: 2px solid transparent;
}
.yj-record-type a.yj-active span {
  color: #2f87eb;
  border-color: #2f87eb;
}
.yj-record-list .layui-colla-item {
  padding-bottom: 0.1rem;
}
.yj-record-list .layui-colla-title {
  height: auto;
  line-height: 1.5em;
  background-color: #fff;
  padding: 0.1rem 0 0;
  font-size: 0.18666667rem;
}
.yj-record-list .layui-colla-content {
  margin-top: 0.1rem;
  border-radius: 5px;
  background-color: #f1f1f1;
  border-top: none;
}
.yj-record-list .layui-colla-icon {
  display: none;
}
/* 余额明细，订单详情 */
.yj-order-header {
  padding: .5rem .4rem;
  font-size: 0.21333333rem;
}
.yj-order-header .yj-btn {
  border-color: #fff;
  color: #fff;
  background-color: transparent;
}
.yj-order-header .yj-account-money {
  font-size: 0.34666667rem;
}
/* 商品列表 footer */
.yj-goodslist-shopcart-icon {
  width: 1.1rem;
  margin-top: -0.25rem;
}
.yj-goodslist-shopcart-icon .layui-icon {
  display: inline-block;
  width: .76rem;
  height: .76rem;
  line-height: .76rem;
  background-color: #2f87eb;
  color: #fff;
  font-size: 0.48rem;
  border-radius: 50%;
  box-shadow: 0 0 0.25rem #2f87eb;
}
.yj-goodslist-countprice {
  line-height: 0.65rem;
}
.yj-pay-type-icon {
  width: .25rem;
  margin-right: .7em;
}
.yj-user-oper {
  position: absolute;
  z-index: 1000;
  right: .5em;
  top: 0.55rem;
  width: 8em;
  text-align: center;
  box-shadow: 2px 2px 10px #aaa;
}
.yj-triangle-top {
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-bottom: 6px solid #999;
}
