Files

33 lines
17 KiB
Plaintext
Raw Normal View History

2026-11-06 08:29:11 +08:00
0\r§mûü[SðÁŠhttps://now.bdstatic.com/store/v2/e8a15f8/fe-cms/46416aa/js/hotCalendar.bfbc4e430c8cca8d.js"use strict";(self.webpackChunkFeReactApp=self.webpackChunkFeReactApp||[]).push([["7267"],{719474:function(e,t,r){r(446814),r(27230),r(428995),r(271309),r(153998);var a=r(491188),n=r(728359),i=r(730681),s=r(103600),l=r.n(s),o=r(696157);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=Array(t);r<t;r++)a[r]=e[r];return a}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,a,n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i=[],s=!0,l=!1;try{for(n=n.call(e);!(s=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);s=!0);}catch(e){l=!0,a=e}finally{try{s||null==n.return||n.return()}finally{if(l)throw a}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var u="hot-calendar-card-cheetah-detail",h=i.Tabs.TabPane,f=i.Radio.Group,v={news:"\u6587\u7AE0",gallery:"\u56FE\u96C6",video:"\u89C6\u9891"};t.A=(0,n.memo)(e=>{var t=e.eventDetail||{},r=t.tid,s=t.show_name,c=t.description,p=t.reservation,m=t.article_id,y=t.article_type,b=e.cantOrder,g=void 0!==b&&b,j=e.onOk,x=e.apiUrl,w=e.addStats,S=d((0,n.useState)(g?"publish":"order"),2),C=S[0],k=S[1],A=d((0,n.useState)(void 0===y?"news":y),2),N=A[0],Y=A[1],M=d((0,n.useState)(void 0===p?0:p),2),_=M[0],D=M[1],O=d((0,n.useState)(void 0===m?"":m),2),I=O[0],T=O[1];return(0,n.useEffect)(()=>{w&&(null==w||w.handleHoverCardPvUv())},[]),(0,a.jsxs)("div",{className:"".concat(u,"-popover-box"),children:[(0,a.jsx)("div",{className:"".concat(u,"-pop-title"),children:s}),(0,a.jsx)("div",{className:"".concat(u,"-pop-description"),children:(0,a.jsx)("div",{className:"".concat(u,"-description"),children:c})}),+_?(0,a.jsxs)("div",{"data-testid":"reservation-info",className:"".concat(u,"-reservation-info"),children:[(0,a.jsxs)("div",{children:["\u5DF2\u4E3A\u60A8\u9884\u7EA6\uFF1A",(0,a.jsx)("a",{className:"".concat(u,"-article-type"),href:"/builder/rc/edit?type=".concat(N,"&articleId=").concat(I),"data-record-urlkey":"\u70ED\u70B9\u65E5\u5386-\u53BB\u521B\u4F5Cpvuv",children:(0,a.jsx)("strong",{children:v[N]})})]}),(0,a.jsx)("span",{children:"\u9884\u7EA6\u540E\u5C06\u5728\u8BDD\u9898\u70ED\u5EA6\u4E0A\u5347\u524D\u63D0\u9192\u60A8\u5199\u4F5C\uFF0C\u4E3A\u60A8\u63D0\u524D\u62A2\u5360\u70ED\u70B9"})]}):(0,a.jsxs)("div",{"data-testid":"hotcalendarcard",className:"".concat(u,"-hotcalendarcard"),children:[(0,a.jsx)("div",{className:"bjh-level1-tabs-nav-wrap",children:(0,a.jsxs)(i.Tabs,{defaultActiveKey:"publish",activeKey:C,animated:!1,onChange:k,children:[!g&&(0,a.jsx)(h,{tab:"\u9884\u7EA6",children:(0,a.jsx)("span",{children:"\u9884\u7EA6\u540E\u5C06\u5728\u8BDD\u9898\u70ED\u5EA6\u4E0A\u5347\u524D\u63D0\u9192\u60A8\u5199\u4F5C\uFF0C\u4E3A\u60A8\u63D0\u524D\u62A2\u5360\u70ED\u70B9"})},"order"),(0,a.jsx)(h,{tab:"\u53D1\u5E03",children:(0,a.jsx)("span",{children:"\u53EF\u76F4\u63A5\u9009\u62E9\u4F60\u7684\u521B\u5EFA\u7C7B\u578B"})},"publish")]})}),(0,a.jsx)(f,{prefixCls:"cheetah-radio",onChange:e=>{Y(e.target.value)},value:N,children:Object.keys(v).map(e=>(0,a.jsx)(i.Radio,{prefixCls:"cheetah-radio",value:e,children:v[e]},e))}),(0,a.jsx)(i.Button,{"data-testid":"handleClickBtn",type:"primary",onClick:()=>{switch(C){case"publish":window.open().location.href="/builder/rc/edit?type="+N;break;case"order":o.request.post(x,{tid:r,time:l()().format("YYYY-MM-DD"),title:s,type:N}).then(e=>{0===+e.errno?(i.message.success("\u9884\u7EA6\u6210\u529F\uFF0C\u5E76\u751F\u6210\u4E00\u7BC7\u8349\u7A3F"),D(1),T(e.data.article_id),j&&j()):i.message.warning(e.errmsg)});break;default:return
//# sourceMappingURL=hotCalendar.bfbc4e430c8cca8d.js.mapØA
—Eoúôò–Õ
GET (ã È"
accept-rangesbytes"(
access-control-allow-credentialstrue"
access-control-allow-origin*"
age3640"G
cache-control6public, max-age=31536000, s-maxage=31536000, immutable"
content-encodingbr"'
content-md5fITthfjR+fueMJE4IK7yxQ=="5
content-type%application/javascript; charset=utf-8"%
dateThu, 05 Nov 2026 09:11:39 GMT"*
etag""7c84ed85f8d1f9fb9e30913820aef2c5""(
expiresSun, 08 Nov 2026 07:56:07 GMT".
last-modifiedThu, 05 Nov 2026 06:18:39 GMT"(
ohc-cache-hitcz7cm68 [2], csix73 [2]"
ohc-file-size5020"6
ohc-global-saved-timeThu, 05 Nov 2026 07:56:07 GMT"
server JSP3/2.0.14"+
strict-transport-securitymax-age=259200"
timing-allow-origin*"!
x-bce-content-crc32
3583439365""
x-bce-content-crc32c
3688767522"/
x-bce-content-crc64ecma12317910751492329180"j