237 lines
5.0 KiB
Plaintext
237 lines
5.0 KiB
Plaintext
@charset "UTF-8";
|
||
/**
|
||
* 这里是uni-app内置的常用样式变量
|
||
*
|
||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||
*
|
||
*/
|
||
/**
|
||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||
*
|
||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||
*/
|
||
/* 颜色变量 */
|
||
/* 行为相关颜色 */
|
||
/* 文字基本颜色 */
|
||
/* 背景颜色 */
|
||
/* 边框颜色 */
|
||
/* 尺寸变量 */
|
||
/* 文字尺寸 */
|
||
/* 图片尺寸 */
|
||
/* Border Radius */
|
||
/* 水平间距 */
|
||
/* 垂直间距 */
|
||
/* 透明度 */
|
||
/* 文章场景相关 */
|
||
/* 蒙层:全屏半透明,底部对齐弹窗 */
|
||
page {
|
||
width: 100%;
|
||
height: 100%;
|
||
background: transparent;
|
||
}
|
||
.login-mask {
|
||
position: fixed;
|
||
top: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
right: 0;
|
||
background: transparent;
|
||
z-index: 999;
|
||
overflow: hidden;
|
||
}
|
||
/* 底部弹窗:宽度100%,顶部圆角 */
|
||
.login-popup {
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
background: #fff;
|
||
border-top-left-radius: 20rpx;
|
||
border-top-right-radius: 20rpx;
|
||
padding: 42rpx 66rpx 100rpx 66rpx;
|
||
box-sizing: border-box;
|
||
}
|
||
/* 弹窗头部:标题+关闭按钮 */
|
||
.popup-header {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
margin-bottom: 55rpx;
|
||
}
|
||
.popup-header .popup-title {
|
||
width: 100%;
|
||
font-weight: 500;
|
||
font-size: 30rpx;
|
||
color: #333333;
|
||
line-height: 42rpx;
|
||
text-align: center;
|
||
font-style: normal;
|
||
}
|
||
.popup-close {
|
||
width: 40rpx;
|
||
height: 40rpx;
|
||
position: absolute;
|
||
top: 37rpx;
|
||
right: 40rpx;
|
||
}
|
||
/* 登录选项卡 */
|
||
.login-tabs {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
margin-bottom: 55rpx;
|
||
padding: 0 96rpx;
|
||
}
|
||
.login-tabs .tab-line {
|
||
width: 2rpx;
|
||
height: 20rpx;
|
||
background: #D8D8D8;
|
||
border-radius: 1rpx;
|
||
}
|
||
.login-tabs .tab-item {
|
||
font-weight: 400;
|
||
font-size: 26rpx;
|
||
color: #333333;
|
||
line-height: 37rpx;
|
||
text-align: center;
|
||
font-style: normal;
|
||
position: relative;
|
||
padding-bottom: 6rpx;
|
||
}
|
||
.login-tabs .tab-item.active {
|
||
color: #f00;
|
||
}
|
||
.login-tabs .tab-item.active::after {
|
||
content: "";
|
||
position: absolute;
|
||
bottom: 0rpx;
|
||
left: 50%;
|
||
-webkit-transform: translateX(-50%);
|
||
transform: translateX(-50%);
|
||
width: 40rpx;
|
||
border-radius: 2rpx;
|
||
height: 4rpx;
|
||
background: #f00;
|
||
}
|
||
/* 输入区域 */
|
||
.input-area {
|
||
margin-bottom: 80rpx;
|
||
}
|
||
.input-area .input-item {
|
||
display: flex;
|
||
align-items: center;
|
||
box-sizing: border-box;
|
||
width: 618rpx;
|
||
height: 98rpx;
|
||
background: #F5F5F5;
|
||
border-radius: 49rpx;
|
||
padding: 28rpx 24rpx 28rpx 30rpx;
|
||
margin-bottom: 30rpx;
|
||
position: relative;
|
||
}
|
||
.input-area .input-item .look-icon {
|
||
width: 37rpx;
|
||
position: absolute;
|
||
top: 50%;
|
||
right: 30rpx;
|
||
-webkit-transform: translateY(-50%);
|
||
transform: translateY(-50%);
|
||
}
|
||
.input-area .input-item .input-icon-phone {
|
||
width: 30rpx;
|
||
height: 32rpx;
|
||
margin-right: 19rpx;
|
||
}
|
||
.input-area .input-item .input-icon-password {
|
||
width: 32rpx;
|
||
height: 38rpx;
|
||
margin-right: 19rpx;
|
||
}
|
||
.input-area .input-item .input-text {
|
||
flex: 1;
|
||
font-size: 30rpx;
|
||
height: 40rpx;
|
||
color: #333;
|
||
}
|
||
.input-area .input-item .get-code-btn {
|
||
font-weight: 400;
|
||
font-size: 30rpx;
|
||
color: #E8101E;
|
||
line-height: 42rpx;
|
||
text-align: center;
|
||
font-style: normal;
|
||
}
|
||
.input-area .input-item .running {
|
||
color: #999999;
|
||
}
|
||
.input-area .input-item .noPhone {
|
||
color: #999999;
|
||
}
|
||
.input-area .input-item .eye-icon {
|
||
font-size: 30rpx;
|
||
color: #666;
|
||
margin-left: 15rpx;
|
||
}
|
||
.input-area .input-error {
|
||
display: block;
|
||
font-size: 24rpx;
|
||
color: #e8101e;
|
||
margin-left: 30rpx;
|
||
margin-top: -20rpx;
|
||
margin-bottom: 20rpx;
|
||
line-height: 1.2;
|
||
}
|
||
/* 登录按钮:匹配示例的粉/红切换 */
|
||
.login-btn {
|
||
width: 590rpx;
|
||
height: 98rpx;
|
||
background: rgba(232, 16, 30, 0.4);
|
||
border-radius: 50rpx;
|
||
font-weight: 500;
|
||
font-size: 30rpx;
|
||
color: #FFFFFF;
|
||
text-align: center;
|
||
font-style: normal;
|
||
margin: 0 auto;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
margin-bottom: 30rpx;
|
||
}
|
||
.login-btn.active {
|
||
background: #e8101e;
|
||
}
|
||
.agree {
|
||
display: flex;
|
||
flex-flow: row nowrap;
|
||
flex-direction: row;
|
||
align-items: flex-start;
|
||
}
|
||
.agree .agree-btn {
|
||
-webkit-transform: translateY(4rpx);
|
||
transform: translateY(4rpx);
|
||
margin-right: 8rpx;
|
||
}
|
||
.agree .agree-card .agreement {
|
||
font-weight: 400;
|
||
font-size: 26rpx;
|
||
color: #e8101e;
|
||
line-height: 37rpx;
|
||
margin: 0 10rpx;
|
||
}
|
||
.agree .agree-card .agree-text {
|
||
font-weight: 400;
|
||
font-size: 26rpx;
|
||
color: #898989;
|
||
line-height: 37rpx;
|
||
}
|
||
.uni-input-placeholder {
|
||
font-weight: 400;
|
||
font-size: 30rpx;
|
||
color: #BCC0C0;
|
||
line-height: 42rpx;
|
||
text-align: left;
|
||
font-style: normal;
|
||
}
|