@conecli/cone-render 0.8.13-beta.6 → 0.8.15-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (268) hide show
  1. package/README.md +0 -2
  2. package/dist/api/index.ts +1 -1
  3. package/dist/common/business.ts +1 -1
  4. package/dist/common/const.ts +1 -1
  5. package/dist/common/index.h5.ts +1 -1
  6. package/dist/common/index.jd.ts +1 -1
  7. package/dist/common/index.ts +1 -1
  8. package/dist/common/index.weapp.ts +1 -1
  9. package/dist/components/ErrorBoundary.tsx +1 -0
  10. package/dist/components/base/CommonFloorHead/index.module.scss +1 -1
  11. package/dist/components/base/CommonFloorHead/index.tsx +1 -1
  12. package/dist/components/base/CountDown/index.module.scss +4 -4
  13. package/dist/components/base/CountDown/index.tsx +1 -1
  14. package/dist/components/base/CustomImageLoadRealInfo/index.tsx +1 -1
  15. package/dist/components/base/CustomScrollView/index.tsx +1 -1
  16. package/dist/components/base/CustomScrollView/index.weapp.tsx +1 -0
  17. package/dist/components/base/Dialog/index.tsx +1 -1
  18. package/dist/components/base/Exposure/index.h5.tsx +1 -1
  19. package/dist/components/base/Exposure/index.tsx +1 -1
  20. package/dist/components/base/ExposureSmart/index.h5.module.scss +10 -0
  21. package/dist/components/base/ExposureSmart/index.h5.tsx +1 -0
  22. package/dist/components/base/ExposureSmart/index.module.scss +11 -0
  23. package/dist/components/base/ExposureSmart/index.tsx +1 -0
  24. package/dist/components/base/ExposureSmart/reporter.tsx +1 -0
  25. package/dist/components/base/InViewRender/const.ts +1 -0
  26. package/dist/components/base/InViewRender/index.module.scss +17 -0
  27. package/dist/components/base/InViewRender/index.tsx +1 -0
  28. package/dist/components/base/InViewRender/index.weapp.tsx +1 -0
  29. package/dist/components/base/LazyLayoutLoad/index.module.scss +2 -1
  30. package/dist/components/base/LazyLayoutLoad/index.tsx +1 -1
  31. package/dist/components/base/LazyLayoutLoad/index.weapp.tsx +1 -1
  32. package/dist/components/base/LazyLoadImage/const.ts +1 -1
  33. package/dist/components/base/LazyLoadImage/index.h5.module.scss +1 -0
  34. package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -1
  35. package/dist/components/base/LazyLoadImage/index.module.scss +1 -0
  36. package/dist/components/base/LazyLoadImage/index.tsx +1 -1
  37. package/dist/components/base/NetworkDataError/index.module.scss +2 -2
  38. package/dist/components/base/NetworkDataError/index.tsx +1 -1
  39. package/dist/components/base/Price/index.module.scss +18 -30
  40. package/dist/components/base/Price/index.tsx +1 -1
  41. package/dist/components/floorItem.tsx +1 -1
  42. package/dist/components/floorItem.weapp.tsx +1 -0
  43. package/dist/components/isv/Floor/index.tsx +1 -1
  44. package/dist/components/system/Banner/index.module.scss +39 -1
  45. package/dist/components/system/Banner/index.tsx +1 -1
  46. package/dist/components/system/PictureHotSpot/index.module.scss +4 -0
  47. package/dist/components/system/PictureHotSpot/index.old.tsx +1 -1
  48. package/dist/components/system/PictureHotSpot/index.tsx +1 -1
  49. package/dist/components/system/Video/index.tsx +1 -1
  50. package/dist/config/env.ts +1 -1
  51. package/dist/config/shop.ts +1 -1
  52. package/dist/customHooks/useDocumentVisibilitychange.ts +1 -1
  53. package/dist/interface/common.ts +1 -1
  54. package/dist/interface/component.ts +1 -1
  55. package/dist/interface/index.ts +1 -0
  56. package/dist/interface/jumpEventReport.ts +1 -1
  57. package/dist/interface/service.ts +1 -1
  58. package/dist/interface/utils.ts +1 -1
  59. package/dist/jumpEventReport/base.ts +1 -1
  60. package/dist/jumpEventReport/const.ts +1 -1
  61. package/dist/jumpEventReport/createReportFloorData.ts +1 -1
  62. package/dist/jumpEventReport/index.h5.ts +1 -1
  63. package/dist/jumpEventReport/index.ts +1 -1
  64. package/dist/jumpEventReport/index.weapp.ts +1 -1
  65. package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
  66. package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
  67. package/dist/jumpEventReport/logEventConfig.ts +1 -1
  68. package/dist/jumpEventReport/web/report.ts +1 -1
  69. package/dist/jumpEventReport/web.base.ts +1 -1
  70. package/dist/jumpEventReport/web.jd.ts +1 -1
  71. package/dist/jumpEventReport/web.wxapp.ts +1 -1
  72. package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
  73. package/dist/modules/ContainerFloorList/index.tsx +1 -1
  74. package/dist/modules/DecorateContainerFloorList/index.module.scss +0 -33
  75. package/dist/modules/DecorateContainerFloorList/index.tsx +1 -1
  76. package/dist/open/api/global.ts +1 -0
  77. package/dist/open/api/index.ts +1 -1
  78. package/dist/open/api/jump.ts +1 -1
  79. package/dist/open/api/track.ts +1 -1
  80. package/dist/open/api/util.ts +1 -1
  81. package/dist/open/components/index.ts +1 -1
  82. package/dist/open/index.ts +1 -1
  83. package/dist/sass/app.h5.scss +2 -1
  84. package/dist/sass/decorate.h5.scss +33 -0
  85. package/dist/sass/normalize.scss +261 -0
  86. package/dist/utils/connectNativeJsBridge.ts +1 -1
  87. package/dist/utils/draExceptionHandle.ts +1 -0
  88. package/dist/utils/h5Utils.ts +1 -1
  89. package/dist/utils/index.h5.ts +1 -1
  90. package/dist/utils/index.ts +1 -1
  91. package/dist/utils/index.weapp.ts +1 -1
  92. package/dist/utils/jm-js-agent.js +1 -0
  93. package/dist/utils/utils.ts +1 -1
  94. package/package.json +110 -87
  95. package/dist/assets/addToCart.png +0 -0
  96. package/dist/assets/app_loading_logo.gif +0 -0
  97. package/dist/assets/arror-left-back.png +0 -0
  98. package/dist/assets/arrow-top.png +0 -0
  99. package/dist/assets/backup/b6h.png +0 -0
  100. package/dist/assets/backup/b6i.png +0 -0
  101. package/dist/assets/backup/b6j.png +0 -0
  102. package/dist/assets/backup/b6k.png +0 -0
  103. package/dist/assets/backup/b6l.png +0 -0
  104. package/dist/assets/backup/b6m.png +0 -0
  105. package/dist/assets/backup/b6n.png +0 -0
  106. package/dist/assets/backup/b6o.png +0 -0
  107. package/dist/assets/backup/b6p.png +0 -0
  108. package/dist/assets/backup/b6q.png +0 -0
  109. package/dist/assets/backup/b6r.png +0 -0
  110. package/dist/assets/backup/b6s.png +0 -0
  111. package/dist/assets/backup/b6t.png +0 -0
  112. package/dist/assets/backup/b6u.png +0 -0
  113. package/dist/assets/backup/b6v.png +0 -0
  114. package/dist/assets/beans@3x.png +0 -0
  115. package/dist/assets/bg-reason-small.png +0 -0
  116. package/dist/assets/butn_focus@3x.png +0 -0
  117. package/dist/assets/buyshow_like_it_icon@3x.png +0 -0
  118. package/dist/assets/buyshow_like_it_icon_select@3x.png +0 -0
  119. package/dist/assets/buyshow_sku_icon_arrow@3x.png +0 -0
  120. package/dist/assets/buyshow_white heart@3x.png +0 -0
  121. package/dist/assets/buyshow_white heart@3x_active.png +0 -0
  122. package/dist/assets/closeshop_detail_next@3x.png +0 -0
  123. package/dist/assets/down_arrow@3x.png +0 -0
  124. package/dist/assets/dynamic-comment-icon.png +0 -0
  125. package/dist/assets/find-conment.png +0 -0
  126. package/dist/assets/find-praise.png +0 -0
  127. package/dist/assets/find-video.png +0 -0
  128. package/dist/assets/fliter_arrow_gray_normal@3x.png +0 -0
  129. package/dist/assets/fliter_arrow_red_normal@3x.png +0 -0
  130. package/dist/assets/fliter_arrow_white_normal@3x.png +0 -0
  131. package/dist/assets/fliter_price_white_noarmal@3x.png +0 -0
  132. package/dist/assets/float-close.png +0 -0
  133. package/dist/assets/focus_add_new@3x.png +0 -0
  134. package/dist/assets/focus_gray@3x.png +0 -0
  135. package/dist/assets/focus_ok_new@3x.png +0 -0
  136. package/dist/assets/forget_tip_icon.png +0 -0
  137. package/dist/assets/grid.png +0 -0
  138. package/dist/assets/icon-licence.png +0 -0
  139. package/dist/assets/icon-no-googs@3x.png +0 -0
  140. package/dist/assets/icon-phone.png +0 -0
  141. package/dist/assets/icon-qr.png +0 -0
  142. package/dist/assets/icon_arrow_black.png +0 -0
  143. package/dist/assets/icon_arrow_gray.png +0 -0
  144. package/dist/assets/icon_arrow_white.png +0 -0
  145. package/dist/assets/icon_clock.png +0 -0
  146. package/dist/assets/icon_grid_black.png +0 -0
  147. package/dist/assets/icon_grid_gray.png +0 -0
  148. package/dist/assets/icon_grid_white.png +0 -0
  149. package/dist/assets/icon_hot_word@3x.png +0 -0
  150. package/dist/assets/icon_joy_querstiong.png +0 -0
  151. package/dist/assets/icon_list2_black.png +0 -0
  152. package/dist/assets/icon_list2_gray.png +0 -0
  153. package/dist/assets/icon_list2_white.png +0 -0
  154. package/dist/assets/icon_list_black.png +0 -0
  155. package/dist/assets/icon_list_gray.png +0 -0
  156. package/dist/assets/icon_list_white.png +0 -0
  157. package/dist/assets/icon_magic_cub_guid@3x.png +0 -0
  158. package/dist/assets/icon_new_word@3x.png +0 -0
  159. package/dist/assets/icon_no_wifi.png +0 -0
  160. package/dist/assets/icon_noti_info_black.png +0 -0
  161. package/dist/assets/icon_promotion_word@3x.png +0 -0
  162. package/dist/assets/icon_search_black.png +0 -0
  163. package/dist/assets/icon_search_gray.png +0 -0
  164. package/dist/assets/icon_search_white.png +0 -0
  165. package/dist/assets/icon_title_newware@3x.png +0 -0
  166. package/dist/assets/intimate-star.png +0 -0
  167. package/dist/assets/jd_logo_bg.png +0 -0
  168. package/dist/assets/jdbeanssignedsuccess_images_joy_error.png +0 -0
  169. package/dist/assets/jdshop_dynamic_comment_notice_bg@3x.png +0 -0
  170. package/dist/assets/jsbundles_jdreactddpet_components_main_img_share.png +0 -0
  171. package/dist/assets/jsbundles_jdreactshopactivitytab_images_plusprice.png +0 -0
  172. package/dist/assets/jshop_auction_FocusStatus_black@2x.png +0 -0
  173. package/dist/assets/jshop_auction_FocusStatus_red@2x.png +0 -0
  174. package/dist/assets/jshop_auction_green@2x.png +0 -0
  175. package/dist/assets/jshop_auction_red@2x.png +0 -0
  176. package/dist/assets/jshop_comment_head@3x.png +0 -0
  177. package/dist/assets/jshop_dynamic_like@3x.png +0 -0
  178. package/dist/assets/jshop_dynamic_liked@3x.png +0 -0
  179. package/dist/assets/jshop_dynamic_look_eye@3x.png +0 -0
  180. package/dist/assets/jshop_exchange_big_right_blue_bg@3x.png +0 -0
  181. package/dist/assets/jshop_exchange_big_right_grey_bg@3x.png +0 -0
  182. package/dist/assets/jshop_exchange_big_right_red_bg@3x.png +0 -0
  183. package/dist/assets/jshop_focus_coupon_blue_normal.png +0 -0
  184. package/dist/assets/jshop_focus_coupon_grey.png +0 -0
  185. package/dist/assets/jshop_focus_coupon_grey_mark@3x.png +0 -0
  186. package/dist/assets/jshop_focus_coupon_sellout_mark@3x.png +0 -0
  187. package/dist/assets/jshop_focus_coupon_unactive_mark@3x.png +0 -0
  188. package/dist/assets/jshop_home_dynamic_icon_time@3x.png +0 -0
  189. package/dist/assets/jshop_lbsLocation_arrow_right@3x.png +0 -0
  190. package/dist/assets/jshop_member_focus_coupon_more_arrow@3x.png +0 -0
  191. package/dist/assets/jshop_member_focus_coupon_vip_own@2x.png +0 -0
  192. package/dist/assets/jshop_more_goods_arrow_normal@3x.png +0 -0
  193. package/dist/assets/jshop_noti_info_icon@2x.png +0 -0
  194. package/dist/assets/jshop_price_arrow_down@3x.png +0 -0
  195. package/dist/assets/jshop_price_arrow_normal@3x.png +0 -0
  196. package/dist/assets/jshop_price_arrow_up@3x.png +0 -0
  197. package/dist/assets/jshop_sign_icon_shop.png +0 -0
  198. package/dist/assets/jshop_sign_navi_prize_active.png +0 -0
  199. package/dist/assets/jshop_sign_navi_prize_inactive.png +0 -0
  200. package/dist/assets/jshop_sign_navi_rule_active.png +0 -0
  201. package/dist/assets/jshop_sign_navi_rule_normal.png +0 -0
  202. package/dist/assets/jshop_sign_navi_signature_active.png +0 -0
  203. package/dist/assets/jshop_sign_navi_signature_inactive.png +0 -0
  204. package/dist/assets/jshop_tab_icon_check@3x.png +0 -0
  205. package/dist/assets/jshop_tab_icon_check_white@3x.png +0 -0
  206. package/dist/assets/jshop_tip_icon@3x.png +0 -0
  207. package/dist/assets/jshop_tip_wihte_icon@3x.png +0 -0
  208. package/dist/assets/jshop_video_play@3x.png +0 -0
  209. package/dist/assets/left.svg +0 -20
  210. package/dist/assets/list.png +0 -0
  211. package/dist/assets/living_loading_view@3x.png +0 -0
  212. package/dist/assets/living_muteIcon@3x.png +0 -0
  213. package/dist/assets/living_recommendIcon@3x.png +0 -0
  214. package/dist/assets/living_rightArrowIcon@3x.png +0 -0
  215. package/dist/assets/living_voiceIcon@3x.png +0 -0
  216. package/dist/assets/living_zoomIcon@3x.png +0 -0
  217. package/dist/assets/loading-spinner.svg +0 -44
  218. package/dist/assets/loading_red.png +0 -0
  219. package/dist/assets/logo_side_arrow@3x.png +0 -0
  220. package/dist/assets/lowest-price-icon.png +0 -0
  221. package/dist/assets/magiccube_title@3x.png +0 -0
  222. package/dist/assets/mark_offshelf.png +0 -0
  223. package/dist/assets/mark_soldout.png +0 -0
  224. package/dist/assets/mofang@3x.png +0 -0
  225. package/dist/assets/nati_icon_dong_normal@3x.png +0 -0
  226. package/dist/assets/nati_icon_dong_normal@3x_active.png +0 -0
  227. package/dist/assets/nati_icon_goods_normal@3x.png +0 -0
  228. package/dist/assets/nati_icon_goods_normal@3x_active.png +0 -0
  229. package/dist/assets/nati_icon_home_normal@3x.png +0 -0
  230. package/dist/assets/nati_icon_home_normal@3x_active.png +0 -0
  231. package/dist/assets/nati_icon_list_normal@3x.png +0 -0
  232. package/dist/assets/nati_icon_list_normal@3x_active.png +0 -0
  233. package/dist/assets/nati_icon_location_normal@3x.png +0 -0
  234. package/dist/assets/nati_icon_location_normal@3x_active.png +0 -0
  235. package/dist/assets/nati_icon_member_normal@3x.png +0 -0
  236. package/dist/assets/nati_icon_member_normal@3x_active.png +0 -0
  237. package/dist/assets/nati_icon_shop_new_find@3x.png +0 -0
  238. package/dist/assets/nati_icon_shop_new_find_selected@3x.png +0 -0
  239. package/dist/assets/network-error.png +0 -0
  240. package/dist/assets/new_living_support_icon@3x.png +0 -0
  241. package/dist/assets/next_arrow@3x.png +0 -0
  242. package/dist/assets/next_arrow_red@3x.png +0 -0
  243. package/dist/assets/pingou-bg.png +0 -0
  244. package/dist/assets/playbacklivingIcon@3x.png +0 -0
  245. package/dist/assets/plusExclusiveMark@2x.png +0 -0
  246. package/dist/assets/recom-icon.png +0 -0
  247. package/dist/assets/search-input-close-icon.png +0 -0
  248. package/dist/assets/search_bar_icon_new@3x.png +0 -0
  249. package/dist/assets/shop-classify-active.png +0 -0
  250. package/dist/assets/shop-classify.png +0 -0
  251. package/dist/assets/shop-dongdong.png +0 -0
  252. package/dist/assets/shop-goods-active.png +0 -0
  253. package/dist/assets/shop-goods.png +0 -0
  254. package/dist/assets/shop-home-active.png +0 -0
  255. package/dist/assets/shop-home.png +0 -0
  256. package/dist/assets/shop-license.png +0 -0
  257. package/dist/assets/shop-member.png +0 -0
  258. package/dist/assets/shop-search-36.png +0 -0
  259. package/dist/assets/shop-tip-weapp.png +0 -0
  260. package/dist/assets/shop_play_butn@3x.png +0 -0
  261. package/dist/assets/stars.png +0 -0
  262. package/dist/assets/title_name@3x.png +0 -0
  263. package/dist/assets/video_ing@3x.png +0 -0
  264. package/dist/assets/video_ing_small@3x.png +0 -0
  265. package/dist/assets/video_over@3x.png +0 -0
  266. package/dist/assets/video_promotion@3x.png +0 -0
  267. package/dist/components/base/LazyLayoutLoad/index.old.tsx +0 -1
  268. package/dist/utils/jdAppImmersionheader.ts +0 -1
