tbDetail.vue 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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">{{ $t('cb.lx') }}</text>
  6. <view class="input">{{ $t('cb.ptcb') }}</view>
  7. </view>
  8. <view class="row b-b flex">
  9. <text class="tit">{{ $t('cb.sj') }}</text>
  10. <view class="input">{{ info.fee }}</view>
  11. </view>
  12. <view class="row b-b flex">
  13. <text class="tit">{{ $t('tb.sjdz') }}</text>
  14. <view class="input">{{ info.mum }}</view>
  15. </view>
  16. <view class="row b-b flex">
  17. <text class="tit">{{ $t('tb.tbdz') }}</text>
  18. <view class="input">{{ info.address }}</view>
  19. </view>
  20. <view class="row b-b flex">
  21. <text class="tit">{{ $t('cb.zt') }}</text>
  22. <view class="input">{{ info.status == 1 ? $t('cb.dsh') : info.status == 2 ? $t('cb.wc') : $t('cb.sb') }}</view>
  23. </view>
  24. <view class="row b-b flex">
  25. <text class="tit">{{ $t('cb.sj') }}</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. uni.setNavigationBarTitle({ title: this.$t('tb.tbxq') });
  41. this.id = opt.id;
  42. this.loadData();
  43. },
  44. onShow() {},
  45. methods: {
  46. loadData() {
  47. txinfo({ oid: this.id }).then(e => {
  48. this.info = e.data;
  49. });
  50. }
  51. }
  52. };
  53. </script>
  54. <style lang="scss">
  55. page,
  56. .content {
  57. min-height: 100%;
  58. height: auto;
  59. background: #fff;
  60. }
  61. .row {
  62. display: flex;
  63. align-items: center;
  64. position: relative;
  65. padding: 40rpx 30rpx;
  66. background: #fff;
  67. .tit {
  68. flex-shrink: 0;
  69. width: 120rpx;
  70. font-size: 28rpx;
  71. color: #707a8a;
  72. }
  73. .input {
  74. text-align: right;
  75. flex: 1;
  76. font-size: 28rpx;
  77. color: #000;
  78. }
  79. .image {
  80. width: 160rpx;
  81. height: 160rpx;
  82. image {
  83. width: 100%;
  84. height: 100%;
  85. }
  86. }
  87. }
  88. .title {
  89. padding: 50rpx 30rpx;
  90. font-size: 48rpx;
  91. font-weight: bold;
  92. color: #fcd535;
  93. }
  94. </style>