"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[31674],{20981:function(e,s,n){n.r(s),n.d(s,{default:function(){return C}});var c=n(7557),r=n.n(c),a=n(41498),t=n.n(a),i=n(79800),l=n.n(i),u=n(39647),d=n.n(u),_=n(59301),h=n(49389),o=n(61621),p="example___EbLbG",x="bg___j1Yg6",f="banner___ZzbyF",j="link___HwmfE",m="name___O7e_c",v="case___wOZUd",b="li___RmgBA",N="des___c3pU0",g=(n.p,n(94171)),k=n(91689),w=n(37712),S=["user"],C=(0,h.connect)((function(e){return{user:e.user}}))((function(e){e.user,d()(e,S);var s=(0,_.useState)(!0),n=l()(s,2),c=n[0],a=n[1],i=(0,_.useState)(0),u=l()(i,2),C=(u[0],u[1],(0,_.useState)([])),E=l()(C,2),Z=E[0],y=E[1];(0,_.useEffect)((function(){A()}),[]);var A=function(){var e=t()(r()().mark((function e(){var s;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a(!0),e.next=3,(0,g.ZP)("/api/home/base_case.json",{method:"get"});case 3:0===(s=e.sent).status&&y((null==s?void 0:s.cases)||[]),a(!1);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,w.jsx)("section",{className:p,children:(0,w.jsxs)(o.Z,{loading:c,active:!0,paragraph:{rows:5},children:[(0,w.jsx)("div",{className:x,children:(0,w.jsxs)("div",{className:f,children:[(0,w.jsxs)("div",{className:j,children:[(0,w.jsx)("span",{className:"current",onClick:function(){return h.history.push("/")},children:"首页"}),">沉浸式教学环境"]}),(0,w.jsx)("div",{className:m,children:"沉浸式教学环境"})]})}),(0,w.jsxs)("div",{className:v,children:[(0,w.jsxs)("div",{className:m,children:[(0,w.jsx)("span",{children:"典型案例"}),(0,w.jsx)("span",{children:"CLASSIC CASE"})]}),(0,w.jsx)("aside",{children:Z.map((function(e,s){return(0,w.jsxs)("a",{href:e.url,target:"_blank",className:b,children:[(0,w.jsx)("img",{src:"".concat(k.Z.IMG_SERVER).concat(e.pic_url)}),(0,w.jsxs)("div",{className:N,children:[(0,w.jsx)("h4",{children:e.title}),(0,w.jsx)("h6",{children:e.sub_title})]})]},s)}))})]})]})})}))}}]);