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