@import "vue-1px";
.vux-header {
  position: absolute !important;
  top: 0;
  width: 100%;
  height: 0.92rem;
  font-size: 0.28rem !important;
  background: white;
  .vux-header-left {
    font-size: 0.28rem !important;
    top: 0.24rem !important;
    line-height: 0.42rem !important;
    .vux-header-back {

    }
    .left-arrow {
      &before {
        width: 0.24rem !important;
        height: 0.24rem !important;
      }
    }
  }
  .vux-header-title {
    height: 0.8rem !important;
    line-height: 0.8rem !important;
    font-size: 0.36rem !important;
  }
  .vux-header-right {

  }
}

.weui-mask {
  background: rgba(0, 0, 0, 0.3) !important;
}

.weui-loading_toast .weui-toast__content {
  margin-top: 0.14rem !important;
}

.weui-toast {
  //width: 6em !important;
  min-width: 6em;
  max-width: 14em;
  min-height: 3em !important;
  top: 38% !important;
  border-radius: 0.3rem !important;
}

.weui-toast.vux-toast-top {
  top: 10% !important;
}

.weui-toast_text {
  min-height: 0 !important;
  width: auto !important;
  max-height: 12em;
}

.weui-icon_toast {
  margin: 0.3rem 0 0 !important;
}

.weui-icon_toast.weui-loading {
  width: 0.64rem !important;
  height: 0.64rem !important;
}

.weui-toast__content {
  //margin: 0 0 30px !important;
  font-size: 0.32rem !important;
}

.weui-toast_text .weui-toast__content {
  border-radius: 0.2rem !important;
  padding: 0.12rem 0.14rem !important;
}

.weui-toast.vux-toast-bottom {
  top: auto !important;
  bottom: 1rem !important;
}

.weui-toast_success {
  min-width: 6em !important;
  max-width: 18em !important;
  min-height: 6em !important;
  width: auto !important;

  .weui-toast__content {
    margin: 0.2rem 0.1rem !important;
    line-height: 0.42rem !important;
  }
}

.weui-toast.vux-toast-middle {
  top: 47% !important;
}

.weui-toast_forbidden {
  min-width: 6em !important;
  max-width: 18em !important;
  min-height: 6em !important;
  width: auto !important;
}

.weui-toast.weui-toast_forbidden .weui-toast__content {
  margin: 0.2rem 0.1rem !important;
  line-height: 0.42rem !important;
}

.weui-icon_toast.weui-loading {
  margin: 0.24rem 0 0 !important;
}

.weui-icon_toast.weui-icon-success-no-circle:before {
  font-size: 0.68rem !important;
}

.weui-dialog {
  width: 70% !important;
  max-width: 5.2rem !important;
  border-radius: 0.2rem !important;
}

.weui-dialog__hd {
  padding: 1.5em 1.6em 0.5em !important;
}

.weui-tabbar__item {
  padding: 0.12rem 0 0 !important;
}

.weui-tabbar__icon {
  width: 0.44rem !important;
  height: 0.44rem !important;
}

.weui-tabbar__label {
  font-size: 0.24rem !important;

}

.weui-tab__panel {
  padding-bottom: 0px !important;
}

.weui-dialog__title {

  font-weight: 600 !important;
  font-size: 0.36rem !important;
}

.weui-dialog__bd {
  font-size: 0.3rem !important;
  min-height: 0.4rem;
}

.weui-dialog__ft {
  line-height: 0.96rem !important;
  font-size: 0.36rem !important;
}

.dp-header {
  .vux-datetime-cancel {
    padding-left: 0.3rem !important;
  }
  .vux-datetime-confirm {
    padding-right: 0.3rem !important;
  }
}

.dp-header .dp-item {
  font-size: 0.32rem !important;
  height: 0.88rem !important;
  line-height: 0.88rem !important;
}

.dp-content {
  padding: 0.2rem 0 !important;
}

.scroller-component {
  height: 4.76rem !important;
  background-color: #fff;
  z-index: 2;
}

.scroller-mask {
  background-size: 100% 2.04rem !important;
}

.scroller-indicator {
  top: 2.04rem !important;
  height: 0.68rem !important;
  line-height: 0.68rem !important;
  //border-bottom: 1px solid #cccccc !important;
  //border-top: 1px solid #cccccc !important;
  background-image: none !important;
  //&:before {
  border-top: 1px solid rgba(0, 0, 0, .1);  /*no*/
  border-bottom: 1px solid rgba(0, 0, 0, .1);  /*no*/
  //}
  /*&:after {
    .setBottomLine();
  }*/
}

.scroller-item {
  font-size: 0.32rem !important;
  height: 0.68rem !important;
  line-height: 0.68rem !important;
}

.weui-cells {
  margin-top: 0 !important;
}

.weui-cells:before {
  border-bottom: none !important;
  border-top: none !important;
}

.weui-cells:after {
  border-bottom: none !important;
  border-top: none !important;
}

.weui-cell {
  padding: 0px !important;
}

