Dialog.scss 1.43 KB
/* components/Dialog/dialog.wxss */
.my-dialog {
  border-radius: 24rpx !important;
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}
.my-dialog .van-dialog__header {
	padding: 0 !important;
	line-height: 0 !important;
}
.dialog-container {
  padding: 48rpx;
  background-color: #FFFFFF;
  position: relative;
}
.close-icon {
  position: absolute;
  top: 16rpx;
  right: 16rpx;
  width: 44rpx;
  height: 44rpx;
  z-index: 10;
}
.close-icon .icon {
  width: 100%;
  height: 100%;
}
.dialog-title {
  text-align: center;
  font-size: 36rpx;
  color: #333333;
  font-weight: 600;
  margin-bottom: 16rpx;
}
.dialog-content {
  font-size: 28rpx;
  color: #666666;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 40rpx;
}
.status {
  width: 88rpx;
  height: 88rpx;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 28rpx;
}
.status .icon {
  width: 100%;
  height: 100%;
}
.dialog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-btn {
  flex: 1;
  height: 80rpx;
  line-height: 80rpx;
  border-radius: 40rpx;
  text-align: center;
  font-size: 30rpx;
  font-weight: 500;
}
.footer-btn.btn_cancel {
  background-color: #EEF3FF;
  color: #2F6DFA;
  margin-right: 20rpx;
}
.footer-btn.btn_primary {
  background-color: #2F6DFA;
  color: #FFFFFF;
}
.dialog-footer.single-btn .footer-btn {
  margin-right: 0;
}