diff --git a/.env.development b/.env.development
index 3d8bcdb..5ef7432 100644
--- a/.env.development
+++ b/.env.development
@@ -1,7 +1,7 @@
# 王昊地址
-#VITE_GLOB_API_URL=http://192.168.1.27
+#VITE_GLOB_API_URL=http://192.168.1.98
#开发环境
-VITE_GLOB_API_URL=http://cqyt.dev.yg.dt.io
+VITE_GLOB_API_URL=https://xjgateway.mcrm.vip:8888
#VITE_GLOB_API_URL=https://api.cqygjk.com
#健康监测工具报警-websocket
#VITE_GLOB_API_YIN_JI=ws://cqyt.dev.yg.dt.io/health-watch/websocket/watchMonitor
diff --git a/src/assets/images/info-modal.png b/src/assets/images/info-modal.png
index 2be6ce4..d7b31ef 100644
Binary files a/src/assets/images/info-modal.png and b/src/assets/images/info-modal.png differ
diff --git a/src/assets/indexSun/bloodClock.png b/src/assets/indexSun/bloodClock.png
new file mode 100644
index 0000000..c1b164a
Binary files /dev/null and b/src/assets/indexSun/bloodClock.png differ
diff --git a/src/assets/indexSun/fatClock.png b/src/assets/indexSun/fatClock.png
new file mode 100644
index 0000000..d03512f
Binary files /dev/null and b/src/assets/indexSun/fatClock.png differ
diff --git a/src/assets/indexSun/hospital.png b/src/assets/indexSun/hospital.png
new file mode 100644
index 0000000..1b0f80e
Binary files /dev/null and b/src/assets/indexSun/hospital.png differ
diff --git a/src/assets/indexSun/today.png b/src/assets/indexSun/today.png
new file mode 100644
index 0000000..48238f7
Binary files /dev/null and b/src/assets/indexSun/today.png differ
diff --git a/src/assets/indexSun/weightClock.png b/src/assets/indexSun/weightClock.png
new file mode 100644
index 0000000..03c91b3
Binary files /dev/null and b/src/assets/indexSun/weightClock.png differ
diff --git a/src/assets/less/index.less b/src/assets/less/index.less
index f62a6a6..14309ed 100644
--- a/src/assets/less/index.less
+++ b/src/assets/less/index.less
@@ -115,8 +115,9 @@ html, body, #app {
// 下拉框样式-start
.ant-select {
- color: var(--antSelectFontColor) !important;
- background-color: var(--antSelectBg);
+ color: #fff !important;
+ background-color: #082147 !important;
+ border-radius: 4px !important;
}
.ant-select-dropdown {
@@ -126,14 +127,15 @@ html, body, #app {
}
.ant-select-item {
- color: #1b7ef2 !important;
+ color: #fff !important;
}
//框背景色
.ant-select:not(.ant-select-customize-input) .ant-select-selector {
color: var(--antSelectFontColor) !important;
background-color: transparent !important;
- border: 1px solid var(--antSelectDropdownBorderColor) !important;
+ border: 1px solid transparent !important;
+ border-radius: 4px !important;
}
.ant-select-item-option-selected {
@@ -213,7 +215,7 @@ html, body, #app {
.ant-modal-title {
color: #576BAD !important;
- background: url('/@/assets/images/dialog-light.png') no-repeat;
+ //background: url('/@/assets/images/dialog-light.png') no-repeat;
background-size: 100% 100%;
}
}
@@ -229,8 +231,10 @@ html, body, #app {
.ant-modal-title {
color: #ffffff !important;
- background: url('/@/assets/images/dialog.png') no-repeat;
- background-size: 100% 100%;
+ //background: url('/@/assets/images/dialog.png') no-repeat;
+ //background-size: 100% 100%;
+ background: #082147;
+ border: 1px solid #00CCFF;
}
}
diff --git a/src/assets/mapUtils/commonFun.ts b/src/assets/mapUtils/commonFun.ts
index 2177592..10c401d 100644
--- a/src/assets/mapUtils/commonFun.ts
+++ b/src/assets/mapUtils/commonFun.ts
@@ -1,4 +1,4 @@
-import { mapIcon1, mapIcon2, mapIcon3, mapIcon4, mapIcon7 } from '/@/components/chinaMap/chinaHooks.ts';
+import { mapIcon1, mapIcon2, mapIcon3, mapIcon4, mapIcon5, mapIcon7 } from '/@/components/chinaMap/chinaHooks.ts';
import { watchIcon } from '/@/components/secondaryScreen/secondMap/secondMapHooks.ts';
import * as turf from '@turf/turf';
@@ -27,7 +27,7 @@ export function typeToIcon(type: string, centerResource: boolean) {
return createIcon({ icon: mapIcon1, iconSize, imageSize });
}
if (type == '2') {
- return createIcon({ icon: mapIcon4, iconSize, imageSize });
+ return createIcon({ icon: mapIcon5, iconSize, imageSize });
}
//关联医疗点
if (type == '3' && centerResource) {
@@ -69,14 +69,17 @@ export function createCircle(option) {
export function getLonLat(result = []) {
let arr = [];
for (let i = 0; i < result.length; i++) {
- let { lon, lat, lng } = result[i];
- if (lng) {
- lon = lng;
+ let { lon, lat, lng, longitude, latitude } = result[i];
+ if (longitude) {
+ lon = longitude;
}
- if (!lon || !lat) {
+ if (latitude) {
+ lat = latitude;
+ }
+ if (!longitude || !latitude) {
continue;
}
- let point = turf.point([lon, lat]);
+ let point = turf.point([lon * 1, lat * 1]);
arr.push(point);
}
return arr;
diff --git a/src/assets/mapUtils/map.ts b/src/assets/mapUtils/map.ts
index efbdf91..c015698 100644
--- a/src/assets/mapUtils/map.ts
+++ b/src/assets/mapUtils/map.ts
@@ -144,11 +144,15 @@ export const Map = {
this.setZoomCenter(center, zoom);
}
for (let i = 0; i < result.length; i++) {
- let { type, lon, lat, lng, centerResource } = result[i];
- if (lng) {
- lon = lng;
+ let { type, lon, lat, longitude, latitude, lng, centerResource } = result[i];
+
+ if (longitude) {
+ lon = longitude;
}
- if (!lon || !lat || !type) {
+ if (latitude) {
+ lat = latitude;
+ }
+ if (!longitude || !latitude || !type) {
continue;
}
// 创建一个 Icon
@@ -310,10 +314,10 @@ export const Map = {
*
* */
createInfoModal({ option, content }) {
- let { lat, lng } = option;
+ let { latitude, longitude } = option;
this.infoWindow = new AMap.InfoWindow({
- position: [lng, lat],
- offset: new AMap.Pixel(-5, -25),
+ position: [longitude, latitude],
+ offset: new AMap.Pixel(-8, -25),
content: content,
closeWhenClickMap: true,
});
diff --git a/src/assets/theme/theme.css b/src/assets/theme/theme.css
index aeffd2a..1931255 100644
--- a/src/assets/theme/theme.css
+++ b/src/assets/theme/theme.css
@@ -4,12 +4,12 @@
--antSelectDropdownBorderColor: #1b7ef2;
--antSelectItemActive: #002e64;
--antSelectFontColor: #fff;
- --antSelectBg: #000;
+ --antSelectBg: #082147;
/*服务详情数据*/
--typeTimeSelectColor: #45a2ff;
--typeTimeUnSelectColor: #a3a4a4;
/*表格 */
- --tableHeadBg: rgba(35, 132, 221, 0.5);
+ --tableHeadBg: #073063;
--tableFontColor: #fff;
--tableRowBg: #00152b;
--tableRowBorder: #2384dd;
diff --git a/src/components/secondaryScreen/secondMap/components/basicTable/BasicTable.vue b/src/components/secondaryScreen/secondMap/components/basicTable/BasicTable.vue
index 315eeef..116be94 100644
--- a/src/components/secondaryScreen/secondMap/components/basicTable/BasicTable.vue
+++ b/src/components/secondaryScreen/secondMap/components/basicTable/BasicTable.vue
@@ -15,7 +15,6 @@
{{ text }}
-