@@ -23,15 +23,53 @@
23
23
  }
24
24
  .d-img {
25
25
  width: 100%;
26
+ height: 100%;
26
27
  position: relative;
27
28
  overflow: hidden;
28
29
  }
29
30
  }
30
31
 
31
32
  :global {
32
- .swiper-pagination-bullet-active {
33
+ // h5 圆点选中样式
34
+ .swiper-pagination-bullet-active,
35
+ // 小程序圆点选中样式
36
+ .wx-swiper-dot-active {
33
37
  width: 32px;
34
38
  border-radius: 8px;
35
39
  }
36
40
  }
41
+
42
+ &.d-decorate-banner {
43
+ position: relative;
44
+
45
+ :global {
46
+
47
+ .swiper-pagination {
48
+ position: absolute;
49
+ bottom: 10PX;
50
+ left: 0;
51
+ right: 0;
52
+ font-size: 0;
53
+ text-align: center;
54
+ z-index: 10;
55
+ }
56
+
57
+
58
+ .swiper-pagination-bullet {
59
+ margin: 0 4PX;
60
+ width: 8PX;
61
+ height: 8PX;
62
+ display: inline-block;
63
+ border-radius: 50%;
64
+ background: #000;
65
+ background: rgba(0, 0, 0, .3);
66
+ }
67
+
68
+ .swiper-pagination-bullet-active {
69
+ width: 32px;
70
+ border-radius: 8px;
71
+ background: #fa2c19;
72
+ }
73
+ }
74
+ }
37
75
  }
