Namespace.register("U.CD.CF"); //所有外链控件引用区域 包含css js 执行函数区域 U.CD.CF.Config = [ //基本控件区域 //{"css": "http://d.1473.cn/xxx.css", "js": "http://d.1473.cn/xxx.js" }, {"link": "http://d.1473.cn/controls/pc/LDB/LDB.css", "js": "http://d.1473.cn/controls/pc/LDB/LDB.js" }, // {"link": "http://d.1473.cn/controls/pc/FoldingMenu/Demo2/FoldingMenu.css", "js": "http://d.1473.cn/controls/pc/FoldingMenu/Demo2/FoldingMenu.js" }, { "link": "http://d.1473.cn/controls/pc/FoldingMenu/Demo1/FoldingMenu.css", "js": "http://d.1473.cn/controls/pc/FoldingMenu/Demo1/FoldingMenu.js" }, { "link": "http://d.1473.cn/controls/pc/BasicControl/kongjian.css", "js": "http://d.1473.cn/controls/pc/BasicControl/kongjian.js" }, //复杂控件 {"link": "http://d.1473.cn/controls/pc/Note/Note.css", "js": "http://d.1473.cn/controls/pc/Note/Note.js" }, // {"link": "http://d.1473.cn/controls/pc/Video/video.css", "js": "http://d.1473.cn/controls/pc/Video/video.js" }, //视频 {"link": "http://d.1473.cn/controls/pc/QRCode/qrcode.css", "js": "http://d.1473.cn/controls/pc/QRCode/qrcode.js" }, //二维码生成 {"link": "http://d.1473.cn/controls/phone/Rolling_load/Rolling_load.css", "js": "http://d.1473.cn/controls/phone/Rolling_load/Rolling_load.js" }, //滚动加载 //自定义控件 {"link": "http://d.1473.cn/controls/pc/alert/alert.css", "js": "http://d.1473.cn/controls/pc/alert/alert.js" }, //alert {"link": "http://d.1473.cn/controls/pc/Calculator/Calculator.css", "js": "http://d.1473.cn/controls/pc/Calculator/Calculator.js" }, //计算器 {"link": "http://d.1473.cn/controls/pc/calendar/calendar.css", "js": "http://d.1473.cn/controls/pc/calendar/calendar.js" }, //日历 {"link": "http://d.1473.cn/controls/pc/City/City.css", "js": "http://d.1473.cn/controls/pc/City/City.js" }, //城市选择 {"link": "http://d.1473.cn/controls/pc/Confirm/Confirm.css", "js": "http://d.1473.cn/controls/pc/Confirm/Confirm.js" }, //Confirm {"link": "http://d.1473.cn/controls/pc/FoldingMenu/Demo1/FoldingMenu.css", "js": "http://d.1473.cn/controls/pc/FoldingMenu/Demo1/FoldingMenu.js" }, //折叠菜单 {"link": "http://d.1473.cn/controls/pc/Imagelist/Imagelist.css", "js": "http://d.1473.cn/controls/pc/Imagelist/Imagelist.js" }, // {"link": "http://d.1473.cn/controls/pc/Lnav/Lnav.css", "js": "http://d.1473.cn/controls/pc/Lnav/Lnav.js" }, //滑动栏 {"link": "http://d.1473.cn/controls/pc/Loading/Loading.css", "js": "http://d.1473.cn/controls/pc/Loading/Loading.js" }, //进度条 {"link": "http://d.1473.cn/controls/pc/Map/Map.css", "js": "http://d.1473.cn/controls/pc/Map/Map.js" }, //地图地位 {"js": "http://api.map.baidu.com/getscript?v=2.0&ak=twH78ipof12UvP8PQNFUaB1s&services=&t=20160928173929" }, //地图地位 //(function(){ window.BMap_loadScriptTime = (new Date).getTime(); document.write('');})(); {"link": "http://d.1473.cn/controls/pc/navgation/navgation.css", "js": "http://d.1473.cn/controls/pc/navgation/navgation.js" }, //导航条 {"link": "http://d.1473.cn/controls/pc/Pag/Pag1.css", "js": "http://d.1473.cn/controls/pc/Pag/Pag.js" }, //分页 {"link": "http://d.1473.cn/controls/pc/round/round.css", "js": "http://d.1473.cn/controls/pc/round/round.js" }, { "link": "http://d.1473.cn/controls/pc/colorpicker/colorpicker.css", "js": "http://d.1473.cn/controls/pc/colorpicker/colorpicker.js" }, //顔色拾取 {"link": "http://d.1473.cn/controls/pc/SrcImg/ScrImg.css", "js": "http://d.1473.cn/controls/pc/SrcImg/ScrImg.js" }, //画廊 {"link": "http://d.1473.cn/controls/pc/Confirm/Confirm.css", "js": "http://d.1473.cn/controls/pc/Confirm/Confirm.js" }, //Confirm //{"css": "http://d.1473.cn/controls/pc/Note/Note.css", "js": "http://d.1473.cn/controls/pc/Note/Note.js" }, //便签 {"link": "http://d.1473.cn/controls/pc/Response/Response.css", "js": "http://d.1473.cn/controls/pc/Response/Response.js" }, //响应式 {"link": "http://d.1473.cn/controls/pc/Tree_directory/Tree_directory.css", "js": "http://d.1473.cn/controls/pc/Tree_directory/Tree_directory.js" }, //树目录 {"link": "http://d.1473.cn/controls/pc/TAB/tab.css", "js": "http://d.1473.cn/controls/pc/TAB/tab.js" }, //input补全 {"js": "http://d.1473.cn/controls/pc/TAB/lib/test.json" }, //input补全 {"link": "http://d.1473.cn/controls/pc/Upload/Upload.css", "js": "http://d.1473.cn/controls/pc/Upload/Upload.js" }, //响应式 //可复用控件 {"css": "http://d.1473.cn/controls/phone/Watefall_phone/Watefaller.css", "js": "http://d.1473.cn/controls/phone/Watefall_phone/Watefaller.js" }, //瀑布流 {"css": "http://d.1473.cn/controls/pc/Lnav/Lnav.css", "js": "http://d.1473.cn/controls/pc/Lnav/Lnav.js" }, //左右侧导航 //云端组建 {"link": "http://d.1473.cn/controls/pc/Login/text2/login.css", "js": "http://d.1473.cn/controls/pc/Login/text2/login.js" }, //登录 {"link": "http://d.1473.cn/controls/pc/register/register.css", "js": "http://d.1473.cn/controls/pc/register/register.js" }, //注册 //手机控件 {"link": "http://d.1473.cn/controls/phone/banner_phone/banner_phone.css", "js": "http://d.1473.cn/controls/phone/banner_phone/banner_phone.js" }, //轮播 {"link": "http://d.1473.cn/controls/phone/Calendar_mobile/Calendar_mobile.css", "js": "http://d.1473.cn/controls/phone/Calendar_mobile/calendar_mobile.js" }, //手机日历 ]; //加载js css函数 U.CD.CF.Config.implement = function () { for (var i = 0; i < U.CD.CF.Config.length; i++) { for (j in U.CD.CF.Config[i]) { if (j == "link" || j == "css") { U.UF.DL.asynLoadCss({ "href": U.CD.CF.Config[i][j], "type": "text/css", "rel": "stylesheet" }); } else { U.UF.DL.asynLoadJs({ src: U.CD.CF.Config[i][j], "charset": "utf-8", "type": "text/javascript" }); } // U.MD.DynamicLoad(U.CD.CF.Config[i][j], j); } //return; } } //初始化 $(window).bind("load", function () { U.CD.CF.Config.implement(); });