conversionIntegral.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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 class="button">
  43. 确定兑换
  44. </view>
  45. </view>
  46. </template>
  47. <script>
  48. </script>
  49. <style lang="scss" scoped>
  50. .conversionIntegral {
  51. .header {
  52. background-color: #fff;
  53. padding: 30rpx;
  54. text:nth-child(1) {
  55. color: #0F253A;
  56. font-size: 28rpx;
  57. }
  58. text:nth-child(3) {
  59. color: #6D7C88;
  60. font-size: 25rpx;
  61. }
  62. }
  63. .title {
  64. background-color: #fff;
  65. padding: 30rpx;
  66. margin-bottom: 1rpx;
  67. .title-t {
  68. font-weight: Medium;
  69. padding: 0 15rpx;
  70. color: #333333;
  71. border-left: solid 2rpx #75EFFA;
  72. }
  73. }
  74. .content {
  75. background-color: #fff;
  76. padding: 30rpx;
  77. text {
  78. font-size: 25rpx;
  79. }
  80. .img {
  81. text-align: center;
  82. image {
  83. width: 80rpx;
  84. height: 80rpx;
  85. }
  86. }
  87. .it {
  88. position: relative;
  89. padding: 80rpx 20rpx;
  90. display: flex;
  91. justify-content: space-between;
  92. .left {
  93. font-family: PingFang-SC-Medium;
  94. font-weight: 500;
  95. color: #0F253A;
  96. font-size: 30rpx;
  97. image {
  98. margin-right: 20rpx;
  99. margin-bottom: -13rpx;
  100. width: 60rpx;
  101. height: 60rpx;
  102. }
  103. }
  104. .center {
  105. position: absolute;
  106. right: 400rpx;
  107. // font-weight: bold;
  108. padding-top: 10rpx;
  109. image {
  110. width: 20rpx;
  111. height: 15rpx;
  112. }
  113. }
  114. .center2 {
  115. padding-top: 10rpx;
  116. position: absolute;
  117. right: 390rpx;
  118. image {
  119. width: 35rpx;
  120. height: 42rpx;
  121. }
  122. }
  123. .right {
  124. padding: 10rpx 0;
  125. width: 340rpx;
  126. border-bottom: solid 1rpx #ECECEC;
  127. color: #6D7C88;
  128. font-size: 28rpx;
  129. input {
  130. font-size: 28rpx;
  131. }
  132. text {
  133. }
  134. }
  135. }
  136. }
  137. .button {
  138. text-align: center;
  139. margin: 0 auto;
  140. width: 90%;
  141. background: linear-gradient(90deg, #438BED 0%, #44BFEC 100%);
  142. height: 70rpx;
  143. line-height: 70rpx;
  144. border-radius: 50rpx;
  145. color: #fff;
  146. font-size: 32rpx;
  147. margin-top: 80rpx ;
  148. }
  149. }
  150. </style>