component/loadingstatus/loadingstatus.js
@@ -1,4 +1,9 @@ // component/loadingstatus/loadingstatus.js /** * 加载状态组件 * 配合 bLoadingStatus 使用 * @see '/base/behaviors/bLoadingStatus.js' */ Component({ options: { addGlobalClass: true @@ -7,6 +12,10 @@ * 组件的属性列表 */ properties: { scrollable: { type: Boolean, value: true }, loading: { type: Boolean, value: false @@ -32,6 +41,8 @@ * 组件的方法列表 */ methods: { gotoMore() { this.triggerEvent('gotoMore') } } })