yankun 1 týždeň pred
rodič
commit
87094123c0

+ 9 - 0
.editorconfig copy

@@ -0,0 +1,9 @@
+[*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue,css,scss,sass,less,styl}]
+charset = utf-8
+indent_size = 2
+indent_style = space
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+end_of_line = lf
+max_line_length = 100

+ 11 - 0
package-lock.json

@@ -20,6 +20,7 @@
       "devDependencies": {
         "@tsconfig/node22": "^22.0.1",
         "@types/node": "^22.15.21",
+        "@types/swiper": "^6.0.0",
         "@vitejs/plugin-vue": "^5.2.3",
         "@vue/eslint-config-prettier": "^10.2.0",
         "@vue/eslint-config-typescript": "^14.5.0",
@@ -1674,6 +1675,16 @@
         "undici-types": "~6.21.0"
       }
     },
+    "node_modules/@types/swiper": {
+      "version": "6.0.0",
+      "resolved": "https://registry.npmmirror.com/@types/swiper/-/swiper-6.0.0.tgz",
+      "integrity": "sha512-QPZRgxZ+ivXXtzV43B3LxpXUIC7FE/EoKM+rtxngmgt2M7eeUYypZhyqZD8UxJtlBcUDw/ATGoVeSNpvBBrz2w==",
+      "deprecated": "This is a stub types definition. swiper provides its own type definitions, so you do not need this installed.",
+      "dev": true,
+      "dependencies": {
+        "swiper": "*"
+      }
+    },
     "node_modules/@typescript-eslint/eslint-plugin": {
       "version": "8.32.1",
       "resolved": "https://registry.npmmirror.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.32.1.tgz",

+ 1 - 0
package.json

@@ -25,6 +25,7 @@
   "devDependencies": {
     "@tsconfig/node22": "^22.0.1",
     "@types/node": "^22.15.21",
+    "@types/swiper": "^6.0.0",
     "@vitejs/plugin-vue": "^5.2.3",
     "@vue/eslint-config-prettier": "^10.2.0",
     "@vue/eslint-config-typescript": "^14.5.0",

+ 0 - 9
src/locale/modules/en.ts

@@ -28,11 +28,6 @@ export default {
     "澳大利亚": "Australia",
     "意大利": "Italy",
     "囧二": "Guang Er",
-    "": "",
-    "": "",
-    "": "",
-    "": "",
-    "": "",
     
   },
   textLink: {
@@ -68,9 +63,5 @@ export default {
     "如果你想买其他东西,没有比 Vava buy 更好的了": "If you want to buy anything else, there's no better option than Vava Buy",
     "非常易于使用,包装很精美,会收获很多惊喜": "Very easy to use, with exquisite packaging, and you will receive many surprises",
     "我们使用 cookie 来提供更好的在线体验。 访问和使用 VAVA BUY.com,即表示您同意我们使用 Cookie。 通过阅读我们的条款和条件、使用条款、 和隐私政策。": "We use cookies to provide a better online experience. By visiting and using VAVA BUY.com, you are agreeing to our use of cookies. Please read our terms and conditions, usage terms, and privacy policy.",
-    "": "",
-    "": "",
-    "": "",
-    "": "",
   }
 }

+ 0 - 7
src/locale/modules/zh.ts

@@ -28,9 +28,6 @@ export default {
     "澳大利亚": "澳大利亚",
     "意大利": "意大利",
     "囧二": "囧二",
-    "": "",
-    "": "",
-    "": "",
   },
   textLink: {
     "常见问题": "常见问题",
@@ -65,9 +62,5 @@ export default {
     "如果你想买其他东西,没有比 Vava buy 更好的了": "如果你想买其他东西,没有比 Vava buy 更好的了",
     "非常易于使用,包装很精美,会收获很多惊喜": "非常易于使用,包装很精美,会收获很多惊喜",
     "我们使用 cookie 来提供更好的在线体验。 访问和使用 VAVA BUY.com,即表示您同意我们使用 Cookie。 通过阅读我们的条款和条件、使用条款、 和隐私政策。": "我们使用 cookie 来提供更好的在线体验。 访问和使用 VAVA BUY.com,即表示您同意我们使用 Cookie。 通过阅读我们的条款和条件、使用条款、 和隐私政策。",
-    "": "",
-    "": "",
-    "": "",
-    "": "",
   }
 }

+ 7 - 0
src/swiper-t.d.ts

@@ -0,0 +1,7 @@
+declare module 'swiper/vue' {
+  import _Vue from 'vue';
+
+  export class Swiper extends _Vue {}
+
+  export class SwiperSlide extends _Vue {}
+}

BIN
vava_buy_official.zip