body {
  color: #222;
  background-color: #F6F6F6;
}
[v-cloak] {
  display: none;
}
a {
  color: #222;
}
.color1 {
  color: #2CA3FF !important;
}
.bg-color1 {
  background-color: #2CA3FF !important;
}
.border-color1 {
  border-color: #2CA3FF !important;
}
.hover-color1 {
  cursor: pointer;
}
.hover-color1:hover {
  color: #2CA3FF !important;
}
.flex-1{
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -moz-box-flex: 1;
  -moz-flex: 1;
  -ms-flex: 1;
  flex: 1;
  overflow: hidden;
}
.main-container {
  width: 1200px;
  margin: 0 auto;
}
.g-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, .5);
  z-index: 1080;
}

.toast-top-right {
  top: 40px;
}
.toast-success {
  background-color: #4bbb4b;
}
.toast-error {
  background-color: red;
}
.toast-info {
  background-color: #20a1ff;
}
#toast-container>div:hover {
  box-shadow: 0 0 12px #828282;
}

.prom-modal-types {
  padding: 0;
  max-width: 448px;
  margin: 0 auto 30px;
  border: 1px solid #ccc;
  border-radius:2px;
}
.prom-modal-types li {
  font-size: 14px;
  list-style: none;
  width: 140px;
  text-align: center;
  height: 40px;
  line-height: 40px;
  border-right: 1px solid #ccc;
  cursor: pointer;
  flex: 1;
  -webkit-flex: 1;
  -moz-flex: 1;
}
.prom-modal-types li:last-child {
  border: 0;
}
.prom-modal-types li.bg-color1 {
  color: #fff;
}
.promotion-result {
  max-width: 448px;
  margin: 24px auto;
  height: 236px;
  padding: 10px 14px;
  overflow-y: auto;
}
#promotionModalBody > div {
  max-width: 448px;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
}

#goodsEditModal label {
  margin-right: 10px;
  width: 68px;
  display: inline-block;
  text-align: right;
}
.modal .edit-img-box {
  width: 110px;
  height: 110px;
  overflow: hidden;
  margin-right: 20px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  position: relative;
}
.edit-img-box img {
  display: block;
  width: 100%;
}
.edit-img-box:hover .edit-img-mask {
  opacity: 1;
}
.edit-img-box:hover input.edit-img-mask {
  opacity: 0;
  cursor: pointer;
}
.edit-img-mask {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  background: rgba(0, 0, 0, .5);
  transition: opacity .3s;
}
.edit-img-mask .iconfont {
  font-size: 1.1em;
  padding: 5px;
  cursor: pointer;
}
.edit-img-mask .icon-biaoqian:hover {
  color: #FF4A19;
}
.edit-img-main-icon {
  position: absolute;
  top: -1px;
  left: 10px;
  line-height: 1;
}
.edit-img-main-icon .iconfont {
  color: #FF4A19;
  font-size: 28px;
}

