detail.html 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {include file="/shopro/common/script" /}
  2. <style>
  3. .order-detail .pay {
  4. width: 24px;
  5. height: 24px;
  6. margin-right: 8px;
  7. }
  8. </style>
  9. <div id="detail" class="order-detail panel panel-default panel-intro" v-cloak>
  10. <el-container class="panel-block">
  11. <el-main>
  12. <el-scrollbar height="100%">
  13. <el-form :model="state.detail" ref="formRef" label-width="100px">
  14. <el-form-item label="用户信息">
  15. <sa-user-profile :user="state.detail.user" :id="state.detail.user_id"></sa-user-profile>
  16. </el-form-item>
  17. <el-form-item label="订单总金额">
  18. {{ state.detail.order_amount }}元
  19. </el-form-item>
  20. <el-form-item label="支付总金额">
  21. {{ state.detail.pay_fee }}元
  22. </el-form-item>
  23. <el-form-item label="支付状态">
  24. <span :class="`sa-color--${statusStyle[state.detail.status]}`">
  25. {{ state.detail.status_text }}
  26. </span>
  27. </el-form-item>
  28. <el-form-item label="支付方式">
  29. <div v-if="state.detail.pay_type" class="sa-flex">
  30. <img class="pay" :src="`/assets/addons/shopro/img/${state.detail.pay_type}.png`" />
  31. <div>{{state.detail.pay_type_text}}</div>
  32. </div>
  33. <div v-else>-</div>
  34. </el-form-item>
  35. <el-form-item label="订单编号">
  36. {{ state.detail.order_sn }}
  37. </el-form-item>
  38. <el-form-item label="订单来源">
  39. {{ state.detail.platform_text }}
  40. </el-form-item>
  41. <el-form-item label="下单时间">
  42. {{ state.detail.createtime }}
  43. </el-form-item>
  44. <el-form-item label="支付时间">
  45. {{ state.detail.paid_time || '-' }}
  46. </el-form-item>
  47. <el-form-item label="用户备注">
  48. {{ state.detail.remark || '-' }}
  49. </el-form-item>
  50. </el-form>
  51. </el-scrollbar>
  52. </el-main>
  53. </el-container>
  54. </div>