@x-edu/live-player 0.0.43 → 0.0.44

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.
@@ -2410,7 +2410,7 @@ ___CSS_LOADER_EXPORT___.locals = {
2410
2410
 
2411
2411
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
2412
2412
  // Module
2413
- ___CSS_LOADER_EXPORT___.push([module.id, ".index-module_pagination_Wq7tc{padding-bottom:24px;margin-top:64px;display:flex;justify-content:center;align-items:center;width:100%}.index-module_pagination_Wq7tc .index-module_pagination-text_z\\+K9y{color:#666;margin-right:16px}.index-module_pagination_Wq7tc .fish-pagination-options-quick-jumper{color:#666}.index-module_pagination_Wq7tc .fish-pagination-next button,.index-module_pagination_Wq7tc .fish-pagination-prev button{border:0}.index-module_pagination_Wq7tc .fish-pagination-item{width:32px;height:32px;line-height:32px;background:#f5f7fa;border:0;border-radius:2px;font-size:14px;font-weight:400;color:#1e62ec;margin-right:10px}.index-module_pagination_Wq7tc .fish-pagination-item a{display:flex;align-items:center;justify-content:center;padding:0}.index-module_pagination_Wq7tc .fish-pagination-item:hover{background:#f5f7fa}.index-module_pagination_Wq7tc .fish-pagination-item-active:hover{background:#1e62ec}.index-module_pagination_Wq7tc .fish-pagination-item-link{background:#f5f7fa}.index-module_pagination_Wq7tc .fish-pagination-item-link:hover{background:#f5f7fa}.index-module_pagination_Wq7tc .fish-pagination-item-active{border-color:#1e62ec;background:#1e62ec}.index-module_pagination_Wq7tc .fish-pagination-item-active a{color:#fff}.index-module_pagination_Wq7tc .fish-pagination-options,.index-module_pagination_Wq7tc .fish-pagination-options-quick-jumper{margin-left:8px}.index-module_pagination_Wq7tc .fish-pagination-options-quick-jumper input{background:transparent;border-radius:0;outline:0;height:32px;padding:1px 7px;width:44px;text-align:center;border-radius:2px;border-color:#eee}.index-module_pagination_Wq7tc .fish-pagination-options-quick-jumper input:focus{outline:none;box-shadow:none;border-color:#1e62ec}.index-module_pagination_Wq7tc .fish-pagination-options-quick-jumper input:hover{border-color:#1e62ec}.index-module_pagination_Wq7tc .fish-pagination-options-quick-jumper .fish-pagination-options-quick-jumper-btn{min-width:40px;line-height:32px;height:32px;margin-left:12px;background:transparent;border:0;font-weight:700;color:#1e62ec}.index-module_pagination_Wq7tc .fish-pagination-options-quick-jumper .fish-pagination-options-quick-jumper-btn:hover{border-color:#1e62ec;background:#1e62ec;color:#fff}", ""]);
2413
+ ___CSS_LOADER_EXPORT___.push([module.id, ".index-module_pagination_Wq7tc{padding-bottom:24px;display:flex;justify-content:center;align-items:center;width:100%}.index-module_pagination_Wq7tc .index-module_pagination-text_z\\+K9y{color:#666;margin-right:16px}.index-module_pagination_Wq7tc .fish-pagination-options-quick-jumper{color:#666}.index-module_pagination_Wq7tc .fish-pagination-next button,.index-module_pagination_Wq7tc .fish-pagination-prev button{border:0}.index-module_pagination_Wq7tc .fish-pagination-item{width:32px;height:32px;line-height:32px;background:#f5f7fa;border:0;border-radius:2px;font-size:14px;font-weight:400;color:#1e62ec;margin-right:10px}.index-module_pagination_Wq7tc .fish-pagination-item a{display:flex;align-items:center;justify-content:center;padding:0}.index-module_pagination_Wq7tc .fish-pagination-item:hover{background:#f5f7fa}.index-module_pagination_Wq7tc .fish-pagination-item-active:hover{background:#1e62ec}.index-module_pagination_Wq7tc .fish-pagination-item-link{background:#f5f7fa}.index-module_pagination_Wq7tc .fish-pagination-item-link:hover{background:#f5f7fa}.index-module_pagination_Wq7tc .fish-pagination-item-active{border-color:#1e62ec;background:#1e62ec}.index-module_pagination_Wq7tc .fish-pagination-item-active a{color:#fff}.index-module_pagination_Wq7tc .fish-pagination-options,.index-module_pagination_Wq7tc .fish-pagination-options-quick-jumper{margin-left:8px}.index-module_pagination_Wq7tc .fish-pagination-options-quick-jumper input{background:transparent;border-radius:0;outline:0;height:32px;padding:1px 7px;width:44px;text-align:center;border-radius:2px;border-color:#eee}.index-module_pagination_Wq7tc .fish-pagination-options-quick-jumper input:focus{outline:none;box-shadow:none;border-color:#1e62ec}.index-module_pagination_Wq7tc .fish-pagination-options-quick-jumper input:hover{border-color:#1e62ec}.index-module_pagination_Wq7tc .fish-pagination-options-quick-jumper .fish-pagination-options-quick-jumper-btn{min-width:40px;line-height:32px;height:32px;margin-left:12px;background:transparent;border:0;font-weight:700;color:#1e62ec}.index-module_pagination_Wq7tc .fish-pagination-options-quick-jumper .fish-pagination-options-quick-jumper-btn:hover{border-color:#1e62ec;background:#1e62ec;color:#fff}", ""]);
2414
2414
  // Exports
2415
2415
  ___CSS_LOADER_EXPORT___.locals = {
2416
2416
  "pagination": "index-module_pagination_Wq7tc",
@@ -2688,12 +2688,34 @@ ___CSS_LOADER_EXPORT___.locals = {
2688
2688
 
2689
2689
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
2690
2690
  // Module
2691
- ___CSS_LOADER_EXPORT___.push([module.id, ".index-module_action_DHsbc{font-size:14px;line-height:22px;color:#1e62ec;border-radius:144.889px;border:1px solid #1e62ec;width:88px;height:32px;display:flex;align-items:center;justify-content:center;margin-top:8px}.index-module_action_DHsbc:hover{color:#4079ef;border:1px solid #4079ef}.index-module_action-mobile_vR7Cq{width:72px;height:28px;font-size:12px;line-height:18px;border-radius:999px;margin-top:0}.index-module_action-has-subscribe_LYNor{border:1px solid #b7ccf9!important;color:#b7ccf9!important}", ""]);
2691
+ ___CSS_LOADER_EXPORT___.push([module.id, ".index-module_action_DHsbc{font-size:12px;line-height:22px;display:inline-flex;color:#1e62ec;border-radius:144.889px;border:1px solid #1e62ec;height:24px;padding:2px 16px;display:flex;align-items:center;justify-content:center;margin-top:8px}.index-module_action_DHsbc:hover{color:#4079ef;border:1px solid #4079ef}.index-module_action_DHsbc:active{color:#0d4fd3;border:1px solid #0d4fd3}.index-module_action_DHsbc.index-module_action-live_Xh1HS{color:#fff;background:var(--Function-brand-hover,#1e62ec)}.index-module_action_DHsbc.index-module_action-live_Xh1HS:hover{background:var(--Function-brand-hover,#4079ef)}.index-module_action_DHsbc.index-module_action-live_Xh1HS:active{background:var(--Function-brand-active,#0d4fd3)}.index-module_action_DHsbc.index-module_action-has-subscribe_LYNor,.index-module_action_DHsbc.index-module_action-has-subscribe_LYNor:active,.index-module_action_DHsbc.index-module_action-has-subscribe_LYNor:hover{background:var(--Background-gray-secondary-F9F9F9,#f9f9f9);border:none;color:var(--Text-placeholder-999,#999)}.index-module_action-mobile_vR7Cq{width:72px;height:28px;font-size:12px;line-height:18px;border-radius:999px;margin-top:0}.index-module_action-has-subscribe_LYNor{background:#f9f9f9!important;color:#999!important;border:none!important}", ""]);
2692
2692
  // Exports
2693
2693
  ___CSS_LOADER_EXPORT___.locals = {
2694
2694
  "action": "index-module_action_DHsbc",
2695
- "action-mobile": "index-module_action-mobile_vR7Cq",
2696
- "action-has-subscribe": "index-module_action-has-subscribe_LYNor"
2695
+ "action-live": "index-module_action-live_Xh1HS",
2696
+ "action-has-subscribe": "index-module_action-has-subscribe_LYNor",
2697
+ "action-mobile": "index-module_action-mobile_vR7Cq"
2698
+ };
2699
+ /* harmony default export */ __webpack_exports__["Z"] = (___CSS_LOADER_EXPORT___);
2700
+
2701
+
2702
+ /***/ }),
2703
+
2704
+ /***/ 5854:
2705
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2706
+
2707
+ "use strict";
2708
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3645);
2709
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
2710
+ // Imports
2711
+
2712
+ var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
2713
+ // Module
2714
+ ___CSS_LOADER_EXPORT___.push([module.id, ".index-module_countdown_jwexD{display:inline-flex;align-items:center;font-size:12px;font-style:normal;font-weight:400;line-height:20px;color:#333;gap:4px}.index-module_countdown_jwexD .index-module_time_fVn99{display:flex;align-items:center;font-size:16px;font-weight:600;height:24px;line-height:24px;border-radius:4px;background:rgba(169,199,255,.1);padding:4px 8px;border:1px solid #a9c7ff1a}", ""]);
2715
+ // Exports
2716
+ ___CSS_LOADER_EXPORT___.locals = {
2717
+ "countdown": "index-module_countdown_jwexD",
2718
+ "time": "index-module_time_fVn99"
2697
2719
  };
2698
2720
  /* harmony default export */ __webpack_exports__["Z"] = (___CSS_LOADER_EXPORT___);
2699
2721
 
