图生图 风格转换
Go to file
杨明明 691b174287 fix: 修复积分徽章上方空白问题
� 问题修复:
- 减少积分徽章上边距:top: 20px → 12px
- 优化内边距:padding: 4px 8px → 3px 6px
- 调整圆角大小:border-radius: 12px → 10px

� 布局优化:
- 添加flexbox布局:display: flex, align-items: center, justify-content: center
- 设置最小高度:min-height: 18px,确保徽章有合适高度
- 重置行高:line-height: 1,消除默认行高空白

� 文字样式:
- 重置文字外边距和内边距:margin: 0, padding: 0
- 设置行高为1,消除文字上下空白
- 使用block显示确保文字正确渲染

 修复效果:
- 积分徽章紧贴图片右上角,无多余空白
- 文字在徽章中完美居中显示
- 整体视觉更加紧凑和专业
2025-09-03 19:15:50 +08:00
.husky feat: 初始化 Taro 3.8 图生图风格转换小程序项目 2025-09-01 11:22:03 +08:00
config feat: 配置 TailwindCSS 并迁移到 Redux 2025-09-03 16:33:06 +08:00
src fix: 修复积分徽章上方空白问题 2025-09-03 19:15:50 +08:00
tests feat: 完善 TDD 开发环境配置 2025-09-01 13:19:17 +08:00
types feat: 初始化 Taro 3.8 图生图风格转换小程序项目 2025-09-01 11:22:03 +08:00
.editorconfig feat: 初始化 Taro 3.8 图生图风格转换小程序项目 2025-09-01 11:22:03 +08:00
.env.development feat: 平台适配优化和代码重构 2025-09-02 17:40:45 +08:00
.env.production feat: 平台适配优化和代码重构 2025-09-02 17:40:45 +08:00
.env.test feat: 平台适配优化和代码重构 2025-09-02 17:40:45 +08:00
.eslintrc feat: 初始化 Taro 3.8 图生图风格转换小程序项目 2025-09-01 11:22:03 +08:00
.gitignore feat: 初始化 Taro 3.8 图生图风格转换小程序项目 2025-09-01 11:22:03 +08:00
CLAUDE.md feat: 完善 TDD 开发环境配置 2025-09-01 13:19:17 +08:00
DESIGN_PREVIEW.md feat: 实现可拖拽分割线功能,支持动态调整对比比例 2025-09-03 17:41:35 +08:00
TODO.md feat: 配置 TailwindCSS 并迁移到 Redux 2025-09-03 16:33:06 +08:00
babel.config.js feat: 初始化 Taro 3.8 图生图风格转换小程序项目 2025-09-01 11:22:03 +08:00
commitlint.config.mjs feat: 初始化 Taro 3.8 图生图风格转换小程序项目 2025-09-01 11:22:03 +08:00
jest.config.js feat: 完善 TDD 开发环境配置 2025-09-01 13:19:17 +08:00
mini-app.md feat: 添加图标 2025-09-03 15:57:27 +08:00
package.json feat: 配置 TailwindCSS 并迁移到 Redux 2025-09-03 16:33:06 +08:00
pnpm-lock.yaml feat: 配置 TailwindCSS 并迁移到 Redux 2025-09-03 16:33:06 +08:00
postcss.config.js feat: 配置 TailwindCSS 并迁移到 Redux 2025-09-03 16:33:06 +08:00
project.config.json feat: 平台适配优化和代码重构 2025-09-02 17:40:45 +08:00
project.private.config.json feat: 平台适配优化和代码重构 2025-09-02 17:40:45 +08:00
project.tt.json fix: 需要个 配置文件 2025-09-02 17:21:08 +08:00
stylelint.config.mjs feat: 初始化 Taro 3.8 图生图风格转换小程序项目 2025-09-01 11:22:03 +08:00
tailwind.config.js feat: 配置 TailwindCSS 并迁移到 Redux 2025-09-03 16:33:06 +08:00
tsconfig.json feat: 完善 TDD 开发环境配置 2025-09-01 13:19:17 +08:00