独树的风 10 months ago
commit b4334fb792

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

@ -2,7 +2,7 @@ import axios from 'axios'
// import { getToken } from '@/utils/token' // import { getToken } from '@/utils/token'
const baseURL = 'http://50.146.63.43:20000/' const baseURL = 'http://50.146.63.43:20000/'
// const baseURL = '' //const baseURL = `http://${window.location.host}/`
// axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8' // axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
const request = axios.create({ const request = axios.create({
baseURL, baseURL,

@ -69,7 +69,52 @@
</div> </div>
<!-- 滚动区域 --> <!-- 滚动区域 -->
<div class="roll_body"> <div class="roll_body">
<!-- <PersonScroll></PersonScroll> --> <ul class="marquee-list" :class="{ 'animate-up': animateUp }">
<li v-for="(item, index) in roll_list" :key="index">
<div class="roll_item_left">
<div class="roll_item_pic"></div>
<div class="roll_item_btn">查看详情</div>
</div>
<div class="roll_item_right">
<div v-if="item.per_type == '1'" class="person_type one_type">
{{ item.type_text }}
</div>
<div
v-else-if="item.per_type == '2'"
class="person_type two_type"
>
{{ item.type_text }}
</div>
<div
v-else-if="item.per_type == '3'"
class="person_type three_type"
>
{{ item.type_text }}
</div>
<!-- 信息展示 -->
<div class="right_text">
<div class="right_text_item">人员姓名</div>
<div class="right_text_item">联系电话</div>
<div class="right_text_item">证件号码</div>
<div class="right_text_item">户籍地址</div>
<div class="right_text_item">现住地址</div>
</div>
<div class="right_value">
<div class="right_value_item">{{ item.person_name }}</div>
<div class="right_value_item">{{ item.phone_num }}</div>
<div class="right_value_item" :title="item.id_card">
{{ item.id_card }}
</div>
<div class="right_value_item" :title="item.old_address">
{{ item.old_address }}
</div>
<div class="right_value_item" :title="item.new_address">
{{ item.new_address }}
</div>
</div>
</div>
</li>
</ul>
</div> </div>
</div> </div>
</div> </div>
@ -83,13 +128,106 @@ export default {
// components: { PersonScroll }, // components: { PersonScroll },
data() { data() {
return { return {
title_text: '重点人员' title_text: '重点人员',
// * roll_list: [
// carouselData: [{ id: 1 }] {
text: '123',
per_type: '1',
type_text: '在逃人员',
person_name: '周大山',
phone_num: '13455674532',
id_card: '321287197606038965',
old_address: '射阳县解放路74号',
new_address: '江苏省射阳县海河镇革新村二组113号'
},
{
text: '1243',
per_type: '3',
type_text: '涉恐人员',
person_name: '王富强',
phone_num: '13455674532',
id_card: '321287197606038965',
old_address: '射阳县解放路74号',
new_address: '江苏省射阳县海河镇革新村二组113号'
},
{
text: '12323',
per_type: '2',
type_text: '精神病人',
person_name: '赵磊',
phone_num: '13455674532',
id_card: '321287197606038965',
old_address: '射阳县解放路74号',
new_address: '江苏省射阳县海河镇革新村二组113号'
},
{
text: '1243',
per_type: '2',
type_text: '精神病人',
person_name: '徐永',
phone_num: '13455674532',
id_card: '321287197606038965',
old_address: '射阳县解放路74号',
new_address: '江苏省射阳县海河镇革新村二组113号'
},
{
text: '1223',
per_type: '2',
type_text: '精神病人',
person_name: '李文一',
phone_num: '13455674532',
id_card: '321287197606038965',
old_address: '射阳县解放路74号',
new_address: '江苏省射阳县海河镇革新村二组113号'
},
{
text: '1223',
per_type: '1',
type_text: '在逃人员',
person_name: '谭静',
phone_num: '13455674532',
id_card: '321287197606038965',
old_address: '射阳县解放路74号',
new_address: '江苏省射阳县海河镇革新村二组113号'
},
{
text: '1243',
per_type: '3',
type_text: '涉恐人员',
person_name: '孙洋洋',
phone_num: '13455674532',
id_card: '321287197606038965',
old_address: '射阳县解放路74号',
new_address: '江苏省射阳县海河镇革新村二组113号'
},
{
text: '1223',
per_type: '1',
type_text: '在逃人员',
person_name: '董磊',
phone_num: '13455674532',
id_card: '321287197606038965',
old_address: '射阳县解放路74号',
new_address: '江苏省射阳县海河镇革新村二组113号'
},
{
text: '1223',
per_type: '2',
type_text: '精神病人',
person_name: '郑廖',
phone_num: '13455674532',
id_card: '321287197606038965',
old_address: '射阳县解放路74号',
new_address: '江苏省射阳县海河镇革新村二组113号'
}
],
animateUp: false,
timer: null
} }
}, },
mounted() { mounted() {
this.init_charts() this.init_charts()
this.timer = setInterval(this.scrollAnimate, 1500)
}, },
methods: { methods: {
init_charts() { init_charts() {
@ -143,6 +281,15 @@ export default {
] ]
} }
option && myChart.setOption(option) option && myChart.setOption(option)
},
//
scrollAnimate() {
this.animateUp = true
setTimeout(() => {
this.roll_list.push(this.roll_list[0])
this.roll_list.shift()
this.animateUp = false
}, 500)
} }
} }
} }
@ -274,9 +421,113 @@ export default {
} }
} }
} }
.roll_body { .roll_body {
margin-top: 2vh; width: 20vw;
height: 48vh;
// background: #00f5ff;
overflow: hidden;
.marquee-list {
width: 20vw;
height: 48vh;
padding: 0px;
li {
margin-left: 2%;
margin-right: 2%;
width: 96%;
height: 15vh;
background: url('~@/assets/coastalMap/keyPerson/key_li_back.png')
no-repeat;
background-size: 100% 100%;
margin-top: 1vh;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
list-style: none;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
.roll_item_left {
width: 5vw;
height: 13vh;
.roll_item_pic {
width: 5vw;
height: 10vh;
background: #0b4672;
}
.roll_item_btn {
width: 5vw;
height: 3vh;
color: #fff;
background: #00f5ff;
font-size: 16px;
font-weight: 400;
text-align: center;
line-height: 3vh;
cursor: pointer;
background: url('~@/assets/coastalMap/keyPerson/key_li_btn.png')
no-repeat;
background-size: 100% 100%;
}
}
.roll_item_right {
width: 13vw;
height: 13vh;
position: relative;
display: flex;
.person_type {
position: absolute;
width: 3vw;
height: 2vh;
top: 0px;
right: 0px;
color: #061122;
text-align: center;
line-height: 2vh;
}
.one_type {
background: #ffc426;
}
.two_type {
background: #00f5ff;
}
.three_type {
background: #a357ff;
}
.right_text {
width: 5vw;
height: 13vh;
.right_text_item {
width: 5vw;
height: 2.6vh;
color: #ecf4f9;
font-size: 14px;
text-align: center;
line-height: 2.6vh;
}
}
.right_value {
width: 8vw;
height: 13vh;
.right_value_item {
width: 8vw;
height: 2.6vh;
color: #edf1f7;
font-size: 14px;
text-align: left;
line-height: 2.6vh;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
}
}
}
}
.animate-up {
transition: all 0.8s ease-in-out;
transform: translateY(-20vh);
}
} }
} }
} }

