Browse Source

优化文本,图片插入

master
ctw 2 months ago
parent
commit
51015fea0c
  1. 26
      ruoyi-ui/src/views/cesiumMap/index.vue
  2. 9
      ruoyi-ui/src/views/childRoom/index.vue

26
ruoyi-ui/src/views/cesiumMap/index.vue

@ -89,8 +89,8 @@ export default {
circle: { color: '#800080', opacity: 0.4, width: 2 }, circle: { color: '#800080', opacity: 0.4, width: 2 },
sector: { color: '#FF6347', opacity: 0.5, width: 2 }, sector: { color: '#FF6347', opacity: 0.5, width: 2 },
arrow: { color: '#FF0000', width: 6 }, arrow: { color: '#FF0000', width: 6 },
text: { color: '#000000', font: '32px Microsoft YaHei, PingFang SC, sans-serif', backgroundColor: 'rgba(255, 255, 255, 0.8)' }, text: { color: '#000000', font: '48px Microsoft YaHei, PingFang SC, sans-serif', backgroundColor: 'rgba(255, 255, 255, 0.8)' },
image: { width: 100, height: 100 } image: { width: 150, height: 150 }
} }
} }
}, },
@ -1728,8 +1728,15 @@ export default {
scaleByDistance: new Cesium.NearFarScalar( scaleByDistance: new Cesium.NearFarScalar(
1000, // 1000, //
1.0, // 1.0, //
1000000, // 500000, //
0.0 // 0.1 // 0
),
//
translucencyByDistance: new Cesium.NearFarScalar(
1000, //
1.0, //
500000, //
0.3 //
) )
} }
}) })
@ -1870,8 +1877,15 @@ export default {
scaleByDistance: new Cesium.NearFarScalar( scaleByDistance: new Cesium.NearFarScalar(
1000, // 1000, //
1.0, // 1.0, //
1000000, // 500000, //
0.0 // 0.1 // 0
),
//
translucencyByDistance: new Cesium.NearFarScalar(
1000, //
1.0, //
500000, //
0.3 //
) )
} }
}) })

9
ruoyi-ui/src/views/childRoom/index.vue

@ -392,7 +392,7 @@ export default {
// //
activeRightTab: 'plan', activeRightTab: 'plan',
activeRouteIds: [], // 线ID activeRouteIds: [], // 线ID
selectedRouteDetails: null,
// //
conflictCount: 2, conflictCount: 2,
@ -682,9 +682,7 @@ export default {
this.isMenuHidden = true; this.isMenuHidden = true;
}, },
selectTopNav(item) {
console.log('选中顶部导航:', item);
},
// //
showRightPanel() { showRightPanel() {
@ -993,9 +991,6 @@ export default {
this.$message.success('航线收藏'); this.$message.success('航线收藏');
}, },
showOnlineMembersDialog() {
this.showOnlineMembers = true;
},
hideRightPanel() { hideRightPanel() {
this.isRightPanelHidden = true; this.isRightPanelHidden = true;

Loading…
Cancel
Save