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
60
61
62
63
64
<!--
 * @Author: 小明丶
 * @Date: 2020-12-29 09:55:28
 * @LastEditors: 小明丶
 * @LastEditTime: 2021-01-05 17:50:09
 * @Description: 
-->
<template>
    <div class="shsk-detail">
        <van-nav-bar
          left-arrow
          fixed
          left-text="返回"
          @click-left="onClickLeft"
        >
            <div slot="title">
                <h4>{{$route.query.title}}</h4>
            </div>
        </van-nav-bar>
        <van-cell-group>
          <van-cell v-for="item in list" :key="item.payMethodName" title="支付费率" :value="item.fee+'%'" />
        </van-cell-group>
    </div>
</template>
<script>
export default {
    data() {
        return {
            list:[],
        }
    },
    mounted(){
        this.$api.merPayInfo({
            zfbVersion:this.zfbVersion,
            prodId:this.prodId
        }).then(res=>{
            this.list = res.body.payMethods || []
        })
    },
    computed:{
        typeName(){
            return this.$route.query.name
        },
        zfbVersion(){
          return Number(this.$route.query.zfbVersion)
        },
        prodId(){
          return Number(this.$route.query.prodId)
        }
    },
    methods:{
        onClickLeft(){
            this.$router.go(-1)
        }
    }
}
</script>
<style lang="less" scoped>
.shsk-detail{
    min-height: 100vh;
    background: #fafafa;
    padding-top: 54px;
}
</style>