log.js 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. "use strict";
  2. const common_vendor = require("../../../common/vendor.js");
  3. const sheep_api_trade_afterSale = require("../../../sheep/api/trade/afterSale.js");
  4. require("../../../sheep/request/index.js");
  5. require("../../../sheep/config/index.js");
  6. require("../../../sheep/store/index.js");
  7. require("../../../sheep/store/app.js");
  8. require("../../../sheep/api/promotion/diy.js");
  9. require("../../../sheep/platform/index.js");
  10. require("../../../sheep/platform/provider/wechat/index.js");
  11. require("../../../sheep/platform/provider/wechat/miniProgram.js");
  12. require("../../../sheep/api/member/auth.js");
  13. require("../../../sheep/api/member/social.js");
  14. require("../../../sheep/api/member/user.js");
  15. require("../../../sheep/platform/provider/apple/index.js");
  16. require("../../../sheep/platform/share.js");
  17. require("../../../sheep/router/index.js");
  18. require("../../../sheep/hooks/useModal.js");
  19. require("../../../sheep/helper/index.js");
  20. require("../../../sheep/helper/test.js");
  21. require("../../../sheep/helper/digit.js");
  22. require("../../../sheep/index.js");
  23. require("../../../sheep/api/index.js");
  24. require("../../../sheep/api/distri/score.js");
  25. require("../../../sheep/api/distri/share.js");
  26. require("../../../sheep/api/distri/team.js");
  27. require("../../../sheep/api/infra/file.js");
  28. require("../../../sheep/api/member/address.js");
  29. require("../../../sheep/api/member/point.js");
  30. require("../../../sheep/api/member/signin.js");
  31. require("../../../sheep/api/migration/app.js");
  32. require("../../../sheep/api/migration/chat.js");
  33. require("../../../sheep/api/migration/index.js");
  34. require("../../../sheep/api/migration/third.js");
  35. require("../../../sheep/api/pay/channel.js");
  36. require("../../../sheep/api/pay/order.js");
  37. require("../../../sheep/api/pay/wallet.js");
  38. require("../../../sheep/api/product/category.js");
  39. require("../../../sheep/api/product/comment.js");
  40. require("../../../sheep/api/product/favorite.js");
  41. require("../../../sheep/api/product/history.js");
  42. require("../../../sheep/api/product/spu.js");
  43. require("../../../sheep/api/promotion/activity.js");
  44. require("../../../sheep/api/promotion/article.js");
  45. require("../../../sheep/api/promotion/bargain.js");
  46. require("../../../sheep/api/promotion/combination.js");
  47. require("../../../sheep/api/promotion/coupon.js");
  48. require("../../../sheep/api/promotion/rewardActivity.js");
  49. require("../../../sheep/api/promotion/seckill.js");
  50. require("../../../sheep/api/system/area.js");
  51. require("../../../sheep/api/system/voice.js");
  52. require("../../../sheep/api/trade/brokerage.js");
  53. require("../../../sheep/api/trade/cart.js");
  54. require("../../../sheep/api/trade/config.js");
  55. require("../../../sheep/api/trade/delivery.js");
  56. require("../../../sheep/api/trade/order.js");
  57. require("../../../sheep/url/index.js");
  58. require("../../../sheep/config/zIndex.js");
  59. require("../../../sheep/helper/throttle.js");
  60. require("../../../sheep/platform/pay.js");
  61. require("../../../sheep/store/user.js");
  62. require("../../../sheep/store/cart.js");
  63. require("../../../sheep/store/sys.js");
  64. require("../../../sheep/store/modal.js");
  65. if (!Array) {
  66. const _easycom_s_layout2 = common_vendor.resolveComponent("s-layout");
  67. _easycom_s_layout2();
  68. }
  69. const _easycom_s_layout = () => "../../../sheep/components/s-layout/s-layout.js";
  70. if (!Math) {
  71. (logItem + _easycom_s_layout)();
  72. }
  73. const logItem = () => "./log-item.js";
  74. const _sfc_main = {
  75. __name: "log",
  76. setup(__props) {
  77. const state = common_vendor.reactive({
  78. list: []
  79. });
  80. async function getDetail(id) {
  81. const { data } = await sheep_api_trade_afterSale.AfterSaleApi.getAfterSaleLogList(id);
  82. state.list = data;
  83. }
  84. common_vendor.onLoad((options) => {
  85. state.aftersaleId = options.id;
  86. getDetail(options.id);
  87. });
  88. return (_ctx, _cache) => {
  89. return {
  90. a: common_vendor.f(state.list, (item, index, i0) => {
  91. return {
  92. a: "2fedae8f-1-" + i0 + ",2fedae8f-0",
  93. b: common_vendor.p({
  94. item,
  95. index,
  96. data: state.list
  97. }),
  98. c: item.id
  99. };
  100. }),
  101. b: common_vendor.p({
  102. title: "售后进度"
  103. })
  104. };
  105. };
  106. }
  107. };
  108. const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-2fedae8f"], ["__file", "D:/zx/mall-front-app/pages/order/aftersale/log.vue"]]);
  109. wx.createPage(MiniProgramPage);