diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index a082f43..2eddb2e 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -7,6 +7,9 @@ Riwa-Ionic 项目提示词 使用 Ionic 组件库,确保跨平台一致性 集成 Capacitor 以调用原生功能(摄像头、文件系统等) +开发工作流: +如果我向你提一个新需求或一个 bug 修复请求,你有不懂的地方,先主动提问,直到你完全理解需求为止。 + 项目技术栈 核心框架: @@ -138,3 +141,12 @@ Capacitor 配置本地开发服务器地址为 http://localhost:5173 如果有任何不明确的地方,随时提问以获取更多信息 如果代码有错误,请先执行 pnpm run lint:fix + 修改/新创建的文件路径来自动修复代码问题 如果有工具链文档地址,请参考相关文档进行开发 + +外部资源文档: +Ionic Vue 文档:https://ionicframework.com/docs/ +Vue 3 文档:https://cn.vuejs.org/ +TypeScript 文档:https://www.typescriptlang.org/ +Capacitor 文档:https://capacitorjs.com/docs/getting-started +TailwindCSS 文档:https://tailwindcss.com/docs/installation/using-vite +TradingView Charting Library 文档:https://www.tradingview.com/widget-docs/getting-started/#getting-started +PWA 文档:https://vite-pwa-org.netlify.app/ \ No newline at end of file diff --git a/src/theme/common.css b/src/theme/common.css new file mode 100644 index 0000000..d29c289 --- /dev/null +++ b/src/theme/common.css @@ -0,0 +1,5 @@ +.unselectable { + user-select: none; + --moz-user-select: none; + -webkit-user-select: none; +} \ No newline at end of file diff --git a/src/theme/index.css b/src/theme/index.css index e1c3572..a326662 100644 --- a/src/theme/index.css +++ b/src/theme/index.css @@ -1,2 +1,3 @@ @import "tailwindcss"; @config "../../tailwind.config.ts"; +@import "./common.css"; \ No newline at end of file diff --git a/src/ui/back-button/index.vue b/src/ui/back-button/index.vue index ef345c6..88f3952 100644 --- a/src/ui/back-button/index.vue +++ b/src/ui/back-button/index.vue @@ -18,7 +18,9 @@ function onBack() { diff --git a/src/views/global-menu/index.vue b/src/views/global-menu/index.vue index d3724c7..3161a4d 100644 --- a/src/views/global-menu/index.vue +++ b/src/views/global-menu/index.vue @@ -1,4 +1,5 @@