pay.scss 2.97 KB
/* packageMall/pages/pay/pay.wxss */
@import "../shoppingCart/shoppingCart.scss";

.address-box {
  padding: var(--margin)  20rpx;
  height: 164rpx;
  background-color: #fff;
  border-radius: var(--borderRadius);
  box-sizing: border-box;
  margin-bottom: 24rpx;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.address-box .left {
  width: 580rpx;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  padding-left: 8rpx;
}

.address-box .left .top {
  display: flex;
  align-items: center;
}

.address-box .default {
  width: 120rpx;
  height: 40rpx;
  font-size: 24rpx;
  color: #fff;
  background-color: var(--themeColor);
  border-radius: 4rpx;
  margin: 0 20rpx;
  flex-shrink: 0;
}
.address-box .bottom{
  color: #B1B1B3;
}
.address-box .phone {
  margin-left: auto;
}

.address-box .right {
  width: calc(100% - 580rpx);
  justify-content: flex-end;
}

.address-box .right .icon {
  width: 28rpx;
  height: 28rpx;
}
.content-box{
  padding-left: 24rpx;
  background-color: #fff;
  border-radius: 8px;
}
.merchantName{
  display: flex;
  height: 82rpx;
  align-items: center;
  padding-right: 24rpx;
  border-bottom: 2rpx solid #EFF0F2;
}
.box .item .content .goods-info {
  width: 100%;
}

.text .description {
  font-size: 24rpx;
  margin-top: 4rpx;
  color: #B1B1B3;
}

.tips {
  box-sizing: border-box;
  height: 100rpx;
  padding: 0 var(--margin);
  border-radius: var(--borderRadius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 24rpx;
  color: #666;
  background-color: #fff;
}

.tips .price {
  font-size: 36rpx;
  color: var(--btnColor);
  font-weight: 500;
}

.goods-action .left {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 360rpx);
  font-size: 24rpx;
}
.goods-action .left .total{
  width: auto;
}
.discounts {
  margin-top: 24rpx;
  position:relative;
}

.discounts .selected {
  height: 40rpx;
  background: rgba(252, 91, 50, 0.12);
  border-radius: 4rpx;
  font-size: 24rpx;
  font-weight: 500;
  color: #8A303A;
  line-height: 40rpx;
  padding:0 20rpx;
  position:absolute;
  left:104rpx;
  top: 50%;
  transform: translate(0, -50%);
}
/*支付成功*/
.modal-container{
  background: rgba(0,0,0,0.8000);
  z-index: 9999;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
.modal-body{
  width: 83%;
  height: 364rpx;
  background: #FFFFFF;
  border-radius: 16rpx;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.modal-body .icon{
  width: 100rpx;
  height: 100rpx;
  margin-top: 48rpx;
}
.modal-body .text{
  font-size: 32rpx;
  font-weight: 500;
  color: #2D2D2E;
  margin-top: 24rpx;
}
.modal-body .btn{
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 1rpx;
  border-top: 1rpx solid #e5e5e5;
  height: 98rpx;
  font-size: 32rpx;
  font-weight: 500;
  color: #8A303A;
}
.flex_ccc{
  display: flex;
  align-items: center;
  justify-content: center;
}