diff --git a/src/api/scenic.js b/src/api/scenic.js
new file mode 100644
index 0000000..e322ecf
--- /dev/null
+++ b/src/api/scenic.js
@@ -0,0 +1,10 @@
+import request from './request'
+
+// GPS列表
+export function getGpsListApi(data) {
+ return request({
+ url: '/fjtcc-api/api/largeScreen/spot/gpsList',
+ method: 'get',
+ params: data
+ })
+}
diff --git a/src/assets/images/unfollow.png b/src/assets/images/unfollow.png
new file mode 100644
index 0000000..88ce79c
Binary files /dev/null and b/src/assets/images/unfollow.png differ
diff --git a/src/components/CoreVideo/index.vue b/src/components/CoreVideo/index.vue
index 037584f..ece08af 100644
--- a/src/components/CoreVideo/index.vue
+++ b/src/components/CoreVideo/index.vue
@@ -14,13 +14,14 @@
{{ item.cameraName || item.cameraIndexCode }}
+ 取消关注
@@ -145,9 +146,30 @@
margin-bottom: vh(10);
padding: vw(10);
background-size: 100% 100%;
+ &-unfollow {
+ display: none;
+ position: absolute;
+ right: vw(8);
+ top: vw(8);
+ width: vw(64);
+ height: vh(24);
+ text-align: center;
+ line-height: vh(24);
+ font-weight: 400;
+ font-size: vw(12);
+ color: #ffffff;
+ background-image: url('@/assets/images/unfollow.png');
+ background-size: 100% 100%;
+ }
+ &:hover {
+ .item-unfollow {
+ display: block;
+ }
+ }
& > div {
position: relative;
}
+
&-title {
position: absolute;
bottom: 0;
diff --git a/src/utils/config.js b/src/utils/config.js
index 0e848af..f83304e 100644
--- a/src/utils/config.js
+++ b/src/utils/config.js
@@ -1,7 +1,7 @@
-export const baseUrl = 'http://36.138.38.16:8001' // http://36.138.38.16:8001
+export const baseUrl = 'http://36.138.38.16:8001'
export const proBaseUrl = 'http://192.168.77.200'
-export const socketBaseUrl = 'ws://36.138.38.16:81' // ws://36.138.38.16:81
+export const socketBaseUrl = 'ws://36.138.38.16:81'
export const proSocketBaseUrl = 'ws://192.168.77.200:8060'
export const mode = 'pro' // 测试 dev 正式 pro
diff --git a/src/views/home/components/age.vue b/src/views/home/components/age.vue
index a929d12..4d63869 100644
--- a/src/views/home/components/age.vue
+++ b/src/views/home/components/age.vue
@@ -62,7 +62,7 @@
clockwise: false,
silent: true,
center: ['30%', '50%'],
- radius: ['60%', '70%'],
+ radius: ['50%', '60%'],
itemStyle: {
borderColor: 'transparent',
borderRadius: fitChartSize(2),
@@ -80,7 +80,7 @@
clockwise: false,
silent: true,
center: ['30%', '50%'],
- radius: ['54%', '58%'],
+ radius: ['44%', '48%'],
itemStyle: {
borderColor: 'transparent',
borderRadius: fitChartSize(2),
@@ -136,6 +136,6 @@
diff --git a/src/views/home/components/box-2.vue b/src/views/home/components/box-2.vue
index 026a234..fe6a617 100644
--- a/src/views/home/components/box-2.vue
+++ b/src/views/home/components/box-2.vue
@@ -33,7 +33,7 @@
-
-
+
{{ item.label }}
@@ -124,6 +124,7 @@
-
- -->
diff --git a/src/views/scenic/components/big-map.vue b/src/views/scenic/components/big-map.vue
index a669d2f..1f766db 100644
--- a/src/views/scenic/components/big-map.vue
+++ b/src/views/scenic/components/big-map.vue
@@ -5,7 +5,7 @@
-
+
@@ -41,6 +41,8 @@