@hanbingai/ai-space-demo 1.0.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 (698) hide show
  1. package/dist/aiSpaceHome.js +1 -0
  2. package/package.json +73 -0
  3. package/src/assets/raw/ani/raise_like/agent-thinking.json +1 -0
  4. package/src/assets/raw/ani/raise_like/detail-video-loading.json +1 -0
  5. package/src/assets/raw/ani/raise_like/empty_buttom.json +1 -0
  6. package/src/assets/raw/ani/raise_like/empty_person.json +1 -0
  7. package/src/assets/raw/ani/raise_like/empty_top.json +1 -0
  8. package/src/assets/raw/ani/raise_like/film-loading.json +1 -0
  9. package/src/assets/raw/ani/raise_like/globle-loading-icon.json +1 -0
  10. package/src/assets/raw/ani/raise_like/loading.json +1 -0
  11. package/src/assets/raw/ani/raise_like/new-loading.json +1 -0
  12. package/src/assets/raw/config.js +9 -0
  13. package/src/assets/raw/config_dev.js +209 -0
  14. package/src/assets/raw/config_prod.js +213 -0
  15. package/src/assets/raw/detail/agent-answer-line.png +0 -0
  16. package/src/assets/raw/detail/agent-dialog-arrow.png +0 -0
  17. package/src/assets/raw/detail/agent-dialog-bottom-bg.png +0 -0
  18. package/src/assets/raw/detail/agent-listening-bottom.webp +0 -0
  19. package/src/assets/raw/detail/agent-question-line.png +0 -0
  20. package/src/assets/raw/detail/agent-thinking.webp +0 -0
  21. package/src/assets/raw/detail/ai-xiao-jia-avatar.png +0 -0
  22. package/src/assets/raw/detail/ai_look_together.png +0 -0
  23. package/src/assets/raw/detail/caption_kuaikan_font_img.png +0 -0
  24. package/src/assets/raw/detail/collection-icon.png +0 -0
  25. package/src/assets/raw/detail/collection-select.png +0 -0
  26. package/src/assets/raw/detail/considering.png +0 -0
  27. package/src/assets/raw/detail/detail-btn-collect-focus.png +0 -0
  28. package/src/assets/raw/detail/detail-btn-collect-icon.png +0 -0
  29. package/src/assets/raw/detail/detail-btn-collect-select-icon.png +0 -0
  30. package/src/assets/raw/detail/detail-btn-fullscreen-focus.png +0 -0
  31. package/src/assets/raw/detail/detail-btn-fullscreen-icon.png +0 -0
  32. package/src/assets/raw/detail/detail-btn-information-focus.png +0 -0
  33. package/src/assets/raw/detail/detail-btn-information-icon.png +0 -0
  34. package/src/assets/raw/detail/detail-btn-order-icon.png +0 -0
  35. package/src/assets/raw/detail/detail-btn-select-bottom-focus.png +0 -0
  36. package/src/assets/raw/detail/detail-btn-select-bottom-icon.png +0 -0
  37. package/src/assets/raw/detail/detail-btn-select-top-focus.png +0 -0
  38. package/src/assets/raw/detail/detail-btn-select-up-icon.png +0 -0
  39. package/src/assets/raw/detail/detail-full-screen-mask.png +0 -0
  40. package/src/assets/raw/detail/detail-select-left-mask.png +0 -0
  41. package/src/assets/raw/detail/detail-select-right-mask.png +0 -0
  42. package/src/assets/raw/detail/detail_caption_kuaikan_img.png +0 -0
  43. package/src/assets/raw/detail/detail_caption_kuaikan_list_bg.png +0 -0
  44. package/src/assets/raw/detail/detail_plot_kuaikan_img.png +0 -0
  45. package/src/assets/raw/detail/detail_plot_kuaikan_list_bg.png +0 -0
  46. package/src/assets/raw/detail/detail_plot_poster_mask.png +0 -0
  47. package/src/assets/raw/detail/detail_role_kuaikan_img.png +0 -0
  48. package/src/assets/raw/detail/detail_role_kuaikan_list_bg.png +0 -0
  49. package/src/assets/raw/detail/detail_role_poster_mask.png +0 -0
  50. package/src/assets/raw/detail/dian_bo.png +0 -0
  51. package/src/assets/raw/detail/globle-error-bg.png +0 -0
  52. package/src/assets/raw/detail/globle-error-icon.png +0 -0
  53. package/src/assets/raw/detail/high-lights-arrow-focus.png +0 -0
  54. package/src/assets/raw/detail/high-lights-arrow.png +0 -0
  55. package/src/assets/raw/detail/introduction-dialog-bg.png +0 -0
  56. package/src/assets/raw/detail/introduction-dialog-bottom-mask.png +0 -0
  57. package/src/assets/raw/detail/introduction-dialog-top-mask.png +0 -0
  58. package/src/assets/raw/detail/kuaikan-btn-bg.png +0 -0
  59. package/src/assets/raw/detail/kuaikan-btn-title.png +0 -0
  60. package/src/assets/raw/detail/kuaikan-tab-right-mask.png +0 -0
  61. package/src/assets/raw/detail/kuaikan.png +0 -0
  62. package/src/assets/raw/detail/listening-bg.png +0 -0
  63. package/src/assets/raw/detail/listening-demo.png +0 -0
  64. package/src/assets/raw/detail/look-more-left-arrow.png +0 -0
  65. package/src/assets/raw/detail/no-network-icon.png +0 -0
  66. package/src/assets/raw/detail/order-pay-icon.png +0 -0
  67. package/src/assets/raw/detail/order-pay-select.png +0 -0
  68. package/src/assets/raw/detail/play-load-mask.png +0 -0
  69. package/src/assets/raw/detail/play-loading-bg.png +0 -0
  70. package/src/assets/raw/detail/play-loading-screen-bg.webp +0 -0
  71. package/src/assets/raw/detail/play-video-focus.gif +0 -0
  72. package/src/assets/raw/detail/play-video-icon.gif +0 -0
  73. package/src/assets/raw/detail/plot_kuaikan_font_img.png +0 -0
  74. package/src/assets/raw/detail/progress-btn-icon.png +0 -0
  75. package/src/assets/raw/detail/progress-pause-icon.png +0 -0
  76. package/src/assets/raw/detail/progress-play-icon.png +0 -0
  77. package/src/assets/raw/detail/role_kuaikan_font_img.png +0 -0
  78. package/src/assets/raw/detail/select.png +0 -0
  79. package/src/assets/raw/detail/speed-icon.png +0 -0
  80. package/src/assets/raw/detail/thinking-demo.png +0 -0
  81. package/src/assets/raw/detail/toast-title-icon.png +0 -0
  82. package/src/assets/raw/detail/voice-answer-icon.png +0 -0
  83. package/src/assets/raw/detail/voice-question-icon.png +0 -0
  84. package/src/assets/raw/detail/wonderful-left-mask.png +0 -0
  85. package/src/assets/raw/detail/wonderful-list-left-mask.png +0 -0
  86. package/src/assets/raw/detail/wonderful-list-right-mask.png +0 -0
  87. package/src/assets/raw/eaNew/address-icon.png +0 -0
  88. package/src/assets/raw/eaNew/ai-icon-default.png +0 -0
  89. package/src/assets/raw/eaNew/ai-icon-focused.png +0 -0
  90. package/src/assets/raw/eaNew/ai-main-title-bg-focus.png +0 -0
  91. package/src/assets/raw/eaNew/ai-main-title-bg.png +0 -0
  92. package/src/assets/raw/eaNew/community-notice-avatar.png +0 -0
  93. package/src/assets/raw/eaNew/community-notice-item-bg.png +0 -0
  94. package/src/assets/raw/eaNew/ea-person-bg.png +0 -0
  95. package/src/assets/raw/eaNew/ea-person-left-desc.png +0 -0
  96. package/src/assets/raw/eaNew/hui-shop-item-bg.png +0 -0
  97. package/src/assets/raw/eaNew/news-item-bg.png +0 -0
  98. package/src/assets/raw/eaNew/schedule-item-bg-will-start.png +0 -0
  99. package/src/assets/raw/eaNew/schedule-item-bg.png +0 -0
  100. package/src/assets/raw/eaNew/schedule-item-will-start-icon.png +0 -0
  101. package/src/assets/raw/eaNew/video-bottom-mask.webp +0 -0
  102. package/src/assets/raw/fonts/STYuanti-SC-Bold.ttf +0 -0
  103. package/src/assets/raw/icons/avator/cartoon-1.webp +0 -0
  104. package/src/assets/raw/icons/avator/cartoon-2.webp +0 -0
  105. package/src/assets/raw/icons/avator/cartoon-3.webp +0 -0
  106. package/src/assets/raw/icons/avator/cartoon-4.webp +0 -0
  107. package/src/assets/raw/icons/avator/cartoon-5.webp +0 -0
  108. package/src/assets/raw/icons/avator/cartoon-6.webp +0 -0
  109. package/src/assets/raw/icons/avator/classic-1.webp +0 -0
  110. package/src/assets/raw/icons/avator/classic-2.webp +0 -0
  111. package/src/assets/raw/icons/avator/classic-3.webp +0 -0
  112. package/src/assets/raw/icons/avator/classic-4.webp +0 -0
  113. package/src/assets/raw/icons/avator/classic-5.webp +0 -0
  114. package/src/assets/raw/icons/avator/classic-6.webp +0 -0
  115. package/src/assets/raw/icons/avator/classic-7.webp +0 -0
  116. package/src/assets/raw/icons/avator/classic-8.webp +0 -0
  117. package/src/assets/raw/image/agentList/agent-icon.png +0 -0
  118. package/src/assets/raw/image/ai.png +0 -0
  119. package/src/assets/raw/image/aiSpace/ai_space_avator.png +0 -0
  120. package/src/assets/raw/image/aiSpace/ai_space_bg.webp +0 -0
  121. package/src/assets/raw/image/aiSpace/ai_space_bg_bottom.png +0 -0
  122. package/src/assets/raw/image/aiSpace/ai_space_bg_top.png +0 -0
  123. package/src/assets/raw/image/aiSpace/ai_space_defalut_bg.webp +0 -0
  124. package/src/assets/raw/image/aiSpace/ai_space_ea_bg.webp +0 -0
  125. package/src/assets/raw/image/aiSpace/ai_space_gui_bg.png +0 -0
  126. package/src/assets/raw/image/aiSpace/ai_space_line.png +0 -0
  127. package/src/assets/raw/image/aiSpace/back_btn_icon.png +0 -0
  128. package/src/assets/raw/image/aiSpace/card_bg.png +0 -0
  129. package/src/assets/raw/image/aiSpace/chat_agent_icon.png +0 -0
  130. package/src/assets/raw/image/aiSpace/chat_agent_icon_focus.png +0 -0
  131. package/src/assets/raw/image/aiSpace/chat_history_icon.png +0 -0
  132. package/src/assets/raw/image/aiSpace/chat_history_icon_focus.png +0 -0
  133. package/src/assets/raw/image/aiSpace/chat_home_icon.png +0 -0
  134. package/src/assets/raw/image/aiSpace/chat_home_icon_focus.png +0 -0
  135. package/src/assets/raw/image/aiSpace/cinema-bg.png +0 -0
  136. package/src/assets/raw/image/aiSpace/dialog-text-logo.png +0 -0
  137. package/src/assets/raw/image/aiSpace/dialog_ea_tip_bg.webp +0 -0
  138. package/src/assets/raw/image/aiSpace/dialog_record_bg.webp +0 -0
  139. package/src/assets/raw/image/aiSpace/dialog_sa_tip_bg.webp +0 -0
  140. package/src/assets/raw/image/aiSpace/discount_bg.png +0 -0
  141. package/src/assets/raw/image/aiSpace/dongtai-icon.png +0 -0
  142. package/src/assets/raw/image/aiSpace/dynamic-line.png +0 -0
  143. package/src/assets/raw/image/aiSpace/ea-page-bottom-mask.webp +0 -0
  144. package/src/assets/raw/image/aiSpace/ea-page-top-mask.webp +0 -0
  145. package/src/assets/raw/image/aiSpace/eaAvator/news.png +0 -0
  146. package/src/assets/raw/image/aiSpace/eaAvator/notice.png +0 -0
  147. package/src/assets/raw/image/aiSpace/eaAvator/schedule.png +0 -0
  148. package/src/assets/raw/image/aiSpace/eaAvator/shop.png +0 -0
  149. package/src/assets/raw/image/aiSpace/eaAvator/vod.png +0 -0
  150. package/src/assets/raw/image/aiSpace/eaAvator/weather.png +0 -0
  151. package/src/assets/raw/image/aiSpace/ea_video_default_img.png +0 -0
  152. package/src/assets/raw/image/aiSpace/empty.webp +0 -0
  153. package/src/assets/raw/image/aiSpace/film-divider.png +0 -0
  154. package/src/assets/raw/image/aiSpace/film-icon.png +0 -0
  155. package/src/assets/raw/image/aiSpace/jarvis_agent_EA_dialog_bg.webp +0 -0
  156. package/src/assets/raw/image/aiSpace/jarvis_agent_SA_dialog_bg.webp +0 -0
  157. package/src/assets/raw/image/aiSpace/jarvis_agent_small_EA_dialog_bg.webp +0 -0
  158. package/src/assets/raw/image/aiSpace/jarvis_agent_small_SA_dialog_bg.webp +0 -0
  159. package/src/assets/raw/image/aiSpace/jarvis_space_dialog_bg.webp +0 -0
  160. package/src/assets/raw/image/aiSpace/new_about_bg.png +0 -0
  161. package/src/assets/raw/image/aiSpace/news_content_bg.png +0 -0
  162. package/src/assets/raw/image/aiSpace/no-data.png +0 -0
  163. package/src/assets/raw/image/aiSpace/notice_focus_icon.png +0 -0
  164. package/src/assets/raw/image/aiSpace/notice_icon.png +0 -0
  165. package/src/assets/raw/image/aiSpace/program_recommend_bg.png +0 -0
  166. package/src/assets/raw/image/aiSpace/recommend-icon.png +0 -0
  167. package/src/assets/raw/image/aiSpace/recommend-score-icon.png +0 -0
  168. package/src/assets/raw/image/aiSpace/recommend-time-icon.png +0 -0
  169. package/src/assets/raw/image/aiSpace/recommend_box_bg.png +0 -0
  170. package/src/assets/raw/image/aiSpace/saAvator/ea-avator.png +0 -0
  171. package/src/assets/raw/image/aiSpace/saAvator/sa-avator-3.png +0 -0
  172. package/src/assets/raw/image/aiSpace/schedule-icon-focus.png +0 -0
  173. package/src/assets/raw/image/aiSpace/schedule-icon.png +0 -0
  174. package/src/assets/raw/image/aiSpace/scroll_focus_bg.png +0 -0
  175. package/src/assets/raw/image/aiSpace/shop-car-state-0.png +0 -0
  176. package/src/assets/raw/image/aiSpace/shop-car-state-1.png +0 -0
  177. package/src/assets/raw/image/aiSpace/shop-car-state-bg.png +0 -0
  178. package/src/assets/raw/image/aiSpace/shop-car-state-focus-0.png +0 -0
  179. package/src/assets/raw/image/aiSpace/shop-car-state-focus-1.png +0 -0
  180. package/src/assets/raw/image/aiSpace/shop-title.png +0 -0
  181. package/src/assets/raw/image/aiSpace/shop_space_bg.webp +0 -0
  182. package/src/assets/raw/image/aiSpace/top-welcome-tips.png +0 -0
  183. package/src/assets/raw/image/aiSpace/trigle.png +0 -0
  184. package/src/assets/raw/image/aiSpace/video_default_img.jpg +0 -0
  185. package/src/assets/raw/image/aiSpace/video_detail_flow_mask.png +0 -0
  186. package/src/assets/raw/image/aiSpace/video_list_item_bg.png +0 -0
  187. package/src/assets/raw/image/aiSpace/yst_bg.png +0 -0
  188. package/src/assets/raw/image/aiSpacePopup/agent-video-mask-1.png +0 -0
  189. package/src/assets/raw/image/aiSpacePopup/agent-video-mask-2.png +0 -0
  190. package/src/assets/raw/image/aiSpacePopup/bottom-bg.png +0 -0
  191. package/src/assets/raw/image/aiSpacePopup/bottom-mask.png +0 -0
  192. package/src/assets/raw/image/aiSpacePopup/comma-icon-2.png +0 -0
  193. package/src/assets/raw/image/aiSpacePopup/comma-icon.webp +0 -0
  194. package/src/assets/raw/image/aiSpacePopup/divider.png +0 -0
  195. package/src/assets/raw/image/aiSpacePopup/hot-mask-bg.webp +0 -0
  196. package/src/assets/raw/image/aiSpacePopup/hot-movie.png +0 -0
  197. package/src/assets/raw/image/aiSpacePopup/hot-tv-drama.png +0 -0
  198. package/src/assets/raw/image/aiSpacePopup/hot-variety-show.png +0 -0
  199. package/src/assets/raw/image/aiSpacePopup/hot.png +0 -0
  200. package/src/assets/raw/image/aiSpacePopup/layout0-bg-2.png +0 -0
  201. package/src/assets/raw/image/aiSpacePopup/layout0-bg.png +0 -0
  202. package/src/assets/raw/image/aiSpacePopup/line.png +0 -0
  203. package/src/assets/raw/image/aiSpacePopup/line2.png +0 -0
  204. package/src/assets/raw/image/aiSpacePopup/live-bg.png +0 -0
  205. package/src/assets/raw/image/aiSpacePopup/live-poster-mask.png +0 -0
  206. package/src/assets/raw/image/aiSpacePopup/live-poster.png +0 -0
  207. package/src/assets/raw/image/aiSpacePopup/live.png +0 -0
  208. package/src/assets/raw/image/aiSpacePopup/mask-bg-1.webp +0 -0
  209. package/src/assets/raw/image/aiSpacePopup/mask-bottom-bg.png +0 -0
  210. package/src/assets/raw/image/aiSpacePopup/mask-top-bg.png +0 -0
  211. package/src/assets/raw/image/aiSpacePopup/mask-with-item.png +0 -0
  212. package/src/assets/raw/image/aiSpacePopup/mask-without-item.png +0 -0
  213. package/src/assets/raw/image/aiSpacePopup/mask.png +0 -0
  214. package/src/assets/raw/image/aiSpacePopup/news-bg.png +0 -0
  215. package/src/assets/raw/image/aiSpacePopup/news-event-item-focus-img.png +0 -0
  216. package/src/assets/raw/image/aiSpacePopup/news-event-item-inner-icon.png +0 -0
  217. package/src/assets/raw/image/aiSpacePopup/news-event-left-area-bg.png +0 -0
  218. package/src/assets/raw/image/aiSpacePopup/news-event-right-area-bg.png +0 -0
  219. package/src/assets/raw/image/aiSpacePopup/news-event-title-icon.png +0 -0
  220. package/src/assets/raw/image/aiSpacePopup/news-event-title-img.png +0 -0
  221. package/src/assets/raw/image/aiSpacePopup/news-event-vertical-line.png +0 -0
  222. package/src/assets/raw/image/aiSpacePopup/news-icon-2.png +0 -0
  223. package/src/assets/raw/image/aiSpacePopup/news-poster-mask.png +0 -0
  224. package/src/assets/raw/image/aiSpacePopup/news-poster.png +0 -0
  225. package/src/assets/raw/image/aiSpacePopup/news.png +0 -0
  226. package/src/assets/raw/image/aiSpacePopup/subscript.png +0 -0
  227. package/src/assets/raw/image/aiSpacePopup/text-bg.png +0 -0
  228. package/src/assets/raw/image/aiSpacePopup/title-wrap-bg.webp +0 -0
  229. package/src/assets/raw/image/aiSpacePopup/top-mask-1.png +0 -0
  230. package/src/assets/raw/image/aiSpacePopup/video-bottom-mask.png +0 -0
  231. package/src/assets/raw/image/aiSpacePopup/video-demo.png +0 -0
  232. package/src/assets/raw/image/aiSpacePopup/video-item-mask-bg.png +0 -0
  233. package/src/assets/raw/image/aiSpacePopup/video-mask.png +0 -0
  234. package/src/assets/raw/image/aiSpacePopup/video-with-item-bg.webp +0 -0
  235. package/src/assets/raw/image/aiSpacePopup/video-without-item-bg.webp +0 -0
  236. package/src/assets/raw/image/aiSpacePopup/watched-bg-mask.png +0 -0
  237. package/src/assets/raw/image/aiSpacePopup/waterfall-bottom-mask.png +0 -0
  238. package/src/assets/raw/image/aiSpacePopup/waterfall-top-mask.png +0 -0
  239. package/src/assets/raw/image/avator-example.png +0 -0
  240. package/src/assets/raw/image/axb_online_status.webp +0 -0
  241. package/src/assets/raw/image/chargingStation/park_icon_default.png +0 -0
  242. package/src/assets/raw/image/chargingStation/quick_icon.png +0 -0
  243. package/src/assets/raw/image/communityService/calendar_icon.png +0 -0
  244. package/src/assets/raw/image/communityService/hour_icon.png +0 -0
  245. package/src/assets/raw/image/connect_devices_bg.webp +0 -0
  246. package/src/assets/raw/image/corner-channel-icon.png +0 -0
  247. package/src/assets/raw/image/corner-future-icon.png +0 -0
  248. package/src/assets/raw/image/corner-live-icon.png +0 -0
  249. package/src/assets/raw/image/corner-not-play-icon.png +0 -0
  250. package/src/assets/raw/image/corner-replay-icon.png +0 -0
  251. package/src/assets/raw/image/corner-short-icon.png +0 -0
  252. package/src/assets/raw/image/corner-vod-icon.png +0 -0
  253. package/src/assets/raw/image/deepHome/dynamic_bg_1.png +0 -0
  254. package/src/assets/raw/image/deepHome/dynamic_bg_2.png +0 -0
  255. package/src/assets/raw/image/deepHome/dynamic_bg_3.png +0 -0
  256. package/src/assets/raw/image/deepHome/dynamic_bg_4.png +0 -0
  257. package/src/assets/raw/image/deepHome/service_dynamic_title.png +0 -0
  258. package/src/assets/raw/image/default_avator.png +0 -0
  259. package/src/assets/raw/image/download-ai-app-bg.webp +0 -0
  260. package/src/assets/raw/image/dui.webp +0 -0
  261. package/src/assets/raw/image/empty_connect.png +0 -0
  262. package/src/assets/raw/image/error-icon.webp +0 -0
  263. package/src/assets/raw/image/face_avator_image.png +0 -0
  264. package/src/assets/raw/image/healthCare/IOT_device_poster.webp +0 -0
  265. package/src/assets/raw/image/healthCare/community_notice_poster.webp +0 -0
  266. package/src/assets/raw/image/healthCare/location_icon.png +0 -0
  267. package/src/assets/raw/image/healthCare/memory_book_poster.webp +0 -0
  268. package/src/assets/raw/image/healthCare/schedule/circle_icon.png +0 -0
  269. package/src/assets/raw/image/healthCare/schedule/dashed_line1_icon.png +0 -0
  270. package/src/assets/raw/image/healthCare/schedule/dashed_line2_icon.png +0 -0
  271. package/src/assets/raw/image/healthCare/schedule/schedule_left_icon.png +0 -0
  272. package/src/assets/raw/image/healthCare/schedule/special_icon1.png +0 -0
  273. package/src/assets/raw/image/healthCare/schedule/special_icon1_focus.png +0 -0
  274. package/src/assets/raw/image/healthCare/schedule/special_icon2.png +0 -0
  275. package/src/assets/raw/image/healthCare/schedule/special_icon2_focus.png +0 -0
  276. package/src/assets/raw/image/healthCare/schedule/special_icon3.png +0 -0
  277. package/src/assets/raw/image/healthCare/schedule/special_icon3_focus.png +0 -0
  278. package/src/assets/raw/image/healthCare/schedule/special_icon4.png +0 -0
  279. package/src/assets/raw/image/healthCare/schedule/special_icon4_focus.png +0 -0
  280. package/src/assets/raw/image/healthCare/schedule/special_icon5.png +0 -0
  281. package/src/assets/raw/image/healthCare/schedule/special_icon5_focus.png +0 -0
  282. package/src/assets/raw/image/healthCare/schedule/special_icon6.png +0 -0
  283. package/src/assets/raw/image/healthCare/schedule/special_icon6_focus.png +0 -0
  284. package/src/assets/raw/image/healthCare/schedule/special_icon7.png +0 -0
  285. package/src/assets/raw/image/healthCare/schedule/special_icon7_focus.png +0 -0
  286. package/src/assets/raw/image/healthCare/schedule/special_icon8.png +0 -0
  287. package/src/assets/raw/image/healthCare/schedule/special_icon8_focus.png +0 -0
  288. package/src/assets/raw/image/healthCare/schedule/special_icon9.png +0 -0
  289. package/src/assets/raw/image/healthCare/schedule/special_icon9_focus.png +0 -0
  290. package/src/assets/raw/image/healthCare/schedule_default_bg.png +0 -0
  291. package/src/assets/raw/image/healthCare/schedule_default_poster.png +0 -0
  292. package/src/assets/raw/image/healthCare/screen_domination_img.png +0 -0
  293. package/src/assets/raw/image/healthCare/video_bottom_mask.png +0 -0
  294. package/src/assets/raw/image/healthCare/video_bottom_tips_icon.png +0 -0
  295. package/src/assets/raw/image/healthCare/video_default_poster.png +0 -0
  296. package/src/assets/raw/image/healthCare/weather/clear_day.png +0 -0
  297. package/src/assets/raw/image/healthCare/weather/cloudy.png +0 -0
  298. package/src/assets/raw/image/healthCare/weather/partly_cloudy_day.png +0 -0
  299. package/src/assets/raw/image/healthCare/weather/rain.png +0 -0
  300. package/src/assets/raw/image/healthCare/weather_default_bg.png +0 -0
  301. package/src/assets/raw/image/healthCare/weather_default_poster.png +0 -0
  302. package/src/assets/raw/image/healthHut/health-hut-card-bg.webp +0 -0
  303. package/src/assets/raw/image/healthHut/health-hut-img-0.webp +0 -0
  304. package/src/assets/raw/image/healthHut/health-hut-img-1.webp +0 -0
  305. package/src/assets/raw/image/healthHut/health-hut-img-2.webp +0 -0
  306. package/src/assets/raw/image/healthHut/health-hut-img-3.webp +0 -0
  307. package/src/assets/raw/image/healthHut/health-hut-img-4.webp +0 -0
  308. package/src/assets/raw/image/healthHut/health-hut-img-5.webp +0 -0
  309. package/src/assets/raw/image/healthHut/health-hut-img-6.webp +0 -0
  310. package/src/assets/raw/image/healthHut/health-hut-img-7.webp +0 -0
  311. package/src/assets/raw/image/healthHut/raw.lnk +0 -0
  312. package/src/assets/raw/image/left_bottom_mask.png +0 -0
  313. package/src/assets/raw/image/livingExpenses/alipay.png +0 -0
  314. package/src/assets/raw/image/livingExpenses/electric_icon.png +0 -0
  315. package/src/assets/raw/image/livingExpenses/fl_qrcode.png +0 -0
  316. package/src/assets/raw/image/livingExpenses/gas_icon.png +0 -0
  317. package/src/assets/raw/image/livingExpenses/water_icon.png +0 -0
  318. package/src/assets/raw/image/memoryBook/bg.png +0 -0
  319. package/src/assets/raw/image/memoryBook/create/add_photo.png +0 -0
  320. package/src/assets/raw/image/memoryBook/create/album_bg.webp +0 -0
  321. package/src/assets/raw/image/memoryBook/create/bg.webp +0 -0
  322. package/src/assets/raw/image/memoryBook/create/bottom_mask.png +0 -0
  323. package/src/assets/raw/image/memoryBook/create/create_memory_book.webp +0 -0
  324. package/src/assets/raw/image/memoryBook/create/no-album.png +0 -0
  325. package/src/assets/raw/image/memoryBook/create/save_memory_book.webp +0 -0
  326. package/src/assets/raw/image/memoryBook/create/tip_image.webp +0 -0
  327. package/src/assets/raw/image/memoryBook/create/title.webp +0 -0
  328. package/src/assets/raw/image/memoryBook/create/top_mask.png +0 -0
  329. package/src/assets/raw/image/memoryBook/decoration.webp +0 -0
  330. package/src/assets/raw/image/memoryBook/del-icon-focus.png +0 -0
  331. package/src/assets/raw/image/memoryBook/del_focus.png +0 -0
  332. package/src/assets/raw/image/memoryBook/del_normal.png +0 -0
  333. package/src/assets/raw/image/memoryBook/detail_bg1.png +0 -0
  334. package/src/assets/raw/image/memoryBook/detail_bg2.png +0 -0
  335. package/src/assets/raw/image/memoryBook/detail_img_bg.png +0 -0
  336. package/src/assets/raw/image/memoryBook/empty-icon.png +0 -0
  337. package/src/assets/raw/image/memoryBook/item_default.webp +0 -0
  338. package/src/assets/raw/image/memoryBook/item_focus.webp +0 -0
  339. package/src/assets/raw/image/memoryBook/left-btn-focus.png +0 -0
  340. package/src/assets/raw/image/memoryBook/left-btn-normal.png +0 -0
  341. package/src/assets/raw/image/memoryBook/left_mask.png +0 -0
  342. package/src/assets/raw/image/memoryBook/pen-icon-focus.png +0 -0
  343. package/src/assets/raw/image/memoryBook/pen-icon.png +0 -0
  344. package/src/assets/raw/image/memoryBook/play-btn-focus.webp +0 -0
  345. package/src/assets/raw/image/memoryBook/play-btn-normal.webp +0 -0
  346. package/src/assets/raw/image/memoryBook/right-btn-focus.png +0 -0
  347. package/src/assets/raw/image/memoryBook/right-btn-normal.png +0 -0
  348. package/src/assets/raw/image/memoryBook/right_mask.png +0 -0
  349. package/src/assets/raw/image/memoryBook/set_focus.png +0 -0
  350. package/src/assets/raw/image/memoryBook/set_normal.png +0 -0
  351. package/src/assets/raw/image/memoryBook/title.png +0 -0
  352. package/src/assets/raw/image/memoryBook/video-bg.jpg +0 -0
  353. package/src/assets/raw/image/memoryBook/warn_dialog_bg.png +0 -0
  354. package/src/assets/raw/image/movie/dash_border.png +0 -0
  355. package/src/assets/raw/image/movie/movie_info_bg_0.png +0 -0
  356. package/src/assets/raw/image/movie/movie_info_bg_1.png +0 -0
  357. package/src/assets/raw/image/movie/movie_info_bg_2.png +0 -0
  358. package/src/assets/raw/image/movie/movie_info_bg_3.png +0 -0
  359. package/src/assets/raw/image/movie/movie_info_bg_4.png +0 -0
  360. package/src/assets/raw/image/movie/movie_info_bg_5.png +0 -0
  361. package/src/assets/raw/image/movie/movie_info_bg_6.png +0 -0
  362. package/src/assets/raw/image/movie/movie_info_bg_7.png +0 -0
  363. package/src/assets/raw/image/movie/no_data.png +0 -0
  364. package/src/assets/raw/image/movie/small_no_data.png +0 -0
  365. package/src/assets/raw/image/my-ai-coupon-bg.webp +0 -0
  366. package/src/assets/raw/image/my-coupon-bg.webp +0 -0
  367. package/src/assets/raw/image/network-error-icon.webp +0 -0
  368. package/src/assets/raw/image/newChat/channel-title.png +0 -0
  369. package/src/assets/raw/image/newChat/ps-title.png +0 -0
  370. package/src/assets/raw/image/newChat/star-title.png +0 -0
  371. package/src/assets/raw/image/newsDetail/detail_bg.webp +0 -0
  372. package/src/assets/raw/image/newsDetail/detail_divider.png +0 -0
  373. package/src/assets/raw/image/newsDetail/image_box_bg.png +0 -0
  374. package/src/assets/raw/image/no-data.webp +0 -0
  375. package/src/assets/raw/image/no_schedule.webp +0 -0
  376. package/src/assets/raw/image/online-device-left-bg.webp +0 -0
  377. package/src/assets/raw/image/online-device-right-bg.webp +0 -0
  378. package/src/assets/raw/image/online-time-device-icon.webp +0 -0
  379. package/src/assets/raw/image/online-time-device-tag.png +0 -0
  380. package/src/assets/raw/image/online-time-icon-0.webp +0 -0
  381. package/src/assets/raw/image/online-time-icon-1.webp +0 -0
  382. package/src/assets/raw/image/online-time-icon-2.webp +0 -0
  383. package/src/assets/raw/image/online-time-icon-3.webp +0 -0
  384. package/src/assets/raw/image/phone_img.png +0 -0
  385. package/src/assets/raw/image/program-play-btn.webp +0 -0
  386. package/src/assets/raw/image/program-play-focus.webp +0 -0
  387. package/src/assets/raw/image/programList/arrow_down.png +0 -0
  388. package/src/assets/raw/image/programList/arrow_up.png +0 -0
  389. package/src/assets/raw/image/programList/cancel_subscription_bg.webp +0 -0
  390. package/src/assets/raw/image/programList/cancel_tv_subscription_bg.webp +0 -0
  391. package/src/assets/raw/image/programList/channel_icon.png +0 -0
  392. package/src/assets/raw/image/programList/collect_arrow.png +0 -0
  393. package/src/assets/raw/image/programList/equitylist_bg.png +0 -0
  394. package/src/assets/raw/image/programList/expend-bg.png +0 -0
  395. package/src/assets/raw/image/programList/is_follow_icon.png +0 -0
  396. package/src/assets/raw/image/programList/live_icon.png +0 -0
  397. package/src/assets/raw/image/programList/look_back.png +0 -0
  398. package/src/assets/raw/image/programList/no_live_icon.png +0 -0
  399. package/src/assets/raw/image/programList/ps_icon.png +0 -0
  400. package/src/assets/raw/image/programList/time_bg.png +0 -0
  401. package/src/assets/raw/image/programList/title_mask.png +0 -0
  402. package/src/assets/raw/image/quick/quick1.webp +0 -0
  403. package/src/assets/raw/image/quick/quick10.webp +0 -0
  404. package/src/assets/raw/image/quick/quick11.webp +0 -0
  405. package/src/assets/raw/image/quick/quick12.webp +0 -0
  406. package/src/assets/raw/image/quick/quick13.webp +0 -0
  407. package/src/assets/raw/image/quick/quick14.webp +0 -0
  408. package/src/assets/raw/image/quick/quick15.webp +0 -0
  409. package/src/assets/raw/image/quick/quick16.webp +0 -0
  410. package/src/assets/raw/image/quick/quick17.webp +0 -0
  411. package/src/assets/raw/image/quick/quick18.webp +0 -0
  412. package/src/assets/raw/image/quick/quick19.webp +0 -0
  413. package/src/assets/raw/image/quick/quick2.webp +0 -0
  414. package/src/assets/raw/image/quick/quick20.webp +0 -0
  415. package/src/assets/raw/image/quick/quick21.webp +0 -0
  416. package/src/assets/raw/image/quick/quick22.webp +0 -0
  417. package/src/assets/raw/image/quick/quick23.webp +0 -0
  418. package/src/assets/raw/image/quick/quick24.webp +0 -0
  419. package/src/assets/raw/image/quick/quick25.webp +0 -0
  420. package/src/assets/raw/image/quick/quick26.webp +0 -0
  421. package/src/assets/raw/image/quick/quick27.webp +0 -0
  422. package/src/assets/raw/image/quick/quick28.webp +0 -0
  423. package/src/assets/raw/image/quick/quick3.webp +0 -0
  424. package/src/assets/raw/image/quick/quick4.webp +0 -0
  425. package/src/assets/raw/image/quick/quick5.webp +0 -0
  426. package/src/assets/raw/image/quick/quick6.webp +0 -0
  427. package/src/assets/raw/image/quick/quick7.webp +0 -0
  428. package/src/assets/raw/image/quick/quick8.webp +0 -0
  429. package/src/assets/raw/image/quick/quick9.webp +0 -0
  430. package/src/assets/raw/image/quickLook/caption_quick_look.png +0 -0
  431. package/src/assets/raw/image/quickLook/caption_quick_look_focus.png +0 -0
  432. package/src/assets/raw/image/quickLook/list_bg.png +0 -0
  433. package/src/assets/raw/image/quickLook/play_video_icon.gif +0 -0
  434. package/src/assets/raw/image/quickLook/plot_quick_look.png +0 -0
  435. package/src/assets/raw/image/quickLook/plot_quick_look_focus.png +0 -0
  436. package/src/assets/raw/image/quickLook/quick_selected.png +0 -0
  437. package/src/assets/raw/image/quickLook/quick_unselected.png +0 -0
  438. package/src/assets/raw/image/quickLook/role_plot_playing_state.png +0 -0
  439. package/src/assets/raw/image/quickLook/role_poster_mask.png +0 -0
  440. package/src/assets/raw/image/quickLook/role_quick_look.png +0 -0
  441. package/src/assets/raw/image/quickLook/role_quick_look_focus.png +0 -0
  442. package/src/assets/raw/image/quickLook/speed_quick_look.png +0 -0
  443. package/src/assets/raw/image/quickLook/speed_quick_look_focus.png +0 -0
  444. package/src/assets/raw/image/quickLook/speed_triangle.png +0 -0
  445. package/src/assets/raw/image/quickLook/title_bg1.png +0 -0
  446. package/src/assets/raw/image/quickLook/title_bg2.png +0 -0
  447. package/src/assets/raw/image/quickLook/top_quick_look_mask.png +0 -0
  448. package/src/assets/raw/image/refresh_img.png +0 -0
  449. package/src/assets/raw/image/refresh_img_focus.png +0 -0
  450. package/src/assets/raw/image/ren-wo-yong.png +0 -0
  451. package/src/assets/raw/image/riChengTiXing/bottom-ai-mask.png +0 -0
  452. package/src/assets/raw/image/riChengTiXing/bottom-mask.png +0 -0
  453. package/src/assets/raw/image/riChengTiXing/bottom-tv-mask.png +0 -0
  454. package/src/assets/raw/image/riChengTiXing/content-ai-detail-bg.png +0 -0
  455. package/src/assets/raw/image/riChengTiXing/content-ai-detail-screen-bg.webp +0 -0
  456. package/src/assets/raw/image/riChengTiXing/content-detail-bg.png +0 -0
  457. package/src/assets/raw/image/riChengTiXing/dingyue-btn.webp +0 -0
  458. package/src/assets/raw/image/riChengTiXing/no-data-bg.webp +0 -0
  459. package/src/assets/raw/image/riChengTiXing/no-data-tips.png +0 -0
  460. package/src/assets/raw/image/riChengTiXing/no-tv-data-bg.webp +0 -0
  461. package/src/assets/raw/image/riChengTiXing/richeng-bg.webp +0 -0
  462. package/src/assets/raw/image/riChengTiXing/schedule-ai-bg-0.webp +0 -0
  463. package/src/assets/raw/image/riChengTiXing/schedule-ai-bg-1.webp +0 -0
  464. package/src/assets/raw/image/riChengTiXing/schedule-ai-bg-2.webp +0 -0
  465. package/src/assets/raw/image/riChengTiXing/schedule-bg-0.webp +0 -0
  466. package/src/assets/raw/image/riChengTiXing/schedule-bg-1.webp +0 -0
  467. package/src/assets/raw/image/riChengTiXing/schedule-bg-2.webp +0 -0
  468. package/src/assets/raw/image/riChengTiXing/schedule-tv-bg-0.webp +0 -0
  469. package/src/assets/raw/image/riChengTiXing/schedule-tv-bg-1.webp +0 -0
  470. package/src/assets/raw/image/riChengTiXing/schedule-tv-bg-2.webp +0 -0
  471. package/src/assets/raw/image/riChengTiXing/timeBg.png +0 -0
  472. package/src/assets/raw/image/riChengTiXing/time_left_mask.png +0 -0
  473. package/src/assets/raw/image/riChengTiXing/time_right_mask.png +0 -0
  474. package/src/assets/raw/image/riChengTiXing/time_tv_left_mask.png +0 -0
  475. package/src/assets/raw/image/riChengTiXing/time_tv_right_mask.png +0 -0
  476. package/src/assets/raw/image/riChengTiXing/tv-schedule-line.webp +0 -0
  477. package/src/assets/raw/image/riChengTiXing/tv-schedule-mask.webp +0 -0
  478. package/src/assets/raw/image/routerNetTimePages/bg.png +0 -0
  479. package/src/assets/raw/image/routerNetTimePages/online-ai-device-left-bg.png +0 -0
  480. package/src/assets/raw/image/routerNetTimePages/online-ai-device-right-bg.png +0 -0
  481. package/src/assets/raw/image/routerNetTimePages/online-device-left-bg.png +0 -0
  482. package/src/assets/raw/image/routerNetTimePages/online-device-right-bg.png +0 -0
  483. package/src/assets/raw/image/routerNetTimePages/online-tv-device-left-bg.png +0 -0
  484. package/src/assets/raw/image/routerNetTimePages/online-tv-device-right-bg.png +0 -0
  485. package/src/assets/raw/image/router_bg.png +0 -0
  486. package/src/assets/raw/image/router_img.png +0 -0
  487. package/src/assets/raw/image/searchAgent/ai.png +0 -0
  488. package/src/assets/raw/image/searchAgent/number-focus.png +0 -0
  489. package/src/assets/raw/image/searchAgent/number.png +0 -0
  490. package/src/assets/raw/image/searchAgent/reasoning-arrow-up-focus.png +0 -0
  491. package/src/assets/raw/image/searchAgent/reasoning-arrow-up.png +0 -0
  492. package/src/assets/raw/image/searchAgent/reasoning-line-icon.png +0 -0
  493. package/src/assets/raw/image/searchAgent/reasoning-process-line.webp +0 -0
  494. package/src/assets/raw/image/searchAgent/reasoning-reset-icon-focus.png +0 -0
  495. package/src/assets/raw/image/searchAgent/reasoning-reset-icon.png +0 -0
  496. package/src/assets/raw/image/searchAgent/recommend-reason-bg.png +0 -0
  497. package/src/assets/raw/image/searchAgent/recommend-title-icon.png +0 -0
  498. package/src/assets/raw/image/searchAgent/search_bg.png +0 -0
  499. package/src/assets/raw/image/searchAgent/search_star_mask.webp +0 -0
  500. package/src/assets/raw/image/searchAgent/st_empty.webp +0 -0
  501. package/src/assets/raw/image/searchAgent/tab-left-mask.webp +0 -0
  502. package/src/assets/raw/image/searchAgent/tab-right-mask.webp +0 -0
  503. package/src/assets/raw/image/searchAgent/tab-title-big-bg.webp +0 -0
  504. package/src/assets/raw/image/searchAgent/tab-title-mask.webp +0 -0
  505. package/src/assets/raw/image/searchAgent/tab-title-small-bg.webp +0 -0
  506. package/src/assets/raw/image/searchAgent/tab-tv-left-mask.webp +0 -0
  507. package/src/assets/raw/image/searchAgent/tab-tv-right-mask.webp +0 -0
  508. package/src/assets/raw/image/searchAgent/video-ai-mask-img.webp +0 -0
  509. package/src/assets/raw/image/searchAgent/video-mask-img.webp +0 -0
  510. package/src/assets/raw/image/searchAgent/video-tv-mask-img.webp +0 -0
  511. package/src/assets/raw/image/searchAgent/vip.png +0 -0
  512. package/src/assets/raw/image/shopAgent/ai-shop-detail.png +0 -0
  513. package/src/assets/raw/image/shopAgent/ai-shop-list .png +0 -0
  514. package/src/assets/raw/image/shopCar/del_btn_default.png +0 -0
  515. package/src/assets/raw/image/shopCar/del_btn_focus.png +0 -0
  516. package/src/assets/raw/image/shouji_default.png +0 -0
  517. package/src/assets/raw/image/shouji_focus.png +0 -0
  518. package/src/assets/raw/image/stockList_focus_border.png +0 -0
  519. package/src/assets/raw/image/success-icon.webp +0 -0
  520. package/src/assets/raw/image/travelService/airplane-icon.png +0 -0
  521. package/src/assets/raw/image/travelService/train-icon.png +0 -0
  522. package/src/assets/raw/image/travelService/train-to.png +0 -0
  523. package/src/assets/raw/image/weather-position-border-bg.png +0 -0
  524. package/src/assets/raw/image/weather-position-icon.png +0 -0
  525. package/src/assets/raw/jarvis/airplane-icon.webp +0 -0
  526. package/src/assets/raw/jarvis/cai-focus-0.webp +0 -0
  527. package/src/assets/raw/jarvis/cai-focus-1.webp +0 -0
  528. package/src/assets/raw/jarvis/cai-icon-0.webp +0 -0
  529. package/src/assets/raw/jarvis/cai-icon-1.webp +0 -0
  530. package/src/assets/raw/jarvis/cancel-icon.webp +0 -0
  531. package/src/assets/raw/jarvis/channel-bg.webp +0 -0
  532. package/src/assets/raw/jarvis/clear-focus-0.webp +0 -0
  533. package/src/assets/raw/jarvis/clear-icon-0.webp +0 -0
  534. package/src/assets/raw/jarvis/clear-jarvis-tips.webp +0 -0
  535. package/src/assets/raw/jarvis/clock-icon.webp +0 -0
  536. package/src/assets/raw/jarvis/complete-icon.webp +0 -0
  537. package/src/assets/raw/jarvis/date-icon.webp +0 -0
  538. package/src/assets/raw/jarvis/deepseek/cai-focus-0.png +0 -0
  539. package/src/assets/raw/jarvis/deepseek/cai-focus-1.png +0 -0
  540. package/src/assets/raw/jarvis/deepseek/cai-icon-0.png +0 -0
  541. package/src/assets/raw/jarvis/deepseek/cai-icon-1.png +0 -0
  542. package/src/assets/raw/jarvis/deepseek/clear-focus-0.png +0 -0
  543. package/src/assets/raw/jarvis/deepseek/clear-icon-0.png +0 -0
  544. package/src/assets/raw/jarvis/deepseek/deepseek-avatar.webp +0 -0
  545. package/src/assets/raw/jarvis/deepseek/deepseek-bg.webp +0 -0
  546. package/src/assets/raw/jarvis/deepseek/deepseek-bottom-tips.png +0 -0
  547. package/src/assets/raw/jarvis/deepseek/deepseek-clear-tips.png +0 -0
  548. package/src/assets/raw/jarvis/deepseek/deepseek-content-bg.png +0 -0
  549. package/src/assets/raw/jarvis/deepseek/deepseek-icon.png +0 -0
  550. package/src/assets/raw/jarvis/deepseek/deepseek-idea-defalut-select.png +0 -0
  551. package/src/assets/raw/jarvis/deepseek/deepseek-idea-focus-select.png +0 -0
  552. package/src/assets/raw/jarvis/deepseek/deepseek-jarvis-bg.webp +0 -0
  553. package/src/assets/raw/jarvis/deepseek/zan-focus-0.png +0 -0
  554. package/src/assets/raw/jarvis/deepseek/zan-focus-1.png +0 -0
  555. package/src/assets/raw/jarvis/deepseek/zan-icon-0.png +0 -0
  556. package/src/assets/raw/jarvis/deepseek/zan-icon-1.png +0 -0
  557. package/src/assets/raw/jarvis/dui-title/airTicket.webp +0 -0
  558. package/src/assets/raw/jarvis/dui-title/alarm.webp +0 -0
  559. package/src/assets/raw/jarvis/dui-title/buyCoupon.webp +0 -0
  560. package/src/assets/raw/jarvis/dui-title/communityNotice.webp +0 -0
  561. package/src/assets/raw/jarvis/dui-title/equityList.webp +0 -0
  562. package/src/assets/raw/jarvis/dui-title/equitySearch.webp +0 -0
  563. package/src/assets/raw/jarvis/dui-title/leaveMessage.webp +0 -0
  564. package/src/assets/raw/jarvis/dui-title/myCoupon.webp +0 -0
  565. package/src/assets/raw/jarvis/dui-title/navigation.webp +0 -0
  566. package/src/assets/raw/jarvis/dui-title/new_coupon.webp +0 -0
  567. package/src/assets/raw/jarvis/dui-title/new_merchant.webp +0 -0
  568. package/src/assets/raw/jarvis/dui-title/new_merchant_detail.webp +0 -0
  569. package/src/assets/raw/jarvis/dui-title/pointsInquiry.webp +0 -0
  570. package/src/assets/raw/jarvis/dui-title/queryDaily.webp +0 -0
  571. package/src/assets/raw/jarvis/dui-title/queryElectricCharge.webp +0 -0
  572. package/src/assets/raw/jarvis/dui-title/queryStation.webp +0 -0
  573. package/src/assets/raw/jarvis/dui-title/search.webp +0 -0
  574. package/src/assets/raw/jarvis/dui-title/starSearch.webp +0 -0
  575. package/src/assets/raw/jarvis/dui-title/stock.webp +0 -0
  576. package/src/assets/raw/jarvis/dui-title/travelArrangement.webp +0 -0
  577. package/src/assets/raw/jarvis/dui-title/tvSchedule.webp +0 -0
  578. package/src/assets/raw/jarvis/dui-title/weather.webp +0 -0
  579. package/src/assets/raw/jarvis/equity-bg.webp +0 -0
  580. package/src/assets/raw/jarvis/equity-corner-url.png +0 -0
  581. package/src/assets/raw/jarvis/equity-detail-bg.webp +0 -0
  582. package/src/assets/raw/jarvis/equity-icon.webp +0 -0
  583. package/src/assets/raw/jarvis/equity-item-url.webp +0 -0
  584. package/src/assets/raw/jarvis/jarvis-dialog-top.webp +0 -0
  585. package/src/assets/raw/jarvis/jarvis-idea-avatar.webp +0 -0
  586. package/src/assets/raw/jarvis/jarvis-idea-btn-icon.png +0 -0
  587. package/src/assets/raw/jarvis/jarvis-idea-select-icon.webp +0 -0
  588. package/src/assets/raw/jarvis/jarvis-left-bg.webp +0 -0
  589. package/src/assets/raw/jarvis/jarvis-left-tv.webp +0 -0
  590. package/src/assets/raw/jarvis/jarvis-right-bg.webp +0 -0
  591. package/src/assets/raw/jarvis/jarvis-right-bottom-defalut-mask.webp +0 -0
  592. package/src/assets/raw/jarvis/jarvis-right-bottom-mask.webp +0 -0
  593. package/src/assets/raw/jarvis/jarvis-right-top-mask.png +0 -0
  594. package/src/assets/raw/jarvis/jarvis-right-tv.webp +0 -0
  595. package/src/assets/raw/jarvis/jarvis-title-center.png +0 -0
  596. package/src/assets/raw/jarvis/jarvis-title-left.png +0 -0
  597. package/src/assets/raw/jarvis/jarvis-title-right.png +0 -0
  598. package/src/assets/raw/jarvis/jarvis-tv-right-bottom-defalut-mask.webp +0 -0
  599. package/src/assets/raw/jarvis/jarvis-tv-right-bottom-mask.webp +0 -0
  600. package/src/assets/raw/jarvis/jarvis-tv-right-top-mask.png +0 -0
  601. package/src/assets/raw/jarvis/jarvis-tv-title-center.png +0 -0
  602. package/src/assets/raw/jarvis/jarvis-tv-title-left.png +0 -0
  603. package/src/assets/raw/jarvis/jarvis-tv-title-right.png +0 -0
  604. package/src/assets/raw/jarvis/left-ai-bg-shadow-bottom.webp +0 -0
  605. package/src/assets/raw/jarvis/left-ai-bg-shadow-top.webp +0 -0
  606. package/src/assets/raw/jarvis/left-ai-shadow-right.webp +0 -0
  607. package/src/assets/raw/jarvis/left-bg-shadow-bottom.webp +0 -0
  608. package/src/assets/raw/jarvis/left-bg-shadow-left.webp +0 -0
  609. package/src/assets/raw/jarvis/left-bg-shadow-right.webp +0 -0
  610. package/src/assets/raw/jarvis/left-bg-shadow-top.webp +0 -0
  611. package/src/assets/raw/jarvis/left-tv-shadow-bottom.webp +0 -0
  612. package/src/assets/raw/jarvis/left-tv-shadow-left.webp +0 -0
  613. package/src/assets/raw/jarvis/left-tv-shadow-right.webp +0 -0
  614. package/src/assets/raw/jarvis/left-tv-shadow-top.webp +0 -0
  615. package/src/assets/raw/jarvis/living-payment/ELECTRIC.webp +0 -0
  616. package/src/assets/raw/jarvis/living-payment/GAS.webp +0 -0
  617. package/src/assets/raw/jarvis/living-payment/WATER.webp +0 -0
  618. package/src/assets/raw/jarvis/location-icon.webp +0 -0
  619. package/src/assets/raw/jarvis/lottie-tv-view-bg.webp +0 -0
  620. package/src/assets/raw/jarvis/lottie-view-bg.webp +0 -0
  621. package/src/assets/raw/jarvis/my-coupon-bg.webp +0 -0
  622. package/src/assets/raw/jarvis/pending-icon.webp +0 -0
  623. package/src/assets/raw/jarvis/score-bg.webp +0 -0
  624. package/src/assets/raw/jarvis/stock-info-top-bg.webp +0 -0
  625. package/src/assets/raw/jarvis/toast-error.png +0 -0
  626. package/src/assets/raw/jarvis/toast-success.png +0 -0
  627. package/src/assets/raw/jarvis/toast-warning.png +0 -0
  628. package/src/assets/raw/jarvis/user-avatar.webp +0 -0
  629. package/src/assets/raw/jarvis/xiaojia-avatar.webp +0 -0
  630. package/src/assets/raw/jarvis/zan-focus-0.webp +0 -0
  631. package/src/assets/raw/jarvis/zan-focus-1.webp +0 -0
  632. package/src/assets/raw/jarvis/zan-icon-0.webp +0 -0
  633. package/src/assets/raw/jarvis/zan-icon-1.webp +0 -0
  634. package/src/assets/raw/jarvis/zanOrCai/cai-focus-0.png +0 -0
  635. package/src/assets/raw/jarvis/zanOrCai/cai-focus-1.png +0 -0
  636. package/src/assets/raw/jarvis/zanOrCai/cai-icon-0.png +0 -0
  637. package/src/assets/raw/jarvis/zanOrCai/cai-icon-1.png +0 -0
  638. package/src/assets/raw/jarvis/zanOrCai/clear-focus-0.png +0 -0
  639. package/src/assets/raw/jarvis/zanOrCai/clear-icon-0.png +0 -0
  640. package/src/assets/raw/jarvis/zanOrCai/zan-focus-0.png +0 -0
  641. package/src/assets/raw/jarvis/zanOrCai/zan-focus-1.png +0 -0
  642. package/src/assets/raw/jarvis/zanOrCai/zan-icon-0.png +0 -0
  643. package/src/assets/raw/jarvis/zanOrCai/zan-icon-1.png +0 -0
  644. package/src/assets/raw/jump.html +47 -0
  645. package/src/assets/raw/weather/weather_1.webp +0 -0
  646. package/src/assets/raw/weather/weather_10.webp +0 -0
  647. package/src/assets/raw/weather/weather_13.webp +0 -0
  648. package/src/assets/raw/weather/weather_14.webp +0 -0
  649. package/src/assets/raw/weather/weather_16.webp +0 -0
  650. package/src/assets/raw/weather/weather_17.webp +0 -0
  651. package/src/assets/raw/weather/weather_18.webp +0 -0
  652. package/src/assets/raw/weather/weather_19.webp +0 -0
  653. package/src/assets/raw/weather/weather_2.webp +0 -0
  654. package/src/assets/raw/weather/weather_20.webp +0 -0
  655. package/src/assets/raw/weather/weather_21.webp +0 -0
  656. package/src/assets/raw/weather/weather_22.webp +0 -0
  657. package/src/assets/raw/weather/weather_23.webp +0 -0
  658. package/src/assets/raw/weather/weather_24.webp +0 -0
  659. package/src/assets/raw/weather/weather_25.webp +0 -0
  660. package/src/assets/raw/weather/weather_26.webp +0 -0
  661. package/src/assets/raw/weather/weather_27.webp +0 -0
  662. package/src/assets/raw/weather/weather_28.webp +0 -0
  663. package/src/assets/raw/weather/weather_29.webp +0 -0
  664. package/src/assets/raw/weather/weather_3.webp +0 -0
  665. package/src/assets/raw/weather/weather_30.webp +0 -0
  666. package/src/assets/raw/weather/weather_31.webp +0 -0
  667. package/src/assets/raw/weather/weather_32.webp +0 -0
  668. package/src/assets/raw/weather/weather_33.webp +0 -0
  669. package/src/assets/raw/weather/weather_34.webp +0 -0
  670. package/src/assets/raw/weather/weather_35.webp +0 -0
  671. package/src/assets/raw/weather/weather_36.webp +0 -0
  672. package/src/assets/raw/weather/weather_37.webp +0 -0
  673. package/src/assets/raw/weather/weather_40.webp +0 -0
  674. package/src/assets/raw/weather/weather_41.webp +0 -0
  675. package/src/assets/raw/weather/weather_43.webp +0 -0
  676. package/src/assets/raw/weather/weather_44.webp +0 -0
  677. package/src/assets/raw/weather/weather_45.webp +0 -0
  678. package/src/assets/raw/weather/weather_5.webp +0 -0
  679. package/src/assets/raw/weather/weather_6.webp +0 -0
  680. package/src/assets/raw/weather/weather_7.webp +0 -0
  681. package/src/assets/raw/weather/weather_8.webp +0 -0
  682. package/src/assets/raw/weather/weather_9.webp +0 -0
  683. package/src/atlas.js +934 -0
  684. package/src/index.js +2 -0
  685. package/src/page/index.vue +15 -0
  686. package/src/server/config.js +120 -0
  687. package/src/server/index.js +1573 -0
  688. package/src/server/mock.js +40110 -0
  689. package/src/server/schedule.js +54 -0
  690. package/src/store.js +298 -0
  691. package/src/utils/HodoopUtil.js +246 -0
  692. package/src/utils/content.js +445 -0
  693. package/src/utils/dataUtils.js +444 -0
  694. package/src/utils/index.js +1492 -0
  695. package/src/utils/pay.js +52 -0
  696. package/src/utils/promiseServer.js +65 -0
  697. package/src/utils/request.js +111 -0
  698. package/webpack.config.js +103 -0
