diff --git a/src/base/pager/pager.js b/src/base/pager/pager.js index 5967271b2..6689774f6 100644 --- a/src/base/pager/pager.js +++ b/src/base/pager/pager.js @@ -12,8 +12,6 @@ BI.Pager = BI.inherit(BI.Widget, { behaviors: {}, layouts: [{ type: "bi.horizontal", - hgap: 10, - vgap: 0 }], dynamicShow: true, // 是否动态显示上一页、下一页、首页、尾页, 若为false,则指对其设置使能状态 @@ -178,7 +176,6 @@ BI.Pager = BI.inherit(BI.Widget, { items: BI.createItems(view, { cls: "bi-list-item-select bi-border-radius", height: 23, - hgap: 10, stopPropagation: true }), behaviors: o.behaviors, diff --git a/src/case/pager/pager.js b/src/case/pager/pager.js index cc057fd69..0f6bac9b5 100644 --- a/src/case/pager/pager.js +++ b/src/case/pager/pager.js @@ -12,8 +12,6 @@ BI.DetailPager = BI.inherit(BI.Widget, { behaviors: {}, layouts: [{ type: "bi.horizontal", - hgap: 10, - vgap: 0 }], dynamicShow: true, // 是否动态显示上一页、下一页、首页、尾页, 若为false,则指对其设置使能状态 @@ -177,8 +175,7 @@ BI.DetailPager = BI.inherit(BI.Widget, { element: this, items: BI.createItems(view, { cls: "page-item bi-border bi-list-item-active", - height: 23, - hgap: 10 + height: 23 }), behaviors: o.behaviors, layouts: o.layouts @@ -285,4 +282,4 @@ BI.DetailPager = BI.inherit(BI.Widget, { }); BI.DetailPager.EVENT_CHANGE = "EVENT_CHANGE"; BI.DetailPager.EVENT_AFTER_POPULATE = "EVENT_AFTER_POPULATE"; -BI.shortcut("bi.detail_pager", BI.DetailPager); \ No newline at end of file +BI.shortcut("bi.detail_pager", BI.DetailPager);