index.wxss 2.49 KB
.pop-wrapper {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.5);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999999;
}
.pop-box {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  /* height: 640rpx; */
  background: #FFFFFF;
  border-radius: 16rpx;
}
.pop-content {
  padding: 64rpx 48rpx;
  box-sizing: border-box;
}
.pop-title {
  width: 100%;
  height: 48rpx;
  text-align: center;
  font-weight: 500;
  font-size: 34rpx;
  color: rgba(0, 0, 0, 0.9);
}
.pop-text {
  margin: 32rpx 0 32rpx;
  word-wrap: break-word;
  word-break: break-all;
  white-space: pre-wrap;
  font-weight: 400;
  font-size: 34rpx;
  color: rgba(0, 0, 0, 0.5);
  line-height: 48rpx;
  letter-spacing: 0;
}
.pop-privacy {
  font-weight: 400;
  font-size: 30rpx;
  color: #576B95;
  letter-spacing: 0;
  margin-top: 16rpx;
}
.pop-bottom {
  display: flex;
  border-top: 1px solid #ededed;
  height: 112rpx;
  /* border-radius: 0 0 16rpx 16rpx; */
}
.pop-btn {
  width: 50%;
  background-color: #fff !important;
  font-weight: 500;
  font-size: 34rpx;
  letter-spacing: 2rpx;
  line-height: 48rpx;
  padding: 32rpx 0;
}
.disagree-btn {
  width: 50%;
  border-right: 2rpx solid #ededed;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  color: #000 !important;
}
.agree-btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  color: #576B95 !important;
}
.pop-btn::after {
  border: none;
}
/* iPad样式覆盖 */
.ipad-box.pop-box {
  width: 352rpx;
}
.ipad-box .pop-content {
  padding: 24rpx;
}
.ipad-box .pop-title {
  font-size: 16rpx;
  height: auto;
}
.ipad-box .pop-text {
  text-align: center;
  font-size: 15rpx;
  margin: 12rpx 0;
  line-height: 20rpx;
}
.ipad-box .pop-privacy {
  font-size: 16rpx;
  text-align: center;
  color: #347BFF;
}
.ipad-box .pop-bottom {
  display: flex;
  /* 使用flex布局 */
  align-items: center;
  /* 垂直居中子元素 */
  justify-content: center;
  /* 水平居中子元素,如果需要 */
  height: 50rpx;
}
.ipad-box .pop-btn {
  display: flex;
  align-items: center;
  /* 垂直居中按钮内容 */
  justify-content: center;
  /* 水平居中按钮内容,如果需要 */
  height: 100%;
  font-size: 16rpx;
  line-height: 22rpx;
}
.ipad-box .disagree-btn {
  color: #292D33 !important;
}
.ipad-box .agree-btn {
  color: #347BFF !important;
}
/* 横屏 */
@media (min-width: 800px) {
  /* 仅在 800px 或更宽的屏幕上生效的样式规则 */
  .ipad-box .pop-title {
    font-size: 16rpx;
    height: auto;
  }
}