@@ -1 +1 @@
1
- import { ComponentInterFace } from '../../../interface/component'
1
+ import { ComponentInterFace } from '../../../interface/component'
@@ -5,6 +5,10 @@
5
5
  width: 100%;
6
6
  height: auto;
7
7
  // height: 100%;
8
+ // 在h5中父级有高度,子元素img不设置高度自适应或有精度丢失
9
+ img {
10
+ height: 100%;
11
+ }
8
12
  }
9
13
  .d-sku-price {
10
14
  position: absolute;
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro'
1
+ import Taro from '@tarojs/taro'
@@ -1 +1 @@
1
- import React, { useRef } from 'react'
1
+ import React, { useRef } from 'react'
@@ -1 +1 @@
1
- import React, { useCallback, useEffect, useRef } from 'react'
1
+ import React, { useCallback, useEffect, useRef } from 'react'
@@ -1 +1 @@
1
- const buildCopyType = process.env.BUILD_COPY_TYPE || 'none'
1
+ const buildCopyType = process.env.BUILD_COPY_TYPE || 'none'
2
2
  isPublishToWxapp || (!isBetaServer && !isDev)
3
3
  ? 'https:'
4
4
  : isH5
5
5
  ? ''
6
6
  : 'http:'
@@ -1 +1 @@
1
- import { isProd, isPublishToWxapp } from '../config/env'
1
+ import { isProd, isPublishToWxapp } from '../config/env'
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro'
1
+ import Taro from '@tarojs/taro'
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro'
1
+ import Taro from '@tarojs/taro'
@@ -1 +1 @@
1
- import React from 'react'
1
+ import React from 'react'
@@ -0,0 +1 @@
1
+ import { CommonInterFace } from './common'
@@ -1 +1 @@
1
- export declare namespace JumpEventReportInterFace {
1
+ export declare namespace JumpEventReportInterFace {
@@ -1 +1 @@
1
- import { ComponentInterFace } from './component'
1
+ import { ComponentInterFace } from './component'
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro'
1
+ import Taro from '@tarojs/taro'
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro'
1
+ import Taro from '@tarojs/taro'
@@ -1 +1 @@
1
- export enum LinkConfigType {
1
+ import { isH5 } from '../utils'
@@ -1 +1 @@
1
- import taroJdBaseInfo from '../common'
1
+ import global from '../common'
@@ -1 +1 @@
1
- import { isApp, getUrlQuery } from '../utils/jm-common'
1
+ import { isApp, getUrlQuery } from '../utils/jm-common'
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro'
1
+ import Taro from '@tarojs/taro'
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro'
1
+ import Taro from '@tarojs/taro'
2
2
  if(global){
3
3
  if(global.miniAppLogInstance){
4
4
  }else{
5
5
  console.log('global.miniAppLogInstance为空!')
6
6
  }
7
7
  }else{
8
8
  console.log('global为空!')
9
9
  }
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro'
1
+ import Taro from '@tarojs/taro'
@@ -1 +1 @@
1
- import { domain } from '../../api'
1
+ import { domain } from '../../api'
@@ -1 +1 @@
1
- export enum LogPnameInfo {
1
+ export enum LogPnameInfo {
@@ -1 +1 @@
1
- const pageName = window.location.origin + window.location.pathname
1
+ const pageName = window.location.origin + window.location.pathname
@@ -1 +1 @@
1
- import taroJdBaseInfo from '../common'
1
+ import global from '../common'
@@ -1 +1 @@
1
- import { JdJumpJdApp } from './jdJumpJdApp'
1
+ import { JdJumpJdApp } from './jdJumpJdApp'
@@ -1 +1 @@
1
- import taroJdBaseInfo from '../common'
1
+ import global from '../common'
@@ -1 +1 @@
1
- import React from 'react'
1
+ import React from 'react'
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro'
1
+ import Taro from '@tarojs/taro'
2
2
  className={classNames(
3
3
  id={`J_floor_${floorItem?.uid}`}
4
4
  key={floorItem.uid}
5
5
  data-floor-uid={floorItem?.uid}
6
6
  data-floor-type={floorItem?.floorExtInfo?.moduleFlag || ''}
7
7
  floorIndex={floorIndex}
8
8
  floorData={floorItem}
9
9
  layoutLeftRightMargin={containerLayoutLeftRightMargin}
10
10
  containerBorderRadius={item?.borderRadius || 0}
11
11
  updateShopFloorDataFn={updateShopFloorDataFn}
12
12
  loadingEndComponentFn={loadingEndComponentFn}
13
13
  key={floorItem.uid}
14
14
  changeScrollTopFn={changeContainerFloorListScrollTop}
15
15
  builtInComponents={builtInComponents}
16
16
  className={
17
17
  style={{
18
18
  netWorkShowType={NetWorkShowType.PART}
19
19
  netWorkDataType={NETWORK_DATA_TYPE.DATA_ERROR}
@@ -1,38 +1,5 @@
1
1
 
2
2
 
3
-
4
- :global {
5
- html,
6
- body {
7
- overflow: hidden;
8
- ::-webkit-scrollbar {
9
- display: none;
10
- width: 0;
11
- }
12
- }
13
- .taro_router,
14
- .taro_page {
15
- height: auto!important;
16
- max-height: inherit!important;
17
- overflow: auto!important;
18
- }
19
-
20
- .taro_router {
21
- min-height: 800PX;
22
- padding-bottom: 50PX;
23
- .taro_page {
24
- position: static!important;
25
- }
26
- }
27
- }
28
-
29
- page {
30
- background: #f2f2f2;
31
- }
32
- body {
33
- background-size: 100% auto;
34
- background-repeat: repeat-y;
35
- }
36
3
  .d-shop-home {
37
4
  .d-decorate-floor {
38
5
  position: relative;
@@ -1 +1 @@
1
- import React, { useEffect, useRef, useState } from 'react'
1
+ import React, { useEffect, useRef, useState } from 'react'
@@ -0,0 +1 @@
1
+ import global from "../../common";
@@ -1 +1 @@
1
- import * as device from './device'
1
+ import * as device from './device'
@@ -1 +1 @@
1
- import { JumpEventReport, JumpEventReportPromise } from '../../jumpEventReport'
1
+ import { JumpEventReport, JumpEventReportPromise } from '../../jumpEventReport'
@@ -1 +1 @@
1
- import { JumpEventReport, JumpEventReportPromise } from '../../jumpEventReport'
1
+ import { JumpEventReport, JumpEventReportPromise } from '../../jumpEventReport'
2
2
  initReportBaseData: ReportContainerData.initReportBaseData.bind(ReportContainerData),
3
3
  updateSectionTabDataInfo: ReportContainerData.updateSectionTabDataInfo.bind(ReportContainerData),
@@ -1 +1 @@
1
- import { dateFormat, showSuccessToast, showFailToast } from '../../utils'
1
+ import { dateFormat, showSuccessToast, showFailToast,showNormalToast } from '../../utils'
@@ -1 +1 @@
1
- import CountDown from '../../components/base/CountDown'
1
+ import CountDown from '../../components/base/CountDown'
2
2
  LazyLayoutLoad,
3
3
  ExposureSmart
@@ -1 +1 @@
1
- import taroJdBaseInfo from '../common'
1
+ import taroJdBaseInfo from '../common'
2
2
  const result = document.domain.match(/jd\.\w+$/)
3
3
  if(result){
4
4
  document.domain = result[0]
5
5
  }
@@ -1,5 +1,6 @@
1
1
 
2
- @import '~normalize.css';
2
+ //@import '~normalize.css';
3
+ @import './normalize';
3
4
  @import './base';
4
5
 
5
6
 
@@ -0,0 +1,33 @@
1
+ :global {
2
+ html,
3
+ body {
4
+ overflow: hidden;
5
+ ::-webkit-scrollbar {
6
+ display: none;
7
+ width: 0;
8
+ }
9
+ }
10
+ .taro_router,
11
+ .taro_page {
12
+ height: auto !important;
13
+ max-height: inherit !important;
14
+ overflow: auto !important;
15
+ }
16
+
17
+ .taro_router {
18
+ min-height: 800PX;
19
+ // TODO: 这里的全局样式,用于本地开发工具装修端。但经打包后会影响浏览端样式,使得多出一段间距。暂时屏蔽处理
20
+ padding-bottom: 50PX;
21
+ .taro_page {
22
+ position: static!important;
23
+ }
24
+ }
25
+ }
26
+
27
+ page {
28
+ background: #f2f2f2;
29
+ }
30
+ body {
31
+ background-size: 100% auto;
32
+ background-repeat: repeat-y;
33
+ }
@@ -0,0 +1,261 @@
1
+
2
+
3
+
4
+
5
+
6
+
7
+ html {
8
+ line-height: 1.15;
9
+ -webkit-text-size-adjust: 100%;
10
+ }
11
+
12
+
13
+
14
+
15
+
16
+ body {
17
+ margin: 0;
18
+ }
19
+
20
+
21
+
22
+ main {
23
+ display: block;
24
+ }
25
+
26
+
27
+
28
+ h1 {
29
+ font-size: 2em;
30
+ margin: 0.67em 0;
31
+ }
32
+
33
+
34
+
35
+
36
+
37
+ hr {
38
+ box-sizing: content-box;
39
+ height: 0;
40
+ overflow: visible;
41
+ }
42
+
43
+
44
+
45
+ pre {
46
+ font-family: monospace, monospace;
47
+ font-size: 1em;
48
+ }
49
+
50
+
51
+
52
+
53
+
54
+ a {
55
+ background-color: transparent;
56
+ }
57
+
58
+
59
+
60
+ abbr[title] {
61
+ border-bottom: none;
62
+ text-decoration: underline;
63
+ text-decoration: underline dotted;
64
+ }
65
+
66
+
67
+
68
+ b,
69
+ strong {
70
+ font-weight: bolder;
71
+ }
72
+
73
+
74
+
75
+ code,
76
+ kbd,
77
+ samp {
78
+ font-family: monospace, monospace;
79
+ font-size: 1em;
80
+ }
81
+
82
+
83
+
84
+ small {
85
+ font-size: 80%;
86
+ }
87
+
88
+
89
+
90
+ sub,
91
+ sup {
92
+ font-size: 75%;
93
+ line-height: 0;
94
+ position: relative;
95
+ vertical-align: baseline;
96
+ }
97
+
98
+ sub {
99
+ bottom: -0.25em;
100
+ }
101
+
102
+ sup {
103
+ top: -0.5em;
104
+ }
105
+
106
+
107
+
108
+
109
+
110
+ img {
111
+ border-style: none;
112
+ }
113
+
114
+
115
+
116
+
117
+
118
+ button,
119
+ input,
120
+ optgroup,
121
+ select,
122
+ textarea {
123
+ font-family: inherit;
124
+ font-size: 100%;
125
+ line-height: 1.15;
126
+ margin: 0;
127
+ }
128
+
129
+
130
+
131
+ button,
132
+ input {
133
+ overflow: visible;
134
+ }
135
+
136
+
137
+
138
+ button,
139
+ select {
140
+ text-transform: none;
141
+ }
142
+
143
+
144
+
145
+ button,
146
+ [type="button"],
147
+ [type="reset"],
148
+ [type="submit"] {
149
+ -webkit-appearance: button;
150
+ }
151
+
152
+
153
+
154
+ button::-moz-focus-inner,
155
+ [type="button"]::-moz-focus-inner,
156
+ [type="reset"]::-moz-focus-inner,
157
+ [type="submit"]::-moz-focus-inner {
158
+ border-style: none;
159
+ padding: 0;
160
+ }
161
+
162
+
163
+
164
+ button:-moz-focusring,
165
+ [type="button"]:-moz-focusring,
166
+ [type="reset"]:-moz-focusring,
167
+ [type="submit"]:-moz-focusring {
168
+ outline: 1px dotted ButtonText;
169
+ }
170
+
171
+
172
+
173
+ fieldset {
174
+ padding: 0.35em 0.75em 0.625em;
175
+ }
176
+
177
+
178
+
179
+ legend {
180
+ box-sizing: border-box;
181
+ color: inherit;
182
+ display: table;
183
+ max-width: 100%;
184
+ padding: 0;
185
+ white-space: normal;
186
+ }
187
+
188
+
189
+
190
+ progress {
191
+ vertical-align: baseline;
192
+ }
193
+
194
+
195
+
196
+ textarea {
197
+ overflow: auto;
198
+ }
199
+
200
+
201
+
202
+ [type="checkbox"],
203
+ [type="radio"] {
204
+ box-sizing: border-box;
205
+ padding: 0;
206
+ }
207
+
208
+
209
+
210
+ [type="number"]::-webkit-inner-spin-button,
211
+ [type="number"]::-webkit-outer-spin-button {
212
+ height: auto;
213
+ }
214
+
215
+
216
+
217
+ [type="search"] {
218
+ -webkit-appearance: textfield;
219
+ outline-offset: -2px;
220
+ }
221
+
222
+
223
+
224
+ [type="search"]::-webkit-search-decoration {
225
+ -webkit-appearance: none;
226
+ }
227
+
228
+
229
+
230
+ ::-webkit-file-upload-button {
231
+ -webkit-appearance: button;
232
+ font: inherit;
233
+ }
234
+
235
+
236
+
237
+
238
+
239
+ details {
240
+ display: block;
241
+ }
242
+
243
+
244
+
245
+ summary {
246
+ display: list-item;
247
+ }
248
+
249
+
250
+
251
+
252
+
253
+ template {
254
+ display: none;
255
+ }
256
+
257
+
258
+
259
+ [hidden] {
260
+ display: none;
261
+ }
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro'
1
+ import Taro from '@tarojs/taro'
2
2
  latestFromNativeMsgStorage[TaroEventType.PAGE_SCROLL] = {
3
3
  displayHeight: 1920,
4
4
  offSetY: 0
5
5
  }
6
6
  console.log('>>>>>>>>>>>>>>>>>>> render taroEventSendPageScrollInfo origin time:', Date.now(), 'res:', options)
7
7
  if(options){
8
8
  latestFromNativeMsgStorage[TaroEventType.PAGE_SCROLL] = options
9
9
  }
10
10
  const latestRes = latestFromNativeMsgStorage[TaroEventType.PAGE_SCROLL] || {}
@@ -0,0 +1 @@
1
+ import DraException from "../utils/jm-js-agent";
@@ -1 +1 @@
1
- import {
1
+ import {
2
2
  isApp,
3
3
  isIOS,
4
4
  getAppVersion,
5
5
  version,
6
6
  getUUID,
7
7
  getUrlQuery,
8
8
  assign,
9
9
  isString,
10
10
  isObject,
11
11
  serialize,
12
12
  isAndroid,
13
13
  CHANNEL_TYPE,
14
14
  JDShopViewBusinessPathType,
15
15
  JDShopViewBusinessPathList,
16
16
  SECTION_HOME_TAB_NAME_TYPE,
17
17
  parseQueryUrlString(window?.location?.href?? ''),
18
18
  if (isJdApp) {
19
19
  isIosDevice
20
20
  ? e && e.stopPropagation()
21
21
  : androidDeviceStopNativeScrollEvent(state)
22
22
  }
23
23
  isJdApp &&
24
24
  isAndroidDevice &&
25
25
  window?.JdAndroid &&
26
26
  window?.JdAndroid.requestEvent(state)
27
27
  if (isH5AndJdShopView) {
28
28
  return (
29
29
  CHANNEL_TYPE[currentChannel] ||
30
30
  CHANNEL_TYPE[JDShopViewBusinessPathType.HOME]
31
31
  )
32
32
  }
33
33
  return null
34
34
  isH5 &&
35
35
  urlPathname === '/app/home' &&
36
36
  JDShopViewBusinessPathList.includes(currentChannel)