OrderPopup.wxss 7.3 KB
/* components/OrderPopup/OrderPopup.wxss */
.order-popup {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 998;
  /* transform-style: preserve-3d; */
  perspective: 99999999px;
}

.order-popup-bg {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  animation: show-popup-bg .1s forwards .5s;

}

@keyframes show-popup-bg {
  0% {
    background-color: rgba(0, 0, 0, 0);
  }

  100% {
    background-color: rgba(0, 0, 0, .6);
  }
}

.text-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-popup-content {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(100% - var(--fontSize128));
  background: #FFFFFF;
  box-shadow: 0 var(--fontSize4) var(--fontSize20) 0 rgba(0, 0, 0, 0.10);
  border-radius: var(--fontSize16);
  box-sizing: border-box;
  animation: show-modal .5s forwards;
}

@keyframes show-modal {
  0% {
    opacity: 0;
    transform: translate3d(-50%, -50%, -99999999px);
  }

  100% {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0);
  }
}

.order-popup-close {
  position: absolute;
  top: var(--fontSize26);
  right: var(--fontSize28);
  width: var(--fontSize44);
  height: var(--fontSize46);

}

.order-popup-content .title {
  padding: var(--fontSize26) 0 var(--fontSize32);
  font-size: var(--fontSize32);
  color: #333333;
  font-weight: 600;
  text-align: center;
}

.order-popup-content .textarea {
  background: #F7F7F7;
  border: var(--fontSize1) solid #C3C3C3;
  border-radius: var(--fontSize12);
  width: var(--fontSize552);
  height: var(--fontSize240);
  box-sizing: border-box;
  margin: 0 auto var(--fontSize20);
  padding: var(--fontSize25) var(--fontSize30);
  font-size: var(--fontSize28);
  color: #333333;
}

.order-popup-content .shortcut-list {
  padding: 0 var(--fontSize52) 0 var(--fontSize40);
  display: flex;
  flex-wrap: wrap;
  height: var(--fontSize165);
  overflow: hidden;
}

.order-popup-content .shortcut-list .shortcut {
  padding: 0 var(--fontSize24);
  height: var(--fontSize59);
  line-height: var(--fontSize59);
  background: #F7F7F7;
  border-radius: var(--fontSize8);
  font-size: var(--fontSize24);
  color: #888888;
  max-width: calc(100% - var(--fontSize48));
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 var(--fontSize20) var(--fontSize12);
}

/* .order-popup-content .shortcut-list .shortcut.active {
  color: #FFFFFF;
  background: #347BFF;
} */

.order-popup-content .input-item {
  display: flex;
  align-items: center;
  font-size: var(--fontSize24);
  color: #333333;
  padding: 0 var(--fontSize48);
}

.order-popup-content .input-box {
  width: 100%;
  height: var(--fontSize64);
  border: var(--fontSize2) solid #EFF0F2;
  border-radius: var(--fontSize8);
  background: #F4F5F7;
  box-sizing: border-box;
  padding: 0 var(--fontSize20);
  display: flex;
  align-items: center;
  overflow: scroll;
}

.order-popup-content .input-box .input {
  width: 100%;
  height: 100%;
}

.order-popup-content .input-box .input .outTradeNo_placeholder{
  color: #B6B6B8;
  font-size: var(--fontSize24);
}

