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.

76 lines
1.3 KiB

3 years ago
<template>
<view class="containers">
<view>
<img :src="succ" alt="">
3 years ago
<view>提交成功{{!iscall?',等待审核':''}}</view>
<view v-if="!iscall"></view>
3 years ago
<view>
<button @click="toHistory">访</button>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
3 years ago
succ: require('../../static/img/success.png'),
iscall:false
3 years ago
}
},
3 years ago
onLoad(options) {
this.iscall=options.iscall?true:false
3 years ago
},
methods: {
3 years ago
toHistory() {
let url = '/pages/visit/visithistory'
if(this.iscall){
url = '/pages/bd/record?type=call'
}
3 years ago
uni.redirectTo({
3 years ago
url: url
3 years ago
})
}
}
}
</script>
<style scoped>
.containers {
background-color: #fff;
min-height: 80vh;
padding: 20rpx;
position: relative;
}
.containers>view {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 70%;
text-align: center;
}
.containers>view img {
width: 200rpx;
height: 200rpx;
}
.containers>view view {
margin-bottom: 40rpx
}
.containers>view view:first-child {
font-size: 40rpx;
color: #000
}
.containers>view button {
background-color: #044ed7;
color: #fff
}
</style>