Browse Source

发版了,没用的图片删掉,视频删掉

master
mk 2 years ago
parent
commit
902991365f
  1. 6
      .env.production
  2. 4
      .gitignore
  3. BIN
      public/video/1.mp4
  4. BIN
      src/assets/images/material/微信图片_20240115132807.jpg
  5. BIN
      src/assets/images/material/微信图片_20240115132824.jpg
  6. BIN
      src/assets/images/material/微信图片_20240115132832.jpg
  7. BIN
      src/assets/images/material/微信图片_20240115132841.jpg
  8. BIN
      src/assets/images/material/微信图片_20240115132911.jpg
  9. BIN
      src/assets/images/material/微信图片_20240115132914.jpg
  10. 15
      src/views/next/screen-content-map/cpt/zdyf-map.vue
  11. 8
      src/views/next/screen-content-right/szyf-right/index.vue
  12. 2
      vue.config.js
  13. BIN
      yifefng_integration.zip

6
.env.production

@ -1,5 +1,5 @@
NODE_ENV=production NODE_ENV=production
VUE_APP_MAP_IMG='/lingshan-front/images/map/' VUE_APP_MAP_IMG='/yifengdian-front/images/map/'
VUE_APP_PLAYER_URL='/lingshan-front/js/h5player/' VUE_APP_PLAYER_URL='/yifengdian-front/js/h5player/'
VUE_APP_VIDEO_URL='/lingshan-front/video/' VUE_APP_VIDEO_URL='/yifengdian-front/video/'

4
.gitignore

@ -1,8 +1,8 @@
.DS_Store .DS_Store
node_modules node_modules
/dist /dist
/yifefng_integration /yifengdian-front
/yifefng_integration.zip /yifengdian-front.zip
# local env files # local env files
.env.local .env.local

BIN
public/video/1.mp4

Binary file not shown.

BIN
src/assets/images/material/微信图片_20240115132807.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.8 MiB

BIN
src/assets/images/material/微信图片_20240115132824.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 MiB

BIN
src/assets/images/material/微信图片_20240115132832.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 MiB

BIN
src/assets/images/material/微信图片_20240115132841.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 MiB

BIN
src/assets/images/material/微信图片_20240115132911.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 MiB

BIN
src/assets/images/material/微信图片_20240115132914.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

15
src/views/next/screen-content-map/cpt/zdyf-map.vue

@ -182,7 +182,6 @@ export default {
if (!type) { if (!type) {
this.initCircle() this.initCircle()
} else if (type == 'unit') { } else if (type == 'unit') {
this.initDot(point)
this.initPolygonLayer() this.initPolygonLayer()
} else if (type == 'resource') { } else if (type == 'resource') {
this.initPolygonLayer(type) this.initPolygonLayer(type)
@ -197,7 +196,7 @@ export default {
initCircle() { initCircle() {
circleLayerSmall = new ImageLayer({}); circleLayerSmall = new ImageLayer({});
circleLayerSmall.source( circleLayerSmall.source(
`${process.env.VUE_APP_MAP_IMG}/circle1.png`, `${process.env.VUE_APP_MAP_IMG}circle1.png`,
{ {
parser: { parser: {
type: 'image', type: 'image',
@ -219,7 +218,7 @@ export default {
scene.setZoom(10) scene.setZoom(10)
roadLayer = new ImageLayer({}); roadLayer = new ImageLayer({});
roadLayer.source( roadLayer.source(
`${process.env.VUE_APP_MAP_IMG}/road1.png`, `${process.env.VUE_APP_MAP_IMG}road1.png`,
{ {
parser: { parser: {
type: 'image', type: 'image',
@ -259,6 +258,16 @@ export default {
}, },
initPolygonLayer(type) { initPolygonLayer(type) {
if(polygonLayer){
scene.removeLayer(polygonLayer);
}
if(lineLayer){
scene.removeLayer(lineLayer);
}
if(textLayer){
scene.removeLayer(textLayer);
}
if(type == 'szyf') { if(type == 'szyf') {
this.initFlow() this.initFlow()
return return

8
src/views/next/screen-content-right/szyf-right/index.vue

@ -85,22 +85,22 @@ export default {
{ {
src: require('@/assets/images/resource/whyf/7.jpg'), src: require('@/assets/images/resource/whyf/7.jpg'),
time: '2022-07-12 12:00:00', time: '2022-07-12 12:00:00',
name: '预警监测', name: '大沽河监控点位-01',
}, },
{ {
src: require('@/assets/images/resource/whyf/9.jpg'), src: require('@/assets/images/resource/whyf/9.jpg'),
time: '2022-07-12 12:00:00', time: '2022-07-12 12:00:00',
name: '预警监测', name: '大沽河监控点位-02',
}, },
{ {
src: require('@/assets/images/resource/whyf/10.jpg'), src: require('@/assets/images/resource/whyf/10.jpg'),
time: '2022-07-12 12:00:00', time: '2022-07-12 12:00:00',
name: '预警监测', name: '大沽河监控点位-03',
}, },
{ {
src: require('@/assets/images/resource/whyf/11.jpg'), src: require('@/assets/images/resource/whyf/11.jpg'),
time: '2022-07-12 12:00:00', time: '2022-07-12 12:00:00',
name: '预警监测', name: '大沽河监控点位-04',
} }
] ]
}; };

2
vue.config.js

@ -9,7 +9,7 @@ function diffOutputDir () {
if (process.env.NODE_ENV === 'development') { if (process.env.NODE_ENV === 'development') {
return './dist' return './dist'
} else if (process.env.NODE_ENV === 'production') { } else if (process.env.NODE_ENV === 'production') {
return './jinshui-screen' return './yifengdian-front'
} }
} }
// 生产环境-资源引用路径 // 生产环境-资源引用路径

BIN
yifefng_integration.zip

Binary file not shown.
Loading…
Cancel
Save