241 lines
4.4 KiB
SCSS
241 lines
4.4 KiB
SCSS
@import "../../variables";
|
|
|
|
.loginContainer {
|
|
min-height: 100vh;
|
|
width: 100%;
|
|
background: #fff;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.contentWrap {
|
|
flex: 1;
|
|
padding-bottom: 120rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.heroPanel {
|
|
position: relative;
|
|
height: 1332rpx;
|
|
background: #fff;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.heroImage {
|
|
position: absolute;
|
|
// top: 68rpx;
|
|
left: 0;
|
|
z-index: 1;
|
|
display: block;
|
|
width: 750rpx;
|
|
}
|
|
|
|
.actionPanel {
|
|
position: relative;
|
|
z-index: 2;
|
|
width: 626rpx;
|
|
margin: -300rpx auto 0 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 48rpx;
|
|
// padding-bottom: 72rpx;
|
|
}
|
|
|
|
.actionPanelSingle {
|
|
margin-top: -700rpx;
|
|
}
|
|
|
|
.loginButton {
|
|
box-sizing: border-box;
|
|
width: 626rpx;
|
|
height: 92rpx;
|
|
padding: 0 32rpx;
|
|
border-radius: 76rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.wechatLogin {
|
|
background: #fe8d29;
|
|
box-shadow: 0 20rpx 40rpx rgba(254, 141, 41, 0.24);
|
|
}
|
|
|
|
.phoneLogin {
|
|
background: #fff1d6;
|
|
}
|
|
|
|
.loginIcon {
|
|
width: 48rpx;
|
|
height: 48rpx;
|
|
margin-right: 8rpx;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.phoneIcon {
|
|
width: 48rpx;
|
|
height: 48rpx;
|
|
}
|
|
|
|
.loginLabel {
|
|
font-size: 32rpx;
|
|
font-weight: 400;
|
|
line-height: 44rpx;
|
|
color: #fff;
|
|
}
|
|
|
|
.phoneLabel {
|
|
color: #fe8d29;
|
|
}
|
|
|
|
.privacyFooter {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
padding-top: 24rpx;
|
|
font-size: 24rpx;
|
|
color: #666;
|
|
z-index: 3;
|
|
background: #fff;
|
|
}
|
|
|
|
.checkboxLabel {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.radioTrigger {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-right: 4rpx;
|
|
}
|
|
|
|
.radioTrigger radio {
|
|
transform: scale(0.7);
|
|
// transform-origin: left center;
|
|
margin-top: 4rpx;
|
|
}
|
|
|
|
.privacyText {
|
|
line-height: 34rpx;
|
|
}
|
|
|
|
.linkText {
|
|
color: #fe8d29;
|
|
line-height: 34rpx;
|
|
margin-left: 4rpx;
|
|
}
|
|
/* ============================================
|
|
弹窗 — 设置头像和昵称
|
|
============================================ */
|
|
|
|
.popup-title {
|
|
display: block;
|
|
font-size: 35rpx;
|
|
font-weight: 600;
|
|
color: #000;
|
|
text-align: center;
|
|
margin-bottom: 10rpx;
|
|
}
|
|
|
|
.popup-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 40rpx;
|
|
|
|
// 左右布局:左头像 + 右按钮组
|
|
.form-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 36rpx;
|
|
margin-bottom: 50rpx;
|
|
|
|
// 左侧:头像选择器
|
|
.avatar-picker {
|
|
flex-shrink: 0;
|
|
width: 140rpx;
|
|
height: 140rpx;
|
|
padding: 0;
|
|
background: transparent;
|
|
border: none;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
&::after {
|
|
border: none;
|
|
}
|
|
|
|
.popup-avatar {
|
|
width: 140rpx;
|
|
height: 140rpx;
|
|
border-radius: 50%;
|
|
border: 3rpx solid $primary-color;
|
|
}
|
|
}
|
|
|
|
// 右侧:按钮组(上下排列)
|
|
.btn-group {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20rpx;
|
|
|
|
.form-btn {
|
|
width: 100%;
|
|
height: 72rpx;
|
|
line-height: 72rpx;
|
|
font-size: 26rpx;
|
|
color: #fff;
|
|
background: linear-gradient(90deg, #005bea 0%, #00c6fb 99%);
|
|
border-radius: 36rpx;
|
|
border: none;
|
|
&::after {
|
|
border: none;
|
|
}
|
|
|
|
}
|
|
|
|
// 昵称输入:外观伪装成按钮,click 唤起微信昵称弹层
|
|
.form-input--nickname {
|
|
width: 100%;
|
|
height: 72rpx;
|
|
line-height: 72rpx;
|
|
font-size: 26rpx;
|
|
color: $primary-color;
|
|
background: transparent;
|
|
border: 2rpx solid $primary-color;
|
|
border-radius: 36rpx;
|
|
text-align: center;
|
|
padding: 0 20rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
}
|
|
}
|
|
|
|
// 提交按钮
|
|
.form-submit {
|
|
width: 100%;
|
|
|
|
.submit-btn {
|
|
width: 100%;
|
|
height: 96rpx;
|
|
line-height: 96rpx;
|
|
background: linear-gradient(90deg, #005bea 0%, #00c6fb 99%);
|
|
color: #fff;
|
|
font-size: 34rpx;
|
|
border-radius: 48rpx;
|
|
border: none;
|
|
&::after {
|
|
border: none;
|
|
}
|
|
}
|
|
}
|
|
}
|