Commit b2610c7a by 潘琦

增加微信模板跳转详情地址(审核驳回)

parent d4332d18
......@@ -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/'
......
<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>
<template >
<router-view />
</template>
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