.confirm-dialog { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 48rpx; box-sizing: border-box; } .confirm-dialog__mask { position: absolute; inset: 0; background: rgba(15, 30, 24, 0.32); } .confirm-dialog__panel { position: relative; z-index: 1; width: 100%; max-width: 560rpx; background: #fff; border-radius: 28rpx; overflow: hidden; box-shadow: 0 20rpx 56rpx rgba(0, 0, 0, 0.14); } .confirm-dialog__body { padding: 44rpx 36rpx 32rpx; text-align: center; } .confirm-dialog__title { margin: 0 0 16rpx; font-size: 34rpx; font-weight: 650; color: var(--text-primary, #0f291e); line-height: 1.35; } .confirm-dialog__content { margin: 0; font-size: 26rpx; color: #555; line-height: 1.5; } .confirm-dialog__link { color: var(--brand-green, #22c55e); font-weight: 500; } .confirm-dialog__actions { display: flex; border-top: 1px solid #e8e8e8; } .confirm-dialog__btn { flex: 1; height: 96rpx; line-height: 96rpx; text-align: center; font-size: 32rpx; background: transparent; } .confirm-dialog__btn--cancel { color: #666; border-right: 1px solid #e8e8e8; } .confirm-dialog__btn--confirm { color: var(--brand-green, #22c55e); font-weight: 600; } /* 原生 button 重置,外观与 view 按钮一致 */ button.confirm-dialog__btn--native { margin: 0; padding: 0; border: none; border-radius: 0; line-height: 96rpx; font-size: 32rpx; background: transparent; } button.confirm-dialog__btn--native::after { border: none; }