.order-popup-content .upload-content{
  display: flex;
  flex-flow: column;
  padding: var(--fontSize24) var(--fontSize48);
}
.order-popup-content .upload-content .title-text{
  font-weight: 500;
  font-size: var(--fontSize28);
  color: #282829;
  margin-bottom: var(--fontSize18);
}
.van-uploader .van-uploader__wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fontSize22);
}
.van-uploader .van-uploader__wrapper .van-uploader__upload{
  order: -1;
}
.van-uploader .van-uploader__wrapper .van-uploader__preview,.van-uploader__upload{
  margin: 0;
  border-radius: var(--fontSize8);
  /* width: var(--fontSize160) !important;
  height: var(--fontSize160) !important; */
  position: relative;
}
.van-uploader .van-uploader__wrapper .van-uploader__preview image{
  border-radius: var(--fontSize8);
  /* width: var(--fontSize160) !important;
  height: var(--fontSize160) !important; */
}
.van-uploader .van-uploader__wrapper .van-uploader__preview .van-uploader__preview-delete{
  width: var(--fontSize36);
  height: var(--fontSize36);
  background-color: rgba(0, 0, 0, 1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: calc(-1 * var(--fontSize8));
  right: calc(-1 * var(--fontSize8));
}
.van-uploader .van-uploader__wrapper .van-uploader__preview .van-uploader__preview-delete .van-uploader__preview-delete-icon{
  font-size: var(--fontSize36);
  transform: scale(.7);
}
.van-uploader .van-uploader__wrapper .van-uploader__preview .van-uploader__preview-delete::after{
  width: 0;
}

.order-popup-content .camera-box {
  margin: var(--fontSize30) auto var(--fontSize40);
  width: var(--fontSize552);
  height: var(--fontSize292);
  box-sizing: border-box;
  border: var(--fontSize2) dashed #999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-popup-content .camera-icon {
  width: var(--fontSize110);
  height: var(--fontSize84);
}

.order-popup-content .price {
  font-size: var(--fontSize60);
  color: #F24724;
  display: flex;
  justify-content: center;
  align-items: baseline;
  padding-top: var(--fontSize70);
  font-weight: 700;
}

.order-popup-content .price .unit {
  font-size: var(--fontSize40);
}

.order-popup-content .qr-box {
  margin: var(--fontSize9) 0 var(--fontSize70);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: var(--fontSize32);
  color: #333333;
}

.order-popup-content .qr-box .qr {
  width: var(--fontSize300);
  height: var(--fontSize300);
  margin: var(--fontSize40) 0;
}

.order-popup-content .qr-box .tips {
  color: #347BFF;
}

.order-popup-content .order-type-box {
  margin: var(--fontSize52) var(--fontSize70) var(--fontSize52);
  text-align: center;
  font-size: var(--fontSize22);
  color: #666666;
}

.order-popup-content .order-type {
  height: var(--fontSize80);
  border-radius: var(--fontSize12);
  border: var(--fontSize2) solid #666666;
  box-sizing: border-box;
  color: #333333;
  font-size: var(--fontSize28);
}

.order-popup-content .order-type.active {
  background: rgba(53, 130, 238, 0.08);
  border-color: #347BFF;
  color: #347BFF;
}

.order-popup-content .order-type-box .order-type-tips {
  margin-bottom: var(--fontSize40);
}

.order-popup-content .btn {
  margin: 0 var(--fontSize28);
  height: var(--fontSize80);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #FFFFFF;
  background: #347BFF;
  border-radius: var(--fontSize12);
  margin-bottom: var(--fontSize28);
  font-size: var(--fontSize28);
}

.wx_title {
  font-family: PingFangSC-Medium;
  font-size: var(--fontSize32);
  color: #333333;
  font-weight: 500;
  text-align: center;
  line-height:2;
}

.wx_code_box {
  background: #30AD3A;
  text-align: center;
  color: #fff;
  padding-bottom: var(--fontSize70);
  border-bottom-left-radius: var(--fontSize16);
  border-bottom-right-radius: var(--fontSize16);
  min-height:var(--fontSize198);
  box-sizing: border-box;
}

.wx_code_box .tips {
  font-family: PingFangSC-Medium;
  font-size: var(--fontSize32);
  color: #FFFFFF;
  font-weight: 500;
}
.wx_code_box .qr{
  height:var(--fontSize300);
  width:var(--fontSize300);
  margin:0 auto;
  padding:var(--fontSize26) 0;
}
.wx_code_box .wx_qrcode{
  width:var(--fontSize300);
  height:var(--fontSize300);
  border-radius:var(--fontSize8);
}