detail-tabbar.js 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. "use strict";
  2. const common_vendor = require("../../../../common/vendor.js");
  3. const common_assets = require("../../../../common/assets.js");
  4. const sheep_index = require("../../../../sheep/index.js");
  5. require("../../../../sheep/store/index.js");
  6. require("../../../../sheep/helper/index.js");
  7. require("../../../../sheep/request/index.js");
  8. require("../../../../sheep/api/index.js");
  9. require("../../../../sheep/api/distri/score.js");
  10. require("../../../../sheep/api/distri/share.js");
  11. require("../../../../sheep/api/distri/team.js");
  12. require("../../../../sheep/api/infra/file.js");
  13. require("../../../../sheep/config/index.js");
  14. require("../../../../sheep/api/member/address.js");
  15. require("../../../../sheep/api/member/auth.js");
  16. require("../../../../sheep/api/member/point.js");
  17. require("../../../../sheep/api/member/signin.js");
  18. require("../../../../sheep/api/member/social.js");
  19. require("../../../../sheep/api/member/user.js");
  20. require("../../../../sheep/api/migration/app.js");
  21. require("../../../../sheep/api/migration/chat.js");
  22. require("../../../../sheep/api/migration/index.js");
  23. require("../../../../sheep/api/migration/third.js");
  24. require("../../../../sheep/api/pay/channel.js");
  25. require("../../../../sheep/api/pay/order.js");
  26. require("../../../../sheep/api/pay/wallet.js");
  27. require("../../../../sheep/api/product/category.js");
  28. require("../../../../sheep/api/product/comment.js");
  29. require("../../../../sheep/api/product/favorite.js");
  30. require("../../../../sheep/api/product/history.js");
  31. require("../../../../sheep/api/product/spu.js");
  32. require("../../../../sheep/api/promotion/activity.js");
  33. require("../../../../sheep/api/promotion/article.js");
  34. require("../../../../sheep/api/promotion/bargain.js");
  35. require("../../../../sheep/api/promotion/combination.js");
  36. require("../../../../sheep/api/promotion/coupon.js");
  37. require("../../../../sheep/api/promotion/diy.js");
  38. require("../../../../sheep/api/promotion/rewardActivity.js");
  39. require("../../../../sheep/api/promotion/seckill.js");
  40. require("../../../../sheep/api/system/area.js");
  41. require("../../../../sheep/api/system/voice.js");
  42. require("../../../../sheep/api/trade/afterSale.js");
  43. require("../../../../sheep/api/trade/brokerage.js");
  44. require("../../../../sheep/api/trade/cart.js");
  45. require("../../../../sheep/api/trade/config.js");
  46. require("../../../../sheep/api/trade/delivery.js");
  47. require("../../../../sheep/api/trade/order.js");
  48. require("../../../../sheep/url/index.js");
  49. require("../../../../sheep/router/index.js");
  50. require("../../../../sheep/hooks/useModal.js");
  51. require("../../../../sheep/helper/test.js");
  52. require("../../../../sheep/helper/throttle.js");
  53. require("../../../../sheep/platform/index.js");
  54. require("../../../../sheep/platform/provider/wechat/index.js");
  55. require("../../../../sheep/platform/provider/wechat/miniProgram.js");
  56. require("../../../../sheep/platform/provider/apple/index.js");
  57. require("../../../../sheep/platform/share.js");
  58. require("../../../../sheep/platform/pay.js");
  59. require("../../../../sheep/config/zIndex.js");
  60. require("../../../../sheep/store/app.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. require("../../../../sheep/helper/digit.js");
  66. if (!Array) {
  67. const _easycom_su_fixed2 = common_vendor.resolveComponent("su-fixed");
  68. _easycom_su_fixed2();
  69. }
  70. const _easycom_su_fixed = () => "../../../../sheep/ui/su-fixed/su-fixed.js";
  71. if (!Math) {
  72. _easycom_su_fixed();
  73. }
  74. const _sfc_main = {
  75. __name: "detail-tabbar",
  76. props: {
  77. modelValue: {
  78. type: Object,
  79. default() {
  80. }
  81. },
  82. bg: {
  83. type: String,
  84. default: "bg-white"
  85. },
  86. bgStyles: {
  87. type: Object,
  88. default() {
  89. }
  90. },
  91. ui: {
  92. type: String,
  93. default: ""
  94. },
  95. noFixed: {
  96. type: Boolean,
  97. default: false
  98. },
  99. topRadius: {
  100. type: Number,
  101. default: 0
  102. },
  103. collectIcon: {
  104. type: Boolean,
  105. default: true
  106. },
  107. serviceIcon: {
  108. type: Boolean,
  109. default: true
  110. },
  111. shareIcon: {
  112. type: Boolean,
  113. default: true
  114. }
  115. },
  116. setup(__props) {
  117. common_vendor.reactive({});
  118. const onIndex = () => {
  119. sheep_index.sheep.$router.go("/pages/index/index");
  120. };
  121. return (_ctx, _cache) => {
  122. return common_vendor.e({
  123. a: __props.serviceIcon
  124. }, __props.serviceIcon ? {
  125. b: common_assets._imports_0$4,
  126. c: common_vendor.o(onIndex)
  127. } : {}, {
  128. d: __props.shareIcon
  129. }, __props.shareIcon ? {
  130. e: common_assets._imports_1,
  131. f: common_vendor.o(($event) => {
  132. common_vendor.unref(sheep_index.sheep).$router.go("/pages/index/cart");
  133. })
  134. } : {}, {
  135. g: common_vendor.p({
  136. bottom: true,
  137. placeholder: true,
  138. bg: "bg-white"
  139. })
  140. });
  141. };
  142. }
  143. };
  144. const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-4c75f2f1"], ["__file", "D:/zx/mall-front-app/pages/goods/components/detail/detail-tabbar.vue"]]);
  145. wx.createComponent(Component);