goods.js 3.8 KB

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