liangjin
2021-03-30 13bee775e4ad2c2ea255836201c4d6a00b4888a0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!--
 * @Author: 小明丶
 * @Date: 2020-11-13 10:43:38
 * @LastEditors: 小明丶
 * @LastEditTime: 2020-11-13 11:10:52
 * @Description: 
-->
<template>
    <div class="v-dialog">
        <van-dialog v-model="show" title="提示" show-cancel-button @cancel="hanldCancel" @confirm="hanldConfirm">
            <div class="content">
                <p>当前支付宝无法办理业务,企业类型商户请使用企业支付宝账号扫码授权,个体工商户请使用经营者支付宝账号扫码授权!</p>
            </div>
        </van-dialog>
    </div>
</template>
<script>
export default {
    name:'Vdialog',
    props:{
        show:{
            type:Boolean,
            default:false
        }
    },
    data() {
        return {
            
        }
    },
    methods:{
        hanldConfirm(){
            this.$router.push({
                path:'/huabei/open',
                query:{
                    isCreateOrderPush:true,
                    title:'花呗分期',
                    path:this.$route.path,
                    ...this.$route.query
                }
            })
        },
        hanldCancel(){
            this.$emit('cancel',false)
        }
    }
}
</script> 
<style lang="less" scoped>
.v-dialog{
    /deep/.content{
        display: flex;
        min-height: 100px;
        text-align: center;
        align-items: center;
        padding: 0 20px;
    }
}
</style>