Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
voucher-h5
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
潘琦
voucher-h5
Commits
b2610c7a
Commit
b2610c7a
authored
Nov 22, 2019
by
潘琦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加微信模板跳转详情地址(审核驳回)
parent
d4332d18
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
113 additions
and
0 deletions
+113
-0
index.js
src/router/index.js
+15
-0
adopt.vue
src/views/wxTemplate/adopt.vue
+95
-0
index.vue
src/views/wxTemplate/index.vue
+3
-0
No files found.
src/router/index.js
View file @
b2610c7a
...
...
@@ -129,6 +129,21 @@ export default new Router({
meta
:
{
keepAlive
:
false
,
title
:
'去医院'
}
}
]
},
{
path
:
'/wxTemplate'
,
name
:
'wxTemplate'
,
component
:
(
resolve
)
=>
require
([
'@/views/wxTemplate/index'
],
resolve
),
redirect
:
'/wxTemplate/index'
,
meta
:
{
keepAlive
:
false
,
title
:
'微信消息模板'
},
children
:
[
{
path
:
'adopt'
,
name
:
'审核模板'
,
component
:
(
resolve
)
=>
require
([
'@/views/wxTemplate/adopt'
],
resolve
),
meta
:
{
keepAlive
:
false
,
title
:
'审核模板'
}
}
]
}
],
base
:
'/voucher/'
...
...
src/views/wxTemplate/adopt.vue
0 → 100644
View file @
b2610c7a
<
template
>
<div
class=
"full-page"
>
<div
class=
"container"
>
<div
class=
"p-title"
>
<span
class=
"label"
>
审核不通过原因:
</span>
</div>
<div
class=
"block"
>
<ol>
<li>
身份证不符
</li>
<li>
身份证不符
</li>
</ol>
</div>
<div
class=
"block"
>
<textarea
disabled=
"true"
rows=
"4"
>
aaaa
</textarea>
</div>
<div
class=
"footer"
>
<button
class=
"confirm-btn"
@
click=
"handelConfirm"
>
我知道了
</button>
</div>
</div>
</div>
</
template
>
<
script
>
// import { getStore } from '@/util/store'
// import { getUserCard } from '@/api/apply/apply'
const
wx
=
require
(
'weixin-js-sdk'
)
export
default
{
name
:
'adoptTemplate'
,
data
()
{
return
{
}
},
created
()
{
},
mounted
:
function
()
{
},
computed
:
{
},
components
:
{
},
methods
:
{
handelConfirm
()
{
wx
.
closeWindow
()
}
}
}
</
script
>
<
style
scoped
>
.full-page
{
background-color
:
#f5f6f7
;
}
.p-title
>
.label
{
font-size
:
1.2em
;
font-weight
:
normal
;
}
.block
{
background-color
:
#ffffff
;
border-radius
:
5px
;
-webkit-box-shadow
:
1px
8px
10px
#e2e3e4
;
box-shadow
:
1px
8px
10px
#e2e3e4
;
margin-bottom
:
1.2em
;
padding
:
1em
;
width
:
100%
;
font-size
:
1em
;
}
.block
textarea
{
width
:
100%
;
}
ol
{
padding-left
:
15px
;
margin-bottom
:
0
;
}
ol
>
li
{
/* margin-bottom: 0.4em; */
padding
:
0.4em
0
;
/* border-bottom: 1px solid #ccc; */
}
.footer
{
position
:
fixed
;
bottom
:
10%
;
left
:
0
;
padding
:
0
2em
;
width
:
100%
;
}
button
.confirm-btn
{
background-color
:
#43d1be
;
color
:
#fff
;
border
:
none
;
width
:
100%
;
padding
:
0.7em
0
;
font-size
:
1.2em
;
}
</
style
>
src/views/wxTemplate/index.vue
0 → 100644
View file @
b2610c7a
<
template
>
<router-view
/>
</
template
>
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