@ -11,8 +11,8 @@
:key="index" :key="index"
> >
<div class="police_body_box_title">{{ item.text }}</div> <div class="police_body_box_title">{{ item.text }}</div>
<div class="police_body_box_num" :style="{ color: item.color }"> <div class="police_body_box_num">
2,362 {{ item.num }}
</div> </div>
</div> </div>
</div> </div>
@ -26,9 +26,9 @@ export default {
return { return {
// * // *
policeData: [ policeData: [
{ color: '#00f5ff', text: '派出所' }, { num: '321', text: '派出所' },
{ color: '#ffc426', text: '警务室' }, { num: '123', text: '警务室' },
{ color: '#00f5ff', text: '执法警员' } { num: '645', text: '执法警员' }
] ]
} }
} }
@ -37,21 +37,24 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.police { .police {
width: 18vw; width: 20vw;
height: 18vh; height: 17.5vh;
.police_title { .police_title {
height: 4vh; width: 20vw;
height: 3.5vh;
background-image: url('@/assets/picture/bg_small_title.png'); background-image: url('@/assets/picture/bg_small_title.png');
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
.police_title_text { .police_title_text {
width: 18vw;
height: 3.5vh;
color: antiquewhite;
margin-left: 2vw; margin-left: 2vw;
font-size: 1vw; font-size: 16px;
color: #edf1f7; font-weight: 700;
line-height: 4vh; line-height: 3.5vh;
text-shadow: 0 0 10px #0b4672; text-shadow: 0px 0px 10px #0b4672;
letter-spacing: 2px;
} }
} }
@ -59,40 +62,44 @@ export default {
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
align-items: center; align-items: center;
height: 15vh; height: 12vh;
background-image: url('@/assets/picture/bg_right.png'); background-image: url('@/assets/coastalMap/box_back.png');
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
.police_body_box { .police_body_box {
width: 5vw; width: 5vw;
height: 10vh; height: 9vh;
background-image: url('@/assets/picture/bg_police_nor.png'); background-image: url('@/assets/picture/bg_police_nor.png');
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
cursor: pointer;
&:hover { &:hover {
background-image: url('@/assets/picture/bg_police_hover.png'); background-image: url('@/assets/picture/bg_police_hover.png');
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
cursor: pointer;
} }
.police_body_box_title { .police_body_box_title {
height: 3vh; height: 2.4vh;
text-align: center; text-align: center;
font-size: 0.8rem; font-size: 1.2rem;
color: #edf1f7; color: #edf1f7;
line-height: 2.7vh; line-height: 2.4vh;
} }
.police_body_box_num { .police_body_box_num {
font-size: 1vw; font-size: 2rem;
font-family: D-DIN, D-DIN; font-family: D-DIN, D-DIN;
font-weight: bold; font-weight: bold;
color: #00f5ff; color: #00f5ff;
text-align: center; text-align: center;
line-height: 7vh; line-height: 7vh;
} }
.police_body_box_num:hover {
color: #ffc426;
}
} }
} }
} }

