Commit 15790b0c by 吴学德

合伙人页面

parent 66746c56

2.48 KB | W: | H:

3.54 KB | W: | H:

public/picture/hhr/kefu.png
public/picture/hhr/kefu.png
public/picture/hhr/kefu.png
public/picture/hhr/kefu.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -27,20 +27,21 @@ export const asyncRouterMap = [{ ...@@ -27,20 +27,21 @@ export const asyncRouterMap = [{
} }
] ]
}, { }, {
path: '/test',
component: BlankLayout,
redirect: '/test/home',
children: [
{
path: 'home',
name: 'TestHome',
component: () => import('@/views/user/Test')
}
]
}, {
path: '/404', path: '/404',
component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404') component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404')
} }
, {
path: '/hhr',
component: BlankLayout,
redirect: '/hhr/home',
children: [
{
path: 'home',
name: 'TestHome',
component: () => import('@/views/hhr-view/hhrCustomer.vue')
}
]
}
] ]
/** /**
...@@ -60,18 +61,19 @@ export const constantRouterMap = [{ ...@@ -60,18 +61,19 @@ export const constantRouterMap = [{
} }
] ]
}, { }, {
path: '/test',
component: BlankLayout,
redirect: '/test/home',
children: [
{
path: 'home',
name: 'TestHome',
component: () => import('@/views/user/Test')
}
]
}, {
path: '/404', path: '/404',
component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404') component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404')
} }
, {
path: '/hhr',
component: BlankLayout,
redirect: '/hhr/home',
children: [
{
path: 'home',
name: 'TestHome',
component: () => import('@/views/hhr-view/hhrCustomer.vue')
}
]
}
] ]
...@@ -15,7 +15,7 @@ NProgress.configure({ ...@@ -15,7 +15,7 @@ NProgress.configure({
showSpinner: false showSpinner: false
}) // NProgress Configuration }) // NProgress Configuration
const whiteList = ['/user/login', '/user/register', '/user/register-result', '/user/alteration', '/user/ueditor2','/user/Test'] // no redirect whitelist const whiteList = ['/user/login', '/user/register', '/user/register-result', '/user/alteration', '/user/ueditor2'] // no redirect whitelist
router.beforeEach((to, from, next) => { router.beforeEach((to, from, next) => {
......
...@@ -4,9 +4,11 @@ ...@@ -4,9 +4,11 @@
background-size: 100%; background-size: 100%;
width: 100%; width: 100%;
height: 150%;"> height: 150%;">
<div style="height: 40px"></div> <img src="/picture/hhr/kefu.png" style="width: 10%;float: right;margin-top: 20px;margin-right: 20px" @click="showPopup">
<div style="background-image: url('./picture/hhr/02.png');background-repeat: no-repeat;background-position: center;background-size: 100%;width: 77%;height: 280px;margin: auto;"> <!-- </div>-->
</div> <div style="height:40px"></div>
<div style="background-image: url('./picture/hhr/02.png');background-repeat: no-repeat;background-position: center;background-size: 100%;width: 77%;height: 280px;margin: auto;">
</div>
<div v-show="!newcar"> <div v-show="!newcar">
<div @click="newcartouch" style="background-image: url('./picture/hhr/03.png'); width: 256px; height: 64px;margin: 20px auto; background-repeat: no-repeat;background-size: 100%;"> <div @click="newcartouch" style="background-image: url('./picture/hhr/03.png'); width: 256px; height: 64px;margin: 20px auto; background-repeat: no-repeat;background-size: 100%;">
</div> </div>
...@@ -31,9 +33,12 @@ ...@@ -31,9 +33,12 @@
</div> </div>
<div v-show="newcar"> <div v-show="newcar">
<div style="background-image: url('./picture/hhr/06.png'); width: 256px; height: 64px;margin: 20px auto; background-repeat: no-repeat;background-size: 100%;"></div> <div style="background-image: url('./picture/hhr/06.png'); width: 256px; height: 64px;margin: 20px auto; background-repeat: no-repeat;background-size: 100%;"></div>
<van-button type="info" :round="true" size="large" >返回</van-button> <van-button type="info" @click="newcargoback" :round="true" style="width: 256px; margin:auto 100%" >返回</van-button>
<div style="height: 250px"></div> <div style="height: 250px"></div>
</div> </div>
<van-popup v-model="kefushow">
<img src="/picture/hhr/service-qrcode.jpg" style="width:100%;height: 100%">
</van-popup>
</div> </div>
...@@ -41,10 +46,11 @@ ...@@ -41,10 +46,11 @@
<script> <script>
export default { export default {
name:"Test", name:"hhrCustomer",
data(){ data(){
return{ return{
newcar:false, newcar:false,
kefushow: false
} }
} }
, ,
...@@ -52,6 +58,12 @@ ...@@ -52,6 +58,12 @@
methods: { methods: {
newcartouch(){ newcartouch(){
this.newcar=true this.newcar=true
},
newcargoback(){
this.newcar=false
},
showPopup() {
this.kefushow = true;
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment