205 lines
4.1 KiB
Plaintext
205 lines
4.1 KiB
Plaintext
/**
|
||
* 这里是uni-app内置的常用样式变量
|
||
*
|
||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||
*
|
||
*/
|
||
/**
|
||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||
*
|
||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||
*/
|
||
/* 颜色变量 */
|
||
/* 行为相关颜色 */
|
||
/* 文字基本颜色 */
|
||
/* 背景颜色 */
|
||
/* 边框颜色 */
|
||
/* 尺寸变量 */
|
||
/* 文字尺寸 */
|
||
/* 图片尺寸 */
|
||
/* Border Radius */
|
||
/* 水平间距 */
|
||
/* 垂直间距 */
|
||
/* 透明度 */
|
||
/* 文章场景相关 */
|
||
page {
|
||
background: #ffffff;
|
||
}
|
||
.login-container {
|
||
padding-bottom: 40rpx;
|
||
max-width: 750rpx;
|
||
background: #ffffff;
|
||
}
|
||
.logo-section {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: center;
|
||
margin-bottom: 80rpx;
|
||
width: 100%;
|
||
margin-top: 330rpx;
|
||
}
|
||
.logo-image {
|
||
width: 276rpx;
|
||
height: 276rpx;
|
||
}
|
||
.main-content {
|
||
padding: 0 53rpx;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: center;
|
||
margin-top: 654rpx;
|
||
}
|
||
.login-btn {
|
||
width: 100%;
|
||
height: 98rpx;
|
||
background: #F15A04;
|
||
border-radius: 10rpx;
|
||
border: none;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
transition: all 0.3s ease;
|
||
box-shadow: 0 4rpx 12rpx rgba(255, 107, 53, 0.3);
|
||
}
|
||
.login-btn:active {
|
||
transform: translateY(2rpx);
|
||
box-shadow: 0 2rpx 8rpx rgba(255, 107, 53, 0.3);
|
||
}
|
||
.login-btn:disabled {
|
||
background: #ccc;
|
||
box-shadow: none;
|
||
}
|
||
.btn-text {
|
||
font-size: 32rpx;
|
||
font-weight: 600;
|
||
color: #fff;
|
||
}
|
||
.agreement-section {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 8rpx;
|
||
padding: 30rpx;
|
||
margin-top: 40rpx;
|
||
flex-wrap: wrap;
|
||
}
|
||
.agreement-checkbox {
|
||
display: flex;
|
||
align-items: center;
|
||
}
|
||
.checkbox {
|
||
width: 28rpx;
|
||
height: 28rpx;
|
||
border: 2rpx solid #ff6b35;
|
||
border-radius: 6rpx;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
background: #fff;
|
||
transition: all 0.3s ease;
|
||
}
|
||
.checkbox.checked {
|
||
background: #ff6b35;
|
||
border-color: #ff6b35;
|
||
}
|
||
.checkmark {
|
||
color: #fff;
|
||
font-size: 18rpx;
|
||
font-weight: bold;
|
||
}
|
||
.agreement-text {
|
||
font-size: 24rpx;
|
||
color: #666;
|
||
}
|
||
.agreement-link {
|
||
font-size: 24rpx;
|
||
color: #ff6b35;
|
||
text-decoration: underline;
|
||
}
|
||
.popup-overlay {
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
background: rgba(0, 0, 0, 0.5);
|
||
z-index: 1000;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 40rpx;
|
||
box-sizing: border-box;
|
||
}
|
||
.popup-content {
|
||
background: #fff;
|
||
border-radius: 20rpx;
|
||
overflow: hidden;
|
||
display: flex;
|
||
flex-direction: column;
|
||
width: 100%;
|
||
max-width: 680rpx;
|
||
height: 85vh;
|
||
max-height: 900rpx;
|
||
min-height: 600rpx;
|
||
margin: 0;
|
||
}
|
||
.popup-header {
|
||
padding: 30rpx;
|
||
border-bottom: 1rpx solid #eee;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
flex-shrink: 0;
|
||
}
|
||
.popup-title {
|
||
font-size: 32rpx;
|
||
font-weight: 500;
|
||
color: #333;
|
||
}
|
||
.popup-close {
|
||
font-size: 40rpx;
|
||
color: #999;
|
||
cursor: pointer;
|
||
padding: 10rpx;
|
||
}
|
||
.popup-body {
|
||
flex: 1;
|
||
padding: 30rpx;
|
||
overflow: hidden;
|
||
position: relative;
|
||
height: 0;
|
||
}
|
||
.terms-content {
|
||
line-height: 1.8;
|
||
font-size: 28rpx;
|
||
color: #333;
|
||
word-wrap: break-word;
|
||
word-break: break-all;
|
||
padding-bottom: 20rpx;
|
||
}
|
||
.popup-footer {
|
||
padding: 30rpx;
|
||
border-top: 1rpx solid #eee;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
flex-shrink: 0;
|
||
}
|
||
.popup-tip {
|
||
font-size: 24rpx;
|
||
color: #999;
|
||
margin-bottom: 20rpx;
|
||
text-align: center;
|
||
}
|
||
.popup-btn {
|
||
width: 200rpx;
|
||
height: 70rpx;
|
||
background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
|
||
border-radius: 35rpx;
|
||
font-size: 28rpx;
|
||
color: #FFFFFF;
|
||
border: none;
|
||
} |