cbdetail.vue 1008 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <template>
  2. <view class="content">
  3. <view class="vheight"></view>
  4. <view class="top flex">
  5. <image class="top-icon1" src="../../static/img/cb2.png" mode=""></image>
  6. <image class="top-icon2" src="../../static/img/cb1.png" mode=""></image>
  7. </view>
  8. </view>
  9. </template>
  10. <script>
  11. import { czpage } from '@/api/wallet.js';
  12. import tkiQrcode from '@/components/tki-qrcode/tki-qrcode.vue';
  13. import uniCopy from '@/js_sdk/xb-copy/uni-copy.js';
  14. export default {
  15. data() {
  16. return {
  17. id: ''
  18. };
  19. },
  20. onLoad(opt) {
  21. this.id = opt.type;
  22. this.loadData();
  23. },
  24. onShow() {},
  25. onReachBottom() {},
  26. onReady() {},
  27. methods: {
  28. loadData() {
  29. czpage({ id: this.id }).then(e => {
  30. console.log(e);
  31. });
  32. }
  33. }
  34. };
  35. </script>
  36. <style lang="scss">
  37. page,
  38. .content {
  39. min-height: 100%;
  40. height: auto;
  41. background: #f5f5f5;
  42. }
  43. .vheigh {
  44. height: var(--status-bar-height);
  45. }
  46. .top {
  47. padding: 20rpx 40rpx;
  48. .top-icon1 {
  49. width: 52rpx;
  50. height: 36rpx;
  51. }
  52. .top-icon2 {
  53. width: 48rpx;
  54. height: 48rpx;
  55. }
  56. }
  57. </style>