diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b28a5d8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,15 @@ +.DS_Store +node_modules/ +/dist/ +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# Editor directories and files +.idea +.vscode +*.suo +*.ntvs* +*.njsproj +*.sln + diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..da87841 Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/vite.svg b/public/vite.svg deleted file mode 100644 index e7b8dfb..0000000 --- a/public/vite.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/components/DameplaySwiperCard.vue b/src/components/DameplaySwiperCard.vue index 7346c04..d58311e 100644 --- a/src/components/DameplaySwiperCard.vue +++ b/src/components/DameplaySwiperCard.vue @@ -93,12 +93,10 @@ const boxStyle4 = computed(() => ({ })); const handSlidePrev = () => { myRef.value?.$el.swiper.slidePrev(); - // activeIndex.value = myRef.value?.$el.swiper.activeIndex; }; const handSlideNext = () => { myRef.value?.$el.swiper.slideNext(); - // activeIndex.value = myRef.value?.$el.swiper.activeIndex; - // console.log(activeIndex.value, "activeIndex.value01"); + }; diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue new file mode 100644 index 0000000..1c6aacf --- /dev/null +++ b/src/components/NavBar.vue @@ -0,0 +1,182 @@ + + + + + diff --git a/src/main.js b/src/main.js index 9befa5e..9a3f742 100644 --- a/src/main.js +++ b/src/main.js @@ -5,18 +5,6 @@ import 'normalize.css'; import { createPinia } from "pinia"; import router from "./router/index"; import App from './App.vue' -// if (process.env.NODE_ENV === 'development') { -// const devConfig = await import('./config/dev') -// // 使用开发环境的配置 -// app.config.globalProperties.$config = devConfig.default -// } else if (process.env.NODE_ENV === 'testing') { -// const testConfig = await import('./config/test') -// // 使用测试环境的配置 -// app.config.globalProperties.$config = testConfig.default -// } else if (process.env.NODE_ENV === 'production') { -// const prodConfig = await import('./config/prod') -// // 使用生产环境的配置 -// app.config.globalProperties.$config = prodConfig.default -// } + const app = createApp(App); app.use(createPinia()).use(router).mount('#app') diff --git a/src/views/home.vue b/src/views/home.vue index ca004a6..b5f8158 100644 --- a/src/views/home.vue +++ b/src/views/home.vue @@ -1,23 +1,6 @@