048f25f580
Show privacy popup on launch, gate login on legal consent, and link user agreement and privacy policy pages in the mini program. Co-authored-by: Cursor <cursoragent@cursor.com>
66 lines
991 B
Plaintext
66 lines
991 B
Plaintext
.privacy-mask {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 2000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 40rpx;
|
|
background: rgba(15, 23, 42, 0.55);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.privacy-panel {
|
|
width: 100%;
|
|
max-width: 640rpx;
|
|
padding: 36rpx;
|
|
border-radius: 16rpx;
|
|
background: #ffffff;
|
|
box-shadow: 0 10rpx 30rpx rgba(15, 23, 42, 0.12);
|
|
}
|
|
|
|
.privacy-title {
|
|
display: block;
|
|
font-size: 34rpx;
|
|
font-weight: 800;
|
|
color: #101820;
|
|
}
|
|
|
|
.privacy-body {
|
|
margin-top: 24rpx;
|
|
font-size: 26rpx;
|
|
color: #334155;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.privacy-link {
|
|
color: #0f766e;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.privacy-actions {
|
|
display: flex;
|
|
gap: 16rpx;
|
|
margin-top: 32rpx;
|
|
}
|
|
|
|
.privacy-decline,
|
|
.privacy-accept {
|
|
flex: 1;
|
|
height: 80rpx;
|
|
border-radius: 12rpx;
|
|
font-size: 28rpx;
|
|
font-weight: 700;
|
|
line-height: 80rpx;
|
|
}
|
|
|
|
.privacy-decline {
|
|
background: #f1f5f9;
|
|
color: #475569;
|
|
}
|
|
|
|
.privacy-accept {
|
|
background: #0f766e;
|
|
color: #ffffff;
|
|
}
|