GpsModal.wxss 1.12 KB
/* components/GpsModal/GpsModal.wxss */
.center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gps-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;

}

.gps-modal-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .5);
}

.gps-modal-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 540rpx;
  min-height: 298rpx;
  background: #FFFFFF;
  border-radius: 8rpx;
  color: #333333;
  font-size: 28rpx;
}

.gps-modal-box .content {
  min-height: 208rpx;
  color: #282829;
  flex-direction: column;
}
.gps-modal-box .icon{
  width: 72rpx;
  height: 72rpx;
  margin-bottom: 20rpx;
}
.gps-modal-box .btns {
  display: flex;
  border-top: 2rpx solid #E5E5E5;
  height: 88rpx;
}

.gps-modal-box .btn {
  flex: 1;
  font-weight: 500;
  position: relative;
}

.gps-modal-box .cancel::after {
  position: absolute;
  right: -1rpx;
  width: 2rpx;
  height: 100%;
  background-color: #E5E5E5;
  content: '';
}

.gps-modal-box .confirm {
  color: var(--btnColor);
}