@@ -0,0 +1,1492 @@
1
+ import atlas from "@/atlas";
2
+ import Store from "@/store";
3
+ import CONFIG from "@/assets/raw/config";
4
+ import CryptoJS from 'crypto-js';
5
+ // import { setConfig } from "@/setConfig"
6
+
7
+ let firstEntryPath = {}; // 首次进入路径上携带的参数
8
+ // 监听按键key值
9
+ const KEYCODE = {
10
+ UP: 19,
11
+ DOWN: 20,
12
+ LEFT: 21,
13
+ RIGHT: 22,
14
+ OK: 23,
15
+ MENU: 82,
16
+ KEY_0: 7,
17
+ KEY_1: 8,
18
+ KEY_2: 9,
19
+ KEY_3: 10,
20
+ KEY_4: 11,
21
+ KEY_5: 12,
22
+ KEY_6: 13,
23
+ KEY_7: 14,
24
+ KEY_8: 15,
25
+ KEY_9: 16,
26
+ LONG_TAP: 1166,
27
+ FLOW_DOWN: 1167,
28
+ PC_OK: 66,
29
+ EXCEPTION: 11099,
30
+ DELETE: 67,
31
+ };
32
+
33
+ // 应用包名,必须要写
34
+ const appInfo = {
35
+ packageName: "com.ysten.wk.aiSpace",
36
+ jump: "http://kuaitv.aitv.ysten.com:8082//preview/7111027948791001086/V1.0.1/jump.html?p=",
37
+ };
38
+ /**
39
+ var deviceInfo = {
40
+ ability: '', // 能力串
41
+ username: '', // 用户名
42
+ deviceId: '', // 串号
43
+ mac: '', // MAC地址
44
+ userToken: '', // 用户token
45
+ stbid: '', // 机顶盒id
46
+ ystenId: '', // 易视腾id
47
+ }
48
+ */
49
+
50
+ function warn(...context) {
51
+ if (process.env.NODE_ENV === "production") {
52
+ return null;
53
+ }
54
+ return console.warn(...context);
55
+ }
56
+
57
+ /**
58
+ * Better function checking
59
+ */
60
+ function isFunction(func) {
61
+ return Object.prototype.toString.call(func) === "[object Function]";
62
+ }
63
+
64
+ function isArray(array) {
65
+ return Object.prototype.toString.call(array) === "[object Array]";
66
+ }
67
+
68
+ function dateFormt(date1, f) {
69
+ let fmt = f;
70
+ const o = {
71
+ "M+": date1.getMonth() + 1, // 月份
72
+ "d+": date1.getDate(), // 日
73
+ "h+": date1.getHours(), // 小时
74
+ "m+": date1.getMinutes(), // 分
75
+ "s+": date1.getSeconds(), // 秒
76
+ "q+": Math.floor((date1.getMonth() + 3) / 3), // 季度
77
+ S: date1.getMilliseconds(), // 毫秒
78
+ };
79
+ if (/(y+)/.test(fmt))
80
+ fmt = fmt.replace(
81
+ RegExp.$1,
82
+ `${date1.getFullYear()}`.substr(4 - RegExp.$1.length)
83
+ );
84
+ // eslint-disable-next-line no-restricted-syntax
85
+ for (const k in o)
86
+ if (new RegExp(`(${k})`).test(fmt))
87
+ fmt = fmt.replace(
88
+ RegExp.$1,
89
+ RegExp.$1.length === 1
90
+ ? o[k]
91
+ : `00${o[k]}`.substr(`${o[k]}`.length)
92
+ );
93
+ return fmt;
94
+ }
95
+ //格式化日期formatDate(date,'YYYY-MM-DD hh:mm:ss');
96
+ function formatDate(date, format) {
97
+ if (arguments.length < 2 && !date.getTime) {
98
+ format = date;
99
+ date = serverTime;
100
+ }
101
+ typeof format != "string" && (format = "YYYY年MM月DD日 hh时mm分ss秒");
102
+ var week = [
103
+ "Sunday",
104
+ "Monday",
105
+ "Tuesday",
106
+ "Wednesday",
107
+ "Thursday",
108
+ "Friday",
109
+ "Saturday",
110
+ "日",
111
+ "一",
112
+ "二",
113
+ "三",
114
+ "四",
115
+ "五",
116
+ "六",
117
+ ];
118
+ var tmp;
119
+ return format.replace(
120
+ /YYYY|YY|MM|DD|hh|mm|ss|星期|周|www|week/g,
121
+ function (a) {
122
+ switch (a) {
123
+ case "YYYY":
124
+ return date.getFullYear();
125
+ case "YY":
126
+ return (date.getFullYear() + "").slice(2);
127
+ case "MM":
128
+ tmp = date.getMonth() + 1 + "";
129
+ return tmp.length == 1 ? "0" + tmp : tmp;
130
+ case "DD":
131
+ tmp = date.getDate() + "";
132
+ return tmp.length == 1 ? "0" + tmp : tmp;
133
+ case "hh":
134
+ tmp = date.getHours() + "";
135
+ return tmp.length == 1 ? "0" + tmp : tmp;
136
+ case "mm":
137
+ tmp = date.getMinutes() + "";
138
+ return tmp.length == 1 ? "0" + tmp : tmp;
139
+ case "ss":
140
+ tmp = date.getSeconds() + "";
141
+ return tmp.length == 1 ? "0" + tmp : tmp;
142
+ case "星期":
143
+ return "星期" + week[date.getDay() + 7];
144
+ case "周":
145
+ return "周" + week[date.getDay() + 7];
146
+ case "week":
147
+ return week[date.getDay()];
148
+ case "www":
149
+ return week[date.getDay()].slice(0, 3);
150
+ }
151
+ }
152
+ );
153
+ }
154
+ function formatDuring(millisecond, fls) {
155
+ let hours = parseInt(
156
+ (millisecond % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)
157
+ );
158
+ hours = hours < 10 ? "0" + hours : hours;
159
+ let minutes = parseInt((millisecond % (1000 * 60 * 60)) / (1000 * 60));
160
+ minutes = minutes < 10 ? "0" + minutes : minutes;
161
+ let seconds = parseInt((millisecond % (1000 * 60)) / 1000);
162
+ seconds = seconds < 10 ? "0" + seconds : seconds;
163
+ if (fls) {
164
+ hours = hours == "00" ? "" : hours + ":";
165
+ minutes = minutes == "00" ? "00:" : minutes + ":";
166
+ }
167
+ return hours + minutes + seconds;
168
+ }
169
+
170
+ function formatTime(millisecond, fls) {
171
+ if (millisecond > 0) {
172
+ let hours = parseInt(
173
+ (millisecond % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)
174
+ );
175
+ hours = hours < 10 ? "0" + hours : hours;
176
+ let minutes = parseInt((millisecond % (1000 * 60 * 60)) / (1000 * 60));
177
+ minutes = minutes < 10 ? "0" + minutes : minutes;
178
+ let seconds = parseInt((millisecond % (1000 * 60)) / 1000);
179
+ seconds = seconds < 10 ? "0" + seconds : seconds;
180
+ if (fls) {
181
+ hours = hours == "00" ? "00:" : hours + ":";
182
+ minutes = minutes == "00" ? "00:" : minutes + ":";
183
+ seconds = seconds == "00" ? "00" : seconds;
184
+ }
185
+ return hours + minutes + seconds;
186
+ } else {
187
+ return "00:00:00";
188
+ }
189
+ }
190
+
191
+ /**
192
+ * 获取某个日期的农历
193
+ * @parmas {newDate} 日期 年-月-日
194
+ */
195
+ function getLunarTime(newDate){
196
+
197
+ var nyear;
198
+ var nmonth;
199
+ var nday = -1;
200
+ var nwday;
201
+ var nhrs;
202
+ var nmin;
203
+ var nsec;
204
+ var newDate = newDate;
205
+
206
+ var lmonth, lday, lleap; //农历参数
207
+
208
+ function Draw() {
209
+ NewTick();
210
+
211
+ //显示时间
212
+ var s = nyear + '年' + nmonth + '月' + nday + '日 ' + '星期' + cweekday(nwday) + ' ' + shapetime(nhrs, nmin, nsec);
213
+ s += " 农历" + lmonth + "月" + lday; //农历
214
+ var lunar_month_day=lmonth + "月" + lday;
215
+ return lunar_month_day;
216
+ }
217
+
218
+
219
+ function NewTick() {
220
+ var noww = newDate ? new Date(newDate) : new Date();
221
+ if (noww.getDate() != nday) {
222
+ nyear = noww.getFullYear();
223
+ nmonth = noww.getMonth() + 1;
224
+ nwday = noww.getDay();
225
+ nday = noww.getDate();
226
+
227
+ getLunarTime(); //获取农历
228
+ }
229
+ nhrs = noww.getHours();
230
+ nmin = noww.getMinutes();
231
+ nsec = noww.getSeconds();
232
+ }
233
+
234
+
235
+ //辅助函数
236
+ var hzWeek = new Array("日", "一", "二", "三", "四", "五", "六", "日");
237
+ function cweekday(wday) {
238
+ return hzWeek[wday];
239
+ }
240
+ function shapetime(vhrs, vmin, vsec) {
241
+ if (vsec <= 9) vsec = "0" + vsec;
242
+ if (vmin <= 9) vmin = "0" + vmin;
243
+ if (vhrs <= 9) vhrs = "0" + vhrs;
244
+ return vhrs + ":" + vmin + ":" + vsec
245
+ }
246
+
247
+ //农历函数开始
248
+ var lunarInfo = new Array(0x04bd8, 0x04ae0, 0x0a570, 0x054d5, 0x0d260, 0x0d950, 0x16554, 0x056a0, 0x09ad0, 0x055d2, 0x04ae0, 0x0a5b6, 0x0a4d0, 0x0d250, 0x1d255, 0x0b540, 0x0d6a0, 0x0ada2, 0x095b0, 0x14977, 0x04970, 0x0a4b0, 0x0b4b5, 0x06a50, 0x06d40, 0x1ab54, 0x02b60, 0x09570, 0x052f2, 0x04970, 0x06566, 0x0d4a0, 0x0ea50, 0x06e95, 0x05ad0, 0x02b60, 0x186e3, 0x092e0, 0x1c8d7, 0x0c950, 0x0d4a0, 0x1d8a6, 0x0b550, 0x056a0, 0x1a5b4, 0x025d0, 0x092d0, 0x0d2b2, 0x0a950, 0x0b557, 0x06ca0, 0x0b550, 0x15355, 0x04da0, 0x0a5b0, 0x14573, 0x052b0, 0x0a9a8, 0x0e950, 0x06aa0, 0x0aea6, 0x0ab50, 0x04b60, 0x0aae4, 0x0a570, 0x05260, 0x0f263, 0x0d950, 0x05b57, 0x056a0, 0x096d0, 0x04dd5, 0x04ad0, 0x0a4d0, 0x0d4d4, 0x0d250, 0x0d558, 0x0b540, 0x0b6a0, 0x195a6, 0x095b0, 0x049b0, 0x0a974, 0x0a4b0, 0x0b27a, 0x06a50, 0x06d40, 0x0af46, 0x0ab60, 0x09570, 0x04af5, 0x04970, 0x064b0, 0x074a3, 0x0ea50, 0x06b58, 0x05ac0, 0x0ab60, 0x096d5, 0x092e0, //1990
249
+ 0x0c960, 0x0d954, 0x0d4a0, 0x0da50, 0x07552, 0x056a0, 0x0abb7, 0x025d0, 0x092d0, 0x0cab5, 0x0a950, 0x0b4a0, 0x0baa4, 0x0ad50, 0x055d9, 0x04ba0, 0x0a5b0, 0x15176, 0x052b0, 0x0a930, 0x07954, 0x06aa0, 0x0ad50, 0x05b52, 0x04b60, 0x0a6e6, 0x0a4e0, 0x0d260, 0x0ea65, 0x0d530, 0x05aa0, 0x076a3, 0x096d0, 0x04bd7, 0x04ad0, 0x0a4d0, 0x1d0b6, 0x0d250, 0x0d520, 0x0dd45, 0x0b5a0, 0x056d0, 0x055b2, 0x049b0, 0x0a577, 0x0a4b0, 0x0aa50, 0x1b255, 0x06d20, 0x0ada0, 0x14b63);
250
+ function lYearDays(y) {
251
+ var i, sum = 348;
252
+ for (i = 0x8000; i > 0x8; i >>= 1) sum += (lunarInfo[y - 1900] & i) ? 1 : 0;
253
+ return (sum + leapDays(y));
254
+ }
255
+ function leapDays(y) {
256
+ if (leapMonth(y)) return ((lunarInfo[y - 1900] & 0x10000) ? 30 : 29);
257
+ else return (0);
258
+ }
259
+ function leapMonth(y) {
260
+ return (lunarInfo[y - 1900] & 0xf);
261
+ }
262
+ function monthDays(y, m) {
263
+ return ((lunarInfo[y - 1900] & (0x10000 >> m)) ? 30 : 29);
264
+ }
265
+ function Lunar(y, m, d) {
266
+ var i, leap = 0,
267
+ temp = 0;
268
+ var offset = (Date.UTC(y, m, d) - Date.UTC(1900, 0, 31)) / 86400000;
269
+ for (i = 1900; i < 2050 && offset > 0; i++) {
270
+ temp = lYearDays(i);
271
+ offset -= temp;
272
+ }
273
+ if (offset < 0) {
274
+ offset += temp;
275
+ i--;
276
+ }
277
+ this.year = i;
278
+ leap = leapMonth(i);
279
+ this.isLeap = false;
280
+ for (i = 1; i < 13 && offset > 0; i++) {
281
+ if (leap > 0 && i == (leap + 1) && this.isLeap == false) {--i;
282
+ this.isLeap = true;
283
+ temp = leapDays(this.year);
284
+ } else {
285
+ temp = monthDays(this.year, i);
286
+ }
287
+ if (this.isLeap == true && i == (leap + 1)) this.isLeap = false;
288
+ offset -= temp;
289
+ }
290
+ if (offset == 0 && leap > 0 && i == leap + 1) if (this.isLeap) {
291
+ this.isLeap = false;
292
+ } else {
293
+ this.isLeap = true; --i;
294
+ }
295
+ if (offset < 0) {
296
+ offset += temp; --i;
297
+ }
298
+ this.month = i;
299
+ this.day = offset + 1;
300
+ }
301
+ var nStr1 = new Array('', '一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二');
302
+ var nStr2 = new Array('初', '十', '廿', '卅', '□');
303
+ function GetcDay(d) {
304
+ var s;
305
+ switch (d) {
306
+ case 10:
307
+ s = '初十';
308
+ break;
309
+ case 20:
310
+ s = '二十';
311
+ break;
312
+ case 30:
313
+ s = '三十';
314
+ break;
315
+ default:
316
+ s = nStr2[Math.floor(d / 10)];
317
+ s += nStr1[d % 10];
318
+ break;
319
+ }
320
+ return (s);
321
+ }
322
+ function GetcMon(m) {
323
+ if (m == 1) return '正';
324
+ else return nStr1[m];
325
+ }
326
+ function getLunarTime() {
327
+ var lObj = new Lunar(nyear, nmonth - 1, nday);
328
+ lmonth = GetcMon(lObj.month);
329
+ lday = GetcDay(lObj.day);
330
+ lleap = lObj.isLeap;
331
+ if (lleap == 1) {
332
+ lmonth = "闰" + lmonth;
333
+ }
334
+ }
335
+ //农历函数结束
336
+ return Draw();
337
+ }
338
+
339
+ // 把字符串处理成时间对象
340
+ function handleDate(d) {
341
+ let date = d;
342
+ if (!date && date !== 0) {
343
+ return new Date();
344
+ }
345
+ if (date.toString().indexOf("-") > 0) {
346
+ date = date.replace(/-/g, "/");
347
+ return new Date(date);
348
+ }
349
+ if (date.toString().length === 10) {
350
+ date *= 1000;
351
+ }
352
+ date = parseInt(date, 10);
353
+ return new Date(date);
354
+ }
355
+
356
+ function formatSeconds(value) {
357
+ let h = Math.floor(value / 3600);
358
+ let m = Math.floor((value / 60) % 60);
359
+ let s = Math.floor(value % 60);
360
+ let str = "";
361
+ if (h !== 0) {
362
+ h < 10 ? (str += `0${h}:`) : (str += `${h}:`);
363
+ }
364
+ if (m !== 0) {
365
+ m < 10 ? (str += `0${m}:`) : (str += `${m}:`);
366
+ } else {
367
+ str += `00:`;
368
+ }
369
+ if (s !== 0) {
370
+ s < 10 ? (str += `0${s}`) : (str += `${s}`);
371
+ } else {
372
+ str += `00`;
373
+ }
374
+ // str += `${s}`;
375
+ return str;
376
+ }
377
+ function handleChanl(str) {
378
+ // 处理频道号的展示
379
+ if (!str) {
380
+ return "";
381
+ }
382
+ if (str.length >= 3) {
383
+ const b = str.substring(str.length - 3);
384
+ return b;
385
+ }
386
+ return handleChanl(`0${str}`);
387
+ }
388
+
389
+ // 频道去重
390
+ function filterChannelData(data, key) {
391
+ const newobj = {};
392
+ const newArr = [];
393
+ for (let i = 0; i < data.length; i++) {
394
+ const item = data[i];
395
+ if (!newobj[item[key]]) {
396
+ newobj[item[key]] = newArr.push(item);
397
+ }
398
+ }
399
+ return newArr;
400
+ }
401
+
402
+ function arrFindIndex(list, key, target) {
403
+ for (let i = 0; i < list.length; i++) {
404
+ if (`${list[i][key]}` === `${target}`) {
405
+ return i;
406
+ }
407
+ }
408
+ return -1;
409
+ }
410
+
411
+ // 将HH:MM:SS格式的时间字符串转换为秒数
412
+ function timeToSeconds(timeStr) {
413
+ if (!timeStr || typeof timeStr !== 'string') {
414
+ return 0;
415
+ }
416
+
417
+ // 分割时间字符串
418
+ const timeParts = timeStr.split(':');
419
+
420
+ if (timeParts.length !== 3) {
421
+ // 如果格式不是HH:MM:SS,则尝试其他常见格式
422
+ if (timeParts.length === 2) {
423
+ // 可能是MM:SS格式
424
+ const minutes = parseInt(timeParts[0], 10) || 0;
425
+ const seconds = parseInt(timeParts[1], 10) || 0;
426
+ return minutes * 60 + seconds;
427
+ }
428
+ return 0;
429
+ }
430
+
431
+ const hours = parseInt(timeParts[0], 10) || 0;
432
+ const minutes = parseInt(timeParts[1], 10) || 0;
433
+ const seconds = parseInt(timeParts[2], 10) || 0;
434
+
435
+ return hours * 3600 + minutes * 60 + seconds;
436
+ }
437
+
438
+ // XXX秒转换成00时00分00秒格式
439
+ function timeSecondFormat(n, _l) {
440
+ const len = _l || 3;
441
+ const num = parseInt(n, 10);
442
+ if (num >= 0) {
443
+ let h = parseInt(num / 3600, 10);
444
+ let m = parseInt((num % 3600) / 60, 10);
445
+ let s = num % 60;
446
+ h = h > 9 ? h : `0${h}`;
447
+ m = m > 9 ? m : `0${m}`;
448
+ s = s > 9 ? s : `0${s}`;
449
+ switch (len) {
450
+ case 2:
451
+ return { m, s };
452
+ case 3:
453
+ return { h, m, s };
454
+ default:
455
+ return {};
456
+ }
457
+ }
458
+ return {};
459
+ }
460
+
461
+ // 保存首次进入路径上携带的参数
462
+ function setFirstEntryPath(params) {
463
+ firstEntryPath = JSON.parse(JSON.stringify(params));
464
+ console.log(
465
+ "setFirstEntryPath.firstEntryPath:" + JSON.stringify(firstEntryPath)
466
+ );
467
+ }
468
+
469
+ // 获取首次进入路径上携带的参数
470
+ function getFirstEntryPath() {
471
+ return Store.getData("urlParams") || {};
472
+ }
473
+ // 跳转
474
+ function jumpApp(type, url, json) {
475
+ console.log("log._launchApp:" + url);
476
+ if (!url || url === " ") {
477
+ return;
478
+ }
479
+ if (window.widgetmanager && window.widgetmanager.launchApp) {
480
+ window.widgetmanager.launchApp(type, url, json, true);
481
+ } else {
482
+ if (type === "OpenUrl") {
483
+ window.open(url);
484
+ }
485
+ }
486
+ }
487
+
488
+ function handelAgreeNum(num) {
489
+ var str = "";
490
+ if (num < 100) {
491
+ str = "<100";
492
+ } else if (num >= 100 && num < 10000) {
493
+ str = num;
494
+ } else if (num >= 10000 && num <= 100000) {
495
+ str = Math.floor(num / 10000) + "W+";
496
+ } else {
497
+ str = "10W+";
498
+ }
499
+ return str;
500
+ }
501
+
502
+ // 用于数组对象深层结构查值,不严谨实现
503
+ function getObjectPath(paths, data) {
504
+ try {
505
+ let val = data;
506
+ let idx = 0;
507
+ let p;
508
+ while (idx < paths.length) {
509
+ if (val == null || val === undefined) {
510
+ return undefined;
511
+ }
512
+ p = paths[idx];
513
+ val = val[p];
514
+ idx += 1;
515
+ }
516
+ return val;
517
+ } catch (err) {
518
+ // eslint-disable-next-line no-console
519
+ console.log("xxx=== Util.path error");
520
+ }
521
+ return undefined;
522
+ }
523
+
524
+ function capitalize(str) {
525
+ if (typeof str !== "string") {
526
+ return "";
527
+ }
528
+ return `${str.charAt(0).toUpperCase()}${str.slice(1)}`;
529
+ }
530
+
531
+ function getEventRedirector(events) {
532
+ const on = {};
533
+ events.forEach((event) => {
534
+ if (Array.isArray(event)) {
535
+ const [exposedEventName, nativeEventName] = event;
536
+ if (
537
+ Object.prototype.hasOwnProperty.call(
538
+ this.$listeners,
539
+ exposedEventName
540
+ )
541
+ ) {
542
+ on[event] = this[`on${capitalize(nativeEventName)}`];
543
+ } else {
544
+ }
545
+ } else if (
546
+ Object.prototype.hasOwnProperty.call(this.$listeners, event)
547
+ ) {
548
+ on[event] = this[`on${capitalize(event)}`];
549
+ }
550
+ });
551
+ return on;
552
+ }
553
+
554
+ function ESWaterfallKit(Vue) {
555
+ Vue.registerElement("hi-fast-list-view", {
556
+ component: {
557
+ name: "FastListView",
558
+ processEventData(event, nativeEventName, nativeEventParams) {
559
+ switch (nativeEventName) {
560
+ case "onLayoutComp":
561
+ event.focusId = nativeEventParams.focusId;
562
+ break;
563
+ case "onItemClick":
564
+ event.position = nativeEventParams.position;
565
+ event.index = nativeEventParams.index;
566
+ event.item = nativeEventParams.item;
567
+ event.name = nativeEventParams.name;
568
+ event.parentPosition = nativeEventParams.parentPosition;
569
+ break;
570
+ case "onVisiblePosChanged":
571
+ event.first = nativeEventParams.first;
572
+ event.last = nativeEventParams.last;
573
+ break;
574
+ case "onItemFocused":
575
+ event.position = nativeEventParams.position;
576
+ event.index = nativeEventParams.index;
577
+ event.hasFocus = nativeEventParams.hasFocus;
578
+ event.isFocused = nativeEventParams.hasFocus;
579
+ event.item = nativeEventParams.item;
580
+ event.name = nativeEventParams.name;
581
+ event.parentPosition = nativeEventParams.parentPosition;
582
+ break;
583
+ case "onItemBlured":
584
+ event.position = nativeEventParams.position;
585
+ event.index = nativeEventParams.index;
586
+ event.hasFocus = nativeEventParams.hasFocus;
587
+ event.isFocused = nativeEventParams.hasFocus;
588
+ event.item = nativeEventParams.item;
589
+ event.name = nativeEventParams.name;
590
+ event.parentPosition = nativeEventParams.parentPosition;
591
+ break;
592
+ case "onBindItem":
593
+ event.position = nativeEventParams.position;
594
+ event.name = nativeEventParams.name;
595
+ break;
596
+ case "onUnbindItem":
597
+ event.position = nativeEventParams.position;
598
+ event.name = nativeEventParams.name;
599
+ break;
600
+ case "onScroll":
601
+ event.offsetX = nativeEventParams.contentOffset.x;
602
+ event.offsetY = nativeEventParams.contentOffset.y;
603
+ break;
604
+ case "onScrollOffset":
605
+ event.offsetY = nativeEventParams.y;
606
+ break;
607
+ case "onScrollStateChanged":
608
+ event.offsetX = nativeEventParams.contentOffset.x;
609
+ event.offsetY = nativeEventParams.contentOffset.y;
610
+ event.oldState = nativeEventParams.state.oldState;
611
+ event.newState = nativeEventParams.state.newState;
612
+ break;
613
+ case "onPageChanged":
614
+ event.position = nativeEventParams.position;
615
+ break;
616
+ case "onChildFocus":
617
+ event.child = {
618
+ index: nativeEventParams.child.index,
619
+ id: nativeEventParams.child.id,
620
+ name: nativeEventParams.child.name,
621
+ position: nativeEventParams.child.position,
622
+ };
623
+ event.focused = {
624
+ id: nativeEventParams.child.id,
625
+ name: nativeEventParams.child.name,
626
+ };
627
+ break;
628
+ case "onChildSelect":
629
+ event.child = {
630
+ index: nativeEventParams.child.index,
631
+ id: nativeEventParams.child.id,
632
+ name: nativeEventParams.child.name,
633
+ position: nativeEventParams.child.position,
634
+ };
635
+ break;
636
+ case "onFocusSearchFailed":
637
+ event.child = {
638
+ index: nativeEventParams.child.index,
639
+ id: nativeEventParams.child.id,
640
+ name: nativeEventParams.child.name,
641
+ position: nativeEventParams.child.position,
642
+ };
643
+ event.focused = {
644
+ id: nativeEventParams.child.id,
645
+ name: nativeEventParams.child.name,
646
+ };
647
+ event.direction = nativeEventParams.direction;
648
+ break;
649
+ default:
650
+ break;
651
+ }
652
+ return event;
653
+ },
654
+ },
655
+ });
656
+
657
+ // Vue.registerElement('hi-fast-scroll-view', {
658
+ // component: {
659
+ // name: 'FastScrollView',
660
+ // processEventData(event, nativeEventName, nativeEventParams) {
661
+ // switch (nativeEventName) {
662
+ // case 'onScroll':
663
+ // event.offsetX = nativeEventParams.contentOffset.x;
664
+ // event.offsetY = nativeEventParams.contentOffset.y;
665
+ // break;
666
+ // default:
667
+ // break;
668
+ // }
669
+ // return event;
670
+ // },
671
+ // },
672
+ // });
673
+
674
+ // Vue.component('scroll-view', {
675
+ // methods: {
676
+ // onScroll(evt) {
677
+ // this.$emit('scroll', evt);
678
+ // }
679
+ // },
680
+ // render(h) {
681
+ // const on = getEventRedirector.call(this, [
682
+ // ['scroll', 'scroll'],
683
+ // ]);
684
+ // return h('hi-fast-scroll-view',
685
+ // {
686
+ // on,
687
+ // ref: 'FastScrollView',
688
+ // }, this.$slots.default);
689
+ // },
690
+ // });
691
+ Vue.component("tv-list", {
692
+ methods: {
693
+ onItemClick(evt) {
694
+ this.$emit("item-click", evt);
695
+ },
696
+ onScroll(evt) {
697
+ this.$emit("scroll", evt);
698
+ },
699
+ onScrollStateChanged(evt) {
700
+ this.$emit("scroll-state-changed", evt);
701
+ },
702
+ onPageChanged(evt) {
703
+ this.$emit("page-changed", evt);
704
+ },
705
+ onLoadMore(evt) {
706
+ this.$emit("load-more", evt);
707
+ },
708
+ onLayoutComp(evt) {
709
+ this.$emit("layout-comp", evt);
710
+ },
711
+ onVisiblePosChanged(evt) {
712
+ this.$emit("visible-pos-changed", evt);
713
+ },
714
+ onItemFocused(evt) {
715
+ this.$emit("item-focused", evt);
716
+ },
717
+ onItemBlured(evt) {
718
+ this.$emit("item-blured", evt);
719
+ },
720
+ onBindItem(evt) {
721
+ this.$emit("item-bind", evt);
722
+ },
723
+ onUnbindItem(evt) {
724
+ this.$emit("item-unbind", evt);
725
+ },
726
+ hasFocus(callback) {
727
+ Vue.Native.callUIFunction(
728
+ this.$refs.FastListView,
729
+ "hasFocus",
730
+ (res) => {
731
+ callback(res);
732
+ }
733
+ );
734
+ },
735
+ updateItemProps(position, name, toUpdateMap, isRefresh) {
736
+ Vue.Native.callUIFunction(
737
+ this.$refs.FastListView,
738
+ "updateItemProps",
739
+ [name, position, toUpdateMap, isRefresh]
740
+ );
741
+ },
742
+ batchUpdateData(data) {
743
+ Vue.Native.callUIFunction(
744
+ this.$refs.FastListView,
745
+ "batchUpdateData",
746
+ [data]
747
+ );
748
+ },
749
+ setListData(data) {
750
+ Vue.Native.callUIFunction(
751
+ this.$refs.FastListView,
752
+ "setListData",
753
+ data
754
+ );
755
+ },
756
+ withInsertData(data) {
757
+ Vue.Native.callUIFunction(
758
+ this.$refs.FastListView,
759
+ "withInsertData",
760
+ data
761
+ );
762
+ },
763
+ setTempFocus() {
764
+ Vue.Native.callUIFunction(
765
+ this.$refs.FastListView,
766
+ "setTempFocus",
767
+ []
768
+ );
769
+ },
770
+ monitorLayout(id) {
771
+ Vue.Native.callUIFunction(
772
+ this.$refs.FastListView,
773
+ "monitorLayout",
774
+ [id]
775
+ );
776
+ },
777
+ setPageListData(data, focus, name) {
778
+ // console.log('requestChildFocus====pos==',name,data)
779
+ Vue.Native.callUIFunction(
780
+ this.$refs.FastListView,
781
+ "setPageListData",
782
+ [data, focus]
783
+ );
784
+ },
785
+ notifyItemInserted(data, start, name) {
786
+ // console.log('requestChildFocus====pos==',name,data)
787
+ Vue.Native.callUIFunction(
788
+ this.$refs.FastListView,
789
+ "notifyItemInserted",
790
+ [data, start]
791
+ );
792
+ },
793
+ notifyItemRemoved(data, start, name) {
794
+ // console.log('requestChildFocus====pos==',name,data)
795
+ Vue.Native.callUIFunction(
796
+ this.$refs.FastListView,
797
+ "notifyItemRemoved",
798
+ [data, start]
799
+ );
800
+ },
801
+ addListData(data) {
802
+ Vue.Native.callUIFunction(
803
+ this.$refs.FastListView,
804
+ "addListData",
805
+ data
806
+ );
807
+ },
808
+ addListDataWithParams(data, position) {
809
+ Vue.Native.callUIFunction(
810
+ this.$refs.FastListView,
811
+ "addListDataWithParams",
812
+ [data, position]
813
+ );
814
+ },
815
+ deleteItemRange(start, count) {
816
+ Vue.Native.callUIFunction(
817
+ this.$refs.FastListView,
818
+ "deleteItemRange",
819
+ [start, count]
820
+ );
821
+ },
822
+ updateItemRange(start, count, data, immediate) {
823
+ Vue.Native.callUIFunction(
824
+ this.$refs.FastListView,
825
+ "updateItemRange",
826
+ [start, count, data, immediate]
827
+ );
828
+ },
829
+ updateItem(position, itemData) {
830
+ Vue.Native.callUIFunction(
831
+ this.$refs.FastListView,
832
+ "updateItem",
833
+ [position, itemData]
834
+ );
835
+ },
836
+ setBlockFocusDirectionsOnFail(data) {
837
+ Vue.Native.callUIFunction(
838
+ this.$refs.FastListView,
839
+ "setBlockFocusDirectionsOnFail",
840
+ [data]
841
+ );
842
+ },
843
+ setListDataWithParams(data, autoChangeVisible, position) {
844
+ Vue.Native.callUIFunction(
845
+ this.$refs.FastListView,
846
+ "setListDataWithParams",
847
+ [data, autoChangeVisible, position]
848
+ );
849
+ },
850
+ prepareForRecycle() {
851
+ Vue.Native.callUIFunction(
852
+ this.$refs.FastListView,
853
+ "prepareForRecycle",
854
+ []
855
+ );
856
+ },
857
+ setDisplay(b) {
858
+ Vue.Native.callUIFunction(
859
+ this.$refs.FastListView,
860
+ "setDisplay",
861
+ [b]
862
+ );
863
+ },
864
+ scrollToTop() {
865
+ Vue.Native.callUIFunction(
866
+ this.$refs.FastListView,
867
+ "scrollToTop",
868
+ []
869
+ );
870
+ },
871
+ changeDisplayState(display, autoDataState) {
872
+ Vue.Native.callUIFunction(
873
+ this.$refs.FastListView,
874
+ "changeDisplayState",
875
+ [display, autoDataState]
876
+ );
877
+ },
878
+ notifySaveInstance() {
879
+ Vue.Native.callUIFunction(
880
+ this.$refs.FastListView,
881
+ "notifySaveInstance",
882
+ []
883
+ );
884
+ },
885
+ notifyRestoreInstance() {
886
+ Vue.Native.callUIFunction(
887
+ this.$refs.FastListView,
888
+ "notifyRestoreInstance",
889
+ []
890
+ );
891
+ },
892
+ pausePostTask() {
893
+ Vue.Native.callUIFunction(
894
+ this.$refs.FastListView,
895
+ "pausePostTask",
896
+ []
897
+ );
898
+ },
899
+ resumePostTask() {
900
+ Vue.Native.callUIFunction(
901
+ this.$refs.FastListView,
902
+ "resumePostTask",
903
+ []
904
+ );
905
+ },
906
+ getScrollOffset(callback) {
907
+ Vue.Native.callUIFunction(
908
+ this.$refs.FastListView,
909
+ "getScrollOffset",
910
+ [],
911
+ callback
912
+ );
913
+ },
914
+ getScrollPosition(lockFocus, callback) {
915
+ Vue.Native.callUIFunction(
916
+ this.$refs.FastListView,
917
+ "getScrollPosition",
918
+ [lockFocus],
919
+ callback
920
+ );
921
+ },
922
+ clearFocusMemory() {
923
+ Vue.Native.callUIFunction(
924
+ this.$refs.FastListView,
925
+ "clearFocusMemory"
926
+ );
927
+ },
928
+ scrollToPositionWithParams(index) {
929
+ Vue.Native.callUIFunction(
930
+ this.$refs.FastListView,
931
+ "scrollToPositionWithParams",
932
+ [index]
933
+ );
934
+ },
935
+ scrollToPosition(index, fls) {
936
+ Vue.Native.callUIFunction(
937
+ this.$refs.FastListView,
938
+ "scrollToPosition",
939
+ [index, fls]
940
+ );
941
+ },
942
+ setCurrentPage(index) {
943
+ Vue.Native.callUIFunction(
944
+ this.$refs.FastListView,
945
+ "setCurrentPage",
946
+ [index]
947
+ );
948
+ },
949
+ scrollToIndex(x, y, anim, offset, duration) {
950
+ Vue.Native.callUIFunction(
951
+ this.$refs.FastListView,
952
+ "scrollToPositionWithOffset",
953
+ [y, offset, anim]
954
+ );
955
+ },
956
+ destroy() {
957
+ Vue.Native.callUIFunction(
958
+ this.$refs.FastListView,
959
+ "destroy",
960
+ []
961
+ );
962
+ },
963
+ requestChildFocus(pos) {
964
+ Vue.Native.callUIFunction(
965
+ this.$refs.FastListView,
966
+ "requestChildFocus",
967
+ [pos]
968
+ );
969
+ },
970
+ onScrollYGreaterReference() {
971
+ this.$emit("scrollYGreaterReference");
972
+ },
973
+ clearPostTask() {
974
+ Vue.Native.callUIFunction(
975
+ this.$refs.FastListView,
976
+ "clearAllPostTask",
977
+ []
978
+ );
979
+ },
980
+
981
+ clearFocus() {
982
+ Vue.Native.callUIFunction(
983
+ this.$refs.FastListView,
984
+ "clearFocus",
985
+ []
986
+ );
987
+ },
988
+ onScrollYLesserReference() {
989
+ this.$emit("scrollYLesserReference");
990
+ },
991
+ setSelectChildPosition(pos, b) {
992
+ Vue.Native.callUIFunction(
993
+ this.$refs.FastListView,
994
+ "setSelectChildPosition",
995
+ [pos, b]
996
+ );
997
+ },
998
+ blockRootFocus() {
999
+ Vue.Native.callUIFunction(
1000
+ this.$refs.FastListView,
1001
+ "blockRootFocus",
1002
+ []
1003
+ );
1004
+ },
1005
+ unBlockRootFocus() {
1006
+ Vue.Native.callUIFunction(
1007
+ this.$refs.FastListView,
1008
+ "unBlockRootFocus",
1009
+ []
1010
+ );
1011
+ },
1012
+ },
1013
+ render(h) {
1014
+ const on = getEventRedirector.call(this, [
1015
+ ["layout-comp", "layoutComp"],
1016
+ ["load-more", "loadMore"],
1017
+ ["visible-pos-changed", "visiblePosChanged"],
1018
+ ["item-focused", "itemFocused"],
1019
+ ["item-blured", "itemBlured"],
1020
+ ["scroll", "scroll"],
1021
+ ["item-click", "itemClick"],
1022
+ ["item-bind", "bindItem"],
1023
+ ["item-unbind", "unbindItem"],
1024
+ ["page-changed", "pageChanged"],
1025
+ ["scroll-state-changed", "scrollStateChanged"],
1026
+ ["scrollYGreaterReference", "scrollYGreaterReference"],
1027
+ ["scrollYLesserReference", "scrollYLesserReference"],
1028
+ ]);
1029
+ return h(
1030
+ "hi-fast-list-view",
1031
+ {
1032
+ on,
1033
+ ref: "FastListView",
1034
+ },
1035
+ this.$slots.default
1036
+ );
1037
+ },
1038
+ });
1039
+
1040
+ Vue.registerElement("hi-fast-item-view", {
1041
+ component: {
1042
+ name: "FastItemView",
1043
+ processEventData(event, nativeEventName, nativeEventParams) {
1044
+ switch (nativeEventName) {
1045
+ case "onBindItem":
1046
+ event.position = nativeEventParams.position;
1047
+ event.name = nativeEventParams.name;
1048
+ event.item = nativeEventParams.item;
1049
+ break;
1050
+ case "onItemFocused":
1051
+ event.position = nativeEventParams.position;
1052
+ event.name = nativeEventParams.name;
1053
+ event.item = nativeEventParams.item;
1054
+ event.parentPosition = nativeEventParams.parentPosition;
1055
+ event.hasFocus = nativeEventParams.hasFocus;
1056
+ break;
1057
+ case "onItemBlured":
1058
+ event.position = nativeEventParams.position;
1059
+ event.name = nativeEventParams.name;
1060
+ event.item = nativeEventParams.item;
1061
+ event.parentPosition = nativeEventParams.parentPosition;
1062
+ event.hasFocus = nativeEventParams.hasFocus;
1063
+ break;
1064
+ case "onItemRecycled":
1065
+ event.position = nativeEventParams.position;
1066
+ event.name = nativeEventParams.name;
1067
+ event.item = nativeEventParams.item;
1068
+ break;
1069
+ case "onAttachedToWindow":
1070
+ event.position = nativeEventParams.position;
1071
+ event.name = nativeEventParams.name;
1072
+ event.item = nativeEventParams.item;
1073
+ break;
1074
+ case "onDetachedFromWindow":
1075
+ event.position = nativeEventParams.position;
1076
+ event.name = nativeEventParams.name;
1077
+ event.item = nativeEventParams.item;
1078
+ break;
1079
+ case "onItemClick":
1080
+ event.position = nativeEventParams.position;
1081
+ event.index = nativeEventParams.index;
1082
+ event.item = nativeEventParams.item;
1083
+ event.name = nativeEventParams.name;
1084
+ event.parentPosition = nativeEventParams.parentPosition;
1085
+ break;
1086
+ default:
1087
+ break;
1088
+ }
1089
+ return event;
1090
+ },
1091
+ },
1092
+ });
1093
+
1094
+ Vue.component("tv-item", {
1095
+ methods: {
1096
+ updateItem(posInList, data) {
1097
+ Vue.Native.callUIFunction(
1098
+ this.$refs.FastItemView,
1099
+ "updateItem",
1100
+ [posInList, data]
1101
+ );
1102
+ },
1103
+ dispatchItemFunction(position, name, funcName, params) {
1104
+ Vue.Native.callUIFunction(
1105
+ this.$refs.FastItemView,
1106
+ "dispatchItemFunction",
1107
+ [position, name, funcName, params]
1108
+ );
1109
+ },
1110
+ updateItemProps(position, name, toUpdateMap) {
1111
+ Vue.Native.callUIFunction(
1112
+ this.$refs.FastItemView,
1113
+ "updateItemProps",
1114
+ [name, position, toUpdateMap, true]
1115
+ );
1116
+ },
1117
+ batch(pos) {
1118
+ Vue.Native.callUIFunction(this.$refs.FastItemView, "batch", [
1119
+ pos,
1120
+ ]);
1121
+ },
1122
+ onBindItem(evt) {
1123
+ this.$emit("item-bind", evt);
1124
+ },
1125
+ onItemRecycled(evt) {
1126
+ this.$emit("item-unbind", evt);
1127
+ },
1128
+ onAttachedToWindow(evt) {
1129
+ this.$emit("item-attached", evt);
1130
+ },
1131
+ onDetachedFromWindow(evt) {
1132
+ this.$emit("item-detached", evt);
1133
+ },
1134
+ onItemFocused(evt) {
1135
+ this.$emit("item-focused", evt);
1136
+ },
1137
+ onItemClick(evt) {
1138
+ this.$emit("item-click", evt);
1139
+ },
1140
+ },
1141
+ render(h) {
1142
+ const on = getEventRedirector.call(this, [
1143
+ ["item-bind", "bindItem"],
1144
+ ["item-unbind", "itemRecycled"],
1145
+ ["item-focused", "itemFocused"],
1146
+ ["item-attached", "attachedToWindow"],
1147
+ ["item-detached", "detachedFromWindow"],
1148
+ ]);
1149
+ return h(
1150
+ "hi-fast-item-view",
1151
+ {
1152
+ on,
1153
+ ref: "FastItemView",
1154
+ },
1155
+ this.$slots.default
1156
+ );
1157
+ },
1158
+ });
1159
+ Vue.component("vertical-text-view", {
1160
+ render(h) {
1161
+ return h(
1162
+ "hi-vertical-text-view",
1163
+ {
1164
+ ref: "YSTVerticalMarqueeTextView",
1165
+ },
1166
+ this.$slots.default
1167
+ );
1168
+ },
1169
+ });
1170
+ Vue.registerElement("hi-vertical-text-view", {
1171
+ component: {
1172
+ name: "YSTVerticalMarqueeTextView",
1173
+ },
1174
+ });
1175
+ }
1176
+
1177
+ // 数组空过滤
1178
+ function arrayEmptyFilter(arr) {
1179
+ let _arr = [];
1180
+ if (arr) {
1181
+ for (let i = 0; i < arr.length; i++) {
1182
+ if (arr[i]) {
1183
+ _arr.push(arr[i]);
1184
+ }
1185
+ }
1186
+ return _arr;
1187
+ }
1188
+ return _arr;
1189
+ }
1190
+
1191
+ const skyconMap = {
1192
+ 'CLEAR_DAY': '晴天',
1193
+ 'CLEAR_NIGHT': '晴夜',
1194
+ 'PARTLY_CLOUDY_DAY': '多云',
1195
+ 'PARTLY_CLOUDY_NIGHT': '夜间多云',
1196
+ 'CLOUDY': '阴天',
1197
+ 'RAIN': '雨天',
1198
+ 'SNOW': '雪天',
1199
+ 'WIND': '大风',
1200
+ 'HAZE': '雾霾'
1201
+ }
1202
+
1203
+ /**
1204
+ * 将天气字段映射为中文字
1205
+ * @param {*} key
1206
+ * @returns
1207
+ */
1208
+ function mapSkyconToText(key) {
1209
+ return skyconMap[key]
1210
+ }
1211
+
1212
+ const dayTextList = '日一二三四五六';
1213
+
1214
+ /**
1215
+ * 返回当前‘周几’
1216
+ * @param {*} dateText 'YYYY-MM-DD'格式日期
1217
+ * @returns
1218
+ */
1219
+ function getDayText(dateText, pre = '周') {
1220
+ return `${pre}${dayTextList[new Date(dateText).getDay()]}`;
1221
+ }
1222
+
1223
+ /**
1224
+ * 获取风向
1225
+ */
1226
+ function getWindDirText(direction) {
1227
+ if (direction > 11.25 && direction < 33.76) {
1228
+ return "东北";
1229
+ } else if (direction > 33.75 && direction < 56.26) {
1230
+ return "东北";
1231
+ } else if (direction > 56.25 && direction < 78.76) {
1232
+ return "东北";
1233
+ } else if (direction > 78.75 && direction < 101.26) {
1234
+ return "东";
1235
+ } else if (direction > 101.25 && direction < 123.76) {
1236
+ return "东南";
1237
+ } else if (direction > 123.75 && direction < 146.26) {
1238
+ return "东南";
1239
+ } else if (direction > 146.25 && direction < 168.76) {
1240
+ return "东南";
1241
+ } else if (direction > 168.75 && direction < 191.26) {
1242
+ return "南";
1243
+ } else if (direction > 191.25 && direction < 213.76) {
1244
+ return "西南";
1245
+ } else if (direction > 213.75 && direction < 236.26) {
1246
+ return "西南";
1247
+ } else if (direction > 236.25 && direction < 258.76) {
1248
+ return "西南";
1249
+ } else if (direction > 258.75 && direction < 281.26) {
1250
+ return "西";
1251
+ } else if (direction > 281.25 && direction < 303.76) {
1252
+ return "西北";
1253
+ } else if (direction > 303.75 && direction < 326.26) {
1254
+ return "西北";
1255
+ } else if (direction > 326.25 && direction < 348.76) {
1256
+ return "西北";
1257
+ } else {
1258
+ return "北";
1259
+ }
1260
+ }
1261
+
1262
+ function getWindSpeed(speed) {
1263
+ if (speed < 1) {
1264
+ return "0";
1265
+ } else if (1 <= speed && speed < 6) {
1266
+ return "1";
1267
+ } else if (5 < speed && speed < 12) {
1268
+ return "2";
1269
+ } else if (11 < speed && speed < 20) {
1270
+ return "3";
1271
+ } else if (19 < speed && speed < 29) {
1272
+ return "4";
1273
+ } else if (28 < speed && speed < 39) {
1274
+ return "5";
1275
+ } else if (38 < speed && speed < 50) {
1276
+ return "6";
1277
+ } else if (49 < speed && speed < 62) {
1278
+ return "7";
1279
+ } else if (61 < speed && speed < 75) {
1280
+ return "8";
1281
+ } else if (74 < speed && speed < 89) {
1282
+ return "9";
1283
+ } else if (88 < speed && speed < 103) {
1284
+ return "10";
1285
+ } else if (102 < speed && speed < 118) {
1286
+ return "11";
1287
+ } else if (117 < speed && speed < 134) {
1288
+ return "12";
1289
+ } else if (133 < speed && speed < 150) {
1290
+ return "13";
1291
+ } else if (149 < speed && speed < 167) {
1292
+ return "14";
1293
+ } else if (167 < speed && speed < 184) {
1294
+ return "15";
1295
+ } else if (183 < speed && speed < 202) {
1296
+ return "16";
1297
+ } else if (201 < speed && speed < 221) {
1298
+ return "17";
1299
+ } else {
1300
+ return "18";
1301
+ }
1302
+ }
1303
+
1304
+ /**
1305
+ * 获取风力风向文字
1306
+ */
1307
+ function getWindText(windItem) {
1308
+ const minWindSpeed = getWindSpeed(windItem.min.speed);
1309
+ const maxWindSpeed = getWindSpeed(windItem.max.speed);
1310
+ const windDirText = getWindDirText(windItem.avg.direction);
1311
+ return `${windDirText}风,${minWindSpeed}~${maxWindSpeed}级`
1312
+ }
1313
+
1314
+ // 设置图标
1315
+ function setCorner(arr) {
1316
+ let obj = {
1317
+ position1: {
1318
+ img: "",
1319
+ visible: "gone",
1320
+ },
1321
+ position2: {
1322
+ img: "",
1323
+ visible: "gone",
1324
+ },
1325
+ position3: {
1326
+ img: "",
1327
+ visible: "gone",
1328
+ },
1329
+ position4: {
1330
+ img: "",
1331
+ visible: "gone",
1332
+ },
1333
+ };
1334
+ if (arr && arr.length) {
1335
+ for (let i = 0; i < 4; i++) {
1336
+ if (arr[i] && arr[i].position && arr[i].cornerImg) {
1337
+ obj["position" + arr[i].position].img =
1338
+ arr[i].cornerImg;
1339
+ obj["position" + arr[i].position].visible = "visible";
1340
+ }
1341
+ }
1342
+ }
1343
+ return obj;
1344
+ }
1345
+
1346
+ function queryGradationBackgroundInfo(params) {
1347
+ try {
1348
+ let { defaultColor, focusColor, blurColor, radius, cornerRadii4, orientation } = params
1349
+ // const bgColors = CONFIG.GRADATION_BACKGROUND_COLORS || [];
1350
+ let radiusArr = radius > -1 ? [radius, radius, radius, radius] : cornerRadii4
1351
+ let gradationInfo = {
1352
+ defaultBg: {
1353
+ type: 0,
1354
+ shape: 0,
1355
+ orientation: orientation > -1 ? orientation : 6,
1356
+ colors: defaultColor,
1357
+ cornerRadii4: radiusArr,
1358
+ },
1359
+ focusBg: {
1360
+ type: 0,
1361
+ shape: 0,
1362
+ orientation: orientation > -1 ? orientation : 6,
1363
+ colors: focusColor ? focusColor : defaultColor,
1364
+ cornerRadii4: radiusArr,
1365
+ },
1366
+ blurBg: {
1367
+ type: 0,
1368
+ shape: 0,
1369
+ orientation: orientation > -1 ? orientation : 6,
1370
+ colors: blurColor ? blurColor: defaultColor,
1371
+ cornerRadii4: radiusArr,
1372
+ }
1373
+ }
1374
+ if (!blurColor) {
1375
+ gradationInfo.blurBg = gradationInfo.defaultBg
1376
+ }
1377
+ return gradationInfo
1378
+ } catch (error) {
1379
+ console.log("queryGradationBackground", error);
1380
+ }
1381
+ }
1382
+ function throttle (func, wait, options) {
1383
+ let timeout;
1384
+ let context;
1385
+ let args;
1386
+ let result;
1387
+ // 上一次执行回调的时间戳
1388
+ let previous = 0;
1389
+ // 无传入参数时,初始化 options 为空对象
1390
+ if (!options) options = {};
1391
+ const later = function () {
1392
+ // 当设置 { leading: false } 时
1393
+ // 每次触发回调函数后设置 previous 为 0
1394
+ // 不然为当前时间
1395
+ previous = options.leading === false ? 0 : +new Date();
1396
+ // 防止内存泄漏,置为 null 便于后面根据 !timeout 设置新的 timeout
1397
+ timeout = null;
1398
+ // 执行函数
1399
+ result = func.apply(context, args);
1400
+ if (!timeout) context = args = null;
1401
+ };
1402
+ // 每次触发事件回调都执行这个函数
1403
+ // 函数内判断是否执行 func
1404
+ // func 才是我们业务层代码想要执行的函数
1405
+ const throttled = function () {
1406
+ // 记录当前时间
1407
+ let now = +new Date();
1408
+ // 第一次执行时(此时 previous 为 0,之后为上一次时间戳)
1409
+ // 并且设置了 { leading: false }(表示第一次回调不执行)
1410
+ // 此时设置 previous 为当前值,表示刚执行过,本次就不执行了
1411
+ if (!previous && options.leading === false) previous = now;
1412
+ // 距离下次触发 func 还需要等待的时间
1413
+ let remaining = wait - (now - previous);
1414
+ context = this;
1415
+ args = arguments;
1416
+ // 要么是到了间隔时间了,随即触发方法(remaining <= 0)
1417
+ // 要么是没有传入 {leading: false},且第一次触发回调,即立即触发
1418
+ // 此时 previous 为 0,wait - (now - previous) 也满足 <= 0
1419
+ // 之后便会把 previous 值迅速置为 now
1420
+ if (remaining <= 0 || remaining > wait) {
1421
+ if (timeout) {
1422
+ clearTimeout(timeout);
1423
+ // clearTimeout(timeout) 并不会把 timeout 设为 null
1424
+ // 手动设置,便于后续判断
1425
+ timeout = null;
1426
+ }
1427
+ // 设置 previous 为当前时间
1428
+ previous = now;
1429
+ // 执行 func 函数
1430
+ result = func.apply(context, args);
1431
+ if (!timeout) context = args = null;
1432
+ } else if (!timeout && options.trailing !== false) {
1433
+ // 最后一次需要触发的情况
1434
+ // 如果已经存在一个定时器,则不会进入该 if 分支
1435
+ // 如果 {trailing: false},即最后一次不需要触发了,也不会进入这个分支
1436
+ // 间隔 remaining milliseconds 后触发 later 方法
1437
+ timeout = setTimeout(later, remaining);
1438
+ }
1439
+ return result;
1440
+ };
1441
+ // 手动取消
1442
+ throttled.cancel = function () {
1443
+ clearTimeout(timeout);
1444
+ previous = 0;
1445
+ timeout = context = args = null;
1446
+ };
1447
+ // 执行 _.throttle 返回 throttled 函数
1448
+ return throttled;
1449
+ };
1450
+ // aes加密
1451
+ function aesEncrypt(_aesKey, _data) {
1452
+ var key = CryptoJS.enc.Utf8.parse(_aesKey);
1453
+ var encryptedData = CryptoJS.AES.encrypt(_data, key, {
1454
+ mode: CryptoJS.mode.ECB,
1455
+ padding: CryptoJS.pad.Pkcs7
1456
+ });
1457
+ var hexData = encryptedData.ciphertext.toString();
1458
+ return hexData.toUpperCase();
1459
+ };
1460
+ export {
1461
+ warn,
1462
+ isFunction,
1463
+ isArray,
1464
+ appInfo,
1465
+ KEYCODE,
1466
+ dateFormt,
1467
+ handleDate,
1468
+ handleChanl,
1469
+ formatDuring,
1470
+ filterChannelData,
1471
+ arrFindIndex,
1472
+ timeToSeconds,
1473
+ timeSecondFormat,
1474
+ setFirstEntryPath,
1475
+ getFirstEntryPath,
1476
+ formatDate,
1477
+ jumpApp,
1478
+ getObjectPath,
1479
+ formatSeconds,
1480
+ formatTime,
1481
+ getLunarTime,
1482
+ handelAgreeNum,
1483
+ ESWaterfallKit,
1484
+ arrayEmptyFilter,
1485
+ mapSkyconToText,
1486
+ getDayText,
1487
+ getWindText,
1488
+ setCorner,
1489
+ queryGradationBackgroundInfo,
1490
+ throttle,
1491
+ aesEncrypt
1492
+ };