peanut
|
97a74d5969
|
style: 优化剧本生成器移动端布局(方案 A)
主要变更:
- 参数区域改为并排两列 grid 布局,匹配原型图
- 全面调小字体尺寸(input: 22rpx→18rpx, label: 16rpx→17rpx)
- 优化间距(主容器 padding: 32rpx→24rpx, NPC 容器:24rpx→16rpx)
- 添加超小屏幕(≤320px)适配媒体查询
- 圆角调整接近原型图(主容器:56rpx)
- 输入框高度降低(72rpx→64rpx),视觉更紧凑
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-03-07 19:31:12 +08:00 |
|
peanut
|
fb5f3089e2
|
style: 优化剧本生成器页面布局(方案 A)
主要变更:
- 修复输入框溢出问题,添加 box-sizing: border-box
- 重构参数区域为垂直堆叠布局,匹配原型图
- 添加 NPC 容器背景和边框,增强视觉层次
- 优化字体大小和间距,适配移动端屏幕
- 调整圆角尺寸,与原型保持一致
设计文档: docs/plans/2026-03-07-script-view-optimization.md
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-03-07 19:10:59 +08:00 |
|
peanut
|
b9473d5059
|
fix: 替换已弃用的 getSystemInfoSync API 并优化移动端布局
- 将所有 uni.getSystemInfoSync() 替换为新的推荐 API
- uni.getDeviceInfo() 获取设备信息
- uni.getWindowInfo() 获取窗口信息
- uni.getAppBaseInfo() 获取应用基础信息
- 优化页面布局适配移动端小程序
- page 添加 height: 100% 和 overflow: hidden
- 主页面使用 height: 100vh 替代 min-height
- 移除滚动条显示(::-webkit-scrollbar)
- 添加 flex-shrink: 0 防止卡片收缩
- 修复隐藏滚动条,提升移动端体验
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-03-07 18:27:04 +08:00 |
|
peanut
|
97e1ea2706
|
小程序初始化
|
2026-02-27 11:32:50 +08:00 |
|