|
源码页面是这样- <div bx-name="pagination" class="pagination" id="J_pagination" bx-config="{count:937,size:40,index:2,goTo:false,pageCount:false}"></div>
复制代码 下面是同页面的 代码,不知道这样的怎么采集- <script src="http://a.tbcdn.cn/apps/e/brix/1.0/brix-min.js?t=20130724.js" bx-config="{autoPagelet:true,autoConfig:true,componentsPath:'http://a.tbcdn.cn/apps/med/www/pub/app/',componentsTag:'20130724',autoPagelet:true}"></script>
- <script>
- //KISSY组件路径配置
- var cdnURL = 'http://a.tbcdn.cn/apps/med/';
- KISSY.add({
- "med-pagination": {
- fullpath: cdnURL + "med/pagination/1.0/pagination.js",
- cssfullpath: cdnURL + "med/pagination/1.0/pagination.css",
- charset: "utf-8",
- requires: ["core"]
- },
- "med-tip": {
- fullpath: cdnURL + "med/tip/1.0/tip.js",
- cssfullpath: cdnURL + "med/tip/1.0/tip.css",
- charset: "utf-8",
- requires: ["core"]
- },
- "med-tooltip": {
- fullpath: cdnURL + "med/tooltip/1.0/tooltip.js",
- cssfullpath: cdnURL + "med/tooltip/1.0/tooltip.css",
- charset: "utf-8",
- requires: ["core"]
- },
- "med-dialog": {
- fullpath: cdnURL + "med/dialog/1.0/dialog.js",
- cssfullpath: cdnURL + "med/dialog/1.0/dialog.css",
- charset: "utf-8",
- requires: ["core"]
- },
- "med-lavalamp": {
- fullpath: cdnURL + "med/lavalamp/1.0/lavalamp.js",
- charset: "utf-8",
- requires: ["core"]
- },
- "calendar": {
- fullpath: cdnURL + "kissy/1.2.0/calendar-min.js",
- cssfullpath: cdnURL + "kissy/1.2.0/calendar/assets/base-min.css",
- charset: "utf-8",
- requires: ["core"]
- },
- "med-colorpicker": {
- fullpath: cdnURL + "med/colorpicker/1.0/colorpicker.js",
- charset: "utf-8",
- requires: ["core"]
- },
- "med-multiselect": {
- fullpath: cdnURL + "www/js/pub/multiselect.js",
- charset: "utf-8",
- requires: ["core"]
- }
- });
- KISSY.config({
- map:[
- [/(.+pub\/.+)-min.js(\?[^?]+)?$/, "$1.js$2"],
- [/(.+charts\/.+)-min.js(\?[^?]+)?$/, "$1.js$2"],
- [/(.+app\/.+)-min.js(\?[^?]+)?$/, "$1.js$2"]
- ],
- packages:[
- {
- name:"pub",
- tag:"20130724",
- path:"http://a.tbcdn.cn/apps/med/www/js/",
- charset:"utf-8"
- },
- {
- name:"app",
- tag:"20130724",
- path:"http://a.tbcdn.cn/apps/med/www/pub/",
- charset:"utf-8"
- },
- {
- name:"charts",
- tag:"20130724",
- path:"http://a.tbcdn.cn/apps/med/",
- charset:"utf-8"
- }
- ]
- });
- // 页面根路径
- var ROOT = 'http://u.alimama.com/union';
- </script>
复制代码 |
|