diff --git a/package.json b/package.json index 3765ef1bc..25f358c16 100644 --- a/package.json +++ b/package.json @@ -55,4 +55,4 @@ "sass-loader": "^7.1.0", "vue-template-compiler": "^2.6.10" } -} \ No newline at end of file +} diff --git a/public/index.html b/public/index.html index 385b4a26b..23b59b22b 100644 --- a/public/index.html +++ b/public/index.html @@ -17,5 +17,6 @@ + diff --git a/src/assets/images/u10211.jpg b/src/assets/images/u10211.jpg new file mode 100644 index 000000000..106bd78d2 Binary files /dev/null and b/src/assets/images/u10211.jpg differ diff --git a/src/assets/images/u10213.png b/src/assets/images/u10213.png new file mode 100644 index 000000000..0d9a2f2d9 Binary files /dev/null and b/src/assets/images/u10213.png differ diff --git a/src/assets/images/u10247.png b/src/assets/images/u10247.png new file mode 100644 index 000000000..94fdf1c37 Binary files /dev/null and b/src/assets/images/u10247.png differ diff --git a/src/assets/images/u10280.png b/src/assets/images/u10280.png new file mode 100644 index 000000000..654bed3bb Binary files /dev/null and b/src/assets/images/u10280.png differ diff --git a/src/assets/images/u10608.svg b/src/assets/images/u10608.svg new file mode 100644 index 000000000..3b038fea8 --- /dev/null +++ b/src/assets/images/u10608.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main.js b/src/main.js index 0172d03f1..59c61558d 100644 --- a/src/main.js +++ b/src/main.js @@ -13,6 +13,8 @@ import noMoreClick from '@/directive/noMoreClick' //全局注册vant常用组件 import { Toast, Button, Dialog, Icon } from 'vant' + + Vue.use(Icon) Vue.use(Toast) diff --git a/src/router/ebiz/cardList.js b/src/router/ebiz/cardList.js index e65351aae..c5237ea8a 100644 --- a/src/router/ebiz/cardList.js +++ b/src/router/ebiz/cardList.js @@ -1,5 +1,10 @@ // 卡单路由 const information = () => import('@/views/ebiz/cardList/information') +const CardTotreasure = () => import('@/views/ebiz/cardList/CardTotreasure') +const productDetails = () => import('@/views/ebiz/cardList/productDetails') +const Pay = () => import('@/views/ebiz/cardList/Pay') +const PaySuccess = () => import('@/views/ebiz/cardList/PaySuccess') +const PayLoser = () => import('@/views/ebiz/cardList/PayLoser') export default [ { path: '/cardList/information', @@ -9,5 +14,50 @@ export default [ title: '投被保人信息', index: 1 } + }, + { + path: '/cardList/CardTotreasure', + name: 'CardTotreasure', + component: CardTotreasure, + meta: { + title: '卡单列表' + + } + }, + { + path: '/cardList/productDetails', + name: 'productDetails', + component: productDetails, + meta: { + title: '卡单详情' + + } + }, + { + path: '/cardList/Pay', + name: 'Pay', + component: Pay, + meta: { + title: '支付信息' + + } + }, + { + path: '/cardList/PaySuccess', + name: 'PaySuccess', + component: PaySuccess, + meta: { + title: '支付成功' + + } + }, + { + path: '/cardList/PayLoser', + name: 'PayLoser', + component: PayLoser, + meta: { + title: '支付失败' + + } } ] diff --git a/src/router/index.js b/src/router/index.js index 5dbe9258e..a0e5531e2 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -2,8 +2,11 @@ import Vue from 'vue' import Router from 'vue-router' import App from './app' import Example from './example' + import Ebiz from './ebiz' + + Vue.use(Router) const constantRouterMap = [...App, ...Example, ...Ebiz] //后续可以删减模块 diff --git a/src/views/ebiz/cardList/CardTotreasure.vue b/src/views/ebiz/cardList/CardTotreasure.vue new file mode 100644 index 000000000..d785883ca --- /dev/null +++ b/src/views/ebiz/cardList/CardTotreasure.vue @@ -0,0 +1,228 @@ + + + + + \ No newline at end of file diff --git a/src/views/ebiz/cardList/Pay.vue b/src/views/ebiz/cardList/Pay.vue new file mode 100644 index 000000000..7c7836047 --- /dev/null +++ b/src/views/ebiz/cardList/Pay.vue @@ -0,0 +1,123 @@ + + + + + + diff --git a/src/views/ebiz/cardList/PayLoser.vue b/src/views/ebiz/cardList/PayLoser.vue new file mode 100644 index 000000000..bdf2d23dd --- /dev/null +++ b/src/views/ebiz/cardList/PayLoser.vue @@ -0,0 +1,32 @@ + + + + + \ No newline at end of file diff --git a/src/views/ebiz/cardList/PaySuccess.vue b/src/views/ebiz/cardList/PaySuccess.vue new file mode 100644 index 000000000..4d7f9345f --- /dev/null +++ b/src/views/ebiz/cardList/PaySuccess.vue @@ -0,0 +1,42 @@ + + + + + + diff --git a/src/views/ebiz/cardList/productDetails.vue b/src/views/ebiz/cardList/productDetails.vue new file mode 100644 index 000000000..5c17613f7 --- /dev/null +++ b/src/views/ebiz/cardList/productDetails.vue @@ -0,0 +1,160 @@ + + + + + \ No newline at end of file