- 设计并实现了开发者中心与企业控制台两大模块 - 按用户角色区分开发者和企业客户,支持多项目类型及成员管理 - 新增项目管理、应用管理、API Key管理及成员邀请等多功能页面 - 实现应用版本发布、消息通知中心、权限审批与开发者申请流程 - 完成CI/CD流水线、运营监控、发票管理、SSO单点登录功能 - 搭建SDK下载中心、工单系统、FAQ系统、数据导入导出等模块 - 优化后端API,支持已登录和未注册用户不同加入应用流程 - 前端按钮统一采用微信手机号授权,完善用户授权体验 - 修复多个页面的JSX语法错误及依赖导入问题,替换部分组件库 - 增加详细的类型定义文件,提升项目类型安全 - 新增超过55个页面及60个API接口,扩展应用功能和服务体系 - 完成全面的样式设计,实现一致的视觉风格和交互体验
224 lines
4.8 KiB
TypeScript
224 lines
4.8 KiB
TypeScript
export default {
|
|
pages: [
|
|
'pages/index/index',
|
|
'pages/cart/cart',
|
|
'pages/find/find',
|
|
'pages/user/user',
|
|
'pages/category/index'
|
|
],
|
|
"subpackages": [
|
|
{
|
|
"root": "passport",
|
|
"pages": [
|
|
"login",
|
|
"forget",
|
|
"setting",
|
|
"agreement",
|
|
"sms-login",
|
|
"phone-auth/index",
|
|
'qr-login/index',
|
|
'qr-confirm/index',
|
|
'invite/index',
|
|
'unified-qr/index',
|
|
'webview/index'
|
|
]
|
|
},
|
|
{
|
|
"root": "cms",
|
|
"pages": [
|
|
'category/index',
|
|
"detail/index"
|
|
]
|
|
},
|
|
{
|
|
"root": "coupon",
|
|
"pages": [
|
|
"index"
|
|
]
|
|
},
|
|
{
|
|
"root": "user",
|
|
"pages": [
|
|
"order/order",
|
|
"order/logistics/index",
|
|
"order/evaluate/index",
|
|
"order/refund/index",
|
|
"order/progress/index",
|
|
"company/company",
|
|
"profile/profile",
|
|
"setting/setting",
|
|
"userVerify/index",
|
|
"address/index",
|
|
"address/add",
|
|
"address/wxAddress",
|
|
"help/index",
|
|
"about/index",
|
|
"wallet/wallet",
|
|
"coupon/index",
|
|
"points/points",
|
|
"gift/index",
|
|
"gift/redeem",
|
|
"gift/detail",
|
|
"gift/add",
|
|
"store/verification",
|
|
"store/orders/index",
|
|
"theme/index",
|
|
"poster/poster",
|
|
"chat/conversation/index",
|
|
"chat/message/index",
|
|
"chat/message/add",
|
|
"chat/message/detail",
|
|
"notification/index",
|
|
"apps/index"
|
|
]
|
|
},
|
|
{
|
|
"root": "dealer",
|
|
"pages": [
|
|
"index",
|
|
"apply/add",
|
|
"withdraw/index",
|
|
"orders/index",
|
|
"capital/index",
|
|
"team/index",
|
|
"qrcode/index",
|
|
"invite-stats/index",
|
|
"info"
|
|
]
|
|
},
|
|
{
|
|
"root": "shop",
|
|
"pages": [
|
|
'category/index',
|
|
'orderDetail/index',
|
|
'goodsDetail/index',
|
|
'orderConfirm/index',
|
|
'orderConfirmCart/index',
|
|
'comments/index',
|
|
'search/index']
|
|
},
|
|
{
|
|
"root": "store",
|
|
"pages": [
|
|
"index",
|
|
"orders/index"
|
|
]
|
|
},
|
|
{
|
|
"root": "rider",
|
|
"pages": [
|
|
"index",
|
|
"orders/index"
|
|
]
|
|
},
|
|
{
|
|
"root": "admin",
|
|
"pages": [
|
|
"index",
|
|
"article/index",
|
|
]
|
|
},
|
|
{
|
|
"root": "developer",
|
|
"pages": [
|
|
"index",
|
|
"project/index",
|
|
"project/create",
|
|
"project/[id]/index",
|
|
"project/[id]/members",
|
|
"project/[id]/api-keys",
|
|
"project/[id]/settings",
|
|
"app/index",
|
|
"app/create",
|
|
"app/[id]/index",
|
|
"app/[id]/version",
|
|
"app/[id]/config",
|
|
"app/[id]/publish",
|
|
"app/api-keys/index",
|
|
"notification/index",
|
|
"developer/apply",
|
|
"developer/profile",
|
|
"docs/index",
|
|
"docs/quickstart",
|
|
"docs/api-docs",
|
|
"market/index"
|
|
]
|
|
},
|
|
{
|
|
"root": "enterprise",
|
|
"pages": [
|
|
"index",
|
|
"apps/index",
|
|
"apps/[id]/index",
|
|
"apps/[id]/monitor",
|
|
"apps/[id]/analytics",
|
|
"apps/[id]/settings",
|
|
"apps/purchase",
|
|
"members/index",
|
|
"members/invite",
|
|
"members/roles",
|
|
"members/audit",
|
|
"orders/index",
|
|
"orders/detail",
|
|
"orders/invoice",
|
|
"orders/bills",
|
|
"billing/index",
|
|
"billing/consumption",
|
|
"billing/recharge",
|
|
"billing/coupons",
|
|
"settings/index",
|
|
"settings/info",
|
|
"settings/domain",
|
|
"settings/security",
|
|
"developer/apply",
|
|
"developer/index"
|
|
]
|
|
}
|
|
],
|
|
window: {
|
|
backgroundTextStyle: 'dark',
|
|
navigationBarBackgroundColor: '#fff',
|
|
navigationBarTitleText: 'WeChat',
|
|
navigationBarTextStyle: 'black'
|
|
},
|
|
tabBar: {
|
|
custom: false,
|
|
color: "#8a8a8a",
|
|
selectedColor: "#0e932e",
|
|
backgroundColor: "#ffffff",
|
|
list: [
|
|
{
|
|
pagePath: "pages/index/index",
|
|
iconPath: "assets/tabbar/home.png",
|
|
selectedIconPath: "assets/tabbar/home-active.png",
|
|
text: "首页",
|
|
},
|
|
{
|
|
pagePath: "pages/cart/cart",
|
|
iconPath: "assets/tabbar/cart.png",
|
|
selectedIconPath: "assets/tabbar/cart-active.png",
|
|
text: "购物车",
|
|
},
|
|
{
|
|
pagePath: "pages/user/user",
|
|
iconPath: "assets/tabbar/user.png",
|
|
selectedIconPath: "assets/tabbar/user-active.png",
|
|
text: "我的",
|
|
},
|
|
],
|
|
},
|
|
requiredPrivateInfos: [
|
|
"getLocation",
|
|
"chooseLocation",
|
|
"chooseAddress"
|
|
],
|
|
permission: {
|
|
"scope.userLocation": {
|
|
"desc": "你的位置信息将用于小程序位置接口的效果展示"
|
|
},
|
|
"scope.writePhotosAlbum": {
|
|
"desc": "用于保存小程序码到相册,方便分享给好友"
|
|
}
|
|
}
|
|
}
|