log.js 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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/helper/throttle.js");
  23. require("../../../sheep/url/index.js");
  24. require("../../../sheep/platform/pay.js");
  25. require("../../../sheep/index.js");
  26. require("../../../sheep/config/zIndex.js");
  27. require("../../../sheep/api/pay/order.js");
  28. require("../../../sheep/store/user.js");
  29. require("../../../sheep/store/cart.js");
  30. require("../../../sheep/api/trade/cart.js");
  31. require("../../../sheep/api/pay/wallet.js");
  32. require("../../../sheep/api/trade/order.js");
  33. require("../../../sheep/api/promotion/coupon.js");
  34. require("../../../sheep/store/sys.js");
  35. require("../../../sheep/store/modal.js");
  36. if (!Array) {
  37. const _easycom_s_layout2 = common_vendor.resolveComponent("s-layout");
  38. _easycom_s_layout2();
  39. }
  40. const _easycom_s_layout = () => "../../../sheep/components/s-layout/s-layout.js";
  41. if (!Math) {
  42. (logItem + _easycom_s_layout)();
  43. }
  44. const logItem = () => "./log-item.js";
  45. const _sfc_main = {
  46. __name: "log",
  47. setup(__props) {
  48. const state = common_vendor.reactive({
  49. list: []
  50. });
  51. async function getDetail(id) {
  52. const { data } = await sheep_api_trade_afterSale.AfterSaleApi.getAfterSaleLogList(id);
  53. state.list = data;
  54. }
  55. common_vendor.onLoad((options) => {
  56. state.aftersaleId = options.id;
  57. getDetail(options.id);
  58. });
  59. return (_ctx, _cache) => {
  60. return {
  61. a: common_vendor.f(state.list, (item, index, i0) => {
  62. return {
  63. a: "2fedae8f-1-" + i0 + ",2fedae8f-0",
  64. b: common_vendor.p({
  65. item,
  66. index,
  67. data: state.list
  68. }),
  69. c: item.id
  70. };
  71. }),
  72. b: common_vendor.p({
  73. title: "售后进度"
  74. })
  75. };
  76. };
  77. }
  78. };
  79. const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-2fedae8f"], ["__file", "/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-app/pages/order/aftersale/log.vue"]]);
  80. wx.createPage(MiniProgramPage);