feat(ui): 动作两端改为方头小圆角(长度即真实时长);更新图标按设计稿重绘

- 条形视图:动作条圆角 8→3,两端方头(仅小圆角),长度严格等于真实时长
- 圆周视图:动作弧改为填充弧带(方头 + 小圆角)替代圆头描边,
  消除「圆头端帽在两端各多出半个环宽」造成的长度误读
- SVG 导出同步:条块 rx=3、动作弧 stroke-linecap=butt,导出与屏幕一致
- 更新按钮图标按 docs/更新.svg 设计稿矢量重绘(圆环 + 上箭头 + 两条底座横杠),
  替换原来的 refresh 图标;更新对话框标题图标同步
- 右下角缩略预览(条形 / 圆周)动作线条细化至约 2px
- 版本 1.2.1+13
This commit is contained in:
2026-10-09 09:49:23 +08:00
parent c32be46adb
commit 81d0d1768a
15 changed files with 203 additions and 44 deletions
+2 -1
View File
@@ -17,6 +17,7 @@ import '../theme/tokens.dart';
import '../update/update_service.dart';
import '../version.dart';
import 'dialogs.dart';
import 'update_icon.dart';
/// 应用内更新对话框。
class UpdateDialog extends StatefulWidget {
@@ -197,7 +198,7 @@ class _UpdateDialogState extends State<UpdateDialog> {
// 标题
Row(
children: <Widget>[
Icon(Icons.download, size: 21, color: t.accent),
UpdateIcon(size: 21, color: t.accent),
const SizedBox(width: 8),
Text('发现新版本 v${info.version}',
style: TextStyle(color: t.text, fontSize: 17, fontWeight: FontWeight.w700)),