detail.vue 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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.veNo }}</text>
  21. </view>
  22. <view class="item">
  23. <text class="label">交易扣除点数</text>
  24. <text class="desc">-{{ item.amount }}</text>
  25. </view>
  26. <view class="item">
  27. <text class="label">扣除时间</text>
  28. <text class="desc">{{ item.recordTime }}</text>
  29. </view>
  30. </view>
  31. </view>
  32. </view>
  33. </template>
  34. <script>
  35. export default {
  36. data() {
  37. return {
  38. item: {},
  39. param: {},
  40. };
  41. },
  42. onLoad(e) {
  43. if (e.id) {
  44. this.param.id = e.id
  45. this.http.request({
  46. url: '/level-one-server/app/WalletManage/getWalletRecordById',
  47. data: this.param,
  48. success: res => {
  49. this.item = res.data.data;
  50. }
  51. });
  52. }
  53. },
  54. methods: {
  55. //查看边民
  56. members(id) {
  57. uni.navigateTo({
  58. url: '/pages/market/one/leader/members?id=' + id
  59. });
  60. }
  61. }
  62. };
  63. </script>
  64. <style lang="scss">
  65. page {
  66. background-color: $pg;
  67. }
  68. </style>