diff --git a/lib/pages/workspace_tools_page.dart b/lib/pages/workspace_tools_page.dart index 60d8021..203dc8a 100644 --- a/lib/pages/workspace_tools_page.dart +++ b/lib/pages/workspace_tools_page.dart @@ -1556,6 +1556,11 @@ class _BatchRenamePreviewRow extends StatelessWidget { Widget build(BuildContext context) { final cs = ShadTheme.of(context).colorScheme; final changed = preview.changed; + final rawPath = preview.file.cloudPath.trim(); + final path = rawPath.isEmpty + ? preview.file.name + : (rawPath.startsWith('/') ? rawPath : '/$rawPath'); + final gcid = preview.file.gcid?.trim(); return Padding( padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 7), child: Row( @@ -1595,6 +1600,23 @@ class _BatchRenamePreviewRow extends StatelessWidget { : cs.mutedForeground, ), ), + const SizedBox(height: 4), + SelectableText( + '路径 $path', + maxLines: 1, + style: TextStyle(fontSize: 11, color: cs.mutedForeground), + ), + const SizedBox(height: 2), + SelectableText( + 'GCID ${gcid?.isNotEmpty == true ? gcid : '未获取'}', + maxLines: 1, + style: TextStyle( + fontSize: 11, + color: gcid?.isNotEmpty == true + ? cs.mutedForeground + : cs.destructive, + ), + ), ], ), ),