/** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ .container { min-height: 100vh; background: #f7f8fa; padding-bottom: 120rpx; padding-top: 80rpx; } .profile-card { display: flex; align-items: center; background: #fff; border-radius: 20rpx; margin: 0 24rpx 24rpx 24rpx; padding: 32rpx 24rpx; box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.04); } .avatar { width: 120rpx; height: 120rpx; border-radius: 50%; margin-right: 32rpx; border: 2rpx solid #eee; } .profile-info { flex: 1; } .phone { font-size: 36rpx; font-weight: bold; color: #222; } .profile-link { color: #409EFF; font-size: 28rpx; margin-top: 8rpx; cursor: pointer; } .section { margin: 0 24rpx 24rpx 24rpx; background: #fff; border-radius: 20rpx; box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.04); padding: 24rpx 0 0 0; } .section-title { font-size: 30rpx; font-weight: 600; color: #333; margin-left: 32rpx; margin-bottom: 16rpx; } .study-row { display: flex; flex-direction: row; justify-content: space-between; padding: 0 24rpx 24rpx 24rpx; } .study-card { flex: 1; margin: 0 8rpx; background: #f8fafc; border-radius: 16rpx; box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.03); display: flex; flex-direction: column; align-items: center; padding: 24rpx 0 16rpx 0; cursor: pointer; transition: box-shadow 0.2s; } .study-card:active { box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.08); } .study-icon { width: 56rpx; height: 56rpx; margin-bottom: 8rpx; } .study-title { font-size: 24rpx; color: #555; } .list-section { padding-bottom: 0; } .menu-list-vertical { margin: 0 0 0 0; } .menu-item-vertical { display: flex; align-items: center; padding: 0 32rpx; height: 96rpx; background: #fff; cursor: pointer; position: relative; } .menu-icon-vertical { width: 40rpx; height: 40rpx; margin-right: 24rpx; } .menu-title-vertical { flex: 1; font-size: 28rpx; color: #333; } .arrow { color: #bbb; font-size: 36rpx; margin-left: 8rpx; } .divider { height: 1rpx; background: #f0f0f0; margin: 0 32rpx; }