独立 UniApp 项目,承载店铺会员营销能力(与用户端旅游小程序分离):
npm install
npm run dev:mp-weixin
TabBar 图标位于 src/static/tabbar/,如需重新生成:
npm run gen:tabbar-icons
开发端口:9011(见 vite.config.ts)
src/manifest.json 填写独立微信小程序 appid.env.development / .env.production 配置 VITE_API_BASE_URL(默认 /mobile 前缀接口)店铺推广小程序码应指向本小程序,scene 由后端 /mobile/noAuth/marketing/tenant/landing 解析。
Token 存储前缀为 marketing_*,与用户端、订餐小程序互不冲突。