@@ -2710,7 +2732,7 @@ ___CSS_LOADER_EXPORT___.locals = {
2710
2732
 
2711
2733
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
2712
2734
  // Module
2713
- ___CSS_LOADER_EXPORT___.push([module.id, ".index-module_container_2HydZ{padding:24px 0;margin:0 24px;display:flex;justify-content:flex-start;cursor:pointer}.index-module_container_2HydZ:first-child{border-top:none}.index-module_container_2HydZ .index-module_left_qKfes{border-radius:8px;position:relative}.index-module_container_2HydZ .index-module_left_qKfes .index-module_avatar_kO\\+gr{width:204px;height:120px;border-radius:8px;object-fit:cover;overflow:hidden}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag_6g0Vd{position:absolute;top:0;border-radius:8px 0;font-size:12px;line-height:12px;height:20px;padding:0 8px;display:flex;align-items:center;color:#fff}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag0_L-uaW{background-color:#ff7826}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag1_1Mqse,.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag3_8NDod{background-color:#1e62ec;padding:0 5px}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag1_1Mqse img,.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag3_8NDod img{transform:rotate(180deg);height:10px;width:10px;margin-right:5px}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag2_sEPZA{background-color:rgba(0,0,0,.6)}.index-module_container_2HydZ .index-module_right_LjXan{display:flex;flex-direction:column;justify-content:space-between;width:calc(100% - 228px);margin-right:24px}.index-module_container_2HydZ .index-module_right-top_4Ry90 .index-module_title_\\+g0nw{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;word-wrap:break-word;line-height:28px;-webkit-line-clamp:2;font-size:20px;font-weight:600;color:#333}.index-module_container_2HydZ .index-module_right-bottom_ZCIxf{align-items:center}.index-module_container_2HydZ .index-module_right-bottom_ZCIxf .index-module_time_sEG7-{font-size:14px;color:#999;display:flex;align-items:center}.index-module_container_2HydZ .index-module_right-bottom_ZCIxf .index-module_time-icon_Rg1x0{width:16px;height:16px;color:#ccc;margin-right:4px}.index-module_container_2HydZ .index-module_right-bottom_ZCIxf .index-module_like_sty_Z780C{color:#999;display:flex;align-items:center;margin-left:40px}.index-module_container_2HydZ .index-module_right-bottom_ZCIxf .index-module_like_sty_Z780C .index-module_icon_bottom_jcWZ1{margin-right:30px;font-family:PingFang SC;font-size:14px;font-weight:400;line-height:22px;letter-spacing:0;text-align:left;display:flex;align-items:center}.index-module_container_2HydZ .index-module_right-bottom_ZCIxf .index-module_like_sty_Z780C .index-module_icon_bottom_jcWZ1 img{width:16px;height:16px;margin-right:5px;color:#ccc}.index-module_container_2HydZ.dark .index-module_title_\\+g0nw{color:#fff}.index-module_action_MHhqt,.index-module_container_2HydZ:hover .index-module_title_\\+g0nw{color:#1e62ec}.index-module_action_MHhqt{font-size:14px;line-height:22px;border-radius:144.889px;border:1px solid #1e62ec;width:88px;height:32px;display:flex;align-items:center;justify-content:center}.index-module_action-subscribe_CvlKL{background:#1e62ec;color:#fff}.index-module_mobileContainer_LgPFb{margin:0 0 12px 0;display:flex;flex-direction:column;gap:8px}.index-module_mobileContainer_LgPFb:last-child{border-bottom:none}.index-module_mobileTitle_uEAj9{font-size:16px;line-height:22px;font-weight:600;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.index-module_mobileCoverWrap_z0EDe{position:relative;width:100%;aspect-ratio:2;padding-top:50%;overflow:hidden}.index-module_mobileCover_eKVfP{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:8px;object-fit:cover;display:block}.index-module_mobileTag_7sgSF{position:absolute;top:8px;left:8px;border-radius:8px 0 8px 0;font-size:12px;line-height:20px;height:20px;padding:0 8px;display:flex;align-items:center;color:#fff}.index-module_mobileTag_7sgSF img{transform:rotate(180deg);height:10px;width:10px;margin-right:5px}.index-module_mobileTag0_j-\\+La{background-color:#ff7826}.index-module_mobileTag1_t66\\+f,.index-module_mobileTag3_Py0ta{background-color:#1e62ec}.index-module_mobileTag2_\\+57UZ{background-color:rgba(0,0,0,.6)}.index-module_mobileDescRow_TvOLE{display:flex;align-items:center;justify-content:space-between;gap:12px}.index-module_mobileMeta_zXJJe{flex-wrap:wrap;column-gap:12px;row-gap:4px;color:#666;font-size:12px;line-height:18px;flex:1}.index-module_mobileMeta_zXJJe,.index-module_mobileTime_ZiYD2{display:flex;align-items:center;min-width:0}.index-module_mobileTimeIcon_Z-jOL{width:14px;height:14px;margin-right:4px}.index-module_mobileTimeText_aBdDK{color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.index-module_mobileStat_kHrcC,.index-module_mobileTimeText_aBdDK{font-size:12px;line-height:18px}.index-module_mobileStat_kHrcC{display:flex;align-items:center;color:#999}.index-module_mobileStatIcon_yC\\+Ui{width:14px;height:14px;margin-right:4px}.index-module_mobileAction_sUU3p{flex-shrink:0}.index-module_mobileContainer_LgPFb.dark .index-module_mobileTitle_uEAj9{color:#fff}.index-module_mobileContainer_LgPFb.dark .index-module_mobileMeta_zXJJe,.index-module_mobileContainer_LgPFb.dark .index-module_mobileStat_kHrcC,.index-module_mobileContainer_LgPFb.dark .index-module_mobileTimeText_aBdDK{color:#ccc}", ""]);
2735
+ ___CSS_LOADER_EXPORT___.push([module.id, ".index-module_container_2HydZ{padding:24px 0;margin:0 24px;display:flex;justify-content:flex-start;cursor:pointer}.index-module_container_2HydZ:first-child{border-top:none}.index-module_container_2HydZ .index-module_left_qKfes{border-radius:8px;position:relative}.index-module_container_2HydZ .index-module_left_qKfes .index-module_avatar_kO\\+gr{width:205px;height:120px;border-radius:8px;object-fit:cover;overflow:hidden}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag_6g0Vd{position:absolute;top:0;border-radius:8px 0;font-size:12px;line-height:12px;height:20px;padding:0 8px;display:flex;align-items:center;color:#fff}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag0_L-uaW{background-color:#ff7826}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag1_1Mqse,.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag3_8NDod{background-color:#1e62ec;padding:0 5px}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag1_1Mqse img,.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag3_8NDod img{transform:rotate(180deg);height:10px;width:10px;margin-right:5px}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag2_sEPZA{background-color:rgba(0,0,0,.6)}.index-module_container_2HydZ .index-module_right_LjXan{height:120px;display:flex;flex-direction:column;justify-content:space-between;width:calc(100% - 228px)}.index-module_container_2HydZ .index-module_right-top_4Ry90{display:flex;flex-direction:column;gap:8px}.index-module_container_2HydZ .index-module_right-top_4Ry90 .index-module_title_\\+g0nw{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;word-wrap:break-word;line-height:24px;-webkit-line-clamp:2;font-size:16px;font-weight:600;color:#333}.index-module_container_2HydZ .index-module_right-top_4Ry90 .index-module_time_sEG7-{font-size:12px;color:#999;display:flex;align-items:center}.index-module_container_2HydZ .index-module_right-top_4Ry90 .index-module_time-icon_Rg1x0{width:16px;height:16px;color:#ccc;margin-right:4px}.index-module_container_2HydZ .index-module_right-top_4Ry90 .index-module_like_sty_Z780C{color:#999;display:flex;align-items:center;margin-left:20px}.index-module_container_2HydZ .index-module_right-top_4Ry90 .index-module_like_sty_Z780C .index-module_icon_bottom_jcWZ1{margin-right:30px;font-family:PingFang SC;font-size:12px;font-weight:400;line-height:22px;letter-spacing:0;text-align:left;display:flex;align-items:center}.index-module_container_2HydZ .index-module_right-top_4Ry90 .index-module_like_sty_Z780C .index-module_icon_bottom_jcWZ1 img{width:16px;height:16px;margin-right:5px;color:#ccc}.index-module_container_2HydZ .index-module_right-bottom_ZCIxf{display:flex;justify-content:flex-end}.index-module_container_2HydZ.dark .index-module_title_\\+g0nw{color:#fff}.index-module_container_2HydZ:hover .index-module_title_\\+g0nw{color:#1e62ec}.index-module_webListCard_9lxob{display:flex;padding:16px;border-radius:8px;align-items:center;margin:0 0 24px 0;gap:16px;align-self:stretch;border:2px solid var(--Background-gray-default-FFFFFF,#fff);background:linear-gradient(180deg,rgba(0,195,255,0) 75%,rgba(0,246,255,.08) 100%),var(--background-alpha-tertiary-80,hsla(0,0%,100%,.8))}.index-module_webListCard_9lxob:hover{background:linear-gradient(180deg,rgba(0,195,255,0) 75%,rgba(0,246,255,.08) 100%),var(--Background-gray-default-FFFFFF,#fff);box-shadow:0 0 36px 0 rgba(0,47,143,.18)}.index-module_webListCard_9lxob:hover .index-module_title_\\+g0nw{color:#1e62ec}.index-module_cardContainer_J7\\+LG{width:308px;height:345px;box-sizing:border-box;padding:16px;border-radius:8px;border:2px solid var(--Background-gray-default-FFFFFF,#fff);background:linear-gradient(180deg,rgba(0,195,255,0) 75%,rgba(0,246,255,.08) 100%),var(--background-alpha-tertiary-80,hsla(0,0%,100%,.8));display:flex;flex-direction:column;cursor:pointer}.index-module_cardContainer_J7\\+LG .index-module_cardStatusTag_yqJ2G{margin-right:4px}.index-module_cardContainer_J7\\+LG:hover{background:linear-gradient(180deg,rgba(0,195,255,0) 75%,rgba(0,246,255,.08) 100%),var(--Background-gray-default-FFFFFF,#fff);box-shadow:0 0 36px 0 rgba(0,47,143,.18)}.index-module_cardContainer_J7\\+LG:hover .index-module_cardTitle_GLbl\\+{color:#1e62ec}.index-module_cardCoverWrap_8WRP-{position:relative;width:100%;aspect-ratio:2;margin-bottom:12px;border-radius:8px;overflow:hidden}.index-module_cardCover_57pGO{width:100%;height:100%;object-fit:cover}.index-module_cardTitle_GLbl\\+{font-size:16px;font-weight:600;color:#333;line-height:24px;margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-wrap:break-word}.index-module_cardActionRow_KfwBa{margin-top:auto;display:flex;justify-content:flex-end;border-top:1px solid #f0f0f0;padding:16px 0 0}.index-module_action_MHhqt{font-size:14px;line-height:22px;color:#1e62ec;border-radius:144.889px;border:1px solid #1e62ec;width:88px;height:32px;display:flex;align-items:center;justify-content:center}.index-module_action-subscribe_CvlKL{background:#1e62ec;color:#fff}.index-module_mobileContainer_LgPFb{margin:0 0 12px 0;display:flex;flex-direction:column;gap:8px}.index-module_mobileContainer_LgPFb:last-child{border-bottom:none}.index-module_mobileTitle_uEAj9{font-size:16px;line-height:22px;font-weight:600;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.index-module_mobileCoverWrap_z0EDe{position:relative;width:100%;aspect-ratio:2;padding-top:50%;overflow:hidden}.index-module_mobileCover_eKVfP{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:8px;object-fit:cover;display:block}.index-module_mobileTag_7sgSF{position:absolute;top:8px;left:8px;border-radius:8px 0 8px 0;font-size:12px;line-height:20px;height:20px;padding:0 8px;display:flex;align-items:center;color:#fff}.index-module_mobileTag_7sgSF img{transform:rotate(180deg);height:10px;width:10px;margin-right:5px}.index-module_mobileTag0_j-\\+La{background-color:#ff7826}.index-module_mobileTag1_t66\\+f,.index-module_mobileTag3_Py0ta{background-color:#1e62ec}.index-module_mobileTag2_\\+57UZ{background-color:rgba(0,0,0,.6)}.index-module_mobileDescRow_TvOLE{display:flex;align-items:center;justify-content:space-between;gap:12px}.index-module_mobileMeta_zXJJe{flex-wrap:wrap;column-gap:12px;row-gap:4px;color:#666;font-size:12px;line-height:18px;flex:1}.index-module_mobileMeta_zXJJe,.index-module_mobileTime_ZiYD2{display:flex;align-items:center;min-width:0}.index-module_mobileTimeIcon_Z-jOL{width:14px;height:14px;margin-right:4px}.index-module_mobileTimeText_aBdDK{color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.index-module_mobileStat_kHrcC,.index-module_mobileTimeText_aBdDK{font-size:12px;line-height:18px}.index-module_mobileStat_kHrcC{display:flex;align-items:center;color:#999}.index-module_mobileStatIcon_yC\\+Ui{width:14px;height:14px;margin-right:4px}.index-module_mobileAction_sUU3p{flex-shrink:0}.index-module_mobileContainer_LgPFb.dark .index-module_mobileTitle_uEAj9{color:#fff}.index-module_mobileContainer_LgPFb.dark .index-module_mobileMeta_zXJJe,.index-module_mobileContainer_LgPFb.dark .index-module_mobileStat_kHrcC,.index-module_mobileContainer_LgPFb.dark .index-module_mobileTimeText_aBdDK{color:#ccc}", ""]);
2714
2736
  // Exports
2715
2737
  ___CSS_LOADER_EXPORT___.locals = {
2716
2738
  "container": "index-module_container_2HydZ",
@@ -2724,11 +2746,18 @@ ___CSS_LOADER_EXPORT___.locals = {
2724
2746
  "right": "index-module_right_LjXan",
2725
2747
  "right-top": "index-module_right-top_4Ry90",
2726
2748
  "title": "index-module_title_+g0nw",
2727
- "right-bottom": "index-module_right-bottom_ZCIxf",
2728
2749
  "time": "index-module_time_sEG7-",
2729
2750
  "time-icon": "index-module_time-icon_Rg1x0",
2730
2751
  "like_sty": "index-module_like_sty_Z780C",
2731
2752
  "icon_bottom": "index-module_icon_bottom_jcWZ1",
2753
+ "right-bottom": "index-module_right-bottom_ZCIxf",
2754
+ "webListCard": "index-module_webListCard_9lxob",
2755
+ "cardContainer": "index-module_cardContainer_J7+LG",
2756
+ "cardStatusTag": "index-module_cardStatusTag_yqJ2G",
2757
+ "cardTitle": "index-module_cardTitle_GLbl+",
2758
+ "cardCoverWrap": "index-module_cardCoverWrap_8WRP-",
2759
+ "cardCover": "index-module_cardCover_57pGO",
2760
+ "cardActionRow": "index-module_cardActionRow_KfwBa",
2732
2761
  "action": "index-module_action_MHhqt",
2733
2762
  "action-subscribe": "index-module_action-subscribe_CvlKL",
2734
2763
  "mobileContainer": "index-module_mobileContainer_LgPFb",
@@ -2752,6 +2781,56 @@ ___CSS_LOADER_EXPORT___.locals = {
2752
2781
  /* harmony default export */ __webpack_exports__["Z"] = (___CSS_LOADER_EXPORT___);
2753
2782
 
2754
2783
 
2784
+ /***/ }),
2785
+
2786
+ /***/ 8123:
2787
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2788
+
2789
+ "use strict";
2790
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3645);
2791
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
2792
+ // Imports
2793
+
2794
+ var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
2795
+ // Module
2796
+ ___CSS_LOADER_EXPORT___.push([module.id, ".index-module_statusBadge_iHxWX{flex-shrink:0;padding:0 4px;height:20px;line-height:24px;font-size:12px;border-radius:2px;background:#eef4ff;color:#1e62ec;display:inline-flex;align-items:center;margin-right:8px;gap:2px;vertical-align:text-bottom}.index-module_statusBadge_iHxWX img{width:14px}.index-module_statusBadge_iHxWX .index-module_play-icon_Tev5x{transform:rotate(180deg)}.index-module_statusBadge0_lK3Sd{background:#1e62ec;color:#fff}.index-module_statusBadge1_AacbM,.index-module_statusBadge3_G5VxB{background:#f53f3f;color:#fff}.index-module_statusBadge2_3JbA0{background:#f1f8ec;color:#6fd037}", ""]);
2797
+ // Exports
2798
+ ___CSS_LOADER_EXPORT___.locals = {
2799
+ "statusBadge": "index-module_statusBadge_iHxWX",
2800
+ "play-icon": "index-module_play-icon_Tev5x",
2801
+ "statusBadge0": "index-module_statusBadge0_lK3Sd",
2802
+ "statusBadge1": "index-module_statusBadge1_AacbM",
2803
+ "statusBadge3": "index-module_statusBadge3_G5VxB",
2804
+ "statusBadge2": "index-module_statusBadge2_3JbA0"
2805
+ };
2806
+ /* harmony default export */ __webpack_exports__["Z"] = (___CSS_LOADER_EXPORT___);
2807
+
2808
+
2809
+ /***/ }),
2810
+
2811
+ /***/ 1854:
2812
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2813
+
2814
+ "use strict";
2815
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3645);
2816
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
2817
+ // Imports
2818
+
2819
+ var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
2820
+ // Module
2821
+ ___CSS_LOADER_EXPORT___.push([module.id, ".index-module_timeBar_w1L71{display:flex;align-items:center;gap:20px}.index-module_cardTimeBar_7u8GK{justify-content:space-between}.index-module_statusText_\\+RyAK,.index-module_viewer_J8lJp{display:flex;gap:4px;font-size:12px;color:#666}.index-module_countdown_Ve6aF{display:flex}.index-module_countdownBox_Vvek-{display:flex;align-items:center;gap:4px;font-size:14px;color:#666}", ""]);
2822
+ // Exports
2823
+ ___CSS_LOADER_EXPORT___.locals = {
2824
+ "timeBar": "index-module_timeBar_w1L71",
2825
+ "cardTimeBar": "index-module_cardTimeBar_7u8GK",
2826
+ "statusText": "index-module_statusText_+RyAK",
2827
+ "viewer": "index-module_viewer_J8lJp",
2828
+ "countdown": "index-module_countdown_Ve6aF",
2829
+ "countdownBox": "index-module_countdownBox_Vvek-"
2830
+ };
2831
+ /* harmony default export */ __webpack_exports__["Z"] = (___CSS_LOADER_EXPORT___);
2832
+
2833
+
2755
2834
  /***/ }),
