orderDetails.vue 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. <template>
  2. <view>
  3. <u-navbar title="兑换详情">
  4. </u-navbar>
  5. <!-- 奖品 -->
  6. <view class="prize">
  7. <view class="picture">
  8. <img src="../../../../assets/img/orderPic.png" alt="">
  9. </view>
  10. <view class="infos">
  11. <view class="title">
  12. 官方十年留影打印纸-3卷/盒哈哈哈哈哈
  13. </view>
  14. <view class="else">
  15. <view class="points">
  16. 1500 积分
  17. </view>
  18. <view class="amount">
  19. ×1
  20. </view>
  21. </view>
  22. </view>
  23. </view>
  24. <!-- 详情 -->
  25. <view class="details">
  26. <view class="item">
  27. <view class="title">
  28. 积分抵扣
  29. </view>
  30. <view class="value">
  31. 减1500积分
  32. </view>
  33. </view>
  34. <view class="item">
  35. <view class="title">
  36. 订单编号
  37. </view>
  38. <view class="value">
  39. 20230107125058015470
  40. </view>
  41. </view>
  42. <view class="item">
  43. <view class="title">
  44. 创建时间
  45. </view>
  46. <view class="value">
  47. 2023-01-07 12:50:58
  48. </view>
  49. </view>
  50. <view class="item">
  51. <view class="title">
  52. 发放时间
  53. </view>
  54. <view class="value">
  55. 2023-02-12 16:12:33
  56. </view>
  57. </view>
  58. </view>
  59. </view>
  60. </template>
  61. <script>
  62. export default {
  63. data() {
  64. return {
  65. }
  66. },
  67. methods: {
  68. }
  69. }
  70. </script>
  71. <style lang="scss" scoped>
  72. page{
  73. font-family: 'Regular';
  74. }
  75. // 奖品
  76. .prize{
  77. margin: 24rpx 32rpx;
  78. background-color: #fff;
  79. border-radius: 8px;
  80. padding: 24rpx;
  81. display: flex;
  82. .picture{
  83. width: 200rpx;
  84. height: 200rpx;
  85. border-radius: 4px;
  86. overflow: hidden;
  87. img{
  88. width: 100%;
  89. height: 100%;
  90. }
  91. }
  92. .infos{
  93. margin-left: 24rpx;
  94. display: flex;
  95. flex-direction: column;
  96. justify-content: space-between;
  97. .title{
  98. color: rgba(16, 16, 16, 1);
  99. font-size: 32rpx;
  100. line-height: 44rpx;
  101. font-weight: bold;
  102. }
  103. .else{
  104. display: flex;
  105. justify-content: space-between;
  106. align-items: center;
  107. .points{
  108. color: rgba(255, 61, 0, 1);
  109. font-size: 18px;
  110. font-weight: bold;
  111. }
  112. .amount{
  113. color: rgba(148, 148, 148, 1);
  114. font-size: 18px;
  115. }
  116. }
  117. }
  118. }
  119. // 详情
  120. .details{
  121. margin: 0 32rpx;
  122. background-color: #fff;
  123. border-radius: 8px;
  124. padding: 24rpx ;
  125. .item{
  126. display: flex;
  127. justify-content: space-between;
  128. color: #333333;
  129. line-height: 70rpx;
  130. .value{
  131. font-weight: bold;
  132. font-family: 'Medium';
  133. }
  134. }
  135. }
  136. </style>