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
65
66
67
68
69
| <template>
| <div class="bank_card_page">
| <van-nav-bar :placeholder="true" :safe-area-inset-top="true" :title="$t('kf')" left-arrow
| @click-left="$router.go(-1)">
| </van-nav-bar>
| <iframe :src="serverUrl" width="100%" :height="screenHeight + 'px'"></iframe>
| </div>
| </template>
|
| <script>
| import { Toast } from 'mint-ui'
| import { isNull, isPhone } from '@/utils/utils'
| import * as api from '@/axios/api'
| export default {
| name: "kf",
| data() {
| return {
| serverUrl: '',
| screenHeight: 0,
| };
| },
| created() { },
| mounted() {
| this.getInfoSite()
| this.screenHeight = window.innerHeight-100;
| },
| methods: {
| async getInfoSite () {
| // 获取 logo
| let data = await api.getInfoSite()
| if (data.status === 0) {
| this.serverUrl = data.data.onlineService
| } else {
| Toast(data.msg)
| }
| }
| }
| };
| </script>
|
| <style scoped lang="less">
| /deep/ .van-nav-bar__content {
| height: 65px;
| }
|
| /deep/ .van-nav-bar__title {
| font-family: "DINPro";
| width: 100%;
| height: 1.17333rem;
| display: flex;
| justify-content: center;
| align-items: center;
| font-style: normal;
| font-weight: 500;
| font-size: 0.48rem;
| color: #14181f;
| }
|
| .bank_card_page {
| width: 100%;
| height: 100%;
| .content {
| width: 100%;
| padding: 0.4rem 0.6rem;
| line-height: 0.55rem;
| font-size: 0.3rem;
| }
| }
| </style>
|
|