commodityDetail.vue 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. <template>
  2. <view class="detail">
  3. <view class="title">
  4. <view class="title-left">
  5. <image class="header-img"
  6. src="https://tse4-mm.cn.bing.net/th/id/OIP-C.uMf5AX3a6yYpIhpEkyDxiQAAAA?rs=1&pid=ImgDetMain"
  7. mode=""></image>
  8. <text>张三</text>
  9. <image class="right-325" src="../../../static/mine/325.png" mode=""></image>
  10. </view>
  11. </view>
  12. <view class="commodity-information">
  13. <view class="commodity-1">
  14. <image class="commodity-img"
  15. src="https://img11.360buyimg.com/jdcms/s460x460_jfs/t1/156939/24/43697/126104/6619de23F69802006/8432635baed61875.jpg.webp"
  16. mode=""></image>
  17. <view class="">
  18. <view class="commodity-2">
  19. <view class="commodity-title">
  20. OATLY 噢麦力 醇香燕麦…
  21. </view>
  22. <view class="commodity-price">
  23. <text style="font-size: 20rpx;">¥</text>
  24. <text>133</text>.
  25. <text style="font-size: 20rpx;">22</text>
  26. </view>
  27. </view>
  28. <view class="commodity-3">
  29. <view class="specifications">
  30. 【醇香】250ml*3
  31. </view>
  32. <view style="font-size: 24rpx;">
  33. x1
  34. </view>
  35. </view>
  36. </view>
  37. </view>
  38. </view>
  39. <view class="detail-1">
  40. <text class="_text-1">{{"共1件商品"+"&nbsp;"}}</text>
  41. <text class="_text-2">买家实付</text>
  42. <view class="_price">
  43. <text style="font-size: 20rpx;">¥</text>
  44. <text>133</text>.
  45. <text style="font-size: 20rpx;">22</text>
  46. </view>
  47. </view>
  48. <view class="information">
  49. <text class="_label">退款状态</text>
  50. <view style="color: #f83224;">
  51. 待商家处理
  52. </view>
  53. </view>
  54. <view class="information">
  55. <text class="_label">退款原因</text>
  56. <view class="_title-right">
  57. 商品与图片不符
  58. </view>
  59. </view>
  60. <view class="information">
  61. <text class="_label">退款金额</text>
  62. <view lass="_title-right" style="font-weight: 600;">
  63. ¥89.00
  64. </view>
  65. </view>
  66. <view class="information">
  67. <text class="_label">申请时间</text>
  68. <view style="color: #222;">
  69. 2022-08-23 20:34:34
  70. </view>
  71. </view>
  72. <view class="information">
  73. <text class="_label">退款编号</text>
  74. <view style="color: #222;">
  75. <text>{{"Cbz202212120919838881|"}}</text>
  76. <text @click="cope('123456')">复制</text>
  77. </view>
  78. </view>
  79. </view>
  80. </template>
  81. <script>
  82. export default {
  83. props:{
  84. status:{
  85. typeof:Number,
  86. default:0
  87. }
  88. },
  89. data() {
  90. return {
  91. }
  92. },
  93. methods:{
  94. cope(str) {
  95. uni.setClipboardData({
  96. data: str,
  97. success() {
  98. uni.showToast({
  99. title: "复制成功",
  100. icon: "none"
  101. })
  102. }
  103. })
  104. },
  105. application(){
  106. uni.navigateTo({
  107. url:"/pageC/applicationRefund/applicationRefund"
  108. })
  109. }
  110. }
  111. }
  112. </script>
  113. <style scoped lang="scss">
  114. .detail {
  115. padding: 28rpx 20rpx;
  116. background-color: #fff;
  117. border-radius: 16rpx;
  118. margin-top: 28rpx;
  119. .title {
  120. display: flex;
  121. justify-content: space-between;
  122. .title-left {
  123. display: flex;
  124. font-size: 32rpx;
  125. align-items: center;
  126. .header-img {
  127. width: 36rpx;
  128. height: 36rpx;
  129. border-radius: 50%;
  130. margin-right: 20rpx;
  131. }
  132. .right-325 {
  133. width: 32rpx;
  134. height: 32rpx;
  135. }
  136. }
  137. .order-status {
  138. color: #f83224;
  139. font-size: 26rpx;
  140. }
  141. }
  142. .commodity-information {
  143. margin-top: 28rpx;
  144. .commodity-1 {
  145. display: flex;
  146. .commodity-img {
  147. width: 180rpx;
  148. height: 180rpx;
  149. margin-right: 20rpx;
  150. border-radius: 10rpx;
  151. }
  152. .commodity-2 {
  153. display: flex;
  154. justify-content: space-between;
  155. .commodity-title {
  156. width: 328rpx;
  157. overflow: hidden;
  158. white-space: nowrap;
  159. text-overflow: ellipsis;
  160. margin-right: 38rpx;
  161. }
  162. }
  163. .commodity-3 {
  164. display: flex;
  165. justify-content: space-between;
  166. margin-top: 20rpx;
  167. color: #777;
  168. .specifications {
  169. font-size: 28rpx;
  170. color: #777;
  171. }
  172. }
  173. }
  174. }
  175. .last{
  176. border-bottom: 2rpx solid rgba(151, 151, 151, .1);
  177. padding-bottom: 20rpx;
  178. }
  179. .btn-list{
  180. display: flex;
  181. justify-content: flex-end;
  182. button{
  183. width: 152rpx;
  184. height: 58rpx;
  185. border: 2rpx solid #979797;
  186. color: #444;
  187. margin: 0;
  188. padding: 0;
  189. font-size: 24rpx;
  190. background-color: #fff;
  191. border-radius: 34rpx;
  192. margin-top: 20rpx;
  193. margin-left: 20rpx;
  194. }
  195. }
  196. .detail-1{
  197. display: flex;
  198. justify-content: flex-end;
  199. align-items: flex-end;
  200. padding-bottom: 20rpx;
  201. border-bottom: 2rpx solid rgba(151, 151, 151, .1);
  202. ._text-1{
  203. color: #222;
  204. font-size: 24rpx;
  205. }
  206. ._text-2{
  207. color:#222;
  208. font-size: 28rpx;
  209. font-weight: 600;
  210. }
  211. ._price{
  212. font-weight: 600;
  213. color:#222;
  214. }
  215. }
  216. .information {
  217. display: flex;
  218. justify-content: space-between;
  219. font-size: 28rpx;
  220. align-items: flex-end;
  221. margin: 24rpx 0;
  222. ._label{
  223. font-size: 28rpx;
  224. color: #333;
  225. }
  226. ._title-right{
  227. font-size: 28rpx;
  228. color: #333;
  229. }
  230. }
  231. ._bottom{
  232. display: flex;
  233. justify-content: flex-end;
  234. font-size: 28rpx;
  235. align-items: flex-end;
  236. margin-top: 34rpx;
  237. }
  238. }
  239. </style>