@quicktvui/ai 1.0.9 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (348) hide show
  1. package/README.md +31 -0
  2. package/USAGE.md +22 -7
  3. package/package.json +1 -1
  4. package/rules/.clinerules +1 -0
  5. package/rules/.cursorrules +1 -0
  6. package/rules/.docs/zh-CN/guide/ai/ai-assistant.md +16 -6
  7. package/rules/.github/copilot-instructions.md +1 -0
  8. package/rules/.source/hellotv/PROJECT-README.md +52 -0
  9. package/rules/.source/hellotv/app.d.ts +11 -0
  10. package/rules/.source/hellotv/package.json +146 -0
  11. package/rules/.source/hellotv/scripts/build-apk.ts +12 -0
  12. package/rules/.source/hellotv/scripts/build.ts +35 -0
  13. package/rules/.source/hellotv/scripts/dev.ts +12 -0
  14. package/rules/.source/hellotv/scripts/pack.ts +24 -0
  15. package/rules/.source/hellotv/scripts/process.ts +37 -0
  16. package/rules/.source/hellotv/scripts/quicktvui-webpack.android.ts +187 -0
  17. package/rules/.source/hellotv/scripts/quicktvui-webpack.dev.ts +147 -0
  18. package/rules/.source/hellotv/scripts/webpack-watch.ts +24 -0
  19. package/rules/.source/hellotv/src/App.vue +192 -0
  20. package/rules/.source/hellotv/src/api/my/index.ts +198 -0
  21. package/rules/.source/hellotv/src/api/user/impl-user.ts +52 -0
  22. package/rules/.source/hellotv/src/api/user/qr-code-mock.ts +2 -0
  23. package/rules/.source/hellotv/src/api/user/request-url.ts +11 -0
  24. package/rules/.source/hellotv/src/api/user/user-manager.ts +258 -0
  25. package/rules/.source/hellotv/src/app.scss +8 -0
  26. package/rules/.source/hellotv/src/assets/component-media/ic_media_btn_pause.png +0 -0
  27. package/rules/.source/hellotv/src/assets/component-media/ic_media_btn_play.png +0 -0
  28. package/rules/.source/hellotv/src/assets/component-media/ic_media_menu_setting_focused.png +0 -0
  29. package/rules/.source/hellotv/src/assets/component-media/ic_media_menu_setting_normal.png +0 -0
  30. package/rules/.source/hellotv/src/assets/component-media/ic_media_menu_xuanji_focused.png +0 -0
  31. package/rules/.source/hellotv/src/assets/component-media/ic_media_menu_xuanji_normal.png +0 -0
  32. package/rules/.source/hellotv/src/assets/component-media/ic_media_ok_focused.png +0 -0
  33. package/rules/.source/hellotv/src/assets/component-media/ic_media_ok_selected.png +0 -0
  34. package/rules/.source/hellotv/src/assets/detail/ic_collect_focused.png +0 -0
  35. package/rules/.source/hellotv/src/assets/detail/ic_collect_normal.png +0 -0
  36. package/rules/.source/hellotv/src/assets/detail/ic_full_focused.png +0 -0
  37. package/rules/.source/hellotv/src/assets/detail/ic_full_normal.png +0 -0
  38. package/rules/.source/hellotv/src/assets/detail/ic_info_focused.png +0 -0
  39. package/rules/.source/hellotv/src/assets/detail/ic_info_normal.png +0 -0
  40. package/rules/.source/hellotv/src/assets/detail/ic_introduction_bg.png +0 -0
  41. package/rules/.source/hellotv/src/assets/detail/ic_media_list_item_normal.png +0 -0
  42. package/rules/.source/hellotv/src/assets/detail/ic_media_list_item_selected.png +0 -0
  43. package/rules/.source/hellotv/src/assets/detail/ic_media_player_pause.png +0 -0
  44. package/rules/.source/hellotv/src/assets/detail/ic_media_player_placeholder.png +0 -0
  45. package/rules/.source/hellotv/src/assets/detail/ic_media_player_play.png +0 -0
  46. package/rules/.source/hellotv/src/assets/detail/ic_vip_focused.png +0 -0
  47. package/rules/.source/hellotv/src/assets/detail/ic_vip_normal.png +0 -0
  48. package/rules/.source/hellotv/src/assets/detail/skeleton.png +0 -0
  49. package/rules/.source/hellotv/src/assets/filter/ic_empty.png +0 -0
  50. package/rules/.source/hellotv/src/assets/filter/ic_filter_focused.png +0 -0
  51. package/rules/.source/hellotv/src/assets/filter/ic_filter_normal.png +0 -0
  52. package/rules/.source/hellotv/src/assets/filter/ic_filter_selected.png +0 -0
  53. package/rules/.source/hellotv/src/assets/filter/ic_left_focused.png +0 -0
  54. package/rules/.source/hellotv/src/assets/filter/ic_left_normal.png +0 -0
  55. package/rules/.source/hellotv/src/assets/filter/ic_left_selected.png +0 -0
  56. package/rules/.source/hellotv/src/assets/history/ic_delete.png +0 -0
  57. package/rules/.source/hellotv/src/assets/history/ic_empty.png +0 -0
  58. package/rules/.source/hellotv/src/assets/home/bg_history_item.png +0 -0
  59. package/rules/.source/hellotv/src/assets/home/bg_shadow.png +0 -0
  60. package/rules/.source/hellotv/src/assets/home/ic_4k_logo.png +0 -0
  61. package/rules/.source/hellotv/src/assets/home/ic_4k_play_focused.png +0 -0
  62. package/rules/.source/hellotv/src/assets/home/ic_4k_subtitle_normal.png +0 -0
  63. package/rules/.source/hellotv/src/assets/home/ic_arrow_focused.png +0 -0
  64. package/rules/.source/hellotv/src/assets/home/ic_arrow_normal.png +0 -0
  65. package/rules/.source/hellotv/src/assets/home/ic_exit_corner.png +0 -0
  66. package/rules/.source/hellotv/src/assets/home/ic_exit_header.png +0 -0
  67. package/rules/.source/hellotv/src/assets/home/ic_play.png +0 -0
  68. package/rules/.source/hellotv/src/assets/live/bg-error.png +0 -0
  69. package/rules/.source/hellotv/src/assets/live/bg-play-info.png +0 -0
  70. package/rules/.source/hellotv/src/assets/live/ic-arrow-left.png +0 -0
  71. package/rules/.source/hellotv/src/assets/live/ic-arrow-right.png +0 -0
  72. package/rules/.source/hellotv/src/assets/live/ic-back.png +0 -0
  73. package/rules/.source/hellotv/src/assets/live/ic-change.png +0 -0
  74. package/rules/.source/hellotv/src/assets/live/ic-corner-vip-tips.png +0 -0
  75. package/rules/.source/hellotv/src/assets/live/ic-corner-vip.png +0 -0
  76. package/rules/.source/hellotv/src/assets/live/ic-key.png +0 -0
  77. package/rules/.source/hellotv/src/assets/live/ic-loading-error.png +0 -0
  78. package/rules/.source/hellotv/src/assets/live/ic-menu-ext-arrow.png +0 -0
  79. package/rules/.source/hellotv/src/assets/live/ic-menu-ext.png +0 -0
  80. package/rules/.source/hellotv/src/assets/live/ic-menu.png +0 -0
  81. package/rules/.source/hellotv/src/assets/live/ic-mine.png +0 -0
  82. package/rules/.source/hellotv/src/assets/live/ic-network-error.png +0 -0
  83. package/rules/.source/hellotv/src/assets/live/ic-ok.png +0 -0
  84. package/rules/.source/hellotv/src/assets/live/ic-playing.png +0 -0
  85. package/rules/.source/hellotv/src/assets/live/ic-playing2.png +0 -0
  86. package/rules/.source/hellotv/src/assets/live/ic-playing3.png +0 -0
  87. package/rules/.source/hellotv/src/assets/live/ic-service.png +0 -0
  88. package/rules/.source/hellotv/src/assets/live/ic_live_broadcast.png +0 -0
  89. package/rules/.source/hellotv/src/assets/live/ic_live_broadcast_focused.png +0 -0
  90. package/rules/.source/hellotv/src/assets/my/ic_collect_focus.png +0 -0
  91. package/rules/.source/hellotv/src/assets/my/ic_collect_normal.png +0 -0
  92. package/rules/.source/hellotv/src/assets/my/ic_order_focus.png +0 -0
  93. package/rules/.source/hellotv/src/assets/my/ic_order_normal.png +0 -0
  94. package/rules/.source/hellotv/src/assets/my/ic_record_focus.png +0 -0
  95. package/rules/.source/hellotv/src/assets/my/ic_record_normal.png +0 -0
  96. package/rules/.source/hellotv/src/assets/my/ic_user.png +0 -0
  97. package/rules/.source/hellotv/src/assets/my/ic_vip_normal.png +0 -0
  98. package/rules/.source/hellotv/src/assets/search/ic_back.png +0 -0
  99. package/rules/.source/hellotv/src/assets/search/ic_back_focused.png +0 -0
  100. package/rules/.source/hellotv/src/assets/search/ic_clear.png +0 -0
  101. package/rules/.source/hellotv/src/assets/search/ic_clear_dark.png +0 -0
  102. package/rules/.source/hellotv/src/assets/search/ic_clear_focused.png +0 -0
  103. package/rules/.source/hellotv/src/assets/search/ic_search.png +0 -0
  104. package/rules/.source/hellotv/src/assets/top-view/ic_logo.png +0 -0
  105. package/rules/.source/hellotv/src/assets/top-view/ic_top_search_focused.png +0 -0
  106. package/rules/.source/hellotv/src/assets/top-view/ic_top_search_normal.png +0 -0
  107. package/rules/.source/hellotv/src/assets/top-view/ic_top_user_focused.png +0 -0
  108. package/rules/.source/hellotv/src/assets/top-view/ic_top_user_normal.png +0 -0
  109. package/rules/.source/hellotv/src/components/bg-animation.scss +14 -0
  110. package/rules/.source/hellotv/src/components/bg-animation.vue +176 -0
  111. package/rules/.source/hellotv/src/components/btn-pack-view.vue +172 -0
  112. package/rules/.source/hellotv/src/components/btn-pack.scss +53 -0
  113. package/rules/.source/hellotv/src/components/grid-item-horizontal.vue +203 -0
  114. package/rules/.source/hellotv/src/components/grid-item-vertical.vue +201 -0
  115. package/rules/.source/hellotv/src/components/media/build-data/media-config.ts +4 -0
  116. package/rules/.source/hellotv/src/components/media/build-data/media-control-adapter.ts +378 -0
  117. package/rules/.source/hellotv/src/components/media/build-data/media-imp.ts +44 -0
  118. package/rules/.source/hellotv/src/components/media/view/media-loading-component.vue +50 -0
  119. package/rules/.source/hellotv/src/components/media/view/media-loading-view.vue +154 -0
  120. package/rules/.source/hellotv/src/components/media/view/media-manager-view.vue +931 -0
  121. package/rules/.source/hellotv/src/components/media/view/media-menu-detail-item.vue +42 -0
  122. package/rules/.source/hellotv/src/components/media/view/media-menu-detail-view.vue +109 -0
  123. package/rules/.source/hellotv/src/components/media/view/media-menu-icon-item.vue +43 -0
  124. package/rules/.source/hellotv/src/components/media/view/media-menu-text-item.vue +27 -0
  125. package/rules/.source/hellotv/src/components/media/view/media-menu-view.vue +88 -0
  126. package/rules/.source/hellotv/src/components/media/view/media-player-view.vue +408 -0
  127. package/rules/.source/hellotv/src/components/media/view/scss/media-loading.scss +51 -0
  128. package/rules/.source/hellotv/src/components/media/view/scss/media-manager.scss +79 -0
  129. package/rules/.source/hellotv/src/components/media/view/scss/media-menu.scss +114 -0
  130. package/rules/.source/hellotv/src/components/media/view/scss/media-player.scss +6 -0
  131. package/rules/.source/hellotv/src/components/qt-tabs-component.ts +268 -0
  132. package/rules/.source/hellotv/src/components/qt-ul-component.ts +792 -0
  133. package/rules/.source/hellotv/src/components/top-view.scss +38 -0
  134. package/rules/.source/hellotv/src/components/top-view.vue +114 -0
  135. package/rules/.source/hellotv/src/config/README.md +22 -0
  136. package/rules/.source/hellotv/src/config/build-config.ts +22 -0
  137. package/rules/.source/hellotv/src/config/private-theme-config.ts +21 -0
  138. package/rules/.source/hellotv/src/config/public-config.scss +16 -0
  139. package/rules/.source/hellotv/src/config/test.scss +45 -0
  140. package/rules/.source/hellotv/src/config/theme-config.ts +51 -0
  141. package/rules/.source/hellotv/src/main.ts +45 -0
  142. package/rules/.source/hellotv/src/pages/activity/adapter/config.ts +37 -0
  143. package/rules/.source/hellotv/src/pages/activity/adapter/index.ts +849 -0
  144. package/rules/.source/hellotv/src/pages/activity/adapter/interface.ts +173 -0
  145. package/rules/.source/hellotv/src/pages/activity/api/index.ts +36 -0
  146. package/rules/.source/hellotv/src/pages/activity/api/interface.ts +11 -0
  147. package/rules/.source/hellotv/src/pages/activity/api/request-url.ts +10 -0
  148. package/rules/.source/hellotv/src/pages/activity/components/item/focus-change-img-item.vue +40 -0
  149. package/rules/.source/hellotv/src/pages/activity/components/item/inner-out-title-item.vue +59 -0
  150. package/rules/.source/hellotv/src/pages/activity/components/item/no-title-item.vue +45 -0
  151. package/rules/.source/hellotv/src/pages/activity/components/item/placeholder-item.vue +25 -0
  152. package/rules/.source/hellotv/src/pages/activity/index.vue +219 -0
  153. package/rules/.source/hellotv/src/pages/activity/scss/index.scss +46 -0
  154. package/rules/.source/hellotv/src/pages/activity/scss/item.scss +69 -0
  155. package/rules/.source/hellotv/src/pages/detail/adapter/index.ts +317 -0
  156. package/rules/.source/hellotv/src/pages/detail/adapter/interface.ts +150 -0
  157. package/rules/.source/hellotv/src/pages/detail/adapter/media-player.ts +378 -0
  158. package/rules/.source/hellotv/src/pages/detail/api/index.ts +77 -0
  159. package/rules/.source/hellotv/src/pages/detail/api/request-url.ts +8 -0
  160. package/rules/.source/hellotv/src/pages/detail/components/media-player/collapse/media-collapse-definition.vue +192 -0
  161. package/rules/.source/hellotv/src/pages/detail/components/media-player/collapse/media-collapse-list-item.vue +108 -0
  162. package/rules/.source/hellotv/src/pages/detail/components/media-player/collapse/media-collapse-media-series.vue +349 -0
  163. package/rules/.source/hellotv/src/pages/detail/components/media-player/collapse/media-collapse-order.vue +194 -0
  164. package/rules/.source/hellotv/src/pages/detail/components/media-player/collapse/media-collapse-speed.vue +192 -0
  165. package/rules/.source/hellotv/src/pages/detail/components/media-player/index.vue +404 -0
  166. package/rules/.source/hellotv/src/pages/detail/components/media-player/media-player-small-view.vue +382 -0
  167. package/rules/.source/hellotv/src/pages/detail/components/media-player/media-player-view.vue +1099 -0
  168. package/rules/.source/hellotv/src/pages/detail/components/recommend-item.vue +167 -0
  169. package/rules/.source/hellotv/src/pages/detail/components/section/basic-section.vue +218 -0
  170. package/rules/.source/hellotv/src/pages/detail/components/section/config.ts +6 -0
  171. package/rules/.source/hellotv/src/pages/detail/components/section/header-section.vue +15 -0
  172. package/rules/.source/hellotv/src/pages/detail/components/section/item/button-menu.vue +259 -0
  173. package/rules/.source/hellotv/src/pages/detail/components/section/item/media-introduction.vue +238 -0
  174. package/rules/.source/hellotv/src/pages/detail/components/section/item/media-series.vue +308 -0
  175. package/rules/.source/hellotv/src/pages/detail/components/section/item/player-placeholder.vue +88 -0
  176. package/rules/.source/hellotv/src/pages/detail/index.vue +571 -0
  177. package/rules/.source/hellotv/src/pages/detail/scss/index.scss +22 -0
  178. package/rules/.source/hellotv/src/pages/detail-full-player/components/media-player/full-player-loading.vue +78 -0
  179. package/rules/.source/hellotv/src/pages/detail-full-player/components/media-player/full-player-menu-view.vue +803 -0
  180. package/rules/.source/hellotv/src/pages/detail-full-player/components/media-player/full-player-view.vue +219 -0
  181. package/rules/.source/hellotv/src/pages/detail-full-player/index.vue +101 -0
  182. package/rules/.source/hellotv/src/pages/detail-full-player/scss/full-player-view.scss +6 -0
  183. package/rules/.source/hellotv/src/pages/detail-full-screen/adapter/index.ts +0 -0
  184. package/rules/.source/hellotv/src/pages/detail-full-screen/adapter/interface.ts +133 -0
  185. package/rules/.source/hellotv/src/pages/detail-full-screen/api/index.ts +77 -0
  186. package/rules/.source/hellotv/src/pages/detail-full-screen/api/request-url.ts +8 -0
  187. package/rules/.source/hellotv/src/pages/detail-full-screen/components/media-info.vue +263 -0
  188. package/rules/.source/hellotv/src/pages/detail-full-screen/components/media-player.vue +42 -0
  189. package/rules/.source/hellotv/src/pages/detail-full-screen/components/media-series-section.vue +26 -0
  190. package/rules/.source/hellotv/src/pages/detail-full-screen/components/recommend-item.vue +167 -0
  191. package/rules/.source/hellotv/src/pages/detail-full-screen/index.vue +163 -0
  192. package/rules/.source/hellotv/src/pages/detail-full-screen/scss/index.scss +41 -0
  193. package/rules/.source/hellotv/src/pages/device-info/index.vue +106 -0
  194. package/rules/.source/hellotv/src/pages/device-info/scss/device-info.scss +49 -0
  195. package/rules/.source/hellotv/src/pages/filter/README.md +66 -0
  196. package/rules/.source/hellotv/src/pages/filter/adapter/index.ts +180 -0
  197. package/rules/.source/hellotv/src/pages/filter/adapter/interface.ts +111 -0
  198. package/rules/.source/hellotv/src/pages/filter/api/index.ts +38 -0
  199. package/rules/.source/hellotv/src/pages/filter/api/interface.ts +44 -0
  200. package/rules/.source/hellotv/src/pages/filter/api/request-url.ts +8 -0
  201. package/rules/.source/hellotv/src/pages/filter/components/content/index.vue +469 -0
  202. package/rules/.source/hellotv/src/pages/filter/components/content/list-item-record.vue +16 -0
  203. package/rules/.source/hellotv/src/pages/filter/components/content/list-item.vue +78 -0
  204. package/rules/.source/hellotv/src/pages/filter/components/expand/index.vue +83 -0
  205. package/rules/.source/hellotv/src/pages/filter/components/sidebar/index.vue +81 -0
  206. package/rules/.source/hellotv/src/pages/filter/components/sidebar/list-item-filter-title.vue +78 -0
  207. package/rules/.source/hellotv/src/pages/filter/components/sidebar/list-item-filter.vue +68 -0
  208. package/rules/.source/hellotv/src/pages/filter/components/sidebar/list-item-line.vue +11 -0
  209. package/rules/.source/hellotv/src/pages/filter/components/sidebar/list-item-text.vue +43 -0
  210. package/rules/.source/hellotv/src/pages/filter/components/sidebar/list-item-title.vue +14 -0
  211. package/rules/.source/hellotv/src/pages/filter/config.ts +10 -0
  212. package/rules/.source/hellotv/src/pages/filter/expand-sidebar-contents.vue +203 -0
  213. package/rules/.source/hellotv/src/pages/filter/scss/filter-content-list-item.scss +42 -0
  214. package/rules/.source/hellotv/src/pages/filter/scss/filter-content.scss +60 -0
  215. package/rules/.source/hellotv/src/pages/filter/scss/filter-expand.scss +30 -0
  216. package/rules/.source/hellotv/src/pages/filter/scss/filter-sidebar.scss +45 -0
  217. package/rules/.source/hellotv/src/pages/filter/scss/filter.scss +21 -0
  218. package/rules/.source/hellotv/src/pages/filter/sidebar-contents.vue +145 -0
  219. package/rules/.source/hellotv/src/pages/filter/single-contents.vue +61 -0
  220. package/rules/.source/hellotv/src/pages/history/adapter/index.ts +51 -0
  221. package/rules/.source/hellotv/src/pages/history/adapter/interface.ts +22 -0
  222. package/rules/.source/hellotv/src/pages/history/api/index.ts +54 -0
  223. package/rules/.source/hellotv/src/pages/history/api/interface.ts +41 -0
  224. package/rules/.source/hellotv/src/pages/history/api/request-url.ts +10 -0
  225. package/rules/.source/hellotv/src/pages/history/components/confirm-dialog.vue +155 -0
  226. package/rules/.source/hellotv/src/pages/history/config.ts +8 -0
  227. package/rules/.source/hellotv/src/pages/history/index-raw.vue +540 -0
  228. package/rules/.source/hellotv/src/pages/history/index.vue +431 -0
  229. package/rules/.source/hellotv/src/pages/history/mock.ts +32 -0
  230. package/rules/.source/hellotv/src/pages/history/scss/history-raw.scss +181 -0
  231. package/rules/.source/hellotv/src/pages/history/scss/history.scss +148 -0
  232. package/rules/.source/hellotv/src/pages/home/adapter/exit/home-exit-adapter.ts +20 -0
  233. package/rules/.source/hellotv/src/pages/home/adapter/exit/home-exit-imp.ts +13 -0
  234. package/rules/.source/hellotv/src/pages/home/adapter/media/create-home-player-interceptor.ts +50 -0
  235. package/rules/.source/hellotv/src/pages/home/adapter/media/home-media-imp.ts +74 -0
  236. package/rules/.source/hellotv/src/pages/home/adapter/tab-bar/tab-bar-adapter.ts +151 -0
  237. package/rules/.source/hellotv/src/pages/home/adapter/tab-bar/tab-bar-config.ts +17 -0
  238. package/rules/.source/hellotv/src/pages/home/adapter/tab-bar/tab-bar-imp.ts +53 -0
  239. package/rules/.source/hellotv/src/pages/home/adapter/tab-bar/tab-bar-item-type.ts +6 -0
  240. package/rules/.source/hellotv/src/pages/home/adapter/tab-content/tab-content-adapter.ts +1304 -0
  241. package/rules/.source/hellotv/src/pages/home/adapter/tab-content/tab-content-config.ts +30 -0
  242. package/rules/.source/hellotv/src/pages/home/adapter/tab-content/tab-content-imp.ts +173 -0
  243. package/rules/.source/hellotv/src/pages/home/adapter/tab-content/tab-content-item-type.ts +17 -0
  244. package/rules/.source/hellotv/src/pages/home/api/index.ts +157 -0
  245. package/rules/.source/hellotv/src/pages/home/api/interface.ts +56 -0
  246. package/rules/.source/hellotv/src/pages/home/api/request-url.ts +22 -0
  247. package/rules/.source/hellotv/src/pages/home/components/exit-dialog.vue +148 -0
  248. package/rules/.source/hellotv/src/pages/home/components/media/bg-player.vue +440 -0
  249. package/rules/.source/hellotv/src/pages/home/components/nav-bar/bar-img-item.vue +39 -0
  250. package/rules/.source/hellotv/src/pages/home/components/nav-bar/bar-text-item.vue +100 -0
  251. package/rules/.source/hellotv/src/pages/home/components/tab-content/bg-player-cell-list-item-img.vue +54 -0
  252. package/rules/.source/hellotv/src/pages/home/components/tab-content/bg-player-cell-list-item-text.vue +67 -0
  253. package/rules/.source/hellotv/src/pages/home/components/tab-content/cell-list-player-item.vue +74 -0
  254. package/rules/.source/hellotv/src/pages/home/components/tab-content/cell-player-item.vue +40 -0
  255. package/rules/.source/hellotv/src/pages/home/components/tab-content/focus-change-img-item.vue +41 -0
  256. package/rules/.source/hellotv/src/pages/home/components/tab-content/history-item.vue +362 -0
  257. package/rules/.source/hellotv/src/pages/home/components/tab-content/inner-out-title-item.vue +60 -0
  258. package/rules/.source/hellotv/src/pages/home/components/tab-content/no-title-item.vue +46 -0
  259. package/rules/.source/hellotv/src/pages/home/components/tab-content/placeholder-item.vue +25 -0
  260. package/rules/.source/hellotv/src/pages/home/components/tab-content/short-video/short-video-section-item.vue +80 -0
  261. package/rules/.source/hellotv/src/pages/home/components/tab-content/short-video/short-video-section.vue +70 -0
  262. package/rules/.source/hellotv/src/pages/home/components/tab-content/small-4k/small-four-section.vue +76 -0
  263. package/rules/.source/hellotv/src/pages/home/components/tab-content/world-4k/world-four-section-item.vue +90 -0
  264. package/rules/.source/hellotv/src/pages/home/components/tab-content/world-4k/world-four-section.vue +57 -0
  265. package/rules/.source/hellotv/src/pages/home/components/waterfall-tabs.vue +1307 -0
  266. package/rules/.source/hellotv/src/pages/home/index.vue +117 -0
  267. package/rules/.source/hellotv/src/pages/home/scss/bar-img-item.scss +11 -0
  268. package/rules/.source/hellotv/src/pages/home/scss/bar-text-item.scss +80 -0
  269. package/rules/.source/hellotv/src/pages/home/scss/base.scss +8 -0
  270. package/rules/.source/hellotv/src/pages/home/scss/bg-player-cell-list-item.scss +24 -0
  271. package/rules/.source/hellotv/src/pages/home/scss/bg-player.scss +50 -0
  272. package/rules/.source/hellotv/src/pages/home/scss/cell-player-item.scss +24 -0
  273. package/rules/.source/hellotv/src/pages/home/scss/exit-dialog.scss +89 -0
  274. package/rules/.source/hellotv/src/pages/home/scss/focus-change-img-item.scss +12 -0
  275. package/rules/.source/hellotv/src/pages/home/scss/home.scss +32 -0
  276. package/rules/.source/hellotv/src/pages/home/scss/inner-out-title-item.scss +24 -0
  277. package/rules/.source/hellotv/src/pages/home/scss/no-title-item.scss +15 -0
  278. package/rules/.source/hellotv/src/pages/home/scss/placeholder-item.scss +14 -0
  279. package/rules/.source/hellotv/src/pages/home/scss/short-video-section.scss +59 -0
  280. package/rules/.source/hellotv/src/pages/home/scss/small-four-section.scss +14 -0
  281. package/rules/.source/hellotv/src/pages/home/scss/waterfall-tabs.scss +50 -0
  282. package/rules/.source/hellotv/src/pages/home/scss/world-four-section.scss +106 -0
  283. package/rules/.source/hellotv/src/pages/introduction/index.vue +227 -0
  284. package/rules/.source/hellotv/src/pages/live/components/menu/first-list-item-icon-text.vue +35 -0
  285. package/rules/.source/hellotv/src/pages/live/components/menu/first-list-item-img.vue +16 -0
  286. package/rules/.source/hellotv/src/pages/live/components/menu/first-list-item-text.vue +16 -0
  287. package/rules/.source/hellotv/src/pages/live/components/menu/index.vue +266 -0
  288. package/rules/.source/hellotv/src/pages/live/components/menu/second-list-item.vue +80 -0
  289. package/rules/.source/hellotv/src/pages/live/components/menu/third-list-item.vue +68 -0
  290. package/rules/.source/hellotv/src/pages/live/components/player/index.vue +168 -0
  291. package/rules/.source/hellotv/src/pages/live/components/player/player-error.vue +48 -0
  292. package/rules/.source/hellotv/src/pages/live/components/player/player-loading.vue +50 -0
  293. package/rules/.source/hellotv/src/pages/live/components/player/player-tips.vue +125 -0
  294. package/rules/.source/hellotv/src/pages/live/components/player/tips-icon-text.vue +27 -0
  295. package/rules/.source/hellotv/src/pages/live/css/menu.css +109 -0
  296. package/rules/.source/hellotv/src/pages/live/css/player.css +56 -0
  297. package/rules/.source/hellotv/src/pages/live/index.vue +128 -0
  298. package/rules/.source/hellotv/src/pages/live/mock/index.ts +263 -0
  299. package/rules/.source/hellotv/src/pages/live/types/index.ts +42 -0
  300. package/rules/.source/hellotv/src/pages/login/index.vue +116 -0
  301. package/rules/.source/hellotv/src/pages/login/scss/login.scss +61 -0
  302. package/rules/.source/hellotv/src/pages/m-test.vue +84 -0
  303. package/rules/.source/hellotv/src/pages/my/README.md +87 -0
  304. package/rules/.source/hellotv/src/pages/my/index.vue +177 -0
  305. package/rules/.source/hellotv/src/pages/my/my-data-manager.ts +606 -0
  306. package/rules/.source/hellotv/src/pages/my/my-templates.vue +24 -0
  307. package/rules/.source/hellotv/src/pages/my/poster/index.vue +98 -0
  308. package/rules/.source/hellotv/src/pages/my/poster/my-card2.vue +90 -0
  309. package/rules/.source/hellotv/src/pages/my/poster/my-icon-title-col.vue +72 -0
  310. package/rules/.source/hellotv/src/pages/my/poster/my-icon-title-row.vue +72 -0
  311. package/rules/.source/hellotv/src/pages/my/poster/my-info.vue +50 -0
  312. package/rules/.source/hellotv/src/pages/my/poster/my-user.vue +126 -0
  313. package/rules/.source/hellotv/src/pages/play-test.vue +95 -0
  314. package/rules/.source/hellotv/src/pages/search/README.md +57 -0
  315. package/rules/.source/hellotv/src/pages/search/adapter/index.ts +285 -0
  316. package/rules/.source/hellotv/src/pages/search/adapter/interface.ts +60 -0
  317. package/rules/.source/hellotv/src/pages/search/api/index.ts +100 -0
  318. package/rules/.source/hellotv/src/pages/search/api/interface.ts +64 -0
  319. package/rules/.source/hellotv/src/pages/search/api/request-url.ts +20 -0
  320. package/rules/.source/hellotv/src/pages/search/components/search-content-tabs.vue +153 -0
  321. package/rules/.source/hellotv/src/pages/search/components/search-content.vue +282 -0
  322. package/rules/.source/hellotv/src/pages/search/components/search-keyboard.vue +252 -0
  323. package/rules/.source/hellotv/src/pages/search/components/search-keyword-grid.vue +85 -0
  324. package/rules/.source/hellotv/src/pages/search/components/search-keyword.vue +346 -0
  325. package/rules/.source/hellotv/src/pages/search/config.ts +10 -0
  326. package/rules/.source/hellotv/src/pages/search/scss/search-content.scss +130 -0
  327. package/rules/.source/hellotv/src/pages/search/scss/search-keyboard.scss +91 -0
  328. package/rules/.source/hellotv/src/pages/search/scss/search-keyword-grid.scss +30 -0
  329. package/rules/.source/hellotv/src/pages/search/scss/search-keyword.scss +104 -0
  330. package/rules/.source/hellotv/src/pages/search/scss/search.scss +18 -0
  331. package/rules/.source/hellotv/src/pages/search/three-columns.vue +164 -0
  332. package/rules/.source/hellotv/src/pages/search/two-columns.vue +128 -0
  333. package/rules/.source/hellotv/src/pages/tabs-test.vue +339 -0
  334. package/rules/.source/hellotv/src/pages/webview/load-web-view.vue +44 -0
  335. package/rules/.source/hellotv/src/routes.ts +142 -0
  336. package/rules/.source/hellotv/src/tools/common.ts +18 -0
  337. package/rules/.source/hellotv/src/tools/format-date.ts +16 -0
  338. package/rules/.source/hellotv/src/tools/index.ts +58 -0
  339. package/rules/.source/hellotv/src/tools/launch.ts +339 -0
  340. package/rules/.source/hellotv/src/tools/request/index.ts +206 -0
  341. package/rules/.source/hellotv/src/tools/request/interface.ts +64 -0
  342. package/rules/.source/hellotv/src/typings/shims-vue.d.ts +6 -0
  343. package/rules/.source/hellotv/src/vue.config.js +3 -0
  344. package/rules/.source/hellotv/tsconfig.json +34 -0
  345. package/rules/.windsurfrules +1 -0
  346. package/rules/AGENTS.md +1 -0
  347. package/rules/CLAUDE.md +1 -0
  348. package/rules/GEMINI.md +1 -0
