logistics.page.js 601 Bytes
const Vue = require('yoho-vue');
const infiniteScroll = require('yoho-vue-infinite-scroll');
const Logistics = require('home/refund/logistics.vue');
const LogisticsCompany = require('home/refund/logistics-company.vue');

Vue.use(infiniteScroll);

new Vue({
    el: '#logistics',
    data: {
        company: '',
        currentView: 'logistics',
    },
    components: {
        logistics: Logistics,
        logisticsCompany: LogisticsCompany
    },
    events: {
        changeView: function(obj) {
            this.currentView = obj.view;
            this.company = obj.company;
        }
    }
});