# adWatch **Repository Path**: chen-chenghsc/ad-watch ## Basic Information - **Project Name**: adWatch - **Description**: 广告监测小程序 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2025-04-17 - **Last Updated**: 2025-04-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 项目简介 广告监测项目包含上传广告、地图定位、地图选点、大文件上传、虚拟列表优化、动态图表等功能。 当前仓库为广告监测的**项目模板**。 ### 技术栈 - 前端框架:[uni-app](https://uniapp.dcloud.net.cn/) (Vue3 + TS + Setup) - 开发工具:[vscode](https://code.visualstudio.com/) [微信小程序开发者工具](https://developers.weixin.qq.com/miniprogram/dev/devtools/devtools.html) [hbuilderx](https://uniapp.dcloud.net.cn/) - 状态管理:[pinia](https://pinia.vuejs.org/zh/) [pinia-plugin-persistedstate](https://prazdevs.github.io/pinia-plugin-persistedstate/zh/guide/why.html) - 组件库:[uni-ui](https://uniapp.dcloud.net.cn/component/uniui/uni-ui.html) - 包管理:[pnpm](https://pnpm.nodejs.cn/) ## 资料说明 ### 📗 接口文档 [https://www.apifox.cn/](https://www.apifox.cn) ### ✏️ 在线笔记功能说明 [https://note.youdao.com/s/O4IaPOZF](【有道云笔记】广告监测小程序.mindmap https://note.youdao.com/s/O4IaPOZF) ### 📦 项目源码 [https://gitee.com/chen-chenghsc/ad-watch.git](https://gitee.com/chen-chenghsc/ad-watch.git) ## 运行程序 1. 安装依赖 ```shell # npm npm i --registry=https://registry.npmmirror.com # pnpm pnpm i --registry=https://registry.npmmirror.com ``` 2. 运行程序 ```shell # 微信小程序端 npm run dev:mp-weixin # H5端 npm run dev:h5 # App端 需 HbuilderX 工具,运行 - 运行到手机或模拟器 ``` 3. 微信开发者工具导入 `/dist/dev/mp-weixin` 目录 ### 工程结构解析 ``` ├── .husky # Git Hooks ├── .vscode # VS Code 插件 + 设置 ├── dist # 打包文件夹(可删除重新打包) ├── src # 源代码 │ ├── components # 全局组件 │ ├── composables # 组合式函数 │ ├── pages # 主包页面 │ ├── index # 首页 │ ├── my # 我的 │ └── login # 登录页 │ ├── services # 所有请求 │ ├── static # 存放应用引用的本地静态资源的目录 │ ├── images # 普通图片 │ └── tabs # tabBar 图片 │ ├── stores # 全局 pinia store │ ├── modules # 模块 │ └── index.ts # store 入口 │ ├── styles # 全局样式 │ └── fonts.scss # 字体图标 │ ├── types # 类型声明文件 │ └── component.d.ts # 全局组件类型声明 │ ├── utils # 全局方法 │ ├── App.vue # 入口页面 │ ├── main.ts # Vue初始化入口文件 │ ├── pages.json # 配置页面路由等页面类信息 │ ├── manifest.json # 配置appid等打包信息 │ └── uni.scss # uni-app 内置的常用样式变量 ├── .editorconfig # editorconfig 配置 ├── .eslintrc.cjs # eslint 配置 ├── .prettierrc.json # prettier 配置 ├── .gitignore # git 忽略文件 ├── index.html # H5 端首页 ├── package.json # package.json 依赖 ├── tsconfig.json # typescript 配置 └── vite.config.ts # vite 配置 ```