detail.vue 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <template>
  2. <view>
  3. <view class="cmain">
  4. <view class="box order_detail" style="margin-top: 0px">
  5. <u-divider text="服务点扣除信息"></u-divider>
  6. <view class="item" style="padding-top: 0px">
  7. <text class="label">扣除用途</text>
  8. <text class="desc">商品上架</text>
  9. </view>
  10. <view class="item">
  11. <text class="label">订单号</text>
  12. <text class="desc omit">{{ item.tradeNo }}</text>
  13. </view>
  14. <view class="item">
  15. <text class="label">商品名称</text>
  16. <text class="desc">{{ item.goodsNames }}</text>
  17. </view>
  18. <view class="item">
  19. <text class="label">商铺名称</text>
  20. <text class="desc">{{ item.shopName }}</text>
  21. </view>
  22. <view class="item">
  23. <text class="label">车牌号</text>
  24. <text class="desc">{{ item.veNo }}</text>
  25. </view>
  26. <view class="item">
  27. <text class="label">交易扣除点数</text>
  28. <text class="desc">-{{ item.amount }}</text>
  29. </view>
  30. <view class="item">
  31. <text class="label">扣除时间</text>
  32. <text class="desc">{{ item.recordTime }}</text>
  33. </view>
  34. </view>
  35. </view>
  36. </view>
  37. </template>
  38. <script>
  39. export default {
  40. data() {
  41. return {
  42. item: {},
  43. param: {},
  44. };
  45. },
  46. onLoad(e) {
  47. if (e.id) {
  48. this.param.id = e.id
  49. this.http.request({
  50. url: '/level-one-server/app/WalletManage/getWalletRecordById',
  51. data: this.param,
  52. success: res => {
  53. this.item = res.data.data;
  54. }
  55. });
  56. }
  57. },
  58. methods: {
  59. //查看边民
  60. members(id) {
  61. uni.navigateTo({
  62. url: '/pages/market/one/leader/members?id=' + id
  63. });
  64. }
  65. }
  66. };
  67. </script>
  68. <style lang="scss">
  69. page {
  70. background-color: $pg;
  71. }
  72. </style>