/** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ page { height: 100%; overflow: hidden; background-color: #4095e5; } .viewport { padding: 20rpx; } .list { padding: 0 20rpx; background-color: #fff; margin-bottom: 20rpx; border-radius: 10rpx; } .list .item { line-height: 90rpx; padding-left: 10rpx; font-size: 30rpx; color: #333; border-top: 1rpx solid #ddd; position: relative; text-align: left; border-radius: 0; background-color: #fff; } .list .item::after { width: auto; height: auto; left: auto; border: none; } .list .item:first-child { border: none; } .list .item::after { right: 5rpx; } .action { text-align: center; line-height: 90rpx; margin-top: 40rpx; font-size: 32rpx; color: #333; } .action .button { background-color: #fff; margin-bottom: 20rpx; border-radius: 10rpx; } .logout { height: 100rpx; line-height: 100rpx; font-size: 35rpx; text-align: center; } .profile { padding-top: 30rpx; position: relative; } .profile .overview { display: flex; height: 130rpx; padding: 0 36rpx; color: #fff; } .profile .avatar { width: 120rpx; height: 120rpx; border-radius: 50%; background-color: #eee; } .profile .gray { filter: grayscale(100%); } .profile .meta { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; line-height: 30rpx; padding: 16rpx 0; margin-left: 20rpx; } .profile .nickname { max-width: 350rpx; margin-bottom: 16rpx; font-size: 30rpx; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #000; } .profile .SchoolCard { width: 155px; height: 23px; } .profile .extra { display: float; } .profile .tips { float: left; padding: 3px 5px 3px 5px; font-size: 22rpx; color: #000; background-color: #fff; border: 1px solid #000; border-radius: 14px; } .profile .copy { float: right; line-height: 23px; color: #000; font-size: 13px; text-decoration: underline; } .profile .update { padding: 3rpx 10rpx 1rpx; color: rgba(255, 255, 255, 0.8); border: 1rpx solid rgba(255, 255, 255, 0.8); margin-right: 10rpx; border-radius: 30rpx; }