2756
2835
 
2757
2836
  /***/ 9084:
@@ -2764,14 +2843,19 @@ ___CSS_LOADER_EXPORT___.locals = {
2764
2843
 
2765
2844
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
2766
2845
  // Module
2767
- ___CSS_LOADER_EXPORT___.push([module.id, ".index-module_container_y\\+him{max-width:1300px;margin:0 auto;padding:24px 24px 0 24px;width:956px}.index-module_container_y\\+him .fish-tabs-nav{margin-bottom:24px}.index-module_container_y\\+him .fish-tabs-nav:before{display:none}.index-module_container_y\\+him .fish-tabs-ink-bar{display:none}.index-module_container_y\\+him .fish-tabs-tab+.fish-tabs-tab{margin-left:0}.index-module_container_y\\+him .fish-tabs-tab{padding:9px 20px}.index-module_container_y\\+him .fish-tabs-tab-btn{font-size:14px;line-height:14px;color:#666}.index-module_container_y\\+him .fish-tabs-tab-active{border-radius:16px;background:var(--f-3-f-7-ff,#f3f7ff)}.index-module_container_y\\+him .fish-tabs-tab-active .fish-tabs-tab-btn{color:#1e62ec}.index-module_container_y\\+him.index-module_mobile_fjd59{width:100%;padding:12px 12px 0 12px}.index-module_list_KQnlU{min-height:500px}.index-module_mobileLoadMore_43-yu{flex:0 0 100%!important;text-align:center;color:#999;font-size:12px;line-height:18px;padding:12px 0 24px 0}.index-module_padList_YQpXl{display:flex;flex-wrap:wrap;gap:24px}.index-module_padList_YQpXl>*{flex:0 0 calc(33.33333% - 16px);box-sizing:border-box;overflow:hidden}", ""]);
2846
+ ___CSS_LOADER_EXPORT___.push([module.id, ".index-module_container_y\\+him{max-width:1300px;margin:0 auto;width:956px}.index-module_container_y\\+him .fish-tabs-nav{margin-bottom:8px;padding:24px 32px 0 12px}.index-module_container_y\\+him .fish-tabs-nav:before{display:none}.index-module_container_y\\+him .fish-tabs-ink-bar{display:none}.index-module_container_y\\+him .fish-tabs-tab+.fish-tabs-tab{margin-left:0}.index-module_container_y\\+him .fish-tabs-tab{padding:9px 20px}.index-module_container_y\\+him .fish-tabs-tab-btn{font-size:14px;line-height:14px;color:#666}.index-module_container_y\\+him .fish-tabs-tab-active{border-radius:16px;background:var(--background-alpha-secondary-60,hsla(0,0%,100%,.6))}.index-module_container_y\\+him .fish-tabs-tab-active .fish-tabs-tab-btn{color:#1e62ec}.index-module_container_y\\+him.index-module_mobile_fjd59{width:100%;padding:12px 12px 0 12px}.index-module_list_KQnlU{min-height:500px}.index-module_toolbar_dg2Il{display:flex;justify-content:flex-end;margin:0 32px 24px 0}.index-module_toolbar_dg2Il .index-module_viewSwitchIcon_3Swxw{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none}.index-module_toolbar_dg2Il .index-module_viewSwitchIcon_3Swxw svg{width:18px;height:18px}.index-module_listWrapper_uB4v-{width:100%;padding:0 32px}.index-module_paginationWrapper_ieLJ1{width:100%;display:flex;justify-content:center;padding:24px 0}.index-module_mobileLoadMore_43-yu{flex:0 0 100%!important;text-align:center;color:#999;font-size:12px;line-height:18px;padding:12px 0 24px 0}.index-module_padList_YQpXl{display:flex;flex-wrap:wrap;gap:24px}.index-module_padList_YQpXl>*{flex:0 0 calc(33.33333% - 16px);box-sizing:border-box;overflow:hidden}.index-module_cardList_nVBoV{display:flex;flex-wrap:wrap;gap:24px;align-items:stretch}", ""]);
2768
2847
  // Exports
2769
2848
  ___CSS_LOADER_EXPORT___.locals = {
2770
2849
  "container": "index-module_container_y+him",
2771
2850
  "mobile": "index-module_mobile_fjd59",
2772
2851
  "list": "index-module_list_KQnlU",
2852
+ "toolbar": "index-module_toolbar_dg2Il",
2853
+ "viewSwitchIcon": "index-module_viewSwitchIcon_3Swxw",
2854
+ "listWrapper": "index-module_listWrapper_uB4v-",
2855
+ "paginationWrapper": "index-module_paginationWrapper_ieLJ1",
2773
2856
  "mobileLoadMore": "index-module_mobileLoadMore_43-yu",
2774
- "padList": "index-module_padList_YQpXl"
2857
+ "padList": "index-module_padList_YQpXl",
2858
+ "cardList": "index-module_cardList_nVBoV"
2775
2859
  };
2776
2860
  /* harmony default export */ __webpack_exports__["Z"] = (___CSS_LOADER_EXPORT___);
2777
2861
 
@@ -61288,6 +61372,279 @@ function formatLikesCount(count) {
61288
61372
  function formatUVCount(count) {
61289
61373
  return liveCountUtil_formatCount(count, 8);
61290
61374
  }
61375
+ // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[0].use[2]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[0].use[3]!./node_modules/less-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[0].use[4]!./src/list/ListItem/LiveCountDown/index.module.less
61376
+ var ListItem_LiveCountDown_index_module = __webpack_require__(5854);
61377
+ ;// CONCATENATED MODULE: ./src/list/ListItem/LiveCountDown/index.module.less
61378
+
61379
+
61380
+
61381
+
61382
+
61383
+
61384
+
61385
+
61386
+
61387
+
61388
+
61389
+ var LiveCountDown_index_module_options = {};
61390
+
61391
+ LiveCountDown_index_module_options.styleTagTransform = (styleTagTransform_default());
61392
+ LiveCountDown_index_module_options.setAttributes = (setAttributesWithoutAttributes_default());
61393
+
61394
+ LiveCountDown_index_module_options.insert = insertBySelector_default().bind(null, "head");
61395
+
61396
+ LiveCountDown_index_module_options.domAPI = (styleDomAPI_default());
61397
+ LiveCountDown_index_module_options.insertStyleElement = (insertStyleElement_default());
61398
+
61399
+ var LiveCountDown_index_module_update = injectStylesIntoStyleTag_default()(ListItem_LiveCountDown_index_module/* default */.Z, LiveCountDown_index_module_options);
61400
+
61401
+
61402
+
61403
+
61404
+ /* harmony default export */ var list_ListItem_LiveCountDown_index_module = (ListItem_LiveCountDown_index_module/* default */.Z && ListItem_LiveCountDown_index_module/* default.locals */.Z.locals ? ListItem_LiveCountDown_index_module/* default.locals */.Z.locals : undefined);
61405
+
61406
+ ;// CONCATENATED MODULE: ./src/list/ListItem/LiveCountDown/index.jsx
61407
+ function LiveCountDown_slicedToArray(arr, i) { return LiveCountDown_arrayWithHoles(arr) || LiveCountDown_iterableToArrayLimit(arr, i) || ListItem_LiveCountDown_unsupportedIterableToArray(arr, i) || LiveCountDown_nonIterableRest(); }
61408
+
61409
+ function LiveCountDown_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
61410
+
61411
+ function ListItem_LiveCountDown_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return ListItem_LiveCountDown_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return ListItem_LiveCountDown_arrayLikeToArray(o, minLen); }
61412
+
61413
+ function ListItem_LiveCountDown_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
61414
+
61415
+ function LiveCountDown_iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
61416
+
61417
+ function LiveCountDown_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
61418
+
61419
+ // 倒计时组件
61420
+
61421
+
61422
+
61423
+ var Countdown = function Countdown(_ref) {
61424
+ var endTime = _ref.endTime,
61425
+ onLess15Minutes = _ref.onLess15Minutes,
61426
+ onFinish = _ref.onFinish,
61427
+ className = _ref.className;
61428
+
61429
+ var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(Math.max(0, endTime - new Date().getTime())),
61430
+ _useState2 = LiveCountDown_slicedToArray(_useState, 2),
61431
+ remainingTime = _useState2[0],
61432
+ setRemainingTime = _useState2[1];
61433
+
61434
+ (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useEffect)(function () {
61435
+ var intervalId = setInterval(function () {
61436
+ var now = new Date().getTime();
61437
+ var distance = endTime - now; // 小于 15 分钟 触发事件
61438
+
61439
+ if (distance < 900000 && onLess15Minutes) {
61440
+ onLess15Minutes();
61441
+ } // 倒计时结束 触发事件
61442
+
61443
+
61444
+ if (distance <= 0) {
61445
+ if (onFinish) onFinish();
61446
+ clearInterval(intervalId);
61447
+ setRemainingTime(0);
61448
+ return;
61449
+ }
61450
+
61451
+ setRemainingTime(distance);
61452
+ }, 1000);
61453
+ return function () {
61454
+ return clearInterval(intervalId);
61455
+ };
61456
+ }, [endTime]);
61457
+ var days = Math.floor(remainingTime / (1000 * 60 * 60 * 24));
61458
+ var hours = Math.floor(remainingTime % (1000 * 60 * 60 * 24) / (1000 * 60 * 60));
61459
+ var minutes = Math.floor(remainingTime % (1000 * 60 * 60) / (1000 * 60));
61460
+ var seconds = Math.floor(remainingTime % (1000 * 60) / 1000);
61461
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
61462
+ className: "".concat(className || list_ListItem_LiveCountDown_index_module.countdown)
61463
+ }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
61464
+ className: list_ListItem_LiveCountDown_index_module.time
61465
+ }, days), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", null, "\u5929"), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
61466
+ className: list_ListItem_LiveCountDown_index_module.time
61467
+ }, hours), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", null, "\u65F6"), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
61468
+ className: list_ListItem_LiveCountDown_index_module.time
61469
+ }, minutes), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", null, "\u5206"), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
61470
+ className: list_ListItem_LiveCountDown_index_module.time
61471
+ }, seconds), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", null, "\u79D2"));
61472
+ };
61473
+
61474
+ /* harmony default export */ var ListItem_LiveCountDown = (Countdown);
61475
+ ;// CONCATENATED MODULE: ./src/list/ListItem/img/fire-fill.svg
61476
+ var fire_fill_path;
61477
+ function fire_fill_extends() { fire_fill_extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return fire_fill_extends.apply(this, arguments); }
61478
+
61479
+ var SvgFireFill = function SvgFireFill(props) {
61480
+ return /*#__PURE__*/React.createElement("svg", fire_fill_extends({
61481
+ width: 16,
61482
+ height: 16,
61483
+ fill: "none",
61484
+ xmlns: "http://www.w3.org/2000/svg"
61485
+ }, props), fire_fill_path || (fire_fill_path = /*#__PURE__*/React.createElement("path", {
61486
+ d: "M5.464 14.623c.616.205.821-.36.564-.564-.82-.565-1.231-1.59-.923-2.514.308-1.027 1.129-1.437 1.129-2.976 0 0 1.026.77.82 1.95 1.027-1.18.565-2.72.36-3.438 2.617 1.385 4.874 4.412 2.257 6.978-.307.256 0 .718.462.564 7.132-4.053 1.745-10.108.821-10.826.308.718.36 1.847-.256 2.411C9.62 2.155 7.003 1.334 7.003 1.334c.308 2.104-1.18 4.361-2.565 6.106-.051-.872-.103-1.437-.513-2.207-.103 1.488-1.283 2.72-1.59 4.26-.411 2.051.307 3.54 3.13 5.13Z",
61487
+ fill: "#F53F3F"
61488
+ })));
61489
+ };
61490
+
61491
+ /* harmony default export */ var fire_fill = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTUuNDY0MDYgMTQuNjIzMUM2LjA3OTc4IDE0LjgyODMgNi4yODUwMSAxNC4yNjM5IDYuMDI4NDYgMTQuMDU4N0M1LjIwNzUxIDEzLjQ5NDMgNC43OTcwMyAxMi40NjgxIDUuMTA0OSAxMS41NDQ1QzUuNDEyNzYgMTAuNTE4NCA2LjIzMzcxIDEwLjEwNzkgNi4yMzM3MSA4LjU2ODZDNi4yMzM3MSA4LjU2ODYgNy4yNTk4OSA5LjMzODI1IDcuMDU0NjYgMTAuNTE4NEM4LjA4MDg0IDkuMzM4MjYgNy42MTkwNiA3Ljc5ODk4IDcuNDEzODMgNy4wODA2M0MxMC4wMzA2IDguNDY1OTkgMTIuMjg4MiAxMS40OTMyIDkuNjcxNDQgMTQuMDU4N0M5LjM2MzU5IDE0LjMxNTIgOS42NzE0NCAxNC43NzcgMTAuMTMzMiAxNC42MjMxQzE3LjI2NTIgMTAuNTY5NyAxMS44Nzc4IDQuNTE1MTUgMTAuOTU0MiAzLjc5NjgyQzExLjI2MiA0LjUxNTE1IDExLjMxMzQgNS42NDM5NiAxMC42OTc3IDYuMjA4MzhDOS42MjAxNCAyLjE1NDk0IDcuMDAzMzcgMS4zMzM5OCA3LjAwMzM3IDEuMzMzOThDNy4zMTEyMyAzLjQzNzY3IDUuODIzMjcgNS42OTUzIDQuNDM3ODkgNy40Mzk4MUM0LjM4NjU5IDYuNTY3NTUgNC4zMzUyOSA2LjAwMzE1IDMuOTI0NzkgNS4yMzM1QzMuODIyMTkgNi43MjE0OCAyLjY0MjA2IDcuOTUyODkgMi4zMzQyMyA5LjQ5MjE3QzEuOTIzNzUgMTEuNTQ0NSAyLjY0MjA4IDEzLjAzMjUgNS40NjQxMSAxNC42MjMxTDUuNDY0MDYgMTQuNjIzMVoiIGZpbGw9IiNGNTNGM0YiLz4KPC9zdmc+Cg==");
61492
+ ;// CONCATENATED MODULE: ./src/list/ListItem/img/video.svg
61493
+ var video_path;
61494
+ function video_extends() { video_extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return video_extends.apply(this, arguments); }
61495
+
61496
+ var SvgVideo = function SvgVideo(props) {
61497
+ return /*#__PURE__*/React.createElement("svg", video_extends({
61498
+ xmlns: "http://www.w3.org/2000/svg",
61499
+ width: 16,
61500
+ height: 16,
61501
+ fill: "none"
61502
+ }, props), video_path || (video_path = /*#__PURE__*/React.createElement("path", {
61503
+ fillRule: "evenodd",
61504
+ clipRule: "evenodd",
61505
+ d: "M11.333 3.333a.667.667 0 0 0-.666-.667H1.333a.667.667 0 0 0-.666.667v9.334c0 .368.298.666.666.666h9.334a.667.667 0 0 0 .666-.667v-2.8L14.81 12.3a.333.333 0 0 0 .524-.274V3.973a.333.333 0 0 0-.524-.273l-3.476 2.433v-2.8ZM4.672 6.1a.267.267 0 0 1 .405-.173L7.98 7.774l.042.034a.267.267 0 0 1-.042.416l-2.903 1.848-.049.024a.267.267 0 0 1-.361-.25V6.153l.005-.053Z",
61506
+ fill: "#CCC"
61507
+ })));
61508
+ };
61509
+
61510
+ /* harmony default export */ var video = ("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2IiBmaWxsPSJub25lIj4NCjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTEuMzMzNCAzLjMzMzE3QzExLjMzMzQgMi45NjQ5OCAxMS4wMzQ5IDIuNjY2NSAxMC42NjY3IDIuNjY2NUgxLjMzMzM1QzAuOTY1MTY0IDIuNjY2NSAwLjY2NjY4NyAyLjk2NDk4IDAuNjY2Njg3IDMuMzMzMTdWMTIuNjY2NUMwLjY2NjY4NyAxMy4wMzQ3IDAuOTY1MTY0IDEzLjMzMzIgMS4zMzMzNSAxMy4zMzMySDEwLjY2NjdDMTEuMDM0OSAxMy4zMzMyIDExLjMzMzQgMTMuMDM0NyAxMS4zMzM0IDEyLjY2NjVWOS44NjY1TDE0LjgwODcgMTIuMjk5OEMxNC45MTA2IDEyLjM3MTIgMTUuMDQzNyAxMi4zOCAxNS4xNTQgMTIuMzIyNUMxNS4yNjQ0IDEyLjI2NSAxNS4zMzM1IDEyLjE1MDkgMTUuMzMzNCAxMi4wMjY1VjMuOTczMTdDMTUuMzMzNSAzLjg0ODc3IDE1LjI2NDQgMy43MzQ2NCAxNS4xNTQgMy42NzcxN0MxNS4wNDM3IDMuNjE5NjkgMTQuOTEwNiAzLjYyODQzIDE0LjgwODcgMy42OTk4NEwxMS4zMzM0IDYuMTMzMTdWMy4zMzMxN1pNNC42NzIwMiA2LjA5OTE3QzQuNjk3MzcgNS45NzQ5OSA0LjgwNjYyIDUuODg1ODEgNC45MzMzNSA1Ljg4NTg0QzQuOTgzOTYgNS44ODUzIDUuMDMzNjcgNS44OTk4NCA1LjA3NjY5IDUuOTI2NUw3Ljk4MDAyIDcuNzc0NUw4LjAyMjAyIDcuODA3ODRDOC4xNDU0NCA3LjkyNzYgOC4xMjQ4OSA4LjEzMTE1IDcuOTgwMDIgOC4yMjM4NEw1LjA3NjY5IDEwLjA3MThMNS4wMjgwMiAxMC4wOTU4QzQuODUzNTEgMTAuMTYyMSA0LjY2NjY2IDEwLjAzMzIgNC42NjY2OSA5Ljg0NjVWNi4xNTE4NEw0LjY3MjAyIDYuMDk5MTdaIiBmaWxsPSIjQ0NDQ0NDIi8+DQo8L3N2Zz4=");
61511
+ // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[0].use[2]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[0].use[3]!./node_modules/less-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[0].use[4]!./src/list/ListItem/liveTime/index.module.less
61512
+ var liveTime_index_module = __webpack_require__(1854);
61513
+ ;// CONCATENATED MODULE: ./src/list/ListItem/liveTime/index.module.less
61514
+
61515
+
61516
+
61517
+
61518
+
61519
+
61520
+
61521
+
61522
+
61523
+
61524
+
61525
+ var liveTime_index_module_options = {};
61526
+
61527
+ liveTime_index_module_options.styleTagTransform = (styleTagTransform_default());
61528
+ liveTime_index_module_options.setAttributes = (setAttributesWithoutAttributes_default());
61529
+
61530
+ liveTime_index_module_options.insert = insertBySelector_default().bind(null, "head");
61531
+
61532
+ liveTime_index_module_options.domAPI = (styleDomAPI_default());
61533
+ liveTime_index_module_options.insertStyleElement = (insertStyleElement_default());
61534
+
61535
+ var liveTime_index_module_update = injectStylesIntoStyleTag_default()(liveTime_index_module/* default */.Z, liveTime_index_module_options);
61536
+
61537
+
61538
+
61539
+
61540
+ /* harmony default export */ var ListItem_liveTime_index_module = (liveTime_index_module/* default */.Z && liveTime_index_module/* default.locals */.Z.locals ? liveTime_index_module/* default.locals */.Z.locals : undefined);
61541
+
61542
+ ;// CONCATENATED MODULE: ./src/list/ListItem/liveTime/index.jsx
61543
+
61544
+
61545
+ function liveTime_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
61546
+
61547
+ function liveTime_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { liveTime_ownKeys(Object(source), true).forEach(function (key) { liveTime_defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { liveTime_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
61548
+
61549
+ function liveTime_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
61550
+
61551
+ function liveTime_asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
61552
+
61553
+ function liveTime_asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { liveTime_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { liveTime_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
61554
+
61555
+ function liveTime_slicedToArray(arr, i) { return liveTime_arrayWithHoles(arr) || liveTime_iterableToArrayLimit(arr, i) || liveTime_unsupportedIterableToArray(arr, i) || liveTime_nonIterableRest(); }
61556
+
61557
+ function liveTime_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
61558
+
61559
+ function liveTime_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return liveTime_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return liveTime_arrayLikeToArray(o, minLen); }
61560
+
61561
+ function liveTime_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
61562
+
61563
+ function liveTime_iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
61564
+
61565
+ function liveTime_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
61566
+
61567
+
61568
+
61569
+
61570
+
61571
+
61572
+
61573
+
61574
+ function liveTime_index(_ref) {
61575
+ var data = _ref.data,
61576
+ setData = _ref.setData,
61577
+ liveExt = _ref.liveExt,
61578
+ liveStatus = _ref.liveStatus,
61579
+ type = _ref.type;
61580
+ var beginTime = data.begin_time;
61581
+ var beginAt = dayjs_min_default()(beginTime);
61582
+
61583
+ var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(false),
61584
+ _useState2 = liveTime_slicedToArray(_useState, 2),
61585
+ countDownFinish = _useState2[0],
61586
+ setCountDownFinish = _useState2[1]; // 倒计时是否结束
61587
+
61588
+
61589
+ var handleCountDownFinish = /*#__PURE__*/function () {
61590
+ var _ref2 = liveTime_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
61591
+ return regenerator_default().wrap(function _callee$(_context) {
61592
+ while (1) {
61593
+ switch (_context.prev = _context.next) {
61594
+ case 0:
61595
+ setCountDownFinish(true);
61596
+ setData(liveTime_objectSpread(liveTime_objectSpread({}, data), {}, {
61597
+ status: 1
61598
+ }));
61599
+
61600
+ case 2:
61601
+ case "end":
61602
+ return _context.stop();
61603
+ }
61604
+ }
61605
+ }, _callee);
61606
+ }));
61607
+
61608
+ return function handleCountDownFinish() {
61609
+ return _ref2.apply(this, arguments);
61610
+ };
61611
+ }();
61612
+
61613
+ var renderStatusText = function renderStatusText() {
61614
+ if (liveStatus === 2 || liveStatus === 3 || liveStatus === 1 || countDownFinish) {
61615
+ var timeLabel = "".concat(beginAt.format('YYYY/MM/DD HH:mm'), " \u5F00\u64AD");
61616
+ var viewCount = liveExt.total_uv || 0; // 直播中才显示
61617
+
61618
+ var viewCountLabel = viewCount ? "".concat(formatUVCount(liveExt.total_uv || 0), "\u4EBA\u89C2\u770B") : '';
61619
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
61620
+ className: "".concat(ListItem_liveTime_index_module.timeBar, " ").concat(type === 'card' ? ListItem_liveTime_index_module.cardTimeBar : '')
61621
+ }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
61622
+ className: ListItem_liveTime_index_module.statusText
61623
+ }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("img", {
61624
+ src: video
61625
+ }), timeLabel), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
61626
+ className: ListItem_liveTime_index_module.viewer
61627
+ }, viewCountLabel ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("img", {
61628
+ src: fire_fill,
61629
+ alt: ""
61630
+ }) : /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement((external_commonjs_react_commonjs2_react_root_React_default()).Fragment, null), viewCountLabel));
61631
+ }
61632
+
61633
+ if (liveStatus === 0) {
61634
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement((external_commonjs_react_commonjs2_react_root_React_default()).Fragment, null, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
61635
+ className: ListItem_liveTime_index_module.countdownBox
61636
+ }, "\u8DDD\u5F00\u59CB", /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(ListItem_LiveCountDown, {
61637
+ key: data.live_id,
61638
+ endTime: dayjs_min_default()(data.begin_time).valueOf(),
61639
+ onFinish: handleCountDownFinish
61640
+ })), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", null));
61641
+ }
61642
+ };
61643
+
61644
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
61645
+ className: "".concat(ListItem_liveTime_index_module.time, " ").concat(liveStatus === 0 ? ListItem_liveTime_index_module["foreshow-time"] : '', " time-box")
61646
+ }, renderStatusText());
61647
+ }
61291
61648
  // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[1].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[1].use[2]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[1].use[3]!./node_modules/less-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[1].use[4]!./node_modules/@sdp.nd/fish/es/message/style/index.less
