.main .dialog-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); color: rgb(0, 0, 0); display: flex; justify-content: center; align-items: center; z-index: 9999; } .main .dialog-overlay .dialog { position: absolute; top: calc(200vmax / 12.80); background: white; padding: calc(30vmax / 12.80); width: calc(492vmax / 12.80); /*height: calc(244vmax / 12.80);*/ border-radius: calc(20vmax / 12.80); max-width: 90%; box-sizing: border-box; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); } .main .dialog-overlay .dialog .dialog-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .main .dialog-overlay .dialog .dialog-body { margin-bottom: 20px; font-size: calc(32vmax / 12.80); padding: calc(30vmax / 12.80) 0; box-sizing: border-box; color: rgba(34, 79, 111, 1); } .main .dialog-overlay .dialog .dialog-footer { width: 100%; box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; } .main .dialog-overlay .dialog .dialog-footer .dialog-footer-btn { width: calc(192vmax / 12.80); height: calc(60vmax / 12.80); line-height: calc(60vmax / 12.80); border-radius: calc(90vmax / 12.80); border: calc(2vmax / 12.80) solid rgba(19, 181, 177, 0.8); } .main .dialog-overlay .dialog .dialog-footer .cancel { background: #fff; color: rgba(19, 181, 177, 0.8); } .main .dialog-overlay .dialog .dialog-footer .confirm { background: rgba(19, 181, 177, 0.8); color: #fff; } /*竖屏样式*/ .portrait-main .dialog-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); color: rgb(0, 0, 0); display: flex; justify-content: center; align-items: center; } .portrait-main .dialog-overlay .dialog { position: absolute; top: calc(200vmin / 12.80); background: white; padding: calc(30vmin / 12.80); width: calc(492vmin / 12.80); /*height: calc(244vmin / 12.80);*/ border-radius: calc(20vmin / 12.80); max-width: 90%; box-sizing: border-box; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); } .portrait-main .dialog-overlay .dialog .dialog-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .portrait-main .dialog-overlay .dialog .dialog-body { margin-bottom: 20px; font-size: calc(32vmin / 12.80); padding: calc(30vmin / 12.80) 0; box-sizing: border-box; color: rgba(34, 79, 111, 1); } .portrait-main .dialog-overlay .dialog .dialog-footer { width: 100%; box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; } .portrait-main .dialog-overlay .dialog .dialog-footer .dialog-footer-btn { width: calc(192vmin / 12.80); height: calc(60vmin / 12.80); line-height: calc(60vmin / 12.80); border-radius: calc(90vmin / 12.80); border: calc(2vmin / 12.80) solid rgba(19, 181, 177, 0.8); } .portrait-main .dialog-overlay .dialog .dialog-footer .cancel { background: #fff; color: rgba(19, 181, 177, 0.8); } .portrait-main .dialog-overlay .dialog .dialog-footer .confirm { background: rgba(19, 181, 177, 0.8); color: #fff; }