Authored by 陈峰

commit

... ... @@ -171,6 +171,7 @@ export default {
font-size: 22px;
color: #b0b0b0;
position: relative;
white-space: initial;
.type-shop,
.type-activity,
... ...
import Vue from 'vue';
import Components from './components';
import Ufo from './ufo';
import Order from './order';
import Coupon from './coupon';
Components.forEach(component => Vue.component(component.name, component));
export default [...Ufo, ...Coupon];
export default [...Order, ...Coupon];
... ...
import UfoOrder from './ufo';
export default [...UfoOrder];
... ...
export default [{
path: '/ufo/order/:orderId(\\d+)',
path: '/order/ufo/:orderId(\\d+)',
name: 'order',
component: () => import(/* webpackChunkName: "order" */ './order')
}];
... ...
import Order from './order';
export default [...Order];
<template>
<LayoutApp>
<div class="order-page">
<div class="title">优惠券</div>
</div>
</div>
</LayoutApp>
</template>
<script>
export default {
name: 'OrderPage',
};
</script>
<style lang="scss" scoped>
</style>
export default [{
path: '/yoho/coupon',
name: 'coupon',
component: () => import(/* webpackChunkName: "coupon" */ './coupon')
}];
import Coupon from './coupon';
export default [...Coupon];
... ... @@ -11,9 +11,9 @@ const isTest = process.env.NODE_ENV === 'test3';
const domains = {
// api: 'http://api.yoho.cn/',
// service: 'http://service.yoho.cn/',
// ufo: 'http://java-yohoufo-fore.test3.ingress.dev.yohocorp.com/ufo-gateway/',
api: 'http://api.yoho.cn/',
service: 'http://service.yoho.cn/',
ufo: 'http://java-yohoufo-fore.test3.ingress.dev.yohocorp.com/ufo-gateway/',
// liveApi: 'http://testapi.live.yohops.com:9999/',
// singleApi: 'http://api-test3.yohops.com:9999/',
... ... @@ -24,16 +24,16 @@ const domains = {
// platformApi: 'http://172.16.6.210:8088/',
api: 'http://api-test3.dev.yohocorp.com/',
service: 'http://api-test3.dev.yohocorp.com/',
ufo: 'http://java-yohoufo-fore.test3.ingress.dev.yohocorp.com/ufo-gateway/',
// api: 'http://api-test3.dev.yohocorp.com/',
// service: 'http://api-test3.dev.yohocorp.com/',
// ufo: 'http://java-yohoufo-fore.test3.ingress.dev.yohocorp.com/ufo-gateway/',
};
module.exports = {
app: 'h5',
appVersion: '6.6.0', // 调用api的版本
appName: 'yohoapp-node',
port: 6003,
port: 6001,
siteUrl: '//m.yohobuy.com',
assetUrl: '//localhost:5001/yohoapp-node/',
testCode: 'yoho4946abcdef#$%&!@',
... ...
... ... @@ -4,7 +4,7 @@ module.exports = [
cache: true
},
{
route: /ufo\/order/,
route: /order\/ufo/,
cache: true,
cackeKey: '$url$params',
cacheTime: 10
... ...