.weui-textarea {
  font-size: 0.32rem !important;
}

.lg-preview-img {
  height: 80%;
  width: 80%;
}

.slide-right-enter-active,
.slide-right-leave-active,
.slide-left-enter-active,
.slide-left-leave-active {
  will-change: transform;
  transition: all 400ms;
  position: absolute;
}

.slide-right-enter {
  opacity: 0;
  transform: translate3d(-100%, 0, 0);
}

.slide-right-leave-active {
  opacity: 0;
  transform: translate3d(100%, 0, 0);
}

.slide-left-enter {
  opacity: 0;
  transform: translate3d(100%, 0, 0);
}

.slide-left-leave-active {
  opacity: 0;
  transform: translate3d(-100%, 0, 0);
}

// 平移滑动
.router-slide-left-enter, .router-slide-right-leave-to {
  position: absolute;
  opacity: 0;
  -webkit-transform: translate3d(50%, 0, 0);
  transform: translate3d(50%, 0, 0);
}

.router-slide-left-leave-to, .router-slide-right-enter {
  position: absolute;
  opacity: 0;
  -webkit-transform: translate3d(-50%, 0, 0);
  transform: translate3d(-50%, 0, 0);
}

.router-slide-left-enter-active, .router-slide-left-leave-active, .router-slide-right-enter-active, .router-slide-right-leave-active {
  transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1)
}

.fade-enter-active {
  animation: bounce-in .4s;
}

.fade-leave-active {
  animation: bounce-out .4s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.slide-in-up-enter-active {
  animation: slideInUp 0.2s cubic-bezier(0.36, 0.66, 0.04, 1);
}

.slide-in-up-leave-active {
  animation: slideInUp 0.2s cubic-bezier(0.36, 0.66, 0.04, 1) reverse;
}

.slide-in-down-enter-active {
  animation: slideInDown 0.2s cubic-bezier(0.36, 0.66, 0.04, 1);
}

.slide-in-down-leave-active {
  animation: slideInDown 0.2s cubic-bezier(0.36, 0.66, 0.04, 1) reverse;
}

@keyframes slideInUp {
  from {
    transform: translate3d(0, 100%, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInDown {
  from {
    transform: translate3d(0, -100%, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes bounce-in {
  0% {
    transform: translate3d(-100%, 0, 0);
  }
  25% {
    transform: translate3d(-75%, 0, 0);
  }
  50% {
    transform: translate3d(-50%, 0, 0);
  }
  75% {
    transform: translate3d(-25%, 0, 0);
  }
  100% {
    transform: translate3d(0px, 0, 0);
  }
}

@keyframes bounce-out {
  0% {
    transform: translate3d(0, 0, 0);
  }
  25% {
    transform: translate3d(25%, 0, 0);
  }
  50% {
    transform: translate3d(50%, 0, 0);
  }
  75% {
    transform: translate3d(75%, 0, 0);
  }
  100% {
    transform: translate3d(100%, 0, 0);
  }
}

.setTopLine(@c: rgba(0,0,0,.1)) {
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 1px;  /*no*/
  border-top: 1px solid @c;  /*no*/
  color: @c;
  transform-origin: 0 0;
  transform: scaleY(0.5);
}

.setBottomLine(@c: rgba(0,0,0,.1)) {
  content: " ";
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 1px;  /*no*/
  border-bottom: 1px solid @c;  /*no*/
  color: @c;
  transform-origin: 0 100%;
  transform: scaleY(0.5);
}

.setLeftLine(@c: rgba(0,0,0,.1)) {
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;  /*no*/
  bottom: 0;
  border-left: 1px solid @c;  /*no*/
  color: @c;
  transform-origin: 0 0;
  transform: scaleX(0.5);
}

.setRightLine(@c: rgba(0,0,0,.1)) {
  content: " ";
  position: absolute;
  right: 0;
  top: 0;
  width: 1px;  /*no*/
  bottom: 0;
  border-right: 1px solid @c;  /*no*/
  color: @c;
  transform-origin: 100% 0;
  transform: scaleX(0.5);
}

.setLine(@c: rgba(0,0,0,.1)) {
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  width: 200%;
  border: 1px solid @c;  /*no*/
  color: @c;
  height: 200%;
  transform-origin: left top;
  transform: scale(0.5);
}

.vue-1px, .vue-1px-t, .vue-1px-b, .vue-1px-tb, .vue-1px-l, .vue-1px-r {
  position: relative;
}

.vux-1px {
  &:before {
    .setLine();
  }
}

.vue-1px-t {
  &:before {
    .setTopLine();
  }
}

.vue-1px-b {
  &:after {
    .setBottomLine();
  }
}

.vue-1px-tb {
  &:before {
    .setTopLine();
  }
  &:after {
    .setBottomLine();
  }
}

.vue-1px-l {
  &:before {
    .setLeftLine();
  }
}

.vue-1px-r {
  &:after {
    .setRightLine();
  }
}