.layout-header {
  font-size: 12px;
  background-color: #fff;
}
.header-main {
  height: 75px;
  margin: 30px auto -1px;
}
.layout-header a {
  color: white;
}
.logo-img {
  width: 144px;
  height: 54px;
  margin-top: 1px;
}
.header-search {
  width: 590px;
  height: 40px;
  border: 2px solid;
  border-radius: 4px;
}
.header-search input {
  height: 100%;
  font-size: 14px;
  padding: 0 16px;
  border: 0;
  outline: none;
  flex: 1 !important;
  overflow: hidden;
}
.header-search button {
  width: 100px;
  height: 100%;
  font-size: 16px;
  color: white;
  border-radius: 0;
  outline: none;
  border: 0;
}
.header-search button:hover {
  opacity: 0.8;
}
.header-aside-item {
  width: 78px;
  text-align: center;
  font-size: 12px;
  display: inline-block;
}
.header-aside-item img {
  width: 30px;
  height: 30px;
  vertical-align: middle;
  margin-bottom: 4px;
}
.header-nav {
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.header-nav li {
  list-style: none;
  font-size: 14px;
  float: left;
  margin-right: 1px;
  position: relative;
}
.header-nav li::after {
  content: '';
  width: 100%;
  height: 100%;
  background: #2CA3FF;
  position: absolute;
  bottom: -40px;
  left: 0;
  transition: bottom .15s;
  -webkit-transition: bottom .15s;
  -moz-transition: bottom .15s;
}
.header-nav li:hover::after, .header-nav li.active::after {
  bottom: 0;
}
.header-nav li.active a, .header-nav li:hover a {
  color: white;
}
.header-nav a {
  display: block;
  padding: 0 36px;
  color: #222;
  height: 40px;
  line-height: 40px;
  text-decoration: none;
  position: relative;
  z-index: 1;
}
.layout-footer {
  min-height: 100px;
  color: #ccc;
  font-size: 14px;
  background-color: #333;
}
.layout-footer a {
  color: #ccc;
  padding: 0 3px;
}
.selected-float {
  width: 90px;
  height: 40px;
  line-height: 40px;
  font-size: 14px;
  color: #fff;
  border-radius: 20px;
  position: fixed;
  right: 5%;
  bottom: 20%;
  z-index: 990;
  box-shadow:0px 2px 8px 0px rgba(44,163,255,0.7);
  cursor: pointer;
}
.selected-float img {
  width: 12px;
  height: 16px;
  vertical-align: middle;
}
.selected-float-badge {
  font-size: 12px;
  color: #fff;
  min-width: 20px;
  padding: 0 2px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  background-color: #FF4A19;
  border-radius: 10px;
  position: absolute;
  top: -8px;
  left: 70px;
}


.filter-container {
  margin-bottom: 10px;
  background-color: #fff;
}
.filter-line {
  padding: 11px 11px 0;
  font-size: 14px;
  border-bottom: 1px solid #E5E5E5;
}
.filter-line .form-check-input {
  margin-top: .4rem;
}
.filter-line .flex-fill {
  flex: 1 !important;
  -webkit-flex: 1 !important;
  -moz-flex: 1 !important;
}
.filter-line-label {
  color: #999;
  width: 67px;
  text-align: right;
  margin-right: 30px;
  margin-bottom: 11px;
}
.filter-li-item {
  float: left;
  height: 24px;
  line-height: 24px;
  margin-right: 40px;
  margin-bottom: 10px;
}
.filter-input {
  width: 60px;
  height: 24px;
  padding: 0 5px;
  font-size: inherit;
  border: 1px solid #E5E5E5;
}
.filter-input.datepicker {
  width: 100px;
  text-align: center;
}

.filter-line button, .sort-container button {
  width: 80px;
  font-size: inherit;
  height: 28px;
  line-height: 28px;
  padding: 0;
  margin-top: -2px;
  border: 0;
  border-radius: 0;
}
.filter-line button:first-child {
  margin-right: 16px;
}
.filter-container a, .sort-container a {
  text-decoration: none;
  line-height: normal;
}
.filter-container a:hover, .sort-container a:hover {
  color: #222;
}
.sort-container {
  padding: 11px 11px 8px;
  font-size: 14px;
  margin: 10px auto 20px;
  background-color: #fff;
}
.sort-label {
  color: #999;
  width: 67px;
  text-align: right;
  margin-right: 30px;
}
.sort-li-item {
  float: left;
  margin-right: 40px;
}
.sort-li-item .iconfont {
  visibility: hidden;
  font-size: 14px;
  margin-left: -3px;
  color: #999;
  font-size: 13px;
}
.sort-li-item.color1 .iconfont, .sort-li-item:hover .iconfont {
  color: inherit;
  visibility: visible;
}


.goods-container {
  margin-bottom: 30px;
}
.goods-item {
  position: relative;
  display: block;
  text-decoration: none !important;
  width: 228px;
  background-color: #fff;
  font-size: 12px;
  color: #666;
  float: left;
  margin-right: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
}
.goods-item.d-flex {
  width: 100%;
  padding-bottom: 20px;
  padding-left: 20px;
  border: solid #E5E5E5;
  border-width: 0 0 1px 0;
  background: transparent;
  cursor: pointer;
}
.goods-item.d-flex:hover {
  border-color: #E5E5E5;
}
.goods-item.d-flex .goods-item-img {
  width: 88px;
  height: 88px;
  padding: 0;
}
.goods-item.d-flex .goods-item-content {
  flex: 1;
  -webkit-flex: 1;
  -moz-flex: 1;
  height: 88px;
  padding-top: 3px;
  padding-bottom: 0;
  overflow: hidden;
}
.goods-item:hover {
  border-color: #FF4A19;
}
.goods-item:hover .goods-action-underimg {
  top: -40px;
  opacity: .9;
}
.goods-item:hover .goods-action-badge {
  /* width: 146px; */
  width: auto; /* auto导致transition失效了 */
}
.goods-item:hover .goods-action-badge li:first-child {
  display: none;
}
.goods-item:nth-child(5n) {
  margin-right: 0;
}
.goods-action-bottom {
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: 0;
  z-index: 100;
  height: 40px;
  line-height: 40px;
  font-size: 14px;
  color: rgba(255, 255, 255, .9);
  background-color: #FF4A19;
  opacity: 0;
  transition: opacity .8s;
}
.goods-action-bottom:hover {
  color: #222;
}
.goods-item:hover .goods-action-bottom {
  bottom: -40px;
  opacity: 1;
}
.goods-item-img {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  overflow: hidden;
}
.goods-item-img img {
  width: 100%;
}
.goods-action-underimg {
  position: absolute;
  z-index: 99;
  left: 0;
  top: 0;
  height: 40px;
  width: 100%;
  margin-top: 100%;
  background-color: #FF4A19;
  opacity: 0;
  transition: opacity .8s;
}
.goods-action-underimg button {
  width: 50%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  color: #fff;
  font-size: 14px;
  float: left;
  border-radius: 0;
  outline: none;
}
.goods-action-underimg button:focus {
  box-shadow: none !important;
  outline: none !important;
}
.goods-action-underimg button:first-child {
  border-right: 1px solid #FF7752;
}
.goods-item-content {
  padding: 10px 9px 9px;
  position: relative;
  z-index: 101;
  background-color: #fff;
}
.goods-item-line1 {
  height: 19px;
  line-height: 1;
  margin-bottom: 10px;
  color: #999;
}
.goods-item-price {
  font-weight: bold;
  color: #FF4A19;
  padding: 0 3px;
}
.goods-item-price big {
  font-size: 18px;
}
.goods-item-oriprice {
  text-decoration: line-through;
}
.goods-item-title {
  font-size: 14px;
  color: #222;
  font-weight: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  margin-bottom: 11px;
}
.goods-item-title img {
  width: 14px;
  height: 14px;
}
.goods-item-line2 {
  margin-bottom: 11px;
}
.goods-item-commis {
  margin-right: 8px;
  color: #fff;
}
.goods-item-commis, .goods-item-quan {
  height: 22px;
  line-height: 22px;
  font-size: 14px;
  padding: 0 7px;
  border-radius: 4px;
  float: left;
}
.goods-item-quan {
  padding: 0 12px;
  border: 1px solid;
}
.goods-item-line3 {
  color: #666;
  height: 14px;
  line-height: 1;
  margin-bottom: 10px;
}
.goods-item-line3 .flex-fill {
  flex: 1 !important;
  -webkit-flex: 1 !important;
  -moz-flex: 1 !important;
  overflow: hidden;
}
.goods-item-icons img {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-left: 2px;
}
.goods-item-line4 {
  color: #999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.goods-action-badge {
  width: 35px;
  height: 30px;
  padding-left: 5px;
  background: linear-gradient(to right, rgba(44, 140, 255, .9), rgba(80, 215, 255, .9));
  background: -webkit-linear-gradient(to right, rgba(44, 140, 255, .9), rgba(80, 215, 255, .9));
  background: -moz-linear-gradient(to right, rgba(44, 140, 255, .9), rgba(80, 215, 255, .9));
  border-radius: 15px 0 0 15px;
  color: #fff;
  position: absolute;
  right: 0;
  top: 10px;
  z-index: 99;
  overflow: hidden;
  transition: width .3s;
}
.goods-action-badge ul {
  margin: 0;
  padding: 0;
}
.goods-action-badge li {
  list-style: none;
  float: left;
  text-align: center;
  width: 26px;
  height: 26px;
  line-height: 26px;
  margin: 2px 1px;
  border-radius: 50%;
}
.goods-action-badge li .iconfont {
  font-size: 17px;
}
.goods-action-badge li.active {
  background: #f1f8ff;
}

.album-item {
  font-size: 14px;
  padding: 14px;
  cursor: pointer;
  position: relative;
}
.album-item.active, .album-item:hover {
  background: #E9F6FF;
}
.album-item .icon-success {
  position: absolute;
  right: 20px;
  top: 27px;
  color: #4bbb4b;
  display: none;
}
.album-item.active .icon-success {
  display: block;
}


@media screen and (max-width: 750px) {
  .main-container {
    width: 100%;
  }
  .header-top {
    padding: 0 24px;
  }
  .header-decoration {
    display: none;
  }
  .header-main {
    height: auto;
    align-items: center;
    -webkit-align-items: center;
    margin: 20px auto;
    padding: 0 12px;
  }
  .logo-img {
    height: 27px;
    width: auto;
    margin-right: 7px;
  }
  .header-search {
    flex: 1;
    -webkit-flex: 1;
    height: 36px;
  }
  .header-search button {
    width: 70px;
  }
  .header-nav {
    display: flex;
    -webkit-display: flex;
  }
  .header-nav li {
    flex: 1;
    -webkit-flex: 1;
  }
  .header-nav a {
    width: 100%;
    text-align: center;
    padding: 0;
    height: 34px;
    line-height: 34px;
  }
  .sort-li-item {
    margin-right: 14px;
    font-size: 12px;
  }
  .goods-selectall {
    display: none;
  }
  .goods-item {
    width: 48%;
    margin-right: 4%;
    margin-bottom: 4%;
  }
  .goods-item:nth-child(5n) {
    margin-right: 4%;
  }
  .goods-item:nth-child(2n) {
    margin-right: 0;
  }
  .goods-item-commis, .goods-item-quan {
    font-size: 12px;
    padding: 0 4px !important;
  }
  .filter-line-label, .sort-label {
    width: 56px;
    margin-right: 2px;
    font-size: 12px;
  }
  .filter-li-item {
    margin-right: 17px;
    margin-bottom: 6px;
    font-size: 12px;
  }
  .sort-li-item.color1 .iconfont, .sort-li-item:hover .iconfont {
    font-size: inherit;
  }
  .filter-line button, .sort-container button {
    width: 56px;
    height: 24px;
    line-height: 24px;
  }
  .filter-line button:first-child {
    margin-right: 9px;
  }
  .page-link {
    font-size: 12px;
    padding: .5rem;
  }
  .goods-item:hover .goods-action-badge {
    padding-right: 28px;
  }
  .selected-float {
    bottom: 5%;
  }
  #goodsEditModal .edit-img-box {
    width: 84px;
    height: 84px;
    margin-right: 12px;
    margin-bottom: 12px;
  }
}