config.js
3.54 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/**
* 页面模块加载配置
*
*/
// var pub_url = 'http://localhost:222/common/js/',
// sea_url = 'http://localhost:222/pnr/js/javascript/';
// var pub_url = 'http://localhost:10086/newStatic/common/js/',
// sea_url = 'http://localhost:10086/newStatic/pnr/js/javascript/';
var pub_url = 'http://static.1n4j.com/static/newStatic/common/js/',
sea_url = 'http://static.1n4j.com/static/newStatic/pnr/js/javascript/',
static_url = 'http://static.1n4j.com/',
titan_url = 'http://titan.1n4j.com/assets/';
seajs.config({
alias: {
'base' : pub_url +'base/base.js',
'defval' : pub_url +'ui/defval.js',
'jselect' : pub_url +'ui/jselect.js',
'simpleTree' : pub_url +'ui/simpleTree.js',
'domsearch' : pub_url +'ui/domsearch.js',
'drag' : pub_url +'ui/drag.js',
'region' : pub_url +'ui/region.js',
'event' : pub_url +'base/event.js',
'ntab' : pub_url +'ui/ntab.js',
'fancybox' : pub_url +'plugin/fancybox/jquery.fancybox.pack.js',
'mousewheel' : pub_url +'plugin/fancybox/jquery.mousewheel.pack.js',
'validate' : pub_url +'plugin/jquery.validate.min.js',
'validate.extend' : titan_url +'storage/javascript/common/jquery.validate.extend.js',
'checkStrength' : pub_url +'ui/checkStrength.js',
'miniclock' : pub_url +'ui/miniclock.js',
'droll' : pub_url +'ui/droll.js',
'scrollfixed' : pub_url +'ui/scrollfixed.js',
'pophint' : pub_url + 'ui/pophint.js',
'qsearch' : pub_url + 'ui/qsearch.js',
'minidisplay' : pub_url + 'ui/minidisplay.js',
'evastar' : pub_url + 'ui/evastar.js',
'dragsort' : pub_url +'plugin/jquery.dragsort-0.5.1.min.js',
'jqueryUI' : pub_url +'plugin/jquery-ui.min.js',
'Masonry' : pub_url +'plugin/jquery.masonry.min.js',
'lazyload' : pub_url +'plugin/jquery.lazyload.min.js',
'swapbox' : pub_url +'ui/swapbox.js',
'market' : pub_url +'ui/market.js',
'hoverex' : pub_url +'plugin/jquery.hoverex.js',
'charts' : pub_url +'plugin/echarts-all.js',
'timeDown' : pub_url + 'ui/timeDown.js',
'pickDtae' : pub_url + 'ui/PickDtae.js',
'WdatePicker' : titan_url + 'js/My97DatePicker/WdatePicker.js',
'SalesData' : titan_url + 'storage/javascript/sell/salesdata.js',
'categorySelect' : titan_url + 'storage/javascript/sub.category.select.js',
'jqueryForm' : titan_url + 'js/jQuery-Form.js',
'json' : titan_url + 'js/json2/json2.js',
'riotjs' : titan_url + 'js/riotjs/riotjs.js',
//'uploadImg' : titan_url + 'storage/javascript/uploadImg.js',
'productValidate' : titan_url + 'storage/javascript/common/product.validate.js',
'ajaxFileUpload' : titan_url + 'storage/javascript/ajaxFileUpload.js',
'diliCity' : titan_url + 'storage/javascript/dili.city.js',
'auth' : titan_url + 'storage/javascript/sell/imageUpload.js',
'video' : titan_url + 'storage/javascript/video.select.js',
'product' : titan_url + 'storage/javascript/sell/user-release-of-goods.js',
'tools' : titan_url + 'products/Tools.js',
'otherAttr' : titan_url + 'storage/javascript/otherAttr.js'
},
map: [
[ /^(.*\.(?:css|js))(?:.*)$/i, '$1?20150211' ]
],
debug: false,
charset: 'utf-8'
});
//开启关闭调试输出
if(seajs.data.debug){
this.console = {
log : function(){}
};
};