61292
61649
  var es_message_style = __webpack_require__(428);
61293
61650
  ;// CONCATENATED MODULE: ./node_modules/@sdp.nd/fish/es/message/style/index.less
@@ -61540,7 +61897,7 @@ function Action(_ref) {
61540
61897
  }();
61541
61898
 
61542
61899
  return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
61543
- className: classnames_default()(ListItem_Action_index_module.action, (_classNames = {}, Action_defineProperty(_classNames, ListItem_Action_index_module["action-subscribe"], curAction === 3), Action_defineProperty(_classNames, ListItem_Action_index_module["action-has-subscribe"], curAction === 4), Action_defineProperty(_classNames, ListItem_Action_index_module["action-mobile"], isMobile), _classNames)),
61900
+ className: classnames_default()(ListItem_Action_index_module.action, (_classNames = {}, Action_defineProperty(_classNames, ListItem_Action_index_module["action-live"], curAction === 1), Action_defineProperty(_classNames, ListItem_Action_index_module["action-subscribe"], curAction === 3), Action_defineProperty(_classNames, ListItem_Action_index_module["action-has-subscribe"], curAction === 4), Action_defineProperty(_classNames, ListItem_Action_index_module["action-mobile"], isMobile), _classNames)),
61544
61901
  onClick: handleBtnClick
