Authored by TaoHuang

Merge remote-tracking branch 'origin/feature/invite' into feature/invite

... ... @@ -9,9 +9,6 @@ import LayoutApp from '../../components/layout/layout-app';
import Cards from './components/cards';
export default {
asyncData({store}) {
return store.dispatch('mine/bankCard/fetchBankCard');
},
name: 'cardList',
mounted() {
this.$refs.cards.init();
... ...
... ... @@ -29,9 +29,6 @@ import {Scroll} from 'cube-ui';
const {mapState, mapActions} = createNamespacedHelpers('mine/bankCard');
export default {
mounted() {
this.init();
},
methods: {
...mapActions(['fetchBankCard']),
init() {
... ... @@ -92,7 +89,7 @@ export default {
.card-id {
font-size: 32px;
padding-right: 30px;
margin: 46px 0 40px;
margin: 60px 0 50px;
display: flex;
justify-content: space-between;
letter-spacing: 2px;
... ... @@ -100,7 +97,7 @@ export default {
.num {
font-size: 40px;
position: relative;
top: -6px;
top: -10px;
}
}
... ...
export default [{
path: '/mapp/mine/ufo/bankcard.html',
name: 'bankcard',
component: () => import(/* webpackChunkName: "bankcard" */ './card-list')
component: () => import(/* webpackChunkName: "invite" */ './card-list')
},{
path: '/mapp/mine/ufo/bankcard/add',
name: 'bankcard.add',
component: () => import(/* webpackChunkName: "bankcard" */ './card-add')
component: () => import(/* webpackChunkName: "invite" */ './card-add')
}];
... ...