diff --git a/.gitignore b/.gitignore index a19f004..a547bf3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1,24 @@ -# ---> Vue -# gitignore template for Vue.js projects -# -# Recommended template: Node.gitignore +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* -# TODO: where does this rule come from? -docs/_book - -# TODO: where does this rule come from? -test/ +node_modules +dist +dist-ssr +*.local +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..a7cea0b --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,3 @@ +{ + "recommendations": ["Vue.volar"] +} diff --git a/index.html b/index.html new file mode 100644 index 0000000..91ce236 --- /dev/null +++ b/index.html @@ -0,0 +1,16 @@ + + + +
+ + + +
+ Edit
+ components/HelloWorld.vue to test HMR
+
+ Check out + create-vue, the official Vue + Vite starter +
++ Learn more about IDE Support for Vue in the + Vue Docs Scaling up Guide. +
+Click on the Vite and Vue logos to learn more
+ + + diff --git a/src/components/swiper/SwiperWin.css b/src/components/swiper/SwiperWin.css new file mode 100644 index 0000000..99278a0 --- /dev/null +++ b/src/components/swiper/SwiperWin.css @@ -0,0 +1,75 @@ +.max-bg { + width: 100%; + height: 100%; + overflow: hidden; +} + +.global-font { + font-family: 'DIN'; + /* font-weight: normal; */ +} + +.global-font-bold { + font-weight: bold; +} + +@font-face { + font-family: "DIN"; + src: url('@/assets/fonts/DINCond-Bold.otf'); + font-weight: normal; + font-style: normal; +} + +.page-font { + position: absolute; + left: 0; + right: 0; + bottom: 0; + font-size: 24px; + z-index: 99; +} + +.slide-container-path { + margin-top: 4%; + height: 87%; + display: flex; + align-items: center; + justify-content: center; +} + +.swiper-size { + height: 100%; +} + +.swiper-img { + width: 70%; +} + +.swiper-slide { + width: 90% !important; + margin: 0 5%; +} + +.swiper-slide-prev { + right: -30%; +} + +.swiper-slide-next { + left: -30%; +} + +.down-arraw-left { + position: absolute; + left: 14.2%; + top: 50%; + z-index: 100; + transform: rotateZ(90deg); +} + +.down-arraw-right { + position: absolute; + right: 14.2%; + top: 50%; + z-index: 100; + transform: rotateZ(270deg); +} \ No newline at end of file diff --git a/src/components/swiper/SwiperWin.ts b/src/components/swiper/SwiperWin.ts new file mode 100644 index 0000000..97b2cae --- /dev/null +++ b/src/components/swiper/SwiperWin.ts @@ -0,0 +1,76 @@ + +import { defineComponent, ref } from 'vue'; +// Import Swiper Vue.js components +import { Swiper, SwiperSlide } from 'swiper/vue'; +import { Navigation, Pagination, Scrollbar, A11y, Autoplay, Mousewheel } from 'swiper/modules'; + +// Import Swiper styles +import 'swiper/css'; +import 'swiper/css/navigation'; +import 'swiper/css/pagination'; +import 'swiper/css/scrollbar'; + +export default defineComponent({ + name: 'SwiperWin', + props: { + images: Array
+
+
+
+
+
+
+
+
+
+
+
+
+