feat: 钩机监测模块创建完成
parent
3cefc64cfa
commit
ce5cea7a11
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 24 KiB |
Binary file not shown.
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 25 KiB |
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
Binary file not shown.
After Width: | Height: | Size: 5.2 KiB |
@ -1,3 +1,14 @@
|
|||||||
|
/*
|
||||||
|
* @Author: donghao donghao@supervision.ltd
|
||||||
|
* @Date: 2025-06-23 15:50:30
|
||||||
|
* @LastEditors: donghao donghao@supervision.ltd
|
||||||
|
* @LastEditTime: 2025-06-24 10:39:23
|
||||||
|
* @FilePath: \5G-Web\src\components\CustomTable\index.ts
|
||||||
|
* @Description: 表格组件汇总
|
||||||
|
*/
|
||||||
|
import baseDelete from "./src/baseDelete.vue";
|
||||||
import baseTable from "./src/baseTable";
|
import baseTable from "./src/baseTable";
|
||||||
|
|
||||||
|
export const BaseDelete = baseDelete;
|
||||||
export const BaseTable = baseTable;
|
export const BaseTable = baseTable;
|
||||||
|
|
||||||
|
@ -0,0 +1,122 @@
|
|||||||
|
.digger-monitor-warp {
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding-top: 32px;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
gap: 20px;
|
||||||
|
// align-items: center;
|
||||||
|
.digger-monitor-right {
|
||||||
|
box-sizing: border-box;
|
||||||
|
width:970px;
|
||||||
|
// display: flex;
|
||||||
|
background-image: url("@/assets/common/carbtmBg.png");
|
||||||
|
background-size: 100% 100%;
|
||||||
|
background-position: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.digger-monitor-search-box {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 12px;
|
||||||
|
margin: 16px 0;
|
||||||
|
}
|
||||||
|
.right-panel{
|
||||||
|
.el-scrollbar__view {
|
||||||
|
background: transparent !important;
|
||||||
|
height: 600px;
|
||||||
|
}
|
||||||
|
.fixed_pagination{
|
||||||
|
padding: 12px 20px 15px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.digger-monitor-left {
|
||||||
|
width: 49%;
|
||||||
|
background-image: url("@/assets/common/boderBg.png");
|
||||||
|
background-size: 100% 100%;
|
||||||
|
background-position: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
.monitor-left-top {
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 32px 16px 20px;
|
||||||
|
min-height: 600px;
|
||||||
|
.file-preview-screen {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
height: 492px;
|
||||||
|
// background-color: red;
|
||||||
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
max-height: 100%;
|
||||||
|
object-fit: cover;
|
||||||
|
}
|
||||||
|
|
||||||
|
video {
|
||||||
|
width: 100%;
|
||||||
|
max-height: calc(100%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.monitor-left-bottom {
|
||||||
|
width: 100%;
|
||||||
|
padding: 0 16px;
|
||||||
|
margin-bottom: 29px;
|
||||||
|
overflow: visible;
|
||||||
|
.swiper {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
.swiper-slide {
|
||||||
|
width: 20%;
|
||||||
|
border-radius:4px;
|
||||||
|
height: 144px;
|
||||||
|
img {
|
||||||
|
width: 100%;
|
||||||
|
height: 144px;
|
||||||
|
border-radius:4px;
|
||||||
|
object-fit: cover
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.active-slide img,
|
||||||
|
.active-slide video {
|
||||||
|
border-radius:4px;
|
||||||
|
border: 2px solid #2ECCE0;
|
||||||
|
}
|
||||||
|
.swiper-button-prev,
|
||||||
|
.swiper-button-next {
|
||||||
|
background-color: rgba(0, 0, 0, 0.5);
|
||||||
|
color: white;
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.swiper-button-prev::after,
|
||||||
|
.swiper-button-next::after {
|
||||||
|
font-size: 12px ;
|
||||||
|
color: #FFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 修改按钮悬停样式 */
|
||||||
|
.swiper-button-prev:hover,
|
||||||
|
.swiper-button-next:hover {
|
||||||
|
background-color: rgba(0, 0, 0, 0.8);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.empty-bg {
|
||||||
|
box-sizing: border-box;
|
||||||
|
width: 892px;
|
||||||
|
height: 815px;
|
||||||
|
background-image: url("@/assets/common/emptyBg.png");
|
||||||
|
background-size: 156px 102px;
|
||||||
|
background-position: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,122 @@
|
|||||||
|
<template>
|
||||||
|
<el-dialog class="digger-alarm-modal" v-model="show" @close="handleClose">
|
||||||
|
<!-- 自定义标题栏 -->
|
||||||
|
<template #header="{ close, titleId, titleClass }">
|
||||||
|
<div
|
||||||
|
class="flex items-center justify-between digger-detail-dialog-header"
|
||||||
|
>
|
||||||
|
<div class="flex items-center justify-center header-left">
|
||||||
|
<div class="header-icon mr-[12px]"></div>
|
||||||
|
<p
|
||||||
|
class="overflow-hidden whitespace-nowrap text-ellipsis max-w-[650px]"
|
||||||
|
>
|
||||||
|
钩机详情
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<!-- 图片区域 -->
|
||||||
|
<div class="digger-detail-content">
|
||||||
|
<!-- <img
|
||||||
|
:src="file?.image_url"
|
||||||
|
class="cursor-pointer"
|
||||||
|
v-if="file?.image_url"
|
||||||
|
/> -->
|
||||||
|
<img :src="file?.image_url" v-if="false" />
|
||||||
|
<div v-else class="w-full h-full bg_error_picture"></div>
|
||||||
|
</div>
|
||||||
|
</el-dialog>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script lang="ts" setup>
|
||||||
|
import { ref } from "vue";
|
||||||
|
import { Navigation, Scrollbar } from "swiper/modules";
|
||||||
|
|
||||||
|
interface Props {
|
||||||
|
/** 弹窗显隐 */
|
||||||
|
value: boolean;
|
||||||
|
info: Record<string, any>;
|
||||||
|
}
|
||||||
|
interface Emits {
|
||||||
|
(e: "update:value", val: boolean): void;
|
||||||
|
(e: "close"): void;
|
||||||
|
}
|
||||||
|
const props = withDefaults(defineProps<Props>(), {
|
||||||
|
value: false,
|
||||||
|
info: {},
|
||||||
|
});
|
||||||
|
|
||||||
|
const emit = defineEmits<Emits>();
|
||||||
|
// 处理对话框关闭事件
|
||||||
|
const handleClose = () => {
|
||||||
|
emits("close");
|
||||||
|
};
|
||||||
|
|
||||||
|
const show = computed({
|
||||||
|
get() {
|
||||||
|
return props.value;
|
||||||
|
},
|
||||||
|
set(val: boolean) {
|
||||||
|
emit("update:value", val);
|
||||||
|
},
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
.digger-alarm-modal.el-dialog {
|
||||||
|
border: none;
|
||||||
|
overflow: hidden;
|
||||||
|
box-shadow: none;
|
||||||
|
background-color: transparent;
|
||||||
|
background-image: url("@/assets/common/bg_real_dialog.png");
|
||||||
|
background-size: 100% 100%;
|
||||||
|
background-position: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
width: 816px;
|
||||||
|
height: 609px;
|
||||||
|
padding: 0;
|
||||||
|
// margin-top: calc(50vh - 316px);
|
||||||
|
|
||||||
|
.el-dialog__header.show-close {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-dialog__close {
|
||||||
|
width: 56px;
|
||||||
|
height: 56px;
|
||||||
|
color: white;
|
||||||
|
font-size: 18px;
|
||||||
|
padding-top: 4px;
|
||||||
|
padding-right: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.digger-detail-dialog-header {
|
||||||
|
color: white;
|
||||||
|
padding: 0;
|
||||||
|
padding-top: 8px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
.header-left {
|
||||||
|
padding: 0 24px;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 18px;
|
||||||
|
|
||||||
|
.header-icon {
|
||||||
|
margin-top: 4px;
|
||||||
|
width: 24px;
|
||||||
|
height: 48px;
|
||||||
|
background-image: url("@/assets/common/alarm_title.png");
|
||||||
|
background-size: contain;
|
||||||
|
background-position: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.digger-detail-content {
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 0 24px;
|
||||||
|
width: 100%;
|
||||||
|
height: 500px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
Loading…
Reference in New Issue