diff --git a/package.json b/package.json index 04a37ae9..9f970962 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "dependencies": { - "flv.js": "^1.6.2" + "flv.js": "^1.6.2", + "vue-slick-carousel": "^1.0.6" } } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/Carousel/images/arrow.svg b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/Carousel/images/arrow.svg new file mode 100644 index 00000000..0e183e4b --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/Carousel/images/arrow.svg @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/Carousel/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/Carousel/index.vue new file mode 100644 index 00000000..a502ef1b --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/Carousel/index.vue @@ -0,0 +1,112 @@ + + + + + diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/index.vue index 7ecafca0..d7e03549 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/index.vue @@ -3,6 +3,12 @@
+
+
+
@@ -16,6 +22,8 @@ import TimeLine2 from "@screen/components/TimeLine/TimeLine2/index"; import Form from '@screen/components/FormConfig'; import { formList, timeLine1List } from "./data" import { timeLine2List } from "@screen/pages/control/event/commandDispatch/Cards/DisposalProcess/data.js" +import Video from "@screen/components/Video"; +import Carousel from "./Carousel/index.vue" export default { name: 'EventDetail', @@ -23,7 +31,9 @@ export default { Dialog, Form, TimeLine1, - TimeLine2 + TimeLine2, + Video, + Carousel }, model: { prop: 'visible', @@ -60,15 +70,10 @@ export default { height: 768px; flex-direction: column; - .left { - flex: 1; - } - - .right { + .video-pic { display: flex; - flex-direction: column; - gap: 9px; - cursor: pointer; + height: 150px; + gap: 15px } }