# tec-app **Repository Path**: gcorg-ui/tec-app ## Basic Information - **Project Name**: tec-app - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-09-19 - **Last Updated**: 2025-09-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 目录结构 - src 源码目录 - api 接口api统一管理目录 - components 组件目录 - currentLeft/currentLeft.vue 首页剩余的仪表盘图标组件 - customer-info/index.vue 仪表选择组件 - customer-info-type/index.vue 仪表选择组件 - datePicker/datePicker.vue 封装的日期选择组件 - ep-select/ep-select.vue 封装的下拉框组件 - filter-bar/index.vue 筛选组件 - new-tabBar/new-tabBar.vue tabbar组件 - noData/noData.vue 无数据组件 - page-loader/page-loader.vue 请求页面数据组件 - pageLoading/pageLoading.vue 页面整体loading组件 - config 配置目录 - constant 常量目录 - hooks 自定义hooks目录 - daliyCharts.ts 图表自定义hooks - useDict.ts 字典自定义hooks - useRefreshToken.ts 刷新token自定义hooks - router 路由目录 - store pinia 状态管理目录 - styles 样式目录 - utils 工具函数目录 - charge.ts 处理快速充值查询到的数据 - request.ts 对post、get请求的封装,封装成hooks - verify.ts 封装的通用正则表达式 - pages 页面目录 - **** - static 静态资源目录 - 图片,图标 - plugins 插件目录 - httpRequest.ts http请求插件 - modal.ts 封装的message插件,modal插件,loading插件 - storage 对strage本地存储的二次封装,支持设置过期时间 - types ts类型目录 - App.vue 根组件 - main.ts 入口文件 - vitePlugin vite插件目录 - auto-import.ts 自动导入插件 - setup-extend.ts setup语法糖扩展插件 - vite-plugin-uni.ts uniapp插件 - index.ts 插件入口 ## 区分环境 /login/index.vue 登录页面 当为支付宝小程序环境时,不请求获取微信验证,直接手机号密码登陆 订单支付是 根据打包区分h5和mp-alipay环境,调用不同的支付接口 ## 微信公众号调试 本地 ``` pnpm run dev:h5 ``` 打开微信开发者工具,在链接栏输入以下链接 http://localhost:5173/?appid=wx6731f8b43542c403#/pages/login/index appid 改为可以修改为对应公众号的id,此处为本项目的appid ## 支付宝小程序调试 1. 使用HBuilder X 选择 运行-》运行到支付宝小程序,即可看到项目运行效果。