orderDetails.vue 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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. // 奖品
  73. .prize{
  74. margin: 24rpx 32rpx;
  75. background-color: #fff;
  76. border-radius: 8px;
  77. padding: 24rpx;
  78. display: flex;
  79. .picture{
  80. width: 200rpx;
  81. height: 200rpx;
  82. border-radius: 4px;
  83. overflow: hidden;
  84. img{
  85. width: 100%;
  86. height: 100%;
  87. }
  88. }
  89. .infos{
  90. margin-left: 24rpx;
  91. display: flex;
  92. flex-direction: column;
  93. justify-content: space-between;
  94. .title{
  95. color: rgba(16, 16, 16, 1);
  96. font-size: 32rpx;
  97. line-height: 44rpx;
  98. font-weight: bold;
  99. }
  100. .else{
  101. display: flex;
  102. justify-content: space-between;
  103. align-items: center;
  104. .points{
  105. color: rgba(255, 61, 0, 1);
  106. font-size: 18px;
  107. font-weight: bold;
  108. }
  109. .amount{
  110. color: rgba(148, 148, 148, 1);
  111. font-size: 18px;
  112. }
  113. }
  114. }
  115. }
  116. // 详情
  117. .details{
  118. margin: 0 32rpx;
  119. background-color: #fff;
  120. border-radius: 8px;
  121. padding: 24rpx ;
  122. .item{
  123. display: flex;
  124. justify-content: space-between;
  125. color: #333333;
  126. line-height: 70rpx;
  127. .value{
  128. font-weight: bold;
  129. }
  130. }
  131. }
  132. </style>