tbDetail.vue 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <template>
  2. <view class="content">
  3. <view class="title b-b">-{{ info.num }}{{ info.coinname.toUpperCase() }}</view>
  4. <view class="row b-b flex">
  5. <text class="tit">類型</text>
  6. <view class="input">普通提幣</view>
  7. </view>
  8. <view class="row b-b flex">
  9. <text class="tit">手續費</text>
  10. <view class="input">{{ info.fee }}</view>
  11. </view>
  12. <view class="row b-b flex">
  13. <text class="tit">實際到賬</text>
  14. <view class="input">{{ info.mum }}</view>
  15. </view>
  16. <view class="row b-b flex">
  17. <text class="tit">提幣地址</text>
  18. <view class="input">{{ info.address }}</view>
  19. </view>
  20. <view class="row b-b flex">
  21. <text class="tit">狀態</text>
  22. <view class="input">{{ info.status == 1 ? '待审核' : info.status == 2 ? '完成' : '失败' }}</view>
  23. </view>
  24. <view class="row b-b flex">
  25. <text class="tit">時間</text>
  26. <view class="input">{{ info.addtime }}</view>
  27. </view>
  28. </view>
  29. </template>
  30. <script>
  31. import { txinfo } from '@/api/wallet.js';
  32. export default {
  33. data() {
  34. return {
  35. id: '',
  36. info: ''
  37. };
  38. },
  39. onLoad(opt) {
  40. this.id = opt.id;
  41. this.loadData();
  42. },
  43. onShow() {},
  44. methods: {
  45. loadData() {
  46. txinfo({ oid: this.id }).then(e => {
  47. this.info = e.data;
  48. });
  49. }
  50. }
  51. };
  52. </script>
  53. <style lang="scss">
  54. page,
  55. .content {
  56. min-height: 100%;
  57. height: auto;
  58. background: #fff;
  59. }
  60. .row {
  61. display: flex;
  62. align-items: center;
  63. position: relative;
  64. padding: 40rpx 30rpx;
  65. background: #fff;
  66. .tit {
  67. flex-shrink: 0;
  68. width: 120rpx;
  69. font-size: 28rpx;
  70. color: #707a8a;
  71. }
  72. .input {
  73. text-align: right;
  74. flex: 1;
  75. font-size: 28rpx;
  76. color: #000;
  77. }
  78. .image {
  79. width: 160rpx;
  80. height: 160rpx;
  81. image {
  82. width: 100%;
  83. height: 100%;
  84. }
  85. }
  86. }
  87. .title {
  88. padding: 50rpx 30rpx;
  89. font-size: 48rpx;
  90. font-weight: bold;
  91. color: #fcd535;
  92. }
  93. </style>