From a079b51dedafb805f9269826e24208ce28b43884 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期二, 26 三月 2024 18:01:43 +0800 Subject: [PATCH] 卡片图片预览 --- src/views/screen/components/screen-wrapper/index.vue | 20 +++++++++++++------- 1 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/views/screen/components/screen-wrapper/index.vue b/src/views/screen/components/screen-wrapper/index.vue index a647da0..2d1ba35 100644 --- a/src/views/screen/components/screen-wrapper/index.vue +++ b/src/views/screen/components/screen-wrapper/index.vue @@ -2,7 +2,7 @@ <div class="wrapper-container"> <select-item></select-item> <div class="return-button"> - <el-button type="primary">杩斿洖</el-button> + <el-button type="primary" @click="returnPath">绠$悊绯荤粺</el-button> </div> <div class="wrapper-content"> <div class="left-container wrapper"> @@ -12,7 +12,8 @@ </div> <div class="center-container center-wrapper"> <screen-map></screen-map> - <screen-detection></screen-detection> + <screen-table></screen-table> + <!-- <screen-detection></screen-detection> --> </div> <div class="right-container wrapper"> @@ -25,22 +26,27 @@ <script> import SelectItem from '../select-item/index'; import ScreenFace from '../screen-face/index'; -import ScreenDetection from '../screen-detection/index'; import ScreenExamine from '../screen-examine/index'; import ScreenVideo from '../screen-video/index'; import ScreenCar from '../screen-car/index'; import ScreenMap from '../screen-map/index'; +import ScreenTable from '../screen-table/index'; export default { name: 'ScreenWrapper', components: { SelectItem, ScreenFace, - ScreenDetection, ScreenExamine, ScreenVideo, ScreenCar, - ScreenMap + ScreenMap, + ScreenTable }, + methods: { + returnPath() { + this.$router.push('/index'); + } + } } </script> @@ -72,7 +78,7 @@ } .wrapper { - width: 27%; + width: 25%; height: 100%; box-sizing: border-box; padding: 0 10px; @@ -89,7 +95,7 @@ } } .center-wrapper { - width: 46%; + width: 50%; height: 100%; box-sizing: border-box; padding: 0 10px; -- Gitblit v1.8.0