Open fontEndEasy opened 8 years ago
seajs.config({ paths: { "jsPath" : "http://static.dotdotbuy.com/i/src/js", "modules": "http://static.dotdotbuy.com/i/src/modules" }, // 别名配置 alias: { // 公用基础 "login" : "jsPath/login", "header": "jsPath/header", "adb" : "modules/adb", "cookie": "modules/cookie", "box" : "modules/box/box", "boxCss": "modules/box/box.css", "size" : "modules/size", "tools" : "modules/tools", "share" : "modules/share", // 账户中心 "parcel" : "jsPath/account/parcel", "aftersales" : "jsPath/account/aftersales", "acount.cart" : "jsPath/account/account.cart", "account.mallOrderList" : "jsPath/account/account.mallOrderList", "account.userCenter" : "jsPath/account/account.userCenter", //"account.dgOrder" : "/", //"account.pkg" : "/", // 商城 "aftersalesBase": "jsPath/account/aftersalesBase", "aftersales" : "jsPath/account/aftersales", "mall.index" : "jsPath/mall/mall.index", "mall.index_v1" : "jsPath/mall/mall.index_v1", "mall.list" : "jsPath/mall/mall.list", "mall.kindList" : "jsPath/mall/mall.kindList", "mall.parcel": "jsPath/mall/mall.parcel", "mall.limit": "jsPath/mall/mall.limit", // 社区 "group.base" : "jsPath/group/group.base", "group.post" : "jsPath/group/group.post", "group.index" : "jsPath/group/group.index", "group.list" : "jsPath/group/group.list", "group.article" : "jsPath/group/group.article", "group.my" : "jsPath/group/group.my", "group.search" : "jsPath/group/group.search", // 团购 "groupon.index" : "jsPath/groupon/groupon.index", "groupon.detail" : "jsPath/groupon/groupon.detail", // 支付 "pay.cash" : "jsPath/pay/pay.cash", "pay.dg.cash" : "jsPath/pay/pay.dg.cash", "pay.wechat":"jsPath/pay/pay.wechat", "pay.help" :"jsPath/pay/pay.help", "pay.transit":"jsPath/pay/pay.transit", "pay.result" :"jsPath/pay/pay.result", // 活动、专题 "party.lucky" :"jsPath/party/party.lucky", "party.index" : "jsPath/party/index", "activity.all" : "jsPath/topics/activity.all", "topics.20151024yushou" : "jsPath/topics/topics.20151024yushou", "topics.20151212mallactivity" : "jsPath/topics/topics.20151212mallactivity", "topics.20160229goddess" : "jsPath/topics/topics.20160229goddess", //代购抓取 "goods.buy" : "jsPath/goods/goods.buy", //"goods.buy1" : "jsPath/goods/goods.buy1", // 帮助中心 "help.index" : "jsPath/help/help.index", // 代购页 "buy" : "jsPath/buy/buy", "buy.search" : "jsPath/single/buy.search", "buy.search_v1" : "jsPath/single/buy.search_v1", "buy.guide" : "jsPath/single/buy.guide", "buy.base" : "jsPath/single/buy.base", // 插件 //"ZeroClipboard" : "modules/jquery.zclip", "ZeroClipboard": "jsPath/plugins/jquery.zclip.min.js", "Slide" : "jsPath/plugins/jquery.slide", "lazyload" : "jsPath/plugins/jquery.lazyload", // 首页 "index" : "jsPath/index_v3.5/index" }, 'map': [ [ /^(.*\.(?:css|js))(.*)$/i, '$1?t=201642916161' ] ] }); seajs.use(["header", "adb"]);