许宏杰 1 year ago
parent c5436954ec
commit e8c0f8d60c

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 620 B

@ -1,129 +1,141 @@
/**
/**
* css
* Copyright (c) 2019 ruoyi
*/
/** 基础通用 **/
/** 基础通用 **/
.pt5 {
padding-top: 5px;
padding-top: 5px;
}
.pr5 {
padding-right: 5px;
padding-right: 5px;
}
.pb5 {
padding-bottom: 5px;
padding-bottom: 5px;
}
.mt5 {
margin-top: 5px;
margin-top: 5px;
}
.mr5 {
margin-right: 5px;
margin-right: 5px;
}
.mb5 {
margin-bottom: 5px;
margin-bottom: 5px;
}
.mb8 {
margin-bottom: 8px;
margin-bottom: 8px;
}
.ml5 {
margin-left: 5px;
margin-left: 5px;
}
.mt10 {
margin-top: 10px;
margin-top: 10px;
}
.mr10 {
margin-right: 10px;
margin-right: 10px;
}
.mb10 {
margin-bottom: 10px;
margin-bottom: 10px;
}
.ml10 {
margin-left: 10px;
margin-left: 10px;
}
.mt20 {
margin-top: 20px;
margin-top: 20px;
}
.mr20 {
margin-right: 20px;
margin-right: 20px;
}
.mb20 {
margin-bottom: 20px;
margin-bottom: 20px;
}
.ml20 {
margin-left: 20px;
margin-left: 20px;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
font-family: inherit;
font-weight: 500;
line-height: 1.1;
color: inherit;
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: inherit;
font-weight: 500;
line-height: 1.1;
color: inherit;
}
.el-message-box__status + .el-message-box__message{
word-break: break-word;
.el-message-box__status + .el-message-box__message {
word-break: break-word;
}
.el-dialog:not(.is-fullscreen) {
margin-top: 6vh !important;
margin-top: 6vh !important;
}
.el-dialog__wrapper.scrollbar .el-dialog .el-dialog__body {
overflow: auto;
overflow-x: hidden;
max-height: 70vh;
padding: 10px 20px 0;
overflow: auto;
overflow-x: hidden;
max-height: 70vh;
padding: 10px 20px 0;
}
.el-table {
.el-table__header-wrapper, .el-table__fixed-header-wrapper {
th {
word-break: break-word;
background-color: #f8f8f9;
color: #515a6e;
height: 40px;
font-size: 13px;
}
}
.el-table__body-wrapper {
.el-button [class*="el-icon-"] + span {
margin-left: 1px;
}
}
.el-table__header-wrapper,
.el-table__fixed-header-wrapper {
th {
word-break: break-word;
background-color: #f8f8f9;
color: #515a6e;
height: 40px;
font-size: 13px;
}
}
.el-table__body-wrapper {
.el-button [class*="el-icon-"] + span {
margin-left: 1px;
}
}
}
/** 表单布局 **/
.form-header {
font-size:15px;
color:#6379bb;
border-bottom:1px solid #ddd;
margin:8px 10px 25px 10px;
padding-bottom:5px
font-size: 15px;
color: #6379bb;
border-bottom: 1px solid #ddd;
margin: 8px 10px 25px 10px;
padding-bottom: 5px;
}
/** 表格布局 **/
.pagination-container {
position: relative;
height: 25px;
margin-bottom: 10px;
margin-top: 15px;
padding: 10px 20px !important;
position: relative;
height: 25px;
margin-bottom: 10px;
margin-top: 15px;
padding: 10px 20px !important;
}
/* tree border */
.tree-border {
margin-top: 5px;
border: 1px solid #e5e6e7;
background: #FFFFFF none;
border-radius:4px;
margin-top: 5px;
border: 1px solid #e5e6e7;
background: #ffffff none;
border-radius: 4px;
}
.pagination-container .el-pagination {
right: 0;
position: absolute;
right: 0;
position: absolute;
}
@media ( max-width : 768px) {
@media (max-width: 768px) {
.pagination-container .el-pagination > .el-pagination__jump {
display: none !important;
}
@ -133,145 +145,147 @@
}
.el-table .fixed-width .el-button--mini {
padding-left: 0;
padding-right: 0;
width: inherit;
padding-left: 0;
padding-right: 0;
width: inherit;
}
/** 表格更多操作下拉样式 */
.el-table .el-dropdown-link,.el-table .el-dropdown-selfdefine {
cursor: pointer;
margin-left: 5px;
.el-table .el-dropdown-link,
.el-table .el-dropdown-selfdefine {
cursor: pointer;
margin-left: 5px;
}
.el-table .el-dropdown, .el-icon-arrow-down {
font-size: 12px;
.el-table .el-dropdown,
.el-icon-arrow-down {
font-size: 12px;
}
.el-tree-node__content > .el-checkbox {
margin-right: 8px;
margin-right: 8px;
}
.list-group-striped > .list-group-item {
border-left: 0;
border-right: 0;
border-radius: 0;
padding-left: 0;
padding-right: 0;
border-left: 0;
border-right: 0;
border-radius: 0;
padding-left: 0;
padding-right: 0;
}
.list-group {
padding-left: 0px;
list-style: none;
padding-left: 0px;
list-style: none;
}
.list-group-item {
border-bottom: 1px solid #e7eaec;
border-top: 1px solid #e7eaec;
margin-bottom: -1px;
padding: 11px 0px;
font-size: 13px;
border-bottom: 1px solid #e7eaec;
border-top: 1px solid #e7eaec;
margin-bottom: -1px;
padding: 11px 0px;
font-size: 13px;
}
.pull-right {
float: right !important;
float: right !important;
}
.el-card__header {
padding: 14px 15px 7px;
min-height: 40px;
padding: 14px 15px 7px;
min-height: 40px;
}
.el-card__body {
padding: 15px 20px 20px 20px;
padding: 15px 20px 20px 20px;
}
.card-box {
padding-right: 15px;
padding-left: 15px;
margin-bottom: 10px;
padding-right: 15px;
padding-left: 15px;
margin-bottom: 10px;
}
/* button color */
.el-button--cyan.is-active,
.el-button--cyan:active {
background: #20B2AA;
border-color: #20B2AA;
color: #FFFFFF;
background: #20b2aa;
border-color: #20b2aa;
color: #ffffff;
}
.el-button--cyan:focus,
.el-button--cyan:hover {
background: #48D1CC;
border-color: #48D1CC;
color: #FFFFFF;
background: #48d1cc;
border-color: #48d1cc;
color: #ffffff;
}
.el-button--cyan {
background-color: #20B2AA;
border-color: #20B2AA;
color: #FFFFFF;
background-color: #20b2aa;
border-color: #20b2aa;
color: #ffffff;
}
/* text color */
.text-navy {
color: #1ab394;
color: #1ab394;
}
.text-primary {
color: inherit;
color: inherit;
}
.text-success {
color: #1c84c6;
color: #1c84c6;
}
.text-info {
color: #23c6c8;
color: #23c6c8;
}
.text-warning {
color: #f8ac59;
color: #f8ac59;
}
.text-danger {
color: #ed5565;
color: #ed5565;
}
.text-muted {
color: #888888;
color: #888888;
}
/* image */
.img-circle {
border-radius: 50%;
border-radius: 50%;
}
.img-lg {
width: 120px;
height: 120px;
width: 120px;
height: 120px;
}
.avatar-upload-preview {
position: relative;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 200px;
height: 200px;
border-radius: 50%;
box-shadow: 0 0 4px #ccc;
overflow: hidden;
position: relative;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 200px;
height: 200px;
border-radius: 50%;
box-shadow: 0 0 4px #ccc;
overflow: hidden;
}
/* 拖拽列样式 */
.sortable-ghost{
opacity: .8;
color: #fff!important;
background: #42b983!important;
.sortable-ghost {
opacity: 0.8;
color: #fff !important;
background: #42b983 !important;
}
.top-right-btn {
position: relative;
float: right;
position: relative;
float: right;
}

@ -172,6 +172,17 @@
],
"type": "Point"
}
},
{
"type": "Feature",
"properties": {"name":"沿街商铺分布"},
"geometry": {
"coordinates": [
118.82115278916302,
31.914036628233447
],
"type": "Point"
}
}
]
}