61545
61902
  }, Actions[curAction]);
61546
61903
  }
@@ -61636,25 +61993,177 @@ var SvgViewFill = function SvgViewFill(props) {
61636
61993
  };
61637
61994
 
61638
61995
  /* harmony default export */ var view_fill = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9Imljb25fcGxhbmFyL3dlYl9pY29uXyYjMjMwOyYjMTgxOyYjMTQzOyYjMjMyOyYjMTY3OyYjMTM2OyYjMjMzOyYjMTM1OyYjMTQzO19maWxsIj4KPGcgaWQ9IiYjMjMyOyYjMTgzOyYjMTc1OyYjMjI5OyYjMTkwOyYjMTMyOyI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNOC4wMDAyIDEzQzUuNTU1NzEgMTMgMy4zNzQ4OCAxMS40NTczIDEuNDYyNTUgOC40NDM2N0MxLjI5MDQ4IDguMTcyOTEgMS4yOTA0OCA3LjgyNzA5IDEuNDYyNTUgNy41NTYzM0MzLjM3NDg4IDQuNTQyNjcgNS41NTU3MSAzIDguMDAwMiAzQzEwLjQ0NDcgMyAxMi42MjU1IDQuNTQyNjcgMTQuNTM3OSA3LjU1NjMzQzE0LjcwOTkgNy44MjcwOSAxNC43MDk5IDguMTcyOTEgMTQuNTM3OSA4LjQ0MzY3QzEyLjYyNTUgMTEuNDU3MyAxMC40NDQ3IDEzIDguMDAwMiAxM1pNNS4zMzM1MiA4QzUuMzMzNTIgOS40NzI3NiA2LjUyNzQzIDEwLjY2NjcgOC4wMDAxOCAxMC42NjY3QzkuNDcyOTQgMTAuNjY2NyAxMC42NjY5IDkuNDcyNzYgMTAuNjY2OSA4QzEwLjY2NjkgNi41MjcyNCA5LjQ3Mjk0IDUuMzMzMzMgOC4wMDAxOCA1LjMzMzMzQzYuNTI3NDMgNS4zMzMzMyA1LjMzMzUyIDYuNTI3MjQgNS4zMzM1MiA4WiIgZmlsbD0iI0NDQ0NDQyIvPgo8cGF0aCBkPSJNOS4zNDU1MyA4QzkuMzQ1NTMgOC43MzYzMyA4Ljc0MzIgOS4zMzMzMyA4LjAwMDIgOS4zMzMzM0M3LjI1NzIgOS4zMzMzMyA2LjY1NDg3IDguNzM2MzMgNi42NTQ4NyA4QzYuNjU0ODcgNy4yNjM2NyA3LjI1NzIgNi42NjY2NyA4LjAwMDIgNi42NjY2N0M4Ljc0MzIgNi42NjY2NyA5LjM0NTUzIDcuMjYzNjcgOS4zNDU1MyA4WiIgZmlsbD0iI0NDQ0NDQyIvPgo8L2c+CjwvZz4KPC9zdmc+Cg==");
61639
- ;// CONCATENATED MODULE: ./src/list/ListItem/img/video.svg
61640
- var video_path;
61641
- function video_extends() { video_extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return video_extends.apply(this, arguments); }
61996
+ ;// CONCATENATED MODULE: ./src/list/ListItem/liveStatus/img/progress.svg
61997
+ var progress_path, progress_path2, progress_path3;
61998
+ function progress_extends() { progress_extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return progress_extends.apply(this, arguments); }
61642
61999
 
