| | |
| | | topRefresh: false, |
| | | branch_id: 0, // 分会ID |
| | | is_first_show: true, // 处理授权返回加载数据空白的问题 |
| | | words: {}, |
| | | }; |
| | | }, |
| | | computed: { |
| | |
| | | list_rows: self.list_rows, |
| | | }, |
| | | function(res) { |
| | | self.words = res.data.words; |
| | | self.listData = self.listData.concat(res.data.list.data); |
| | | self.last_page = res.data.list.last_page; |
| | | if (res.data.list.last_page <= 1) { |
| | |
| | | } else { |
| | | self.no_more = false; |
| | | } |
| | | // uni.hideLoading(); |
| | | /*设置标题*/ |
| | | uni.setNavigationBarTitle({ |
| | | title: self.words.activity_list.value |
| | | }); |
| | | self.loading = false; |
| | | self.is_first_show = false; |
| | | } |
| | |
| | | this.gotoPage(url); |
| | | }, |
| | | |
| | | }, |
| | | onShareAppMessage() { |
| | | return { |
| | | title: `活动列表`, |
| | | path: `pages/branch/activity/index/index` |
| | | }; |
| | | }, |
| | | onShareTimeline() { |
| | | return { |
| | | title: '活动列表', |
| | | path: `pages/branch/activity/index/index` |
| | | }; |
| | | } |
| | | }; |
| | | </script> |