.box { position: fixed; right: 0; left: 0; z-index: 999; display: flex; justify-content: flex-end; align-items: flex-end; flex-direction: column; } .arrow { width: 0; height: 0; margin-right: 66px; border-width: 10px; border-style: solid; border-color: transparent transparent #0080f0 transparent; } .body { background-color: #0080f0; box-shadow: 0 5rpx 10rpx -5rpx #0080f0; display: flex; align-items: center; justify-content: center; height: 34.7px; width: 100%; position: relative; } .cancel{ position: absolute; right: 36rpx; padding: 0 6px; } .body > text { color: #fff; font-size: 30rpx; font-weight: 400; } .modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 999; background-color: rgba(255, 255, 255, 0.9); padding: 110px 20px 0 20px; } .modal > view { margin: 10px 0; display: flex; /* align-items: center; */ flex-direction: column; } .modal > view > text { font-size: 16px; font-weight: 400; margin-bottom: 5px; color: #333; } .modal > view > image { border-radius: 10px; overflow: hidden; } .ok-btn { width: 100%; margin-top: 40px; display: flex; align-items: center; justify-content: center; } .ok-btn > view { height: 40px; width: 120px; background-color: #00b0f0; box-shadow: 0 5px 10px -px #00b0f0; display: flex; align-items: center; justify-content: center; border-radius: 40px; } .ok-btn > view > text { font-size: 14px; color: #fff; font-weight: 400; } .btn-hover { opacity: 0.6; }