diff --git a/public/images/影像1.jpg b/public/images/影像1.jpg
new file mode 100644
index 000000000..a47c1c82f
Binary files /dev/null and b/public/images/影像1.jpg differ
diff --git a/src/hooks/measure.ts b/src/hooks/measure.ts
index ef10c2cde..6060eccab 100644
--- a/src/hooks/measure.ts
+++ b/src/hooks/measure.ts
@@ -88,7 +88,7 @@ function distanceMeasure() {
polyline: {
show: true,
positions: [],
- material: Cesium.Color.GOLD,
+ material: Cesium.Color.RED,
width: 2,
clampToGround: true,
},
@@ -174,15 +174,15 @@ function distanceMeasure() {
position: positions[positions.length - 1],
point: {
pixelSize: 5,
- color: Cesium.Color.RED,
+ color: Cesium.Color.WHITE,
outlineColor: Cesium.Color.WHITE,
outlineWidth: 2,
// disableDepthTestDistance: Number.POSITIVE_INFINITY
},
label: {
text: textDistance,
- font: '14px sans-serif',
- fillColor: Cesium.Color.GOLD,
+ font: '16px sans-serif',
+ fillColor: Cesium.Color.RED,
style: Cesium.LabelStyle.FILL_AND_OUTLINE,
outlineWidth: 2,
verticalOrigin: Cesium.VerticalOrigin.BOTTOM,
@@ -237,7 +237,7 @@ function angleMeasure() {
position: cartesian,
point: {
pixelSize: 3,
- color: Cesium.Color.RED,
+ color: Cesium.Color.WHITE,
outlineColor: Cesium.Color.WHITE,
outlineWidth: 2,
heightReference: Cesium.HeightReference.CLAMP_TO_GROUND,
@@ -353,7 +353,7 @@ function angleMeasure() {
// scaleByDistance: new Cesium.NearFarScalar(7000000, 1.0, 18000000, 0.4),
// translucencyByDistance: new Cesium.NearFarScalar(1.5e2, 2.0, 1.5e5, 0),
font: '14px sans-serif',
- fillColor: Cesium.Color.GOLD,
+ fillColor: Cesium.Color.RED,
style: Cesium.LabelStyle.FILL_AND_OUTLINE,
outlineWidth: 2,
pixelOffset: new Cesium.Cartesian2(0, -20),
diff --git a/src/views/BaseMB/components/HisImages/components/JImage.jsx b/src/views/BaseMB/components/HisImages/components/JImage.jsx
new file mode 100644
index 000000000..78ad2dbe4
--- /dev/null
+++ b/src/views/BaseMB/components/HisImages/components/JImage.jsx
@@ -0,0 +1,71 @@
+import { NImage } from 'naive-ui'
+import WZoom from 'vanilla-js-wheel-zoom/dist/wheel-zoom.min.js'
+
+export default defineComponent({
+ props: {
+ imageList: {
+ type: Array,
+ default: () => [],
+ },
+ },
+ setup(props) {
+ // const { images, activeIndex } = toRefs(props)
+
+ watch(
+ () => props.imageList,
+ () => {
+ console.log('-------',props.imageList)
+ if (props.imageList.length > 1) {
+ nextTick(() => {
+ props.imageList.map(image => {
+ const imageElement = document
+ .getElementById(`image-${image.id}`)
+ .querySelector('img')
+
+ const wz = WZoom.create(`#image-${image.id}`, {
+ type: 'html',
+ maxScale: 3,
+ minScale: 1,
+ // zoomOnDoubleClick: true,
+ width: imageElement.naturalWidth,
+ height: imageElement.naturalHeight,
+ })
+ })
+ })
+ }
+ }
+ )
+ return () => (
+
+ {props.imageList.map(image => (
+
+
{image.createTime}
+
+ {props.imageList.length > 1 ? (
+
+

+
+ ) : (
+
+ )}
+
+
+
{image.detailContent}
+
+ ))}
+
+ )
+ },
+})
diff --git a/src/views/BaseMB/components/HisImages/components/LImage.jsx b/src/views/BaseMB/components/HisImages/components/LImage.jsx
index 4e2f1272a..a50dc9d88 100644
--- a/src/views/BaseMB/components/HisImages/components/LImage.jsx
+++ b/src/views/BaseMB/components/HisImages/components/LImage.jsx
@@ -14,6 +14,7 @@ export default defineComponent({
watch(
() => props.imageList,
() => {
+ console.log(props.imageList,'---imageList--')
if (props.imageList.length > 1) {
nextTick(() => {
props.imageList.map(image => {
@@ -53,11 +54,14 @@ export default defineComponent({
/>
) : (
-
+
+ 雨辰接口数据1233
+
+
)}
diff --git a/src/views/BaseMB/components/HisImages/components/imageRoller.vue b/src/views/BaseMB/components/HisImages/components/imageRoller.vue
new file mode 100644
index 000000000..98066bb52
--- /dev/null
+++ b/src/views/BaseMB/components/HisImages/components/imageRoller.vue
@@ -0,0 +1,209 @@
+
+
+
+
+
![]()
+
+
+
![]()
+
+
+
12312312雨辰接口数据
+
+
+
+
+
+
+
diff --git a/src/views/BaseMB/components/HisImages/components/imageRoller1.vue b/src/views/BaseMB/components/HisImages/components/imageRoller1.vue
new file mode 100644
index 000000000..9cd337b42
--- /dev/null
+++ b/src/views/BaseMB/components/HisImages/components/imageRoller1.vue
@@ -0,0 +1,51 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/BaseMB/components/HisImages/index.vue b/src/views/BaseMB/components/HisImages/index.vue
index 50f952117..381eb94d7 100644
--- a/src/views/BaseMB/components/HisImages/index.vue
+++ b/src/views/BaseMB/components/HisImages/index.vue
@@ -5,6 +5,10 @@ import { ImageOutline } from '@vicons/ionicons5'
import { useHisImage } from './hooks/hisImage'
import Panel from '@/components/Panel/index.vue'
import LImage from './components/LImage'
+import JImage from './components/JImage'
+import imageRoller from './components/imageRoller.vue'
+
+
const { sheshiData, showOrHideHisImage, getHisImages } = useHisImage()
@@ -31,7 +35,7 @@ const rangeShortcuts = {
return [cur - 365 * 24 * 60 * 60 * 1000, cur]
},
}
-const showPreview = ref(false)
+const showPreview = ref(true)
const previewIndex = ref(0)
const selectImg = (index: number) => {
// show()
@@ -47,6 +51,7 @@ const selectImg = (index: number) => {
}
const imageList = ref([])
+const isJ=ref(false);
const scrollRef = ref(null)
@@ -69,6 +74,13 @@ const getImage = async () => {
})
// console.log(imageList.value, 'imageList')
}
+const btnText=ref('卷帘对比');
+const changeShow= ()=>{
+ btnText.value=isJ.value ? '卷帘对比' : '取消卷帘对比';
+ isJ.value= !isJ.value;
+ console.log('-------isJ',isJ.value)
+
+}
const checkedImage = ref(null)
@@ -118,10 +130,15 @@ const largeImageList = computed(() => {
:closeClick="showOrHideHisImage"
>
+
+ {{ btnText }}
+
-
-
-
+
+
+
+
+
diff --git a/src/views/Content/components/Header/index.vue b/src/views/Content/components/Header/index.vue
index 29ce678c8..de8e024a6 100644
--- a/src/views/Content/components/Header/index.vue
+++ b/src/views/Content/components/Header/index.vue
@@ -74,12 +74,23 @@ function adjustTime(targetValue) {
}
function getAdjustedTime(targetValue) {
const date = adjustTime(targetValue);
+
+ // 手动提取年月日时分秒
+ const year = date.getFullYear();
+ const month = date.getMonth() + 1; // 月份从0开始
+ const day = date.getDate();
+ const hours = date.getHours().toString().padStart(2, '0');
+ const minutes = date.getMinutes().toString().padStart(2, '0');
+ const seconds = date.getSeconds().toString().padStart(2, '0');
+
+ // 拼接为带大间隔的格式
+ return `${year} / ${month} / ${day} ${hours}:${minutes}:${seconds}`;
// 格式化为本地时间字符串
- return date.toLocaleString('zh-CN', {
- timeZone: 'Asia/Shanghai', // 强制使用中文时区显示
- hour12: false
- });
+ // return date.toLocaleString('zh-CN', {
+ // timeZone: 'Asia/Shanghai', // 强制使用中文时区显示
+ // hour12: false
+ // });
}
// 使用示例
diff --git a/src/views/Content/components/WidgetNav/components/BaseMap.jsx b/src/views/Content/components/WidgetNav/components/BaseMap.jsx
index 8d2263e86..0b7feae36 100644
--- a/src/views/Content/components/WidgetNav/components/BaseMap.jsx
+++ b/src/views/Content/components/WidgetNav/components/BaseMap.jsx
@@ -63,7 +63,7 @@ export default defineComponent({
})
return () => (
-
))}
- ) : null}
+ ) : null} */}
)
},
diff --git a/src/views/Content/components/WidgetNav/index.jsx b/src/views/Content/components/WidgetNav/index.jsx
index 5e83f59a8..7e1fc6f3c 100644
--- a/src/views/Content/components/WidgetNav/index.jsx
+++ b/src/views/Content/components/WidgetNav/index.jsx
@@ -174,8 +174,8 @@ export default defineComponent({
>
地图样式选择
*/}
-
+
)
},
diff --git a/src/views/Satellite/components/SatDetail.jsx b/src/views/Satellite/components/SatDetail.jsx
index 10a6e89ce..f01e049b3 100644
--- a/src/views/Satellite/components/SatDetail.jsx
+++ b/src/views/Satellite/components/SatDetail.jsx
@@ -137,7 +137,8 @@ function updateSatelliteLoad({ sat: sateData, detection, communication }) {
if (!detection[0] && !communication[0]) {
return
}
-
+ console.log( detection[0] &&
+ Object.values(detection[0]).some(item => isNull(item) || isUndefined(item)),'----------11')
if (
detection[0] &&
Object.values(detection[0]).some(item => isNull(item) || isUndefined(item))
@@ -145,7 +146,8 @@ function updateSatelliteLoad({ sat: sateData, detection, communication }) {
window.$message.error('探测载荷信息不完整')
return
}
- if (communication[0] && communication[0].target.length > 0) {
+ console.log(communication[0] && communication[0].target.length > 0,'---communication[0] && communication[0].target.length > 0')
+ if (!(communication[0] && communication[0].target.length > 0)) {
window.$message.error('通信载荷信息不完整')
return
}
diff --git a/src/views/TextReport/components/List/index.vue b/src/views/TextReport/components/List/index.vue
index 6aade868a..2c88caa40 100644
--- a/src/views/TextReport/components/List/index.vue
+++ b/src/views/TextReport/components/List/index.vue
@@ -30,7 +30,12 @@ const textClick = item => {
const { geom } = item
if (geom) {
const [lon, lat] = parseWKT(geom).coordinates
- flyTo({ lon, lat })
+ // flyTo({ lon, lat })
+ flyTo({
+ lon: lon,
+ lat: lat,
+ alt: 2000000,
+ });
}
openDetailsModal({
contentString: item.detailContent,