/** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ /** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 商城颜色变量 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ body[data-v-1cf27b2a] { background-color: #f5f5f5; color: #333; line-height: 1.6; padding: 0.625rem; font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif; } .container[data-v-1cf27b2a] { background: #fff; border-radius: 0.75rem; overflow: hidden; box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05); height: 100vh; padding-top: 60px; box-sizing: border-box; } /* 应用头部信息 */ .app-header[data-v-1cf27b2a] { padding: 1.25rem; border-bottom: 0.03125rem solid #eee; } .app-icon[data-v-1cf27b2a] { width: 5rem; height: 5rem; border-radius: 1rem; background: linear-gradient(45deg, #ff2442, #ff2c53); display: flex; align-items: center; justify-content: center; margin: 0 auto; box-shadow: 0 0.25rem 0.625rem rgba(255, 36, 66, 0.2); position: relative; } .app-icon .official-badge[data-v-1cf27b2a] { position: absolute; top: -0.46875rem; right: -0.46875rem; } .app-icon uni-text[data-v-1cf27b2a] { font-size: 1.125rem; color: white; } .app-info[data-v-1cf27b2a] { flex: 1; } .app-title[data-v-1cf27b2a] { display: flex; align-items: center; margin-bottom: 0.5rem; } .app-name[data-v-1cf27b2a] { font-size: 1.375rem; font-weight: 700; margin-right: 0.5rem; } .official-badge[data-v-1cf27b2a] { background: #3875e9; color: white; font-size: 0.75rem; padding: 0.125rem 0.375rem; border-radius: 0.25rem; } .app-stats[data-v-1cf27b2a] { display: flex; align-items: center; margin-bottom: 0.3125rem; color: #666; font-size: 0.875rem; } .rating[data-v-1cf27b2a] { color: #ff9c27; margin-right: 0.9375rem; } /* 下载选项 */ .download-options[data-v-1cf27b2a] { padding: 1.25rem; } .download-option[data-v-1cf27b2a] { border-radius: 0.75rem; padding: 0.15625rem; margin-bottom: 0.9375rem; display: flex; align-items: center; cursor: pointer; transition: all 0.2s; } .option-icon[data-v-1cf27b2a] { width: 2.5rem; height: 2.5rem; background: #f5f5f5; border-radius: 0.625rem; display: flex; align-items: center; justify-content: center; margin-right: 0.9375rem; } .option-primary .option-icon[data-v-1cf27b2a] { background: rgba(255, 36, 66, 0.1); color: #ff2442; } .option-content[data-v-1cf27b2a] { flex: 1; } .option-title[data-v-1cf27b2a] { font-weight: 600; margin-bottom: 0.25rem; font-size: 0.8125rem; } .option-desc[data-v-1cf27b2a] { font-size: 0.8125rem; color: #666; } .option-tag[data-v-1cf27b2a] { background: rgba(56, 117, 233, 0.1); color: #3875e9; font-size: 0.75rem; padding: 0.125rem 0.5rem; border-radius: 0.25rem; margin-top: 0.3125rem; display: inline-block; } .option-warning[data-v-1cf27b2a] { color: #f5a623; font-size: 0.75rem; margin-top: 0.3125rem; } /* 应用详情 */ .app-details[data-v-1cf27b2a] { padding: 0 4.6875rem; border-top: 0.03125rem solid #eee; } .detail-item[data-v-1cf27b2a] { display: flex; font-size: 0.6875rem; } .detail-label[data-v-1cf27b2a] { width: 5rem; color: #666; } .detail-value[data-v-1cf27b2a] { flex: 1; color: #333; } /* 底部信息 */ .footer[data-v-1cf27b2a] { text-align: center; padding: 0.3125rem; color: #999; font-size: 0.8125rem; border-top: 0.03125rem solid #eee; position: absolute; bottom: 0px; left: 20%; } .footer-links[data-v-1cf27b2a] { display: flex; justify-content: center; margin-bottom: 0.625rem; } .footer-link[data-v-1cf27b2a] { margin: 0 0.625rem; color: #3875e9; } /* 下载按钮 */ .download-btn[data-v-1cf27b2a] { display: block; background: #ff2442; color: white; text-align: center; padding: 0.9375rem; border-radius: 0.75rem; font-weight: 600; margin-top: 1.25rem; cursor: pointer; transition: all 0.2s; font-size: 1rem; } .download-btn[data-v-1cf27b2a]:hover { background: #e61a36; transform: translateY(-0.125rem); box-shadow: 0 0.25rem 0.75rem rgba(255, 36, 66, 0.3); }