/*

CSS书写规范
--前缀使用规则--
各种组件最外层用「.wx-」开头
内部可使用box-、-box等各种双字节class
最内层可使用title、disc等单字节class
定义样式使用嵌套的.wx-xx xx-box title {width:100%}这种形式
（可搜索「.wx-panel」参照学习）

禁止自定的的前缀：
.container（主框架已经占用）
.wx-color（色彩指定已占用）
.icon、.icon-（已被图标已占用）
.flex、.flex-（flex布局已占用）
.btn、.btn-（已被按钮占用）
.hidden（已被隐藏占用）


--iconfont使用说明--
使用方法1：<i className="icon icon-search"></i>
*变成块元素：<i className="icon icon-search icon-block"></i>
使用方法2:<div className="icon-unicode">&#xe638;</div>
*可放在placeholder里<input placeholder="&#xe638; 搜索" />

--z-index层级说明--
*双数为内容层，单数为遮罩层（蒙层）
8-弹窗层
7-弹窗的遮罩（蒙层）
6-selectView 页面内全屏弹层
4-顶部topbar、navbar
2-页面浮动内容（分享按钮、浮动的红包等）
0-基础内容（内容区）

Tip：
1、所有使用overflow:auto的地方必须使用-webkit-overflow-scrolling:touch; 来兼容IOS滑动流畅性。

*/


/*weui-base*/

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  line-height: 1.6;
  font-family: -apple-system-font, "Helvetica Neue", sans-serif;
}

* {
  margin: 0;
  padding: 0;
}

a img {
  border: 0;
}

a {
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}





/*normalize.css 4.2.0*/

