conversionIntegral.vue 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <template>
  2. <view class="conversionIntegral">
  3. <view class="header">
  4. <text>实时汇率</text><br>
  5. <text>1USDT≈XXXX积分</text>
  6. </view>
  7. <view class="title">
  8. <view class="title-t">
  9. 兑换币种
  10. </view>
  11. </view>
  12. <view class="content">
  13. <text>兑出币种</text>
  14. <view class="it">
  15. <view class="left">
  16. <image src="../../static/icon/logo.png"></image>
  17. USDT
  18. </view>
  19. <view class="center">
  20. <image src="../../static/icon/sd1.png" mode=""></image>
  21. </view>
  22. <view class="right">
  23. <input type="number" value="" placeholder="请输入需要兑换的数量" />
  24. </view>
  25. </view>
  26. <view class="img">
  27. <image src="../../static/img/change.png" mode=""></image>
  28. </view>
  29. <view class="it">
  30. <view class="left">
  31. <image src="../../static/icon/jf.png"></image>
  32. 积分
  33. </view>
  34. <view class="center2">
  35. <image src="../../static/icon/sd2.png" mode=""></image>
  36. </view>
  37. <view class="right">
  38. <text>0.00</text>
  39. </view>
  40. </view>
  41. </view>
  42. </view>
  43. </template>
  44. <script>
  45. </script>
  46. <style lang="scss" scoped>
  47. .conversionIntegral {
  48. .header {
  49. background-color: #fff;
  50. padding: 30rpx;
  51. text:nth-child(1) {
  52. color: #0F253A;
  53. font-size: 28rpx;
  54. }
  55. text:nth-child(3) {
  56. color: #6D7C88;
  57. font-size: 25rpx;
  58. }
  59. }
  60. .title {
  61. background-color: #fff;
  62. padding: 30rpx;
  63. margin-bottom: 1rpx;
  64. .title-t {
  65. font-weight: Medium;
  66. padding: 0 15rpx;
  67. color: #333333;
  68. border-left: solid 2rpx #75EFFA;
  69. }
  70. }
  71. .content {
  72. background-color: #fff;
  73. padding: 30rpx;
  74. text {
  75. font-size: 25rpx;
  76. }
  77. .img {
  78. text-align: center;
  79. image {
  80. width: 80rpx;
  81. height: 80rpx;
  82. }
  83. }
  84. .it {
  85. position: relative;
  86. padding: 80rpx 20rpx;
  87. display: flex;
  88. justify-content: space-between;
  89. .left {
  90. font-family: PingFang-SC-Medium;
  91. font-weight: 500;
  92. color: #0F253A;
  93. font-size: 30rpx;
  94. image {
  95. margin-right: 20rpx;
  96. margin-bottom: -13rpx;
  97. width: 60rpx;
  98. height: 60rpx;
  99. }
  100. }
  101. .center {
  102. position: absolute;
  103. right: 400rpx;
  104. // font-weight: bold;
  105. padding-top: 10rpx;
  106. image {
  107. width: 20rpx;
  108. height: 15rpx;
  109. }
  110. }
  111. .center2 {
  112. padding-top: 10rpx;
  113. position: absolute;
  114. right: 390rpx;
  115. image {
  116. width: 35rpx;
  117. height: 42rpx;
  118. }
  119. }
  120. .right {
  121. padding: 10rpx 0;
  122. width: 340rpx;
  123. border-bottom: solid 1rpx #ECECEC;
  124. color: #6D7C88;
  125. font-size: 28rpx;
  126. input {
  127. font-size: 28rpx;
  128. }
  129. text {
  130. }
  131. }
  132. }
  133. }
  134. }
  135. </style>