Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center-ui
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴学德
gdtel-gztel-school-center-ui
Commits
15790b0c
Commit
15790b0c
authored
Feb 24, 2020
by
吴学德
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合伙人页面
parent
66746c56
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
42 additions
and
28 deletions
+42
-28
public/picture/hhr/kefu.png
+0
-0
public/picture/hhr/service-qrcode.jpg
+0
-0
src/config/router.config.js
+24
-22
src/permission.js
+1
-1
src/views/hhr-view/hhrCustomer.vue
+17
-5
No files found.
public/picture/hhr/kefu.png
View file @
15790b0c
2.48 KB
|
W:
|
H:
3.54 KB
|
W:
|
H:
2-up
Swipe
Onion skin
public/picture/hhr/service-qrcode.jpg
0 → 100644
View file @
15790b0c
176 KB
src/config/router.config.js
View file @
15790b0c
...
...
@@ -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'
,
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 = [{
}
]
},
{
path
:
'/test'
,
component
:
BlankLayout
,
redirect
:
'/test/home'
,
children
:
[
{
path
:
'home'
,
name
:
'TestHome'
,
component
:
()
=>
import
(
'@/views/user/Test'
)
}
]
},
{
path
:
'/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'
)
}
]
}
]
src/permission.js
View file @
15790b0c
...
...
@@ -15,7 +15,7 @@ NProgress.configure({
showSpinner
:
false
})
// 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
)
=>
{
...
...
src/views/
user/Test
.vue
→
src/views/
hhr-view/hhrCustomer
.vue
View file @
15790b0c
...
...
@@ -4,9 +4,11 @@
background-size: 100%;
width: 100%;
height: 150%;"
>
<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>
<img
src=
"/picture/hhr/kefu.png"
style=
"width: 10%;float: right;margin-top: 20px;margin-right: 20px"
@
click=
"showPopup"
>
<!--
</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
@
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>
...
...
@@ -31,9 +33,12 @@
</div>
<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>
<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>
<van-popup
v-model=
"kefushow"
>
<img
src=
"/picture/hhr/service-qrcode.jpg"
style=
"width:100%;height: 100%"
>
</van-popup>
</div>
...
...
@@ -41,10 +46,11 @@
<
script
>
export
default
{
name
:
"
Test
"
,
name
:
"
hhrCustomer
"
,
data
(){
return
{
newcar
:
false
,
kefushow
:
false
}
}
,
...
...
@@ -52,6 +58,12 @@
methods
:
{
newcartouch
(){
this
.
newcar
=
true
},
newcargoback
(){
this
.
newcar
=
false
},
showPopup
()
{
this
.
kefushow
=
true
;
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment