106 lines
2.0 KiB
Vue
106 lines
2.0 KiB
Vue
<template>
|
|
<view class="content">
|
|
<view class="point">
|
|
<image class="point-img" src="/static/imgs/signsSuccess.jpg" mode="widthFix"></image>
|
|
<view class="point-text">
|
|
<view class="point-name">
|
|
{{title}}
|
|
</view>
|
|
<view class="point-tips">
|
|
<text>{{content}}</text>
|
|
</view>
|
|
<!-- <view class="point-btn">
|
|
<view class="btn" @click="onBack">
|
|
返回
|
|
</view>
|
|
</view> -->
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
title: '未知',
|
|
content: '-'
|
|
};
|
|
},
|
|
onShow() {
|
|
if(this.$Route.query.sign_type === 'personal') {
|
|
this.title = "认证成功"
|
|
this.content = "实名认证成功"
|
|
}
|
|
if(this.$Route.query.sign_type === 'order') {
|
|
this.title = "签约成功"
|
|
this.content = "恭喜您已完成签约"
|
|
}
|
|
},
|
|
methods: {
|
|
onBack(){
|
|
this.$webUni.postMessage({
|
|
data: {
|
|
type: 'back',
|
|
val : this.$Route.query.sign_type
|
|
}
|
|
})
|
|
|
|
// try{
|
|
|
|
// window.location = "doufire://"
|
|
// if(uni.getSystemInfoSync().platform == 'android'){
|
|
// let ifr = document.createElement('iframe');
|
|
// ifr.src = "doufire://";
|
|
// ifr.style.display = 'none';
|
|
// document.body.appendChild(ifr);
|
|
// }else{
|
|
|
|
// }
|
|
// }catch(e){
|
|
// uni.showToast({
|
|
// title: e,
|
|
// icon : 'none'
|
|
// })
|
|
// }
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
.point {
|
|
text-align: center;
|
|
padding: 40% 0;
|
|
.point-img {
|
|
width: 50%;
|
|
margin: 0 auto 10rpx;
|
|
}
|
|
.point-text {
|
|
.point-name {
|
|
font-size: $title-size + 14;
|
|
}
|
|
.point-tips{
|
|
margin: $margin + 20 0 $margin*3;
|
|
line-height: 52rpx;
|
|
text {
|
|
display: block;
|
|
color: #999999;
|
|
}
|
|
}
|
|
}
|
|
.point-btn {
|
|
text-align: center;
|
|
.btn {
|
|
background-color: #446EFE;
|
|
display: inline-block;
|
|
color: #ffffff;
|
|
border-radius: $radius-m;
|
|
padding: 0 $padding;
|
|
line-height: 90rpx;
|
|
width: 70%;
|
|
}
|
|
}
|
|
}
|
|
</style>
|