diff --git a/playground/src/locales/langs/en-US.json b/playground/src/locales/langs/en-US.json index 5b4b7cec..ee931056 100644 --- a/playground/src/locales/langs/en-US.json +++ b/playground/src/locales/langs/en-US.json @@ -48,6 +48,9 @@ "watermark": "Watermark", "tabs": "Tabs", "tabDetail": "Tab Detail Page", + "fullScreen": { + "title": "FullScreen" + }, "clipboard": "Clipboard" }, "breadcrumb": { diff --git a/playground/src/locales/langs/zh-CN.json b/playground/src/locales/langs/zh-CN.json index dfab5e01..5b5a65e5 100644 --- a/playground/src/locales/langs/zh-CN.json +++ b/playground/src/locales/langs/zh-CN.json @@ -48,6 +48,9 @@ "watermark": "水印", "tabs": "标签页", "tabDetail": "标签详情页", + "fullScreen": { + "title": "全屏" + }, "clipboard": "剪贴板" }, "breadcrumb": { diff --git a/playground/src/router/routes/modules/demos.ts b/playground/src/router/routes/modules/demos.ts index fd5df4b4..08a19d63 100644 --- a/playground/src/router/routes/modules/demos.ts +++ b/playground/src/router/routes/modules/demos.ts @@ -165,6 +165,15 @@ const routes: RouteRecordRaw[] = [ }, ], }, + { + name: 'FullScreenDemo', + path: '/demos/features/full-screen', + component: () => + import('#/views/demos/features/full-screen/index.vue'), + meta: { + title: $t('page.demos.features.fullScreen.title'), + }, + }, { name: 'ClipboardDemo', path: '/demos/features/clipboard', diff --git a/playground/src/router/routes/modules/examples.ts b/playground/src/router/routes/modules/examples.ts index bd1ec467..fd3fd237 100644 --- a/playground/src/router/routes/modules/examples.ts +++ b/playground/src/router/routes/modules/examples.ts @@ -17,7 +17,7 @@ const routes: RouteRecordRaw[] = [ children: [ { name: 'EllipsisDemo', - path: '/examples/ellipsis', + path: 'ellipsis', component: () => import('#/views/examples/ellipsis/index.vue'), meta: { title: $t('page.examples.ellipsis.title'), diff --git a/playground/src/views/demos/features/full-screen/index.vue b/playground/src/views/demos/features/full-screen/index.vue new file mode 100644 index 00000000..b5f7502d --- /dev/null +++ b/playground/src/views/demos/features/full-screen/index.vue @@ -0,0 +1,47 @@ + + +