/** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ /*自定义主题色 */ page { background-color: #ffffff; } .content { display: flex; flex-direction: column; align-items: center; height: 100vh; width: 100%; justify-content: space-between; } .pageTop { display: flex; flex-direction: column; width: 100%; } .content .head { text-align: center; width: 100%; height: 522rpx; background-size: cover; box-sizing: border-box; } .content .head image { width: 150rpx; height: 150rpx; border-radius: 10rpx; box-shadow: 0px 0px 20rpx rgba(0, 0, 0, 0.2); } .title { color: #141414; margin: 50rpx 0rpx 30rpx 0rpx; font-size: 38rpx; font-weight: 500; } .desc { color: #686866; padding: 0 0 30rpx 0rpx; font-size: 28rpx; } .loginBox { padding: 10px 10px 30rpx; width: calc(100% - 20px); margin-top: 0rpx; background: #FDFDFD; border-radius: 7rpx; } .login-item p { text-align: left; } .line { height: 0.5rpx; background-color: #efefef; margin-top: 10rpx; } .input-account { margin-top: 20rpx; margin-bottom: 0rpx; border-radius: 40rpx; border: solid 0rpx #efefef; height: 80rpx; width: 100%; background-size: 30rpx 30rpx; background-position: 30rpx; } .input-yzcode { margin-top: 20rpx; margin-bottom: 0rpx; border-radius: 40rpx; border: solid 0rpx #efefef; height: 80rpx; width: 100%; background-size: 30rpx 30rpx; background-position: 30rpx; } .input-pwd { margin-top: 40rpx; margin-bottom: 20rpx; border-radius: 40rpx; border: solid 0rpx #efefef; height: 80rpx; width: 100%; background-size: 30rpx 30rpx; background-position: 30rpx; } input { margin-left: 80rpx; height: 80rpx; line-height: 80rpx; } .footer { color: #686866; width: 100%; position: fixed; text-align: center; bottom: 60rpx; font-size: 28rpx; } .btns { margin: 60rpx 0rpx; } .login-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 80rpx; background: linear-gradient(to right, #FF5C03 0%, #FF5C03 100%); background: -moz-linear-gradient(to right, #FF5C03 0%, #FF5C03 100%); box-shadow: 0px 7rpx 6rpx 0px rgba(229, 138, 0, 0.22); border-radius: 40rpx; font-size: 30rpx; font-family: PingFang SC; font-weight: 500; color: white; } .reg-box { padding-bottom: 20rpx; margin: 0 10px; } .reg-box .reg-btn { font-size: 16px; color: #FF5C03; } .pageBottom { height: 260rpx; width: 75%; display: flex; flex-direction: column; } .tips { color: #999; font-size: 36rpx; } .menu { margin-top: 30rpx; } .menu image { width: 78rpx; height: 78rpx; }