refundList.vue 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. <template>
  2. <view class="container">
  3. <view class="tui-order-list">
  4. <view class="tui-order-item" v-for="(model, orderIndex) in 4" :key="orderIndex" @tap="detail">
  5. <tui-list-cell :hover="false" :lineLeft="false">
  6. <view class="tui-goods-title">
  7. <view >2020-09-01 03:01:30</view>
  8. <view class="tui-order-status">退款成功</view>
  9. </view>
  10. </tui-list-cell>
  11. <tui-list-cell padding="0" :hover="false">
  12. <view class="tui-goods-item">
  13. <image src="/static/images/mall/product/4.jpg" class="tui-goods-img"></image>
  14. <view class="tui-goods-center">
  15. <view class="tui-goods-name">欧莱雅(LOREAL)奇焕光彩粉嫩透亮修颜霜 30ml(欧莱雅彩妆 BB霜 粉BB 遮瑕疵 隔离)</view>
  16. <view class="tui-goods-attr">黑色,50ml</view>
  17. </view>
  18. <view class="tui-price-right">
  19. <view>¥298.00</view>
  20. <view>x2</view>
  21. </view>
  22. </view>
  23. </tui-list-cell>
  24. <tui-list-cell :hover="false" unlined>
  25. <view class="tui-goods-price">
  26. <view>共2件商品 合计:</view>
  27. <view class="tui-size-24">¥</view>
  28. <view class="tui-price-large">596</view>
  29. <view class="tui-size-24">.00</view>
  30. </view>
  31. </tui-list-cell>
  32. <view class="tui-order-btn">
  33. <tui-button type="black" plain width="152rpx" height="52rpx" :size="26" shape="circle">查看详情</tui-button>
  34. </view>
  35. </view>
  36. </view>
  37. <tui-divider width="60%" gradual>没有更多了</tui-divider>
  38. </view>
  39. </template>
  40. <script>
  41. export default {
  42. data() {
  43. return {
  44. };
  45. },
  46. methods: {
  47. detail() {
  48. this.tui.href('/pagesA/my/myOrder/refundDetail')
  49. }
  50. },
  51. /**
  52. * 页面相关事件处理函数--监听用户下拉动作
  53. */
  54. onPullDownRefresh: function() {
  55. setTimeout(() => {
  56. uni.stopPullDownRefresh()
  57. }, 200);
  58. },
  59. };
  60. </script>
  61. <style>
  62. .tui-order-list {
  63. width: 100%;
  64. padding: 0 25rpx;
  65. box-sizing: border-box;
  66. }
  67. .tui-order-item {
  68. margin-top: 20rpx;
  69. border-radius: 12rpx;
  70. box-shadow: 0 5rpx 10rpx 0 rgba(0, 0, 0, 0.06);
  71. overflow: hidden;
  72. }
  73. .tui-goods-title {
  74. width: 100%;
  75. font-size: 28rpx;
  76. display: flex;
  77. align-items: center;
  78. justify-content: space-between;
  79. }
  80. .tui-order-status {
  81. color: #eb0909;
  82. font-size: 26rpx;
  83. }
  84. .tui-goods-item {
  85. width: 100%;
  86. padding: 20rpx 30rpx;
  87. box-sizing: border-box;
  88. display: flex;
  89. justify-content: space-between;
  90. }
  91. .tui-goods-img {
  92. width: 180rpx;
  93. height: 180rpx;
  94. display: block;
  95. flex-shrink: 0;
  96. }
  97. .tui-goods-center {
  98. flex: 1;
  99. padding: 20rpx 8rpx;
  100. box-sizing: border-box;
  101. }
  102. .tui-goods-name {
  103. max-width: 310rpx;
  104. word-break: break-all;
  105. overflow: hidden;
  106. text-overflow: ellipsis;
  107. display: -webkit-box;
  108. -webkit-box-orient: vertical;
  109. -webkit-line-clamp: 2;
  110. font-size: 26rpx;
  111. line-height: 32rpx;
  112. }
  113. .tui-goods-attr {
  114. font-size: 22rpx;
  115. color: #888888;
  116. line-height: 32rpx;
  117. padding-top: 20rpx;
  118. word-break: break-all;
  119. overflow: hidden;
  120. text-overflow: ellipsis;
  121. display: -webkit-box;
  122. -webkit-box-orient: vertical;
  123. -webkit-line-clamp: 2;
  124. }
  125. .tui-price-right {
  126. text-align: right;
  127. font-size: 24rpx;
  128. color: #888888;
  129. line-height: 30rpx;
  130. padding-top: 20rpx;
  131. }
  132. .tui-color-red {
  133. color: #e41f19;
  134. padding-right: 30rpx;
  135. }
  136. .tui-goods-price {
  137. width: 100%;
  138. display: flex;
  139. align-items: flex-end;
  140. justify-content: flex-end;
  141. font-size: 24rpx;
  142. }
  143. .tui-size-24 {
  144. font-size: 24rpx;
  145. line-height: 24rpx;
  146. }
  147. .tui-price-large {
  148. font-size: 32rpx;
  149. line-height: 30rpx;
  150. font-weight: 500;
  151. }
  152. .tui-order-btn {
  153. width: 100%;
  154. display: flex;
  155. align-items: center;
  156. justify-content: flex-end;
  157. background: #fff;
  158. padding: 10rpx 30rpx 20rpx;
  159. box-sizing: border-box;
  160. }
  161. </style>