/* stylelint-disable comment-empty-line-before */ /** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ .user-post.data-v-37b870e2 { padding: 16px; background-color: #fff; border: 1px solid #eaeaea; border-radius: 8px; } .user-post .icon.data-v-37b870e2 { width: 35rpx; height: 35rpx; -o-object-fit: contain; object-fit: contain; } .user-post .user-info.data-v-37b870e2 { display: flex; align-items: center; } .user-post .avatar.data-v-37b870e2 { width: 50px; height: 50px; margin-right: 12px; border-radius: 50%; } .user-post .user-details.data-v-37b870e2 { flex: 1; } .user-post .user-name.data-v-37b870e2 { margin: 0; font-size: 16px; font-weight: bold; } .user-post .location.data-v-37b870e2 { margin: 0; font-size: 12px; color: #888; } .user-post .time.data-v-37b870e2 { font-size: 12px; color: #888; text-align: right; } .user-post .images-grid.data-v-37b870e2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; } .user-post .post-image.data-v-37b870e2 { width: 100%; height: 200rpx; -o-object-fit: cover; object-fit: cover; } .user-post .post-content.data-v-37b870e2 { font-size: 14px; color: #333; } .user-post .actions.data-v-37b870e2 { display: flex; justify-content: space-around; margin-top: 16px; } .user-post .action-item.data-v-37b870e2 { display: flex; gap: 5px; align-items: center; color: #888; } .user-post .action-item .iconfont.data-v-37b870e2 { margin-right: 4px; font-size: 20px; }