@charset "UTF-8"; /** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ .bgImg { position: absolute; width: 100%; } .panel-list { padding: 0 10px; position: relative; top: -10px; } .panel-list .panel { background-color: white; border-radius: 10px; margin-bottom: 8px; } .panel-list .panel .panel-title { line-height: 40px; padding-left: 10px; font-size: 15px; border-bottom: 1px solid #f4f4f4; } .panel-list .panel .panel-body { display: flex; justify-content: space-around; } .panel-list .panel .panel-body .panel-item { display: flex; flex-direction: column; align-items: center; justify-content: space-around; padding: 10px 0; font-size: 13px; } .panel-list .panel .panel-body .panel-item .icon { width: 35px; height: 35px; } .panel-list-item { display: flex; justify-content: space-between; align-items: center; font-size: 15px; padding: 0 10px; line-height: 45px; } .home-page .head { position: relative; } .home-page .head .bgImg { top: 0; width: 100%; height: 400rpx; } .home-page .head .top-info { position: absolute; top: 60rpx; left: 30rpx; right: 30rpx; display: flex; align-items: center; justify-content: space-between; } .home-page .head .top-info .avatar image { width: 120rpx; height: 120rpx; border-radius: 50%; } .home-page .head .top-info .user-info .username { font-size: 36rpx; font-weight: bold; } .home-page .head .top-info .user-info .vip-info { font-size: 24rpx; color: #999; } .home-page .head .top-info .setting image { width: 50rpx; height: 50rpx; } .home-page .head .first-panel { position: absolute; bottom: -350rpx; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); display: flex; justify-content: space-around; width: 95%; background-color: #fff; border-radius: 20rpx; padding: 20rpx 0; box-shadow: 0 0 10rpx rgba(0, 0, 0, 0.1); } .home-page .head .first-panel .panel-item { display: flex; flex-direction: column; align-items: center; font-size: 24rpx; } .home-page .head .first-panel .panel-item image { width: 50rpx; height: 50rpx; } .home-page .head .first-panel .panel-item text { margin-top: 10rpx; }