first-two.js 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. "use strict";
  2. const common_vendor = require("../../../common/vendor.js");
  3. const sheep_index = require("../../../sheep/index.js");
  4. const sheep_hooks_useGoods = require("../../../sheep/hooks/useGoods.js");
  5. require("../../../sheep/api/index.js");
  6. require("../../../sheep/api/distri/score.js");
  7. require("../../../sheep/request/index.js");
  8. require("../../../sheep/config/index.js");
  9. require("../../../sheep/store/index.js");
  10. require("../../../sheep/store/app.js");
  11. require("../../../sheep/api/promotion/diy.js");
  12. require("../../../sheep/platform/index.js");
  13. require("../../../sheep/platform/provider/wechat/index.js");
  14. require("../../../sheep/platform/provider/wechat/miniProgram.js");
  15. require("../../../sheep/api/member/auth.js");
  16. require("../../../sheep/api/member/social.js");
  17. require("../../../sheep/api/member/user.js");
  18. require("../../../sheep/platform/provider/apple/index.js");
  19. require("../../../sheep/platform/share.js");
  20. require("../../../sheep/router/index.js");
  21. require("../../../sheep/hooks/useModal.js");
  22. require("../../../sheep/helper/index.js");
  23. require("../../../sheep/helper/test.js");
  24. require("../../../sheep/helper/digit.js");
  25. require("../../../sheep/api/member/signin.js");
  26. require("../../../sheep/helper/throttle.js");
  27. require("../../../sheep/url/index.js");
  28. require("../../../sheep/platform/pay.js");
  29. require("../../../sheep/api/pay/order.js");
  30. require("../../../sheep/store/user.js");
  31. require("../../../sheep/store/cart.js");
  32. require("../../../sheep/api/trade/cart.js");
  33. require("../../../sheep/api/pay/wallet.js");
  34. require("../../../sheep/api/trade/order.js");
  35. require("../../../sheep/api/promotion/coupon.js");
  36. require("../../../sheep/store/sys.js");
  37. require("../../../sheep/store/modal.js");
  38. require("../../../sheep/api/distri/share.js");
  39. require("../../../sheep/api/distri/team.js");
  40. require("../../../sheep/api/infra/file.js");
  41. require("../../../sheep/api/member/address.js");
  42. require("../../../sheep/api/member/point.js");
  43. require("../../../sheep/api/migration/app.js");
  44. require("../../../sheep/api/migration/chat.js");
  45. require("../../../sheep/api/migration/index.js");
  46. require("../../../sheep/api/migration/third.js");
  47. require("../../../sheep/api/pay/channel.js");
  48. require("../../../sheep/api/product/category.js");
  49. require("../../../sheep/api/product/comment.js");
  50. require("../../../sheep/api/product/favorite.js");
  51. require("../../../sheep/api/product/history.js");
  52. require("../../../sheep/api/product/spu.js");
  53. require("../../../sheep/api/promotion/activity.js");
  54. require("../../../sheep/api/promotion/article.js");
  55. require("../../../sheep/api/promotion/bargain.js");
  56. require("../../../sheep/api/promotion/combination.js");
  57. require("../../../sheep/api/promotion/rewardActivity.js");
  58. require("../../../sheep/api/promotion/seckill.js");
  59. require("../../../sheep/api/system/area.js");
  60. require("../../../sheep/api/system/voice.js");
  61. require("../../../sheep/api/trade/afterSale.js");
  62. require("../../../sheep/api/trade/brokerage.js");
  63. require("../../../sheep/api/trade/config.js");
  64. require("../../../sheep/api/trade/delivery.js");
  65. require("../../../sheep/config/zIndex.js");
  66. require("../../../sheep/util/index.js");
  67. const _sfc_main = {
  68. __name: "first-two",
  69. props: {
  70. pagination: Object
  71. },
  72. setup(__props) {
  73. return (_ctx, _cache) => {
  74. var _a;
  75. return {
  76. a: common_vendor.f((_a = __props.pagination) == null ? void 0 : _a.list, (item, k0, i0) => {
  77. return {
  78. a: item.picUrl,
  79. b: common_vendor.t(item.title),
  80. c: common_vendor.t(common_vendor.unref(sheep_hooks_useGoods.fen2yuan)(item.price)),
  81. d: common_vendor.o(($event) => common_vendor.unref(sheep_index.sheep).$router.go("/pages/goods/index", {
  82. id: item.id
  83. }), item.id),
  84. e: item.id
  85. };
  86. })
  87. };
  88. };
  89. }
  90. };
  91. const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-80c21380"], ["__file", "D:/zx/mall-front-app/pages/index/components/first-two.vue"]]);
  92. wx.createComponent(Component);