You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
1.9 KiB
69 lines
1.9 KiB
|
|
<template>
|
|
<div class="put-money-success">
|
|
<div style="height: 0.9rem;"></div>
|
|
<div class="page-top">
|
|
<a @click="goBack()"><img src="../assets/images/my-money/left.png"/></a>
|
|
<span>提现申请</span>
|
|
</div>
|
|
<div class="page-content">
|
|
<div class="content-box">
|
|
<div class="box-top">
|
|
<img src="../assets/images/put-money/audit.png" alt="">
|
|
<p>提现审核中</p>
|
|
<span>1-3个工作日</span>
|
|
</div>
|
|
<div class="money-news">
|
|
<p>提现金额:¥ <span>{{num}}</span></p>
|
|
</div>
|
|
</div>
|
|
<button class="goHome" @click="goHome">返回首页</button>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
|
|
export default{
|
|
data () {
|
|
return {
|
|
num: 0
|
|
}
|
|
},
|
|
created(){
|
|
// this.getParams()
|
|
},
|
|
methods:{
|
|
//返回主页
|
|
goHome() {
|
|
window.location.href = '/mall/web'
|
|
},
|
|
//返回上一页
|
|
goBack() {
|
|
history.go(-1)
|
|
},
|
|
getParams () {
|
|
// 取到路由带过来的参数
|
|
this.num = this.$route.params.num
|
|
// console.log(this.num)
|
|
}
|
|
},
|
|
mounted() {
|
|
this.getParams()
|
|
// console.log(this.$route)
|
|
this.wxShare({
|
|
merchantNo: '',
|
|
source: 0,
|
|
url: encodeURIComponent(location.href),
|
|
shareUrl: encodeURIComponent(
|
|
"http://" + location.host + "/v2/home"
|
|
)
|
|
});
|
|
},
|
|
watch: {
|
|
// 监测路由变化,只要变化了就调用获取路由参数方法将数据存储本组件即可
|
|
'$route': 'getParams'
|
|
}
|
|
|
|
}
|
|
</script>
|