Files
FreeERP.Applet/miniprogram/utils/config.ts
zhengw b1ecd88641 feat: 添加组件配置文件并优化页面结构
- 新增 components.d.json 文件,包含所有组件的属性配置
- 添加 card-item-plugin 组件及其相关文件(json、ts、wxml、wxss)
- 在 app.json 中添加新的生产流程管理页面路径
- 添加多个SVG图标文件用于菜单项
- 重构 popup-plugin 组件样式和关闭逻辑
- 更新 tab-bar-plugin 的激活状态逻辑
- 优化 search-popup 使用全局样式类
- 在首页添加菜单配置和页面跳转功能
- 调整组件样式细节和间距
2026-01-14 16:54:47 +08:00

41 lines
994 B
TypeScript

/**
* Global Config Files
* Added By YangXB 2021.11.24
*/
export const servicePhone = "4000-5858-22";
export const colors = {
primary: "#0052d9",
success: "#2ba471",
warning: "#e37318",
danger: "#d54941",
info: "#029cd4",
gray: "#999999",
} as const;
export const defaultAvatarUrl =
"https://mmbiz.qpic.cn/mmbiz/icTdbqWNOwNRna42FI242Lcia07jQodd2FJGIYQfG0LAJGFxM4FbnQP6yfMxBgJ0F3YRqJCJ1aPAK2dQagdusBZg/0";
export const base = {
appletName: "易宝赞普惠版",
apiHost:
wx.getAccountInfoSync().miniProgram.envVersion == "release"
? "https://ebaozan.com/api/"
: "http://192.168.1.138:83/",
webViewBaseUrl:
wx.getAccountInfoSync().miniProgram.envVersion == "release"
? "https://ebaozan.com/"
: "http://ebaozan.cf/",
cookieKey: "OwCookie",
};
// 头文件
export const http = {
header: {
"content-type": "application/x-www-form-urlencoded; charset=UTF-8",
"X-Requested-With": "XMLHttpRequest",
},
unLoginCode: 110000,
};