From f00e6c3b881c67ef3651d4f812230188af01faca Mon Sep 17 00:00:00 2001 From: lzhe <181968431@qq.com> Date: 星期日, 12 五月 2024 23:56:57 +0800 Subject: [PATCH] 1 --- src/views/console/tooling/tray-fixture.vue | 34 +++++++++++++++++++++++++++++----- 1 files changed, 29 insertions(+), 5 deletions(-) diff --git a/src/views/console/tooling/tray-fixture.vue b/src/views/console/tooling/tray-fixture.vue index 114adee..e56e623 100644 --- a/src/views/console/tooling/tray-fixture.vue +++ b/src/views/console/tooling/tray-fixture.vue @@ -1,18 +1,42 @@ <!-- * @Date: 2024-05-07 22:48:00 * @LastEditors: Sneed - * @LastEditTime: 2024-05-07 22:48:29 + * @LastEditTime: 2024-05-12 21:28:07 * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/console/tooling/tray-fixture.vue --> <template> - <div> - 鎵樼洏澶瑰叿 - </div> + <el-main style="height: 100%;"> + <el-card shadow="never" style="height: 100%;" body-style="height: 100%"> + <el-tabs tab-position="top" class="custom-tabs" v-model="activeName"> + <el-tab-pane label="鎵樼洏-澶瑰叿" name="1"> + <trayFixturePreviewVue style="height: 100%" v-if="activeName === '1'"></trayFixturePreviewVue> + </el-tab-pane> + <el-tab-pane label="鎵樼洏" name="2"> + <Tray style="height: 100%" v-if="activeName === '2'" /> + </el-tab-pane> + <el-tab-pane label="澶瑰叿" name="3"> + <Fixture style="height: 100%" v-if="activeName === '3'" /> + </el-tab-pane> + </el-tabs> + </el-card> + </el-main> </template> <script> +import trayFixturePreviewVue from './tray-fixturePreview.vue' +import Tray from './Tray.vue' +import Fixture from './fixture.vue' export default { - + components: { + trayFixturePreviewVue, + Tray, + Fixture + }, + data() { + return { + activeName: '2' + } + }, } </script> -- Gitblit v1.9.3