You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<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();
|
|
|
|
}else if(e.index === 1){
|
|
|
|
window.location.reload();
|
|
|
|
}
|
|
|
|
},
|
|
|
|
methods: {}
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
|
|
</style>
|