s-block-item.js 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. "use strict";
  2. const common_vendor = require("../../../common/vendor.js");
  3. if (!Array) {
  4. const _easycom_s_search_block2 = common_vendor.resolveComponent("s-search-block");
  5. const _easycom_s_notice_block2 = common_vendor.resolveComponent("s-notice-block");
  6. const _easycom_s_menu_button2 = common_vendor.resolveComponent("s-menu-button");
  7. const _easycom_s_menu_list2 = common_vendor.resolveComponent("s-menu-list");
  8. const _easycom_s_menu_grid2 = common_vendor.resolveComponent("s-menu-grid");
  9. const _easycom_s_popup_image2 = common_vendor.resolveComponent("s-popup-image");
  10. const _easycom_s_float_menu2 = common_vendor.resolveComponent("s-float-menu");
  11. const _easycom_s_image_block2 = common_vendor.resolveComponent("s-image-block");
  12. const _easycom_s_image_banner2 = common_vendor.resolveComponent("s-image-banner");
  13. const _easycom_s_title_block2 = common_vendor.resolveComponent("s-title-block");
  14. const _easycom_s_image_cube2 = common_vendor.resolveComponent("s-image-cube");
  15. const _easycom_s_video_block2 = common_vendor.resolveComponent("s-video-block");
  16. const _easycom_s_line_block2 = common_vendor.resolveComponent("s-line-block");
  17. const _easycom_s_hotzone_block2 = common_vendor.resolveComponent("s-hotzone-block");
  18. const _easycom_s_goods_card2 = common_vendor.resolveComponent("s-goods-card");
  19. const _easycom_s_goods_shelves2 = common_vendor.resolveComponent("s-goods-shelves");
  20. const _easycom_s_groupon_block2 = common_vendor.resolveComponent("s-groupon-block");
  21. const _easycom_s_seckill_block2 = common_vendor.resolveComponent("s-seckill-block");
  22. const _easycom_s_live_block2 = common_vendor.resolveComponent("s-live-block");
  23. const _easycom_s_coupon_block2 = common_vendor.resolveComponent("s-coupon-block");
  24. const _easycom_s_richtext_block2 = common_vendor.resolveComponent("s-richtext-block");
  25. const _easycom_s_user_card2 = common_vendor.resolveComponent("s-user-card");
  26. const _easycom_s_order_card2 = common_vendor.resolveComponent("s-order-card");
  27. const _easycom_s_wallet_card2 = common_vendor.resolveComponent("s-wallet-card");
  28. const _easycom_s_coupon_card2 = common_vendor.resolveComponent("s-coupon-card");
  29. (_easycom_s_search_block2 + _easycom_s_notice_block2 + _easycom_s_menu_button2 + _easycom_s_menu_list2 + _easycom_s_menu_grid2 + _easycom_s_popup_image2 + _easycom_s_float_menu2 + _easycom_s_image_block2 + _easycom_s_image_banner2 + _easycom_s_title_block2 + _easycom_s_image_cube2 + _easycom_s_video_block2 + _easycom_s_line_block2 + _easycom_s_hotzone_block2 + _easycom_s_goods_card2 + _easycom_s_goods_shelves2 + _easycom_s_groupon_block2 + _easycom_s_seckill_block2 + _easycom_s_live_block2 + _easycom_s_coupon_block2 + _easycom_s_richtext_block2 + _easycom_s_user_card2 + _easycom_s_order_card2 + _easycom_s_wallet_card2 + _easycom_s_coupon_card2)();
  30. }
  31. const _easycom_s_search_block = () => "../s-search-block/s-search-block.js";
  32. const _easycom_s_notice_block = () => "../s-notice-block/s-notice-block.js";
  33. const _easycom_s_menu_button = () => "../s-menu-button/s-menu-button.js";
  34. const _easycom_s_menu_list = () => "../s-menu-list/s-menu-list.js";
  35. const _easycom_s_menu_grid = () => "../s-menu-grid/s-menu-grid.js";
  36. const _easycom_s_popup_image = () => "../s-popup-image/s-popup-image.js";
  37. const _easycom_s_float_menu = () => "../s-float-menu/s-float-menu.js";
  38. const _easycom_s_image_block = () => "../s-image-block/s-image-block.js";
  39. const _easycom_s_image_banner = () => "../s-image-banner/s-image-banner.js";
  40. const _easycom_s_title_block = () => "../s-title-block/s-title-block.js";
  41. const _easycom_s_image_cube = () => "../s-image-cube/s-image-cube.js";
  42. const _easycom_s_video_block = () => "../s-video-block/s-video-block.js";
  43. const _easycom_s_line_block = () => "../s-line-block/s-line-block.js";
  44. const _easycom_s_hotzone_block = () => "../s-hotzone-block/s-hotzone-block.js";
  45. const _easycom_s_goods_card = () => "../s-goods-card/s-goods-card.js";
  46. const _easycom_s_goods_shelves = () => "../s-goods-shelves/s-goods-shelves.js";
  47. const _easycom_s_groupon_block = () => "../s-groupon-block/s-groupon-block.js";
  48. const _easycom_s_seckill_block = () => "../s-seckill-block/s-seckill-block.js";
  49. const _easycom_s_live_block = () => "../s-live-block/s-live-block.js";
  50. const _easycom_s_coupon_block = () => "../s-coupon-block/s-coupon-block.js";
  51. const _easycom_s_richtext_block = () => "../s-richtext-block/s-richtext-block.js";
  52. const _easycom_s_user_card = () => "../s-user-card/s-user-card.js";
  53. const _easycom_s_order_card = () => "../s-order-card/s-order-card.js";
  54. const _easycom_s_wallet_card = () => "../s-wallet-card/s-wallet-card.js";
  55. const _easycom_s_coupon_card = () => "../s-coupon-card/s-coupon-card.js";
  56. if (!Math) {
  57. (_easycom_s_search_block + _easycom_s_notice_block + _easycom_s_menu_button + _easycom_s_menu_list + _easycom_s_menu_grid + _easycom_s_popup_image + _easycom_s_float_menu + _easycom_s_image_block + _easycom_s_image_banner + _easycom_s_title_block + _easycom_s_image_cube + _easycom_s_video_block + _easycom_s_line_block + _easycom_s_hotzone_block + _easycom_s_goods_card + _easycom_s_goods_shelves + _easycom_s_groupon_block + _easycom_s_seckill_block + _easycom_s_live_block + _easycom_s_coupon_block + _easycom_s_richtext_block + _easycom_s_user_card + _easycom_s_order_card + _easycom_s_wallet_card + _easycom_s_coupon_card)();
  58. }
  59. const _sfc_main = {
  60. __name: "s-block-item",
  61. props: {
  62. type: {
  63. type: String,
  64. default: ""
  65. },
  66. data: {
  67. type: Object,
  68. default() {
  69. }
  70. },
  71. styles: {
  72. type: Object,
  73. default() {
  74. }
  75. }
  76. },
  77. setup(__props) {
  78. return (_ctx, _cache) => {
  79. return common_vendor.e({
  80. a: __props.type === "SearchBar"
  81. }, __props.type === "SearchBar" ? {
  82. b: common_vendor.p({
  83. data: __props.data,
  84. styles: __props.styles,
  85. navbar: false
  86. })
  87. } : {}, {
  88. c: __props.type === "NoticeBar"
  89. }, __props.type === "NoticeBar" ? {
  90. d: common_vendor.p({
  91. data: __props.data
  92. })
  93. } : {}, {
  94. e: __props.type === "MenuSwiper"
  95. }, __props.type === "MenuSwiper" ? {
  96. f: common_vendor.p({
  97. data: __props.data,
  98. styles: __props.styles
  99. })
  100. } : {}, {
  101. g: __props.type === "MenuList"
  102. }, __props.type === "MenuList" ? {
  103. h: common_vendor.p({
  104. data: __props.data
  105. })
  106. } : {}, {
  107. i: __props.type === "MenuGrid"
  108. }, __props.type === "MenuGrid" ? {
  109. j: common_vendor.p({
  110. data: __props.data
  111. })
  112. } : {}, {
  113. k: __props.type === "Popover"
  114. }, __props.type === "Popover" ? {
  115. l: common_vendor.p({
  116. data: __props.data
  117. })
  118. } : {}, {
  119. m: __props.type === "FloatingActionButton"
  120. }, __props.type === "FloatingActionButton" ? {
  121. n: common_vendor.p({
  122. data: __props.data
  123. })
  124. } : {}, {
  125. o: __props.type === "ImageBar"
  126. }, __props.type === "ImageBar" ? {
  127. p: common_vendor.p({
  128. data: __props.data,
  129. styles: __props.styles
  130. })
  131. } : {}, {
  132. q: __props.type === "Carousel"
  133. }, __props.type === "Carousel" ? {
  134. r: common_vendor.p({
  135. data: __props.data,
  136. styles: __props.styles
  137. })
  138. } : {}, {
  139. s: __props.type === "TitleBar"
  140. }, __props.type === "TitleBar" ? {
  141. t: common_vendor.p({
  142. data: __props.data,
  143. styles: __props.styles
  144. })
  145. } : {}, {
  146. v: __props.type === "MagicCube"
  147. }, __props.type === "MagicCube" ? {
  148. w: common_vendor.p({
  149. data: __props.data,
  150. styles: __props.styles
  151. })
  152. } : {}, {
  153. x: __props.type === "VideoPlayer"
  154. }, __props.type === "VideoPlayer" ? {
  155. y: common_vendor.p({
  156. data: __props.data,
  157. styles: __props.styles
  158. })
  159. } : {}, {
  160. z: __props.type === "Divider"
  161. }, __props.type === "Divider" ? {
  162. A: common_vendor.p({
  163. data: __props.data
  164. })
  165. } : {}, {
  166. B: __props.type === "HotZone"
  167. }, __props.type === "HotZone" ? {
  168. C: common_vendor.p({
  169. data: __props.data,
  170. styles: __props.styles
  171. })
  172. } : {}, {
  173. D: __props.type === "ProductCard"
  174. }, __props.type === "ProductCard" ? {
  175. E: common_vendor.p({
  176. data: __props.data,
  177. styles: __props.styles
  178. })
  179. } : {}, {
  180. F: __props.type === "ProductList"
  181. }, __props.type === "ProductList" ? {
  182. G: common_vendor.p({
  183. data: __props.data,
  184. styles: __props.styles
  185. })
  186. } : {}, {
  187. H: __props.type === "PromotionCombination"
  188. }, __props.type === "PromotionCombination" ? {
  189. I: common_vendor.p({
  190. data: __props.data,
  191. styles: __props.styles
  192. })
  193. } : {}, {
  194. J: __props.type === "PromotionSeckill"
  195. }, __props.type === "PromotionSeckill" ? {
  196. K: common_vendor.p({
  197. data: __props.data,
  198. styles: __props.styles
  199. })
  200. } : {}, {
  201. L: __props.type === "MpLive"
  202. }, __props.type === "MpLive" ? {
  203. M: common_vendor.p({
  204. data: __props.data,
  205. styles: __props.styles
  206. })
  207. } : {}, {
  208. N: __props.type === "CouponCard"
  209. }, __props.type === "CouponCard" ? {
  210. O: common_vendor.p({
  211. data: __props.data,
  212. styles: __props.styles
  213. })
  214. } : {}, {
  215. P: __props.type === "PromotionArticle"
  216. }, __props.type === "PromotionArticle" ? {
  217. Q: common_vendor.p({
  218. data: __props.data,
  219. styles: __props.styles
  220. })
  221. } : {}, {
  222. R: __props.type === "UserCard"
  223. }, __props.type === "UserCard" ? {} : {}, {
  224. S: __props.type === "UserOrder"
  225. }, __props.type === "UserOrder" ? {
  226. T: common_vendor.p({
  227. data: __props.data
  228. })
  229. } : {}, {
  230. U: __props.type === "UserWallet"
  231. }, __props.type === "UserWallet" ? {} : {}, {
  232. V: __props.type === "UserCoupon"
  233. }, __props.type === "UserCoupon" ? {} : {});
  234. };
  235. }
  236. };
  237. const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "D:/zx/mall-front-app/sheep/components/s-block-item/s-block-item.vue"]]);
  238. wx.createComponent(Component);