diff --git a/src/assets/coastalMap/keyPerson/key_li_back.png b/src/assets/coastalMap/keyPerson/key_li_back.png
new file mode 100644
index 0000000..5122598
Binary files /dev/null and b/src/assets/coastalMap/keyPerson/key_li_back.png differ
diff --git a/src/assets/coastalMap/keyPerson/key_li_btn.png b/src/assets/coastalMap/keyPerson/key_li_btn.png
new file mode 100644
index 0000000..c654014
Binary files /dev/null and b/src/assets/coastalMap/keyPerson/key_li_btn.png differ
diff --git a/src/utils/request.js b/src/utils/request.js
index ec17d60..6d98818 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -2,7 +2,7 @@ import axios from 'axios'
// import { getToken } from '@/utils/token'
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'
const request = axios.create({
baseURL,
diff --git a/src/views/coastalMap/components/keyPerson.vue b/src/views/coastalMap/components/keyPerson.vue
index c2362ba..dbb1c85 100644
--- a/src/views/coastalMap/components/keyPerson.vue
+++ b/src/views/coastalMap/components/keyPerson.vue
@@ -69,7 +69,52 @@
-
+
+ -
+
+
+
+ {{ item.type_text }}
+
+
+ {{ item.type_text }}
+
+
+ {{ item.type_text }}
+
+
+
+
人员姓名
+
联系电话
+
证件号码
+
户籍地址
+
现住地址
+
+
+
{{ item.person_name }}
+
{{ item.phone_num }}
+
+ {{ item.id_card }}
+
+
+ {{ item.old_address }}
+
+
+ {{ item.new_address }}
+
+
+
+
+
@@ -83,13 +128,106 @@ export default {
components: { PersonScroll },
data() {
return {
- title_text: '重点人员'
- // * 测试数据
- // carouselData: [{ id: 1 }]
- }
+ title_text: "重点人员",
+ roll_list: [
+ {
+ 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() {
- this.init_charts()
+ this.init_charts();
+ this.timer = setInterval(this.scrollAnimate, 1500);
},
methods: {
init_charts() {
@@ -136,16 +274,25 @@ export default {
itemStyle: {
shadowBlur: 10,
shadowOffsetX: 0,
- shadowColor: 'rgba(0, 0, 0, 0.5)'
- }
- }
- }
- ]
- }
- option && myChart.setOption(option)
- }
- }
-}
+ shadowColor: "rgba(0, 0, 0, 0.5)",
+ },
+ },
+ },
+ ],
+ };
+ 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);
+ },
+ },
+};