@ -5,63 +5,360 @@
<div class="police_status_text">警情统计</div> <div class="police_status_text">警情统计</div>
</div> </div>
<div class="police_status_body"> <div class="police_status_body">
<div class="police_status_body_charts"></div> <!-- 包含排名以及横向柱状图 -->
<div class="police_status_body_scroll"> <div class="police_status_body_charts">
<PoliceScroll></PoliceScroll> <div class="police_status_box">
<!-- 左边占比 -->
<div class="rank_left">
<div class="rank_left_item one">1</div>
<div class="rank_left_item two">2</div>
<div class="rank_left_item three">3</div>
</div>
<div class="charts_right" id="charts_right"></div>
</div>
</div>
<!-- 滚动 -->
<div class="roll_body">
<!-- <PoliceScroll></PoliceScroll> -->
<ul class="marquee-list" :class="{ 'animate-up': animateUp }">
<li v-for="item in roll_list" :key="item.id">
<div class="roll_item">
<div class="time_box">{{ item.police_time }}</div>
<div class="roll_item_left">
<div class="roll_item_text">警情类型</div>
<div class="roll_item_text">接警单位</div>
<div class="roll_item_text">事发地址</div>
<div class="roll_item_text">报警内容</div>
</div>
<div class="roll_item_right">
<div class="roll_item_value">{{ item.type }}</div>
<div class="roll_item_value">{{ item.unit }}</div>
<div class="roll_item_value">{{ item.address }}</div>
<div class="roll_item_value" :title="item.now_address">{{ item.now_address }}</div>
</div>
</div>
</li>
</ul>
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import PoliceScroll from './policeScroll.vue' // import PoliceScroll from "./policeScroll.vue";
import * as echarts from "echarts";
import EleResize from "@/utils/esresize";
export default { export default {
name: 'PoliceStatus', name: "PoliceStatus",
components: { PoliceScroll }, components: {
//PoliceScroll
},
data() { data() {
return return {
y_data: ["调解案件", "行政处罚案件", "当场处罚案件"], // y
chart_data: ["145", "29", "101"], // chart
roll_list: [
{
id:'1',
type: "机动车",
unit:'射阳公安局',
address:'建湖县明星路与冠华路交界处北边',
police_time: "2023-11-24 13:21:17",
now_address:'报警人萧婷在建湖县明星路与冠华路交界处北边轿车苏J8MZ63、苏J3KC06相撞。(建湖64号,内线(86158110)) '
},
{
id:'2',
type: "机动车",
unit:'射阳公安局',
address:'建湖县明星路与冠华路交界处北边',
police_time: "2023-11-22 14:20:17",
now_address:'报警人萧婷在建湖县明星路与冠华路交界处北边轿车苏J8MZ63、苏J3KC06相撞。(建湖64号,内线(86158110)) '
},
{
id:'3',
type: "机动车",
unit:'射阳公安局',
address:'建湖县明星路与冠华路交界处北边',
police_time: "2023-11-21 09:20:17",
now_address:'报警人萧婷在建湖县明星路与冠华路交界处北边轿车苏J8MZ63、苏J3KC06相撞。(建湖64号,内线(86158110)) '
},
{
id:'4',
type: "机动车",
unit:'射阳公安局',
address:'建湖县明星路与冠华路交界处北边',
police_time: "2023-12-03 14:35:17",
now_address:'报警人萧婷在建湖县明星路与冠华路交界处北边轿车苏J8MZ63、苏J3KC06相撞。(建湖64号,内线(86158110)) '
},
{
id:'5',
type: "机动车",
unit:'射阳公安局',
address:'建湖县明星路与冠华路交界处北边',
police_time: "2023-12-02 13:21:16",
now_address:'报警人萧婷在建湖县明星路与冠华路交界处北边轿车苏J8MZ63、苏J3KC06相撞。(建湖64号,内线(86158110)) '
},
{
id:'6',
type: "机动车",
unit:'射阳公安局',
address:'建湖县明星路与冠华路交界处北边',
police_time: "2023-12-04 13:20:17",
now_address:'报警人萧婷在建湖县明星路与冠华路交界处北边轿车苏J8MZ63、苏J3KC06相撞。(建湖64号,内线(86158110)) '
},
{
id:'7',
type: "机动车",
unit:'射阳公安局',
address:'建湖县明星路与冠华路交界处北边',
police_time: "2023-11-15 13:23:17",
now_address:'报警人萧婷在建湖县明星路与冠华路交界处北边轿车苏J8MZ63、苏J3KC06相撞。(建湖64号,内线(86158110)) '
}
],
animateUp: false,
timer: null,
};
}, },
mounted() {}, mounted() {
methods: {}, this.init_charts();
computed: {} this.timer = setInterval(this.scrollAnimate, 1500);
} },
methods: {
init_charts() {
let charts = document.getElementById("charts_right");
let resize_div = document.getElementById("charts_right");
let myChart = echarts.init(charts);
// echarts
EleResize.on(resize_div, () => {
myChart.resize();
});
let option = {
grid: {
top: "3%",
left: "3%",
right: "10%",
bottom: "3%",
containLabel: true, //
},
xAxis: {
show: false,
axisLine: {
show: false,
},
axisTick: {
show: false,
},
axisLabel: {
show: false,
},
},
yAxis: {
type: "category",
data: this.y_data,
inverse: true, //
axisLabel: {
color: "#fff",
},
axisLine: {
show: false, // 线
},
axisTick: {
show: false, // 线
},
},
series: [
{
data: this.chart_data,
type: "bar",
showBackground: true,
itemStyle: {
color: {
colorStops: [
{
offset: 0,
color: "#1A416B", // 0%
},
{
offset: 1,
color: "#019FFA", // 100%
},
],
},
},
backgroundStyle: {
color: "rgba(180, 180, 180, 0.2)",
},
label: {
show: true,
position: "right",
color: "white",
},
},
],
};
option && myChart.setOption(option);
},
//
scrollAnimate() {
this.animateUp = true;
setTimeout(() => {
this.roll_list.push(this.roll_list[0]);
this.roll_list.shift();
this.animateUp = false;
}, 500);
},
},
};
</script> </script>
<style lang="scss"> <style lang="scss">
.police_status { .police_status {
margin-top: 2vh; margin-top: 1.5vh;
width: 18vw; width: 18vw;
height: 47vh; height: 50vh;
// background-color: #fff; // background-color: #fff;
.police_status_header { .police_status_header {
height: 4vh; width: 20vw;
background-image: url('@/assets/picture/bg_small_title.png'); height: 3.5vh;
background-image: url("@/assets/picture/bg_small_title.png");
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
.police_status_text { .police_status_text {
width: 18vw;
height: 3.5vh;
color: antiquewhite;
margin-left: 2vw; margin-left: 2vw;
font-size: 1vw; font-size: 16px;
color: #edf1f7; font-weight: 700;
line-height: 4vh; line-height: 3.5vh;
text-shadow: 0 0 10px #0b4672; text-shadow: 0px 0px 10px #0b4672;
letter-spacing: 2px;
} }
} }
.police_status_body { .police_status_body {
height: 43vh; width: 20vw;
background-image: url('@/assets/picture/bg_5.png'); height: 46.5vh;
background-image: url("@/assets/picture/bg_5.png");
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
.police_status_body_charts { .police_status_body_charts {
height: 15vh; width: 20vw;
// background-color: #fb3f3f; height: 19vh;
display: flex;
justify-content: center;
align-items: center;
.police_status_box {
width: 19vw;
height: 18vh;
background: #0b4672;
display: flex;
.rank_left {
width: 3vw;
height: 18vh;
.rank_left_item {
width: 3vw;
height: 6vh;
color: #ecf4f9;
font-size: 18px;
font-weight: 600;
text-align: center;
line-height: 6vh;
}
.one {
background: url("~@/assets/coastalMap/policeStatus/rank_one.png")
no-repeat;
background-size: 100% 100%;
}
.two {
background: url("~@/assets/coastalMap/policeStatus/rank_two.png")
no-repeat;
background-size: 100% 100%;
}
.three {
background: url("~@/assets/coastalMap/policeStatus/rank_three.png")
no-repeat;
background-size: 100% 100%;
}
}
.charts_right {
width: 16vw;
}
}
} }
// .police_status_body_scroll {
.police_status_body_scroll { // height: 28vh;
height: 28vh; // }
.roll_body {
width: 20vw;
height: 27vh;
overflow: hidden;
.marquee-list {
width: 20vw;
height: 27vh;
padding: 0px;
li {
margin-left: 2%;
margin-right: 2%;
width: 96%;
height: 12.5vh;
background: url("~@/assets/coastalMap/keyPerson/key_li_back.png")
no-repeat;
background-size: 100% 100%;
margin-top: 1vh;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
list-style: none;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
.roll_item {
display: flex;
position: relative;
width: 100%;
height: 12.5vh;
.time_box {
position: absolute;
width: 7vw;
height: 2vh;
top: 0px;
right: 0px;
color: #fff;
text-align: center;
line-height: 2vh;
}
.roll_item_left {
width: 5vw;
height: 12.5vh;
.roll_item_text {
color: #ECF4F9;
height: 25%;
text-align: center;
line-height: 3vh;
}
}
.roll_item_right {
width: 10vw;
height: 12.5vh;
.roll_item_value {
color: #EDF1F7;
height: 25%;
text-align: left;
line-height: 3vh;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
}
}
}
}
.animate-up {
transition: all 0.8s ease-in-out;
transform: translateY(-20vh);
}
} }
} }
} }

@ -112,7 +112,7 @@ export default {
color: aliceblue; color: aliceblue;
text-align: right; text-align: right;
line-height: 4vh; line-height: 4vh;
font-size: 0.8rem; font-size: 1rem;
font-weight: 500; font-weight: 500;
} }
.box_item_value { .box_item_value {
@ -121,7 +121,7 @@ export default {
text-align: center; text-align: center;
line-height: 4vh; line-height: 4vh;
color: #00f5ff; color: #00f5ff;
font-size: 0.8rem; font-size: 1rem;
font-weight: 800; font-weight: 800;
} }
} }

