基础设施

This commit is contained in:
gaoyuanwei 2022-06-24 17:04:47 +08:00
parent 2ad5476edb
commit f2671b729d
2 changed files with 460 additions and 430 deletions

View File

@ -6,7 +6,7 @@
<div class="details-pageconetent-left">
<detailsPageconetentTree />
</div>
<div class="top" v-if="Cardsname != '知识库'">
<div class="top" v-if="Cardsname != '知识库' && Cardsname != '基础设施'">
<div class="top-title">
<div
v-for="item in titleName"
@ -144,6 +144,28 @@
<a-empty />
</div>
</div>
<div class="top" v-else-if="Cardsname === '基础设施'">
<div class="top-title">
<div
v-for="item in titleName"
:key="item.name"
:class="item.name === Cardsname ? 'sel' : ''"
@click="changeCards(item.name)"
>
<span
class="photo"
:style="{
backgroundImage: `url(${item.photo}) `,
backgroundSize: 'cover',
}"
></span>
<span>{{ item.name }}</span>
</div>
</div>
<div class="">
<infrastructure-page></infrastructure-page>
</div>
</div>
<div class="top" v-else>
<div class="top-title">
<div
@ -657,6 +679,8 @@
// import VideoSurveillance from '@/views/home/videoSurveillance'
//
import DetailsPageResource from '@/views/home/components/DetailsPageResource.vue'
//
import InfrastructurePage from './infrastructurePage.vue'
export default defineComponent({
setup() {
// const store = useStore()
@ -1294,6 +1318,7 @@
// VideoCameraOutlined,
// VideoSurveillance,
DetailsPageResource,
InfrastructurePage,
},
beforeUnmount() {
mybus.off('selectCardsitem')
@ -1306,7 +1331,7 @@
})
</script>
<style lang="less" scoped>
.resultListSearchInput-father {
.resultListSearchInput-father {
background: #f3f5f9;
padding-left: 0.2rem;
padding-top: 0.2rem;
@ -1321,8 +1346,8 @@
margin-top: 0.2rem;
}
}
}
.resultListSearchInput {
}
.resultListSearchInput {
margin-left: 0.1rem;
:deep(.ant-input) {
width: 4rem;
@ -1344,8 +1369,8 @@
:deep(.ant-input-group-addon) {
left: 0 !important;
}
}
.button-reset {
}
.button-reset {
border: 0;
outline: none;
width: 0.8rem;
@ -1358,8 +1383,8 @@
line-height: 0.34rem;
margin-left: 2.5rem;
cursor: pointer;
}
.details-pageconetent {
}
.details-pageconetent {
height: 100%;
width: 100%;
display: flex;
@ -1662,8 +1687,8 @@
}
}
}
}
.shrinkTag {
}
.shrinkTag {
width: 0.5rem;
display: flex;
justify-content: center;
@ -1672,12 +1697,12 @@
span {
cursor: pointer;
}
}
.shrink {
}
.shrink {
height: unset !important;
overflow: unset !important;
}
.talk-monitor {
}
.talk-monitor {
position: fixed;
bottom: 0.5rem;
right: 0.1rem;
@ -1690,8 +1715,8 @@
background: url('~@/assets/home/icon-talk.png');
background-size: cover;
}
}
.top-content-father {
}
.top-content-father {
width: 10.87rem;
padding-left: 0.2rem;
// margin-bottom: .2rem;
@ -1769,11 +1794,11 @@
.top-content:nth-child(1) {
margin-top: 0.41rem !important;
}
}
:deep(.ant-card-grid) {
}
:deep(.ant-card-grid) {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
-webkit-line-clamp: 1;
}
}
</style>

View File

@ -0,0 +1,5 @@
<template>
<div>1234567890</div>
</template>
<script></script>
<style lang="less" scoped></style>