61643
- var SvgVideo = function SvgVideo(props) {
61644
- return /*#__PURE__*/React.createElement("svg", video_extends({
62000
+ var SvgProgress = function SvgProgress(props) {
62001
+ return /*#__PURE__*/React.createElement("svg", progress_extends({
61645
62002
  xmlns: "http://www.w3.org/2000/svg",
61646
62003
  width: 16,
61647
62004
  height: 16,
61648
- fill: "none"
61649
- }, props), video_path || (video_path = /*#__PURE__*/React.createElement("path", {
61650
- fillRule: "evenodd",
61651
- clipRule: "evenodd",
61652
- d: "M11.333 3.333a.667.667 0 0 0-.666-.667H1.333a.667.667 0 0 0-.666.667v9.334c0 .368.298.666.666.666h9.334a.667.667 0 0 0 .666-.667v-2.8L14.81 12.3a.333.333 0 0 0 .524-.274V3.973a.333.333 0 0 0-.524-.273l-3.476 2.433v-2.8ZM4.672 6.1a.267.267 0 0 1 .405-.173L7.98 7.774l.042.034a.267.267 0 0 1-.042.416l-2.903 1.848-.049.024a.267.267 0 0 1-.361-.25V6.153l.005-.053Z",
61653
- fill: "#CCC"
62005
+ style: {
62006
+ enableBackground: "new 0 0 50 50"
62007
+ },
62008
+ xmlSpace: "preserve"
62009
+ }, props), progress_path || (progress_path = /*#__PURE__*/React.createElement("path", {
62010
+ fill: "#fff",
62011
+ d: "M0 0h3v6H0z"
62012
+ }, /*#__PURE__*/React.createElement("animateTransform", {
62013
+ attributeType: "xml",
62014
+ attributeName: "transform",
62015
+ type: "scale",
62016
+ values: "1,1; 1,3; 1,1",
62017
+ begin: "0s",
62018
+ dur: "0.6s",
62019
+ repeatCount: "indefinite"
62020
+ }))), progress_path2 || (progress_path2 = /*#__PURE__*/React.createElement("path", {
62021
+ fill: "#fff",
62022
+ d: "M6 0h3v6H6z"
62023
+ }, /*#__PURE__*/React.createElement("animateTransform", {
62024
+ attributeType: "xml",
62025
+ attributeName: "transform",
62026
+ type: "scale",
62027
+ values: "1,1; 1,3; 1,1",
62028
+ begin: "0.2s",
62029
+ dur: "0.6s",
62030
+ repeatCount: "indefinite"
62031
+ }))), progress_path3 || (progress_path3 = /*#__PURE__*/React.createElement("path", {
62032
+ fill: "#fff",
62033
+ d: "M12 0h3v6h-3z"
62034
+ }, /*#__PURE__*/React.createElement("animateTransform", {
62035
+ attributeType: "xml",
62036
+ attributeName: "transform",
62037
+ type: "scale",
62038
+ values: "1,1; 1,3; 1,1",
62039
+ begin: "0.4s",
62040
+ dur: "0.6s",
62041
+ repeatCount: "indefinite"
62042
+ }))));
62043
+ };
62044
+
62045
+ /* harmony default export */ var progress = ("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCiAgeT0iMHB4IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDUwIDUwOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjMiIGhlaWdodD0iNiIgZmlsbD0iI2ZmZiI+CiAgICA8YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVUeXBlPSJ4bWwiIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0ic2NhbGUiIHZhbHVlcz0iMSwxOyAxLDM7IDEsMSIgYmVnaW49IjBzIgogICAgICBkdXI9IjAuNnMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPgogIDwvcmVjdD4KCiAgPHJlY3QgeD0iNiIgeT0iMCIgd2lkdGg9IjMiIGhlaWdodD0iNiIgZmlsbD0iI2ZmZiI+CiAgICA8YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVUeXBlPSJ4bWwiIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0ic2NhbGUiIHZhbHVlcz0iMSwxOyAxLDM7IDEsMSIgYmVnaW49IjAuMnMiCiAgICAgIGR1cj0iMC42cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIC8+CiAgPC9yZWN0PgogIDxyZWN0IHg9IjEyIiB5PSIwIiB3aWR0aD0iMyIgaGVpZ2h0PSI2IiBmaWxsPSIjZmZmIj4KICAgIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZVR5cGU9InhtbCIgYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJzY2FsZSIgdmFsdWVzPSIxLDE7IDEsMzsgMSwxIiBiZWdpbj0iMC40cyIKICAgICAgZHVyPSIwLjZzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgLz4KICA8L3JlY3Q+Cjwvc3ZnPg==");
62046
+ ;// CONCATENATED MODULE: ./src/list/ListItem/liveStatus/img/clock.svg
62047
+ var clock_path;
62048
+ function clock_extends() { clock_extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return clock_extends.apply(this, arguments); }
62049
+
62050
+ var SvgClock = function SvgClock(props) {
62051
+ return /*#__PURE__*/React.createElement("svg", clock_extends({
62052
+ width: 14,
62053
+ height: 14,
62054
+ fill: "none",
62055
+ xmlns: "http://www.w3.org/2000/svg"
62056
+ }, props), clock_path || (clock_path = /*#__PURE__*/React.createElement("path", {
62057
+ d: "M11.666 9.916h1.167v1.167H1.166V9.916h1.167V5.833a4.667 4.667 0 0 1 9.333 0v4.083Zm-1.167 0V5.833a3.5 3.5 0 1 0-7 0v4.083h7Zm-5.25 2.333h3.5v1.167h-3.5v-1.167Z",
62058
+ fill: "#fff"
61654
62059
  })));
61655
62060
  };
61656
62061
 
61657
- /* harmony default export */ var video = ("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2IiBmaWxsPSJub25lIj4NCjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTEuMzMzNCAzLjMzMzE3QzExLjMzMzQgMi45NjQ5OCAxMS4wMzQ5IDIuNjY2NSAxMC42NjY3IDIuNjY2NUgxLjMzMzM1QzAuOTY1MTY0IDIuNjY2NSAwLjY2NjY4NyAyLjk2NDk4IDAuNjY2Njg3IDMuMzMzMTdWMTIuNjY2NUMwLjY2NjY4NyAxMy4wMzQ3IDAuOTY1MTY0IDEzLjMzMzIgMS4zMzMzNSAxMy4zMzMySDEwLjY2NjdDMTEuMDM0OSAxMy4zMzMyIDExLjMzMzQgMTMuMDM0NyAxMS4zMzM0IDEyLjY2NjVWOS44NjY1TDE0LjgwODcgMTIuMjk5OEMxNC45MTA2IDEyLjM3MTIgMTUuMDQzNyAxMi4zOCAxNS4xNTQgMTIuMzIyNUMxNS4yNjQ0IDEyLjI2NSAxNS4zMzM1IDEyLjE1MDkgMTUuMzMzNCAxMi4wMjY1VjMuOTczMTdDMTUuMzMzNSAzLjg0ODc3IDE1LjI2NDQgMy43MzQ2NCAxNS4xNTQgMy42NzcxN0MxNS4wNDM3IDMuNjE5NjkgMTQuOTEwNiAzLjYyODQzIDE0LjgwODcgMy42OTk4NEwxMS4zMzM0IDYuMTMzMTdWMy4zMzMxN1pNNC42NzIwMiA2LjA5OTE3QzQuNjk3MzcgNS45NzQ5OSA0LjgwNjYyIDUuODg1ODEgNC45MzMzNSA1Ljg4NTg0QzQuOTgzOTYgNS44ODUzIDUuMDMzNjcgNS44OTk4NCA1LjA3NjY5IDUuOTI2NUw3Ljk4MDAyIDcuNzc0NUw4LjAyMjAyIDcuODA3ODRDOC4xNDU0NCA3LjkyNzYgOC4xMjQ4OSA4LjEzMTE1IDcuOTgwMDIgOC4yMjM4NEw1LjA3NjY5IDEwLjA3MThMNS4wMjgwMiAxMC4wOTU4QzQuODUzNTEgMTAuMTYyMSA0LjY2NjY2IDEwLjAzMzIgNC42NjY2OSA5Ljg0NjVWNi4xNTE4NEw0LjY3MjAyIDYuMDk5MTdaIiBmaWxsPSIjQ0NDQ0NDIi8+DQo8L3N2Zz4=");
62062
+ /* harmony default export */ var clock = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTExLjY2NiA5LjkxNjAySDEyLjgzMjdWMTEuMDgyN0gxLjE2NjAyVjkuOTE2MDJIMi4zMzI2OFY1LjgzMjY4QzIuMzMyNjggMy4yNTUzNSA0LjQyMjAyIDEuMTY2MDIgNi45OTkzNSAxLjE2NjAyQzkuNTc2NjkgMS4xNjYwMiAxMS42NjYgMy4yNTUzNSAxMS42NjYgNS44MzI2OFY5LjkxNjAyWk0xMC40OTkzIDkuOTE2MDJWNS44MzI2OEMxMC40OTkzIDMuODk5NjggOC45MzIzNCAyLjMzMjY4IDYuOTk5MzUgMi4zMzI2OEM1LjA2NjM1IDIuMzMyNjggMy40OTkzNSAzLjg5OTY4IDMuNDk5MzUgNS44MzI2OFY5LjkxNjAySDEwLjQ5OTNaTTUuMjQ5MzUgMTIuMjQ5M0g4Ljc0OTM1VjEzLjQxNkg1LjI0OTM1VjEyLjI0OTNaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K");
62063
+ ;// CONCATENATED MODULE: ./src/list/ListItem/liveStatus/img/replay.svg
62064
+ var replay_path, replay_path2;
62065
+ function replay_extends() { replay_extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return replay_extends.apply(this, arguments); }
62066
+
62067
+ var SvgReplay = function SvgReplay(props) {
62068
+ return /*#__PURE__*/React.createElement("svg", replay_extends({
62069
+ width: 14,
62070
+ height: 14,
62071
+ fill: "none",
62072
+ xmlns: "http://www.w3.org/2000/svg"
62073
+ }, props), replay_path || (replay_path = /*#__PURE__*/React.createElement("path", {
62074
+ d: "M7 1.166a5.833 5.833 0 1 0 5.833 5.833h-1.167a4.667 4.667 0 1 1-.808-2.625H9.333v1.167h3.5v-3.5h-1.167v1.458A5.825 5.825 0 0 0 7 1.166Z",
62075
+ fill: "#6FD037"
62076
+ })), replay_path2 || (replay_path2 = /*#__PURE__*/React.createElement("path", {
62077
+ d: "m5.862 5.384 2.74 1.618a.133.133 0 0 1 0 .228l-2.74 1.618a.13.13 0 0 1-.178-.047.133.133 0 0 1-.018-.067V5.498c0-.073.058-.132.13-.132a.13.13 0 0 1 .066.018Z",
62078
+ fill: "#6FD037"
62079
+ })));
62080
+ };
62081
+
62082
+ /* harmony default export */ var replay = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYuOTk5MzUgMS4xNjYwMkMzLjc3NzY5IDEuMTY2MDIgMS4xNjYwMiAzLjc3NzY5IDEuMTY2MDIgNi45OTkzNUMxLjE2NjAyIDEwLjIyMSAzLjc3NzY5IDEyLjgzMjcgNi45OTkzNSAxMi44MzI3QzEwLjIyMSAxMi44MzI3IDEyLjgzMjcgMTAuMjIxIDEyLjgzMjcgNi45OTkzNUgxMS42NjZDMTEuNjY2IDkuNTc2NjkgOS41NzY2OSAxMS42NjYgNi45OTkzNSAxMS42NjZDNC40MjIwMiAxMS42NjYgMi4zMzI2OCA5LjU3NjY5IDIuMzMyNjggNi45OTkzNUMyLjMzMjY4IDQuNDIyMDIgNC40MjIwMiAyLjMzMjY4IDYuOTk5MzUgMi4zMzI2OEM4LjYwMzQgMi4zMzI2OCAxMC4wMTg0IDMuMTQxOTYgMTAuODU4NCA0LjM3NDQ5TDkuMzMyNjggNC4zNzQzNVY1LjU0MTAySDEyLjgzMjdWMi4wNDEwMkgxMS42NjZMMTEuNjY2MSAzLjQ5ODg3QzEwLjYwMTggMi4wODIyOSA4LjkwNzYxIDEuMTY2MDIgNi45OTkzNSAxLjE2NjAyWiIgZmlsbD0iIzZGRDAzNyIvPgo8cGF0aCBkPSJNNS44NjIgNS4zODM5OUw4LjYwMTI4IDcuMDAyQzguNjYzNDYgNy4wMzg3MSA4LjY4NDQ3IDcuMTE5NTQgOC42NDgyMSA3LjE4MjVDOC42MzY4NyA3LjIwMjE2IDguNjIwNyA3LjIxODUzIDguNjAxMjggNy4yMzAwMUw1Ljg2MiA4Ljg0ODAyQzUuNzk5ODIgOC44ODQ3NCA1LjcyIDguODYzNDYgNS42ODM3MyA4LjgwMDUxQzUuNjcyMSA4Ljc4MDMxIDUuNjY1OTggOC43NTczOCA1LjY2NTk4IDguNzM0MDFWNS40OThDNS42NjU5OCA1LjQyNTEgNS43MjQzMyA1LjM2NjAxIDUuNzk2MzIgNS4zNjYwMUM1LjgxOTQgNS4zNjYwMSA1Ljg0MjA3IDUuMzcyMjIgNS44NjIgNS4zODM5OVoiIGZpbGw9IiM2RkQwMzciLz4KPC9zdmc+Cg==");
62083
+ // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[0].use[2]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[0].use[3]!./node_modules/less-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[0].use[4]!./src/list/ListItem/liveStatus/index.module.less
62084
+ var liveStatus_index_module = __webpack_require__(8123);
62085
+ ;// CONCATENATED MODULE: ./src/list/ListItem/liveStatus/index.module.less
62086
+
62087
+
62088
+
62089
+
62090
+
62091
+
62092
+
62093
+
62094
+
62095
+
62096
+
62097
+ var liveStatus_index_module_options = {};
62098
+
62099
+ liveStatus_index_module_options.styleTagTransform = (styleTagTransform_default());
62100
+ liveStatus_index_module_options.setAttributes = (setAttributesWithoutAttributes_default());
62101
+
62102
+ liveStatus_index_module_options.insert = insertBySelector_default().bind(null, "head");
62103
+
62104
+ liveStatus_index_module_options.domAPI = (styleDomAPI_default());
62105
+ liveStatus_index_module_options.insertStyleElement = (insertStyleElement_default());
62106
+
62107
+ var liveStatus_index_module_update = injectStylesIntoStyleTag_default()(liveStatus_index_module/* default */.Z, liveStatus_index_module_options);
62108
+
62109
+
62110
+
62111
+
62112
+ /* harmony default export */ var ListItem_liveStatus_index_module = (liveStatus_index_module/* default */.Z && liveStatus_index_module/* default.locals */.Z.locals ? liveStatus_index_module/* default.locals */.Z.locals : undefined);
62113
+
62114
+ ;// CONCATENATED MODULE: ./src/list/ListItem/liveStatus/index.jsx
62115
+ /**
62116
+ * 直播状态标签组件
62117
+ */
62118
+
62119
+
62120
+
62121
+
62122
+
62123
+
62124
+ var TagName = {
62125
+ 0: '预告',
62126
+ 1: '直播中',
62127
+ 2: '回放',
62128
+ 3: '直播中' // 实际是暂停
62129
+
62130
+ };
62131
+ function liveStatus_LiveStatus(_ref) {
62132
+ var status = _ref.status,
62133
+ className = _ref.className;
62134
+
62135
+ var renderStatusIcon = function renderStatusIcon() {
62136
+ if (status === 0) {
62137
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("img", {
62138
+ src: clock,
62139
+ alt: "",
62140
+ className: ListItem_liveStatus_index_module.statusIcon
62141
+ });
62142
+ }
62143
+
62144
+ if (status === 1 || status === 3) {
62145
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("img", {
62146
+ src: progress,
62147
+ alt: "",
62148
+ className: classnames_default()(ListItem_liveStatus_index_module.statusIcon, ListItem_liveStatus_index_module["play-icon"])
62149
+ });
62150
+ }
62151
+
62152
+ if (status === 2) {
62153
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("img", {
62154
+ src: replay,
62155
+ alt: "",
62156
+ className: ListItem_liveStatus_index_module.statusIcon
62157
+ });
62158
+ }
62159
+
62160
+ return null;
62161
+ };
62162
+
62163
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("span", {
62164
+ className: classnames_default()(ListItem_liveStatus_index_module.statusBadge, ListItem_liveStatus_index_module["statusBadge".concat(status)], className || '')
62165
+ }, renderStatusIcon(), TagName[status]);
62166
+ }
61658
62167
  // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[0].use[2]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[0].use[3]!./node_modules/less-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[0].use[4]!./src/list/ListItem/index.module.less
61659
62168
  var ListItem_index_module = __webpack_require__(1631);
61660
62169
  ;// CONCATENATED MODULE: ./src/list/ListItem/index.module.less
@@ -61687,6 +62196,8 @@ var ListItem_index_module_update = injectStylesIntoStyleTag_default()(ListItem_i
61687
62196
  /* harmony default export */ var list_ListItem_index_module = (ListItem_index_module/* default */.Z && ListItem_index_module/* default.locals */.Z.locals ? ListItem_index_module/* default.locals */.Z.locals : undefined);
61688
62197
 
61689
62198
  ;// CONCATENATED MODULE: ./src/list/ListItem/index.jsx
62199
+ function ListItem_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
62200
+
61690
62201
 
61691
62202
 
61692
62203
  function ListItem_asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
@@ -61720,7 +62231,9 @@ function ListItem_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
61720
62231
 
61721
62232
 
61722
62233
 
61723
- var TagName = {
62234
+
62235
+
62236
+ var ListItem_TagName = {
61724
62237
  0: '直播预告',
61725
62238
  1: '直播中',
61726
62239
  2: '直播回放',
@@ -61744,27 +62257,37 @@ var getLiveStatus = function getLiveStatus(item) {
61744
62257
  return 1;
61745
62258
  };
61746
62259
  function ListItem(_ref2) {
61747
- var data = _ref2.data,
62260
+ var propData = _ref2.data,
61748
62261
  isMobile = _ref2.isMobile,
62262
+ isPad = _ref2.isPad,
61749
62263
  themeName = _ref2.themeName,
61750
62264
  subscription = _ref2.subscription,
61751
62265
  onDetailClick = _ref2.onDetailClick,
61752
62266
  handleLogin = _ref2.handleLogin,
61753
62267
  isLogin = _ref2.isLogin,
61754
- onSubscribe = _ref2.onSubscribe;
62268
+ onSubscribe = _ref2.onSubscribe,
62269
+ _ref2$viewMode = _ref2.viewMode,
62270
+ viewMode = _ref2$viewMode === void 0 ? 'list' : _ref2$viewMode,
62271
+ cardStyle = _ref2.cardStyle;
62272
+
62273
+ var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(propData || {}),
62274
+ _useState2 = ListItem_slicedToArray(_useState, 2),
62275
+ data = _useState2[0],
62276
+ setData = _useState2[1];
62277
+
61755
62278
  var liveId = data.live_id,
61756
62279
  liveName = data.live_name,
61757
62280
  beginTime = data.begin_time,
61758
62281
  coverUrl = data.cover_url;
61759
62282
  var liveStatus = getLiveStatus(data);
61760
- var timeLabel = liveStatus === 2 ? "".concat(dayjs_min_default()(beginTime).format('YYYY/MM/DD HH:mm')) : "".concat(dayjs_min_default()(beginTime).format('YYYY/MM/DD HH:mm'), " \u5F00\u59CB");
62283
+ var timeLabel = liveStatus === 2 ? "".concat(dayjs_min_default()(beginTime).format('YYYY/MM/DD HH:mm')) : "".concat(dayjs_min_default()(beginTime).format('YYYY/MM/DD HH:mm'), " \u5F00\u64AD");
61761
62284
 
61762
- var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)({}),
61763
- _useState2 = ListItem_slicedToArray(_useState, 2),
61764
- liveExt = _useState2[0],
61765
- setLiveExt = _useState2[1];
62285
+ var _useState3 = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)({}),
62286
+ _useState4 = ListItem_slicedToArray(_useState3, 2),
62287
+ liveExt = _useState4[0],
62288
+ setLiveExt = _useState4[1];
61766
62289
 
61767
- var _useState3 = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(function () {
62290
+ var _useState5 = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(function () {
61768
62291
  if (liveStatus === 0) {
61769
62292
  // 开播前15分钟之外
61770
62293
  var subscriptionItem = (0,lodash.find)(subscription, {
@@ -61782,9 +62305,9 @@ function ListItem(_ref2) {
61782
62305
  return false;
61783
62306
  }
61784
62307
  }),
61785
- _useState4 = ListItem_slicedToArray(_useState3, 2),
61786
- isSubscribe = _useState4[0],
61787
- setIsSubscribe = _useState4[1];
62308
+ _useState6 = ListItem_slicedToArray(_useState5, 2),
62309
+ isSubscribe = _useState6[0],
62310
+ setIsSubscribe = _useState6[1];
61788
62311
 
61789
62312
  (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useEffect)(function () {
61790
62313
  ListItem_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
@@ -61861,7 +62384,7 @@ function ListItem(_ref2) {
61861
62384
  }, liveStatus === 1 || liveStatus === 3 ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("img", {
61862
62385
  src: play,
61863
62386
  alt: ""
61864
- }) : null, TagName[liveStatus])), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
62387
+ }) : null, ListItem_TagName[liveStatus])), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
61865
62388
  className: list_ListItem_index_module.mobileDescRow
61866
62389
  }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
61867
62390
  className: list_ListItem_index_module.mobileMeta
@@ -61893,37 +62416,73 @@ function ListItem(_ref2) {
61893
62416
  })));
61894
62417
  }
61895
62418
 
62419
+ if (viewMode === 'card') {
62420
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
62421
+ className: classnames_default()(list_ListItem_index_module.cardContainer, themeName),
62422
+ onClick: handleDetailClick,
62423
+ style: cardStyle
62424
+ }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
62425
+ className: list_ListItem_index_module.cardCoverWrap
62426
+ }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(component_Avatar, {
62427
+ src: coverUrl || live,
62428
+ errorImg: live,
62429
+ className: list_ListItem_index_module.cardCover
62430
+ })), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
62431
+ className: list_ListItem_index_module.cardTitle,
62432
+ title: liveName
62433
+ }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(liveStatus_LiveStatus, {
62434
+ status: liveStatus,
62435
+ name: ListItem_TagName[liveStatus],
62436
+ className: list_ListItem_index_module.cardStatusTag
62437
+ }), liveName), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
62438
+ className: list_ListItem_index_module.cardMeta
62439
+ }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(liveTime_index, {
62440
+ type: "card",
62441
+ data: data,
62442
+ setData: setData,
62443
+ liveExt: liveExt,
62444
+ liveStatus: liveStatus
62445
+ })), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
62446
+ className: list_ListItem_index_module.cardActionRow
62447
+ }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(Action, {
62448
+ data: data,
62449
+ subscription: subscription,
62450
+ onActionDetailClick: handleDetailClick,
62451
+ handleLogin: handleLogin,
62452
+ isLogin: isLogin,
62453
+ onSubscribe: onSubscribe,
62454
+ setIsSubscribe: setIsSubscribe,
62455
+ status: liveStatus
62456
+ })));
62457
+ } // list模式
62458
+
62459
+
61896
62460
  return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