@ -52,22 +52,24 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.sea { .sea {
margin-top: 2vh; width: 20vw;
width: 18vw;
height: 20vh; height: 20vh;
.sea_title { .sea_title {
height: 4vh; width: 20vw;
height: 3.5vh;
background-image: url('@/assets/picture/bg_small_title.png'); background-image: url('@/assets/picture/bg_small_title.png');
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
.sea_title_text { .sea_title_text {
width: 18vw;
height: 3.5vh;
color: antiquewhite;
margin-left: 2vw; margin-left: 2vw;
color: #edf1f7; font-size: 16px;
font-size: 1vw; font-weight: 700;
line-height: 4vh; line-height: 3.5vh;
text-shadow: 0 0 10px #0b4672; text-shadow: 0px 0px 10px #0b4672;
letter-spacing: 2px;
} }
} }
@ -77,8 +79,8 @@ export default {
align-items: center; align-items: center;
justify-content: space-around; justify-content: space-around;
height: 16vh; height: 16vh;
background-image: url('@/assets/picture/bg_5.png'); background: url('~@/assets/coastalMap/box_back03.png') no-repeat;
background-size: 100% 100%;
.sea_body_box { .sea_body_box {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -88,7 +90,6 @@ export default {
height: 6vh; height: 6vh;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% auto; background-size: 100% auto;
.sea_body_box_num { .sea_body_box_num {
margin-left: 1vw; margin-left: 1vw;
color: #00f5ff; color: #00f5ff;
@ -102,7 +103,7 @@ export default {
color: #fff; color: #fff;
font-family: PingFangSC; font-family: PingFangSC;
font-weight: 500; font-weight: 500;
font-size: 1rem; font-size: 1.2rem;
} }
} }
} }

@ -23,11 +23,11 @@
<!-- 左边区域 --> <!-- 左边区域 -->
<div class="left_box"> <div class="left_box">
<Resource ref="resource"></Resource> <Resource ref="resource"></Resource>
<KeyPerson ref="priority"></KeyPerson> <KeyPerson ref="keyPerson"></KeyPerson>
</div> </div>
<!-- 右边区域 --> <!-- 右边区域 -->
<div class="right_box"> <div class="right_box">
<PoliceSpread ref="police"></PoliceSpread> <PoliceSpread ref="policeSpread"></PoliceSpread>
<SeaElement ref="sea"></SeaElement> <SeaElement ref="sea"></SeaElement>
<PoliceStatus ref="PoliceStatus"></PoliceStatus> <PoliceStatus ref="PoliceStatus"></PoliceStatus>
</div> </div>
@ -44,11 +44,13 @@
</div> </div>
</div> </div>
<!-- 弹窗组件 --> <!-- 弹窗组件 -->
<KeyInformantion v-if="play" @cardClose="onCardClose"></KeyInformantion> <!-- <KeyInformantion v-if="play" @cardClose="onCardClose"></KeyInformantion> -->
<div v-else></div> <!-- <div v-else></div> -->
<!-- 自定义遮罩层 --> <!-- 自定义遮罩层 -->
<div class="overlay" v-if="play"></div> <!-- <div class="overlay" v-if="play"></div>
<div v-else></div> <div v-else></div> -->
<!-- -->
<div class="turn_btn"></div>
</div> </div>
</template> </template>
<script> <script>
@ -61,7 +63,7 @@ import KeyPerson from './components/keyPerson' // * 重点人员
import PoliceSpread from './components/policeSpread.vue' // * import PoliceSpread from './components/policeSpread.vue' // *
import SeaElement from './components/seaElement.vue' // * import SeaElement from './components/seaElement.vue' // *
import PoliceStatus from './components/policeStatus.vue' // * import PoliceStatus from './components/policeStatus.vue' // *
import KeyInformantion from './components/keyInformantion.vue' // // import KeyInformantion from './components/keyInformantion.vue' //
export default { export default {
name: 'CoastalMap', name: 'CoastalMap',
components: { components: {
@ -71,7 +73,7 @@ export default {
PoliceSpread, PoliceSpread,
SeaElement, SeaElement,
PoliceStatus, PoliceStatus,
KeyInformantion //KeyInformantion
}, },
data() { data() {
return { return {
@ -216,31 +218,31 @@ export default {
position: absolute; position: absolute;
top: 10vh; top: 10vh;
right: 1vw; right: 1vw;
width: 18vw; width: 20vw;
height: 89vh; height: 89vh;
// background: #ad337f; // background: #ad337f;
} }
.point_list { .point_list {
position: absolute; position: absolute;
top: 10vh; top: 10vh;
right: 20vw; right: 21vw;
width: 5vw; width: 5vw;
height: 25vw; height: 20vh;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
.point_list_item { .point_list_item {
width: 5vw; width: 4vw;
height: 5vw; height: 4vw;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
.point_icon { .point_icon {
width: 5vw; width: 4vw;
height: 5vw; height: 4vw;
background-image: url('@/assets/picture/bg_point.png'); background-image: url('@/assets/picture/bg_point.png');
background-size: 100% 100%; background-size: 100% 100%;
background-repeat: no-repeat; background-repeat: no-repeat;
@ -249,8 +251,8 @@ export default {
align-items: center; align-items: center;
.icon_body { .icon_body {
width: 2vw; width: 1.2vw;
height: 3vw; height: 4vh;
background-size: 100% 100%; background-size: 100% 100%;
background-repeat: no-repeat; background-repeat: no-repeat;
} }

Loading…
Cancel
Save