You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
146 lines
3.4 KiB
146 lines
3.4 KiB
4 years ago
|
@charset "UTF-8";
|
||
|
/**
|
||
|
* 这里是uni-app内置的常用样式变量
|
||
|
*
|
||
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||
|
*
|
||
|
*/
|
||
|
/**
|
||
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||
|
*
|
||
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||
|
*/
|
||
|
/* 颜色变量 */
|
||
|
/* 行为相关颜色 */
|
||
|
/* 文字基本颜色 */
|
||
|
/* 背景颜色 */
|
||
|
/* 边框颜色 */
|
||
|
/* 尺寸变量 */
|
||
|
/* 文字尺寸 */
|
||
|
/* 图片尺寸 */
|
||
|
/* Border Radius */
|
||
|
/* 水平间距 */
|
||
|
/* 垂直间距 */
|
||
|
/* 透明度 */
|
||
|
/* 文章场景相关 */
|
||
|
page {
|
||
|
background: -webkit-linear-gradient(top, #f06c7a 0%, #f06c7a 100%);
|
||
|
background: linear-gradient(to bottom, #f06c7a 0%, #f06c7a 100%);
|
||
|
height: 100%;
|
||
|
}
|
||
|
.icon {
|
||
|
color: #ffffff;
|
||
|
}
|
||
|
.logo {
|
||
|
width: 100%;
|
||
|
height: 45vw;
|
||
|
display: -webkit-box;
|
||
|
display: -webkit-flex;
|
||
|
display: flex;
|
||
|
-webkit-box-pack: center;
|
||
|
-webkit-justify-content: center;
|
||
|
justify-content: center;
|
||
|
-webkit-box-align: center;
|
||
|
-webkit-align-items: center;
|
||
|
align-items: center;
|
||
|
}
|
||
|
.logo .img {
|
||
|
width: 25%;
|
||
|
height: 25vw;
|
||
|
}
|
||
|
.logo .img image {
|
||
|
width: 100%;
|
||
|
border-radius: 100%;
|
||
|
}
|
||
|
.form {
|
||
|
width: 86%;
|
||
|
padding: 0 7%;
|
||
|
font-size: 30rpx;
|
||
|
}
|
||
|
.form .username,
|
||
|
.form .password,
|
||
|
.form .code {
|
||
|
width: calc(100% - 90rpx);
|
||
|
height: 90rpx;
|
||
|
display: -webkit-box;
|
||
|
display: -webkit-flex;
|
||
|
display: flex;
|
||
|
-webkit-box-align: center;
|
||
|
-webkit-align-items: center;
|
||
|
align-items: center;
|
||
|
border-radius: 45rpx;
|
||
|
background-color: rgba(255, 255, 255, 0.1);
|
||
|
padding: 0 45rpx;
|
||
|
margin-bottom: 26rpx;
|
||
|
}
|
||
|
.form .username input,
|
||
|
.form .password input,
|
||
|
.form .code input {
|
||
|
width: 100%;
|
||
|
height: 50rpx;
|
||
|
color: rgba(255, 255, 255, 0.8);
|
||
|
font-weight: 200;
|
||
|
}
|
||
|
.form .btn {
|
||
|
color: #f06c7a;
|
||
|
width: 100%;
|
||
|
height: 90rpx;
|
||
|
display: -webkit-box;
|
||
|
display: -webkit-flex;
|
||
|
display: flex;
|
||
|
-webkit-box-pack: center;
|
||
|
-webkit-justify-content: center;
|
||
|
justify-content: center;
|
||
|
-webkit-box-align: center;
|
||
|
-webkit-align-items: center;
|
||
|
align-items: center;
|
||
|
border-radius: 45rpx;
|
||
|
background-color: #fff;
|
||
|
font-size: 40rpx;
|
||
|
}
|
||
|
.re .username {
|
||
|
position: relative;
|
||
|
}
|
||
|
.re .username .get-code {
|
||
|
position: absolute;
|
||
|
height: 90rpx;
|
||
|
display: -webkit-box;
|
||
|
display: -webkit-flex;
|
||
|
display: flex;
|
||
|
-webkit-box-align: center;
|
||
|
-webkit-align-items: center;
|
||
|
align-items: center;
|
||
|
-webkit-box-pack: center;
|
||
|
-webkit-justify-content: center;
|
||
|
justify-content: center;
|
||
|
right: 0;
|
||
|
padding: 0 40rpx;
|
||
|
z-index: 3;
|
||
|
}
|
||
|
.re .username .get-code:after {
|
||
|
content: " ";
|
||
|
width: 1rpx;
|
||
|
height: 50rpx;
|
||
|
background-color: #fff;
|
||
|
position: absolute;
|
||
|
z-index: 3;
|
||
|
margin-right: 100%;
|
||
|
left: 0;
|
||
|
top: 20rpx;
|
||
|
}
|
||
|
.re .res {
|
||
|
display: -webkit-box;
|
||
|
display: -webkit-flex;
|
||
|
display: flex;
|
||
|
-webkit-box-pack: center;
|
||
|
-webkit-justify-content: center;
|
||
|
justify-content: center;
|
||
|
-webkit-box-align: center;
|
||
|
-webkit-align-items: center;
|
||
|
align-items: center;
|
||
|
height: 100rpx;
|
||
|
color: rgba(255, 255, 255, 0.8);
|
||
|
}
|
||
|
|