@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.
- package/dist/aiSpaceHome.js +1 -0
- package/package.json +73 -0
- package/src/assets/raw/ani/raise_like/agent-thinking.json +1 -0
- package/src/assets/raw/ani/raise_like/detail-video-loading.json +1 -0
- package/src/assets/raw/ani/raise_like/empty_buttom.json +1 -0
- package/src/assets/raw/ani/raise_like/empty_person.json +1 -0
- package/src/assets/raw/ani/raise_like/empty_top.json +1 -0
- package/src/assets/raw/ani/raise_like/film-loading.json +1 -0
- package/src/assets/raw/ani/raise_like/globle-loading-icon.json +1 -0
- package/src/assets/raw/ani/raise_like/loading.json +1 -0
- package/src/assets/raw/ani/raise_like/new-loading.json +1 -0
- package/src/assets/raw/config.js +9 -0
- package/src/assets/raw/config_dev.js +209 -0
- package/src/assets/raw/config_prod.js +213 -0
- package/src/assets/raw/detail/agent-answer-line.png +0 -0
- package/src/assets/raw/detail/agent-dialog-arrow.png +0 -0
- package/src/assets/raw/detail/agent-dialog-bottom-bg.png +0 -0
- package/src/assets/raw/detail/agent-listening-bottom.webp +0 -0
- package/src/assets/raw/detail/agent-question-line.png +0 -0
- package/src/assets/raw/detail/agent-thinking.webp +0 -0
- package/src/assets/raw/detail/ai-xiao-jia-avatar.png +0 -0
- package/src/assets/raw/detail/ai_look_together.png +0 -0
- package/src/assets/raw/detail/caption_kuaikan_font_img.png +0 -0
- package/src/assets/raw/detail/collection-icon.png +0 -0
- package/src/assets/raw/detail/collection-select.png +0 -0
- package/src/assets/raw/detail/considering.png +0 -0
- package/src/assets/raw/detail/detail-btn-collect-focus.png +0 -0
- package/src/assets/raw/detail/detail-btn-collect-icon.png +0 -0
- package/src/assets/raw/detail/detail-btn-collect-select-icon.png +0 -0
- package/src/assets/raw/detail/detail-btn-fullscreen-focus.png +0 -0
- package/src/assets/raw/detail/detail-btn-fullscreen-icon.png +0 -0
- package/src/assets/raw/detail/detail-btn-information-focus.png +0 -0
- package/src/assets/raw/detail/detail-btn-information-icon.png +0 -0
- package/src/assets/raw/detail/detail-btn-order-icon.png +0 -0
- package/src/assets/raw/detail/detail-btn-select-bottom-focus.png +0 -0
- package/src/assets/raw/detail/detail-btn-select-bottom-icon.png +0 -0
- package/src/assets/raw/detail/detail-btn-select-top-focus.png +0 -0
- package/src/assets/raw/detail/detail-btn-select-up-icon.png +0 -0
- package/src/assets/raw/detail/detail-full-screen-mask.png +0 -0
- package/src/assets/raw/detail/detail-select-left-mask.png +0 -0
- package/src/assets/raw/detail/detail-select-right-mask.png +0 -0
- package/src/assets/raw/detail/detail_caption_kuaikan_img.png +0 -0
- package/src/assets/raw/detail/detail_caption_kuaikan_list_bg.png +0 -0
- package/src/assets/raw/detail/detail_plot_kuaikan_img.png +0 -0
- package/src/assets/raw/detail/detail_plot_kuaikan_list_bg.png +0 -0
- package/src/assets/raw/detail/detail_plot_poster_mask.png +0 -0
- package/src/assets/raw/detail/detail_role_kuaikan_img.png +0 -0
- package/src/assets/raw/detail/detail_role_kuaikan_list_bg.png +0 -0
- package/src/assets/raw/detail/detail_role_poster_mask.png +0 -0
- package/src/assets/raw/detail/dian_bo.png +0 -0
- package/src/assets/raw/detail/globle-error-bg.png +0 -0
- package/src/assets/raw/detail/globle-error-icon.png +0 -0
- package/src/assets/raw/detail/high-lights-arrow-focus.png +0 -0
- package/src/assets/raw/detail/high-lights-arrow.png +0 -0
- package/src/assets/raw/detail/introduction-dialog-bg.png +0 -0
- package/src/assets/raw/detail/introduction-dialog-bottom-mask.png +0 -0
- package/src/assets/raw/detail/introduction-dialog-top-mask.png +0 -0
- package/src/assets/raw/detail/kuaikan-btn-bg.png +0 -0
- package/src/assets/raw/detail/kuaikan-btn-title.png +0 -0
- package/src/assets/raw/detail/kuaikan-tab-right-mask.png +0 -0
- package/src/assets/raw/detail/kuaikan.png +0 -0
- package/src/assets/raw/detail/listening-bg.png +0 -0
- package/src/assets/raw/detail/listening-demo.png +0 -0
- package/src/assets/raw/detail/look-more-left-arrow.png +0 -0
- package/src/assets/raw/detail/no-network-icon.png +0 -0
- package/src/assets/raw/detail/order-pay-icon.png +0 -0
- package/src/assets/raw/detail/order-pay-select.png +0 -0
- package/src/assets/raw/detail/play-load-mask.png +0 -0
- package/src/assets/raw/detail/play-loading-bg.png +0 -0
- package/src/assets/raw/detail/play-loading-screen-bg.webp +0 -0
- package/src/assets/raw/detail/play-video-focus.gif +0 -0
- package/src/assets/raw/detail/play-video-icon.gif +0 -0
- package/src/assets/raw/detail/plot_kuaikan_font_img.png +0 -0
- package/src/assets/raw/detail/progress-btn-icon.png +0 -0
- package/src/assets/raw/detail/progress-pause-icon.png +0 -0
- package/src/assets/raw/detail/progress-play-icon.png +0 -0
- package/src/assets/raw/detail/role_kuaikan_font_img.png +0 -0
- package/src/assets/raw/detail/select.png +0 -0
- package/src/assets/raw/detail/speed-icon.png +0 -0
- package/src/assets/raw/detail/thinking-demo.png +0 -0
- package/src/assets/raw/detail/toast-title-icon.png +0 -0
- package/src/assets/raw/detail/voice-answer-icon.png +0 -0
- package/src/assets/raw/detail/voice-question-icon.png +0 -0
- package/src/assets/raw/detail/wonderful-left-mask.png +0 -0
- package/src/assets/raw/detail/wonderful-list-left-mask.png +0 -0
- package/src/assets/raw/detail/wonderful-list-right-mask.png +0 -0
- package/src/assets/raw/eaNew/address-icon.png +0 -0
- package/src/assets/raw/eaNew/ai-icon-default.png +0 -0
- package/src/assets/raw/eaNew/ai-icon-focused.png +0 -0
- package/src/assets/raw/eaNew/ai-main-title-bg-focus.png +0 -0
- package/src/assets/raw/eaNew/ai-main-title-bg.png +0 -0
- package/src/assets/raw/eaNew/community-notice-avatar.png +0 -0
- package/src/assets/raw/eaNew/community-notice-item-bg.png +0 -0
- package/src/assets/raw/eaNew/ea-person-bg.png +0 -0
- package/src/assets/raw/eaNew/ea-person-left-desc.png +0 -0
- package/src/assets/raw/eaNew/hui-shop-item-bg.png +0 -0
- package/src/assets/raw/eaNew/news-item-bg.png +0 -0
- package/src/assets/raw/eaNew/schedule-item-bg-will-start.png +0 -0
- package/src/assets/raw/eaNew/schedule-item-bg.png +0 -0
- package/src/assets/raw/eaNew/schedule-item-will-start-icon.png +0 -0
- package/src/assets/raw/eaNew/video-bottom-mask.webp +0 -0
- package/src/assets/raw/fonts/STYuanti-SC-Bold.ttf +0 -0
- package/src/assets/raw/icons/avator/cartoon-1.webp +0 -0
- package/src/assets/raw/icons/avator/cartoon-2.webp +0 -0
- package/src/assets/raw/icons/avator/cartoon-3.webp +0 -0
- package/src/assets/raw/icons/avator/cartoon-4.webp +0 -0
- package/src/assets/raw/icons/avator/cartoon-5.webp +0 -0
- package/src/assets/raw/icons/avator/cartoon-6.webp +0 -0
- package/src/assets/raw/icons/avator/classic-1.webp +0 -0
- package/src/assets/raw/icons/avator/classic-2.webp +0 -0
- package/src/assets/raw/icons/avator/classic-3.webp +0 -0
- package/src/assets/raw/icons/avator/classic-4.webp +0 -0
- package/src/assets/raw/icons/avator/classic-5.webp +0 -0
- package/src/assets/raw/icons/avator/classic-6.webp +0 -0
- package/src/assets/raw/icons/avator/classic-7.webp +0 -0
- package/src/assets/raw/icons/avator/classic-8.webp +0 -0
- package/src/assets/raw/image/agentList/agent-icon.png +0 -0
- package/src/assets/raw/image/ai.png +0 -0
- package/src/assets/raw/image/aiSpace/ai_space_avator.png +0 -0
- package/src/assets/raw/image/aiSpace/ai_space_bg.webp +0 -0
- package/src/assets/raw/image/aiSpace/ai_space_bg_bottom.png +0 -0
- package/src/assets/raw/image/aiSpace/ai_space_bg_top.png +0 -0
- package/src/assets/raw/image/aiSpace/ai_space_defalut_bg.webp +0 -0
- package/src/assets/raw/image/aiSpace/ai_space_ea_bg.webp +0 -0
- package/src/assets/raw/image/aiSpace/ai_space_gui_bg.png +0 -0
- package/src/assets/raw/image/aiSpace/ai_space_line.png +0 -0
- package/src/assets/raw/image/aiSpace/back_btn_icon.png +0 -0
- package/src/assets/raw/image/aiSpace/card_bg.png +0 -0
- package/src/assets/raw/image/aiSpace/chat_agent_icon.png +0 -0
- package/src/assets/raw/image/aiSpace/chat_agent_icon_focus.png +0 -0
- package/src/assets/raw/image/aiSpace/chat_history_icon.png +0 -0
- package/src/assets/raw/image/aiSpace/chat_history_icon_focus.png +0 -0
- package/src/assets/raw/image/aiSpace/chat_home_icon.png +0 -0
- package/src/assets/raw/image/aiSpace/chat_home_icon_focus.png +0 -0
- package/src/assets/raw/image/aiSpace/cinema-bg.png +0 -0
- package/src/assets/raw/image/aiSpace/dialog-text-logo.png +0 -0
- package/src/assets/raw/image/aiSpace/dialog_ea_tip_bg.webp +0 -0
- package/src/assets/raw/image/aiSpace/dialog_record_bg.webp +0 -0
- package/src/assets/raw/image/aiSpace/dialog_sa_tip_bg.webp +0 -0
- package/src/assets/raw/image/aiSpace/discount_bg.png +0 -0
- package/src/assets/raw/image/aiSpace/dongtai-icon.png +0 -0
- package/src/assets/raw/image/aiSpace/dynamic-line.png +0 -0
- package/src/assets/raw/image/aiSpace/ea-page-bottom-mask.webp +0 -0
- package/src/assets/raw/image/aiSpace/ea-page-top-mask.webp +0 -0
- package/src/assets/raw/image/aiSpace/eaAvator/news.png +0 -0
- package/src/assets/raw/image/aiSpace/eaAvator/notice.png +0 -0
- package/src/assets/raw/image/aiSpace/eaAvator/schedule.png +0 -0
- package/src/assets/raw/image/aiSpace/eaAvator/shop.png +0 -0
- package/src/assets/raw/image/aiSpace/eaAvator/vod.png +0 -0
- package/src/assets/raw/image/aiSpace/eaAvator/weather.png +0 -0
- package/src/assets/raw/image/aiSpace/ea_video_default_img.png +0 -0
- package/src/assets/raw/image/aiSpace/empty.webp +0 -0
- package/src/assets/raw/image/aiSpace/film-divider.png +0 -0
- package/src/assets/raw/image/aiSpace/film-icon.png +0 -0
- package/src/assets/raw/image/aiSpace/jarvis_agent_EA_dialog_bg.webp +0 -0
- package/src/assets/raw/image/aiSpace/jarvis_agent_SA_dialog_bg.webp +0 -0
- package/src/assets/raw/image/aiSpace/jarvis_agent_small_EA_dialog_bg.webp +0 -0
- package/src/assets/raw/image/aiSpace/jarvis_agent_small_SA_dialog_bg.webp +0 -0
- package/src/assets/raw/image/aiSpace/jarvis_space_dialog_bg.webp +0 -0
- package/src/assets/raw/image/aiSpace/new_about_bg.png +0 -0
- package/src/assets/raw/image/aiSpace/news_content_bg.png +0 -0
- package/src/assets/raw/image/aiSpace/no-data.png +0 -0
- package/src/assets/raw/image/aiSpace/notice_focus_icon.png +0 -0
- package/src/assets/raw/image/aiSpace/notice_icon.png +0 -0
- package/src/assets/raw/image/aiSpace/program_recommend_bg.png +0 -0
- package/src/assets/raw/image/aiSpace/recommend-icon.png +0 -0
- package/src/assets/raw/image/aiSpace/recommend-score-icon.png +0 -0
- package/src/assets/raw/image/aiSpace/recommend-time-icon.png +0 -0
- package/src/assets/raw/image/aiSpace/recommend_box_bg.png +0 -0
- package/src/assets/raw/image/aiSpace/saAvator/ea-avator.png +0 -0
- package/src/assets/raw/image/aiSpace/saAvator/sa-avator-3.png +0 -0
- package/src/assets/raw/image/aiSpace/schedule-icon-focus.png +0 -0
- package/src/assets/raw/image/aiSpace/schedule-icon.png +0 -0
- package/src/assets/raw/image/aiSpace/scroll_focus_bg.png +0 -0
- package/src/assets/raw/image/aiSpace/shop-car-state-0.png +0 -0
- package/src/assets/raw/image/aiSpace/shop-car-state-1.png +0 -0
- package/src/assets/raw/image/aiSpace/shop-car-state-bg.png +0 -0
- package/src/assets/raw/image/aiSpace/shop-car-state-focus-0.png +0 -0
- package/src/assets/raw/image/aiSpace/shop-car-state-focus-1.png +0 -0
- package/src/assets/raw/image/aiSpace/shop-title.png +0 -0
- package/src/assets/raw/image/aiSpace/shop_space_bg.webp +0 -0
- package/src/assets/raw/image/aiSpace/top-welcome-tips.png +0 -0
- package/src/assets/raw/image/aiSpace/trigle.png +0 -0
- package/src/assets/raw/image/aiSpace/video_default_img.jpg +0 -0
- package/src/assets/raw/image/aiSpace/video_detail_flow_mask.png +0 -0
- package/src/assets/raw/image/aiSpace/video_list_item_bg.png +0 -0
- package/src/assets/raw/image/aiSpace/yst_bg.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/agent-video-mask-1.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/agent-video-mask-2.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/bottom-bg.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/bottom-mask.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/comma-icon-2.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/comma-icon.webp +0 -0
- package/src/assets/raw/image/aiSpacePopup/divider.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/hot-mask-bg.webp +0 -0
- package/src/assets/raw/image/aiSpacePopup/hot-movie.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/hot-tv-drama.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/hot-variety-show.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/hot.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/layout0-bg-2.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/layout0-bg.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/line.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/line2.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/live-bg.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/live-poster-mask.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/live-poster.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/live.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/mask-bg-1.webp +0 -0
- package/src/assets/raw/image/aiSpacePopup/mask-bottom-bg.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/mask-top-bg.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/mask-with-item.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/mask-without-item.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/mask.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/news-bg.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/news-event-item-focus-img.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/news-event-item-inner-icon.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/news-event-left-area-bg.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/news-event-right-area-bg.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/news-event-title-icon.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/news-event-title-img.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/news-event-vertical-line.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/news-icon-2.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/news-poster-mask.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/news-poster.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/news.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/subscript.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/text-bg.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/title-wrap-bg.webp +0 -0
- package/src/assets/raw/image/aiSpacePopup/top-mask-1.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/video-bottom-mask.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/video-demo.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/video-item-mask-bg.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/video-mask.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/video-with-item-bg.webp +0 -0
- package/src/assets/raw/image/aiSpacePopup/video-without-item-bg.webp +0 -0
- package/src/assets/raw/image/aiSpacePopup/watched-bg-mask.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/waterfall-bottom-mask.png +0 -0
- package/src/assets/raw/image/aiSpacePopup/waterfall-top-mask.png +0 -0
- package/src/assets/raw/image/avator-example.png +0 -0
- package/src/assets/raw/image/axb_online_status.webp +0 -0
- package/src/assets/raw/image/chargingStation/park_icon_default.png +0 -0
- package/src/assets/raw/image/chargingStation/quick_icon.png +0 -0
- package/src/assets/raw/image/communityService/calendar_icon.png +0 -0
- package/src/assets/raw/image/communityService/hour_icon.png +0 -0
- package/src/assets/raw/image/connect_devices_bg.webp +0 -0
- package/src/assets/raw/image/corner-channel-icon.png +0 -0
- package/src/assets/raw/image/corner-future-icon.png +0 -0
- package/src/assets/raw/image/corner-live-icon.png +0 -0
- package/src/assets/raw/image/corner-not-play-icon.png +0 -0
- package/src/assets/raw/image/corner-replay-icon.png +0 -0
- package/src/assets/raw/image/corner-short-icon.png +0 -0
- package/src/assets/raw/image/corner-vod-icon.png +0 -0
- package/src/assets/raw/image/deepHome/dynamic_bg_1.png +0 -0
- package/src/assets/raw/image/deepHome/dynamic_bg_2.png +0 -0
- package/src/assets/raw/image/deepHome/dynamic_bg_3.png +0 -0
- package/src/assets/raw/image/deepHome/dynamic_bg_4.png +0 -0
- package/src/assets/raw/image/deepHome/service_dynamic_title.png +0 -0
- package/src/assets/raw/image/default_avator.png +0 -0
- package/src/assets/raw/image/download-ai-app-bg.webp +0 -0
- package/src/assets/raw/image/dui.webp +0 -0
- package/src/assets/raw/image/empty_connect.png +0 -0
- package/src/assets/raw/image/error-icon.webp +0 -0
- package/src/assets/raw/image/face_avator_image.png +0 -0
- package/src/assets/raw/image/healthCare/IOT_device_poster.webp +0 -0
- package/src/assets/raw/image/healthCare/community_notice_poster.webp +0 -0
- package/src/assets/raw/image/healthCare/location_icon.png +0 -0
- package/src/assets/raw/image/healthCare/memory_book_poster.webp +0 -0
- package/src/assets/raw/image/healthCare/schedule/circle_icon.png +0 -0
- package/src/assets/raw/image/healthCare/schedule/dashed_line1_icon.png +0 -0
- package/src/assets/raw/image/healthCare/schedule/dashed_line2_icon.png +0 -0
- package/src/assets/raw/image/healthCare/schedule/schedule_left_icon.png +0 -0
- package/src/assets/raw/image/healthCare/schedule/special_icon1.png +0 -0
- package/src/assets/raw/image/healthCare/schedule/special_icon1_focus.png +0 -0
- package/src/assets/raw/image/healthCare/schedule/special_icon2.png +0 -0
- package/src/assets/raw/image/healthCare/schedule/special_icon2_focus.png +0 -0
- package/src/assets/raw/image/healthCare/schedule/special_icon3.png +0 -0
- package/src/assets/raw/image/healthCare/schedule/special_icon3_focus.png +0 -0
- package/src/assets/raw/image/healthCare/schedule/special_icon4.png +0 -0
- package/src/assets/raw/image/healthCare/schedule/special_icon4_focus.png +0 -0
- package/src/assets/raw/image/healthCare/schedule/special_icon5.png +0 -0
- package/src/assets/raw/image/healthCare/schedule/special_icon5_focus.png +0 -0
- package/src/assets/raw/image/healthCare/schedule/special_icon6.png +0 -0
- package/src/assets/raw/image/healthCare/schedule/special_icon6_focus.png +0 -0
- package/src/assets/raw/image/healthCare/schedule/special_icon7.png +0 -0
- package/src/assets/raw/image/healthCare/schedule/special_icon7_focus.png +0 -0
- package/src/assets/raw/image/healthCare/schedule/special_icon8.png +0 -0
- package/src/assets/raw/image/healthCare/schedule/special_icon8_focus.png +0 -0
- package/src/assets/raw/image/healthCare/schedule/special_icon9.png +0 -0
- package/src/assets/raw/image/healthCare/schedule/special_icon9_focus.png +0 -0
- package/src/assets/raw/image/healthCare/schedule_default_bg.png +0 -0
- package/src/assets/raw/image/healthCare/schedule_default_poster.png +0 -0
- package/src/assets/raw/image/healthCare/screen_domination_img.png +0 -0
- package/src/assets/raw/image/healthCare/video_bottom_mask.png +0 -0
- package/src/assets/raw/image/healthCare/video_bottom_tips_icon.png +0 -0
- package/src/assets/raw/image/healthCare/video_default_poster.png +0 -0
- package/src/assets/raw/image/healthCare/weather/clear_day.png +0 -0
- package/src/assets/raw/image/healthCare/weather/cloudy.png +0 -0
- package/src/assets/raw/image/healthCare/weather/partly_cloudy_day.png +0 -0
- package/src/assets/raw/image/healthCare/weather/rain.png +0 -0
- package/src/assets/raw/image/healthCare/weather_default_bg.png +0 -0
- package/src/assets/raw/image/healthCare/weather_default_poster.png +0 -0
- package/src/assets/raw/image/healthHut/health-hut-card-bg.webp +0 -0
- package/src/assets/raw/image/healthHut/health-hut-img-0.webp +0 -0
- package/src/assets/raw/image/healthHut/health-hut-img-1.webp +0 -0
- package/src/assets/raw/image/healthHut/health-hut-img-2.webp +0 -0
- package/src/assets/raw/image/healthHut/health-hut-img-3.webp +0 -0
- package/src/assets/raw/image/healthHut/health-hut-img-4.webp +0 -0
- package/src/assets/raw/image/healthHut/health-hut-img-5.webp +0 -0
- package/src/assets/raw/image/healthHut/health-hut-img-6.webp +0 -0
- package/src/assets/raw/image/healthHut/health-hut-img-7.webp +0 -0
- package/src/assets/raw/image/healthHut/raw.lnk +0 -0
- package/src/assets/raw/image/left_bottom_mask.png +0 -0
- package/src/assets/raw/image/livingExpenses/alipay.png +0 -0
- package/src/assets/raw/image/livingExpenses/electric_icon.png +0 -0
- package/src/assets/raw/image/livingExpenses/fl_qrcode.png +0 -0
- package/src/assets/raw/image/livingExpenses/gas_icon.png +0 -0
- package/src/assets/raw/image/livingExpenses/water_icon.png +0 -0
- package/src/assets/raw/image/memoryBook/bg.png +0 -0
- package/src/assets/raw/image/memoryBook/create/add_photo.png +0 -0
- package/src/assets/raw/image/memoryBook/create/album_bg.webp +0 -0
- package/src/assets/raw/image/memoryBook/create/bg.webp +0 -0
- package/src/assets/raw/image/memoryBook/create/bottom_mask.png +0 -0
- package/src/assets/raw/image/memoryBook/create/create_memory_book.webp +0 -0
- package/src/assets/raw/image/memoryBook/create/no-album.png +0 -0
- package/src/assets/raw/image/memoryBook/create/save_memory_book.webp +0 -0
- package/src/assets/raw/image/memoryBook/create/tip_image.webp +0 -0
- package/src/assets/raw/image/memoryBook/create/title.webp +0 -0
- package/src/assets/raw/image/memoryBook/create/top_mask.png +0 -0
- package/src/assets/raw/image/memoryBook/decoration.webp +0 -0
- package/src/assets/raw/image/memoryBook/del-icon-focus.png +0 -0
- package/src/assets/raw/image/memoryBook/del_focus.png +0 -0
- package/src/assets/raw/image/memoryBook/del_normal.png +0 -0
- package/src/assets/raw/image/memoryBook/detail_bg1.png +0 -0
- package/src/assets/raw/image/memoryBook/detail_bg2.png +0 -0
- package/src/assets/raw/image/memoryBook/detail_img_bg.png +0 -0
- package/src/assets/raw/image/memoryBook/empty-icon.png +0 -0
- package/src/assets/raw/image/memoryBook/item_default.webp +0 -0
- package/src/assets/raw/image/memoryBook/item_focus.webp +0 -0
- package/src/assets/raw/image/memoryBook/left-btn-focus.png +0 -0
- package/src/assets/raw/image/memoryBook/left-btn-normal.png +0 -0
- package/src/assets/raw/image/memoryBook/left_mask.png +0 -0
- package/src/assets/raw/image/memoryBook/pen-icon-focus.png +0 -0
- package/src/assets/raw/image/memoryBook/pen-icon.png +0 -0
- package/src/assets/raw/image/memoryBook/play-btn-focus.webp +0 -0
- package/src/assets/raw/image/memoryBook/play-btn-normal.webp +0 -0
- package/src/assets/raw/image/memoryBook/right-btn-focus.png +0 -0
- package/src/assets/raw/image/memoryBook/right-btn-normal.png +0 -0
- package/src/assets/raw/image/memoryBook/right_mask.png +0 -0
- package/src/assets/raw/image/memoryBook/set_focus.png +0 -0
- package/src/assets/raw/image/memoryBook/set_normal.png +0 -0
- package/src/assets/raw/image/memoryBook/title.png +0 -0
- package/src/assets/raw/image/memoryBook/video-bg.jpg +0 -0
- package/src/assets/raw/image/memoryBook/warn_dialog_bg.png +0 -0
- package/src/assets/raw/image/movie/dash_border.png +0 -0
- package/src/assets/raw/image/movie/movie_info_bg_0.png +0 -0
- package/src/assets/raw/image/movie/movie_info_bg_1.png +0 -0
- package/src/assets/raw/image/movie/movie_info_bg_2.png +0 -0
- package/src/assets/raw/image/movie/movie_info_bg_3.png +0 -0
- package/src/assets/raw/image/movie/movie_info_bg_4.png +0 -0
- package/src/assets/raw/image/movie/movie_info_bg_5.png +0 -0
- package/src/assets/raw/image/movie/movie_info_bg_6.png +0 -0
- package/src/assets/raw/image/movie/movie_info_bg_7.png +0 -0
- package/src/assets/raw/image/movie/no_data.png +0 -0
- package/src/assets/raw/image/movie/small_no_data.png +0 -0
- package/src/assets/raw/image/my-ai-coupon-bg.webp +0 -0
- package/src/assets/raw/image/my-coupon-bg.webp +0 -0
- package/src/assets/raw/image/network-error-icon.webp +0 -0
- package/src/assets/raw/image/newChat/channel-title.png +0 -0
- package/src/assets/raw/image/newChat/ps-title.png +0 -0
- package/src/assets/raw/image/newChat/star-title.png +0 -0
- package/src/assets/raw/image/newsDetail/detail_bg.webp +0 -0
- package/src/assets/raw/image/newsDetail/detail_divider.png +0 -0
- package/src/assets/raw/image/newsDetail/image_box_bg.png +0 -0
- package/src/assets/raw/image/no-data.webp +0 -0
- package/src/assets/raw/image/no_schedule.webp +0 -0
- package/src/assets/raw/image/online-device-left-bg.webp +0 -0
- package/src/assets/raw/image/online-device-right-bg.webp +0 -0
- package/src/assets/raw/image/online-time-device-icon.webp +0 -0
- package/src/assets/raw/image/online-time-device-tag.png +0 -0
- package/src/assets/raw/image/online-time-icon-0.webp +0 -0
- package/src/assets/raw/image/online-time-icon-1.webp +0 -0
- package/src/assets/raw/image/online-time-icon-2.webp +0 -0
- package/src/assets/raw/image/online-time-icon-3.webp +0 -0
- package/src/assets/raw/image/phone_img.png +0 -0
- package/src/assets/raw/image/program-play-btn.webp +0 -0
- package/src/assets/raw/image/program-play-focus.webp +0 -0
- package/src/assets/raw/image/programList/arrow_down.png +0 -0
- package/src/assets/raw/image/programList/arrow_up.png +0 -0
- package/src/assets/raw/image/programList/cancel_subscription_bg.webp +0 -0
- package/src/assets/raw/image/programList/cancel_tv_subscription_bg.webp +0 -0
- package/src/assets/raw/image/programList/channel_icon.png +0 -0
- package/src/assets/raw/image/programList/collect_arrow.png +0 -0
- package/src/assets/raw/image/programList/equitylist_bg.png +0 -0
- package/src/assets/raw/image/programList/expend-bg.png +0 -0
- package/src/assets/raw/image/programList/is_follow_icon.png +0 -0
- package/src/assets/raw/image/programList/live_icon.png +0 -0
- package/src/assets/raw/image/programList/look_back.png +0 -0
- package/src/assets/raw/image/programList/no_live_icon.png +0 -0
- package/src/assets/raw/image/programList/ps_icon.png +0 -0
- package/src/assets/raw/image/programList/time_bg.png +0 -0
- package/src/assets/raw/image/programList/title_mask.png +0 -0
- package/src/assets/raw/image/quick/quick1.webp +0 -0
- package/src/assets/raw/image/quick/quick10.webp +0 -0
- package/src/assets/raw/image/quick/quick11.webp +0 -0
- package/src/assets/raw/image/quick/quick12.webp +0 -0
- package/src/assets/raw/image/quick/quick13.webp +0 -0
- package/src/assets/raw/image/quick/quick14.webp +0 -0
- package/src/assets/raw/image/quick/quick15.webp +0 -0
- package/src/assets/raw/image/quick/quick16.webp +0 -0
- package/src/assets/raw/image/quick/quick17.webp +0 -0
- package/src/assets/raw/image/quick/quick18.webp +0 -0
- package/src/assets/raw/image/quick/quick19.webp +0 -0
- package/src/assets/raw/image/quick/quick2.webp +0 -0
- package/src/assets/raw/image/quick/quick20.webp +0 -0
- package/src/assets/raw/image/quick/quick21.webp +0 -0
- package/src/assets/raw/image/quick/quick22.webp +0 -0
- package/src/assets/raw/image/quick/quick23.webp +0 -0
- package/src/assets/raw/image/quick/quick24.webp +0 -0
- package/src/assets/raw/image/quick/quick25.webp +0 -0
- package/src/assets/raw/image/quick/quick26.webp +0 -0
- package/src/assets/raw/image/quick/quick27.webp +0 -0
- package/src/assets/raw/image/quick/quick28.webp +0 -0
- package/src/assets/raw/image/quick/quick3.webp +0 -0
- package/src/assets/raw/image/quick/quick4.webp +0 -0
- package/src/assets/raw/image/quick/quick5.webp +0 -0
- package/src/assets/raw/image/quick/quick6.webp +0 -0
- package/src/assets/raw/image/quick/quick7.webp +0 -0
- package/src/assets/raw/image/quick/quick8.webp +0 -0
- package/src/assets/raw/image/quick/quick9.webp +0 -0
- package/src/assets/raw/image/quickLook/caption_quick_look.png +0 -0
- package/src/assets/raw/image/quickLook/caption_quick_look_focus.png +0 -0
- package/src/assets/raw/image/quickLook/list_bg.png +0 -0
- package/src/assets/raw/image/quickLook/play_video_icon.gif +0 -0
- package/src/assets/raw/image/quickLook/plot_quick_look.png +0 -0
- package/src/assets/raw/image/quickLook/plot_quick_look_focus.png +0 -0
- package/src/assets/raw/image/quickLook/quick_selected.png +0 -0
- package/src/assets/raw/image/quickLook/quick_unselected.png +0 -0
- package/src/assets/raw/image/quickLook/role_plot_playing_state.png +0 -0
- package/src/assets/raw/image/quickLook/role_poster_mask.png +0 -0
- package/src/assets/raw/image/quickLook/role_quick_look.png +0 -0
- package/src/assets/raw/image/quickLook/role_quick_look_focus.png +0 -0
- package/src/assets/raw/image/quickLook/speed_quick_look.png +0 -0
- package/src/assets/raw/image/quickLook/speed_quick_look_focus.png +0 -0
- package/src/assets/raw/image/quickLook/speed_triangle.png +0 -0
- package/src/assets/raw/image/quickLook/title_bg1.png +0 -0
- package/src/assets/raw/image/quickLook/title_bg2.png +0 -0
- package/src/assets/raw/image/quickLook/top_quick_look_mask.png +0 -0
- package/src/assets/raw/image/refresh_img.png +0 -0
- package/src/assets/raw/image/refresh_img_focus.png +0 -0
- package/src/assets/raw/image/ren-wo-yong.png +0 -0
- package/src/assets/raw/image/riChengTiXing/bottom-ai-mask.png +0 -0
- package/src/assets/raw/image/riChengTiXing/bottom-mask.png +0 -0
- package/src/assets/raw/image/riChengTiXing/bottom-tv-mask.png +0 -0
- package/src/assets/raw/image/riChengTiXing/content-ai-detail-bg.png +0 -0
- package/src/assets/raw/image/riChengTiXing/content-ai-detail-screen-bg.webp +0 -0
- package/src/assets/raw/image/riChengTiXing/content-detail-bg.png +0 -0
- package/src/assets/raw/image/riChengTiXing/dingyue-btn.webp +0 -0
- package/src/assets/raw/image/riChengTiXing/no-data-bg.webp +0 -0
- package/src/assets/raw/image/riChengTiXing/no-data-tips.png +0 -0
- package/src/assets/raw/image/riChengTiXing/no-tv-data-bg.webp +0 -0
- package/src/assets/raw/image/riChengTiXing/richeng-bg.webp +0 -0
- package/src/assets/raw/image/riChengTiXing/schedule-ai-bg-0.webp +0 -0
- package/src/assets/raw/image/riChengTiXing/schedule-ai-bg-1.webp +0 -0
- package/src/assets/raw/image/riChengTiXing/schedule-ai-bg-2.webp +0 -0
- package/src/assets/raw/image/riChengTiXing/schedule-bg-0.webp +0 -0
- package/src/assets/raw/image/riChengTiXing/schedule-bg-1.webp +0 -0
- package/src/assets/raw/image/riChengTiXing/schedule-bg-2.webp +0 -0
- package/src/assets/raw/image/riChengTiXing/schedule-tv-bg-0.webp +0 -0
- package/src/assets/raw/image/riChengTiXing/schedule-tv-bg-1.webp +0 -0
- package/src/assets/raw/image/riChengTiXing/schedule-tv-bg-2.webp +0 -0
- package/src/assets/raw/image/riChengTiXing/timeBg.png +0 -0
- package/src/assets/raw/image/riChengTiXing/time_left_mask.png +0 -0
- package/src/assets/raw/image/riChengTiXing/time_right_mask.png +0 -0
- package/src/assets/raw/image/riChengTiXing/time_tv_left_mask.png +0 -0
- package/src/assets/raw/image/riChengTiXing/time_tv_right_mask.png +0 -0
- package/src/assets/raw/image/riChengTiXing/tv-schedule-line.webp +0 -0
- package/src/assets/raw/image/riChengTiXing/tv-schedule-mask.webp +0 -0
- package/src/assets/raw/image/routerNetTimePages/bg.png +0 -0
- package/src/assets/raw/image/routerNetTimePages/online-ai-device-left-bg.png +0 -0
- package/src/assets/raw/image/routerNetTimePages/online-ai-device-right-bg.png +0 -0
- package/src/assets/raw/image/routerNetTimePages/online-device-left-bg.png +0 -0
- package/src/assets/raw/image/routerNetTimePages/online-device-right-bg.png +0 -0
- package/src/assets/raw/image/routerNetTimePages/online-tv-device-left-bg.png +0 -0
- package/src/assets/raw/image/routerNetTimePages/online-tv-device-right-bg.png +0 -0
- package/src/assets/raw/image/router_bg.png +0 -0
- package/src/assets/raw/image/router_img.png +0 -0
- package/src/assets/raw/image/searchAgent/ai.png +0 -0
- package/src/assets/raw/image/searchAgent/number-focus.png +0 -0
- package/src/assets/raw/image/searchAgent/number.png +0 -0
- package/src/assets/raw/image/searchAgent/reasoning-arrow-up-focus.png +0 -0
- package/src/assets/raw/image/searchAgent/reasoning-arrow-up.png +0 -0
- package/src/assets/raw/image/searchAgent/reasoning-line-icon.png +0 -0
- package/src/assets/raw/image/searchAgent/reasoning-process-line.webp +0 -0
- package/src/assets/raw/image/searchAgent/reasoning-reset-icon-focus.png +0 -0
- package/src/assets/raw/image/searchAgent/reasoning-reset-icon.png +0 -0
- package/src/assets/raw/image/searchAgent/recommend-reason-bg.png +0 -0
- package/src/assets/raw/image/searchAgent/recommend-title-icon.png +0 -0
- package/src/assets/raw/image/searchAgent/search_bg.png +0 -0
- package/src/assets/raw/image/searchAgent/search_star_mask.webp +0 -0
- package/src/assets/raw/image/searchAgent/st_empty.webp +0 -0
- package/src/assets/raw/image/searchAgent/tab-left-mask.webp +0 -0
- package/src/assets/raw/image/searchAgent/tab-right-mask.webp +0 -0
- package/src/assets/raw/image/searchAgent/tab-title-big-bg.webp +0 -0
- package/src/assets/raw/image/searchAgent/tab-title-mask.webp +0 -0
- package/src/assets/raw/image/searchAgent/tab-title-small-bg.webp +0 -0
- package/src/assets/raw/image/searchAgent/tab-tv-left-mask.webp +0 -0
- package/src/assets/raw/image/searchAgent/tab-tv-right-mask.webp +0 -0
- package/src/assets/raw/image/searchAgent/video-ai-mask-img.webp +0 -0
- package/src/assets/raw/image/searchAgent/video-mask-img.webp +0 -0
- package/src/assets/raw/image/searchAgent/video-tv-mask-img.webp +0 -0
- package/src/assets/raw/image/searchAgent/vip.png +0 -0
- package/src/assets/raw/image/shopAgent/ai-shop-detail.png +0 -0
- package/src/assets/raw/image/shopAgent/ai-shop-list .png +0 -0
- package/src/assets/raw/image/shopCar/del_btn_default.png +0 -0
- package/src/assets/raw/image/shopCar/del_btn_focus.png +0 -0
- package/src/assets/raw/image/shouji_default.png +0 -0
- package/src/assets/raw/image/shouji_focus.png +0 -0
- package/src/assets/raw/image/stockList_focus_border.png +0 -0
- package/src/assets/raw/image/success-icon.webp +0 -0
- package/src/assets/raw/image/travelService/airplane-icon.png +0 -0
- package/src/assets/raw/image/travelService/train-icon.png +0 -0
- package/src/assets/raw/image/travelService/train-to.png +0 -0
- package/src/assets/raw/image/weather-position-border-bg.png +0 -0
- package/src/assets/raw/image/weather-position-icon.png +0 -0
- package/src/assets/raw/jarvis/airplane-icon.webp +0 -0
- package/src/assets/raw/jarvis/cai-focus-0.webp +0 -0
- package/src/assets/raw/jarvis/cai-focus-1.webp +0 -0
- package/src/assets/raw/jarvis/cai-icon-0.webp +0 -0
- package/src/assets/raw/jarvis/cai-icon-1.webp +0 -0
- package/src/assets/raw/jarvis/cancel-icon.webp +0 -0
- package/src/assets/raw/jarvis/channel-bg.webp +0 -0
- package/src/assets/raw/jarvis/clear-focus-0.webp +0 -0
- package/src/assets/raw/jarvis/clear-icon-0.webp +0 -0
- package/src/assets/raw/jarvis/clear-jarvis-tips.webp +0 -0
- package/src/assets/raw/jarvis/clock-icon.webp +0 -0
- package/src/assets/raw/jarvis/complete-icon.webp +0 -0
- package/src/assets/raw/jarvis/date-icon.webp +0 -0
- package/src/assets/raw/jarvis/deepseek/cai-focus-0.png +0 -0
- package/src/assets/raw/jarvis/deepseek/cai-focus-1.png +0 -0
- package/src/assets/raw/jarvis/deepseek/cai-icon-0.png +0 -0
- package/src/assets/raw/jarvis/deepseek/cai-icon-1.png +0 -0
- package/src/assets/raw/jarvis/deepseek/clear-focus-0.png +0 -0
- package/src/assets/raw/jarvis/deepseek/clear-icon-0.png +0 -0
- package/src/assets/raw/jarvis/deepseek/deepseek-avatar.webp +0 -0
- package/src/assets/raw/jarvis/deepseek/deepseek-bg.webp +0 -0
- package/src/assets/raw/jarvis/deepseek/deepseek-bottom-tips.png +0 -0
- package/src/assets/raw/jarvis/deepseek/deepseek-clear-tips.png +0 -0
- package/src/assets/raw/jarvis/deepseek/deepseek-content-bg.png +0 -0
- package/src/assets/raw/jarvis/deepseek/deepseek-icon.png +0 -0
- package/src/assets/raw/jarvis/deepseek/deepseek-idea-defalut-select.png +0 -0
- package/src/assets/raw/jarvis/deepseek/deepseek-idea-focus-select.png +0 -0
- package/src/assets/raw/jarvis/deepseek/deepseek-jarvis-bg.webp +0 -0
- package/src/assets/raw/jarvis/deepseek/zan-focus-0.png +0 -0
- package/src/assets/raw/jarvis/deepseek/zan-focus-1.png +0 -0
- package/src/assets/raw/jarvis/deepseek/zan-icon-0.png +0 -0
- package/src/assets/raw/jarvis/deepseek/zan-icon-1.png +0 -0
- package/src/assets/raw/jarvis/dui-title/airTicket.webp +0 -0
- package/src/assets/raw/jarvis/dui-title/alarm.webp +0 -0
- package/src/assets/raw/jarvis/dui-title/buyCoupon.webp +0 -0
- package/src/assets/raw/jarvis/dui-title/communityNotice.webp +0 -0
- package/src/assets/raw/jarvis/dui-title/equityList.webp +0 -0
- package/src/assets/raw/jarvis/dui-title/equitySearch.webp +0 -0
- package/src/assets/raw/jarvis/dui-title/leaveMessage.webp +0 -0
- package/src/assets/raw/jarvis/dui-title/myCoupon.webp +0 -0
- package/src/assets/raw/jarvis/dui-title/navigation.webp +0 -0
- package/src/assets/raw/jarvis/dui-title/new_coupon.webp +0 -0
- package/src/assets/raw/jarvis/dui-title/new_merchant.webp +0 -0
- package/src/assets/raw/jarvis/dui-title/new_merchant_detail.webp +0 -0
- package/src/assets/raw/jarvis/dui-title/pointsInquiry.webp +0 -0
- package/src/assets/raw/jarvis/dui-title/queryDaily.webp +0 -0
- package/src/assets/raw/jarvis/dui-title/queryElectricCharge.webp +0 -0
- package/src/assets/raw/jarvis/dui-title/queryStation.webp +0 -0
- package/src/assets/raw/jarvis/dui-title/search.webp +0 -0
- package/src/assets/raw/jarvis/dui-title/starSearch.webp +0 -0
- package/src/assets/raw/jarvis/dui-title/stock.webp +0 -0
- package/src/assets/raw/jarvis/dui-title/travelArrangement.webp +0 -0
- package/src/assets/raw/jarvis/dui-title/tvSchedule.webp +0 -0
- package/src/assets/raw/jarvis/dui-title/weather.webp +0 -0
- package/src/assets/raw/jarvis/equity-bg.webp +0 -0
- package/src/assets/raw/jarvis/equity-corner-url.png +0 -0
- package/src/assets/raw/jarvis/equity-detail-bg.webp +0 -0
- package/src/assets/raw/jarvis/equity-icon.webp +0 -0
- package/src/assets/raw/jarvis/equity-item-url.webp +0 -0
- package/src/assets/raw/jarvis/jarvis-dialog-top.webp +0 -0
- package/src/assets/raw/jarvis/jarvis-idea-avatar.webp +0 -0
- package/src/assets/raw/jarvis/jarvis-idea-btn-icon.png +0 -0
- package/src/assets/raw/jarvis/jarvis-idea-select-icon.webp +0 -0
- package/src/assets/raw/jarvis/jarvis-left-bg.webp +0 -0
- package/src/assets/raw/jarvis/jarvis-left-tv.webp +0 -0
- package/src/assets/raw/jarvis/jarvis-right-bg.webp +0 -0
- package/src/assets/raw/jarvis/jarvis-right-bottom-defalut-mask.webp +0 -0
- package/src/assets/raw/jarvis/jarvis-right-bottom-mask.webp +0 -0
- package/src/assets/raw/jarvis/jarvis-right-top-mask.png +0 -0
- package/src/assets/raw/jarvis/jarvis-right-tv.webp +0 -0
- package/src/assets/raw/jarvis/jarvis-title-center.png +0 -0
- package/src/assets/raw/jarvis/jarvis-title-left.png +0 -0
- package/src/assets/raw/jarvis/jarvis-title-right.png +0 -0
- package/src/assets/raw/jarvis/jarvis-tv-right-bottom-defalut-mask.webp +0 -0
- package/src/assets/raw/jarvis/jarvis-tv-right-bottom-mask.webp +0 -0
- package/src/assets/raw/jarvis/jarvis-tv-right-top-mask.png +0 -0
- package/src/assets/raw/jarvis/jarvis-tv-title-center.png +0 -0
- package/src/assets/raw/jarvis/jarvis-tv-title-left.png +0 -0
- package/src/assets/raw/jarvis/jarvis-tv-title-right.png +0 -0
- package/src/assets/raw/jarvis/left-ai-bg-shadow-bottom.webp +0 -0
- package/src/assets/raw/jarvis/left-ai-bg-shadow-top.webp +0 -0
- package/src/assets/raw/jarvis/left-ai-shadow-right.webp +0 -0
- package/src/assets/raw/jarvis/left-bg-shadow-bottom.webp +0 -0
- package/src/assets/raw/jarvis/left-bg-shadow-left.webp +0 -0
- package/src/assets/raw/jarvis/left-bg-shadow-right.webp +0 -0
- package/src/assets/raw/jarvis/left-bg-shadow-top.webp +0 -0
- package/src/assets/raw/jarvis/left-tv-shadow-bottom.webp +0 -0
- package/src/assets/raw/jarvis/left-tv-shadow-left.webp +0 -0
- package/src/assets/raw/jarvis/left-tv-shadow-right.webp +0 -0
- package/src/assets/raw/jarvis/left-tv-shadow-top.webp +0 -0
- package/src/assets/raw/jarvis/living-payment/ELECTRIC.webp +0 -0
- package/src/assets/raw/jarvis/living-payment/GAS.webp +0 -0
- package/src/assets/raw/jarvis/living-payment/WATER.webp +0 -0
- package/src/assets/raw/jarvis/location-icon.webp +0 -0
- package/src/assets/raw/jarvis/lottie-tv-view-bg.webp +0 -0
- package/src/assets/raw/jarvis/lottie-view-bg.webp +0 -0
- package/src/assets/raw/jarvis/my-coupon-bg.webp +0 -0
- package/src/assets/raw/jarvis/pending-icon.webp +0 -0
- package/src/assets/raw/jarvis/score-bg.webp +0 -0
- package/src/assets/raw/jarvis/stock-info-top-bg.webp +0 -0
- package/src/assets/raw/jarvis/toast-error.png +0 -0
- package/src/assets/raw/jarvis/toast-success.png +0 -0
- package/src/assets/raw/jarvis/toast-warning.png +0 -0
- package/src/assets/raw/jarvis/user-avatar.webp +0 -0
- package/src/assets/raw/jarvis/xiaojia-avatar.webp +0 -0
- package/src/assets/raw/jarvis/zan-focus-0.webp +0 -0
- package/src/assets/raw/jarvis/zan-focus-1.webp +0 -0
- package/src/assets/raw/jarvis/zan-icon-0.webp +0 -0
- package/src/assets/raw/jarvis/zan-icon-1.webp +0 -0
- package/src/assets/raw/jarvis/zanOrCai/cai-focus-0.png +0 -0
- package/src/assets/raw/jarvis/zanOrCai/cai-focus-1.png +0 -0
- package/src/assets/raw/jarvis/zanOrCai/cai-icon-0.png +0 -0
- package/src/assets/raw/jarvis/zanOrCai/cai-icon-1.png +0 -0
- package/src/assets/raw/jarvis/zanOrCai/clear-focus-0.png +0 -0
- package/src/assets/raw/jarvis/zanOrCai/clear-icon-0.png +0 -0
- package/src/assets/raw/jarvis/zanOrCai/zan-focus-0.png +0 -0
- package/src/assets/raw/jarvis/zanOrCai/zan-focus-1.png +0 -0
- package/src/assets/raw/jarvis/zanOrCai/zan-icon-0.png +0 -0
- package/src/assets/raw/jarvis/zanOrCai/zan-icon-1.png +0 -0
- package/src/assets/raw/jump.html +47 -0
- package/src/assets/raw/weather/weather_1.webp +0 -0
- package/src/assets/raw/weather/weather_10.webp +0 -0
- package/src/assets/raw/weather/weather_13.webp +0 -0
- package/src/assets/raw/weather/weather_14.webp +0 -0
- package/src/assets/raw/weather/weather_16.webp +0 -0
- package/src/assets/raw/weather/weather_17.webp +0 -0
- package/src/assets/raw/weather/weather_18.webp +0 -0
- package/src/assets/raw/weather/weather_19.webp +0 -0
- package/src/assets/raw/weather/weather_2.webp +0 -0
- package/src/assets/raw/weather/weather_20.webp +0 -0
- package/src/assets/raw/weather/weather_21.webp +0 -0
- package/src/assets/raw/weather/weather_22.webp +0 -0
- package/src/assets/raw/weather/weather_23.webp +0 -0
- package/src/assets/raw/weather/weather_24.webp +0 -0
- package/src/assets/raw/weather/weather_25.webp +0 -0
- package/src/assets/raw/weather/weather_26.webp +0 -0
- package/src/assets/raw/weather/weather_27.webp +0 -0
- package/src/assets/raw/weather/weather_28.webp +0 -0
- package/src/assets/raw/weather/weather_29.webp +0 -0
- package/src/assets/raw/weather/weather_3.webp +0 -0
- package/src/assets/raw/weather/weather_30.webp +0 -0
- package/src/assets/raw/weather/weather_31.webp +0 -0
- package/src/assets/raw/weather/weather_32.webp +0 -0
- package/src/assets/raw/weather/weather_33.webp +0 -0
- package/src/assets/raw/weather/weather_34.webp +0 -0
- package/src/assets/raw/weather/weather_35.webp +0 -0
- package/src/assets/raw/weather/weather_36.webp +0 -0
- package/src/assets/raw/weather/weather_37.webp +0 -0
- package/src/assets/raw/weather/weather_40.webp +0 -0
- package/src/assets/raw/weather/weather_41.webp +0 -0
- package/src/assets/raw/weather/weather_43.webp +0 -0
- package/src/assets/raw/weather/weather_44.webp +0 -0
- package/src/assets/raw/weather/weather_45.webp +0 -0
- package/src/assets/raw/weather/weather_5.webp +0 -0
- package/src/assets/raw/weather/weather_6.webp +0 -0
- package/src/assets/raw/weather/weather_7.webp +0 -0
- package/src/assets/raw/weather/weather_8.webp +0 -0
- package/src/assets/raw/weather/weather_9.webp +0 -0
- package/src/atlas.js +934 -0
- package/src/index.js +2 -0
- package/src/page/index.vue +15 -0
- package/src/server/config.js +120 -0
- package/src/server/index.js +1573 -0
- package/src/server/mock.js +40110 -0
- package/src/server/schedule.js +54 -0
- package/src/store.js +298 -0
- package/src/utils/HodoopUtil.js +246 -0
- package/src/utils/content.js +445 -0
- package/src/utils/dataUtils.js +444 -0
- package/src/utils/index.js +1492 -0
- package/src/utils/pay.js +52 -0
- package/src/utils/promiseServer.js +65 -0
- package/src/utils/request.js +111 -0
- package/webpack.config.js +103 -0
|
@@ -0,0 +1,1573 @@
|
|
|
1
|
+
import api from "../utils/request.js";
|
|
2
|
+
import atlas from "@/atlas";
|
|
3
|
+
import Store from "@/store.js";
|
|
4
|
+
import SET_CONFIG_API from "./config";
|
|
5
|
+
import CONFIG from "@/assets/raw/config.js";
|
|
6
|
+
import Vue from "vue";
|
|
7
|
+
import scheduleMock from "./schedule.js"
|
|
8
|
+
const isProductDebug = false;
|
|
9
|
+
CONFIG["isProductDebug"] = isProductDebug;
|
|
10
|
+
let CONFIG_API = SET_CONFIG_API(CONFIG);
|
|
11
|
+
let mockData = {};
|
|
12
|
+
// 开发环境下加载mock数据
|
|
13
|
+
if (__IS_DEV__) {
|
|
14
|
+
Vue.Native.callNative(
|
|
15
|
+
"ConsoleModule",
|
|
16
|
+
"log",
|
|
17
|
+
`routerToPage=>server:mockData`
|
|
18
|
+
);
|
|
19
|
+
console.log("routerToPage=>server:mockData", +new Date());
|
|
20
|
+
// 生产环境不引入mock数据,mock文件过大,会阻塞页面创建
|
|
21
|
+
const mockDataInfo = require("./mock.js");
|
|
22
|
+
mockData = mockDataInfo.default ? mockDataInfo.default : mockDataInfo;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
const userInfo = {
|
|
26
|
+
uid: "",
|
|
27
|
+
mac: "",
|
|
28
|
+
cdnType: "",
|
|
29
|
+
// 江苏能力串
|
|
30
|
+
abilityString: "",
|
|
31
|
+
templateId: "",
|
|
32
|
+
tvTemplateId: "",
|
|
33
|
+
ottId: "",
|
|
34
|
+
userId: "",
|
|
35
|
+
userToken: "",
|
|
36
|
+
deviceId: "",
|
|
37
|
+
serviceChannelId: "",
|
|
38
|
+
fastapp_package: "",
|
|
39
|
+
fastapp_version: "",
|
|
40
|
+
phone_no: "",
|
|
41
|
+
phoneNo: "",
|
|
42
|
+
deviceType: "STB",
|
|
43
|
+
nickName: '二易',
|
|
44
|
+
avatar: 'http://ysten-bucket.oss-cn-shanghai.aliyuncs.com/lls/images/20250813/2521ba7809d74df1a07fc19b884fa381.jpg'
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
let userSessionId = ""
|
|
48
|
+
|
|
49
|
+
if (__IS_DEV__) {
|
|
50
|
+
// 海量
|
|
51
|
+
userInfo.uid = "185774055";
|
|
52
|
+
userInfo.mac = "ac:56:7b:d3:8c:ba";
|
|
53
|
+
userInfo.templateId = "";
|
|
54
|
+
userInfo.abilityString = "%257B%2522CITY_CODE%2522%253A%252214%2522%252C%2522COUNTY_CODE%2522%253A%2522183%2522%252C%2522LONGITUDE_LATITUDE%2522%253A%2522118.758295%252C31.969546%2522%252C%2522OUT_VILLAGE_CODE%2522%253A%252242009%2522%252C%2522VILLAGE_CODE%2522%253A%25220027635%2522%252C%2522abilities%2522%253A%255B%25224K-1%257Ccp-TENCENT%2522%252C%2522NxM%2522%252C%2522timeShift%2522%252C%2522dolby%2522%255D%252C%2522businessGroupIds%2522%253A%255B%255D%252C%2522deviceGroupIds%2522%253A%255B%25225362%2522%255D%252C%2522districtCode%2522%253A%2522320100%2522%252C%2522labelIds%2522%253A%255B%252232100714%2522%252C%252232100434%2522%252C%252232100633%2522%252C%252232100312%2522%252C%252232100433%2522%252C%252232100513%2522%252C%252232100432%2522%252C%252232100635%2522%252C%252232100431%2522%252C%252232100435%2522%252C%252232100632%2522%252C%252232100364%2522%252C%252232100440%2522%252C%252232100707%2522%252C%25229942009%2522%252C%252232100428%2522%252C%252232100704%2522%252C%252232100423%2522%252C%252232100467%2522%252C%252232100422%2522%252C%25223254%2522%252C%252232100223%2522%252C%252232100421%2522%252C%252232100465%2522%252C%252232100547%2522%252C%25223253%2522%252C%252232100464%2522%252C%252232100702%2522%252C%25223252%2522%252C%252232100427%2522%252C%25223251%2522%252C%252232100425%2522%252C%252232100424%2522%252C%252232100392%2522%252C%252232100192%2522%252C%252232100390%2522%252C%252232100155%2522%252C%2522323%2522%252C%252232100395%2522%252C%252232100619%2522%252C%252232100732%2522%252C%252232100734%2522%252C%252232100614%2522%252C%252232100697%2522%252C%252232100183%2522%252C%252232100582%2522%252C%252232100661%2522%252C%25223259%2522%252C%252232100341%2522%252C%252232100185%2522%252C%252232100180%2522%252C%252232100444%2522%252C%252232100322%2522%252C%252232100402%2522%252C%252232100446%2522%252C%252232100096%2522%252C%252232100490%2522%252C%252232100375%2522%252C%252232100372%2522%255D%252C%2522ucsUserAbilityRefresh%2522%253A%25221753327400381%2522%252C%2522userGroupIds%2522%253A%255B%255D%252C%2522userLabelIds%2522%253A%255B%252232100714%2522%252C%252232100434%2522%252C%252232100633%2522%252C%252232100312%2522%252C%252232100433%2522%252C%252232100513%2522%252C%252232100432%2522%252C%252232100635%2522%252C%252232100431%2522%252C%252232100435%2522%252C%252232100632%2522%252C%252232100364%2522%252C%252232100440%2522%252C%252232100707%2522%252C%25229942009%2522%252C%252232100428%2522%252C%252232100704%2522%252C%252232100423%2522%252C%252232100467%2522%252C%252232100422%2522%252C%25223254%2522%252C%252232100223%2522%252C%252232100421%2522%252C%252232100465%2522%252C%252232100547%2522%252C%25223253%2522%252C%252232100464%2522%252C%252232100702%2522%252C%25223252%2522%252C%252232100427%2522%252C%25223251%2522%252C%252232100425%2522%252C%252232100424%2522%252C%252232100392%2522%252C%252232100192%2522%252C%252232100390%2522%252C%252232100155%2522%252C%2522323%2522%252C%252232100395%2522%252C%252232100619%2522%252C%252232100732%2522%252C%252232100734%2522%252C%252232100614%2522%252C%252232100697%2522%252C%252232100183%2522%252C%252232100582%2522%252C%252232100661%2522%252C%25223259%2522%252C%252232100341%2522%252C%252232100185%2522%252C%252232100180%2522%252C%252232100444%2522%252C%252232100322%2522%252C%252232100402%2522%252C%252232100446%2522%252C%252232100096%2522%252C%252232100490%2522%252C%252232100375%2522%252C%252232100372%2522%255D%257D";
|
|
55
|
+
// 悦悦
|
|
56
|
+
// uid: "1016958179",
|
|
57
|
+
// userInfo.mac = "ac:56:7b:d3:8c:38";
|
|
58
|
+
// userInfo.abilityString = "%7B%22CITY_CODE%22%3A%2218%22%2C%22COUNTY_CODE%22%3A%22200%22%2C%22LONGITUDE_LATITUDE%22%3A%22119.815791%2C31.360966%22%2C%22OUT_VILLAGE_CODE%22%3A%22171972%22%2C%22VILLAGE_CODE%22%3A%220049397%22%2C%22abilities%22%3A%5B%224K-1%7Ccp-TENCENT%22%2C%22NxM%22%2C%22timeShift%22%2C%22dolby%22%5D%2C%22businessGroupIds%22%3A%5B%5D%2C%22deviceGroupIds%22%3A%5B%222072%22%5D%2C%22districtCode%22%3A%22321100%22%2C%22labelIds%22%3A%5B%2232100434%22%2C%2232100312%22%2C%2232100433%22%2C%2232100513%22%2C%2232100634%22%2C%2232100432%22%2C%2232100431%22%2C%2232100119%22%2C%2232100435%22%2C%2232100479%22%2C%2232100632%22%2C%2232100364%22%2C%2232100440%22%2C%2232100428%22%2C%2232100423%22%2C%2232100467%22%2C%2232100422%22%2C%2232100466%22%2C%223254%22%2C%2232100025%22%2C%2232100223%22%2C%2232100421%22%2C%2232100465%22%2C%2232100547%22%2C%223253%22%2C%2232100464%22%2C%223252%22%2C%223251%22%2C%2232100425%22%2C%2232100424%22%2C%2232100392%22%2C%2232100192%22%2C%2232100390%22%2C%2232100155%22%2C%2232100395%22%2C%22327%22%2C%2232100619%22%2C%2232100412%22%2C%2232100614%22%2C%223260%22%2C%2232100582%22%2C%2232100341%22%2C%2232100185%22%2C%2232100180%22%2C%2299171972%22%2C%2232100444%22%2C%2232100645%22%2C%2232100322%22%2C%2232100402%22%2C%2232100446%22%2C%2232100096%22%2C%2232100375%22%2C%2232100372%22%5D%2C%22ucsUserAbilityRefresh%22%3A%221744012540199%22%2C%22userGroupIds%22%3A%5B%5D%2C%22userLabelIds%22%3A%5B%2232100434%22%2C%2232100312%22%2C%2232100433%22%2C%2232100513%22%2C%2232100634%22%2C%2232100432%22%2C%2232100431%22%2C%2232100119%22%2C%2232100435%22%2C%2232100479%22%2C%2232100632%22%2C%2232100364%22%2C%2232100440%22%2C%2232100428%22%2C%2232100423%22%2C%2232100467%22%2C%2232100422%22%2C%2232100466%22%2C%223254%22%2C%2232100025%22%2C%2232100223%22%2C%2232100421%22%2C%2232100465%22%2C%2232100547%22%2C%223253%22%2C%2232100464%22%2C%223252%22%2C%223251%22%2C%2232100425%22%2C%2232100424%22%2C%2232100392%22%2C%2232100192%22%2C%2232100390%22%2C%2232100155%22%2C%2232100395%22%2C%22327%22%2C%2232100619%22%2C%2232100412%22%2C%2232100614%22%2C%223260%22%2C%2232100582%22%2C%2232100341%22%2C%2232100185%22%2C%2232100180%22%2C%2299171972%22%2C%2232100444%22%2C%2232100645%22%2C%2232100322%22%2C%2232100402%22%2C%2232100446%22%2C%2232100096%22%2C%2232100375%22%2C%2232100372%22%5D%7D";
|
|
59
|
+
Store.setData("userInfo", userInfo);
|
|
60
|
+
Store.setData("openBlackBgStatus", true);
|
|
61
|
+
// userInfo.deviceType = "TV";
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
const queryDeviceType = () => {
|
|
65
|
+
return new Promise((resolve) => {
|
|
66
|
+
atlas
|
|
67
|
+
.fetchDataInfo(
|
|
68
|
+
"data",
|
|
69
|
+
"{'type':'memory','key':'hardwareDeviceType'}"
|
|
70
|
+
)
|
|
71
|
+
.then((value) => {
|
|
72
|
+
Vue.Native.callNative(
|
|
73
|
+
"ConsoleModule",
|
|
74
|
+
"log",
|
|
75
|
+
`queryDeviceType:value=>${value}`
|
|
76
|
+
);
|
|
77
|
+
resolve(value);
|
|
78
|
+
})
|
|
79
|
+
.catch(() => {
|
|
80
|
+
resolve("");
|
|
81
|
+
});
|
|
82
|
+
});
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
const getUserSessionId = () => {
|
|
86
|
+
return api(
|
|
87
|
+
CONFIG_API.getSessionId,
|
|
88
|
+
{
|
|
89
|
+
uid: userInfo.uid,
|
|
90
|
+
agentId: ""
|
|
91
|
+
},
|
|
92
|
+
"GET"
|
|
93
|
+
);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// 获取用户信息
|
|
97
|
+
const getDeviceInfo = (callback) => {
|
|
98
|
+
const allConfigs = Store.getData("allConfigs");
|
|
99
|
+
atlas
|
|
100
|
+
.getDeviceInfo()
|
|
101
|
+
.then(async (res) => {
|
|
102
|
+
Vue.Native.callNative(
|
|
103
|
+
"ConsoleModule",
|
|
104
|
+
"log",
|
|
105
|
+
`getDeviceInfo.res:${JSON.stringify(res)}`
|
|
106
|
+
);
|
|
107
|
+
console.log(`getDeviceInfo.res:${JSON.stringify(res)}`);
|
|
108
|
+
atlas
|
|
109
|
+
.fetchDataInfo("data", "{'type':'sp','key':'defaultUser'}")
|
|
110
|
+
.then(async (phoneRes) => {
|
|
111
|
+
try {
|
|
112
|
+
Vue.Native.callNative(
|
|
113
|
+
"ConsoleModule",
|
|
114
|
+
"log",
|
|
115
|
+
`getDeviceInfo.phoneRes:${JSON.stringify(phoneRes)}`
|
|
116
|
+
);
|
|
117
|
+
let reg = /^1[3456789]\d{9}$/;
|
|
118
|
+
let resInfo = phoneRes ? JSON.parse(phoneRes) : null;
|
|
119
|
+
if (resInfo?.phoneNo) {
|
|
120
|
+
userInfo.phone_no = resInfo.phoneNo;
|
|
121
|
+
}
|
|
122
|
+
if (resInfo?.phoneNo && reg.test(resInfo.phoneNo)) {
|
|
123
|
+
userInfo.phoneNo = resInfo.phoneNo;
|
|
124
|
+
}
|
|
125
|
+
if (resInfo?.nickName) {
|
|
126
|
+
userInfo.nickName = resInfo.nickName;
|
|
127
|
+
}
|
|
128
|
+
if (resInfo?.faceImg) {
|
|
129
|
+
userInfo.avatar = resInfo.faceImg;
|
|
130
|
+
}
|
|
131
|
+
const res = await getUserInfoLatLng()
|
|
132
|
+
if (res?.data?.commonInfo) {
|
|
133
|
+
Store.setData("userCommonInfo", res.data.commonInfo);
|
|
134
|
+
}
|
|
135
|
+
} catch (error) {
|
|
136
|
+
Vue.Native.callNative(
|
|
137
|
+
"ConsoleModule",
|
|
138
|
+
"log",
|
|
139
|
+
`getDeviceInfo.phoneRes:error:${error}`
|
|
140
|
+
);
|
|
141
|
+
}
|
|
142
|
+
});
|
|
143
|
+
const deviceType = await queryDeviceType();
|
|
144
|
+
Vue.Native.callNative(
|
|
145
|
+
"ConsoleModule",
|
|
146
|
+
"log",
|
|
147
|
+
`queryDeviceType:deviceType=>${deviceType}`
|
|
148
|
+
);
|
|
149
|
+
if (deviceType) {
|
|
150
|
+
userInfo.deviceType = deviceType || "STB";
|
|
151
|
+
}
|
|
152
|
+
// userInfo.deviceType = "TV";
|
|
153
|
+
if (res.code === "1") {
|
|
154
|
+
const {
|
|
155
|
+
uid,
|
|
156
|
+
userId,
|
|
157
|
+
mac,
|
|
158
|
+
ottId,
|
|
159
|
+
userToken,
|
|
160
|
+
ability,
|
|
161
|
+
templateId,
|
|
162
|
+
tvTemplateId,
|
|
163
|
+
cdnType,
|
|
164
|
+
cdnType_JS,
|
|
165
|
+
deviceId,
|
|
166
|
+
fastapp_package,
|
|
167
|
+
fastapp_version,
|
|
168
|
+
} = res;
|
|
169
|
+
let _cdnType = "";
|
|
170
|
+
if (allConfigs.PROVINCE === "js") {
|
|
171
|
+
_cdnType = cdnType_JS;
|
|
172
|
+
} else if (allConfigs.PROVINCE === "hi") {
|
|
173
|
+
_cdnType = cdnType;
|
|
174
|
+
}
|
|
175
|
+
if (allConfigs.CDN_TYPE_ERROR_TEXT.indexOf(_cdnType) > -1) {
|
|
176
|
+
_cdnType = "";
|
|
177
|
+
}
|
|
178
|
+
userInfo.uid = uid || "";
|
|
179
|
+
userInfo.mac = mac || "";
|
|
180
|
+
userInfo.userId = userId || "";
|
|
181
|
+
userInfo.deviceId = deviceId || "";
|
|
182
|
+
userInfo.ottId = ottId || "";
|
|
183
|
+
userInfo.userToken = userToken || "";
|
|
184
|
+
userInfo.abilityString = ability || "";
|
|
185
|
+
userInfo.templateId = templateId || "";
|
|
186
|
+
userInfo.tvTemplateId = tvTemplateId || "";
|
|
187
|
+
userInfo.cdnType = _cdnType || "";
|
|
188
|
+
userInfo.fastapp_package = fastapp_package || "";
|
|
189
|
+
userInfo.fastapp_version = fastapp_version || "";
|
|
190
|
+
Store.setData("userInfo", userInfo);
|
|
191
|
+
const userSessionInfo = await getUserSessionId();
|
|
192
|
+
if (userSessionInfo.data) {
|
|
193
|
+
userSessionId = userSessionInfo.data;
|
|
194
|
+
}
|
|
195
|
+
Vue.Native.callNative(
|
|
196
|
+
"ConsoleModule",
|
|
197
|
+
"log",
|
|
198
|
+
`userSessionInfo:${JSON.stringify(userSessionInfo)}`
|
|
199
|
+
);
|
|
200
|
+
}
|
|
201
|
+
atlas
|
|
202
|
+
.fetchDataInfo("data", "{'type':'memory','key':'appId'}")
|
|
203
|
+
.then((res) => {
|
|
204
|
+
if (res && res.indexOf("CHILD") > -1) {
|
|
205
|
+
userInfo.serviceChannelId = res;
|
|
206
|
+
}
|
|
207
|
+
Vue.Native.callNative(
|
|
208
|
+
"ConsoleModule",
|
|
209
|
+
"log",
|
|
210
|
+
`serviceChannelId.userInfo:res:${JSON.stringify(res)}`
|
|
211
|
+
);
|
|
212
|
+
callback && callback();
|
|
213
|
+
})
|
|
214
|
+
.catch(() => {
|
|
215
|
+
callback && callback();
|
|
216
|
+
});
|
|
217
|
+
// callback && callback();
|
|
218
|
+
})
|
|
219
|
+
.catch(() => {
|
|
220
|
+
callback && callback();
|
|
221
|
+
});
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
const removeFalsyAttr = (obj) => {
|
|
227
|
+
return Object.entries(obj).reduce((prev, [k, v]) => {
|
|
228
|
+
if (["", undefined].includes(v)) {
|
|
229
|
+
return prev;
|
|
230
|
+
} else {
|
|
231
|
+
return {
|
|
232
|
+
...prev,
|
|
233
|
+
[k]: v,
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
}, {});
|
|
237
|
+
};
|
|
238
|
+
|
|
239
|
+
// 设置bims
|
|
240
|
+
const setBims = (data) => {
|
|
241
|
+
const allConfigs = Store.getData("allConfigs");
|
|
242
|
+
if (data) {
|
|
243
|
+
Store.setData("allConfigs", {
|
|
244
|
+
...allConfigs,
|
|
245
|
+
...removeFalsyAttr(data),
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
// 获取bims
|
|
251
|
+
const getBims = (callback) => {
|
|
252
|
+
const bimsData = Store.getData("bimsData");
|
|
253
|
+
// jsLog("getBims bimsData:", bimsData);
|
|
254
|
+
// 获取bims缓存
|
|
255
|
+
if (bimsData) {
|
|
256
|
+
setBims(bimsData);
|
|
257
|
+
callback && callback();
|
|
258
|
+
return;
|
|
259
|
+
}
|
|
260
|
+
// bims key
|
|
261
|
+
const bimskeys = [
|
|
262
|
+
"DOMAIN_SEEN",
|
|
263
|
+
// "DOMAIN_USERS",
|
|
264
|
+
"DOMAIN_VAS",
|
|
265
|
+
"DOMAIN_SCHEDULE",
|
|
266
|
+
"DOMAIN_DMS",
|
|
267
|
+
"DOMAIN_JARVIS",
|
|
268
|
+
"DOMAIN_WEATHER",
|
|
269
|
+
"DOMAIN_COS",
|
|
270
|
+
"CONFIG_WATCHTV",
|
|
271
|
+
"DOMAIN_GAIA",
|
|
272
|
+
"DOMAIN_GAIASEARCH",
|
|
273
|
+
"CONFIG_JARVIS_AI_SPACE_SEARCH_AGENT_ID",
|
|
274
|
+
"CONFIG_JARVIS_AI_SPACE_VIDEO_AGENT_ID",
|
|
275
|
+
"CONFIG_JARVIS_AI_SERVICE_VERSION_ID",
|
|
276
|
+
"DOMAIN_LVOMS",
|
|
277
|
+
"DOMAIN_SVS",
|
|
278
|
+
"CONFIG_JARVIS_AI_SERVICE_SHOP_ID"
|
|
279
|
+
];
|
|
280
|
+
// 批量获取bims下发值
|
|
281
|
+
atlas
|
|
282
|
+
.batchFetchBimsInfo(bimskeys)
|
|
283
|
+
.then((res) => {
|
|
284
|
+
Vue.Native.callNative(
|
|
285
|
+
"ConsoleModule",
|
|
286
|
+
"log",
|
|
287
|
+
"getBims res:" + JSON.stringify(res)
|
|
288
|
+
);
|
|
289
|
+
// jsLog("getBims res:", res);
|
|
290
|
+
if (res) {
|
|
291
|
+
setBims(res);
|
|
292
|
+
callback && callback();
|
|
293
|
+
Store.setData("bimsData", res, true);
|
|
294
|
+
}
|
|
295
|
+
})
|
|
296
|
+
.catch(() => {
|
|
297
|
+
callback && callback();
|
|
298
|
+
});
|
|
299
|
+
};
|
|
300
|
+
|
|
301
|
+
// 获取所有信息,配置信息,下发值,和用户信息
|
|
302
|
+
const getAllConfig = (callback) => {
|
|
303
|
+
Vue.Native.callNative("ConsoleModule", "log", "getAllConfig");
|
|
304
|
+
// atlas.readLocalFile("assets/raw/config.js").then(({ txt }) => {
|
|
305
|
+
// Vue.Native.callNative("ConsoleModule", "log", "readedConfig" + txt);
|
|
306
|
+
// 从文件生成配置对象
|
|
307
|
+
// const _config = new Function(
|
|
308
|
+
// txt.replace("module.exports =", "return")
|
|
309
|
+
// )();
|
|
310
|
+
// 去除readLocalFile读取的方式,直接通过Import进行操作
|
|
311
|
+
const _config = CONFIG;
|
|
312
|
+
if (_config) {
|
|
313
|
+
_config["isProductDebug"] = isProductDebug;
|
|
314
|
+
Store.setData("allConfigs", _config);
|
|
315
|
+
// 2、读取bims下发值,覆盖config.js中的值
|
|
316
|
+
getBims(() => {
|
|
317
|
+
const allConfigs = Store.getData("allConfigs");
|
|
318
|
+
Vue.Native.callNative(
|
|
319
|
+
"ConsoleModule",
|
|
320
|
+
"log",
|
|
321
|
+
"allConfigs:result:" + JSON.stringify(allConfigs)
|
|
322
|
+
);
|
|
323
|
+
// 3、对使用CONFIG中的变量拼接的变量,需要重新赋值。
|
|
324
|
+
CONFIG_API = SET_CONFIG_API(allConfigs);
|
|
325
|
+
// 获取盒子信息
|
|
326
|
+
if (__IS_DEV__) {
|
|
327
|
+
callback?.();
|
|
328
|
+
} else {
|
|
329
|
+
getDeviceInfo(callback);
|
|
330
|
+
}
|
|
331
|
+
});
|
|
332
|
+
} else {
|
|
333
|
+
callback?.();
|
|
334
|
+
}
|
|
335
|
+
// });
|
|
336
|
+
};
|
|
337
|
+
|
|
338
|
+
function logger(data) {
|
|
339
|
+
const params = {
|
|
340
|
+
...data,
|
|
341
|
+
uid: userInfo.uid,
|
|
342
|
+
ott_id: userInfo.ottId,
|
|
343
|
+
};
|
|
344
|
+
// jsLog("server logger params", JSON.stringify(params));
|
|
345
|
+
return api(CONFIG_API.log, params, "POST", { httpLevel1: "" });
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
const getUserInfo = () => userInfo;
|
|
349
|
+
|
|
350
|
+
const getUserSessionInfo = () => userSessionId;
|
|
351
|
+
/**
|
|
352
|
+
* 获取日程数据
|
|
353
|
+
* @returns
|
|
354
|
+
*/
|
|
355
|
+
const getScheduleList = (data, useHealthCareAIData) => {
|
|
356
|
+
const params = {
|
|
357
|
+
uid: Store.storeData?.currentRoleUid || userInfo.uid,
|
|
358
|
+
...data,
|
|
359
|
+
};
|
|
360
|
+
console.log("getScheduleList:params", params);
|
|
361
|
+
if (__IS_DEV__) {
|
|
362
|
+
return new Promise((resolve) => {
|
|
363
|
+
setTimeout(() => {
|
|
364
|
+
let res = JSON.parse(JSON.stringify(mockData.scheduleListData));
|
|
365
|
+
if (useHealthCareAIData) {
|
|
366
|
+
// 添加mock AI规划数据
|
|
367
|
+
res.data.push(...scheduleMock.getKanyYangAiScheduleList.map(item => ({
|
|
368
|
+
...item,
|
|
369
|
+
date: params.date || ""
|
|
370
|
+
})));
|
|
371
|
+
}
|
|
372
|
+
resolve(res);
|
|
373
|
+
}, 300);
|
|
374
|
+
}).catch((e) => {
|
|
375
|
+
console.log(e);
|
|
376
|
+
});
|
|
377
|
+
}
|
|
378
|
+
return api(CONFIG_API.getScheduleList, params).then(res => {
|
|
379
|
+
if (useHealthCareAIData && res?.data) {
|
|
380
|
+
// 添加mock AI规划数据
|
|
381
|
+
res.data.push(...scheduleMock.getKanyYangAiScheduleList.map(item => ({
|
|
382
|
+
...item,
|
|
383
|
+
date: params.date || ""
|
|
384
|
+
})));
|
|
385
|
+
}
|
|
386
|
+
return res;
|
|
387
|
+
});
|
|
388
|
+
};
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* @description 获取当前盒子经纬度
|
|
392
|
+
* @returns
|
|
393
|
+
*/
|
|
394
|
+
const getUserInfoLatLng = () => {
|
|
395
|
+
let params = {
|
|
396
|
+
queryType: "BY_USER",
|
|
397
|
+
fields: "COMMON",
|
|
398
|
+
source: "bd",
|
|
399
|
+
phone: userInfo.phone_no || '19825088911'
|
|
400
|
+
};
|
|
401
|
+
// uid: __IS_DEV__ ? "185774055" : userInfo.uid,
|
|
402
|
+
return api(CONFIG_API.getUserInfoLatLng, params);
|
|
403
|
+
};
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* @description 用户反馈点赞或点踩接口
|
|
407
|
+
* @returns
|
|
408
|
+
*/
|
|
409
|
+
// const queryUserFeedback = (data) => {
|
|
410
|
+
// let params = {
|
|
411
|
+
// ...data,
|
|
412
|
+
// uid: __IS_DEV__ ? "185774055" : userInfo.uid,
|
|
413
|
+
// };
|
|
414
|
+
// return api(CONFIG_API.queryUserFeedback, params);
|
|
415
|
+
// };
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* @description 用户反馈点赞或点踩接口
|
|
419
|
+
* @returns
|
|
420
|
+
*/
|
|
421
|
+
const feedbackReason = () => {
|
|
422
|
+
let params = {};
|
|
423
|
+
if (__IS_DEV__) {
|
|
424
|
+
return new Promise((resolve) => {
|
|
425
|
+
setTimeout(() => {
|
|
426
|
+
resolve({
|
|
427
|
+
result: "000",
|
|
428
|
+
data: [
|
|
429
|
+
"回答与问题无关",
|
|
430
|
+
"回复逻辑不清晰或不正确",
|
|
431
|
+
"答案不准确或无效",
|
|
432
|
+
"没有结合上文回答",
|
|
433
|
+
"语音识别错误",
|
|
434
|
+
"其他原因",
|
|
435
|
+
],
|
|
436
|
+
resultCode: "000",
|
|
437
|
+
resultMessage: "success",
|
|
438
|
+
});
|
|
439
|
+
}, 300);
|
|
440
|
+
}).catch((e) => {
|
|
441
|
+
console.log(e);
|
|
442
|
+
});
|
|
443
|
+
}
|
|
444
|
+
return api(CONFIG_API.feedbackReason, params);
|
|
445
|
+
};
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* @description 用户反馈点赞或点踩接口
|
|
449
|
+
* @returns
|
|
450
|
+
*/
|
|
451
|
+
const feedbackSubmit = (data) => {
|
|
452
|
+
let params = {
|
|
453
|
+
...data,
|
|
454
|
+
uid: userInfo.uid,
|
|
455
|
+
};
|
|
456
|
+
return api(CONFIG_API.feedbackSubmit, params, "POST");
|
|
457
|
+
};
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* 获取节目单数据
|
|
461
|
+
* @returns
|
|
462
|
+
*/
|
|
463
|
+
const getMockListOne = (intent) => {
|
|
464
|
+
return new Promise((resolve) => {
|
|
465
|
+
if (intent) {
|
|
466
|
+
let info = mockData.allMcokList[intent];
|
|
467
|
+
if (!info?.data && info?.detail) {
|
|
468
|
+
info.data = {
|
|
469
|
+
name: info.name,
|
|
470
|
+
detail: info.detail,
|
|
471
|
+
};
|
|
472
|
+
}
|
|
473
|
+
if (info?.data?.detail) {
|
|
474
|
+
if (!Array.isArray(info.data.detail)) {
|
|
475
|
+
info.data.detail = [info.data.detail];
|
|
476
|
+
}
|
|
477
|
+
info = {
|
|
478
|
+
...info,
|
|
479
|
+
...info.data,
|
|
480
|
+
};
|
|
481
|
+
delete info.data;
|
|
482
|
+
}
|
|
483
|
+
console.log("getMockListOne:intent", intent, info);
|
|
484
|
+
resolve(info);
|
|
485
|
+
} else {
|
|
486
|
+
resolve({});
|
|
487
|
+
}
|
|
488
|
+
}).catch((e) => {
|
|
489
|
+
console.log(e);
|
|
490
|
+
});
|
|
491
|
+
};
|
|
492
|
+
|
|
493
|
+
// 查询电视提醒信息
|
|
494
|
+
const getTvReminderList = (data) => {
|
|
495
|
+
const params = {
|
|
496
|
+
uid: userInfo.uid,
|
|
497
|
+
abilityString: encodeURI(userInfo.abilityString),
|
|
498
|
+
...data,
|
|
499
|
+
};
|
|
500
|
+
console.log("getTvReminderList:params", params);
|
|
501
|
+
if (__IS_DEV__) {
|
|
502
|
+
return new Promise((resolve) => {
|
|
503
|
+
setTimeout(() => {
|
|
504
|
+
resolve(mockData.tvReminderListData);
|
|
505
|
+
}, 300);
|
|
506
|
+
}).catch((e) => {
|
|
507
|
+
console.log(e);
|
|
508
|
+
});
|
|
509
|
+
}
|
|
510
|
+
return api(CONFIG_API.getTvScheduleList, params);
|
|
511
|
+
};
|
|
512
|
+
|
|
513
|
+
// 查询电视提醒信息
|
|
514
|
+
const cloudPayCreateOrder = (data) => {
|
|
515
|
+
if (__IS_DEV__) {
|
|
516
|
+
userInfo.phone_no = "19710147504";
|
|
517
|
+
userInfo.userId = "015164078060650";
|
|
518
|
+
}
|
|
519
|
+
const params = {
|
|
520
|
+
...data,
|
|
521
|
+
gmsFlag: false,
|
|
522
|
+
path: "0",
|
|
523
|
+
requestChannel: "PUSH",
|
|
524
|
+
rightsCode: "",
|
|
525
|
+
userInfo: {
|
|
526
|
+
custId: userInfo.phone_no,
|
|
527
|
+
mac: userInfo.mac,
|
|
528
|
+
phone: userInfo.phone_no,
|
|
529
|
+
uid: userInfo.uid,
|
|
530
|
+
userId: userInfo.userId,
|
|
531
|
+
userInfoFrom: "UCS",
|
|
532
|
+
},
|
|
533
|
+
};
|
|
534
|
+
console.log("cloudPayCreateOrder:params", params);
|
|
535
|
+
if (__IS_DEV__) {
|
|
536
|
+
return new Promise((resolve) => {
|
|
537
|
+
setTimeout(() => {
|
|
538
|
+
resolve(mockData.createOrderMockData);
|
|
539
|
+
}, 300);
|
|
540
|
+
}).catch((e) => {
|
|
541
|
+
console.log(e);
|
|
542
|
+
});
|
|
543
|
+
}
|
|
544
|
+
return api(CONFIG_API.createOrder, params, "POST", { appKey: "20240911" });
|
|
545
|
+
};
|
|
546
|
+
|
|
547
|
+
// 获取验证码
|
|
548
|
+
const cloudPayVerifyInfo = (data) => {
|
|
549
|
+
if (__IS_DEV__) {
|
|
550
|
+
userInfo.phone_no = "19710147504";
|
|
551
|
+
userInfo.userId = "015164078060650";
|
|
552
|
+
}
|
|
553
|
+
const params = {
|
|
554
|
+
...data,
|
|
555
|
+
requestChannel: "PUSH",
|
|
556
|
+
userInfo: {
|
|
557
|
+
custId: userInfo.phone_no,
|
|
558
|
+
mac: userInfo.mac,
|
|
559
|
+
phone: userInfo.phone_no,
|
|
560
|
+
uid: userInfo.uid,
|
|
561
|
+
userId: userInfo.userId,
|
|
562
|
+
userInfoFrom: "UCS",
|
|
563
|
+
},
|
|
564
|
+
verifyPhone: userInfo.phone_no,
|
|
565
|
+
};
|
|
566
|
+
console.log("cloudPayVerifyInfo:params", params);
|
|
567
|
+
if (__IS_DEV__) {
|
|
568
|
+
return new Promise((resolve) => {
|
|
569
|
+
setTimeout(() => {
|
|
570
|
+
resolve(mockData.verifyInfoMockData);
|
|
571
|
+
}, 300);
|
|
572
|
+
}).catch((e) => {
|
|
573
|
+
console.log(e);
|
|
574
|
+
});
|
|
575
|
+
}
|
|
576
|
+
return api(CONFIG_API.verifyInfo, params, "POST", { appKey: "20240911" });
|
|
577
|
+
};
|
|
578
|
+
|
|
579
|
+
// 支付接口
|
|
580
|
+
const cloudPayOrder = (data) => {
|
|
581
|
+
if (__IS_DEV__) {
|
|
582
|
+
userInfo.phone_no = "19710147504";
|
|
583
|
+
userInfo.userId = "015164078060650";
|
|
584
|
+
}
|
|
585
|
+
const params = {
|
|
586
|
+
...data,
|
|
587
|
+
payAccount: userInfo.phone_no,
|
|
588
|
+
path: "333",
|
|
589
|
+
requestChannel: "PUSH",
|
|
590
|
+
userInfo: {
|
|
591
|
+
custId: userInfo.phone_no,
|
|
592
|
+
mac: userInfo.mac,
|
|
593
|
+
phone: userInfo.phone_no,
|
|
594
|
+
uid: userInfo.uid,
|
|
595
|
+
userId: userInfo.userId,
|
|
596
|
+
userInfoFrom: "UCS",
|
|
597
|
+
},
|
|
598
|
+
};
|
|
599
|
+
console.log("cloudPayOrder:params", params);
|
|
600
|
+
// if (__IS_DEV__) {
|
|
601
|
+
// return new Promise((resolve) => {
|
|
602
|
+
// setTimeout(() => {
|
|
603
|
+
// resolve({
|
|
604
|
+
// result: "VAS-000",
|
|
605
|
+
// message: "提交成功",
|
|
606
|
+
// data: { verifyId: "123456", reply: "123456" },
|
|
607
|
+
// });
|
|
608
|
+
// }, 300);
|
|
609
|
+
// }).catch((e) => {
|
|
610
|
+
// console.log(e);
|
|
611
|
+
// });
|
|
612
|
+
// }
|
|
613
|
+
return api(CONFIG_API.payOrder, params, "POST", { appKey: "20240911" });
|
|
614
|
+
};
|
|
615
|
+
|
|
616
|
+
// 订阅接口
|
|
617
|
+
const subscribeWindowMsgService = (data) => {
|
|
618
|
+
if (__IS_DEV__) {
|
|
619
|
+
userInfo.uid = "185774055";
|
|
620
|
+
}
|
|
621
|
+
const params = {
|
|
622
|
+
...data,
|
|
623
|
+
uid: userInfo.uid,
|
|
624
|
+
abilityString: userInfo.abilityString,
|
|
625
|
+
};
|
|
626
|
+
console.log("subscribeWindowMsgService:params", params);
|
|
627
|
+
return api(CONFIG_API.subscribeWindowMsgService, params, "POST");
|
|
628
|
+
};
|
|
629
|
+
// 订单生成二维码
|
|
630
|
+
const createOrderQrCode = (data) => {
|
|
631
|
+
const params = {
|
|
632
|
+
...data,
|
|
633
|
+
channel: "yeepay_alipay_qr",
|
|
634
|
+
phone: userInfo.phoneNo,
|
|
635
|
+
};
|
|
636
|
+
console.log("createOrderQrCode:params", params);
|
|
637
|
+
return api(CONFIG_API.createPayQrUrl, params, "POST");
|
|
638
|
+
};
|
|
639
|
+
// 查看订单状态
|
|
640
|
+
const queryOrderStatus = (data) => {
|
|
641
|
+
const params = {
|
|
642
|
+
...data,
|
|
643
|
+
};
|
|
644
|
+
console.log("queryOrderStatus:params", params);
|
|
645
|
+
return api(CONFIG_API.getPayResult, params);
|
|
646
|
+
};
|
|
647
|
+
|
|
648
|
+
// 获取生活缴费电费二维码
|
|
649
|
+
const getPayQr = (subBizType, consNo) => {
|
|
650
|
+
return api(CONFIG_API.getPayQr, {
|
|
651
|
+
uid: userInfo.uid,
|
|
652
|
+
subBizType: subBizType,
|
|
653
|
+
consNo: consNo || "",
|
|
654
|
+
});
|
|
655
|
+
};
|
|
656
|
+
|
|
657
|
+
// 获取对话历史记录
|
|
658
|
+
const getHistoryList = (data) => {
|
|
659
|
+
const params = {
|
|
660
|
+
...data,
|
|
661
|
+
uid: data?.uid || userInfo.uid,
|
|
662
|
+
};
|
|
663
|
+
console.log("getHistoryList:params", params);
|
|
664
|
+
if (__IS_DEV__) {
|
|
665
|
+
return new Promise((resolve) => {
|
|
666
|
+
setTimeout(() => {
|
|
667
|
+
// resolve(mockData.historyMockData);
|
|
668
|
+
resolve(mockData.newHistoryMockData);
|
|
669
|
+
}, 300);
|
|
670
|
+
}).catch((e) => {
|
|
671
|
+
console.log(e);
|
|
672
|
+
});
|
|
673
|
+
}
|
|
674
|
+
return api(CONFIG_API.getHistoryList, params);
|
|
675
|
+
};
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* 长视频:获取详情页
|
|
679
|
+
* @param {*} psId
|
|
680
|
+
* @returns
|
|
681
|
+
*/
|
|
682
|
+
const getDetailInfoForLong = (psId) => {
|
|
683
|
+
const params = {
|
|
684
|
+
psId,
|
|
685
|
+
templateId: userInfo.templateId || "",
|
|
686
|
+
// abilityString: "%257B%2522abilities%2522%253A%255B%25224K-1%257Ccp-TENCENT%257CtimeShift%257CNxM%2522%255D%252C%2522businessGroupIds%2522%253A%255B%255D%252C%2522deviceGroupIds%2522%253A%255B%25225152%2522%255D%252C%2522districtCode%2522%253A%2522520100%2522%252C%2522labelIds%2522%253A%255B%255D%252C%2522userGroupIds%2522%253A%255B%255D%252C%2522userLabelIds%2522%253A%255B%255D%257D",
|
|
687
|
+
abilityString: userInfo.abilityString,
|
|
688
|
+
cdnType: userInfo.cdnType,
|
|
689
|
+
};
|
|
690
|
+
console.log("server getDetailInfoForLong:params", params);
|
|
691
|
+
if (__IS_DEV__) {
|
|
692
|
+
return new Promise((resolve) => {
|
|
693
|
+
console.log("mockData.getProgramDetail", mockData.getProgramDetail)
|
|
694
|
+
resolve(mockData.getProgramDetail);
|
|
695
|
+
}).catch((e) => {
|
|
696
|
+
console.log(e);
|
|
697
|
+
});
|
|
698
|
+
}
|
|
699
|
+
return api(CONFIG_API.getDetail, params);
|
|
700
|
+
};
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* 长视频:获取节目精彩片段
|
|
704
|
+
* @param {*} data
|
|
705
|
+
* @returns
|
|
706
|
+
*/
|
|
707
|
+
const getProgramSceneList = (data) => {
|
|
708
|
+
const params = {
|
|
709
|
+
// programId: data?.programId || "",
|
|
710
|
+
dataType: data?.dataType || "",
|
|
711
|
+
templateId: userInfo.templateId,
|
|
712
|
+
// abilityString: "%257B%2522abilities%2522%253A%255B%25224K-1%257Ccp-TENCENT%257CtimeShift%257CNxM%2522%255D%252C%2522businessGroupIds%2522%253A%255B%255D%252C%2522deviceGroupIds%2522%253A%255B%25225152%2522%255D%252C%2522districtCode%2522%253A%2522520100%2522%252C%2522labelIds%2522%253A%255B%255D%252C%2522userGroupIds%2522%253A%255B%255D%252C%2522userLabelIds%2522%253A%255B%255D%257D",
|
|
713
|
+
programsetId: data?.programsetId || "",
|
|
714
|
+
setNum: data?.setNum || "",
|
|
715
|
+
abilityString: userInfo.abilityString,
|
|
716
|
+
};
|
|
717
|
+
console.log("server getProgramSceneList:params", JSON.stringify(params));
|
|
718
|
+
if (__IS_DEV__) {
|
|
719
|
+
return new Promise((resolve) => {
|
|
720
|
+
resolve(mockData.getProgramSceneListMock);
|
|
721
|
+
}).catch((e) => {
|
|
722
|
+
console.log(e);
|
|
723
|
+
});
|
|
724
|
+
}
|
|
725
|
+
return api(CONFIG_API.getProgramSceneList, params, "POST");
|
|
726
|
+
};
|
|
727
|
+
// 获取视频的点位信息
|
|
728
|
+
const getVideoPositionInfo = (data) => {
|
|
729
|
+
const params = {
|
|
730
|
+
programsetId: data.programsetId || "",
|
|
731
|
+
setNum: data.setNum || "",
|
|
732
|
+
};
|
|
733
|
+
console.log("server getVideoPositionInfo:params", params);
|
|
734
|
+
return api(CONFIG_API.getVideoPositionInfo, params, "POST");
|
|
735
|
+
// return new Promise((resolve) => {
|
|
736
|
+
// resolve({
|
|
737
|
+
// pointList: [
|
|
738
|
+
// {
|
|
739
|
+
// "basePsId": "1150780276612403200",
|
|
740
|
+
// "createTime": "2026-01-07 19:00:42",
|
|
741
|
+
// "endPoint": "00:05:51",
|
|
742
|
+
// "id": 459187,
|
|
743
|
+
// "name": "震荡效应",
|
|
744
|
+
// "desc": "学而时习之,不亦说乎?有朋自远方来,不亦乐乎?人不知而不愠,不亦君子乎",
|
|
745
|
+
// "setNum": 1,
|
|
746
|
+
// "startPoint": "00:04:51",
|
|
747
|
+
// "type": "HIGHLIGHT"
|
|
748
|
+
// },
|
|
749
|
+
// ]
|
|
750
|
+
// });
|
|
751
|
+
// }).catch((e) => {
|
|
752
|
+
// console.log("error:getVideoPositionInfo", e.message);
|
|
753
|
+
// });
|
|
754
|
+
};
|
|
755
|
+
// 上报命中的点位信息给盖亚
|
|
756
|
+
const reportPointInfoToGaia = (data) => {
|
|
757
|
+
console.log("reportPointInfoToGaia:data", data);
|
|
758
|
+
let params = {
|
|
759
|
+
...data,
|
|
760
|
+
};
|
|
761
|
+
return api("http://112.21.189.197:29209/sa-api/tool/v1/executor/31bb3aa4d7525fcfb06f96df7f6b7262", params, "POST");
|
|
762
|
+
};
|
|
763
|
+
|
|
764
|
+
// 查询单个点播足迹
|
|
765
|
+
const querySingleHistoryForLong = (data) => {
|
|
766
|
+
// objectId
|
|
767
|
+
// startTime
|
|
768
|
+
// endTime
|
|
769
|
+
const params = {
|
|
770
|
+
...data,
|
|
771
|
+
userType: "",
|
|
772
|
+
endTime: 0,
|
|
773
|
+
startTime: 0,
|
|
774
|
+
uid: userInfo.uid,
|
|
775
|
+
businessType: "vod",
|
|
776
|
+
deviceType: "STB",
|
|
777
|
+
};
|
|
778
|
+
// if (__IS_DEV__) {
|
|
779
|
+
// return new Promise((resolve) => {
|
|
780
|
+
// resolve(mockData.singleHistoryData);
|
|
781
|
+
// }).catch((e) => {
|
|
782
|
+
// console.log(e);
|
|
783
|
+
// });
|
|
784
|
+
// }
|
|
785
|
+
return api(CONFIG_API.querySingleHistory, params);
|
|
786
|
+
};
|
|
787
|
+
|
|
788
|
+
const querySearchContent = (data) => {
|
|
789
|
+
const params = {
|
|
790
|
+
...data,
|
|
791
|
+
timeout: Math.abs(10) * 1e3,
|
|
792
|
+
};
|
|
793
|
+
// if (__IS_DEV__) {
|
|
794
|
+
// return new Promise((resolve) => {
|
|
795
|
+
// let resultData = mockData.searchContentData
|
|
796
|
+
// resultData.current = params.pageNum
|
|
797
|
+
// resolve(resultData);
|
|
798
|
+
// }).catch((e) => {
|
|
799
|
+
// console.log(e);
|
|
800
|
+
// });
|
|
801
|
+
// }
|
|
802
|
+
return api(CONFIG_API.querySearchContent, params, "POST");
|
|
803
|
+
};
|
|
804
|
+
|
|
805
|
+
const querySearchChannel = (data) => {
|
|
806
|
+
const params = {
|
|
807
|
+
...data,
|
|
808
|
+
timeout: Math.abs(10) * 1e3,
|
|
809
|
+
};
|
|
810
|
+
// if (__IS_DEV__) {
|
|
811
|
+
// return new Promise((resolve) => {
|
|
812
|
+
// let resultData = mockData.searchContentData
|
|
813
|
+
// resultData.current = params.pageNum
|
|
814
|
+
// resolve(resultData);
|
|
815
|
+
// }).catch((e) => {
|
|
816
|
+
// console.log(e);
|
|
817
|
+
// });
|
|
818
|
+
// }
|
|
819
|
+
return api(CONFIG_API.querySearchChannel, params, "POST");
|
|
820
|
+
};
|
|
821
|
+
// 根据日期获取节目单
|
|
822
|
+
const getProgramList = (data) => {
|
|
823
|
+
const params = {
|
|
824
|
+
...data,
|
|
825
|
+
abilityString: userInfo.abilityString,
|
|
826
|
+
};
|
|
827
|
+
return api(CONFIG_API.getProgramList, params, "POST");
|
|
828
|
+
};
|
|
829
|
+
|
|
830
|
+
/**
|
|
831
|
+
* 长视频:收藏情况
|
|
832
|
+
* @param {*} psId 节目集id
|
|
833
|
+
* @returns
|
|
834
|
+
*/
|
|
835
|
+
const checkIsCollectionForLong = (psId) => {
|
|
836
|
+
const params = {
|
|
837
|
+
deviceType: "STB",
|
|
838
|
+
// userType: "",
|
|
839
|
+
businessType: "vod",
|
|
840
|
+
objectId: psId,
|
|
841
|
+
uid: userInfo.uid,
|
|
842
|
+
cdnType: userInfo.cdnType,
|
|
843
|
+
};
|
|
844
|
+
console.log("server checkIsCollectionForLong:params", params);
|
|
845
|
+
// jsLog("server checkIsCollectionForLong",params);
|
|
846
|
+
return api(CONFIG_API.checkIsCollection, params);
|
|
847
|
+
};
|
|
848
|
+
|
|
849
|
+
const addCollectionForLong = (data) => {
|
|
850
|
+
const params = {
|
|
851
|
+
...data,
|
|
852
|
+
deviceType: "STB",
|
|
853
|
+
uid: userInfo.uid,
|
|
854
|
+
oprUids: userInfo.uid,
|
|
855
|
+
templateId: userInfo.templateId || "",
|
|
856
|
+
cdnType: userInfo.cdnType,
|
|
857
|
+
abilityString: userInfo.abilityString,
|
|
858
|
+
serviceChannelId: userInfo.serviceChannelId,
|
|
859
|
+
};
|
|
860
|
+
console.log("server addCollectionForLong:params", params);
|
|
861
|
+
// jsLog('server addCollectionForLong params',params);
|
|
862
|
+
return api(CONFIG_API.addCollection, params, "POST", {
|
|
863
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
864
|
+
});
|
|
865
|
+
};
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* 长视频:取消收藏
|
|
869
|
+
* @param {*} objectId 节目集id/频道id
|
|
870
|
+
* @returns
|
|
871
|
+
*/
|
|
872
|
+
const deleteCollectionForLong = (data) => {
|
|
873
|
+
const params = {
|
|
874
|
+
...data,
|
|
875
|
+
deviceType: "STB",
|
|
876
|
+
// userType: "",
|
|
877
|
+
businessType: data.businessType || "vod",
|
|
878
|
+
playType: data.playType || "vod",
|
|
879
|
+
uid: userInfo.uid,
|
|
880
|
+
oprUids: userInfo.uid,
|
|
881
|
+
templateId: userInfo.templateId || "",
|
|
882
|
+
cdnType: userInfo.cdnType,
|
|
883
|
+
};
|
|
884
|
+
console.log("server deleteCollectionForLong:params", params);
|
|
885
|
+
return api(CONFIG_API.deleteCollection, params);
|
|
886
|
+
};
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
* 长视频:足迹上报
|
|
890
|
+
* 播放成功、自动播放完成、手动退出(包括手动切集和退出播放等)
|
|
891
|
+
*/
|
|
892
|
+
const addHistoryForLong = (data) => {
|
|
893
|
+
const params = {
|
|
894
|
+
...data,
|
|
895
|
+
deviceType: "STB",
|
|
896
|
+
userType: "",
|
|
897
|
+
uid: userInfo.uid,
|
|
898
|
+
oprUids: userInfo.uid,
|
|
899
|
+
templateId: userInfo.templateId || "",
|
|
900
|
+
cdnType: userInfo.cdnType,
|
|
901
|
+
};
|
|
902
|
+
console.log("server getHistoryForLong:params", JSON.stringify(params));
|
|
903
|
+
// jsLog('server getHistoryForLong params',params);
|
|
904
|
+
return api(CONFIG_API.addHistory, params, "POST", {
|
|
905
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
906
|
+
});
|
|
907
|
+
};
|
|
908
|
+
|
|
909
|
+
/**
|
|
910
|
+
* 获取用户头像信息
|
|
911
|
+
* @param {*}
|
|
912
|
+
* @returns
|
|
913
|
+
*/
|
|
914
|
+
const getUserConfig = () => {
|
|
915
|
+
const params = {
|
|
916
|
+
uid: userInfo.uid,
|
|
917
|
+
voiceSource: 'YD'
|
|
918
|
+
};
|
|
919
|
+
// if (__IS_DEV__) {
|
|
920
|
+
// console.log("server getUserConfig:params", params);
|
|
921
|
+
// return new Promise((resolve) => {
|
|
922
|
+
// resolve(mockData.getUserConfig);
|
|
923
|
+
// }).catch((e) => {
|
|
924
|
+
// console.log(e);
|
|
925
|
+
// });
|
|
926
|
+
// }
|
|
927
|
+
return api(CONFIG_API.getUserConfig, params);
|
|
928
|
+
};
|
|
929
|
+
// 查询角色列表
|
|
930
|
+
const getRoleList = function () {
|
|
931
|
+
const params = {
|
|
932
|
+
uid: userInfo.uid,
|
|
933
|
+
mac: userInfo.mac,
|
|
934
|
+
screenId: userInfo.abilityString,
|
|
935
|
+
caller: "STB",
|
|
936
|
+
};
|
|
937
|
+
if (__IS_DEV__) {
|
|
938
|
+
console.log("server getUserConfig:params", params);
|
|
939
|
+
return new Promise((resolve) => {
|
|
940
|
+
resolve(mockData.getRoleList);
|
|
941
|
+
}).catch((e) => {
|
|
942
|
+
console.log(e);
|
|
943
|
+
});
|
|
944
|
+
}
|
|
945
|
+
return api(CONFIG_API.getRoleList, params, "POST");
|
|
946
|
+
};
|
|
947
|
+
// 角色切换
|
|
948
|
+
const rolesLogin = function (data) {
|
|
949
|
+
const params = {
|
|
950
|
+
...data,
|
|
951
|
+
uid: userInfo.uid,
|
|
952
|
+
mac: userInfo.mac,
|
|
953
|
+
screenId: userInfo.abilityString,
|
|
954
|
+
caller: "STB",
|
|
955
|
+
timeout: 15e3,
|
|
956
|
+
};
|
|
957
|
+
return api(CONFIG_API.rolesLogin, params, "POST", {
|
|
958
|
+
timeout: 15e3,
|
|
959
|
+
});
|
|
960
|
+
};
|
|
961
|
+
|
|
962
|
+
|
|
963
|
+
/**
|
|
964
|
+
* 询价接口
|
|
965
|
+
* @param {*} contentId 节目集id ppvList字段里的contentId
|
|
966
|
+
* @param {*} custId 用户主账号
|
|
967
|
+
* @param {*} userId 用户子账号
|
|
968
|
+
* @returns
|
|
969
|
+
*/
|
|
970
|
+
const queryPriceByUrl = (ppvList) => {
|
|
971
|
+
const data = {
|
|
972
|
+
data: {
|
|
973
|
+
contentId: ppvList[0].contentId,
|
|
974
|
+
cosInquiryInfo: encodeURI(JSON.stringify(ppvList)),
|
|
975
|
+
extension: [],
|
|
976
|
+
itemId: [],
|
|
977
|
+
productId: [],
|
|
978
|
+
rightsId: [],
|
|
979
|
+
type: "2",
|
|
980
|
+
userInfo: {
|
|
981
|
+
custId: userInfo.ottId || "",
|
|
982
|
+
custType: "PERSONAL",
|
|
983
|
+
extension: [],
|
|
984
|
+
mac: userInfo.mac || "",
|
|
985
|
+
uid: userInfo.uid || "",
|
|
986
|
+
userId: userInfo.userId || "",
|
|
987
|
+
userToken: userInfo.userToken || "",
|
|
988
|
+
},
|
|
989
|
+
cdnType: userInfo.cdnType,
|
|
990
|
+
},
|
|
991
|
+
};
|
|
992
|
+
return api(CONFIG_API.queryPrice, data, "post", { appId: "88888888" });
|
|
993
|
+
};
|
|
994
|
+
|
|
995
|
+
// 通过APK鉴权
|
|
996
|
+
async function queryPriceByApk(ppvList) {
|
|
997
|
+
// if (__IS_DEV__) return { result: "VAS-201004" };
|
|
998
|
+
const data = {
|
|
999
|
+
ppvList: JSON.stringify(ppvList),
|
|
1000
|
+
contentId: ppvList[0].contentId,
|
|
1001
|
+
productId:
|
|
1002
|
+
(ppvList &&
|
|
1003
|
+
ppvList.length &&
|
|
1004
|
+
ppvList[0].productIdList.toString()) ||
|
|
1005
|
+
"",
|
|
1006
|
+
topicId: "",
|
|
1007
|
+
rightsId: "[]",
|
|
1008
|
+
itemId: "[]",
|
|
1009
|
+
actionMode: "",
|
|
1010
|
+
cpId: "",
|
|
1011
|
+
programId: "",
|
|
1012
|
+
};
|
|
1013
|
+
try {
|
|
1014
|
+
console.log("service queryPriceByApk data" + JSON.stringify(data));
|
|
1015
|
+
const res = await atlas.onLauncherCall(
|
|
1016
|
+
"authPrice",
|
|
1017
|
+
JSON.stringify(data)
|
|
1018
|
+
);
|
|
1019
|
+
const responseJson2 = JSON.parse(res);
|
|
1020
|
+
console.log("service queryPriceByApk responseJson2", res);
|
|
1021
|
+
return responseJson2.originJson && JSON.parse(responseJson2.originJson);
|
|
1022
|
+
} catch (err) {
|
|
1023
|
+
console.log("server queryPriceByApk error", err);
|
|
1024
|
+
throw new Error(err);
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
async function queryPrice(ppvList) {
|
|
1029
|
+
const allConfigs = Store.getData("allConfigs");
|
|
1030
|
+
console.log(
|
|
1031
|
+
"wmj server.js queryPrice QUERY_PRICE_BY_APK",
|
|
1032
|
+
allConfigs && allConfigs.QUERY_PRICE_BY_APK,
|
|
1033
|
+
__IS_DEV__
|
|
1034
|
+
);
|
|
1035
|
+
if (__IS_DEV__) {
|
|
1036
|
+
return new Promise((resolve) => {
|
|
1037
|
+
resolve({
|
|
1038
|
+
result: "VAS-000"
|
|
1039
|
+
});
|
|
1040
|
+
}).catch((e) => {
|
|
1041
|
+
console.log(e);
|
|
1042
|
+
});
|
|
1043
|
+
}
|
|
1044
|
+
if (allConfigs && allConfigs.QUERY_PRICE_BY_APK && !__IS_DEV__) {
|
|
1045
|
+
return queryPriceByApk(ppvList);
|
|
1046
|
+
} else {
|
|
1047
|
+
return queryPriceByUrl(ppvList);
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
// ndms 查询瀑布流桌面信息
|
|
1052
|
+
const getNDMSFlowData = async data => {
|
|
1053
|
+
const params = {
|
|
1054
|
+
...data,
|
|
1055
|
+
abilityString: userInfo.abilityString,
|
|
1056
|
+
uid: userInfo.uid,
|
|
1057
|
+
mac: userInfo.mac,
|
|
1058
|
+
deviceId: userInfo.deviceId,
|
|
1059
|
+
custId: userInfo.ottId,
|
|
1060
|
+
timeout: Math.abs(CONFIG.DEFAULT_TIMEOUT || 10) * 1e3
|
|
1061
|
+
};
|
|
1062
|
+
console.log("getNDMSFlowData:params", params);
|
|
1063
|
+
// 先根据desktopId查询瀑布流数据
|
|
1064
|
+
try {
|
|
1065
|
+
// const res = await api(apiUrl, params);
|
|
1066
|
+
// console.log("getNDMSFlowData:res", res);
|
|
1067
|
+
return await api(CONFIG_API.getNDMSFlow, params);
|
|
1068
|
+
} catch (error) {
|
|
1069
|
+
console.log("getNDMSFlowData:error", error);
|
|
1070
|
+
throw new Error(error);
|
|
1071
|
+
}
|
|
1072
|
+
};
|
|
1073
|
+
|
|
1074
|
+
// ndms 查询瀑布流桌面信息
|
|
1075
|
+
const getNDMSTopicData = async data => {
|
|
1076
|
+
const params = {
|
|
1077
|
+
...data,
|
|
1078
|
+
abilityString: userInfo.abilityString,
|
|
1079
|
+
uid: userInfo.uid,
|
|
1080
|
+
mac: userInfo.mac,
|
|
1081
|
+
deviceId: userInfo.deviceId,
|
|
1082
|
+
custId: userInfo.ottId
|
|
1083
|
+
};
|
|
1084
|
+
try {
|
|
1085
|
+
// const res = await api(CONFIG_API.getNDMSTopic, params);
|
|
1086
|
+
// console.log("getNDMSTopicData:res", res);
|
|
1087
|
+
// return res;
|
|
1088
|
+
return api(CONFIG_API.getNDMSTopic, params)
|
|
1089
|
+
.then(res => {
|
|
1090
|
+
console.log("getNDMSTopicData:res", res);
|
|
1091
|
+
return res;
|
|
1092
|
+
})
|
|
1093
|
+
.catch((error) => {
|
|
1094
|
+
console.log("getNDMSTopicData:error", error);
|
|
1095
|
+
throw error; // 抛出错误而不是返回
|
|
1096
|
+
});
|
|
1097
|
+
} catch (error) {
|
|
1098
|
+
console.log("getNDMSTopicData:error");
|
|
1099
|
+
throw new Error(error);
|
|
1100
|
+
}
|
|
1101
|
+
};
|
|
1102
|
+
const test_bilityString = "%7B%22CITY_CODE%22%3A%22771%22%2C%22COUNTY_CODE%22%3A%22%22%2C%22VILLAGE_CODE%22%3A%22%22%2C%22abilities%22%3A%5B%224K-1%7Ccp-TENCENT%7CtimeShift%7CNxM%7CDL-3rd%7Cupgrade14%22%5D%2C%22businessGroupIds%22%3A%5B%5D%2C%22deviceGroupIds%22%3A%5B%224575%22%5D%2C%22districtCode%22%3A%22450100%22%2C%22labelIds%22%3A%5B%2245137%22%2C%2245148%22%2C%2245159%22%2C%2245313%22%2C%2245128%22%2C%224550%22%2C%2245177%22%2C%2245158%22%2C%2245135%22%2C%224586%22%2C%22451%22%2C%224518%22%2C%224567%22%2C%2245290%22%5D%2C%22userGroupIds%22%3A%5B%22454%22%5D%2C%22userLabelIds%22%3A%5B%2245137%22%2C%2245148%22%2C%2245159%22%2C%2245313%22%2C%2245128%22%2C%224550%22%2C%2245177%22%2C%2245158%22%2C%2245135%22%2C%224586%22%2C%22451%22%2C%224518%22%2C%224567%22%2C%2245290%22%5D%7D"
|
|
1103
|
+
// ndms 查询瀑布流桌面信息
|
|
1104
|
+
const getNDMSFlowData_TEST = async data => {
|
|
1105
|
+
const params = {
|
|
1106
|
+
...data,
|
|
1107
|
+
abilityString: test_bilityString,
|
|
1108
|
+
uid: userInfo.uid,
|
|
1109
|
+
mac: userInfo.mac,
|
|
1110
|
+
deviceId: userInfo.deviceId,
|
|
1111
|
+
custId: userInfo.ottId,
|
|
1112
|
+
timeout: Math.abs(CONFIG.DEFAULT_TIMEOUT || 10) * 1e3
|
|
1113
|
+
};
|
|
1114
|
+
console.log("getNDMSFlowData:params", params);
|
|
1115
|
+
// 先根据desktopId查询瀑布流数据
|
|
1116
|
+
try {
|
|
1117
|
+
// const res = await api(apiUrl, params);
|
|
1118
|
+
// console.log("getNDMSFlowData:res", res);
|
|
1119
|
+
return await api(CONFIG_API.getNDMSFlow, params);
|
|
1120
|
+
} catch (error) {
|
|
1121
|
+
console.log("getNDMSFlowData:error", error);
|
|
1122
|
+
throw new Error(error);
|
|
1123
|
+
}
|
|
1124
|
+
};
|
|
1125
|
+
|
|
1126
|
+
// ndms 查询瀑布流桌面信息
|
|
1127
|
+
const getNDMSTopicData_TEST = async data => {
|
|
1128
|
+
const params = {
|
|
1129
|
+
...data,
|
|
1130
|
+
abilityString: test_bilityString,
|
|
1131
|
+
uid: userInfo.uid,
|
|
1132
|
+
mac: userInfo.mac,
|
|
1133
|
+
deviceId: userInfo.deviceId,
|
|
1134
|
+
custId: userInfo.ottId
|
|
1135
|
+
};
|
|
1136
|
+
try {
|
|
1137
|
+
// const res = await api(CONFIG_API.getNDMSTopic, params);
|
|
1138
|
+
// console.log("getNDMSTopicData:res", res);
|
|
1139
|
+
// return res;
|
|
1140
|
+
return api(CONFIG_API.getNDMSTopic, params);
|
|
1141
|
+
} catch (error) {
|
|
1142
|
+
console.log("getNDMSTopicData:error");
|
|
1143
|
+
throw new Error(error);
|
|
1144
|
+
}
|
|
1145
|
+
};
|
|
1146
|
+
|
|
1147
|
+
// 查询观影记录列表
|
|
1148
|
+
const queryHistoryList = (data) => {
|
|
1149
|
+
const params = {
|
|
1150
|
+
pageNo: 1,
|
|
1151
|
+
pageSize: 10,
|
|
1152
|
+
deviceType: "STB",
|
|
1153
|
+
userType: "",
|
|
1154
|
+
businessType: "vod",
|
|
1155
|
+
uid: userInfo.uid,
|
|
1156
|
+
cdnType: userInfo.cdnType,
|
|
1157
|
+
abilityString: userInfo.abilityString,
|
|
1158
|
+
};
|
|
1159
|
+
return api(CONFIG_API.queryHistoryList, params, "GET");
|
|
1160
|
+
};
|
|
1161
|
+
/**
|
|
1162
|
+
* 获取天气
|
|
1163
|
+
* @param {*} params { districtCode } 地区编码
|
|
1164
|
+
* @returns
|
|
1165
|
+
*/
|
|
1166
|
+
const getWeather = params => {
|
|
1167
|
+
return api(
|
|
1168
|
+
CONFIG_API.getWeather,
|
|
1169
|
+
{
|
|
1170
|
+
abilityString: userInfo.abilityString,
|
|
1171
|
+
...params
|
|
1172
|
+
},
|
|
1173
|
+
"GET"
|
|
1174
|
+
);
|
|
1175
|
+
};
|
|
1176
|
+
|
|
1177
|
+
// 获取相册列表
|
|
1178
|
+
const getPhotoAlbumList = (publicFlag = "") => {
|
|
1179
|
+
return api(CONFIG_API.getAlbumList, {
|
|
1180
|
+
masterUid: userInfo.uid,
|
|
1181
|
+
publicFlag: publicFlag
|
|
1182
|
+
});
|
|
1183
|
+
};
|
|
1184
|
+
// 根据相册id查询相片
|
|
1185
|
+
const getPhotoAlbumByAlbumId = albumCode => {
|
|
1186
|
+
return api(CONFIG_API.getAlbumPhotoList + albumCode);
|
|
1187
|
+
};
|
|
1188
|
+
|
|
1189
|
+
// 查询、删除、生成、保存回忆录
|
|
1190
|
+
const handleMemoryBook = data => {
|
|
1191
|
+
// type: 0 获取回忆录列表 1 生成回忆录 2 删除回忆录 3 保存回忆录
|
|
1192
|
+
let extendInfo = { memoirType: data.type || "" };
|
|
1193
|
+
if (extendInfo.memoirType === "2") {
|
|
1194
|
+
// 删除传id
|
|
1195
|
+
extendInfo.memoirId = data.id || ""
|
|
1196
|
+
} else if (extendInfo.memoirType === "3" && data.imageUrl) {
|
|
1197
|
+
//保存存图片
|
|
1198
|
+
extendInfo.memoirImageUrl = data.imageUrl;
|
|
1199
|
+
}
|
|
1200
|
+
let timeout = Math.abs(CONFIG.DEFAULT_TIMEOUT || 30) * 1e3;
|
|
1201
|
+
return api(CONFIG_API.handleMemoryBook, {
|
|
1202
|
+
"serviceAgentId": Store.getData("entryPage")?.serviceAgentId || "",
|
|
1203
|
+
"uid": userInfo.uid,
|
|
1204
|
+
"requestId": new Date().getTime(),
|
|
1205
|
+
"source": "TV",
|
|
1206
|
+
"extendInfo": extendInfo,
|
|
1207
|
+
"isStream": "false",
|
|
1208
|
+
"content": "。",
|
|
1209
|
+
timeout: timeout
|
|
1210
|
+
}, "POST", {
|
|
1211
|
+
timeout: timeout
|
|
1212
|
+
});
|
|
1213
|
+
};
|
|
1214
|
+
// 获取设备连接人员列表信息 CONFIG.DOMAIN_USERS + 'screen/mobile/query/link/stb', 'http://192.168.48.164:17191/ucs-api/screen/mobile/query/link/stb'
|
|
1215
|
+
const getDeviceConnectList = data => {
|
|
1216
|
+
return api(
|
|
1217
|
+
CONFIG.DOMAIN_USERS + 'screen/mobile/query/link/stb',
|
|
1218
|
+
{
|
|
1219
|
+
uid: userInfo.uid
|
|
1220
|
+
},
|
|
1221
|
+
"POST"
|
|
1222
|
+
);
|
|
1223
|
+
}
|
|
1224
|
+
const getAllProgramlist = (params) => {
|
|
1225
|
+
return api(CONFIG_API.getAllProgramlist, {
|
|
1226
|
+
abilityString: userInfo.abilityString,
|
|
1227
|
+
startDate: params.startDate,
|
|
1228
|
+
endDate: params.endDate,
|
|
1229
|
+
uuid: params.uuid,
|
|
1230
|
+
serviceChannelId: userInfo.serviceChannelId
|
|
1231
|
+
}, "GET")
|
|
1232
|
+
}
|
|
1233
|
+
// 获取家庭成员接口
|
|
1234
|
+
const getFamilyList = (pageNum) => {
|
|
1235
|
+
return api(CONFIG_API.getMemberList, {
|
|
1236
|
+
mac: userInfo.mac,
|
|
1237
|
+
pageNum: 1 || pageNum,
|
|
1238
|
+
pageSize: 100
|
|
1239
|
+
}, "POST")
|
|
1240
|
+
}
|
|
1241
|
+
// 查询用户连接头像接口
|
|
1242
|
+
const getUserAvatarList = (data) => {
|
|
1243
|
+
return api(CONFIG_API.getLinkAvator, {
|
|
1244
|
+
uid: userInfo.uid,
|
|
1245
|
+
mac: userInfo.mac,
|
|
1246
|
+
}, "POST")
|
|
1247
|
+
}
|
|
1248
|
+
// 获取桌面id和flowid (详情页相关推荐需要)
|
|
1249
|
+
const getDesktopId = (type) => {
|
|
1250
|
+
return new Promise((resolve) => {
|
|
1251
|
+
atlas
|
|
1252
|
+
.fetchDataInfo("data", "{'type':'memory','key':'DETAIL_PAGE_V3_DESKTOPID'}").then(res => {
|
|
1253
|
+
Vue.Native.callNative(
|
|
1254
|
+
"ConsoleModule",
|
|
1255
|
+
"log",
|
|
1256
|
+
`queryDeviceType:desktopId=>${res}`
|
|
1257
|
+
);
|
|
1258
|
+
resolve(res);
|
|
1259
|
+
})
|
|
1260
|
+
})
|
|
1261
|
+
|
|
1262
|
+
}
|
|
1263
|
+
// 获取桌面id和flowid (详情页相关推荐需要)
|
|
1264
|
+
const getFlowId = (type) => {
|
|
1265
|
+
return new Promise((resolve) => {
|
|
1266
|
+
atlas
|
|
1267
|
+
.fetchDataInfo("data", "{'type':'memory','key':'DETAIL_PAGE_V3_FLOWID'}").then(res => {
|
|
1268
|
+
Vue.Native.callNative(
|
|
1269
|
+
"ConsoleModule",
|
|
1270
|
+
"log",
|
|
1271
|
+
`queryDeviceType:flowId=>${res}`
|
|
1272
|
+
);
|
|
1273
|
+
resolve(res);
|
|
1274
|
+
})
|
|
1275
|
+
})
|
|
1276
|
+
}
|
|
1277
|
+
// 获取详情页推荐列表
|
|
1278
|
+
const getRecommendList = async (params = {}) => {
|
|
1279
|
+
// 先根据desktopId和flowId查询瀑布流数据
|
|
1280
|
+
// let desktopId = await getDesktopId();
|
|
1281
|
+
// let flowId = await getFlowId();
|
|
1282
|
+
// console.log(
|
|
1283
|
+
// "desktopId==============flowId,",
|
|
1284
|
+
// JSON.stringify(desktopId),
|
|
1285
|
+
// JSON.stringify(flowId),
|
|
1286
|
+
// );
|
|
1287
|
+
// if (desktopId && flowId) { // 优先取接口返回的desktopId和flowId
|
|
1288
|
+
// params.desktopId = desktopId
|
|
1289
|
+
// params.flowId = flowId
|
|
1290
|
+
// }
|
|
1291
|
+
let type = "DETAIL_PAGE_V3";
|
|
1292
|
+
type = params.type || type;
|
|
1293
|
+
const topicId = params.topicId;
|
|
1294
|
+
// 用瀑布流中的topicId查询对应的主题数据
|
|
1295
|
+
const topicRes = await api(CONFIG_API.getNDMSTopicDetail, {
|
|
1296
|
+
abilityString: userInfo.abilityString,
|
|
1297
|
+
uid: userInfo.uid,
|
|
1298
|
+
mac: userInfo.mac,
|
|
1299
|
+
deviceId: userInfo.deviceId,
|
|
1300
|
+
custId: userInfo.custId || userInfo.deviceId,
|
|
1301
|
+
// reqTag: "detailNdmsTopic",
|
|
1302
|
+
// appKey: "AD32JiangSu",
|
|
1303
|
+
// channelCode: "400500000010012",
|
|
1304
|
+
// extension: "eyJWSUxMQUdFX0NPREUiOiIwMDI1OTY5IiwibG5nIjoiMTE4Ljg3NDgwNCIsIk9VVF9WSUxMQUdFX0NPREUiOiI5NTMzIiwiQ0lUWV9OQU1FIjoi5qCW6ZyeIiwiVklMTEFHRV9OQU1FIjoi6Z2S55Sw6ZuF5bGFIiwiQ09VTlRSWV9OQU1FIjoi5qCW6ZyeIiwibGF0IjoiMzIuMTI1NTQ1In0%3D",
|
|
1305
|
+
// adSecretkey: "c16e0fffc376ac96e1d5d593f6684165%2C1761543785",
|
|
1306
|
+
// context: "%7B%22cpCode%22%3A%22JSTY_MGJS%22%2C%22productId%22%3A%220002112cp0031%2C0002112cp0032%2C005912cp0046%2C006912cp0001%2C2000061907ZYYW%2C2400000683ZYYW%22%2C%22psClassification%22%3A%22%E7%94%B5%E8%A7%86%E5%89%A7%22%2C%22programClassCode%22%3A%22%E8%B0%8D%E6%88%98%22%2C%22cpId%22%3A%22JSTY_MGJS%22%2C%22psId%22%3A%222307544241%22%2C%22programTypeId%22%3A%2211%22%2C%22programSetId%22%3A%222307544241%22%2C%22cityCode%22%3A%2214%22%2C%22countyCode%22%3A%22165%22%7D",
|
|
1307
|
+
...params,
|
|
1308
|
+
});
|
|
1309
|
+
console.log("getRecommend==", JSON.stringify(topicRes));
|
|
1310
|
+
let contents = topicRes?.data?.items?.flatMap((item) =>
|
|
1311
|
+
item.contents
|
|
1312
|
+
.map((content) => ({
|
|
1313
|
+
...content,
|
|
1314
|
+
recId: topicRes.data?.recId || "",
|
|
1315
|
+
itemId: item?.itemId || "",
|
|
1316
|
+
topicId: topicId || "",
|
|
1317
|
+
name: content.contentName,
|
|
1318
|
+
}))
|
|
1319
|
+
);
|
|
1320
|
+
console.log("contents===", topicRes.data?.recId, contents);
|
|
1321
|
+
return contents;
|
|
1322
|
+
};
|
|
1323
|
+
// 首页动态列表数据
|
|
1324
|
+
const getDynamicList = params => {
|
|
1325
|
+
console.log(userInfo.uid, 'getDynamicList');
|
|
1326
|
+
return api(
|
|
1327
|
+
CONFIG_API.getDynamicList,
|
|
1328
|
+
{
|
|
1329
|
+
...params,
|
|
1330
|
+
uid: userInfo.uid,
|
|
1331
|
+
abilityString: userInfo.abilityString,
|
|
1332
|
+
pageSize: params.pageSize ? params.pageSize : 20,
|
|
1333
|
+
source: "JARVIS",
|
|
1334
|
+
mac: userInfo.mac,
|
|
1335
|
+
},
|
|
1336
|
+
"GET"
|
|
1337
|
+
);
|
|
1338
|
+
};
|
|
1339
|
+
// 获取推荐视频
|
|
1340
|
+
const getRecommendVideo = (data) => {
|
|
1341
|
+
return api(CONFIG_API.getRecommendVideo, {
|
|
1342
|
+
...data,
|
|
1343
|
+
uid: userInfo.uid,
|
|
1344
|
+
abilityString: userInfo.abilityString,
|
|
1345
|
+
mac: userInfo.mac,
|
|
1346
|
+
cdnType: userInfo.cdnType,
|
|
1347
|
+
recId: '',
|
|
1348
|
+
recType: 'CLASSIFY',
|
|
1349
|
+
channelId: '1763743859357736960',
|
|
1350
|
+
cursor: '0',
|
|
1351
|
+
channelGroupId: '10009'
|
|
1352
|
+
})
|
|
1353
|
+
}
|
|
1354
|
+
// 获取跑马灯数据
|
|
1355
|
+
const getMarqueeData = params => {
|
|
1356
|
+
return api(
|
|
1357
|
+
CONFIG_API.getMarqueeData,
|
|
1358
|
+
{
|
|
1359
|
+
...params,
|
|
1360
|
+
// uid: userInfo.uid,
|
|
1361
|
+
abilityString: userInfo.abilityString,
|
|
1362
|
+
mac: userInfo.mac,
|
|
1363
|
+
},
|
|
1364
|
+
"GET"
|
|
1365
|
+
);
|
|
1366
|
+
}
|
|
1367
|
+
// 获取首页新闻
|
|
1368
|
+
const getNewsData = params => {
|
|
1369
|
+
return api(
|
|
1370
|
+
CONFIG_API.getNewsList,
|
|
1371
|
+
{
|
|
1372
|
+
...params,
|
|
1373
|
+
uid: userInfo.uid,
|
|
1374
|
+
abilityString: userInfo.abilityString,
|
|
1375
|
+
mac: userInfo.mac,
|
|
1376
|
+
cdnType: userInfo.cdnType,
|
|
1377
|
+
recId: '',
|
|
1378
|
+
recType: 'CLASSIFY',
|
|
1379
|
+
channelId: '2034723765653037056'
|
|
1380
|
+
},
|
|
1381
|
+
"GET"
|
|
1382
|
+
);
|
|
1383
|
+
};
|
|
1384
|
+
// 查询播单
|
|
1385
|
+
const getPlayList = (data) => {
|
|
1386
|
+
return api(CONFIG_API.getPlayList, {
|
|
1387
|
+
...data,
|
|
1388
|
+
uid: userInfo.uid,
|
|
1389
|
+
abilityString: userInfo.abilityString
|
|
1390
|
+
})
|
|
1391
|
+
}
|
|
1392
|
+
// 获取视频详细数据
|
|
1393
|
+
const getDetail = params => {
|
|
1394
|
+
return api(CONFIG_API.getDetail, {
|
|
1395
|
+
psId: params.psId,
|
|
1396
|
+
serviceChannelId: userInfo.serviceChannelId,
|
|
1397
|
+
abilityString: userInfo.abilityString
|
|
1398
|
+
});
|
|
1399
|
+
};
|
|
1400
|
+
|
|
1401
|
+
// 获取周边优惠
|
|
1402
|
+
const getListActivityByIndex = (data) => {
|
|
1403
|
+
const params = {
|
|
1404
|
+
...data
|
|
1405
|
+
}
|
|
1406
|
+
return api(
|
|
1407
|
+
CONFIG_API.getListActivityByIndex,
|
|
1408
|
+
params
|
|
1409
|
+
);
|
|
1410
|
+
};
|
|
1411
|
+
// 获取周边店铺
|
|
1412
|
+
const getNearByShop = (data) => {
|
|
1413
|
+
const params = {
|
|
1414
|
+
...data
|
|
1415
|
+
}
|
|
1416
|
+
return api(
|
|
1417
|
+
CONFIG_API.getNearByShop,
|
|
1418
|
+
params
|
|
1419
|
+
);
|
|
1420
|
+
};
|
|
1421
|
+
// 获取CWP新闻
|
|
1422
|
+
const getCWPNews = (data) => {
|
|
1423
|
+
const params = {
|
|
1424
|
+
...data
|
|
1425
|
+
}
|
|
1426
|
+
return api(
|
|
1427
|
+
CONFIG_API.getCWPNews,
|
|
1428
|
+
params
|
|
1429
|
+
);
|
|
1430
|
+
};
|
|
1431
|
+
// 获取CWP社区通知
|
|
1432
|
+
const getCWPCommunityNotice = (data) => {
|
|
1433
|
+
const params = {
|
|
1434
|
+
...data
|
|
1435
|
+
}
|
|
1436
|
+
return api(
|
|
1437
|
+
CONFIG_API.getCWPCommunityNotice,
|
|
1438
|
+
params
|
|
1439
|
+
);
|
|
1440
|
+
};
|
|
1441
|
+
|
|
1442
|
+
// 获取新闻详情信息
|
|
1443
|
+
const getNewsDetail = data => {
|
|
1444
|
+
const url = 'http://112.21.189.197:29101/cwp-api/news/' + data
|
|
1445
|
+
return api(url);
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
// 获取影院查影片的排期
|
|
1449
|
+
const getCinemaScheduleList = (cinemaId) => {
|
|
1450
|
+
const params = {
|
|
1451
|
+
"param": {
|
|
1452
|
+
"cinemaId": cinemaId
|
|
1453
|
+
}
|
|
1454
|
+
};
|
|
1455
|
+
console.log("server getCinemaScheduleList:params", params);
|
|
1456
|
+
return api(CONFIG_API.getCinemaSchedule, params, 'POST');
|
|
1457
|
+
};
|
|
1458
|
+
// 根据影片查附近影院列表
|
|
1459
|
+
const getCinemaListByMovieId = (movie_id, cityId) => {
|
|
1460
|
+
const params = {
|
|
1461
|
+
"param": {
|
|
1462
|
+
"movie_id": movie_id,
|
|
1463
|
+
cityId: cityId
|
|
1464
|
+
}
|
|
1465
|
+
};
|
|
1466
|
+
console.log("server getCinemaListByMovieId:params", params);
|
|
1467
|
+
return api(CONFIG_API.getMovieSchedule, params, 'POST')
|
|
1468
|
+
}
|
|
1469
|
+
// 根据影片查影院的排期
|
|
1470
|
+
const getCinemaScheduleListByMovie = (movieName, cityId) => {
|
|
1471
|
+
const params = {
|
|
1472
|
+
"param": {
|
|
1473
|
+
movieName: movieName,
|
|
1474
|
+
cityId: cityId
|
|
1475
|
+
}
|
|
1476
|
+
};
|
|
1477
|
+
console.log("server getCinemaScheduleListByMovie:params", params);
|
|
1478
|
+
return api(CONFIG_API.getMovieSchedule, params, 'POST')
|
|
1479
|
+
}
|
|
1480
|
+
// 根据影片id和日期查电影院排期
|
|
1481
|
+
const getCinemaScheduleListByMovieId = (date, cityId, movie_id, movieName) => {
|
|
1482
|
+
const params = {
|
|
1483
|
+
"param": {
|
|
1484
|
+
"date": date,
|
|
1485
|
+
"cityId": cityId,
|
|
1486
|
+
"movie_id": movie_id,
|
|
1487
|
+
"movieName": movieName
|
|
1488
|
+
}
|
|
1489
|
+
}
|
|
1490
|
+
console.log("server getCinemaScheduleListByMovieId:params", params);
|
|
1491
|
+
return api(CONFIG_API.getMovieSchedule, params, 'POST')
|
|
1492
|
+
}
|
|
1493
|
+
// 根据影院id和影片id获取排期
|
|
1494
|
+
const getCinemaScheduleListByCinemaId = (cinemaId, movie_id) => {
|
|
1495
|
+
const params = {
|
|
1496
|
+
"param": {
|
|
1497
|
+
"cinemaId": cinemaId,
|
|
1498
|
+
"movieId": movie_id
|
|
1499
|
+
}
|
|
1500
|
+
}
|
|
1501
|
+
console.log("server getCinemaScheduleListByCinemaId:params", JSON.stringify(params));
|
|
1502
|
+
return api(CONFIG_API.getCinemaSchedule, params, 'POST');
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
export default {
|
|
1506
|
+
// 首先执行页面逻辑之前,需要调用getAllConfig获取盒子信息和下发值
|
|
1507
|
+
userInfo,
|
|
1508
|
+
getAllConfig,
|
|
1509
|
+
logger,
|
|
1510
|
+
getUserInfo,
|
|
1511
|
+
getUserSessionInfo,
|
|
1512
|
+
getScheduleList,
|
|
1513
|
+
getUserInfoLatLng,
|
|
1514
|
+
// queryUserFeedback,
|
|
1515
|
+
feedbackReason,
|
|
1516
|
+
feedbackSubmit,
|
|
1517
|
+
getMockListOne,
|
|
1518
|
+
getTvReminderList,
|
|
1519
|
+
cloudPayCreateOrder,
|
|
1520
|
+
cloudPayVerifyInfo,
|
|
1521
|
+
cloudPayOrder,
|
|
1522
|
+
subscribeWindowMsgService,
|
|
1523
|
+
createOrderQrCode,
|
|
1524
|
+
queryOrderStatus,
|
|
1525
|
+
getPayQr,
|
|
1526
|
+
getHistoryList,
|
|
1527
|
+
getDetailInfoForLong,
|
|
1528
|
+
getProgramSceneList,
|
|
1529
|
+
getVideoPositionInfo,
|
|
1530
|
+
querySingleHistoryForLong,
|
|
1531
|
+
querySearchContent,
|
|
1532
|
+
querySearchChannel,
|
|
1533
|
+
getProgramList,
|
|
1534
|
+
checkIsCollectionForLong,
|
|
1535
|
+
addCollectionForLong,
|
|
1536
|
+
deleteCollectionForLong,
|
|
1537
|
+
addHistoryForLong,
|
|
1538
|
+
getUserConfig,
|
|
1539
|
+
getRoleList,
|
|
1540
|
+
rolesLogin,
|
|
1541
|
+
queryPrice,
|
|
1542
|
+
getNewsData,
|
|
1543
|
+
getPhotoAlbumList,
|
|
1544
|
+
getPhotoAlbumByAlbumId,
|
|
1545
|
+
getNDMSFlowData,
|
|
1546
|
+
getNDMSTopicData,
|
|
1547
|
+
queryHistoryList,
|
|
1548
|
+
getWeather,
|
|
1549
|
+
handleMemoryBook,
|
|
1550
|
+
getDeviceConnectList,
|
|
1551
|
+
getAllProgramlist,
|
|
1552
|
+
getFamilyList,
|
|
1553
|
+
getUserAvatarList,
|
|
1554
|
+
getRecommendList,
|
|
1555
|
+
getCinemaScheduleList,
|
|
1556
|
+
getCinemaListByMovieId,
|
|
1557
|
+
getCinemaScheduleListByMovie,
|
|
1558
|
+
getCinemaScheduleListByMovieId,
|
|
1559
|
+
getCinemaScheduleListByCinemaId,
|
|
1560
|
+
getDynamicList,
|
|
1561
|
+
getRecommendVideo,
|
|
1562
|
+
getMarqueeData,
|
|
1563
|
+
getPlayList,
|
|
1564
|
+
getDetail,
|
|
1565
|
+
getListActivityByIndex,
|
|
1566
|
+
getNearByShop,
|
|
1567
|
+
getNDMSFlowData_TEST,
|
|
1568
|
+
getNDMSTopicData_TEST,
|
|
1569
|
+
getCWPNews,
|
|
1570
|
+
getNewsDetail,
|
|
1571
|
+
getCWPCommunityNotice,
|
|
1572
|
+
reportPointInfoToGaia
|
|
1573
|
+
};
|