refundInformation.vue 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. <template>
  2. <view class="detail">
  3. <view class="title">
  4. <view class="title-left">
  5. <image
  6. class="header-img"
  7. :src="goodsDetail.merchant.image"
  8. mode=""
  9. ></image>
  10. <text>{{ goodsDetail.merchant.merchant_name }}</text>
  11. <image
  12. class="right-325"
  13. src="../../../static/mine/325.png"
  14. mode=""
  15. ></image>
  16. </view>
  17. <view class="title-right">
  18. <u-icon name="chat" color="#f83224" size="28"></u-icon>
  19. <text>联系团长</text>
  20. </view>
  21. </view>
  22. <view class="commodity-information">
  23. <view class="commodity-1">
  24. <image
  25. class="commodity-img"
  26. :src="goodsDetail.goods_image"
  27. mode=""
  28. ></image>
  29. <view class="">
  30. <view class="commodity-2">
  31. <view class="commodity-title">{{ goodsDetail.goods_name }} </view>
  32. </view>
  33. <view class="commodity-3">
  34. <view class="specifications">
  35. {{ goodsDetail.sku_item.item }}
  36. </view>
  37. <view style="font-size: 24rpx"> x{{ goodsDetail.goods_num }} </view>
  38. </view>
  39. </view>
  40. </view>
  41. </view>
  42. <view class="information">
  43. <text class="_label">订单编号</text>
  44. <view style="color: #222">
  45. <text style="color: rgba(34, 34, 34, 0.6)">{{
  46. goodsDetail.order_no
  47. }}</text>
  48. <text @click="cope('111')" style="color: #f83224">{{
  49. "&nbsp;" + "|" + "&nbsp;" + "复制"
  50. }}</text>
  51. </view>
  52. </view>
  53. <view class="information">
  54. <text class="_label">退款原因</text>
  55. <view class="_title-right"> {{ goodsDetail.refund.refund_reason }} </view>
  56. </view>
  57. <view class="information">
  58. <text class="_label">退款金额</text>
  59. <view class="_title-right"> ¥{{ goodsDetail.amount }} </view>
  60. </view>
  61. <view class="information">
  62. <text class="_label">申请件数</text>
  63. <view class="_title-right">1 </view>
  64. </view>
  65. <view class="information">
  66. <text class="_label">申请时间</text>
  67. <view class="_title-right">{{ goodsDetail.created_at }}</view>
  68. </view>
  69. </view>
  70. </template>
  71. <script>
  72. import textRight from "../../accountSecurity/component/textRight.vue";
  73. export default {
  74. components: {
  75. textRight,
  76. },
  77. props: {
  78. status: {
  79. typeof: Number,
  80. default: 0,
  81. },
  82. goodsDetail: {
  83. typeof: Object,
  84. default: () => {
  85. return {};
  86. },
  87. },
  88. },
  89. data() {
  90. return {
  91. packageId: "",
  92. };
  93. },
  94. onLoad(options) {},
  95. methods: {
  96. application() {
  97. uni.navigateTo({
  98. url: "/pageC/applicationRefund/applicationRefund",
  99. });
  100. },
  101. //复制
  102. cope(e) {
  103. uni.setClipboardData({
  104. data: e,
  105. success() {
  106. uni.showToast({
  107. title: "复制成功",
  108. icon: "none",
  109. });
  110. },
  111. });
  112. },
  113. getDetail() {},
  114. },
  115. };
  116. </script>
  117. <style scoped lang="scss">
  118. .detail {
  119. padding: 28rpx 20rpx;
  120. background-color: #fff;
  121. border-radius: 16rpx;
  122. margin-top: 28rpx;
  123. .title {
  124. display: flex;
  125. justify-content: space-between;
  126. border-bottom: 2rpx solid rgba(151, 151, 151, 0.1);
  127. padding-bottom: 20rpx;
  128. .title-left {
  129. display: flex;
  130. font-size: 32rpx;
  131. align-items: center;
  132. .header-img {
  133. width: 36rpx;
  134. height: 36rpx;
  135. border-radius: 50%;
  136. margin-right: 20rpx;
  137. }
  138. .right-325 {
  139. width: 32rpx;
  140. height: 32rpx;
  141. }
  142. }
  143. .title-right {
  144. color: #333;
  145. display: flex;
  146. align-items: center;
  147. font-size: 28rpx;
  148. }
  149. .order-status {
  150. color: #f83224;
  151. font-size: 26rpx;
  152. }
  153. }
  154. .commodity-information {
  155. margin-top: 28rpx;
  156. .commodity-1 {
  157. display: flex;
  158. .commodity-img {
  159. width: 180rpx;
  160. height: 180rpx;
  161. margin-right: 20rpx;
  162. border-radius: 10rpx;
  163. }
  164. .commodity-2 {
  165. display: flex;
  166. justify-content: space-between;
  167. .commodity-title {
  168. width: 472rpx;
  169. max-height: 80rpx;
  170. overflow: hidden;
  171. white-space: nowrap;
  172. text-overflow: ellipsis;
  173. margin-right: 38rpx;
  174. }
  175. }
  176. .commodity-3 {
  177. display: flex;
  178. justify-content: space-between;
  179. margin-top: 20rpx;
  180. color: #777;
  181. .specifications {
  182. font-size: 28rpx;
  183. color: #777;
  184. }
  185. }
  186. }
  187. }
  188. .last {
  189. border-bottom: 2rpx solid rgba(151, 151, 151, 0.1);
  190. padding-bottom: 20rpx;
  191. }
  192. .btn-list {
  193. display: flex;
  194. justify-content: flex-end;
  195. button {
  196. width: 152rpx;
  197. height: 58rpx;
  198. border: 2rpx solid #979797;
  199. color: #444;
  200. margin: 0;
  201. padding: 0;
  202. font-size: 24rpx;
  203. background-color: #fff;
  204. border-radius: 34rpx;
  205. margin-top: 20rpx;
  206. margin-left: 20rpx;
  207. }
  208. }
  209. .information {
  210. display: flex;
  211. justify-content: space-between;
  212. font-size: 28rpx;
  213. align-items: flex-end;
  214. margin: 34rpx 0;
  215. ._label {
  216. font-size: 28rpx;
  217. color: #333;
  218. }
  219. ._title-right {
  220. font-size: 28rpx;
  221. color: rgba(34, 34, 34, 0.6);
  222. }
  223. }
  224. ._bottom {
  225. display: flex;
  226. justify-content: flex-end;
  227. font-size: 28rpx;
  228. align-items: flex-end;
  229. margin-top: 34rpx;
  230. }
  231. }
  232. </style>