html {
  font-family: sans-serif;
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

progress {
  vertical-align: baseline;
}

template,
[hidden] {
  display: none;
}

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

a:active,
a:hover {
  outline-width: 0;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: inherit;
}

b,
strong {
  font-weight: bolder;
}

dfn {
  font-style: italic;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

mark {
  background-color: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

svg:not(:root) {
  overflow: hidden;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

figure {
  margin: 1em 40px;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

button,
input,
optgroup,
select,
textarea {
  font: inherit;
  margin: 0;
}

optgroup {
  font-weight: bold;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html [type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-input-placeholder {
  color: inherit;
  opacity: 0.54;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}





/*基础设置*/

html,
body,
#root,
.container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}





/*盒模型*/

*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}





/*按钮基本*/

* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

button {
  display: block;
  -webkit-appearance: none;
  outline: none;
  border: 0;
  background: none;
}

input[type=button],
input[type=number],
input[type=tel] {
  display: block;
  -webkit-appearance: none;
  outline: none;
  border: 0;
  background: none;
}

input[type=text],
input[type=tel],
input[type=password],
select {
  -webkit-appearance: none;
  outline: none;
  border: 0;
  background: none;
}





/*wxapp微信APP不同的样式*/

.wxapp-paddingtop {
  padding-top: 50px;
}





/*间距*/

.wx-padding-bottom {
  padding-bottom: 50px;
}





/*基础滚动*/

.wx-scroll,
.scroll {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.wx-scroll-horizontal,
.scroll-horizontal {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.wx-scroll-vertical,
.scroll-vertical {
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}





/*基础色彩*/

a {
  color: #1A1A1F;
}

body {
  color: #1A1A1F;
}





/*基础动画*/

@keyframes btn-scale-anime {
  0% {
    transform: scale(1, 1)
  }
  50% {
    transform: scale(1.2, 1.2)
  }
  100% {
    transform: scale(1, 1)
  }
}





/*隐藏*/

.hidden {
  display: none;
}





/*Flexbox*/

.flex {
  /* 设置弹性布局 */
  display: -webkit-box;
  /* 老版本语法: Safari, iOS, Android browser, older WebKit browsers. */
  display: -webkit-flex;
  /* 新版本语法: Chrome 21+ */
  display: flex;
  /* 新版本语法: Opera 12.1, Firefox 22+ */
}





/*默认水平布局，设置纵向加标签 */

.flex-direction-column {
  /* 设置弹性布局的方向，子元素按照在源文档中声明的顺序从上到下显示 */
  -webkit-box-orient: vertical;
  /* android 2.1-3.0, ios 3.2-4.3 */
  -webkit-flex-direction: column;
  /* Chrome 21+ */
  flex-direction: column;
  /* android 4.4 */
}





/*对齐－顺向位置*/

.flex-pack-center {
  -webkit-box-pack: center;
  /* android 2.1-3.0, ios 3.2-4.3 */
  -webkit-justify-content: center;
  /* Chrome 21+ */
  justify-content: center;
  /* android 4.4 */
}

.flex-pack-start {
  -webkit-box-pack: start;
  /* android 2.1-3.0, ios 3.2-4.3 */
  -webkit-justify-content: flex-start;
  /* Chrome 21+ */
  justify-content: flex-start;
  /* android 4.4 */
}

.flex-pack-end {
  -webkit-box-pack: end;
  /* android 2.1-3.0, ios 3.2-4.3 */
  -webkit-justify-content: flex-end;
  /* Chrome 21+ */
  justify-content: flex-end;
  /* android 4.4 */
}

.flex-pack-justify {
  -webkit-box-pack: justify;
  /* android 2.1-3.0, ios 3.2-4.3 */
  -webkit-justify-content: space-between;
  /* Chrome 21+ */
  justify-content: space-between;
  /* android 4.4 */
}

.flex-pack-around {
  -webkit-justify-content: space-around;
  /* Chrome 21+ */
  justify-content: space-around;
  /* android 4.4 */
}





/*对齐－垂向位置*/

.flex-align-center {
  -webkit-box-align: center;
  /* android 2.1-3.0, ios 3.2-4.3 */
  -webkit-align-items: center;
  /* Chrome 21+ */
  align-items: center;
  /* android 4.4 */
}

.flex-align-start {
  -webkit-box-align: start;
  /* android 2.1-3.0, ios 3.2-4.3 */
  -webkit-align-items: flex-start;
  /* Chrome 21+ */
  align-items: flex-start;
  /* android 4.4 */
}

.flex-align-end {
  -webkit-box-align: end;
  /* android 2.1-3.0, ios 3.2-4.3 */
  -webkit-align-items: flex-end;
  /* Chrome 21+ */
  align-items: flex-end;
  /* android 4.4 */
}

.flex-align-baseline {
  -webkit-box-align: baseline;
  /* android 2.1-3.0, ios 3.2-4.3 */
  -webkit-align-items: baseline;
  /* Chrome 21+ */
  align-items: baseline;
  /* android 4.4 */
}

.flex-align-stretch {
  -webkit-box-align: stretch;
  /* android 2.1-3.0, ios 3.2-4.3 */
  -webkit-align-items: stretch;
  /* Chrome 21+ */
  align-items: stretch;
  /* android 4.4 */
}





/* 子元素自动占据剩余的空间 */

.flex-1 {
  -webkit-box-flex: 1;
  /* android 2.1-3.0, ios 3.2-4.3 */
  -webkit-flex: 1;
  /* Chrome 21+ */
  flex: 1;
  /* android 4.4 */
}

.flex-2 {
  -webkit-box-flex: 2;
  /* android 2.1-3.0, ios 3.2-4.3 */
  -webkit-flex: 2;
  /* Chrome 21+ */
  flex: 2;
  /* android 4.4 */
}

.flex-3 {
  -webkit-box-flex: 3;
  /* android 2.1-3.0, ios 3.2-4.3 */
  -webkit-flex: 3;
  /* Chrome 21+ */
  flex: 3;
  /* android 4.4 */
}

.flex-4 {
  -webkit-box-flex: 4;
  /* android 2.1-3.0, ios 3.2-4.3 */
  -webkit-flex: 4;
  /* Chrome 21+ */
  flex: 4;
  /* android 4.4 */
}

.flex-5 {
  -webkit-box-flex: 5;
  /* android 2.1-3.0, ios 3.2-4.3 */
  -webkit-flex: 5;
  /* Chrome 21+ */
  flex: 5;
  /* android 4.4 */
}

.flex-6 {
  -webkit-box-flex: 6;
  /* android 2.1-3.0, ios 3.2-4.3 */
  -webkit-flex: 6;
  /* Chrome 21+ */
  flex: 6;
  /* android 4.4 */
}

.flex-7 {
  -webkit-box-flex: 7;
  /* android 2.1-3.0, ios 3.2-4.3 */
  -webkit-flex: 7;
  /* Chrome 21+ */
  flex: 7;
  /* android 4.4 */
}

.flex-8 {
  -webkit-box-flex: 8;
  /* android 2.1-3.0, ios 3.2-4.3 */
  -webkit-flex: 8;
  /* Chrome 21+ */
  flex: 8;
  /* android 4.4 */
}

.flex-w {
  width: 1px;
}

.flex-wrap {
  -webkit-box-lines: multiple;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}





/*icon*/

.icon {
  line-height: 1;
}

.icon-block:before {
  display: block;
}





/*wechat*/

.icon-unicode {
  font-family: "icon" !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: 0.2px;
  -moz-osx-font-smoothing: grayscale;
}





/*文字*/

.text-overflow-hidden {
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: keep-all;
  white-space: nowrap;
}

.text-align-right {
  text-align: right;
}





/*REM - dev*/


/*
320 iphone SE
360 andriod
375 iphone 7
414 iphone 7 plus
748 iPad
1024 iPad Pro
*/

body {
  font-size: 16px;
}





/*checkbox*/

.wx-checkbox {
  padding: 2px;
  width: 26px;
  height: 26px;
  position: relative;
}

.wx-checkbox .checkbox {
  display: block;
  position: absolute;
  width: 26px;
  height: 26px;
  z-index: 2;
  opacity: 0;
}

.wx-checkbox .icon {
  font-size: 22px;
  line-height: 1;
  position: relative;
}

.wx-checkbox .icon-select,
.wx-checkbox .icon-select-all {
  display: block;
  color: #b2b2b2;
}

.wx-checkbox .icon-selected {
  display: none;
  color: #ff3e23;
}

.wx-checkbox .checkbox:checked~.icon-select,
.wx-checkbox .checkbox:checked~.icon-select-all {
  display: none;
}

.wx-checkbox .checkbox:checked~.icon-selected {
  display: block;
  animation: btn-scale-anime 0.3s linear;
}





/*点击穿透*/

.wx-notouch {
  pointer-events: none;
}





/*按钮*/

.wx-btn {
  background: #ff3e23;
  color: #fff;
}

.wx-btn.wx-btn-secondary {
  background: #fff;
  color: #ff3e23;
  border: 1px solid #ff3e23;
}

.wx-btn.wx-btn-thirdly {
  background: #fff;
  color: #b2b2b2;
  border: 1px solid #b2b2b2;
}

.wx-btn.wx-color-gray {
  background: #b2b2b2;
  color: #fff;
}

.wx-btn.wx-color-lightgray {
  background: #f2f2f2;
  color: #1A1A1F;
}

.wx-btn.wx-color-dark {
  background: #1A1A1F;
  color: #fff;
}

.wx-btn-inpanel {
  height: 0.56rem;
  border-radius: 0.28rem;
  padding: 0 0.16rem;
  font-size: 0.24rem;
}

.wx-btn-half {
  font-size: 0.32rem;
  width: 50%;
  height: 0.8rem;
  line-height: 0.8rem;
  border-radius: 0.4rem;
  display: block;
  text-align: center;
}

.wx-btn-eighty {
  padding: 0 16px;
  font-size: 16px;
  width: 80%;
  height: 46px;
  line-height: 46px;
  border-radius: 23px;
  display: block;
  text-align: center;
}

@media (min-width:400px) {
  .wx-btn-eighty {
    height: 50px;
    border-radius: 25px;
    font-size: 18px;
  }
}

.wx-btn-fullwidth {
  padding: 0 16px;
  width: 100%;
  display: block;
  text-align: center;
}





/*色彩*/

.wx-color-main {
  color: #ff3e23;
}

.wx-color-dark {
  color: #1A1A1F;
}

.wx-color-gray {
  color: #B2B2B2;
}

.wx-color-lightgray {
  color: #f2f2f2;
  ;
}

.wx-color-white {
  color: #fff;
}





/*Panel*/

.wx-warp {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.wx-panel-group {
  padding: 0 10px;
  background-color: #fff;
  margin-bottom: 10px;
}

.wx-panel-group.wx-panel-nomargin {
  margin-bottom: 0;
  border-bottom: 1px solid #f2f2f2;
}

.wx-panel-group:last-child {
  margin-bottom: 0;
}

.wx-panel {
  min-height: 46px;
  font-size: 16px;
  line-height: 1;
  padding: 8px 0;
  border-bottom: 1px solid #f2f2f2;
}

@media (min-width:400px) {
  .wx-panel {
    min-height: 50px;
    font-size: 18px;
  }
}

.wx-panel:last-child {
  border-bottom: 0;
}

.wx-panel .title {
  color: #1A1A1F;
  word-break: keep-all;
  white-space: nowrap;
}

.wx-panel .title.wx-color-gray {
  color: #b2b2b2;
}

.wx-panel .info {
  color: #1A1A1F;
}

.wx-panel .info .line-main {
  font-size: 16px;
}

.wx-panel .info .line-main span {
  margin-right: 6px;
}

.wx-panel .info .line-main span:last-child {
  margin-right: 0;
}

.wx-panel .title .tip,
.wx-panel .info .tip {
  margin-left: 6px;
}

.wx-panel .info .line-secondary {
  margin-top: 4px;
  font-size: 12px;
  line-height: 16px;
}

.wx-panel .desc {
  color: #b2b2b2;
  font-size: 14px;
  margin: 0 6px;
}

@media (min-width:400px) {
  .wx-panel .desc {
    font-size: 16px;
  }
}

.wx-panel select.desc {
  text-align: right;
  /*direction: rtl;*/
  min-width: 50px;
  height: 24px;
}

.wx-panel textarea {
  min-width: 50px;
  min-height: 112px;
  line-height: 1.4;
  resize: none;
}

.wx-panel input.desc {
  text-align: left;
  min-width: 50px;
  height: 24px;
}

.wx-panel input.right {
  text-align: right;
}

.wx-panel .desc.wx-color-main {
  color: #ff3e23;
}

.wx-panel .desc.wx-color-dark {
  color: #1A1A1F;
}

.wx-panel .desc:last-child {
  margin-right: 0;
}

.wx-panel .wx-icon-start {
  width: 16px;
  height: 16px;
  font-size: 16px;
  color: #B2B2B2;
  margin-right: 16px;
}

.wx-panel .icon-arrow-right {
  width: 14px;
  height: 14px;
  font-size: 14px;
  color: #B2B2B2;
}

.wx-panel .icon-sort {
  width: 12px;
  height: 12px;
  font-size: 12px;
  color: #B2B2B2;
  transform: rotate(180deg)
}

.wx-panel .img-start {
  width: 24px;
  height: 24px;
  display: block;
  margin-right: 10px;
}

.wx-panel .input {
  width: 100%;
  min-height: 40px;
  border: 1px solid #f2f2f2;
  padding: 0 8px;
}

.wx-panel .goods {
  overflow: auto;
  position: relative;
  -webkit-overflow-scrolling: touch;
}

.wx-panel .goods img {
  height: 40px;
  width: auto;
  min-width: 40px;
  max-width: 40px;
  display: block;
  margin-right: 6px;
  border: 1px solid #f2f2f2;
}

.wx-panel .goods img:last-child {
  margin-right: 0;
}

.wx-panel .price {
  text-align: right;
}

.wx-panel .price .text {
  margin-right: 6px;
}

.wx-panel .price .number {
  color: #1A1A1F;
}

.wx-panel .price .line-main {}

.wx-panel .price .line-secondary {
  margin-top: 6px;
  font-size: 12px;
}

.wx-panel .class {
  font-size: 14px;
  margin-left: 10px;
}

.wx-panel-group.hidden {
  display: none;
}

.wx-panel.hidden {
  display: none;
}

.wx-panel .tip {
  font-size: 12px;
  color: #fff;
  background-color: #ff3e23;
  height: 14px;
  line-height: 14px;
  padding: 0 8px;
  border-radius: 7px;
  display: inline-block;
}

.wx-panel .tip.wx-color-gray {
  background-color: #B2B2B2;
}





/*输入6位数密码组件*/

.wx-password-six {
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 8;
}

.wx-password-six.hidden {
  display: none;
}

.wx-password-six .mask {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 7;
}

.wx-password-six .panel {
  width: 100%;
  background: #fff;
  position: absolute;
  bottom: 0;
  padding: 10px 0 16px;
  z-index: 8;
}

.wx-password-six .title {
  text-align: center;
  margin-bottom: 10px;
}

.wx-password-six .password {
  border-top: 1px solid #B2B2B2;
  border-right: 1px solid #B2B2B2;
  border-bottom: 1px solid #B2B2B2;
  width: 16%;
  height: 36px;
  line-height: 36px;
  font-size: 32px;
  display: block;
  text-align: center;
}

.wx-password-six #paypassword-0 {
  border-left: 1px solid #B2B2B2;
  border-radius: 2px 0 0 2px;
  ;
}

.wx-password-six #paypassword-5 {
  border-radius: 0 2px 2px 0;
}

.wx-password-six .show-box {
  width: 96%;
  position: relative;
}

.wx-password-six .show-box .show {
  width: 16.6%;
  height: 36px;
  line-height: 36px;
  border-top: 1px solid #B2B2B2;
  border-right: 1px solid #B2B2B2;
  border-bottom: 1px solid #B2B2B2;
  text-align: center;
}

.wx-password-six .show-box .show:first-child {
  border-left: 1px solid #B2B2B2;
  border-radius: 2px 0 0 2px;
}

.wx-password-six .show-box .show:last-child {
  border-radius: 0 2px 2px 0;
}

.wx-password-six .show-box .circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #000;
  display: none;
}

.wx-password-six .show-box.show-0 .circle {
  display: none;
}





/*1*/

.wx-password-six .show-box.show-1 .show:nth-child(1) .circle {
  display: block;
}





/*2*/

.wx-password-six .show-box.show-2 .show:nth-child(1) .circle {
  display: block;
}

.wx-password-six .show-box.show-2 .show:nth-child(2) .circle {
  display: block;
}





/*3*/

.wx-password-six .show-box.show-3 .show:nth-child(1) .circle {
  display: block;
}

.wx-password-six .show-box.show-3 .show:nth-child(2) .circle {
  display: block;
}

.wx-password-six .show-box.show-3 .show:nth-child(3) .circle {
  display: block;
}





/*4*/

.wx-password-six .show-box.show-4 .show:nth-child(1) .circle {
  display: block;
}

.wx-password-six .show-box.show-4 .show:nth-child(2) .circle {
  display: block;
}

.wx-password-six .show-box.show-4 .show:nth-child(3) .circle {
  display: block;
}

.wx-password-six .show-box.show-4 .show:nth-child(4) .circle {
  display: block;
}





/*5*/

.wx-password-six .show-box.show-5 .show:nth-child(1) .circle {
  display: block;
}

.wx-password-six .show-box.show-5 .show:nth-child(2) .circle {
  display: block;
}

.wx-password-six .show-box.show-5 .show:nth-child(3) .circle {
  display: block;
}

.wx-password-six .show-box.show-5 .show:nth-child(4) .circle {
  display: block;
}

.wx-password-six .show-box.show-5 .show:nth-child(5) .circle {
  display: block;
}





/*6*/

.wx-password-six .show-box.show-6 .circle {
  display: block;
}

.wx-password-six .show-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 36px;
  opacity: 0;
  z-index: 1;
  border: 0;
  background-color: rgba(0, 0, 0, 0)
}





/*Modal*/

.wx-modal {
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 8;
}

.wx-modal.hidden {
  display: none;
}

.wx-modal .mask {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 7;
}

.wx-modal .panel {
  width: 80%;
  height: auto;
  background: #fff;
  padding: 10px 0 0;
  z-index: 8;
  border-radius: 8px;
  text-align: center;
}

.wx-modal .title {
  text-align: center;
  margin: 20px 0;
  line-height: 1.2;
  padding: 10px;
}

.wx-modal .content {
  width: 100%;
  height: auto;
}

.wx-modal .box-btn {
  border-top: 1px solid #efefef;
}

.wx-modal .wx-modal-btn {
  width: auto;
  height: 50px;
  border-right: 1px solid #efefef;
}

.wx-modal-btn:last-child {
  border-right: none;
}





/*loading*/

.wx-loading {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 6;
  background-color: rgba(255, 255, 255, 0.8);
}

.wx-loading.hidden {
  display: none;
}

.wx-loading .loading-topbar {
  width: 100%;
  height: 50px;
  position: absolute;
  top: 0;
  background-color: #fff;
  text-align: center;
  border-bottom: 1px solid #f2f2f2;
  font-size: 16px;
  line-height: 50px;
  font-weight: bold;
}

.wx-loading .icon {
  display: block;
  width: 32px;
  height: 32px;
  font-size: 32px;
  line-height: 1;
  color: #ff3e23;
  animation: loading-anime 1s infinite linear;
}

@keyframes loading-anime {
  0% {
    transform: rotate(0deg)
  }
  100% {
    transform: rotate(360deg)
  }
}

.wx-loading .title {
  text-align: center;
  color: #333;
  margin-top: 16px;
}





/*// mini购物车*/

@keyframes cartAnimation {
  0% {
    transform: translateX(0);
  }
  25% {
    opacity: 1;
  }
  50% {
    transform: translateX(100px);
    opacity: 0;
  }
  51% {
    transform: translateX(-70px);
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
  85% {
    transform: translateX(6px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes cartAnimation2 {
  0% {
    transform: scale(1, 1) translate(0, 0);
  }
  25% {
    transform: scale(0, 0) translate(50px, -20px);
  }
  51% {
    transform: scale(0, 0) translate(50px, -20px);
  }
  85% {
    transform: scale(1.1, 1.1) translate(0, 0);
  }
  100% {
    transform: scale(1, 1);
  }
}

.wx-fixed-cart {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 62, 35, 0.94);
  box-shadow: 0 1px 4px 0 rgba(133, 133, 133, 0.50);
  position: absolute;
  right: 10px;
  bottom: 60px;
  color: #fff;
}

.wx-fixed-cart.anime i {
  animation: cartAnimation 0.8s ease;
}

.wx-fixed-cart.anime .number {
  animation: cartAnimation2 0.8s ease;
}

.wx-fixed-cart i {
  font-size: 28px;
}

.wx-fixed-cart .number {
  height: 24px;
  min-width: 24px;
  line-height: 24px;
  border-radius: 12px;
  font-size: 14px;
  background-color: #fff;
  border: #ff3e23 1px solid;
  position: absolute;
  top: -5px;
  right: -6px;
  color: #ff3e23;
  text-align: center;
  padding: 0 4px;
}

@media (max-width: 350px) {
  .wx-fixed-cart {
    width: 40px;
    height: 40px;
  }
  .wx-fixed-cart i {
    font-size: 24px;
  }
  .wx-fixed-cart .number {
    height: 20px;
    min-width: 20px;
    line-height: 20px;
    border-radius: 10px;
    font-size: 12px;
  }
}

@media (min-width: 400px) {
  .wx-fixed-cart {
    width: 56px;
    height: 56px;
  }
  .wx-fixed-cart i {
    font-size: 32px;
  }
}
