添加组件及页面

This commit is contained in:
zhengw
2026-01-21 17:05:30 +08:00
parent a89e69c381
commit 7ff1a911dd
54 changed files with 1078 additions and 1009 deletions

View File

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