-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathconfig.js
51 lines (51 loc) · 825 Bytes
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
* app config
* v2.0.0
* rebuild
* 2017-07-12
*/
var isDev = true;
window.appcfg = {
host: {
control: isDev ? "http://rap2api.taobao.org/app/mock/3567" : "",
source: isDev ? "http://source.xxx.com" : "",
upload: isDev ? "http://app.xxx.com/upload/" : ""
},
set: {
version: "",
outime: 10000,
longtime: 20000,
windowAnimate: "push",
animateSubType: "from_right",
animateDuration: 300,
bgColor: "#f0f0f0",
safeStorage: "user,appInit",
temporary: "templateCache,gps"
},
ajax: {
type: "get",
crypto: {
enable: false,
url: ""
}
},
loading: {
text: "正在加载",
title: "",
anim: "fade"
},
pull: {
bgColor: "#C0C0C0",
loadAnimInterval: 200,
isScale: true,
image: {}
},
plugin: {
bdmap: {
zoomLeval: 18
}
},
project: { //自定义配置
sid: 1
}
};