feat: 添加组件配置文件并优化页面结构

- 新增 components.d.json 文件,包含所有组件的属性配置
- 添加 card-item-plugin 组件及其相关文件(json、ts、wxml、wxss)
- 在 app.json 中添加新的生产流程管理页面路径
- 添加多个SVG图标文件用于菜单项
- 重构 popup-plugin 组件样式和关闭逻辑
- 更新 tab-bar-plugin 的激活状态逻辑
- 优化 search-popup 使用全局样式类
- 在首页添加菜单配置和页面跳转功能
- 调整组件样式细节和间距
This commit is contained in:
zhengw
2026-01-14 16:54:47 +08:00
parent 0d58fc80f4
commit b1ecd88641
58 changed files with 971 additions and 386 deletions

View File

@@ -7,88 +7,32 @@ export const menuConfig = [
iconColor: iconColor,
children: [
{
title: "订单列表",
title: "销售订单",
url: "/pages/orders/ordersList/ordersList",
auth: "SF_VIEW_ORDERS",
},
{
title: "流程管理",
url: "/pages/orders/processManage/processManage",
auth: "SF_VIEW_ORDER_PROCESS_MANAGE",
},
{
title: "录入流程",
url: "/pages/processEntry/processEntry",
auth: "SF_ENTER_PROCESS",
},
{
title: "工量查询",
url: "/pages/orders/workload/workload",
auth: "SF_VIEW_WORK_LIST",
},
{
title: "订单备忘",
url: "/pages/orders/orderMemo/orderMemo",
auth: "SF_VIEW_ORDER_MEMO",
},
{
title: "订单排序",
url: "/pages/orders/ordersSort/ordersSort",
auth: "SF_SET_ORDER_SORT",
},
{
title: "板号查询",
url: "/pages/orders/sale_no_query/sale_no_query",
auth: "SF_VIEW_ORDER_SALE_NO_PROCESS",
auth: "SF_ERP_SALE_ORDERS_VIEW",
},
],
},
{
title: "客户管理",
icon: "user-vip",
title: "生产管理",
icon: "form",
iconColor: iconColor,
children: [
// {
// title: "生产任务",
// url: "/pages/produce/orderTask/orderTask",
// auth: "SF_ERP_PRODUCT_TASK_VIEW",
// },
{
title: "供应商管理",
url: "/pages/crm_manage/suppliers/suppliers",
auth: "SF_VIEW_CRM_SUPPLIER",
title: "流程管理",
url: "/pages/produce/processManage/processManage",
auth: "SF_ERP_PRODUCT_PROCESS_VIEW",
},
{
title: "经销商管理",
url: "/pages/crm_manage/sales/sales",
auth: "SF_VIEW_CRM_SALE",
},
{
title: "经销商等级",
url: "/pages/crm_manage/crm_level/crm_level",
auth: "SF_VIEW_CRM_LEVEL",
title: "流程录入",
url: "/pages/processEntry/processEntry",
auth: "SF_ERP_PRODUCT_PROCESS_ENTER",
},
],
},
];
const iconPath = "/images/nav_icons/";
/** 导航栏 */
export const navTabBar = [
{
iconPath: `${iconPath}home.svg`,
selectedIconPath: `${iconPath}home2.svg`,
pagePath: "/pages/index/index",
text: "首页",
key: "1",
},
{
iconPath: `${iconPath}code.svg`,
selectedIconPath: `${iconPath}code2.svg`,
pagePath: "/pages/processEntry/processEntry",
text: "扫码",
key: "2",
},
{
iconPath: `${iconPath}my.svg`,
selectedIconPath: `${iconPath}my2.svg`,
pagePath: "/pages/my/my",
text: "我的",
key: "3",
},
];