| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <template>
- <view class="content">
- <view class="vheight"></view>
- <view class="top flex">
- <image class="top-icon1" src="../../static/img/cb2.png" mode=""></image>
- <image class="top-icon2" src="../../static/img/cb1.png" mode=""></image>
- </view>
- <view class="title">充幣</view>
- </view>
- </template>
- <script>
- import { czpage } from '@/api/wallet.js';
- import tkiQrcode from '@/components/tki-qrcode/tki-qrcode.vue';
- import uniCopy from '@/js_sdk/xb-copy/uni-copy.js';
- export default {
- data() {
- return {
- id: ''
- };
- },
- onLoad(opt) {
- this.id = opt.type;
- this.loadData();
- },
- onShow() {},
- onReachBottom() {},
- onReady() {},
- methods: {
- loadData() {
- czpage({ id: this.id }).then(e => {
- console.log(e);
- });
- }
- }
- };
- </script>
- <style lang="scss">
- page,
- .content {
- min-height: 100%;
- height: auto;
- background: #f5f5f5;
- }
- .vheigh {
- height: var(--status-bar-height);
- }
- .top {
- padding: 20rpx 40rpx;
- .top-icon1 {
- width: 52rpx;
- height: 36rpx;
- }
- .top-icon2 {
- width: 48rpx;
- height: 48rpx;
- }
- }
- </style>
|