@@ -0,0 +1,176 @@
1
+ <template>
2
+ <div class="bg-animation-root-css" :style="$props.bgStyle">
3
+ <!-- 图片-->
4
+ <qt-animation
5
+ ref="animationOldRef"
6
+ class="animation-css"
7
+ style="z-index: 888"
8
+ >
9
+ <img
10
+ :style="{
11
+ width: $props.bgStyle.width,
12
+ height: $props.bgStyle.height,
13
+ borderRadius: borderRadius,
14
+ backgroundColor: 'transparent',
15
+ }"
16
+ :src="srcOld"
17
+ />
18
+ </qt-animation>
19
+ <!-- 图片-->
20
+ <qt-animation
21
+ ref="animationNewRef"
22
+ class="animation-css"
23
+ style="z-index: 999"
24
+ >
25
+ <img
26
+ :style="{
27
+ width: $props.bgStyle.width,
28
+ height: $props.bgStyle.height,
29
+ borderRadius: borderRadius,
30
+ backgroundColor: 'transparent',
31
+ }"
32
+ :src="srcNew"
33
+ />
34
+ </qt-animation>
35
+ </div>
36
+ </template>
37
+
38
+ <script lang="ts" setup name="bg-animation">
39
+ import {
40
+ QTAnimationPropertyName,
41
+ QTAnimationValueType,
42
+ QTIAnimation,
43
+ } from "@quicktvui/quicktvui3";
44
+ import { ref } from "vue";
45
+
46
+ const props = defineProps({
47
+ //整体样式
48
+ bgStyle: {
49
+ type: Object,
50
+ default: () => {
51
+ return {
52
+ width: "1920px",
53
+ height: "1080px",
54
+ backgroundColor: "transparent",
55
+ };
56
+ },
57
+ },
58
+ //圆角
59
+ borderRadius: {
60
+ type: Number,
61
+ default: 0,
62
+ },
63
+ //动画时间
64
+ transitionTime: {
65
+ type: Number,
66
+ default: 600,
67
+ },
68
+ });
69
+
70
+ //图片
71
+ const srcOld = ref("");
72
+ const srcNew = ref("");
73
+ //动画
74
+ const animationOldRef = ref<QTIAnimation>();
75
+ const animationNewRef = ref<QTIAnimation>();
76
+ //动画ID
77
+ const animationOldHideId = "old_1_0";
78
+ const animationNewHideId = "new_1_0";
79
+ const animationNewShowId = "new_0_1";
80
+
81
+ let loadImgTimer: any = -1;
82
+ let loadImgNewTimer: any = -1;
83
+ /**
84
+ * 设置背景图片
85
+ * @param src
86
+ */
87
+ const setImg = (src: string) => {
88
+ if (!src) src = "";
89
+ if (loadImgTimer) clearTimeout(loadImgTimer);
90
+ if (loadImgNewTimer) clearTimeout(loadImgNewTimer);
91
+ loadImgNewTimer = setTimeout(() => {
92
+ //隐藏old
93
+ animationOldRef.value?.objectAnimator2(
94
+ animationOldHideId,
95
+ QTAnimationValueType.QT_ANIMATION_VALUE_TYPE_FLOAT,
96
+ QTAnimationPropertyName.QT_ANIMATION_PROPERTY_NAME_ALPHA,
97
+ 1,
98
+ 0,
99
+ <number>props.transitionTime,
100
+ -1,
101
+ 0,
102
+ false,
103
+ false,
104
+ { type: 2 },
105
+ );
106
+ animationOldRef.value?.startAnimator(animationOldHideId);
107
+ srcOld.value = srcNew.value;
108
+ srcNew.value = src;
109
+ //展示new
110
+ animationNewRef.value?.objectAnimator2(
111
+ animationNewShowId,
112
+ QTAnimationValueType.QT_ANIMATION_VALUE_TYPE_FLOAT,
113
+ QTAnimationPropertyName.QT_ANIMATION_PROPERTY_NAME_ALPHA,
114
+ 0,
115
+ 1,
116
+ <number>props.transitionTime,
117
+ -1,
118
+ 0,
119
+ false,
120
+ false,
121
+ { type: 2 },
122
+ );
123
+ animationNewRef.value?.startAnimator(animationNewShowId);
124
+ loadImgTimer = setTimeout(
125
+ () => {
126
+ srcOld.value = src;
127
+ },
128
+ <number>props.transitionTime + 10,
129
+ );
130
+ }, 50);
131
+ };
132
+ /**
133
+ * 清除当前图片
134
+ */
135
+ const clearImg = () => {
136
+ if (loadImgTimer) clearTimeout(loadImgTimer);
137
+ //设置old图片隐藏动画
138
+ animationOldRef.value?.objectAnimator2(
139
+ animationOldHideId,
140
+ QTAnimationValueType.QT_ANIMATION_VALUE_TYPE_FLOAT,
141
+ QTAnimationPropertyName.QT_ANIMATION_PROPERTY_NAME_ALPHA,
142
+ 1,
143
+ 0,
144
+ 200,
145
+ -1,
146
+ 0,
147
+ false,
148
+ false,
149
+ );
150
+ //设置new图片隐藏动画
151
+ animationNewRef.value?.objectAnimator2(
152
+ animationNewHideId,
153
+ QTAnimationValueType.QT_ANIMATION_VALUE_TYPE_FLOAT,
154
+ QTAnimationPropertyName.QT_ANIMATION_PROPERTY_NAME_ALPHA,
155
+ 1,
156
+ 0,
157
+ 200,
158
+ -1,
159
+ 0,
160
+ false,
161
+ false,
162
+ );
163
+ //执行动画
164
+ animationOldRef.value?.startAnimator(animationOldHideId);
165
+ animationNewRef.value?.startAnimator(animationNewHideId);
166
+ //清空图片资源
167
+ loadImgTimer = setTimeout(() => {
168
+ srcOld.value = "";
169
+ srcNew.value = "";
170
+ }, 250);
171
+ };
172
+
173
+ defineExpose({ setImg, clearImg });
174
+ </script>
175
+
176
+ <style lang="scss" src="./bg-animation.scss"></style>
@@ -0,0 +1,172 @@
1
+ <template>
2
+ <div
3
+ :class="[
4
+ 'btn-pack-root-css',
5
+ {
6
+ 'is-icon-left': iconLeft,
7
+ 'is-icon-top': iconTop,
8
+ 'show-default-bg': !isShowGradientBg,
9
+ },
10
+ ]"
11
+ @click="onClick"
12
+ @focus="onFocus"
13
+ :listenHasFocusChange="true"
14
+ >
15
+ <!-- 渐进背景-->
16
+ <div
17
+ v-if="isShowGradientBg"
18
+ showOnState="normal"
19
+ :duplicateParentState="true"
20
+ :gradientBackground="defaultGradientBg"
21
+ class="bg-css"
22
+ />
23
+ <div
24
+ v-if="isShowGradientBg"
25
+ showOnState="focused"
26
+ :duplicateParentState="true"
27
+ :gradientBackground="focusedGradientBg"
28
+ class="bg-css"
29
+ />
30
+ <!-- 图标-->
31
+ <div :style="iconRootStyle" duplicateParentState v-if="normalIcon">
32
+ <img
33
+ v-if="normalIcon"
34
+ :style="iconStyle"
35
+ duplicateParentState
36
+ showOnState="normal"
37
+ :src="normalIcon"
38
+ />
39
+ <img
40
+ v-if="focusIcon"
41
+ :style="iconStyle"
42
+ duplicateParentState
43
+ showOnState="focused"
44
+ :src="focusIcon"
45
+ />
46
+ </div>
47
+ <!-- 文字内容-->
48
+ <qt-text
49
+ v-if="text"
50
+ duplicateParentState
51
+ typeface="bold"
52
+ :fontSize="fontSize"
53
+ :text="text"
54
+ :focusable="false"
55
+ :select="true"
56
+ :ellipsizeMode="3"
57
+ :lines="1"
58
+ gravity="centerVertical"
59
+ :class="[
60
+ 'text-css',
61
+ {
62
+ 'icon-left': iconLeft,
63
+ 'icon-top': iconTop,
64
+ },
65
+ ]"
66
+ :style="textStyle"
67
+ />
68
+ </div>
69
+ </template>
70
+
71
+ <script lang="ts" setup name="btn-pack-view">
72
+ import ThemeConfig from "../config/theme-config.ts";
73
+
74
+ const emits = defineEmits(["focus", "click"]);
75
+ defineProps({
76
+ //展示左侧图标
77
+ iconLeft: {
78
+ type: Boolean,
79
+ default: false,
80
+ },
81
+ //展示顶部图标
82
+ iconTop: {
83
+ type: Boolean,
84
+ default: false,
85
+ },
86
+ //是否使用渐进背景
87
+ isShowGradientBg: {
88
+ type: Boolean,
89
+ default: false,
90
+ },
91
+ //背景渐进色 默认
92
+ defaultGradientBg: {
93
+ type: Object,
94
+ default: () => {
95
+ return {
96
+ colors: ThemeConfig.btnGradientNormalColor,
97
+ orientation: 6,
98
+ cornerRadii4: [30, 30, 30, 30],
99
+ }; //cornerRadii4[左上, 右上, 右下, 左下]
100
+ },
101
+ },
102
+ //背景渐进色 焦点
103
+ focusedGradientBg: {
104
+ type: Object,
105
+ default: () => {
106
+ return {
107
+ colors: ThemeConfig.btnGradientFocusColor,
108
+ orientation: 6,
109
+ cornerRadius: 30,
110
+ };
111
+ },
112
+ },
113
+ //默认图片
114
+ normalIcon: {
115
+ type: String,
116
+ default: "",
117
+ },
118
+ //焦点图片
119
+ focusIcon: {
120
+ type: String,
121
+ default: "",
122
+ },
123
+ //图标整体样式
124
+ iconRootStyle: {
125
+ type: Object,
126
+ default: () => {
127
+ return { width: "30px", height: "30px", backgroundColor: "transparent" };
128
+ },
129
+ },
130
+ //图标样式
131
+ iconStyle: {
132
+ type: Object,
133
+ default: () => {
134
+ return {
135
+ position: "absolute",
136
+ width: "30px",
137
+ height: "30px",
138
+ borderRadius: 0,
139
+ };
140
+ },
141
+ },
142
+ //按钮信息
143
+ text: {
144
+ type: String,
145
+ default: "",
146
+ },
147
+ //字体大小
148
+ fontSize: {
149
+ type: Number,
150
+ default: 28,
151
+ },
152
+ //字体样式
153
+ textStyle: {
154
+ type: Object,
155
+ default: () => {
156
+ return { position: "static", width: "70px", height: "60px" };
157
+ },
158
+ },
159
+ });
160
+
161
+ function onClick(e): void {
162
+ emits("click", e);
163
+ }
164
+
165
+ function onFocus(e): void {
166
+ emits("focus", e);
167
+ }
168
+
169
+ defineExpose({});
170
+ </script>
171
+
172
+ <style lang="scss" src="./btn-pack.scss"></style>
@@ -0,0 +1,53 @@
1
+ $btn-border-radius:30px;
2
+ $btn-background-color:$theme-btn-normal-color;
3
+ $btn-focus-background-color:$theme-btn-focus-color;
4
+
5
+ .btn-pack-root-css{
6
+ display: flex;
7
+ justify-content: center;
8
+ align-items: center;
9
+ border-radius: $btn-border-radius;
10
+ background-color:transparent;
11
+ }
12
+ .show-default-bg{
13
+ background-color: $btn-background-color;
14
+ focus-background-color:$btn-focus-background-color;
15
+ }
16
+
17
+ .is-icon-left{
18
+ flex-direction: row;
19
+ }
20
+ .is-icon-top{
21
+ flex-direction: column;
22
+ }
23
+ //.is-icon-right{
24
+ // flex-direction: row-reverse;
25
+ //}
26
+ //.is-icon-bottom{
27
+ // flex-direction: column-reverse;
28
+ //}
29
+ .btn-pack-root-css .bg-css{
30
+ background-color: transparent;
31
+ position: absolute;
32
+ left: 0;
33
+ top: 0;
34
+ right: 0;
35
+ bottom: 0;
36
+ }
37
+ .btn-pack-root-css .icon-left{
38
+ margin-left: 8px;
39
+ }
40
+ //.btn-pack-root-css .icon-right{
41
+ // margin-right: 8px;
42
+ //}
43
+ .btn-pack-root-css .icon-top{
44
+ margin-top: 4px;
45
+ }
46
+ //.btn-pack-root-css .icon-bottom{
47
+ // margin-bottom: 4px;
48
+ //}
49
+ .btn-pack-root-css .text-css{
50
+ background-color: transparent;
51
+ color:$theme-text-normal-color;
52
+ focus-color:$theme-text-focus-color;
53
+ }
@@ -0,0 +1,203 @@
1
+ <template>
2
+ <qt-view
3
+ class="grid-item-h"
4
+ :style="$props.style"
5
+ :focusable="true"
6
+ :focusScale="themeConfig.placeHolderFocusScale"
7
+ eventFocus
8
+ eventClick
9
+ >
10
+ <!-- 焦点状态下的删除样式 -->
11
+ <qt-view
12
+ showIf="${showDeleteCover}"
13
+ class="grid-item-h-delete"
14
+ style="background-color: transparent"
15
+ :focusable="false"
16
+ :duplicateParentState="true"
17
+ >
18
+ <qt-view
19
+ class="grid-item-h-delete"
20
+ :style="$props.imageStyle"
21
+ :showOnState="'focused'"
22
+ :focusable="false"
23
+ :duplicateParentState="true"
24
+ >
25
+ <qt-image
26
+ style="width: 40px; height: 50px"
27
+ :src="icDelete"
28
+ :focusable="false"
29
+ ></qt-image>
30
+ </qt-view>
31
+ </qt-view>
32
+ <!-- 外层这个div的作用是模拟placeholder, 如果没有启动placeholder, 把背景色加到图片上, 有时会闪一下页面背景色 -->
33
+ <qt-view
34
+ style="background-color: rgba(255, 255, 255, 0.1); border-radius: 16px"
35
+ :focusable="false"
36
+ :duplicateParentState="true"
37
+ >
38
+ <!-- 封面 -->
39
+ <qt-image
40
+ class="grid-item-h-img"
41
+ :style="$props.imageStyle"
42
+ src="${cover}"
43
+ :postDelay="100"
44
+ :enableFocusBorder="true"
45
+ :focusable="false"
46
+ :duplicateParentState="true"
47
+ ></qt-image>
48
+ </qt-view>
49
+ <!-- 角标 -->
50
+ <qt-text
51
+ showIf="${showCorner}"
52
+ class="grid-item-h-corner"
53
+ :style="{ top: 0, left: $props.style?.width.replace('px', '') - 75 }"
54
+ text="${corner}"
55
+ gravity="center"
56
+ :focusable="false"
57
+ :gradientBackground="{
58
+ colors: ['#73E59E', '#299B49'],
59
+ orientation: 0,
60
+ cornerRadii4: [0, 16, 0, 16],
61
+ }"
62
+ ></qt-text>
63
+ <!-- 评分 -->
64
+ <qt-view
65
+ showIf="${showRating}"
66
+ class="grid-item-h-score"
67
+ :style="{
68
+ width: $props.style?.width,
69
+ top: `${$props.imageStyle?.height.replace('px', '') - 70}px`,
70
+ }"
71
+ :gradientBackground="scoreGradient"
72
+ :focusable="false"
73
+ >
74
+ <qt-text
75
+ class="grid-item-h-score-text"
76
+ text="${score}"
77
+ :focusable="false"
78
+ ></qt-text>
79
+ </qt-view>
80
+ <!-- 标题 -->
81
+ <qt-text
82
+ class="grid-item-h-text"
83
+ :style="{ width: $props.style?.width }"
84
+ text="${title}"
85
+ :paddingRect="[12, 0, 12, 0]"
86
+ :boldOnFocus="true"
87
+ :lines="1"
88
+ :ellipsizeMode="4"
89
+ :focusable="false"
90
+ :duplicateParentState="true"
91
+ :horizontalFadingEdgeEnabled="true"
92
+ ></qt-text>
93
+ <!-- 播放进度 -->
94
+ <qt-text
95
+ showIf="${showProgress}"
96
+ class="grid-item-h-progress"
97
+ :style="{ width: $props.style?.width }"
98
+ text="${progress}"
99
+ gravity="center|start"
100
+ :paddingRect="[12, 0, 12, 0]"
101
+ :focusable="false"
102
+ :duplicateParentState="true"
103
+ ></qt-text>
104
+ </qt-view>
105
+ </template>
106
+
107
+ <script setup lang="ts" name="GridItemH">
108
+ import themeConfig from "../config/theme-config";
109
+ import icDelete from "../assets/history/ic_delete.png";
110
+
111
+ defineProps({
112
+ style: {
113
+ type: Object,
114
+ default: () => ({
115
+ width: `320px`,
116
+ height: `226px`,
117
+ }),
118
+ },
119
+ imageStyle: {
120
+ type: Object,
121
+ default: () => ({
122
+ width: `320px`,
123
+ height: `180px`,
124
+ borderRadius: `${themeConfig.focusBorderCorner}px`,
125
+ }),
126
+ },
127
+ });
128
+
129
+ // 评分背景色
130
+ const scoreGradient = {
131
+ colors: ["#00000000", "#CC000000"],
132
+ orientation: 0,
133
+ cornerRadii4: [
134
+ 0,
135
+ 0,
136
+ themeConfig.focusBorderCorner,
137
+ themeConfig.focusBorderCorner,
138
+ ],
139
+ };
140
+ </script>
141
+
142
+ <style scoped lang="scss">
143
+ .grid-item-h {
144
+ background-color: transparent;
145
+ }
146
+
147
+ .grid-item-h-delete {
148
+ background-color: rgba(0, 0, 0, 0.65);
149
+ border-radius: 16px;
150
+ align-items: center;
151
+ justify-content: center;
152
+ position: absolute;
153
+ top: 0.01px;
154
+ left: 0.01px;
155
+ z-index: 100;
156
+ }
157
+
158
+ .grid-item-h-img {
159
+ background-color: rgba(255, 255, 255, 0.1);
160
+ }
161
+
162
+ .grid-item-h-corner {
163
+ width: 75px;
164
+ height: 35px;
165
+ background-color: transparent;
166
+ position: absolute;
167
+ color: white;
168
+ font-size: 24px;
169
+ }
170
+
171
+ .grid-item-h-score {
172
+ height: 70px;
173
+ background-color: transparent;
174
+ position: absolute;
175
+ }
176
+
177
+ .grid-item-h-score-text {
178
+ width: 60px;
179
+ height: 30px;
180
+ background-color: transparent;
181
+ margin-left: 16px;
182
+ margin-top: 31px;
183
+ color: #ff5415;
184
+ font-size: 24px;
185
+ }
186
+
187
+ .grid-item-h-text {
188
+ height: 40px;
189
+ background-color: transparent;
190
+ margin-top: 11px;
191
+ color: rgba(255, 255, 255, 0.55);
192
+ font-size: 30px;
193
+ focus-color: white;
194
+ }
195
+
196
+ .grid-item-h-progress {
197
+ height: 34px;
198
+ background-color: transparent;
199
+ color: rgba(255, 255, 255, 0.35);
200
+ font-size: 24px;
201
+ focus-color: rgba(255, 255, 255, 0.75);
202
+ }
203
+ </style>