61897
- className: classnames_default()(list_ListItem_index_module.container, themeName),
62461
+ className: classnames_default()(list_ListItem_index_module.container, themeName, ListItem_defineProperty({}, list_ListItem_index_module.webListCard, !isMobile && !isPad)),
61898
62462
  onClick: handleDetailClick
61899
62463
  }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
62464
+ className: list_ListItem_index_module.left
62465
+ }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(component_Avatar, {
62466
+ src: coverUrl || live,
62467
+ errorImg: live,
62468
+ className: list_ListItem_index_module.avatar
62469
+ })), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
61900
62470
  className: list_ListItem_index_module.right
61901
62471
  }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
61902
62472
  className: list_ListItem_index_module["right-top"]
61903
62473
  }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
61904
62474
  className: list_ListItem_index_module.title
61905
- }, liveName)), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
62475
+ }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(liveStatus_LiveStatus, {
62476
+ status: liveStatus,
62477
+ name: ListItem_TagName[liveStatus]
62478
+ }), liveName), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(liveTime_index, {
62479
+ data: data,
62480
+ setData: setData,
62481
+ liveExt: liveExt,
62482
+ liveStatus: liveStatus
62483
+ })), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
61906
62484
  className: list_ListItem_index_module["right-bottom"]
61907
- }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
61908
- className: "".concat(list_ListItem_index_module.time, " ").concat(liveStatus === 0 ? list_ListItem_index_module["foreshow-time"] : '', " time-box")
61909
- }, isSubscribe ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(component_Icon_Icon, {
61910
- type: "web_icon_shijian_fill",
61911
- className: "".concat(list_ListItem_index_module["time-icon"], " checked-icon")
61912
- }) : /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("img", {
61913
- src: video,
61914
- className: list_ListItem_index_module["time-icon"]
61915
- }), timeLabel, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
61916
- className: list_ListItem_index_module.like_sty
61917
- }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
61918
- className: list_ListItem_index_module.icon_bottom
61919
- }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("img", {
61920
- src: view_fill
61921
- }), formatUVCount(liveExt.total_uv || 0)), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
61922
- className: list_ListItem_index_module.icon_bottom
61923
- }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("img", {
61924
- src: like_fill,
61925
- alt: ""
61926
- }), formatLikesCount(liveExt.like_count || 0)))), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(Action, {
62485
+ }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(Action, {
61927
62486
  data: data,
61928
62487
  subscription: subscription,
61929
62488
  onActionDetailClick: handleDetailClick,
@@ -61932,18 +62491,7 @@ function ListItem(_ref2) {
61932
62491
  onSubscribe: onSubscribe,
61933
62492
  setIsSubscribe: setIsSubscribe,
61934
62493
  status: liveStatus
61935
- }))), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
61936
- className: list_ListItem_index_module.left
61937
- }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
61938
- className: classnames_default()(list_ListItem_index_module.tag, list_ListItem_index_module["tag".concat(liveStatus)])
61939
- }, liveStatus === 1 || liveStatus === 3 ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("img", {
61940
- src: play,
61941
- alt: ""
61942
- }) : null, TagName[liveStatus]), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(component_Avatar, {
61943
- src: coverUrl || live,
61944
- errorImg: live,
61945
- className: list_ListItem_index_module.avatar
61946
- })));
62494
+ }))));
61947
62495
  }
61948
62496
  // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[0].use[2]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[0].use[3]!./node_modules/less-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[0].use[4]!./src/list/index.module.less
61949
62497
  var list_index_module = __webpack_require__(9084);
