From 87fa594dd46970b01d0bb8e8baa39e94e26f6177 Mon Sep 17 00:00:00 2001 From: JianMiau Date: Sat, 16 Apr 2022 23:40:11 +0800 Subject: [PATCH] [add] tab --- package-lock.json | 21 +++++- package.json | 4 +- src/App.vue | 30 +++++--- src/components/BJ_Casino_Magnification.vue | 67 ++++++++++++++++++ ...Casino_Rank.vue => BJ_Casino_WinMoney.vue} | 18 ++++- src/main.ts | 1 + .../{BJ_Casino_Rank.ts => BJ_Casino_Data.ts} | 68 ++++++++++++------- src/script/BJ_Casino_Magnification.ts | 49 +++++++++++++ src/script/BJ_Casino_WinMoney.ts | 49 +++++++++++++ src/script/Tools.ts | 11 +++ 10 files changed, 281 insertions(+), 37 deletions(-) create mode 100644 src/components/BJ_Casino_Magnification.vue rename src/components/{BJ_Casino_Rank.vue => BJ_Casino_WinMoney.vue} (78%) rename src/script/{BJ_Casino_Rank.ts => BJ_Casino_Data.ts} (89%) create mode 100644 src/script/BJ_Casino_Magnification.ts create mode 100644 src/script/BJ_Casino_WinMoney.ts create mode 100644 src/script/Tools.ts diff --git a/package-lock.json b/package-lock.json index a043d9e..b5e6e3d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,11 +9,13 @@ "version": "0.0.0", "dependencies": { "@ant-design/icons-vue": "^6.1.0", + "@popperjs/core": "^2.11.5", "axios": "^0.26.1", "bootstrap": "^5.1.3", "element-plus": "^2.1.9", "moment": "^2.29.2", - "vue": "^3.2.25" + "vue": "^3.2.25", + "vue-loading-overlay": "^5.0.3" }, "devDependencies": { "@vitejs/plugin-vue": "^2.3.0", @@ -1785,6 +1787,17 @@ "@vue/shared": "3.2.31" } }, + "node_modules/vue-loading-overlay": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/vue-loading-overlay/-/vue-loading-overlay-5.0.3.tgz", + "integrity": "sha512-6JWZalwlHF4do3HXsFZGt6PcWYseAI5FuNKpveEkljkzqskDWRr7rYmYHVx2kKu4qIvK0vLpL25T/hpFMNoevQ==", + "engines": { + "node": ">=12.13.0" + }, + "peerDependencies": { + "vue": "^3.0.0" + } + }, "node_modules/vue-tsc": { "version": "0.29.8", "resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-0.29.8.tgz", @@ -3104,6 +3117,12 @@ "@vue/shared": "3.2.31" } }, + "vue-loading-overlay": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/vue-loading-overlay/-/vue-loading-overlay-5.0.3.tgz", + "integrity": "sha512-6JWZalwlHF4do3HXsFZGt6PcWYseAI5FuNKpveEkljkzqskDWRr7rYmYHVx2kKu4qIvK0vLpL25T/hpFMNoevQ==", + "requires": {} + }, "vue-tsc": { "version": "0.29.8", "resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-0.29.8.tgz", diff --git a/package.json b/package.json index 4e2eaaf..2846290 100644 --- a/package.json +++ b/package.json @@ -9,11 +9,13 @@ }, "dependencies": { "@ant-design/icons-vue": "^6.1.0", + "@popperjs/core": "^2.11.5", "axios": "^0.26.1", "bootstrap": "^5.1.3", "element-plus": "^2.1.9", "moment": "^2.29.2", - "vue": "^3.2.25" + "vue": "^3.2.25", + "vue-loading-overlay": "^5.0.3" }, "devDependencies": { "@vitejs/plugin-vue": "^2.3.0", diff --git a/src/App.vue b/src/App.vue index 677b486..49ad098 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,7 +1,17 @@