diff --git a/src/assets/icons/svg/fenchen.svg b/src/assets/icons/svg/fenchen.svg
new file mode 100644
index 0000000..031acd3
--- /dev/null
+++ b/src/assets/icons/svg/fenchen.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/assets/images/box-title.png b/src/assets/images/box-title.png
new file mode 100644
index 0000000..cb13ce0
Binary files /dev/null and b/src/assets/images/box-title.png differ
diff --git a/src/main.js b/src/main.js
index 6dfac31..6940670 100644
--- a/src/main.js
+++ b/src/main.js
@@ -12,6 +12,38 @@ import store from './store'
import router from './router'
import directive from './directive' // directive
+
+import VECharts from 'vue-echarts'
+import * as echarts from 'echarts/core'
+// 手动引入 ECharts 各模块来减小打包体积
+import {
+ CanvasRenderer
+} from 'echarts/renderers'
+import {
+ PieChart,LineChart,BarChart,CustomChart,GaugeChart
+} from 'echarts/charts'
+import {
+ TitleComponent,
+ TooltipComponent,
+ LegendComponent,
+ GridComponent,
+ ToolboxComponent
+} from 'echarts/components'
+echarts.use([
+ CanvasRenderer,
+ TitleComponent,
+ TooltipComponent,
+ LegendComponent,
+ GridComponent,
+ ToolboxComponent,
+ PieChart,
+ LineChart,
+ BarChart,
+ CustomChart,
+ GaugeChart
+]);
+
+
// 注册指令
import plugins from './plugins' // plugins
import { download } from '@/utils/request'
@@ -48,6 +80,7 @@ import BaseDialog from '@/components/BaseDialog'
const app = createApp(App)
// 全局方法挂载
+app.config.globalProperties.$echarts = echarts
app.config.globalProperties.useDict = useDict
app.config.globalProperties.download = download
app.config.globalProperties.parseTime = parseTime
@@ -67,6 +100,8 @@ app.component('ImagePreview', ImagePreview)
app.component('RightToolbar', RightToolbar)
app.component('Editor', Editor)
app.component('BaseDialog', BaseDialog)
+// 全局注册组件(也可以使用局部注册)
+app.component('v-chart', VECharts)
app.use(router)
app.use(store)
diff --git a/src/views/screen/R_D_Environment/component/ThreeBG.vue b/src/views/screen/R_D_Environment/component/ThreeBG.vue
index 0812f9a..6971d44 100644
--- a/src/views/screen/R_D_Environment/component/ThreeBG.vue
+++ b/src/views/screen/R_D_Environment/component/ThreeBG.vue
@@ -18,12 +18,12 @@ const init = () => {
// scene.background = new THREE.Color(null);//0x100c2a
// scene.background.setAlpha(0);
camera = new THREE.PerspectiveCamera(75, width / height, 0.1, 2000);
- camera.position.set(0, 300, 200);
+ camera.position.set(40, 300, 200);
renderer = new THREE.WebGLRenderer({
- antialias: true,
- alpha: true
-});
+ antialias: true,
+ alpha: true
+ });
renderer.setSize(width, height);
threeContainer.value.appendChild(renderer.domElement);
@@ -33,13 +33,13 @@ const init = () => {
materials.preload();
objLoader.setMaterials(materials);
objLoader.load('/src/assets/obj/goats_R&D.obj', function (obj) {
- var scale = 0.06 / obj.scale.x;
+ var scale = 0.07 / obj.scale.x;
obj.scale.set(scale, scale, scale);
model = obj;
const box = new THREE.Box3().setFromObject(model);
const size = box.getSize(new THREE.Vector3())
// console.log(size,'-----');
- obj.position.set(-size.x * 0.5, -size.y * 0.5, -size.z * 0.5);
+ obj.position.set(-size.x * 0.5, -size.y * 0.1, -size.z * 0.5);
obj.children.forEach((child) => {
const c = child;
const cm = c.material;
diff --git a/src/views/screen/R_D_Environment/component/humiture_line.vue b/src/views/screen/R_D_Environment/component/humiture_line.vue
new file mode 100644
index 0000000..b3459e5
--- /dev/null
+++ b/src/views/screen/R_D_Environment/component/humiture_line.vue
@@ -0,0 +1,64 @@
+
+
+
+
+
+
+
diff --git a/src/views/screen/R_D_Environment/component/humiture_real.vue b/src/views/screen/R_D_Environment/component/humiture_real.vue
new file mode 100644
index 0000000..cb9f446
--- /dev/null
+++ b/src/views/screen/R_D_Environment/component/humiture_real.vue
@@ -0,0 +1,201 @@
+
+
+
+
+
+
+
diff --git a/src/views/screen/R_D_Environment/component/item.vue b/src/views/screen/R_D_Environment/component/item.vue
new file mode 100644
index 0000000..57c2fca
--- /dev/null
+++ b/src/views/screen/R_D_Environment/component/item.vue
@@ -0,0 +1,39 @@
+
+
+
{{ prop.title }}
+
+
+
+
+
+
+
+
+
diff --git a/src/views/screen/R_D_Environment/component/lineChart.vue b/src/views/screen/R_D_Environment/component/lineChart.vue
new file mode 100644
index 0000000..90538ee
--- /dev/null
+++ b/src/views/screen/R_D_Environment/component/lineChart.vue
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
diff --git a/src/views/screen/R_D_Environment/component/pm.vue b/src/views/screen/R_D_Environment/component/pm.vue
new file mode 100644
index 0000000..d211496
--- /dev/null
+++ b/src/views/screen/R_D_Environment/component/pm.vue
@@ -0,0 +1,175 @@
+
+
+
+
+
+
+
diff --git a/src/views/screen/R_D_Environment/component/proge.vue b/src/views/screen/R_D_Environment/component/proge.vue
new file mode 100644
index 0000000..a1ae62c
--- /dev/null
+++ b/src/views/screen/R_D_Environment/component/proge.vue
@@ -0,0 +1,103 @@
+
+
+
+
+
+
+
diff --git a/src/views/screen/R_D_Environment/component/svgFenchen.vue b/src/views/screen/R_D_Environment/component/svgFenchen.vue
new file mode 100644
index 0000000..9ae1eaa
--- /dev/null
+++ b/src/views/screen/R_D_Environment/component/svgFenchen.vue
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
diff --git a/src/views/screen/R_D_Environment/component/svgJiaquan.vue b/src/views/screen/R_D_Environment/component/svgJiaquan.vue
new file mode 100644
index 0000000..4018945
--- /dev/null
+++ b/src/views/screen/R_D_Environment/component/svgJiaquan.vue
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+
diff --git a/src/views/screen/R_D_Environment/component/svgShidu.vue b/src/views/screen/R_D_Environment/component/svgShidu.vue
new file mode 100644
index 0000000..71956bf
--- /dev/null
+++ b/src/views/screen/R_D_Environment/component/svgShidu.vue
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
diff --git a/src/views/screen/R_D_Environment/component/svgTVOC.vue b/src/views/screen/R_D_Environment/component/svgTVOC.vue
new file mode 100644
index 0000000..57d14bd
--- /dev/null
+++ b/src/views/screen/R_D_Environment/component/svgTVOC.vue
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
diff --git a/src/views/screen/R_D_Environment/component/svgWendu.vue b/src/views/screen/R_D_Environment/component/svgWendu.vue
new file mode 100644
index 0000000..63fe219
--- /dev/null
+++ b/src/views/screen/R_D_Environment/component/svgWendu.vue
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
diff --git a/src/views/screen/R_D_Environment/component/svgYanwu.vue b/src/views/screen/R_D_Environment/component/svgYanwu.vue
new file mode 100644
index 0000000..2116339
--- /dev/null
+++ b/src/views/screen/R_D_Environment/component/svgYanwu.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
+
diff --git a/src/views/screen/R_D_Environment/component/svgZaosheng.vue b/src/views/screen/R_D_Environment/component/svgZaosheng.vue
new file mode 100644
index 0000000..f887821
--- /dev/null
+++ b/src/views/screen/R_D_Environment/component/svgZaosheng.vue
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
diff --git a/src/views/screen/R_D_Environment/index.vue b/src/views/screen/R_D_Environment/index.vue
index 924bbf0..72119fb 100644
--- a/src/views/screen/R_D_Environment/index.vue
+++ b/src/views/screen/R_D_Environment/index.vue
@@ -1,14 +1,127 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+