@@ -61976,6 +62524,42 @@ var list_index_module_update = injectStylesIntoStyleTag_default()(list_index_mod
61976
62524
 
61977
62525
  /* harmony default export */ var src_list_index_module = (list_index_module/* default */.Z && list_index_module/* default.locals */.Z.locals ? list_index_module/* default.locals */.Z.locals : undefined);
61978
62526
 
62527
+ ;// CONCATENATED MODULE: ./src/list/img/list.svg
62528
+ var list_path;
62529
+ function list_extends() { list_extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return list_extends.apply(this, arguments); }
62530
+
62531
+ var SvgList = function SvgList(props) {
62532
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("svg", list_extends({
62533
+ width: 20,
62534
+ height: 20,
62535
+ fill: "none",
62536
+ xmlns: "http://www.w3.org/2000/svg"
62537
+ }, props), list_path || (list_path = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("path", {
62538
+ d: "M3.75 14.499a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Zm13.75 2.167H6.667v-1.667H17.5v1.667ZM3.75 8.749a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Zm13.75 2.084H6.667V9.166H17.5v1.667ZM3.75 2.916a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5ZM17.5 4.999H6.667V3.333H17.5v1.666Z",
62539
+ fill: "#999"
62540
+ })));
62541
+ };
62542
+
62543
+ /* harmony default export */ var list = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTMuNzUgMTQuNDk5QzQuNDQwMjUgMTQuNDk5IDQuOTk5ODIgMTUuMDU4OCA1IDE1Ljc0OUM1IDE2LjQzOTQgNC40NDAzNiAxNi45OTkgMy43NSAxNi45OTlDMy4wNTk2NCAxNi45OTkgMi41IDE2LjQzOTQgMi41IDE1Ljc0OUMyLjUwMDE4IDE1LjA1ODggMy4wNTk3NSAxNC40OTkgMy43NSAxNC40OTlaTTE3LjUgMTYuNjY2SDYuNjY2OTlWMTQuOTk5SDE3LjVWMTYuNjY2Wk0zLjc1IDguNzQ5MDJDNC40NDAyNSA4Ljc0OTAyIDQuOTk5ODIgOS4zMDg4MiA1IDkuOTk5MDJDNSAxMC42ODk0IDQuNDQwMzYgMTEuMjQ5IDMuNzUgMTEuMjQ5QzMuMDU5NjQgMTEuMjQ5IDIuNSAxMC42ODk0IDIuNSA5Ljk5OTAyQzIuNTAwMTggOS4zMDg4MiAzLjA1OTc1IDguNzQ5MDIgMy43NSA4Ljc0OTAyWk0xNy41IDEwLjgzM0g2LjY2Njk5VjkuMTY2MDJIMTcuNVYxMC44MzNaTTMuNzUgMi45MTYwMkM0LjQ0MDM2IDIuOTE2MDIgNSAzLjQ3NTY2IDUgNC4xNjYwMkM1IDQuODU2MzcgNC40NDAzNiA1LjQxNjAyIDMuNzUgNS40MTYwMkMzLjA1OTY0IDUuNDE2MDIgMi41IDQuODU2MzcgMi41IDQuMTY2MDJDMi41IDMuNDc1NjYgMy4wNTk2NCAyLjkxNjAyIDMuNzUgMi45MTYwMlpNMTcuNSA0Ljk5OTAySDYuNjY2OTlWMy4zMzMwMUgxNy41VjQuOTk5MDJaIiBmaWxsPSIjOTk5OTk5Ii8+Cjwvc3ZnPgo=");
62544
+ ;// CONCATENATED MODULE: ./src/list/img/grid.svg
62545
+ var grid_path;
62546
+ function grid_extends() { grid_extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return grid_extends.apply(this, arguments); }
62547
+
62548
+ var SvgGrid = function SvgGrid(props) {
62549
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("svg", grid_extends({
62550
+ width: 20,
62551
+ height: 20,
62552
+ fill: "none",
62553
+ xmlns: "http://www.w3.org/2000/svg"
62554
+ }, props), grid_path || (grid_path = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("path", {
62555
+ fillRule: "evenodd",
62556
+ clipRule: "evenodd",
62557
+ d: "M3.583 3.583v4.5h4.5v-4.5h-4.5Zm5.71-.935a.833.833 0 0 0-.71-.398h-5.5a.833.833 0 0 0-.833.833v5.5a.833.833 0 0 0 .833.834h5.5a.83.83 0 0 0 .71-.398.83.83 0 0 0 .124-.436v-5.5a.83.83 0 0 0-.123-.435Zm-.274 8.058a.83.83 0 0 0-.436-.123h-5.5a.833.833 0 0 0-.833.833v5.5c0 .46.373.834.833.834h5.5a.833.833 0 0 0 .834-.833v-5.5a.83.83 0 0 0-.398-.71Zm1.687 6.646c.147.239.41.398.71.398h5.5c.46 0 .834-.373.834-.833v-5.5a.833.833 0 0 0-.833-.834h-5.5a.83.83 0 0 0-.71.398.83.83 0 0 0-.124.436v5.5c0 .16.045.309.123.435Zm.275-8.058a.83.83 0 0 0 .436.123h5.5a.833.833 0 0 0 .833-.833v-5.5a.833.833 0 0 0-.833-.834h-5.5a.833.833 0 0 0-.834.833v5.5a.83.83 0 0 0 .398.71Zm.936-5.71v4.5h4.5v-4.5h-4.5Zm0 8.333v4.5h4.5v-4.5h-4.5Zm-8.334 0v4.5h4.5v-4.5h-4.5Z",
62558
+ fill: "#999"
62559
+ })));
62560
+ };
62561
+
62562
+ /* harmony default export */ var grid = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zLjU4MzMzIDMuNTgzMzNWOC4wODMzM0g4LjA4MzMzVjMuNTgzMzNIMy41ODMzM1pNOS4yOTM4MiAyLjY0NzYzQzkuMTQ3MjIgMi40MDkwOCA4Ljg4Mzg2IDIuMjUgOC41ODMzMyAyLjI1SDMuMDgzMzNDMi42MjMxIDIuMjUgMi4yNSAyLjYyMzEgMi4yNSAzLjA4MzMzVjguNTgzMzNDMi4yNSA4Ljg4Mzg2IDIuNDA5MDggOS4xNDcyMiAyLjY0NzYzIDkuMjkzODJDMi43NzQ0IDkuMzcxNzMgMi45MjM2MiA5LjQxNjY3IDMuMDgzMzMgOS40MTY2N0g4LjU4MzMzQzguNzQzMDUgOS40MTY2NyA4Ljg5MjI3IDkuMzcxNzMgOS4wMTkwNCA5LjI5MzgyQzkuMTMwODEgOS4yMjUxMyA5LjIyNTE0IDkuMTMwODEgOS4yOTM4MiA5LjAxOTA0QzkuMzcxNzQgOC44OTIyNyA5LjQxNjY3IDguNzQzMDUgOS40MTY2NyA4LjU4MzMzVjMuMDgzMzNDOS40MTY2NyAyLjkyMzYyIDkuMzcxNzQgMi43NzQ0IDkuMjkzODIgMi42NDc2M1pNOS4wMTkwNCAxMC43MDYyQzguODkyMjcgMTAuNjI4MyA4Ljc0MzA1IDEwLjU4MzMgOC41ODMzMyAxMC41ODMzSDMuMDgzMzNDMi45MjM2MiAxMC41ODMzIDIuNzc0NCAxMC42MjgzIDIuNjQ3NjMgMTAuNzA2MkMyLjQwOTA4IDEwLjg1MjggMi4yNSAxMS4xMTYxIDIuMjUgMTEuNDE2N1YxNi45MTY3QzIuMjUgMTcuMzc2OSAyLjYyMzEgMTcuNzUgMy4wODMzMyAxNy43NUg4LjU4MzMzQzguODgzODYgMTcuNzUgOS4xNDcyMiAxNy41OTA5IDkuMjkzODIgMTcuMzUyNEM5LjM3MTc0IDE3LjIyNTYgOS40MTY2NyAxNy4wNzY0IDkuNDE2NjcgMTYuOTE2N1YxMS40MTY3QzkuNDE2NjcgMTEuMjU3IDkuMzcxNzQgMTEuMTA3NyA5LjI5MzgyIDEwLjk4MUM5LjIyNTE0IDEwLjg2OTIgOS4xMzA4MSAxMC43NzQ5IDkuMDE5MDQgMTAuNzA2MlpNMTAuNzA2MiAxNy4zNTI0QzEwLjg1MjggMTcuNTkwOSAxMS4xMTYxIDE3Ljc1IDExLjQxNjcgMTcuNzVIMTYuOTE2N0MxNy4zNzY5IDE3Ljc1IDE3Ljc1IDE3LjM3NjkgMTcuNzUgMTYuOTE2N1YxMS40MTY3QzE3Ljc1IDExLjExNjEgMTcuNTkwOSAxMC44NTI4IDE3LjM1MjQgMTAuNzA2MkMxNy4yMjU2IDEwLjYyODMgMTcuMDc2NCAxMC41ODMzIDE2LjkxNjcgMTAuNTgzM0gxMS40MTY3QzExLjI1NyAxMC41ODMzIDExLjEwNzcgMTAuNjI4MyAxMC45ODEgMTAuNzA2MkMxMC44NjkyIDEwLjc3NDkgMTAuNzc0OSAxMC44NjkyIDEwLjcwNjIgMTAuOTgxQzEwLjYyODMgMTEuMTA3NyAxMC41ODMzIDExLjI1NyAxMC41ODMzIDExLjQxNjdWMTYuOTE2N0MxMC41ODMzIDE3LjA3NjQgMTAuNjI4MyAxNy4yMjU2IDEwLjcwNjIgMTcuMzUyNFpNMTAuOTgxIDkuMjkzODJDMTEuMTA3NyA5LjM3MTczIDExLjI1NyA5LjQxNjY3IDExLjQxNjcgOS40MTY2N0gxNi45MTY3QzE3LjA3NjQgOS40MTY2NyAxNy4yMjU2IDkuMzcxNzMgMTcuMzUyNCA5LjI5MzgyQzE3LjU5MDkgOS4xNDcyMiAxNy43NSA4Ljg4Mzg2IDE3Ljc1IDguNTgzMzNWMy4wODMzM0MxNy43NSAyLjYyMzEgMTcuMzc2OSAyLjI1IDE2LjkxNjcgMi4yNUgxMS40MTY3QzExLjExNjEgMi4yNSAxMC44NTI4IDIuNDA5MDggMTAuNzA2MiAyLjY0NzYzQzEwLjYyODMgMi43NzQ0IDEwLjU4MzMgMi45MjM2MiAxMC41ODMzIDMuMDgzMzNWOC41ODMzM0MxMC41ODMzIDguNzQzMDUgMTAuNjI4MyA4Ljg5MjI3IDEwLjcwNjIgOS4wMTkwNEMxMC43NzQ5IDkuMTMwODEgMTAuODY5MiA5LjIyNTEzIDEwLjk4MSA5LjI5MzgyWk0xMS45MTY3IDMuNTgzMzNWOC4wODMzM0gxNi40MTY3VjMuNTgzMzNIMTEuOTE2N1pNMTEuOTE2NyAxMS45MTY3VjE2LjQxNjdIMTYuNDE2N1YxMS45MTY3SDExLjkxNjdaTTMuNTgzMzMgMTEuOTE2N1YxNi40MTY3SDguMDgzMzNWMTEuOTE2N0gzLjU4MzMzWiIgZmlsbD0iIzk5OTk5OSIvPgo8L3N2Zz4K");
61979
62563
  ;// CONCATENATED MODULE: ./src/list/index.jsx
61980
62564
 
61981
62565
 
@@ -62021,7 +62605,13 @@ function list_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
62021
62605
 
62022
62606
 
62023
62607
 
62608
+
62609
+
62024
62610
  var PageSize = 7;
62611
+ var ViewModes = {
62612
+ LIST: 'list',
62613
+ CARD: 'card'
62614
+ };
62025
62615
  var StatusEnum = [{
62026
62616
  label: '全部',
62027
62617
  value: 'all'
@@ -62099,6 +62689,14 @@ function PublicLiveList(_ref) {
62099
62689
  isLogin = _useState16[0],
62100
62690
  setIsLogin = _useState16[1];
62101
62691
 
62692
+ var _useState17 = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(ViewModes.LIST),
62693
+ _useState18 = list_slicedToArray(_useState17, 2),
62694
+ viewMode = _useState18[0],
62695
+ setViewMode = _useState18[1];
62696
+
62697
+ var canSwitchView = !isMobile && !isPad;
62698
+ var effectiveViewMode = canSwitchView ? viewMode : ViewModes.LIST;
62699
+
62102
62700
  var handleTabChange = function handleTabChange(value) {
62103
62701
  setStatus(value);
62104
62702
  setPage(1);
@@ -62108,6 +62706,16 @@ function PublicLiveList(_ref) {
62108
62706
 
62109
62707
  var handlePageChange = function handlePageChange(value) {
62110
62708
  setPage(value);
62709
+ };
62710
+
62711
+ var toggleViewMode = function toggleViewMode() {
62712
+ if (!canSwitchView) {
62713
+ return;
62714
+ }
62715
+
62716
+ setViewMode(function (prev) {
62717
+ return prev === ViewModes.LIST ? ViewModes.CARD : ViewModes.LIST;
62718
+ });
62111
62719
  }; // 分页获取直播列表
62112
62720
 
62113
62721
 
@@ -62295,43 +62903,74 @@ function PublicLiveList(_ref) {
62295
62903
  window.removeEventListener('scroll', handleScroll);
62296
62904
  };
62297
62905
  }, [isMobile, loading, loadingMore, hasMore]);
62906
+
62907
+ var calcCardStyle = function calcCardStyle() {
62908
+ var cardStyle = {};
62909
+ cardStyle.width = effectiveViewMode === ViewModes.CARD ? 308 : '100%';
62910
+ cardStyle.height = effectiveViewMode === ViewModes.CARD ? 345 : 152;
62911
+ return cardStyle;
62912
+ };
62913
+
62298
62914
  return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
62299
62915
  className: classnames_default()(containerClassName, src_list_index_module.container, themeName, list_defineProperty({}, src_list_index_module.mobile, isMobile))
62300
62916
  }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(tabs, {
62301
62917
  accessKey: status,
62302
62918
  onChange: handleTabChange
62303
62919
  }, StatusEnum.map(function (item) {
62920
+ var _classNames2;
62921
+
62304
62922
  return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(tabs.TabPane, {
62305
62923
  key: item.value,
62306
62924
  tab: item.label
62307
- }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(Loading_Loading, {
62925
+ }, canSwitchView && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
62926
+ className: src_list_index_module.toolbar
62927
+ }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
62928
+ className: src_list_index_module.viewSwitchIcon,
62929
+ onClick: toggleViewMode,
62930
+ role: "button",
62931
+ tabIndex: 0,
62932
+ "aria-label": "\u5207\u6362\u4E3A".concat(effectiveViewMode === ViewModes.LIST ? '卡片' : '列表', "\u89C6\u56FE"),
62933
+ onKeyDown: function onKeyDown(event) {
62934
+ if (event.key === 'Enter' || event.key === ' ') {
62935
+ event.preventDefault();
62936
+ toggleViewMode();
62937
+ }
62938
+ }
62939
+ }, effectiveViewMode === ViewModes.LIST ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(SvgGrid, null) : /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(SvgList, null))), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(Loading_Loading, {
62308
62940
  loading: loading,
62309
62941
  delay: 500
62942
+ }, loading ? null : /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement((external_commonjs_react_commonjs2_react_root_React_default()).Fragment, null, list.length ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement((external_commonjs_react_commonjs2_react_root_React_default()).Fragment, null, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
62943
+ className: src_list_index_module.listWrapper
62310
62944
  }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
62311
- className: classnames_default()(src_list_index_module.list, list_defineProperty({}, src_list_index_module.padList, isPad))
62312
- }, loading ? null : /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement((external_commonjs_react_commonjs2_react_root_React_default()).Fragment, null, !loading && list.length ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement((external_commonjs_react_commonjs2_react_root_React_default()).Fragment, null, list.map(function (listItem) {
62945
+ className: classnames_default()(src_list_index_module.list, (_classNames2 = {}, list_defineProperty(_classNames2, src_list_index_module.padList, isPad), list_defineProperty(_classNames2, src_list_index_module.cardList, canSwitchView && effectiveViewMode === ViewModes.CARD), _classNames2))
62946
+ }, list.map(function (listItem) {
62313
62947
  return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(ListItem, {
62314
62948
  themeName: themeName,
62315
62949
  isMobile: isMobile,
62950
+ isPad: isPad,
62316
62951
  data: listItem,
62317
62952
  key: listItem.live_id,
62318
62953
  subscription: subscription,
62319
62954
  onDetailClick: onDetailClick,
62320
62955
  handleLogin: handleLogin,
62321
62956
  isLogin: isLogin,
62322
- onSubscribe: onSubscribe
62957
+ onSubscribe: onSubscribe,
62958
+ viewMode: effectiveViewMode,
62959
+ cardStyle: effectiveViewMode === ViewModes.CARD ? calcCardStyle() : {}
62323
62960
  });
62324
- }), isMobile ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
62961
+ })), isMobile && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
62325
62962
  className: src_list_index_module.mobileLoadMore
62326
- }, loadingMore ? '加载中...' : hasMore ? '下拉加载更多' : '没有更多了') : /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(component_Pagination_Pagination, {
62963
+ }, loadingMore ? '加载中...' : hasMore ? '下拉加载更多' : '没有更多了')), !isMobile && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
62964
+ className: src_list_index_module.paginationWrapper
62965
+ }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(component_Pagination_Pagination, {
62327
62966
  total: total,
62328
62967
  pageSize: PageSize,
62329
62968
  current: page,
62330
62969
  onChange: handlePageChange
62331
- })) : /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(Empty_Empty, {
62970
+ }))) : /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(Empty_Empty, {
62332
62971
  tip: "\u6682\u65E0\u5185\u5BB9",
62333
62972
  className: emptyClassName
62334
- })))));
62973
+ }))));
62335
62974
  })));
62336
62975
  }
62337
62976
  ;// CONCATENATED MODULE: ./src/App.jsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@x-edu/live-player",
3
- "version": "0.0.43",
3
+ "version": "0.0.44",
4
4
  "main": "dist/XEduLivePlayer.common.js",
5
5
  "files": [
6
6
  "dist/*"