diff --git a/README.md b/README.md index c030457..32b47da 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ log-lottery是一个可配置可定制化的抽奖应用,炫酷3D球体,可 - pinia - daisyui +> 项目思路来源于 https://github.com/moshang-xc/lottery ## License [MIT](http://opensource.org/licenses/MIT) diff --git a/package.json b/package.json index 2505d3c..3a16bc2 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,6 @@ "theme-change": "^2.5.0", "three": "^0.160.0", "three-css3d": "^1.0.6", - "three-trackballcontrols": "^0.9.0", "vue": "^3.3.8", "vue-router": "^4.2.5", "vue-toast-notification": "^3", diff --git a/src/components.d.ts b/src/components.d.ts index 2947135..bdba1f1 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -15,7 +15,6 @@ declare module 'vue' { RouterView: typeof import('vue-router')['RouterView'] StarsBackground: typeof import('./components/StarsBackground/index.vue')['default'] SvgIcon: typeof import('./components/SvgIcon/index.vue')['default'] - Table: typeof import('./components/Table/index.vue')['default'] ToTop: typeof import('./components/ToTop/index.vue')['default'] } } diff --git a/src/components/Table/index.vue b/src/components/Table/index.vue deleted file mode 100644 index 7665c8b..0000000 --- a/src/components/Table/index.vue +++ /dev/null @@ -1,146 +0,0 @@ - - - - - diff --git a/src/views/Home/index.vue b/src/views/Home/index.vue index 1322933..506f09c 100644 --- a/src/views/Home/index.vue +++ b/src/views/Home/index.vue @@ -13,8 +13,8 @@ import { Scene, PerspectiveCamera, Object3D, Vector3 } from 'three' // CSS3DRenderer, CSS3DObject // } from 'three/examples/jsm/renderers/CSS3DRenderer.js'; import { CSS3DRenderer, CSS3DObject } from 'three-css3d' -// import { TrackballControls } from 'three/examples/jsm/controls/TrackballControls.js'; -import TrackballControls from 'three-trackballcontrols'; +import { TrackballControls } from 'three/examples/jsm/controls/TrackballControls.js'; +// import TrackballControls from 'three-trackballcontrols'; // import TWEEN from 'three/examples/jsm/libs/tween.module.js'; import * as TWEEN from '@tweenjs/tween.js' import useStore from '@/store'