@ -9,62 +9,60 @@
<template>
<div class="map-middle">
<div class="middle-middle">
<img src="@/assets/images/action-left.png" alt="">
<img src="@/assets/images/action-right.png" alt="">
<img src="@/assets/images/action-left.png" alt="" />
<img src="@/assets/images/action-right.png" alt="" />
</div>
<div class="middle-top-left">
<div class="input-keyword">
<el-input
placeholder="请输入关键字"
v-model="input">
<el-input placeholder="请输入关键字" v-model="input">
<i slot="suffix" class="el-icon-search" @click="search"></i>
</el-input>
</div>
<div class="laser-positioning" @click="positioning()">
<span>地图扎点</span>
<img src="@/assets/images/positioning.png" alt="">
<img src="@/assets/images/positioning.png" alt="" />
</div>
<div class="creation-task" @click="createdTask()">
<span>任务创建</span>
<img src="@/assets/images/createdTask.png" alt="">
<img src="@/assets/images/createdTask.png" alt="" />
</div>
</div>
<div class="middle-bottom-left">
<div class="list" @click="changeMap(1)">
<div class="leftbg" :class="actionMap == 1 ? 'action-map':''">
<img src="@/assets/images/icon1.png" alt="">
<div class="leftbg" :class="actionMap == 1 ? 'action-map' : ''">
<img src="@/assets/images/icon1.png" alt="" />
</div>
<div class="rightbg" v-show="actionMap == 1">
<span>执法人员</span>
</div>
</div>
<div class="list" @click="changeMap(2)">
<div class="leftbg" :class="actionMap == 2 ? 'action-map':''">
<img src="@/assets/images/icon2.png" alt="">
<div class="leftbg" :class="actionMap == 2 ? 'action-map' : ''">
<img src="@/assets/images/icon2.png" alt="" />
</div>
<div class="rightbg" v-show="actionMap == 2">
<span>普通事件</span>
</div>
</div>
<div class="list" @click="changeMap(2)">
<div class="leftbg" :class="actionMap == 2 ? 'action-map':''">
<img src="@/assets/images/icon3.png" alt="">
<div class="leftbg" :class="actionMap == 2 ? 'action-map' : ''">
<img src="@/assets/images/icon3.png" alt="" />
</div>
<div class="rightbg" v-show="actionMap == 2">
<span>重点事件</span>
</div>
</div>
<div class="list" @click="changeMap(3)">
<div class="leftbg" :class="actionMap == 3 ? 'action-map':''">
<img src="@/assets/images/icon4.png" alt="">
<div class="leftbg" :class="actionMap == 3 ? 'action-map' : ''">
<img src="@/assets/images/icon4.png" alt="" />
</div>
<div class="rightbg" v-show="actionMap == 3">
<span>执法车辆</span>
</div>
</div>
<div class="list" @click="changeMap(4)">
<div class="leftbg" :class="actionMap == 4 ? 'action-map':''">
<img src="@/assets/images/icon5.png" alt="">
<div class="leftbg" :class="actionMap == 4 ? 'action-map' : ''">
<img src="@/assets/images/icon5.png" alt="" />
</div>
<div class="rightbg" v-show="actionMap == 4">
<span>监控视频</span>
@ -73,8 +71,12 @@
</div>
<div class="middle-bottom-right">
<div class="btn-action">
<span :class="action == 1? 'action':''" @click="actionBtn(1)"></span>
<span :class="action == 2? 'action':''" @click="actionBtn(2)"></span>
<span :class="action == 1 ? 'action' : ''" @click="actionBtn(1)"
>电子地图</span
>
<span :class="action == 2 ? 'action' : ''" @click="actionBtn(2)"
>卫星地图</span
>
</div>
</div>
<personage-track ref="personageTrack"></personage-track>
@ -83,48 +85,44 @@
</div>
</template>
<script>
import personageTrack from "../../components/personagetrack/index.vue"
import crewAssign from "../../components/crewAssign/index.vue"
import videoWall from "../../components/videoWall/index.vue"
import personageTrack from "../../components/personagetrack/index.vue";
import crewAssign from "../../components/crewAssign/index.vue";
import videoWall from "../../components/videoWall/index.vue";
export default {
components:{personageTrack,crewAssign,videoWall},
components: { personageTrack, crewAssign, videoWall },
data() {
return {
action:1,
lawExecutor:true, //
generalEvent:false, //
emphasisEvent:false, //
lawCar:false, //
surveillanceVideo:false, //
input:'', //
actionMap:1, //
}
action: 1,
lawExecutor: true, //
generalEvent: false, //
emphasisEvent: false, //
lawCar: false, //
surveillanceVideo: false, //
input: "", //
actionMap: 1, //
};
},
methods:{
actionBtn(id){
methods: {
actionBtn(id) {
this.action = id;
console.log(id)
this.$emit('actionBtn',id);
if(id == 1){
console.log(id);
this.$emit("actionBtn", id);
if (id == 1) {
this.$refs.personageTrack.open();
} else {
this.$refs.crewAssign.open();
}
},
//
search(){
},
search() {},
//
createdTask(){
},
createdTask() {},
//
positioning(){
positioning() {
this.$refs.videoWall.open();
},
//
changeMap(id){
changeMap(id) {
//
// if(id == 1) {
// this.actionMap <= 1 ? this.actionMap = 4 : this.actionMap--
@ -133,10 +131,10 @@ export default {
// this.actionMap >= 4 ? this.actionMap = 1 : this.actionMap++
// }
this.actionMap = id;
this.$emit('actionMap',this.actionMap);
this.$emit("actionMap", this.actionMap);
},
},
}
};
</script>
<style lang="scss" scoped>
::v-deep .el-dialog:not(.is-fullscreen) {
@ -168,10 +166,10 @@ export default {
display: flex;
.input-keyword {
::v-deep .el-input {
background: rgba(0,60,116,0.2);
box-shadow: inset 0px 0px 6px 0px #00C2FF;
background: rgba(0, 60, 116, 0.2);
box-shadow: inset 0px 0px 6px 0px #00c2ff;
border-radius: 2px;
border: 1px solid rgba(181,207,255,0.5);
border: 1px solid rgba(181, 207, 255, 0.5);
.el-input__inner {
background-color: transparent;
width: 222px;
@ -182,30 +180,31 @@ export default {
.el-input__inner::placeholder {
/* 在这里添加你想要修改的 placeholder 样式 */
font-size: 14px;
font-family: 'Source Han Sans CN-Regular';
font-family: "Source Han Sans CN-Regular";
font-weight: 400;
color: #D3EEF2;
color: #d3eef2;
line-height: 20px;
}
}
::v-deep .el-input__suffix {
line-height: 44px;
color: #D3EEF2;
color: #d3eef2;
right: 10px;
cursor: pointer;
.el-icon-search:before {
font-size: 24px;
color: #D3EEF2;
color: #d3eef2;
}
}
}
.laser-positioning,.creation-task {
.laser-positioning,
.creation-task {
// height: 38px;
margin-left: 8px;
background: rgba(0,60,116,0.6);
box-shadow: inset 0px 0px 6px 0px #00C2FF;
background: rgba(0, 60, 116, 0.6);
box-shadow: inset 0px 0px 6px 0px #00c2ff;
border-radius: 2px;
border: 1px solid rgba(181,207,255,0.5);
border: 1px solid rgba(181, 207, 255, 0.5);
display: flex;
align-items: center;
justify-content: center;
@ -213,9 +212,9 @@ export default {
cursor: pointer;
span {
font-size: 14px;
font-family: 'Source Han Sans CN-Regular';
font-family: "Source Han Sans CN-Regular";
font-weight: 400;
color: #D3EEF2;
color: #d3eef2;
line-height: 20px;
margin-right: 12px;
}
@ -232,7 +231,7 @@ export default {
padding: 5px 10px;
display: flex;
flex-direction: column;
.list{
.list {
margin-top: 10px;
display: flex;
align-items: center;
@ -240,7 +239,7 @@ export default {
display: flex;
align-items: center;
justify-content: center;
background-image: url('../../../assets/images/iconbg2.png');
background-image: url("../../../assets/images/iconbg2.png");
background-size: 100% 100%;
width: 36px;
height: 36px;
@ -250,29 +249,28 @@ export default {
}
}
.action-map {
background-image: url('../../../assets/images/iconbg1.png');
background-image: url("../../../assets/images/iconbg1.png");
}
.rightbg {
padding-left: 6px;
margin-left: 2px;
background-image: url('../../../assets/images/right-icon.png');
background-image: url("../../../assets/images/right-icon.png");
width: 115px;
height: 36px;
display: flex;
align-items: center;
span {
font-size: 16px;
font-family: 'Source Han Sans CN-Bold';
font-family: "Source Han Sans CN-Bold";
font-weight: 700;
color: #FFFFFF;
color: #ffffff;
line-height: 26px;
text-shadow: 0px 0px 5px #0077FF;
text-shadow: 0px 0px 5px #0077ff;
}
}
}
}
.middle-bottom-right {
.btn-action {
display: flex;
span {
@ -281,25 +279,25 @@ export default {
text-align: center;
padding: 10px 33px;
font-size: 16px;
font-family: 'Source Han Sans CN-Regular';
font-family: "Source Han Sans CN-Regular";
font-weight: 400;
color: #D3EEF2;
color: #d3eef2;
cursor: pointer;
background: transparent;
box-shadow: inset 0px 0px 6px 0px #00C2FF;
box-shadow: inset 0px 0px 6px 0px #00c2ff;
border-radius: 2px 2px 2px 2px;
opacity: 1;
border: 1px solid rgba(181,207,255,0.5);
border: 1px solid rgba(181, 207, 255, 0.5);
&:nth-child(1) {
margin-right: 10px;
}
}
.action {
color: #fff;
background-color: rgba(255,125,64,0.8);
box-shadow: inset 0px 0px 13px 0px #F6B463;
background-color: rgba(255, 125, 64, 0.8);
box-shadow: inset 0px 0px 13px 0px #f6b463;
border-radius: 2px 2px 2px 2px;
border: 1px solid rgba(181,207,255,0.5);
border: 1px solid rgba(181, 207, 255, 0.5);
}
}
}

File diff suppressed because it is too large Load Diff

@ -11,21 +11,15 @@
<div class="crew-assign">
<div class="item">
<div class="ball"></div>
<div class="content">
事件名称<span>xx小区乱堆杂物</span>
</div>
<div class="content">事件名称<span>xx小区乱堆杂物</span></div>
</div>
<div class="item">
<div class="ball"></div>
<div class="content">
事件类别<span>暴露垃圾</span>
</div>
<div class="content">事件类别<span>暴露垃圾</span></div>
</div>
<div class="item">
<div class="ball"></div>
<div class="content">
事件地址<span>xx街道xx小区</span>
</div>
<div class="content">事件地址<span>xx街道xx小区</span></div>
</div>
<div class="itemtwo">
<div class="left">
@ -38,7 +32,8 @@
v-for="item in options"
:key="item.value"
:label="item.label"
:value="item.value">
:value="item.value"
>
</el-option>
</el-select>
</div>
@ -52,9 +47,10 @@
<el-date-picker
v-model="dateTime"
type="datetime"
placeholder="选择日期时间">
placeholder="选择日期时间"
>
</el-date-picker>
<img class="data_icon" src="@/assets/images/timeIcon.png" alt="">
<img class="data_icon" src="@/assets/images/timeIcon.png" alt="" />
</div>
</div>
<div class="btns">
@ -65,45 +61,51 @@
</dia-log>
</template>
<script>
import diaLog from "../../components/dialog/index.vue"
import diaLog from "../../components/dialog/index.vue";
export default {
components:{diaLog},
components: { diaLog },
data() {
return {
dateTime:'',
options: [{
value: '选项1',
label: '李飞'
}, {
value: '选项2',
label: '李飞'
}, {
value: '选项3',
label: '李飞'
}, {
value: '选项4',
label: '李飞'
}, {
value: '选项5',
label: '李飞'
}],
value: ''
}
dateTime: "",
options: [
{
value: "选项1",
label: "李飞",
},
{
value: "选项2",
label: "李飞",
},
{
value: "选项3",
label: "李飞",
},
{
value: "选项4",
label: "李飞",
},
{
value: "选项5",
label: "李飞",
},
],
value: "",
};
},
methods:{
methods: {
open() {
this.$refs.dialog2.open('2');
this.$refs.dialog2.open("2");
},
Close() {
this.$refs.dialog2.Close();
},
//
cancel(){
cancel() {
this.$refs.dialog2.Close();
},
confirm(){}
confirm() {},
},
}
};
</script>
<style lang="scss" scoped>
::v-deep .el-dialog__body {
@ -121,22 +123,23 @@ export default {
.ball {
width: 4px;
height: 4px;
background: #DAEBFF;
box-shadow: 0px 0px 10px 5px rgba(0,119,255,0.25), 0px 0px 5px 0px rgba(229,241,255,0.25);
background: #daebff;
box-shadow: 0px 0px 10px 5px rgba(0, 119, 255, 0.25),
0px 0px 5px 0px rgba(229, 241, 255, 0.25);
border-radius: 20px 20px 20px 20px;
margin-right: 15px;
}
.content {
font-size: 14px;
font-family: 'Source Han Sans CN-Medium';
font-family: "Source Han Sans CN-Medium";
font-weight: 500;
color: #CCCCCC;
color: #cccccc;
line-height: 20px;
span {
font-size: 14px;
font-family: 'Source Han Sans CN-Medium';
font-family: "Source Han Sans CN-Medium";
font-weight: 500;
color: #E9F4FF;
color: #e9f4ff;
line-height: 20px;
}
}
@ -150,21 +153,22 @@ export default {
.ball {
width: 4px;
height: 4px;
background: #DAEBFF;
box-shadow: 0px 0px 10px 5px rgba(0,119,255,0.25), 0px 0px 5px 0px rgba(229,241,255,0.25);
background: #daebff;
box-shadow: 0px 0px 10px 5px rgba(0, 119, 255, 0.25),
0px 0px 5px 0px rgba(229, 241, 255, 0.25);
border-radius: 20px 20px 20px 20px;
margin-right: 15px;
}
.content {
font-size: 14px;
font-family: 'Source Han Sans CN-Medium';
font-family: "Source Han Sans CN-Medium";
font-weight: 500;
color: #CCCCCC;
color: #cccccc;
line-height: 20px;
}
}
.right {
background-image: url('../../../assets/images/timebg.png');
background-image: url("../../../assets/images/timebg.png");
width: 350px;
height: 35px;
background-size: 100% 100%;
@ -181,27 +185,31 @@ export default {
width: 100%;
height: 35px;
font-size: 14px;
font-family: 'Source Han Sans CN-Medium';
font-family: "Source Han Sans CN-Medium";
font-weight: 500;
color: #E9F4FF;
color: #e9f4ff;
padding-left: 12px;
}
.el-input__inner::placeholder {
/* 在这里添加你想要修改的 placeholder 样式 */
font-size: 14px;
font-family: 'Source Han Sans CN-Regular';
font-family: "Source Han Sans CN-Regular";
font-weight: 400;
color: #D3EEF2;
color: #d3eef2;
-webkit-background-clip: text;
-webkit-text-fill-color: rgba(211,238,242,0.2);
-webkit-text-fill-color: rgba(211, 238, 242, 0.2);
}
}
::v-deep .el-select {
background-color: transparent;
width: 350px;
.el-input .el-input__suffix .el-input__suffix-inner .el-icon-arrow-up::before {
.el-input
.el-input__suffix
.el-input__suffix-inner
.el-icon-arrow-up::before {
content: "";
background: url(../../../assets/images/pull-down.png) center center no-repeat;
background: url(../../../assets/images/pull-down.png) center center
no-repeat;
background-size: 100% 100%;
position: absolute;
width: 100%;
@ -222,18 +230,18 @@ export default {
width: 100%;
height: 35px;
font-size: 14px;
font-family: 'Source Han Sans CN-Medium';
font-family: "Source Han Sans CN-Medium";
font-weight: 500;
color: #E9F4FF;
color: #e9f4ff;
}
.el-input__inner::placeholder {
/* 在这里添加你想要修改的 placeholder 样式 */
font-size: 14px;
font-family: 'Source Han Sans CN-Regular';
font-family: "Source Han Sans CN-Regular";
font-weight: 400;
color: #D3EEF2;
color: #d3eef2;
-webkit-background-clip: text;
-webkit-text-fill-color: rgba(211,238,242,0.2);
-webkit-text-fill-color: rgba(211, 238, 242, 0.2);
}
}
.data_icon {
@ -252,18 +260,18 @@ export default {
.btn {
width: 91px;
height: 30px;
background: rgba(0,60,116,0.6);
box-shadow: inset 0px 0px 6px 0px #00C2FF;
background: rgba(0, 60, 116, 0.6);
box-shadow: inset 0px 0px 6px 0px #00c2ff;
border-radius: 2px 2px 2px 2px;
opacity: 1;
border: 1px solid rgba(181,207,255,0.5);
border: 1px solid rgba(181, 207, 255, 0.5);
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
font-family: 'Source Han Sans CN-Regular';
font-family: "Source Han Sans CN-Regular";
font-weight: 400;
color: #D3EEF2;
color: #d3eef2;
line-height: 20px;
cursor: pointer;
}

@ -0,0 +1,4 @@
export { default as tab1 } from "./tab1.vue";
export { default as tab2 } from "./tab2.vue";
export { default as tab3 } from "./tab3.vue";
export { default as tab4 } from "./tab4.vue";

@ -0,0 +1,7 @@
<template></template>
<script>
export default {};
</script>
<style></style>

@ -0,0 +1,7 @@
<template></template>
<script>
export default {};
</script>
<style></style>

@ -0,0 +1,7 @@
<template></template>
<script>
export default {};
</script>
<style></style>

@ -0,0 +1,7 @@
<template></template>
<script>
export default {};
</script>
<style></style>

@ -0,0 +1,112 @@
<!--
* @Descripttion:
* @version:
* @Author: JC9527
* @Date: 2023-08-17 10:41:06
* @LastEditors: JC9527
* @LastEditTime: 2023-08-17 19:08:16
-->
<template>
<dia-log ref="dialog5" :width="width" :title="title">
<div class="tab-list">
<div
class="tab-item"
v-for="(item, index) in list"
:key="index"
:class="currentIndex == index ? 'activeTab' : ''"
@click="changeTab(index)"
>
{{ item.name }}
</div>
</div>
<div class="tab-page"></div>
</dia-log>
</template>
<script>
import { tab1, tab2, tab3, tab4 } from "./components/index.js";
import diaLog from "../../components/dialog/index.vue";
export default {
components: {
tab1,
tab2,
tab3,
tab4,
},
props: {
width: {
type: String,
default: "565px",
},
title: {
type: String,
default: "视频墙",
},
},
components: { diaLog },
data() {
return {
currentIndex: 0,
list: [
{ name: "主体工商信息" },
{ name: "安全生产模版" },
{ name: "整改过程信息" },
{ name: "过期未整改告警" },
],
};
},
methods: {
changeTab(index) {
if (this.currentIndex == index) return;
this.currentIndex = index;
},
open() {
this.$refs.dialog5.open("5");
},
Close() {
this.$refs.dialog3.Close();
},
},
};
</script>
<style lang="scss" scoped>
::v-deep .el-dialog__body {
padding: 30px !important;
}
.video-main {
display: grid;
grid-template-columns: repeat(3, 200px);
grid-column-gap: 10px;
grid-row-gap: 15px;
.main-item {
// width: 248px;
height: 100px;
width: 100%;
background-image: url("../../../assets/images/videoImg.png");
background-size: 100% 100%;
}
}
.tab-list {
display: flex;
align-items: center;
.tab-item {
cursor: pointer;
font-size: 14px;
font-weight: 400;
color: #d3eef2;
margin-right: 15px;
padding: 6px 10px;
background: url("~@/assets/images/changeBtn2.png");
background-size: 100% 100%;
}
.activeTab {
color: #ffffff;
font-weight: 700;
background: url("~@/assets/images/activeTab.png");
background-size: 100% 100%;
}
}
.tab-page {
min-height: 500px;
padding-top: 20px;
}
</style>

@ -13,7 +13,7 @@
<el-input
v-model="key"
size="mini"
:style="{width: '260px'}"
:style="{ width: '260px' }"
placeholder="请输入图标名称"
prefix-icon="el-icon-search"
clearable
@ -23,7 +23,7 @@
<li
v-for="icon in iconList"
:key="icon"
:class="active===icon?'active-item':''"
:class="active === icon ? 'active-item' : ''"
@click="onSelect(icon)"
>
<i :class="icon" />
@ -34,42 +34,42 @@
</div>
</template>
<script>
import iconList from '@/utils/generator/icon.json'
import iconList from "@/utils/generator/icon.json";
const originList = iconList.map(name => `el-icon-${name}`)
const originList = iconList.map((name) => `el-icon-${name}`);
export default {
inheritAttrs: false,
props: ['current'],
props: ["current"],
data() {
return {
iconList: originList,
active: null,
key: ''
}
key: "",
};
},
watch: {
key(val) {
if (val) {
this.iconList = originList.filter(name => name.indexOf(val) > -1)
this.iconList = originList.filter((name) => name.indexOf(val) > -1);
} else {
this.iconList = originList
this.iconList = originList;
}
}
},
},
methods: {
onOpen() {
this.active = this.current
this.key = ''
this.active = this.current;
this.key = "";
},
onClose() {},
onSelect(icon) {
this.active = icon
this.$emit('select', icon)
this.$emit('update:visible', false)
}
}
}
this.active = icon;
this.$emit("select", icon);
this.$emit("update:visible", false);
},
},
};
</script>
<style lang="scss" scoped>
.icon-ul {
@ -90,9 +90,9 @@ export default {
&:hover {
background: #f2f2f2;
}
&.active-item{
&.active-item {
background: #e1f3fb;
color: #7a6df0
color: #7a6df0;
}
> i {
font-size: 30px;

Loading…
Cancel
Save