diff --git a/tdesign-component/example/lib/page/td_image_viewer_page.dart b/tdesign-component/example/lib/page/td_image_viewer_page.dart index 981ee8476..11ccea9c8 100644 --- a/tdesign-component/example/lib/page/td_image_viewer_page.dart +++ b/tdesign-component/example/lib/page/td_image_viewer_page.dart @@ -29,7 +29,7 @@ class _TDImageViewerPageState extends State { ExampleItem(desc: '长按图片', builder: _longPressImageViewer), ExampleItem(desc: '图片超宽情况', builder: _ultraWidthImageViewer), ExampleItem(desc: '图片超高情况', builder: _ultraHeightImageViewer), - ExampleItem(desc: '带图片描述', builder: _descImageViewer), + ExampleItem(desc: '带图片标题', builder: _descImageViewer), ], ); } @@ -157,13 +157,13 @@ class _TDImageViewerPageState extends State { 'https://tdesign.gtimg.com/mobile/demos/swiper1.png', 'https://tdesign.gtimg.com/mobile/demos/swiper2.png', ]; - var labels = ['图片描述1', '图片描述2']; + var labels = ['图片标题1', '图片标题2']; return TDButton( type: TDButtonType.ghost, theme: TDButtonTheme.primary, isBlock: true, size: TDButtonSize.large, - text: '带图片描述', + text: '带图片标题', onTap: () { TDImageViewer.showImageViewer( context: context,