iphAfterSaleOrderCard.vue 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <!--
  2. * @Descripttion: 售后单卡片
  3. * @version: 1.0.0
  4. * @Author: dream
  5. * @Date: 2021-04-10 14:48:01
  6. * @LastEditors: dream
  7. * @LastEditTime: 2021-04-10 15:17:12
  8. -->
  9. <template>
  10. <view class="after-sale-order-card iph-bg-fff">
  11. <view class="u-flex">
  12. <view class="u-flex-1 u-font-30 u-line-42 text-weight-500">退补配送费申请</view>
  13. <view class="ordre-time u-font-24 u-line-34">{{value.createTime | dateFilter}}</view>
  14. </view>
  15. <view class="u-font-24 u-line-34 u-m-t-24 u-p-b-40 u-border-bottom">售后单号:{{value.orderId}}</view>
  16. <view class="u-flex u-m-t-16">
  17. <view class="total u-flex-1">合计:{{value.num}}项仓库</view>
  18. <button class="look-btn" @click="lookDetail">退款详情</button>
  19. </view>
  20. </view>
  21. </template>
  22. <script>
  23. export default {
  24. name: 'iphAfterSaleOrderCrad',
  25. props: {
  26. value: {
  27. type: Object,
  28. default: () => {}
  29. }
  30. },
  31. methods: {
  32. lookDetail () {
  33. this.$emit('lookDetail', this.value)
  34. }
  35. }
  36. }
  37. </script>
  38. <style lang="scss" scoped>
  39. .after-sale-order-card {
  40. padding: 32px 24px 16px;
  41. border-radius: 12px;
  42. .ordre-time {
  43. color: $iph-desc-text;
  44. }
  45. .total {
  46. color: $iph-total-text;
  47. }
  48. .look-btn {
  49. margin: 0;
  50. padding: 8px 0;
  51. width: 144px;
  52. font-size: 24px;
  53. line-height: 34px;
  54. border-radius: 24px;
  55. color: $u-type-primary;
  56. background-color: $iph-standby-bg;
  57. &::after {
  58. border-radius: 48px;
  59. border-color: $u-type-primary;
  60. }
  61. }
  62. }
  63. </style>