@charset "UTF-8"; /* 需要放到文件最上面 */ /* 水平间距 */ /* 水平间距 */ /* 以下变量是默认值,如不需要修改可以不用给下面的变量重新赋值 */ /* 水平间距 */ .yModal-container { width: 100%; height: 100%; position: fixed; top: 0; left: 0; z-index: -1; display: none; } .yModal-container.show { z-index: 900; display: block; } .yModal { position: absolute; width: 622rpx; background-color: #fff; top: 50%; left: 50%; -webkit-transform: translate3d(-50%, -50%, 0); transform: translate3d(-50%, -50%, 0); border-radius: 30rpx; font-size: 32rpx; color: #323233; z-index: 902; } .yModal .yModal-content { padding: 40rpx 30rpx; } .yModal .yModal-title { text-align: center; } .yModal .yModal-bottom { display: flex; } .yModal .yModal-bottom .yModal-bottom-item { flex: 1; } .yModal .yModal-bottom .yModal-bottom-item:last-of-type .yModal-bottom-btn { border-left: 1px solid #EBEDF0; border-bottom-left-radius: 0; } .yModal .yModal-bottom .yModal-bottom-btn { border: 0; border-top: 1px solid #EBEDF0; border-top-left-radius: 0; border-top-right-radius: 0; } .yModal .yModal-bottom .yModal-bottom-btn.active { opacity: 0.6; } .yModal .yModal-bottom .confirm-btn { color: #3371FF; } .yModal-mask { background-color: rgba(0, 0, 0, 0.3); z-index: 901; width: 100%; height: 100%; position: fixed; }