body {
  height: 600px;
  width: 560px;
  margin: 0px;
  padding: 0px;
  font-size: 0;
  overflow: hidden;
  font-family: "microsoft yahei" !important;
}
body * {
  font-family: "microsoft yahei" !important;
  /*float: left;*/
}

/*ad banner*/
.ad-banner {  
  height: 68px;
  width: 100%;
  display: none;
  position: relative;
}
.ad-banner img {
  width: 100%;
}
.banner-close-btn {
  width: 8px;
  height: 8px;
  background: url('../images/popup/delete.png') 0px 0px no-repeat;
  position: absolute;
  right: 10px;
  top: 8px;
  cursor: pointer;
}



.head {
  width: 100%;
  height: 50px;
  background-color: #F7F7F7;
  position: relative;
}
.head>span {
  /*float: left;*/
  text-align: center;
}
.head>.nav-tab {
  width: 72px;
  height: 45px;
  line-height: 45px;
  font-size:18px;
  margin-top: 13px;
  color: #333;
  position: relative;
  cursor: pointer;
}
.head>.nav-tab span {
  position: relative;
  z-index: 3;
}
.history-tab {
  margin-left: 26px;
}
.store-tab {
  margin-left: 26px;
}
.top-logo {
  position: absolute;
  top: 6px;
  right: 74px;
  width: 80px;
  height: 39px;
  background: url("../images/popup/bjg-logo.png") 0px 0px no-repeat;
}
.head>.nav-tab.selected {
  font-weight:bold;
}
.head>.nav-tab.selected:before {
  display: block;
  content: "";
  width: 72px;
  height: 6px;
  background:linear-gradient(270deg,rgba(255,215,105,1) 0%,rgba(255,166,51,1) 100%);
  border-radius:3px;
  position: absolute;
  bottom: 0px;
  left: 0px;
  z-index: 0;
}
.history-nav {
  height: 56px;
  width: 100%;
  background-color: #fff;
}
.history-nav.scroll-state {
  box-shadow:0px 2px 4px 0px rgba(0,0,0,0.1);
}
.history-nav>.nav-sp {
  /*float: left;*/
  width:64px;
  height:24px;
  border-radius: 12px;
  text-align: center;
  line-height: 24px;
  font-size: 14px;
  margin-top: 16px;
}
.history-all, .history-reduce {
  background:rgba(235,235,235,1);
  margin-left: 26px;
  color: #666;
  cursor: pointer;
  display: inline-block;
}
.history-reduce.selected,.history-all.selected {
  margin-left: 24px;
  background:linear-gradient(270deg,rgba(255,205,71,1) 0%,rgba(255,159,34,1) 100%);
  color: #fff;
}
.history-nav span.history-edit {
  /*float: right;*/
  margin-right: 2px;
  cursor: pointer;
  color: #666;
}
.history-list-box ul {
  padding: 0px;
  margin: 0px;
}
.history-list-box li {
  list-style: none;
  /*float: left;*/
  width: 520px;
  height: 140px;
  border-bottom: 1px solid #EBEBEB;
  margin-left: 20px;
  margin-top: 10px;
  position: relative;
}
.history-list-box li:first-child {
  margin-top: 8px;
}
.history-list-box li:last-child {
  border-bottom: none;
}
.big-img {
  width: 110px;
  height: 110px;
  /*float: left;*/
  text-align: center;
  line-height: 110px;
  margin-top: 10px;
}
.big-img img {
  max-height: 100%;
  max-width: 100%;
  margin: 0 auto;
  vertical-align: middle;
  display: inline-block;
  float: none;
}
.item-info {
  margin-left: 24px;
  width: 386px;
  height: 110px;
  margin-top: 11px;
}
.history-list-box.edit-state li {
  margin-left: 0px;
  width: 540px;
}
.edit-state .item-info, .edit-state .item-tle {
  width: 366px;
}
.edit-state .hide-mod {
  display: none;
}
.edit-state .edit-btn {
  display: inline-block;
}
.edit-btn, .edit-banner>em{
  width:16px;
  height:16px;
  cursor: pointer;
  background: url("../images/popup/select-default.png") 0px 0px no-repeat;
}
.edit-btn {
  margin-left: 12px;
  margin-right: 12px;
  margin-top: 57px;
  display: none;
}
.edit-btn.selected, .edit-banner>em.selected {
  background: url("../images/popup/selected.png") 0px 0px no-repeat;
}
.item-tle {
  width: 386px;
  height: 40px;
  line-height: 20px;
  color: #333;
  font-size: 13px;
  text-decoration: none;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.item-tle:hover {
  text-decoration: underline;
}
.reduce-tle {
  height: 17px;
  font-size: 13px;
  line-height: 17px;
  color: #31C38A;
  /*float: right!important;*/
  visibility: hidden;
}
.reduce-tle.hasreduce {
  visibility: visible;
}
.reduce-tle span {
  display: inline;
  /*float: none!important;*/
}
.pri-info {
  height: 19px;
  width: 100%;
  margin-top: 14px;
}
.now-price {
  height:19px;
  font-size:14px;
  width: auto;
  color: #FF3434; 
}
.plus-price {
  margin-left: 10px;
  color: #3D4147;
  font-size: 14px;
  line-height: 19px;
}
.plus-price-em {
  width: 36px;
  height: 13px;
  background: url("../images/popup/plus.png") 0px 0px no-repeat;
  margin-left: 4px;
  margin-top: 3px;
}
.coupon-tip {
  width:39px;
  height:12px;
  background: url("../images/popup/coupon_tip.png") 0px 0px no-repeat;
  margin-left: 8px;
  margin-top: 4px;
}
.coupon-num {
  width:58px;
  height:18px;
  background: url("../images/popup/coupon_num.png") 0px 0px no-repeat;
  color: #FB930C;
  margin-left: 8px;
  line-height: 19px;
  text-align: center;
}

.history-list-box .site-icon {
  height: 16px;
  width: 16px;
  margin-right: 5px;
  margin-top: 19px;
  /*float: left;*/
}
.history-list-box .site-name {
  font-size: 12px;
  color: #999;
  /*float: left;*/
  margin-left: 5px;
  margin-top: 19px;
}
.reduce-mark {
  width: 30px;
  height: 16px;
  color: #fff;
  font-size: 12px;
  font-family: Helvetica;
  line-height: 13px;
  text-align: center;
  background: #31C38A;
  border-radius: 100px 0px 0px 100px;
  position: absolute;
  bottom: 21px;
  right: -14px;
  padding-left: 1px;
  display: none;
}
.reduce-mark.newreduce {
  display: inline-block;
}
.history-detail, .store-detail {
  display: none;
}
.history-list-box {
  width: 560px;
  height: 490px;
  /*float: left;*/
  overflow-x: hidden;
  overflow-y: scroll;
}
.hasbanner .history-list-box {
  height: 422px;
}
.hasbanner .history-list-box.edit-state  {
  height: 378px;
}
.history-list-box.edit-state {
  height: 446px;
}

.history-list-box .history-err {
  width: 100%;
  height: 100%;
  display: none;
}
.history-err em {
  width: 80px;
  height: 68px;
  /*float: left;*/
  margin-left: 240px;
  margin-top: 159px;
  background: url("../images/popup/nohistory.png") 0px 0px no-repeat;
}
.hasbanner .history-err em {
  margin-top: 125px;
}
.history-err span {
  margin-top: 30px;
  width: 100%;
  height: 17px;
  font-size: 13px;
  line-height: 17px;
  text-align: center;
  color: #666;
}
.history-err.reduce em {
  margin-left: 243px;
  background: url("../images/popup/noreduce.png") 0px 0px no-repeat;
}
.store-detail{
  width: 560px;
  height: 545px;
  /*float: left;*/
}
.hasbanner .store-detail {
  height: 477px;
}
.edit-banner {
  height: 44px;
  width: 560px;
  display: none;
  background-color: #fff;
}
.edit-banner.edit-state {
  display: inline-block;
}
.edit-banner>em {
  margin-left: 12px;
  margin-top: 14px;
}
.edit-banner>.select-all {
  width:28px;
  height:19px;
  font-size:14px;
  line-height:19px;
  color: #666;
  margin-top: 12px;
  margin-left: 14px;
  user-select:none;
}
.sel-del-btn {
  /*float: right;*/
  width:220px;
  height:44px;
  color: #fff;
  background-color: #FFB433;
  line-height: 44px;
  cursor: pointer;
  text-align: center;
  user-select:none;
}
.store-item {
  width: 113px;
  height: 82px;
  position: relative;
  border-radius: 4px;
  margin-top: 16px;
  margin-left: 20px;
  background-color: #fff;
  cursor: pointer;
  line-height: 82px;
  border:1px solid rgba(234,234,234,1);
  display: inline-block;
}
.store-item img {
  max-height: 80px;
  max-width: 110px;
  float: none;
  vertical-align: middle;
}
.store-item.mg-0 {
  margin-right: 0px;
}

.store-item span {
  display: none;
  width: 103px;
  padding: 0 5px;
  height: 26px;
  background-color: rgba(255,166,0,0.1364);
  color: #6C7880;
  line-height: 26px;
  text-align: center;
  position: absolute;
  bottom: 0px;
  left: 0px;
  z-index: 999;
  overflow: hidden;
}
.store-item:hover span {
  display: inline-block;
}

/* store nav */
.mini-nav {
  height: 50px;
  width: 560px;
  position: relative;
  z-index: 999999999;
}
.mini-nav.scroll-state {
  box-shadow:0px 2px 4px 0px rgba(0,0,0,0.1);
}
.mini-nav span {
  width: 72px;
  height: 24px;
  font-size: 14px;
  border-radius: 12px;
  background-color: #ebebeb;
  color: #666;
  margin-left: 18px;
  margin-top: 16px;
  text-align: center;
  line-height: 24px;
  cursor: pointer;
  display: inline-block;
}
.store-nav {
  /*display: none;*/
}
.store-box {
  width: 560px;
  height: 496px;
  overflow-x: hidden;
  overflow-y: scroll;
}
.hasbanner .store-box {
  height: 428px;
}
.mini-nav span:first-child {
  margin-left: 26px;
}
.mini-nav span:hover, .mini-nav span.select {
  color: #fff;
  background: linear-gradient(270deg,rgba(255,205,71,1) 0%,rgba(255,159,34,1) 100%);;
}

/* 滚动条样式 */
::-webkit-scrollbar {width:6px;}
::-webkit-scrollbar-track {background:#f0f0f0;}
::-webkit-scrollbar-thumb {
  background: #cdcdcd;
  border-radius: 12px;
}
::-webkit-scrollbar-thumb:hover {
  background: #666;
}