diff --git a/.gitignore b/.gitignore index c6bba59..bd9f301 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,7 @@ yarn-debug.log* yarn-error.log* lerna-debug.log* .pnpm-debug.log* - +.pnpm-lock.yaml # Diagnostic reports (https://nodejs.org/api/report.html) report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json diff --git a/README.md b/README.md index bddd0c0..8773379 100644 --- a/README.md +++ b/README.md @@ -12,39 +12,34 @@ log-lottery是一个可配置可定制化的抽奖应用,炫酷3D球体,可用于年会抽奖等活动,支持奖品、人员、界面、图片音乐配置。 -> 因原域名到期,现将原域名 (https://24years.top/log-lottery) -迁移到 (https://1kw20.fun/log-lottery) 。 +> 因原域名到期,现将原域名 () +迁移到 () 。 如果进入到新域名遇到图片无法访问的情况,请到【全局配置】-【界面配置】菜单中点击【重置所有数据】按钮进行更新 - ## 要求 使用PC端最新版Chrome或Edge浏览器。 访问地址: -https://1kw20.fun/log-lottery + or - https://log1997.github.io/log-lottery/ - -## 功能描述 - -- 🕍 炫酷3D球体,年会抽奖必备,开箱即用 -- 🧿 持久化存储,数据不丢失 -- 🎁 奖品奖项配置 -- 👱 抽奖名单设置管理 -- 🛞 界面信息自定义 -- 🎼 播放背景音乐 -- 💾 图片、背景音乐管理,使用本地存储,有默认资源可直接使用 -- 🖼️ excel表格导入人员名单、抽奖结果使用excel导出 -- 🎈 可增加临时抽奖 + ## TODO +- [x] 🕍 炫酷3D球体,年会抽奖必备,开箱即用 +- [x] 💾 本地持久化存储 +- [x] 🎁 奖品奖项配置 +- [x] 👱 抽奖名单设置管理 +- [x] 🎼 播放背景音乐 +- [x] 🖼️ excel表格导入人员名单、抽奖结果使用excel导出 +- [x] 🎈 可增加临时抽奖 +- [x] 🧨 国际化多语言 - [ ] 添加docker构建部署和镜像 -- [ ] 国际化多语言 +- [ ] 更换背景图片 ... 需要更多功能请留言 @@ -124,7 +119,7 @@ pnpm dev pnpm build ``` -> 项目思路来源于 https://github.com/moshang-xc/lottery +> 项目思路来源于 ## License diff --git a/package.json b/package.json index 165208f..fdccc97 100644 --- a/package.json +++ b/package.json @@ -16,23 +16,23 @@ }, "dependencies": { "@tweenjs/tween.js": "^23.1.2", - "@vueuse/core": "^10.11.0", - "axios": "^1.7.2", + "@vueuse/core": "^11.3.0", + "axios": "^1.7.8", "canvas-confetti": "^1.9.3", - "dayjs": "^1.11.11", - "github-markdown-css": "^5.6.1", + "dayjs": "^1.11.13", + "github-markdown-css": "^5.8.0", "localforage": "^1.10.0", "markdown-it": "^14.1.0", - "pinia": "^2.1.7", + "pinia": "^2.2.6", "pinia-plugin-persist": "^1.0.0", "sparticles": "^1.3.1", "theme-change": "^2.5.0", "three": "^0.166.0", "three-css3d": "^1.0.6", - "vue": "^3.4.31", - "vue-dompurify-html": "^5.1.0", + "vue": "^3.5.13", + "vue-dompurify-html": "^5.2.0", "vue-i18n": "^10.0.4", - "vue-router": "^4.4.0", + "vue-router": "^4.5.0", "vue-toast-notification": "^3", "vue3-colorpicker": "^2.3.0", "xlsx": "^0.18.5", @@ -42,44 +42,44 @@ "@antfu/eslint-config": "^3.9.2", "@eslint/eslintrc": "^3.2.0", "@eslint/js": "^9.15.0", - "@iconify-json/ep": "^1.1.15", - "@iconify-json/fluent": "^1.1.58", - "@tailwindcss/typography": "^0.5.13", + "@iconify-json/ep": "^1.2.1", + "@iconify-json/fluent": "^1.2.8", + "@tailwindcss/typography": "^0.5.15", "@testing-library/vue": "^8.1.0", "@types/canvas-confetti": "^1.6.4", - "@types/markdown-it": "^14.1.1", - "@types/node": "^20.14.9", + "@types/markdown-it": "^14.1.2", + "@types/node": "^22.9.4", "@types/three": "^0.166.0", - "@typescript-eslint/eslint-plugin": "^7.15.0", - "@typescript-eslint/parser": "^7.15.0", - "@vitejs/plugin-vue": "^5.0.5", - "@vitest/ui": "^1.6.0", + "@typescript-eslint/eslint-plugin": "^8.16.0", + "@typescript-eslint/parser": "^8.16.0", + "@vitejs/plugin-vue": "^5.2.0", + "@vitest/ui": "^2.1.5", "@vue/test-utils": "^2.4.6", - "autoprefixer": "^10.4.19", - "daisyui": "^4.12.10", - "eslint": "^9.6.0", - "eslint-plugin-vue": "^9.26.0", + "autoprefixer": "^10.4.20", + "daisyui": "^4.12.14", + "eslint": "^9.15.0", + "eslint-plugin-vue": "^9.31.0", "globals": "^15.12.0", - "happy-dom": "^14.12.3", - "husky": "^9.0.11", - "jsdom": "^24.1.0", + "happy-dom": "^15.11.6", + "husky": "^9.1.7", + "jsdom": "^25.0.1", "path": "^0.12.7", - "postcss": "^8.4.39", + "postcss": "^8.4.49", "rollup-plugin-visualizer": "^5.12.0", - "sass": "^1.77.6", - "sass-loader": "^14.2.1", - "tailwindcss": "^3.4.4", - "terser": "^5.31.1", - "typescript": "^5.5.3", - "unplugin-auto-import": "^0.17.6", - "unplugin-icons": "^0.19.0", - "unplugin-vue-components": "^0.27.2", - "vite": "^5.3.2", + "sass": "^1.81.0", + "sass-loader": "^16.0.3", + "tailwindcss": "^3.4.15", + "terser": "^5.36.0", + "typescript": "5.5.3", + "unplugin-auto-import": "^0.18.5", + "unplugin-icons": "^0.20.1", + "unplugin-vue-components": "^0.27.4", + "vite": "^5.4.11", "vite-plugin-compression": "^0.5.1", - "vite-plugin-inspect": "^0.8.4", + "vite-plugin-inspect": "^0.8.8", "vite-plugin-svg-icons": "^2.0.1", - "vite-plugin-vue-devtools": "^7.3.5", - "vitest": "^1.6.0", - "vue-tsc": "^2.0.24" + "vite-plugin-vue-devtools": "^7.6.4", + "vitest": "^2.1.5", + "vue-tsc": "^2.1.10" } -} \ No newline at end of file +} diff --git a/src/auto-imports.d.ts b/src/auto-imports.d.ts index 1d89ee8..9d24007 100644 --- a/src/auto-imports.d.ts +++ b/src/auto-imports.d.ts @@ -3,6 +3,7 @@ // @ts-nocheck // noinspection JSUnusedGlobalSymbols // Generated by unplugin-auto-import +// biome-ignore lint: disable export {} declare global { diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue index 338255e..408cd08 100644 --- a/src/components/HelloWorld.vue +++ b/src/components/HelloWorld.vue @@ -45,7 +45,6 @@ function addCount() {