需求:小程序端代码要同时同步到服务器与 git 远程仓库,此前前端仅存在于本地目录(无 remote,从未推送), 服务器与 gitcode 上只有后端。现并入本仓库,复用现有「push 即部署」链路,一次推送双端落地。 - 新增 uniapp/:小程序端源码全量快照(150 文件 / 1.2M) pages(13 页面) · components(fc-navbar/fc-tabbar/fc-post-card/fc-empty) · common(api·utils·mock·assets·store·config) · static(74 图标 + 3 轮播插画 + LOGO) · docs(01-04 交付文档) · tests(零依赖全链路用例) · tools(图标/主题/轮播配图生成脚本) - 明确排除:AGENTS.md(含后台密码、服务器 root 密码、小程序 AppSecret,切勿入库)、 unpackage/(构建产物,由 uniapp/.gitignore 忽略)、node_modules、.DS_Store、*.log - .gitignore 新增 /uniapp/AGENTS.md 兜底(与根 /AGENTS.md、/fluniapp/ 同一约定) - README.md 增补「本项目结构 + 部署链路」章节,说明 uniapp/ 为源码快照、 小程序真正上线仍需微信开发者工具 cli upload 说明:本次为源码快照,未携带前端本地仓库历史——其历史提交中含 AGENTS.md 凭据, 若做 subtree 合并会把密码永久写入本仓库历史,故采用快照方式。
124 行
2.7 KiB
JSON
124 行
2.7 KiB
JSON
{
|
|
"pages": [
|
|
{
|
|
"path": "pages/index/index",
|
|
"style": {
|
|
"navigationBarTitleText": "同城分类信息",
|
|
"navigationStyle": "custom",
|
|
"enablePullDownRefresh": true,
|
|
"backgroundColor": "#f2fef7"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/post/create",
|
|
"style": {
|
|
"navigationBarTitleText": "发布信息",
|
|
"navigationBarBackgroundColor": "#04874a",
|
|
"navigationBarTextStyle": "white"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/post/mine",
|
|
"style": {
|
|
"navigationBarTitleText": "我的发布",
|
|
"navigationBarBackgroundColor": "#04874a",
|
|
"navigationBarTextStyle": "white"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/message/index",
|
|
"style": {
|
|
"navigationBarTitleText": "消息中心",
|
|
"navigationBarBackgroundColor": "#04874a",
|
|
"navigationBarTextStyle": "white"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/mine/index",
|
|
"style": {
|
|
"navigationBarTitleText": "我的",
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#f2fef7"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/auth/login",
|
|
"style": {
|
|
"navigationBarTitleText": "登录",
|
|
"navigationStyle": "custom"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/search/index",
|
|
"style": {
|
|
"navigationBarTitleText": "搜索",
|
|
"navigationBarBackgroundColor": "#ffffff",
|
|
"navigationBarTextStyle": "black"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/post/list",
|
|
"style": {
|
|
"navigationBarTitleText": "分类信息",
|
|
"navigationBarBackgroundColor": "#ffffff",
|
|
"navigationBarTextStyle": "black"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/detail/detail",
|
|
"style": {
|
|
"navigationBarTitleText": "详情",
|
|
"navigationBarBackgroundColor": "#ffffff",
|
|
"navigationBarTextStyle": "black"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/member/index",
|
|
"style": {
|
|
"navigationBarTitleText": "会员中心",
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#f2fef7"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/member/orders",
|
|
"style": {
|
|
"navigationBarTitleText": "我的订单",
|
|
"navigationBarBackgroundColor": "#ffffff",
|
|
"navigationBarTextStyle": "black"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/distribution/index",
|
|
"style": {
|
|
"navigationBarTitleText": "分销中心",
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#f2fef7"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/admin/setting",
|
|
"style": {
|
|
"navigationBarTitleText": "LOGO 与图标设置",
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#f2fef7"
|
|
}
|
|
}
|
|
],
|
|
"globalStyle": {
|
|
"navigationBarTextStyle": "black",
|
|
"navigationBarTitleText": "同城分类信息",
|
|
"navigationBarBackgroundColor": "#ffffff",
|
|
"backgroundColor": "#f2fef7"
|
|
},
|
|
"condition": {
|
|
"current": 0,
|
|
"list": [
|
|
{ "name": "首页", "path": "pages/index/index" },
|
|
{ "name": "发布", "path": "pages/post/create" },
|
|
{ "name": "会员中心", "path": "pages/member/index" }
|
|
]
|
|
},
|
|
"uniIdRouter": {}
|
|
}
|