Files
ai_wht_wechat/miniprogram/miniprogram/pages/profile/xhs-login/xhs-login.wxss
2026-01-06 19:36:42 +08:00

257 lines
3.7 KiB
Plaintext

/* pages/profile/xhs-login/xhs-login.wxss */
page {
background: #f8f8f8;
height: 100%;
}
.page-container {
padding: 30rpx;
min-height: 100vh;
box-sizing: border-box;
}
/* 平台头部 */
.platform-header {
background: white;
border-radius: 16rpx;
padding: 40rpx;
margin-bottom: 30rpx;
display: flex;
align-items: center;
gap: 24rpx;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
}
.platform-icon {
width: 120rpx;
height: 120rpx;
border-radius: 20rpx;
flex-shrink: 0;
}
.platform-icon.xiaohongshu {
background: #07c160;
}
.platform-text {
flex: 1;
display: flex;
flex-direction: column;
gap: 12rpx;
}
.platform-name {
font-size: 36rpx;
font-weight: bold;
color: #1a1a1a;
}
.platform-tip {
font-size: 26rpx;
color: #999;
}
/* 表单 */
.bind-form {
background: white;
border-radius: 16rpx;
padding: 40rpx;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
}
.form-item {
margin-bottom: 32rpx;
}
.form-item:last-of-type {
margin-bottom: 0;
}
/* 手机号输入 */
.phone-input-wrapper {
display: flex;
align-items: center;
height: 88rpx;
background: #f8f8f8;
border-radius: 12rpx;
overflow: hidden;
}
.country-code {
display: flex;
align-items: center;
gap: 8rpx;
padding: 0 20rpx;
height: 100%;
border-right: 1rpx solid #e0e0e0;
flex-shrink: 0;
}
.code-text {
font-size: 28rpx;
color: #1a1a1a;
font-weight: 500;
}
.arrow-down {
font-size: 20rpx;
color: #999;
}
.phone-input {
flex: 1;
height: 100%;
padding: 0 24rpx;
font-size: 28rpx;
color: #1a1a1a;
}
/* 验证码输入 */
.code-input-wrapper {
display: flex;
align-items: center;
height: 88rpx;
background: #f8f8f8;
border-radius: 12rpx;
overflow: hidden;
}
.code-input {
flex: 1;
height: 100%;
padding: 0 24rpx;
font-size: 28rpx;
color: #1a1a1a;
}
.send-code-text {
padding: 0 24rpx;
height: 100%;
display: flex;
align-items: center;
font-size: 26rpx;
color: #07c160;
white-space: nowrap;
flex-shrink: 0;
}
.send-code-text.disabled {
color: #999;
}
.bind-btn {
width: 100%;
height: 88rpx;
background: #07c160;
color: white;
border: none;
border-radius: 44rpx;
font-size: 32rpx;
font-weight: 600;
margin-top: 40rpx;
margin-bottom: 24rpx;
display: flex;
align-items: center;
justify-content: center;
line-height: 1;
}
.bind-btn::after {
border: none;
}
/* 协议提示 */
.agreement-tip {
display: flex;
align-items: flex-start;
flex-wrap: wrap;
gap: 4rpx;
padding: 0 8rpx;
}
.tip-icon {
font-size: 24rpx;
margin-right: 4rpx;
}
.tip-text {
font-size: 22rpx;
color: #999;
line-height: 1.6;
}
.tip-link {
font-size: 22rpx;
color: #07c160;
line-height: 1.6;
}
/* 提示弹窗 */
.modal-mask {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
}
.modal-dialog {
width: 560rpx;
background: white;
border-radius: 24rpx;
overflow: hidden;
box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.2);
}
.modal-title {
padding: 40rpx 32rpx 24rpx;
font-size: 32rpx;
font-weight: bold;
color: #1a1a1a;
text-align: center;
}
.modal-content {
padding: 0 32rpx 40rpx;
font-size: 28rpx;
color: #666;
text-align: center;
line-height: 1.6;
}
.modal-footer {
display: flex;
border-top: 1rpx solid #e0e0e0;
}
.modal-btn {
flex: 1;
height: 96rpx;
background: white;
border: none;
font-size: 32rpx;
display: flex;
align-items: center;
justify-content: center;
line-height: 1;
}
.modal-btn::after {
border: none;
}
.modal-btn.cancel {
color: #666;
border-right: 1rpx solid #e0e0e0;
}
.modal-btn.confirm {
color: #07c160;
font-weight: 600;
}