<template>
	<page-meta root-font-size="16px"></page-meta>
	<view>
		<issue :isByFIFO="true" ref="issue"></issue>
	</view>
</template>

<script>
	import {
		goHome
	} from '@/common/basic.js';

	import issue from './issue.vue';
	export default {
		name: 'issueByFIFO',
		components: {
			issue,
		},
		data() {
			return {};
		},

		onShow: function() {

		},
		onPullDownRefresh() {
			this.$refs.issue.onPull();
			
		},
		onReachBottom() {
			this.$refs.issue.onReach();
		},
		//后退按钮
		onBackPress(options) {
			if (options.from === 'navigateBack') {
				return false;
			}
			goHome();
			return true;
		},
		//返回首页
		onNavigationBarButtonTap(e) {
			if (e.index === 0) {
				goHome();
			}
		},
		methods: {}
	};
</script>
<style scoped lang="scss">
</style>
