order-detail.page.js
487 Bytes
/**
* order-detail.page.js.
* @author hgwang
* @date 2016-07-23
*/
'use strict';
const Vue = require('vue');
const OrderDetail = require('me/order-detail.vue');
const yoho = require('yoho');
require('common/vue-filter')(Vue);
require('common/count-down');
yoho.ready(() => {
new Vue({
el: '#order-detail',
data: {
orderCode: document.getElementById('order-code').value
},
components: {
OrderDetail
}
});
});