重庆项目大屏

This commit is contained in:
zhouzy062 2024-04-02 13:17:24 +08:00
parent 50daaf4fa8
commit 8f6a9c6bc0
2 changed files with 6 additions and 9 deletions

View File

@ -20,8 +20,8 @@ module.exports = {
cssSourceMap: true, cssSourceMap: true,
proxyTable: { proxyTable: {
'/screen': { '/screen': {
target: 'http://112.29.103.165:21626',//重庆 // target: 'http://112.29.103.165:21626',//重庆
// target: 'http://10.40.92.74:8080', target: 'http://10.40.92.74:8080',
changeOrigin: true, changeOrigin: true,
// secure: true, //如果是https接口需要配置这个参数 // secure: true, //如果是https接口需要配置这个参数
pathRewrite: { pathRewrite: {

View File

@ -77,7 +77,6 @@
// this.setMapOption2() // this.setMapOption2()
}, },
setMapOption(name) { setMapOption(name) {
let valArr = [ ];
var option = { var option = {
backgroundColor: 'rgba(0,0,0,0)', backgroundColor: 'rgba(0,0,0,0)',
series: [ series: [
@ -85,18 +84,16 @@
name: 'MAP', name: 'MAP',
type: 'map3D', type: 'map3D',
map: name, map: name,
layoutCenter: ['50%', '50%'],
layoutSize: '150%',
zlevel: -10, zlevel: -10,
boxWidth: 150, boxWidth: 150,
boxHeight:30, boxHeight:60,
boxDepth: 110,// boxDepth: 110,//
regionHeight: 4,// regionHeight: 5,//
label: { label: {
show: true,// show: true,//
textStyle: { textStyle: {
color: "#fff",// color: "#fff",//
fontSize: 12,// fontSize: 10,//
fontFamily: '微软雅黑', fontFamily: '微软雅黑',
backgroundColor: "rgba(0,0,0,0)",//0 backgroundColor: "rgba(0,0,0,0)",//0
}, },
@ -115,7 +112,7 @@
show: true,// show: true,//
textStyle: { textStyle: {
color: '#fff',// color: '#fff',//
fontSize: 14, fontSize: 16,
fontFamily: '微软雅黑' fontFamily: '微软雅黑'
}, },
}, },