From d7a1976023e0f28e2b8267575199781ff2b73f2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=20=E7=9B=B8=E5=8D=BF?= Date: Thu, 20 Nov 2025 11:43:59 +0800 Subject: [PATCH] demos --- src/views/home.vue | 16 +++++----- src/views/three/10/index.vue | 2 +- src/views/three/11/index.vue | 2 +- src/views/three/12/index.vue | 6 ++++ src/views/three/5/index.vue | 4 +-- src/views/three/6/index.vue | 58 ++++++++++++++++++++++++------------ src/views/three/7/index.vue | 2 +- src/views/three/8/index.vue | 2 +- src/views/three/9/index.vue | 2 +- 9 files changed, 60 insertions(+), 34 deletions(-) create mode 100644 src/views/three/12/index.vue diff --git a/src/views/home.vue b/src/views/home.vue index 02c0ec7..3af210c 100644 --- a/src/views/home.vue +++ b/src/views/home.vue @@ -3,15 +3,15 @@ const demos = [ { name: '加载GLB模型', path: '/three/1' }, { name: '添加灯光', path: '/three/2' }, { name: '添加控制器、AxesHelper', path: '/three/3' }, - { name: '设置地面', path: '/three/3' }, - { name: '地面上设置光效', path: '/three/4' }, - { name: '模型漫游(巡检业务)', path: '/three/5' }, + { name: '设置地面', path: '/three/4' }, + { name: '地面上设置光效', path: '/three/5' }, { name: '模型动画(模型本身存在动画)', path: '/three/6' }, - { name: '漫游 修改材质(设备告警业务)', path: '/three/7' }, - { name: '粒子效果(蒸汽)', path: '/three/8' }, - { name: '模型与Web的交互', path: '/three/9' }, - { name: '后期处理效果', path: '/three/10' }, - { name: '公共函数抽象', path: '/three/11' }, + { name: '模型漫游(巡检业务)', path: '/three/7' }, + { name: '漫游 修改材质(设备告警业务)', path: '/three/8' }, + { name: '粒子效果(蒸汽)', path: '/three/9' }, + { name: '模型与Web的交互', path: '/three/10' }, + { name: '后期处理效果', path: '/three/11' }, + { name: '公共函数抽象', path: '/three/12' }, ] diff --git a/src/views/three/10/index.vue b/src/views/three/10/index.vue index fe03d57..da80ffe 100644 --- a/src/views/three/10/index.vue +++ b/src/views/three/10/index.vue @@ -2,5 +2,5 @@ diff --git a/src/views/three/11/index.vue b/src/views/three/11/index.vue index fe03d57..f3fb7c1 100644 --- a/src/views/three/11/index.vue +++ b/src/views/three/11/index.vue @@ -2,5 +2,5 @@ diff --git a/src/views/three/12/index.vue b/src/views/three/12/index.vue new file mode 100644 index 0000000..3fefbf4 --- /dev/null +++ b/src/views/three/12/index.vue @@ -0,0 +1,6 @@ + + + diff --git a/src/views/three/5/index.vue b/src/views/three/5/index.vue index bdef10f..7974008 100644 --- a/src/views/three/5/index.vue +++ b/src/views/three/5/index.vue @@ -246,8 +246,8 @@ onBeforeUnmount(cleanup)