studyStudent.vue 157 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952
  1. <template>
  2. <div class="pb_content" style="overflow: unset">
  3. <div class="pb_content_body" style="display: flex; height: 900px; position: relative">
  4. <div class="pb_left">
  5. <!-- <div class="courseTitle">{{ courseDetail.title }}</div> -->
  6. <el-tooltip class="courseTitle" effect="light" :content="courseDetail.title" placement="top">
  7. <div>{{ courseDetail.title }}</div>
  8. </el-tooltip>
  9. <div class="ml">目录</div>
  10. <div class="cru_selectBox">
  11. <div v-for="(item, stageIndex) in navList" :key="stageIndex">
  12. <div class="blue_box_one" @click="get(stageIndex)">
  13. <div>第{{ stageIndex + 1 }}阶段</div>
  14. <div>{{ item.dyName }}</div>
  15. </div>
  16. <div class="twoChild" :class="{ navActive: item.isOpen }">
  17. <div class="navChild" v-for="(nav, navIndex) in item.task" :key="navIndex">
  18. <div class="navTask" @click="openTask(stageIndex, navIndex, nav.id)" :class="{
  19. openTaskActive:
  20. navIndex == taskCount &&
  21. nav.id == navId &&
  22. stageIndex == courseType,
  23. }">
  24. <div class="vedioNav" :class="{
  25. isClick:
  26. navIndex == taskCount &&
  27. nav.id == navId &&
  28. stageIndex == courseType,
  29. }" style="margin: 0">
  30. 任务{{ navIndex + 1 }}
  31. </div>
  32. <el-tooltip class="navTaskname item" effect="light" :content="nav.taskName" placement="top">
  33. <div :style="{
  34. width:
  35. IsLookOpen && !nav.isLook
  36. ? 'calc(100% - 75px)'
  37. : 'auto',
  38. }">
  39. {{ nav.taskName }}
  40. </div>
  41. </el-tooltip>
  42. <img src="../../assets/lock.png" v-if="IsLookOpen && !nav.isLook" alt="" />
  43. </div>
  44. </div>
  45. </div>
  46. </div>
  47. </div>
  48. </div>
  49. <div class="body_student">
  50. <div class="new_top" style="
  51. position: fixed;
  52. top: 0;
  53. left: 20.7%;
  54. width: 80%;
  55. z-index: 999;
  56. box-shadow: 0px 9px 0 0 #f2f2f2;
  57. ">
  58. <div class="courseIndex">
  59. <div>第{{ courseType - 0 + 1 }}阶段</div>
  60. <el-tooltip effect="light" :content="chapInfoList[courseType].dyName" placement="top">
  61. <div>{{ chapInfoList[courseType].dyName }}</div>
  62. </el-tooltip>
  63. <div>任务{{ taskCount + 1 }}</div>
  64. </div>
  65. <div class="btnAll">
  66. <div class="returnBtn" @click="nextOrpreSteps(0)">上一步</div>
  67. <div class="returnBtn" @click="nextOrpreSteps(1)">下一步</div>
  68. <div v-if="tType != 5" class="returnBtn" @click="allScrell">全屏</div>
  69. <!-- <div class="returnBtn" @click="startRecording" v-if="(!videoStart && (tType == 1 || tType == 4))">开始录制</div>
  70. <div class="returnBtn" @click="stopRecording" v-else-if="(tType == 1 || tType == 4)"
  71. style="background:#ee5255">下载录制</div>
  72. <div class="returnBtn" @click="juriVisible = true" v-if="tType == 1">
  73. 权限
  74. </div> -->
  75. <div v-if="tType != 5" class="returnBtn" style="background: #225bc7" @click.stop="
  76. goTo(
  77. '/courseDetailS?userid=' +
  78. userid +
  79. '&oid=' +
  80. oid +
  81. '&org=' +
  82. org +
  83. '&cid=' +
  84. classId +
  85. '&courseId=' +
  86. id +
  87. '&tType=' +
  88. tType +
  89. '&role=' +
  90. role +
  91. '&screenType=' +
  92. screenType
  93. )
  94. ">
  95. 返回
  96. </div>
  97. </div>
  98. </div>
  99. <!-- v-for="(task, index) in chapInfoList[courseType].chapterInfo[0]
  100. .taskJson"
  101. :key="index"-->
  102. <div class="isNoMessage" v-if="
  103. chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
  104. .chapterData.length == 0 &&
  105. chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
  106. .toolArray.length == 0 &&
  107. chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
  108. .taskDetail == '' &&
  109. chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
  110. .people == '' &&
  111. !chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].time &&
  112. !chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
  113. .tcMember &&
  114. !chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].time
  115. ">
  116. <img src="../../assets/icon/isNoMessage.png" alt />
  117. </div>
  118. <div class="study_top" :class="{ pzClass: pzDialog || psDialog }">
  119. <div class="vedioBox" v-if="
  120. chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
  121. .taskDetail != '' ||
  122. chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
  123. .people ||
  124. (chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
  125. .tcMember &&
  126. chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
  127. .tcMember.length) ||
  128. chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
  129. .time ||
  130. chapterlist.length > 0
  131. ">
  132. <div class="checkbox">
  133. <div class="check" style="font-size: 25px" :id="
  134. chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].id
  135. ">
  136. {{ chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].task ?
  137. chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].task : '任务名称' }}
  138. </div>
  139. </div>
  140. <div class="student_head">
  141. <div class="task_box" v-if="
  142. chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
  143. .people ||
  144. chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
  145. .time
  146. ">
  147. <div :class="{
  148. task_pbox: getMan(
  149. chapInfoList[courseType].chapterInfo[0].taskJson[
  150. taskCount
  151. ].people
  152. ),
  153. }" v-if="
  154. chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
  155. .people
  156. ">
  157. 负责人:{{
  158. getMan(
  159. chapInfoList[courseType].chapterInfo[0].taskJson[
  160. taskCount
  161. ].people
  162. )
  163. }}
  164. </div>
  165. <div class="task_pbox" style="color: #838383" v-if="
  166. chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
  167. .time
  168. ">
  169. <span>任务周期:</span>{{
  170. timeB(
  171. chapInfoList[courseType].chapterInfo[0].taskJson[
  172. taskCount
  173. ].time[0]
  174. ) +
  175. "至" +
  176. timeB(
  177. chapInfoList[courseType].chapterInfo[0].taskJson[
  178. taskCount
  179. ].time[1]
  180. )
  181. }}
  182. </div>
  183. </div>
  184. <div class="task_box" v-if="
  185. chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
  186. .tcMember &&
  187. chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
  188. .tcMember.length
  189. " :style="{
  190. margin:
  191. chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
  192. .people ||
  193. chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
  194. .time
  195. ? '5px auto 5px'
  196. : '15px auto 5px',
  197. }">
  198. <div class="task_pbox">
  199. 协同者:<span :class="{ tcMember: getMan(men) }" v-for="(men, mindex) in chapInfoList[courseType]
  200. .chapterInfo[0].taskJson[taskCount].tcMember" :key="mindex">{{ getMan(men) }}</span>
  201. </div>
  202. </div>
  203. <div class="taskBox" v-if="
  204. chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
  205. .taskDetail != ''
  206. ">
  207. <div style="
  208. display: flex;
  209. flex-wrap: nowrap;
  210. flex-direction: column;
  211. position: relative;
  212. ">
  213. <div style="padding: 15px 10px 0">任务描述:</div>
  214. <div style="
  215. padding: 10px 10px 15px;
  216. word-break: break-word;
  217. line-height: 27px;
  218. " class="cont" v-html="
  219. chapInfoList[courseType].chapterInfo[0].taskJson[
  220. taskCount
  221. ].taskDetail
  222. ? chapInfoList[courseType].chapterInfo[0].taskJson[
  223. taskCount
  224. ].taskDetail
  225. : '暂无描述'
  226. "></div>
  227. </div>
  228. </div>
  229. <div class="vedioTaskBox" v-if="false">
  230. <div class="box_course" v-if="chapterlist.length > 0">
  231. <div class="wheel" v-if="chapterlist[chapterIndex].type == 2">
  232. <div class="workd_media" style="height: 100%">
  233. <video-player class="video-player vjs-custom-skin" :playsinline="true"
  234. :options="chapterlist[chapterIndex].src" @play="onPlayerPlay($event)"
  235. style="width: 90%; height: 100%; margin: 0 0 0 30px"></video-player>
  236. </div>
  237. </div>
  238. <div class="wheel" v-if="chapterlist[chapterIndex].type == 6" style="
  239. box-shadow: 0 0 6px 1px #f2f2f2;
  240. width: 95%;
  241. margin: 0 auto;
  242. background: #f1f1f1;
  243. ">
  244. <div class="title">查看文档</div>
  245. <el-form class="textBox">
  246. <el-form-item class="textTitle">
  247. <div style="font-size: 22px">
  248. {{ chapterlist[chapterIndex].name }}
  249. </div>
  250. </el-form-item>
  251. <div v-html="chapterlist[chapterIndex].url" class="textContent"></div>
  252. </el-form>
  253. </div>
  254. <div class="wheel" v-if="chapterlist[chapterIndex].type == 3"
  255. style="height: 650px; width: 95%; margin: 0 auto">
  256. <iframe style="width: 100%; height: 100%; border: none" :src="chapterlist[chapterIndex].src"
  257. security="restricted"
  258. sandbox="allow-top-navigation allow-same-origin allow-forms allow-scripts allow-popups"></iframe>
  259. </div>
  260. <div class="wheel" v-if="chapterlist[chapterIndex].type == 8"
  261. style="height: 650px; width: 95%; margin: 0 auto">
  262. <iframe style="width: 100%; height: 100%; border: none" :src="chapterlist[chapterIndex].src"
  263. security="restricted"
  264. sandbox="allow-top-navigation allow-same-origin allow-forms allow-scripts"></iframe>
  265. </div>
  266. <div class="wheel" v-if="chapterlist[chapterIndex].type == 9"
  267. style="height: 650px; width: 95%; margin: 0 auto">
  268. <pdf :pdfUrl="chapterlist[chapterIndex].src" style="width: 100%; height: 100%; overflow: auto">
  269. </pdf>
  270. </div>
  271. <!-- <div class="wheel" v-if="chapterlist[chapterIndex].type == " style="height: 650px; width: 95%; margin: 0 auto">
  272. <el-image :src="pptImgUrl1" fit="cover" style="width: 100%"></el-image>
  273. </div> -->
  274. </div>
  275. <div class="vedioList" v-if="chapterlist.length > 0">
  276. <div class="navTitile">内容列表:</div>
  277. <div class="navBox">
  278. <div>
  279. <div class="vedioTimeBox" v-for="(chapter, cIndex) in chapterlist" :key="cIndex + '1'"
  280. @click="setChapterIndex(cIndex)">
  281. <div class="vedioName" :class="{ isClickNav: chapterIndex == cIndex }">
  282. {{ chapter.type == 8 ? chapter.title : chapter.name }}
  283. </div>
  284. </div>
  285. </div>
  286. </div>
  287. </div>
  288. </div>
  289. <!-- <div style="padding: 10px 30px 0"
  290. v-if="chapterlist[chapterIndex] && (chapterlist[chapterIndex].type == 3 || chapterlist[chapterIndex].type == 9)">
  291. <el-button type="primary"
  292. @click="checkFileFull(chapterlist[chapterIndex].type, chapterlist[chapterIndex].src)">全屏查看</el-button>
  293. <el-button type="primary" @click="downloadFile(chapterlist[chapterIndex].src)">文件下载</el-button>
  294. </div>
  295. <div style="padding: 10px 30px 0" v-if="chapterlist[chapterIndex] && chapterlist[chapterIndex].type == 8">
  296. <el-button type="primary" @click="openLine(chapterlist[chapterIndex].src)">打开链接
  297. </el-button>
  298. </div>
  299. <div style="padding: 10px 30px 0" v-if="chapterlist[chapterIndex] && chapterlist[chapterIndex].type == 6">
  300. <el-button type="primary"
  301. @click="checkFileFull(chapterlist[chapterIndex].type, chapterlist[chapterIndex])">全屏查看</el-button>
  302. </div> -->
  303. </div>
  304. </div>
  305. <div class="student_body">
  306. <div class="vedioBox" v-if="
  307. chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
  308. .toolArray.length
  309. ">
  310. <div class="queTop" style="
  311. font-size: 25px;
  312. padding: 15px 0 15px 30px;
  313. font-weight: bold;
  314. ">
  315. 实施过程
  316. </div>
  317. <div class="toolHeng2" style="position: relative">
  318. <div class="filebox" style="flex-wrap: nowrap; margin: 0 20px" v-for="(tool, toolIndex) in chapInfoList[courseType]
  319. .chapterInfo[0].taskJson[taskCount].toolArray" :key="toolIndex">
  320. <div class="bzBox">
  321. <div></div>
  322. <div>步骤{{ toolIndex + 1 }}</div>
  323. <div v-if="tool.toolPhoto.length > 0" style="margin-left: 20px; color: #a1a1a1">
  324. 时间:{{ tool.toolPhoto[0].createTime }}
  325. </div>
  326. </div>
  327. <div class="toolBox" v-if="tool.toolDetail != ''">
  328. <div v-if="false">
  329. <div class="noiframeBox">
  330. <div class="addPoint">
  331. <div v-if="tool.tool == 1">
  332. <img src="../../assets/icon/secondToolList/whiteBoard.png" alt
  333. @click="addTools(tool.tool, toolIndex, taskCount)" />
  334. <div style="margin: 5px 0">电子白板</div>
  335. </div>
  336. <div v-if="tool.tool == 3">
  337. <img src="../../assets/icon/secondToolList/mindMapping.png" alt
  338. @click="addTools(tool.tool, toolIndex, taskCount)" />
  339. <div style="margin: 5px 0">思维导图</div>
  340. </div>
  341. <div v-if="tool.tool == 6">
  342. <img src="../../assets/icon/secondToolList/doc.png" alt
  343. @click="addTools(tool.tool, toolIndex, taskCount)" />
  344. <div style="margin: 5px 0">协同文档</div>
  345. </div>
  346. <div v-if="tool.tool == 7">
  347. <img src="../../assets/icon/secondToolList/mindNetwork.png" alt
  348. @click="addTools(tool.tool, toolIndex, taskCount)" />
  349. <div style="margin: 5px 0">思维网格</div>
  350. </div>
  351. <div v-if="tool.tool == 8">
  352. <img src="../../assets/icon/secondToolList/library.png" alt
  353. @click="addTools(tool.tool, toolIndex, taskCount)" />
  354. <div style="margin: 5px 0">素材库</div>
  355. </div>
  356. <div v-if="tool.tool == 17">
  357. <img src="../../assets/icon/secondToolList/library.png" alt
  358. @click="addTools(tool.tool, toolIndex, taskCount)" />
  359. <div style="margin: 5px 0">学习资料</div>
  360. </div>
  361. <div v-if="tool.tool == 2">
  362. <img @click="addTools(tool.tool, toolIndex, taskCount)"
  363. src="../../assets/icon/secondToolList/note.png" alt />
  364. <div style="margin: 5px 0">便签</div>
  365. </div>
  366. <div v-if="tool.tool == 4">
  367. <img @click="addTools(tool.tool, toolIndex, taskCount)"
  368. src="../../assets/icon/thirdToolList/ask.png" alt />
  369. <div style="margin: 5px 0">问卷调查</div>
  370. </div>
  371. <div v-if="tool.tool == 45">
  372. <img @click="addTools(tool.tool, toolIndex, taskCount)"
  373. src="../../assets/icon/thirdToolList/choose.png" alt />
  374. <div style="margin: 5px 0">选择题</div>
  375. </div>
  376. <div v-if="tool.tool == 10">
  377. <img @click="addTools(tool.tool, toolIndex, taskCount)"
  378. src="../../assets/icon/thirdToolList/time.png" alt />
  379. <div style="margin: 5px 0">倒计时</div>
  380. </div>
  381. <div v-if="tool.tool == 15">
  382. <img @click="addTools(tool.tool, toolIndex, taskCount)"
  383. src="../../assets/icon/thirdToolList/answer.png" alt />
  384. <div style="margin: 5px 0">问答工具</div>
  385. </div>
  386. <div v-if="tool.tool == 26">
  387. <img @click="addTools(tool.tool, toolIndex, taskCount)"
  388. src="../../assets/icon/thirdToolList/courseDesign.png" alt />
  389. <div style="margin: 5px 0">课程设计</div>
  390. </div>
  391. <div v-if="tool.tool == 18">
  392. <img @click="addTools(tool.tool, toolIndex, taskCount)"
  393. src="../../assets/icon/thirdToolList/trainPlatform.png" alt />
  394. <div style="margin: 5px 0">训练服务器</div>
  395. </div>
  396. <div v-if="tool.tool == 16">
  397. <img @click="addTools(tool.tool, toolIndex, taskCount)"
  398. src="../../assets/icon/thirdToolList/work.png" alt />
  399. <div style="margin: 5px 0">作业提交</div>
  400. </div>
  401. <div v-if="tool.tool == 21">
  402. <img @click="addTools(tool.tool, toolIndex, taskCount)"
  403. src="../../assets/icon/fourthToolList/program.png" alt />
  404. <div style="margin: 5px 0">编程平台</div>
  405. </div>
  406. <div v-if="tool.tool == 22">
  407. <img @click="addTools(tool.tool, toolIndex, taskCount)"
  408. src="../../assets/icon/fourthToolList/program.png" alt />
  409. <div style="margin: 5px 0">AI体验</div>
  410. </div>
  411. <div v-if="tool.tool == 23">
  412. <img @click="addTools(tool.tool, toolIndex, taskCount)"
  413. src="../../assets/icon/fourthToolList/program.png" alt />
  414. <div style="margin: 5px 0">Python</div>
  415. </div>
  416. <div v-if="tool.tool == 24">
  417. <img @click="addTools(tool.tool, toolIndex, taskCount)"
  418. src="../../assets/icon/fourthToolList/AIprogram.png" alt />
  419. <div style="margin: 5px 0">AI平台</div>
  420. </div>
  421. <div v-if="tool.tool == 25">
  422. <img @click="addTools(tool.tool, toolIndex, taskCount)"
  423. src="../../assets/icon/thirdToolList/evalua.png" alt />
  424. <div style="margin: 5px 0">目标管理</div>
  425. </div>
  426. <div v-if="tool.tool == 31">
  427. <img @click="addTools(tool.tool, toolIndex, taskCount)"
  428. src="../../assets/icon/secondToolList/networkPanel.png" alt />
  429. <div style="margin: 5px 0">数学画板</div>
  430. </div>
  431. <div v-if="tool.tool == 28">
  432. <img @click="addTools(tool.tool, toolIndex, taskCount)"
  433. src="../../assets/icon/secondToolList/translation.png" alt />
  434. <div style="margin: 5px 0">翻译</div>
  435. </div>
  436. <div v-if="tool.tool == 37">
  437. <img @click="addTools(tool.tool, toolIndex, taskCount)"
  438. src="../../assets/icon/secondToolList/mohe.png" alt />
  439. <div style="margin: 5px 0">魔盒识字</div>
  440. </div>
  441. <div v-if="tool.tool == 38">
  442. <img @click="addTools(tool.tool, toolIndex, taskCount)"
  443. src="../../assets/icon/secondToolList/24game.png" alt />
  444. <div style="margin: 5px 0">24点</div>
  445. </div>
  446. <div v-if="tool.tool == 39">
  447. <img @click="addTools(tool.tool, toolIndex, taskCount)"
  448. src="../../assets/icon/secondToolList/GeoGebra.png" alt />
  449. <div style="margin: 5px 0">GeoGebra</div>
  450. </div>
  451. <div v-if="tool.tool == 32">
  452. <img @click="addTools(tool.tool, toolIndex, taskCount)"
  453. src="../../assets/icon/thirdToolList/code.png" alt />
  454. <div style="margin: 5px 0">源码编辑</div>
  455. </div>
  456. <div v-if="tool.tool == 40">
  457. <img @click="addTools(tool.tool, toolIndex, taskCount)"
  458. src="../../assets/icon/secondToolList/eval.png" alt />
  459. <div style="margin: 5px 0">学生评价</div>
  460. </div>
  461. <div v-if="tool.tool == 41">
  462. <img @click="addTools(tool.tool, toolIndex, taskCount)"
  463. src="../../assets/icon/thirdToolList/select.png" alt />
  464. <div style="margin: 5px 0">选择填空</div>
  465. </div>
  466. <div v-if="tool.tool == 44">
  467. <img @click="addTools(tool.tool, toolIndex, taskCount)"
  468. src="../../assets/icon/thirdToolList/hanClass.png" alt />
  469. <div style="margin: 5px 0">汉字宫</div>
  470. </div>
  471. <div v-if="tool.tool == 47">
  472. <img @click="addTools(tool.tool, toolIndex, taskCount)"
  473. src="../../assets/icon/fourthToolList/conSentences.png" alt />
  474. <div style="margin: 5px 0">连词成句</div>
  475. </div>
  476. <div v-if="tool.tool == 48">
  477. <img @click="addTools(tool.tool, toolIndex, taskCount)"
  478. src="../../assets/icon/fourthToolList/table.png" alt />
  479. <div style="margin: 5px 0">表格</div>
  480. </div>
  481. <div v-if="tool.tool == 49">
  482. <img @click="addTools(tool.tool, toolIndex, taskCount)"
  483. src="../../assets/icon/fourthToolList/group.png" alt />
  484. <div style="margin: 5px 0">学生分组</div>
  485. </div>
  486. </div>
  487. </div>
  488. </div>
  489. <div class="tooldetail" v-if="tool.toolDetail != ''">
  490. <!-- <div class="toolTitle">工具描述</div> -->
  491. <div v-html="contentConvent(tool.toolDetail)"></div>
  492. </div>
  493. </div>
  494. <div class="homeWorkBox" v-if="tool.toolPhoto.length && tool.tool != 51">
  495. <!-- <div class="htitle">作业预览</div> -->
  496. <div class="toolPhoto_box">
  497. <div class="photo_box" v-for="(photo, pIndex) in tool.toolPhoto" :key="pIndex">
  498. <span>{{ photo.workContent }}</span>
  499. <!-- :class="{ answerWidth: photo.type == 3 }" -->
  500. <div class="toolPhoto answerWidth">
  501. <img v-if="photo.type == 1" :src="photo.content" @click="previewImg(photo.content)" />
  502. <img v-if="photo.type == 10" :src="word" @click="openTable(photo.content)" />
  503. <img v-if="photo.type == 4" :src="word" @click="openFile(photo.content)" />
  504. <img v-if="photo.type == 5" :src="video" @click="openVideo(photo.content)" />
  505. <img v-if="photo.type == 12" :src="word" @click="openText(photo.content)" />
  506. <img v-if="photo.type == 14" :src="word" @click="
  507. openAsk(photo.content, taskCount, toolIndex)
  508. " />
  509. <img v-if="photo.type == 13" :src="zip" @click="downloadFile(photo.content)" />
  510. <div class="answerBg" v-if="photo.type == 3">
  511. <!-- <div>{{ w.sName }}</div> -->
  512. <el-tooltip class="item" effect="light" :content="photo.content" placement="top">
  513. <div class="answerContent">
  514. {{ photo.content }}
  515. </div>
  516. </el-tooltip>
  517. </div>
  518. </div>
  519. </div>
  520. </div>
  521. </div>
  522. <div class="homeWorkBox" v-else-if="tool.tool != 51 && tool.tool != 57">
  523. <div class="htitle">暂无内容</div>
  524. </div>
  525. <div class="homeWorkBox" v-if="tool.toolPhoto.length && tool.tool == 56">
  526. <voteStatic :askJSON="tool.askJson" :checkJson="checkJson[toolIndex]"></voteStatic>
  527. </div>
  528. <div class="homeWorkBox" v-if="tool.tool == 57">
  529. <iframe src="https://v.cocorobo.cn" frameborder="0" width="100%" height="650"></iframe>
  530. </div>
  531. <div v-if="tool.tool == 51" style="margin-top: 20px">
  532. <div class="vedioTaskBox">
  533. <div class="box_course" :class="'box_course' + toolIndex" v-if="tool.toolData.length > 0">
  534. <div class="wheel" v-if="tool.toolData[tool.sourceIndex].type == 2">
  535. <div class="workd_media" style="height: 100%">
  536. <video-player class="video-player vjs-custom-skin" :playsinline="true"
  537. :options="tool.toolData[tool.sourceIndex].src" @play="onPlayerPlay($event)"
  538. style="width: 98%; height: 100%"></video-player>
  539. </div>
  540. </div>
  541. <div class="wheel" v-if="tool.toolData[tool.sourceIndex].type == 6" style="
  542. box-shadow: 0 0 6px 1px #f2f2f2;
  543. width: 98%;
  544. background: #f1f1f1;
  545. height: 650px;
  546. ">
  547. <div class="title">查看文档</div>
  548. <el-form class="textBox">
  549. <el-form-item class="textTitle">
  550. <div style="font-size: 22px">
  551. {{ tool.toolData[tool.sourceIndex].name }}
  552. </div>
  553. </el-form-item>
  554. <div v-html="tool.toolData[tool.sourceIndex].url" class="textContent"></div>
  555. </el-form>
  556. </div>
  557. <div class="wheel" v-if="tool.toolData[tool.sourceIndex].type == 3"
  558. style="height: 650px; width: 98%">
  559. <iframe style="width: 100%; height: 100%; border: none"
  560. :src="tool.toolData[tool.sourceIndex].src" security="restricted"
  561. sandbox="allow-top-navigation allow-same-origin allow-forms allow-scripts allow-popups"></iframe>
  562. </div>
  563. <div class="wheel" v-if="tool.toolData[tool.sourceIndex].type == 8"
  564. style="height: 650px; width: 98%">
  565. <iframe style="width: 100%; height: 100%; border: none"
  566. :src="tool.toolData[tool.sourceIndex].src" security="restricted"
  567. sandbox="allow-top-navigation allow-same-origin allow-forms allow-scripts"></iframe>
  568. </div>
  569. <div class="wheel" v-if="tool.toolData[tool.sourceIndex].type == 9"
  570. style="height: 650px; width: 98%">
  571. <pdf :pdfUrl="tool.toolData[tool.sourceIndex].url"
  572. style="width: 100%; height: 100%; overflow: auto">
  573. </pdf>
  574. </div>
  575. </div>
  576. <div class="vedioList" :class="'vedioList' + toolIndex" v-if="tool.toolData.length > 0">
  577. <div class="navTitile">内容列表:</div>
  578. <div class="navBox">
  579. <div>
  580. <div class="vedioTimeBox" v-for="(chapter, cIndex) in tool.toolData" :key="cIndex + '1'"
  581. @click="setChapterIndex2(tool, cIndex, toolIndex)">
  582. <div class="vedioName" :class="{
  583. isClickNav: tool.sourceIndex == cIndex,
  584. }">
  585. {{
  586. chapter.type == 8
  587. ? chapter.title
  588. : chapter.name
  589. }}
  590. </div>
  591. </div>
  592. </div>
  593. </div>
  594. </div>
  595. </div>
  596. <div style="padding: 10px 0 0" v-if="tool.toolData[tool.sourceIndex]">
  597. <el-button v-if="
  598. tool.toolData[tool.sourceIndex].type == 3 ||
  599. tool.toolData[tool.sourceIndex].type == 9
  600. " type="primary" @click="
  601. checkFileFull(
  602. tool.toolData[tool.sourceIndex].type,
  603. tool.toolData[tool.sourceIndex].src
  604. )
  605. ">全屏查看</el-button>
  606. <el-button v-if="
  607. tool.toolData[tool.sourceIndex].type == 3 ||
  608. tool.toolData[tool.sourceIndex].type == 9
  609. " type="primary" @click="
  610. downloadFile(tool.toolData[tool.sourceIndex].src)
  611. ">文件下载</el-button>
  612. <el-button v-if="tool.toolData[tool.sourceIndex].type == 8" type="primary"
  613. @click="openLine(tool.toolData[tool.sourceIndex].src)">打开链接
  614. </el-button>
  615. <el-button v-if="tool.toolData[tool.sourceIndex].type == 6" type="primary" @click="
  616. checkFileFull(
  617. tool.toolData[tool.sourceIndex].type,
  618. tool.toolData[tool.sourceIndex]
  619. )
  620. ">全屏查看</el-button>
  621. <!-- <el-button type="primary" @click="editSourceUpadte(itemTaskIndex, toolIndex)">资源编辑</el-button> -->
  622. </div>
  623. </div>
  624. </div>
  625. </div>
  626. </div>
  627. </div>
  628. </div>
  629. </div>
  630. </div>
  631. <div class="pButton" @click="(pzDialog = true), selectPz(), setVHeight()" v-if="tType == 4">
  632. <!-- 批 -->
  633. <img src="../../assets/pzBtn2.png" style="width: 25px" alt="" />
  634. </div>
  635. <div v-if="pzDialog == true" class="newDialogCss">
  636. <div class="pzTop2">
  637. <!-- <div>批注</div>
  638. <div @click="pzDialog = false">
  639. <img src="../assets/close1.png" alt="" />
  640. </div> -->
  641. <div class="checkbox">
  642. <div class="check" style="font-size: 25px">评论</div>
  643. <img src="../../assets/pzBtn.png" @click="(pzDialog = false), setVHeight()" alt="" />
  644. </div>
  645. </div>
  646. <div :class="pzList && pzList.length ? 'pzBox' : 'noPzBox'">
  647. <div class="pzListBox" v-if="pzList && pzList.length">
  648. <div class="pzList" v-for="(pz, pzIndex) in pzList" :key="pzIndex">
  649. <div class="pzNavTop">
  650. <div>批</div>
  651. <div>
  652. {{
  653. pz.username && pz.username.length > 5
  654. ? pz.username.substring(0, 5) + "..."
  655. : pz.username
  656. }}的批注
  657. </div>
  658. <div class="pzDelete" v-if="pz.userid == userid" @click="deletePz(pz.id)">
  659. 删除
  660. </div>
  661. </div>
  662. <div class="pzContent cont" v-html="pz.content" v-if="pz.type == '1'"></div>
  663. <div class="pzContent" v-if="pz.type == '2'">
  664. <audio :src="pz.content" controls="controls" ref="audio">
  665. Your browser does not support the audio element.
  666. </audio>
  667. </div>
  668. <div class="pzContent" v-if="pz.type == '3'">
  669. <img :src="pz.content" style="width: 90%; margin: 0 auto; display: block" @click="previewImg(pz.content)" />
  670. </div>
  671. <div class="time">
  672. {{ pz.time }}
  673. </div>
  674. </div>
  675. </div>
  676. <div class="noPz" v-else>
  677. <img src="../../assets/icon/noPz.png" alt="" />
  678. </div>
  679. <div class="addPzButton">
  680. <div class="addPz" @click="(addPzDialog = true), (pzType = 1)">
  681. 添加批注
  682. </div>
  683. <!-- <div class="img1">
  684. <div @click="(addPzDialog = true), (pzType = 2)">
  685. <img src="../../assets/audio.png" /><span>音频</span>
  686. </div>
  687. </div> -->
  688. </div>
  689. </div>
  690. </div>
  691. <div class="pButton" @click="(psDialog = true), setVHeight()" v-if="tType == 5">
  692. <!-- 批 -->
  693. <img src="../../assets/pzBtn2.png" style="width: 25px" alt="" />
  694. </div>
  695. <div v-if="psDialog == true" class="newDialogCss">
  696. <div class="pzTop2">
  697. <!-- <div>批注</div>
  698. <div @click="pzDialog = false">
  699. <img src="../assets/close1.png" alt="" />
  700. </div> -->
  701. <div class="checkbox">
  702. <div class="check" style="font-size: 25px">评审区域</div>
  703. <img src="../../assets/pzBtn.png" @click="(psDialog = false), setVHeight()" alt="" />
  704. </div>
  705. </div>
  706. <div class="pzBox">
  707. <div class="addPzButton">
  708. <div class="psTypeBox">
  709. <!-- 1 造型结构 2 开源硬件 3 软件设计 4 总分 -->
  710. <span :class="{active:psType==1}" @click="psType = 1">造型结构</span>
  711. <span :class="{active:psType==2}" @click="psType = 2">开源硬件</span>
  712. <span :class="{active:psType==3}" @click="psType = 3">软件设计</span>
  713. <span :class="{active:psType==4}" @click="psType = 4">总分</span>
  714. </div>
  715. <div class="psBox" v-if="psType == '1'">
  716. <div><span>创新性(10分)</span><el-input-number class="number" @change="updateRight(psJson,'cxx')" v-model="psJson.cxx" :controls="false" :min="0"
  717. :max="10"></el-input-number></div>
  718. <div><span>艺术审美(40分)</span><el-input-number class="number" @change="updateRight(psJson,'yssm')" v-model="psJson.yssm" :controls="false" :min="0"
  719. :max="40"></el-input-number></div>
  720. <div><span>技术与功能(20分)</span><el-input-number class="number" @change="updateRight(psJson,'jsygn')" v-model="psJson.jsygn" :controls="false" :min="0"
  721. :max="20"></el-input-number></div>
  722. <div><span>科学调研(10分)</span><el-input-number class="number" @change="updateRight(psJson,'kxdy')" v-model="psJson.kxdy" :controls="false" :min="0"
  723. :max="10"></el-input-number></div>
  724. <div><span>作品完成度(10分)</span><el-input-number class="number" @change="updateRight(psJson,'zpwcd')" v-model="psJson.zpwcd" :controls="false"
  725. :min="0" :max="10"></el-input-number></div>
  726. <div style="border-top: 1px solid #eee;padding-top: 10px;"><span>总分</span><span class="number"
  727. style="font-size: 35px;color: #4b79ce;">{{ psJson.cxx + psJson.yssm + psJson.jsygn + psJson.kxdy +
  728. psJson.zpwcd }}</span></div>
  729. </div>
  730. <div class="psBox" v-if="psType == '2'">
  731. <div><span>创新性(25分)</span><el-input-number class="number" @change="updateRight(psJson2,'cxx')" v-model="psJson2.cxx" :controls="false" :min="0"
  732. :max="25"></el-input-number></div>
  733. <div><span>艺术审美(20分)</span><el-input-number class="number" @change="updateRight(psJson2,'yssm')" v-model="psJson2.yssm" :controls="false" :min="0"
  734. :max="20"></el-input-number></div>
  735. <div><span>技术与功能(15分)</span><el-input-number class="number" @change="updateRight(psJson2,'jsygn')" v-model="psJson2.jsygn" :controls="false" :min="0"
  736. :max="15"></el-input-number></div>
  737. <div><span>科学调度(15分)</span><el-input-number class="number" @change="updateRight(psJson2,'kxdd')" v-model="psJson2.kxdd" :controls="false" :min="0"
  738. :max="15"></el-input-number></div>
  739. <div><span>作品完成度(25分)</span><el-input-number class="number" @change="updateRight(psJson2,'zpwcd')" v-model="psJson2.zpwcd" :controls="false"
  740. :min="0" :max="25"></el-input-number></div>
  741. <div style="border-top: 1px solid #eee;padding-top: 10px;"><span>总分</span><span class="number"
  742. style="font-size: 35px;color: #4b79ce;">{{ psJson2.cxx + psJson2.yssm + psJson2.jsygn + psJson2.kxdd +
  743. psJson2.zpwcd }}</span></div>
  744. </div>
  745. <div class="psBox" v-if="psType == '3'">
  746. <div><span>创新性(30分)</span><el-input-number class="number" @change="updateRight(psJson3,'cxx')" v-model="psJson3.cxx" :controls="false" :min="0"
  747. :max="30"></el-input-number></div>
  748. <div><span>艺术审美(20分)</span><el-input-number class="number" @change="updateRight(psJson3,'yssm')" v-model="psJson3.yssm" :controls="false" :min="0"
  749. :max="20"></el-input-number></div>
  750. <div><span>技术与功能(30分)</span><el-input-number class="number" @change="updateRight(psJson3,'jsygn')" v-model="psJson3.jsygn" :controls="false" :min="0"
  751. :max="30"></el-input-number></div>
  752. <div><span>科学调度(10分)</span><el-input-number class="number" @change="updateRight(psJson3,'kxdd')" v-model="psJson3.kxdd" :controls="false" :min="0"
  753. :max="10"></el-input-number></div>
  754. <div><span>作品完成度(10分)</span><el-input-number class="number" @change="updateRight(psJson3,'zpwcd')" v-model="psJson3.zpwcd" :controls="false"
  755. :min="0" :max="10"></el-input-number></div>
  756. <div style="border-top: 1px solid #eee;padding-top: 10px;"><span>总分</span><span class="number"
  757. style="font-size: 35px;color: #4b79ce;">{{ psJson3.cxx + psJson3.yssm + psJson3.jsygn + psJson3.kxdd +
  758. psJson3.zpwcd }}</span></div>
  759. </div>
  760. <div class="psBox" v-if="psType == '4'">
  761. <div><span>总分(100分)</span><el-input-number class="number" @change="updateRight(psJson4,'z')" v-model="psJson4.z" :controls="false" :min="0"
  762. :max="100"></el-input-number></div>
  763. </div>
  764. <div class="addPz" @click="addPs()">
  765. 保存评分
  766. </div>
  767. </div>
  768. </div>
  769. </div>
  770. <div v-if="addPzDialog == true" class="addDialogCss">
  771. <div class="pzTop">
  772. <div class="teacherPz">
  773. <div class="teacherPzImg">
  774. <img src="../../assets/icon/teacherPz.png" alt="" />
  775. </div>
  776. <div style="margin-left: 10px; height: 25px">教师批注</div>
  777. </div>
  778. <div @click="addPzDialog = false">
  779. <img src="../../assets/close1.png" alt="" />
  780. </div>
  781. </div>
  782. <div class="addPzBox">
  783. <div class="addPzCheck">
  784. <span :class="{ isChooseActive: pzType == 1 }" @click="pzType = 1">文本</span>
  785. <span :class="{ isChooseActive: pzType == 2 }" @click="pzType = 2">音频</span>
  786. </div>
  787. <div style="height: calc(100% - 95px)">
  788. <editor-bar class="binfo_input pzConText" style="width: 100% !important" placeholder="请输入任务描述"
  789. v-model="pzConText" @change="change" v-if="pzType == 1"></editor-bar>
  790. <Audio @addPz="addPz" class="pzAudioClass" v-if="pzType == 2"></Audio>
  791. </div>
  792. <div class="addTextCss" @click="addPz('1')" v-if="pzType == 1">
  793. 确定
  794. </div>
  795. </div>
  796. </div>
  797. <el-dialog title="查看文档" :visible.sync="fullDialogVisible" :append-to-body="true" width="100%"
  798. :before-close="handleClose" :show-close="false" class="dialog_diy full_diy" :class="{ full_diy2: fulltype == 9 }">
  799. <div slot="title" class="header-title">
  800. <div style="color: #fff">查看文档</div>
  801. <div @click="fullDialogVisible = false" style="
  802. cursor: pointer;
  803. position: absolute;
  804. top: 20px;
  805. right: 20px;
  806. color: #fff;
  807. ">
  808. 退出全屏
  809. </div>
  810. </div>
  811. <div style="height: 100%">
  812. <iframe v-if="fulltype == 3" style="width: 100%; height: 100%; border: none" :src="fullUrl" security="restricted"
  813. sandbox="allow-top-navigation allow-same-origin allow-forms allow-scripts allow-popups"></iframe>
  814. <pdf v-else-if="fulltype == 9" :pdfUrl="fullUrl" style="width: 100%; height: 100%; overflow: auto"></pdf>
  815. <div class="wheel" v-if="fulltype == 6" style="
  816. box-shadow: 0 0 6px 1px #f2f2f2;
  817. width: 100%;
  818. background: #f1f1f1;
  819. ">
  820. <div class="title" style="width: 100%; box-sizing: border-box">
  821. 查看文档
  822. </div>
  823. <el-form class="textBox" style="height: 90%">
  824. <el-form-item class="textTitle">
  825. <div style="font-size: 22px">
  826. {{ fullUrl.name }}
  827. </div>
  828. </el-form-item>
  829. <!-- <div style="color: #918f8f; width: 85%">文档内容</div> -->
  830. <div v-html="fullUrl.url" class="textContent" style="height: auto"></div>
  831. </el-form>
  832. </div>
  833. </div>
  834. <!-- <div slot="footer">
  835. <el-button @click="fullDialogVisible = false">关 闭</el-button>
  836. </div> -->
  837. </el-dialog>
  838. <el-dialog title="表格" :visible.sync="dialogVisibleTable2" :append-to-body="true" width="95%"
  839. :before-close="handleClose" class="dialog_diy">
  840. <el-form>
  841. <div class="cont" v-html="tableJson.text" style="line-height: 24px"></div>
  842. </el-form>
  843. <span slot="footer" class="dialog-footer">
  844. <el-button @click="dialogVisibleTable2 = false">关 闭</el-button>
  845. </span>
  846. </el-dialog>
  847. <el-dialog title="文件预览" :visible.sync="dialogVisible3" width="50%" :before-close="handleClose" class="dialog_diy"
  848. :class="{ fullStyle: full }">
  849. <div slot="title" class="header-title">
  850. <div style="color: #fff">文件预览</div>
  851. <div style="position: absolute; top: 19px; right: 50px">
  852. <img src="../../assets/full.png" style="height: 16px; cursor: pointer" alt="" @click="fullTools" />
  853. </div>
  854. </div>
  855. <pdf v-if="showPDF" :pdfUrl="pptImgUrl" style="width: 100%; height: 520px; overflow: auto"
  856. :class="{ fullStyle: full }"></pdf>
  857. <iframe v-else :src="pptImgUrl" frameborder="0" width="100%" height="600" :class="{ fullStyle: full }"
  858. security="restricted"
  859. sandbox="allow-top-navigation allow-same-origin allow-forms allow-scripts allow-popups"></iframe>
  860. </el-dialog>
  861. <el-dialog title="查看文档" :visible.sync="dialogVisibleText2" :append-to-body="true" width="800px"
  862. :before-close="handleClose" class="dialog_diy">
  863. <el-form>
  864. <div class="cont" v-html="tableJson.text" style="line-height: 24px"></div>
  865. </el-form>
  866. <span slot="footer" class="dialog-footer">
  867. <el-button @click="dialogVisibleText2 = false">关 闭</el-button>
  868. </span>
  869. </el-dialog>
  870. <el-dialog title="查看视频" :visible.sync="videoVisible" :append-to-body="true" width="1000px" :before-close="handleClose"
  871. class="dialog_diy1">
  872. <div class="workd_media" style="height: 100%" v-if="videoDetail.sources">
  873. <video-player class="video-player vjs-custom-skin" :playsinline="true" :options="videoDetail"
  874. @play="onPlayerPlay($event)" style="width: 100%; height: 100%"></video-player>
  875. </div>
  876. <div slot="footer">
  877. <el-button style="background: #409efe; color: #fff" @click="(videoVisible = false), (videoDetail = {})">
  878. 关 闭</el-button>
  879. </div>
  880. </el-dialog>
  881. <el-dialog title="查看投票" :visible.sync="dialogVisible5" :append-to-body="true" width="1000px"
  882. :before-close="handleClose" class="dialog_diy dialog_diy3">
  883. <div>
  884. <div class="a_add_title" style="
  885. display: flex;
  886. flex-direction: row;
  887. align-items: center;
  888. justify-content: center;
  889. ">
  890. <div style="margin-right: 20px; font-size: 20px">投票标题:</div>
  891. <div style="font-size: 20px">{{ askJson.askTitle }}</div>
  892. </div>
  893. <div class="a_addBox">
  894. <div style="font-size: 16px; color: #c7c7c7">投票内容</div>
  895. <div class="a_add_box" v-for="(item1, index1) in askJson.askCount" :key="index1">
  896. <div class="a_add_head">
  897. <div style="display: flex">
  898. {{ index1 + 1 + "、" }}
  899. <div>{{ askJson.askJson[index1].askstitle }}</div>
  900. </div>
  901. <img v-if="askJson.askJson[index1].img" :src="askJson.askJson[index1].img"
  902. style="height: 300px; margin-top: 10px; max-width: 100%" />
  903. </div>
  904. <div class="a_add_body">
  905. <div class="a_add_input">
  906. <el-radio-group v-model="radio[index1]">
  907. <el-radio v-for="(item2, checkIndex) in askJson.askJson[index1]
  908. .checkList" :key="checkIndex" :label="checkIndex" :disabled="true" class="redioStyle"><span
  909. v-html="item2"></span></el-radio>
  910. </el-radio-group>
  911. </div>
  912. </div>
  913. </div>
  914. </div>
  915. </div>
  916. <span slot="footer" class="dialog-footer">
  917. <el-button @click="dialogVisible5 = false">关 闭</el-button>
  918. </span>
  919. </el-dialog>
  920. </div>
  921. </template>
  922. <script>
  923. import "../../common/aws-sdk-2.235.1.min.js";
  924. import EditorBar from "../tools/wangEnduit.vue";
  925. import Audio from "../components/audio.vue";
  926. import voteStatic from "../components/voteStatic.vue";
  927. import pdf from "../components/vpdf";
  928. export default {
  929. components: {
  930. EditorBar,
  931. Audio,
  932. voteStatic,
  933. pdf,
  934. },
  935. data() {
  936. return {
  937. bg: null,
  938. drawShow: false,
  939. dialogVisible: false,
  940. commentDialogVisible: false,
  941. videoVisible: false,
  942. isStar: false,
  943. studentEvalDialogVisible: false,
  944. dialogVisibleSelect: false,
  945. dialogVisibleScore: false,
  946. dialogVisibleSentence: false,
  947. dialogVisibleSentence1: false,
  948. dialogVisibleWorks: false,
  949. dialogVisibleTable: false,
  950. dialogVisibleTable2: false,
  951. dialogVisibleGroupWork: false,
  952. dialogVisibleUpdateGroup: false,
  953. dialogVisibleDeleteGroup: false,
  954. dialogVisibleText2: false,
  955. videoVisible: false,
  956. videoDetail: {},
  957. sStudent: {},
  958. bzText: "",
  959. commentDetail: [],
  960. selectAnswer: [],
  961. videoDetail: {},
  962. selectJson: {},
  963. eScore: { eBzText: "", eStar: [] },
  964. id: this.$route.query.courseId,
  965. userid: this.$route.query.userid,
  966. classId: this.$route.query.cid,
  967. // courseTypeLine: this.$route.query.type,
  968. oid: this.$route.query.oid,
  969. org: this.$route.query.org,
  970. tType: this.$route.query.tType,
  971. courseType: this.$route.query.type,
  972. role: this.$route.query.role,
  973. screenType: this.$route.query.screenType,
  974. pptImgUrl: "",
  975. pptImgUrl1: "",
  976. commentText: "",
  977. full: false,
  978. sIsOpen: false,
  979. IsLookOpen: false,
  980. pzDialog: false,
  981. psDialog: false,
  982. type: 1,
  983. sentenceList: [{ sentenceTitle: "", addSentence: [], rightAnswer: [] }],
  984. sentenceList1: [],
  985. tableJson: [],
  986. vedio: [],
  987. text: [],
  988. textList: [],
  989. line: [],
  990. lineList: [],
  991. chapTools: [],
  992. chapToolList: [],
  993. file: [],
  994. vedioTime: [],
  995. upToolImg: "",
  996. rateList: {
  997. ca: 0,
  998. },
  999. rateParams: [],
  1000. colors: ["#DFDFDF", "#DFDFDF", "#DFDFDF"],
  1001. studyJuri: [
  1002. {
  1003. content: "",
  1004. cover: [],
  1005. upVedio: [],
  1006. upFile: [],
  1007. },
  1008. ],
  1009. mr: require("../../assets/vedioPic.png"),
  1010. word: require("../../assets/icon/word2.png"),
  1011. zip: require("../../assets/icon/zip.png"),
  1012. video: require("../../assets/icon/isVideo.png"),
  1013. noLikes: require("../../assets/icon/comment/noLikes.png"),
  1014. likes: require("../../assets/icon/comment/likes.png"),
  1015. scoreImg: require("../../assets/score.png"),
  1016. courseDetail: {},
  1017. isSelect: false,
  1018. chapInfo: [],
  1019. chapInfoList: [],
  1020. taskCount: 0,
  1021. imgList: [],
  1022. noImgList: [],
  1023. pzList: [],
  1024. PlTextList: [
  1025. "Excellent!",
  1026. "nice!",
  1027. "很有创意!",
  1028. "还不错哦~",
  1029. "继续努力哦~",
  1030. ],
  1031. isClickNav: "",
  1032. navId: "",
  1033. playerOptions: {
  1034. playbackRates: [0.7, 1.0, 1.5, 2.0], //播放速度
  1035. autoplay: false, //如果true,浏览器准备好时开始回放。
  1036. muted: false, // 默认情况下将会消除任何音频。
  1037. loop: false, // 导致视频一结束就重新开始。
  1038. preload: "auto", // 建议浏览器在<video>加载元素后是否应该开始下载视频数据。auto浏览器选择最佳行为,立即开始加载视频(如果浏览器支持)
  1039. language: "zh-CN",
  1040. aspectRatio: "16:9", // 将播放器置于流畅模式,并在计算播放器的动态大小时使用该值。值应该代表一个比例 - 用冒号分隔的两个数字(例如"16:9"或"4:3")
  1041. fluid: true, // 当true时,Video.js player将拥有流体大小。换句话说,它将按比例缩放以适应其容器。
  1042. sources: [
  1043. {
  1044. type: "video/mp4", //这里的种类支持很多种:基本视频格式、直播、流媒体等,具体可以参看git网址项目 || "video/ogg"|| "video/webm"
  1045. src: "", //url地址require("../../../../assets/media/aaa.mp4")
  1046. },
  1047. ],
  1048. // poster: require("../../../../assets/tu31.png"), //你的封面地址
  1049. // poster: dataRes.imgUrl, //你的封面地址
  1050. notSupportedMessage: "此视频暂无法播放,请稍后再试", //允许覆盖Video.js无法播放媒体源时显示的默认信息。
  1051. controlBar: {
  1052. timeDivider: true, //当前时间和持续时间的分隔符
  1053. durationDisplay: true, //显示持续时间
  1054. remainingTimeDisplay: false, //是否显示剩余时间功能
  1055. fullscreenToggle: true, //全屏按钮
  1056. },
  1057. },
  1058. playerOptions1: {
  1059. playbackRates: [0.7, 1.0, 1.5, 2.0], //播放速度
  1060. autoplay: false, //如果true,浏览器准备好时开始回放。
  1061. muted: false, // 默认情况下将会消除任何音频。
  1062. loop: false, // 导致视频一结束就重新开始。
  1063. preload: "auto", // 建议浏览器在<video>加载元素后是否应该开始下载视频数据。auto浏览器选择最佳行为,立即开始加载视频(如果浏览器支持)
  1064. language: "zh-CN",
  1065. aspectRatio: "16:9", // 将播放器置于流畅模式,并在计算播放器的动态大小时使用该值。值应该代表一个比例 - 用冒号分隔的两个数字(例如"16:9"或"4:3")
  1066. fluid: true, // 当true时,Video.js player将拥有流体大小。换句话说,它将按比例缩放以适应其容器。
  1067. sources: [
  1068. {
  1069. type: "video/mp4", //这里的种类支持很多种:基本视频格式、直播、流媒体等,具体可以参看git网址项目 || "video/ogg"|| "video/webm"
  1070. src: "", //url地址require("../../../../assets/media/aaa.mp4")
  1071. },
  1072. ],
  1073. // poster: require("../../../../assets/tu31.png"), //你的封面地址
  1074. // poster: dataRes.imgUrl, //你的封面地址
  1075. notSupportedMessage: "此视频暂无法播放,请稍后再试", //允许覆盖Video.js无法播放媒体源时显示的默认信息。
  1076. controlBar: {
  1077. timeDivider: true, //当前时间和持续时间的分隔符
  1078. durationDisplay: true, //显示持续时间
  1079. remainingTimeDisplay: false, //是否显示剩余时间功能
  1080. fullscreenToggle: true, //全屏按钮
  1081. },
  1082. },
  1083. playerO: {},
  1084. noneBtnImg: false,
  1085. proVisible: false,
  1086. progress: 0,
  1087. questionAnswer: "",
  1088. answerQ: "", //问答标题
  1089. rateJson: [],
  1090. wbCount: 0,
  1091. wordCount: 0,
  1092. mindCount: 0,
  1093. askCount: 0,
  1094. noteCount: 0,
  1095. mindNetWorkCount: 0,
  1096. libraryCount: 0,
  1097. workCount: 0,
  1098. timeCount: 0,
  1099. answerCount: 0,
  1100. trainCount: 0,
  1101. evalCount: 0,
  1102. dialogImageUrl: "",
  1103. pictureDialog: false,
  1104. toolTypeList: [],
  1105. dialogVisible1: false,
  1106. dialogVisible2: false,
  1107. dialogVisible3: false,
  1108. dialogVisible6: false,
  1109. dialogVisible4: false,
  1110. isNoHomeWork: false,
  1111. dialogVisible5: false,
  1112. dialogVisibleChoice: false,
  1113. answerDialogVisible: false,
  1114. juriVisible: false,
  1115. timeDialogVisible: false,
  1116. radio: [],
  1117. isAsk: false,
  1118. askJson: {
  1119. askCount: 1,
  1120. askTitle: "",
  1121. askJson: [{ askstitle: "", askItem: 1, checkList: [] }],
  1122. },
  1123. testJson: {},
  1124. checkJson: [],
  1125. askList: [],
  1126. answerList: [],
  1127. navList: [],
  1128. addPzDialog: false,
  1129. pzConText: "",
  1130. worksStudent: [],
  1131. workStudent: [],
  1132. groupStudent: [],
  1133. groupStudentUid: [],
  1134. noWorksS: [],
  1135. isWorksS: [],
  1136. noWorksStudent: [],
  1137. toolindex: 0,
  1138. groupIndex: 0,
  1139. workTypeA: false,
  1140. workTypeB: false,
  1141. workTypeC: false,
  1142. isAnswer: false,
  1143. timer: null,
  1144. showType: 0,
  1145. fileType: 0,
  1146. showPDF: false,
  1147. noteName: "",
  1148. evaJuri: [],
  1149. evalua: "",
  1150. eTitle: "",
  1151. eName: "",
  1152. eJson: {},
  1153. fid: "", //一级
  1154. sid: "", //二级
  1155. tid: "", //二级
  1156. typeMode: 1,
  1157. eJSONNum: 0,
  1158. Etype: 1,
  1159. data: {
  1160. meta: {
  1161. name: "example",
  1162. author: "dd@163.com",
  1163. version: "0.2",
  1164. },
  1165. format: "node_array",
  1166. data: [{ id: "root", isroot: true, topic: "" }],
  1167. },
  1168. fullDialogVisible: false,
  1169. fulltype: "",
  1170. fullUrl: "",
  1171. commentIndexJson: {},
  1172. Stbodywidth: 0,
  1173. pzType: 1,
  1174. wScore: 0,
  1175. scoreDetail: "",
  1176. videoStart: false,
  1177. recorder: null,
  1178. groupJson: {},
  1179. groupJson2: {},
  1180. dialogVisibleGroup: false,
  1181. dialogVisibleGroup2: false,
  1182. updateGroupArray: [],
  1183. updateGroupUser: {},
  1184. deleteGroupUser: [],
  1185. deleteGroupArray: {},
  1186. checkChair: "",
  1187. checkDeleteGroup: [],
  1188. ManAarray: [],
  1189. chapterlist: [],
  1190. chapterIndex: 0,
  1191. courseUserid: "",
  1192. checkboxList3: [],
  1193. psType:1,
  1194. psJson: {
  1195. cxx: 0,
  1196. yssm: 0,
  1197. jsygn: 0,
  1198. kxdy: 0,
  1199. zpwcd: 0,
  1200. },
  1201. psJson2: {
  1202. cxx: 0,
  1203. yssm: 0,
  1204. jsygn: 0,
  1205. kxdd: 0,
  1206. zpwcd: 0,
  1207. },
  1208. psJson3: {
  1209. cxx: 0,
  1210. yssm: 0,
  1211. jsygn: 0,
  1212. kxdd: 0,
  1213. zpwcd: 0,
  1214. },
  1215. psJson4: {
  1216. z: 0,
  1217. }
  1218. };
  1219. },
  1220. methods: {
  1221. jump() {
  1222. window.parent.postMessage({ tools: "43" }, "*");
  1223. },
  1224. previewImg(url) {
  1225. this.$hevueImgPreview(url);
  1226. },
  1227. openTable(f) {
  1228. this.tableJson.text = JSON.parse(f);
  1229. this.dialogVisibleTable2 = true;
  1230. },
  1231. change(val) {
  1232. console.log(val);
  1233. },
  1234. goTo(path) {
  1235. this.$router.push(path);
  1236. },
  1237. handlePictureCardPreview(url) {
  1238. this.dialogImageUrl = url;
  1239. this.pictureDialog = true;
  1240. },
  1241. clean(type) {
  1242. if (type == 1) {
  1243. this.studyJuri[0].cover.splice(0, 1);
  1244. } else if (type == 2) {
  1245. this.studyJuri[0].upVedio.splice(0, 1);
  1246. } else {
  1247. this.studyJuri[0].upFile.splice(0, 1);
  1248. }
  1249. },
  1250. handleClose(done) {
  1251. this.videoDetail = {};
  1252. this.commentIndexJson = {};
  1253. done();
  1254. },
  1255. fullTools() {
  1256. this.full = !this.full;
  1257. },
  1258. imgChange(file, fileList, type) {
  1259. if (type == 1) {
  1260. var _tmp = this.studyJuri[0].cover;
  1261. } else if (type == 2) {
  1262. var _tmp = this.studyJuri[0].upVedio;
  1263. } else {
  1264. var _tmp = this.studyJuri[0].upFile;
  1265. }
  1266. this.noneBtnImg = _tmp.length >= 1;
  1267. },
  1268. addImg(e) {
  1269. var el = e.currentTarget;
  1270. // this.$message.success('触发上传')
  1271. el.getElementsByTagName("input")[0].click();
  1272. },
  1273. addSelectAnswer() {
  1274. let params = [
  1275. {
  1276. uid: this.userid,
  1277. cid: this.id,
  1278. stage: this.courseType,
  1279. task: this.taskCount,
  1280. tool: this.toolindex,
  1281. content: this.selectAnswer.answer,
  1282. type: 7,
  1283. },
  1284. ];
  1285. this.ajax
  1286. .post(this.$store.state.api + "addCourseWorks", params)
  1287. .then((res) => {
  1288. this.$message({
  1289. message: "提交成功",
  1290. type: "success",
  1291. });
  1292. this.dialogVisibleSelect = false;
  1293. // this.selectAnswer = {};
  1294. this.selectSWorks();
  1295. this.selectStudent();
  1296. })
  1297. .catch((err) => {
  1298. this.$message.error("提交失败");
  1299. console.error(err);
  1300. });
  1301. },
  1302. addPz(type, content) {
  1303. if (type == "1" && this.pzConText == "") {
  1304. this.$message.error("批注不能为空!");
  1305. return;
  1306. }
  1307. let params = [
  1308. {
  1309. cid: this.id,
  1310. uid: this.userid,
  1311. s: this.courseType,
  1312. t: this.taskCount,
  1313. c: type == "1" ? this.pzConText.replaceAll(/%/g, "%25") : content,
  1314. type: type,
  1315. },
  1316. ];
  1317. this.ajax
  1318. .post(this.$store.state.api + "addPz2", params)
  1319. .then((res) => {
  1320. this.$message({
  1321. message: "添加成功",
  1322. type: "success",
  1323. });
  1324. this.pzConText = "";
  1325. this.addPzDialog = false;
  1326. this.selectPz();
  1327. })
  1328. .catch((err) => {
  1329. this.$message.error("添加失败");
  1330. console.error(err);
  1331. });
  1332. },
  1333. deletePz(id) {
  1334. this.$confirm("确定删除此批注吗?", "提示", {
  1335. confirmButtonText: "确定",
  1336. cancelButtonText: "取消",
  1337. type: "warning",
  1338. })
  1339. .then(() => {
  1340. let params = [
  1341. {
  1342. id: id,
  1343. },
  1344. ];
  1345. this.ajax
  1346. .post(this.$store.state.api + "deletePz", params)
  1347. .then((res) => {
  1348. this.$message({
  1349. message: "删除成功",
  1350. type: "success",
  1351. });
  1352. this.selectPz();
  1353. })
  1354. .catch((err) => {
  1355. this.$message.error("网络异常");
  1356. console.error(err);
  1357. });
  1358. })
  1359. .catch(() => { });
  1360. },
  1361. selectPz() {
  1362. let params = {
  1363. cid: this.id,
  1364. s: this.courseType,
  1365. t: this.taskCount,
  1366. };
  1367. this.ajax
  1368. .get(this.$store.state.api + "selectPzList", params)
  1369. .then((res) => {
  1370. this.pzList = res.data[0];
  1371. })
  1372. .catch((err) => {
  1373. console.error(err);
  1374. });
  1375. },
  1376. selectPs() {
  1377. let params = {
  1378. cid: this.id,
  1379. };
  1380. this.ajax
  1381. .get(this.$store.state.api + "getReview", params)
  1382. .then((res) => {
  1383. if (res.data[0].length) {
  1384. this.psType = res.data[0][0].type
  1385. if(this.psType == '1'){
  1386. this.psJson = JSON.parse(res.data[0][0].score)
  1387. }else if(this.psType == '2'){
  1388. this.psJson2 = JSON.parse(res.data[0][0].score)
  1389. }else if(this.psType == '3'){
  1390. this.psJson3 = JSON.parse(res.data[0][0].score)
  1391. }else if(this.psType == '4'){
  1392. this.psJson4 = JSON.parse(res.data[0][0].score)
  1393. }
  1394. // this.psJson = JSON.parse(res.data[0][0].score)
  1395. }
  1396. })
  1397. .catch((err) => {
  1398. console.error(err);
  1399. });
  1400. },
  1401. addPs() {
  1402. let psJson = {}
  1403. if(this.psType == '1'){
  1404. psJson =this.psJson
  1405. }else if(this.psType == '2'){
  1406. psJson =this.psJson2
  1407. }else if(this.psType == '3'){
  1408. psJson =this.psJson3
  1409. }else if(this.psType == '4'){
  1410. psJson =this.psJson4
  1411. }
  1412. let params = [{
  1413. uid: this.userid,
  1414. cid: this.id,
  1415. psJson: JSON.stringify(psJson),
  1416. type: this.psType,
  1417. }];
  1418. this.ajax
  1419. .post(this.$store.state.api + "reviewCourse", params)
  1420. .then((res) => {
  1421. if (res.data) {
  1422. this.$message.success('保存成功')
  1423. }
  1424. })
  1425. .catch((err) => {
  1426. console.error(err);
  1427. });
  1428. },
  1429. allScrell() {
  1430. window.parent.postMessage({ allScreen: this.screenType + "s" }, "*");
  1431. },
  1432. nextOrpreSteps(t) {
  1433. var b = this.chapInfoList.length - 1;
  1434. if (t == 0) {
  1435. if (this.courseType == 0) {
  1436. if (this.taskCount == 0) {
  1437. // console.log(this.navList[b].task[this.navList[b].task.length - 1].isLook);
  1438. if (this.IsLookOpen) {
  1439. if (
  1440. !this.navList[b].task[this.navList[b].task.length - 1].isLook
  1441. ) {
  1442. if (this.courseDetail.userid != this.userid) {
  1443. this.$message.error("任务未解锁");
  1444. } else {
  1445. this.$message.error("上一任务未解锁");
  1446. }
  1447. return;
  1448. }
  1449. }
  1450. this.navList[this.courseType].isOpen = false;
  1451. this.courseType = b;
  1452. this.taskCount =
  1453. this.chapInfoList[this.courseType].chapterInfo[0].taskJson
  1454. .length - 1;
  1455. this.navList[this.courseType].isOpen = true;
  1456. } else {
  1457. this.taskCount--;
  1458. }
  1459. } else {
  1460. if (this.taskCount == 0) {
  1461. this.navList[this.courseType].isOpen = false;
  1462. this.courseType--;
  1463. this.taskCount =
  1464. this.chapInfoList[this.courseType].chapterInfo[0].taskJson
  1465. .length - 1;
  1466. this.navList[this.courseType].isOpen = true;
  1467. } else {
  1468. this.taskCount--;
  1469. }
  1470. }
  1471. } else {
  1472. if (this.courseType == b) {
  1473. if (
  1474. this.taskCount ==
  1475. this.chapInfoList[this.courseType].chapterInfo[0].taskJson.length -
  1476. 1
  1477. ) {
  1478. this.navList[this.courseType].isOpen = false;
  1479. this.courseType = 0;
  1480. this.taskCount = 0;
  1481. this.navList[this.courseType].isOpen = true;
  1482. } else {
  1483. var bbb = parseInt(this.taskCount) + 1;
  1484. if (
  1485. !this.chapInfoList[this.courseType].chapterInfo[0].taskJson[bbb]
  1486. .isLook &&
  1487. this.courseDetail.userid != this.userid &&
  1488. this.IsLookOpen
  1489. ) {
  1490. this.$message.error("任务未解锁");
  1491. return;
  1492. }
  1493. this.taskCount++;
  1494. if (this.IsLookOpen) {
  1495. this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
  1496. this.taskCount
  1497. ].isLook = true;
  1498. this.addCourseState(3);
  1499. }
  1500. }
  1501. } else {
  1502. if (
  1503. this.taskCount ==
  1504. this.chapInfoList[this.courseType].chapterInfo[0].taskJson.length -
  1505. 1
  1506. ) {
  1507. var bbb = parseInt(this.courseType) + 1;
  1508. if (
  1509. !this.chapInfoList[bbb].chapterInfo[0].taskJson[0].isLook &&
  1510. this.courseDetail.userid != this.userid &&
  1511. this.IsLookOpen
  1512. ) {
  1513. this.$message.error("任务未解锁");
  1514. return;
  1515. }
  1516. this.navList[this.courseType].isOpen = false;
  1517. this.courseType++;
  1518. this.taskCount = 0;
  1519. this.navList[this.courseType].isOpen = true;
  1520. } else {
  1521. var bbb = parseInt(this.taskCount) + 1;
  1522. if (
  1523. !this.chapInfoList[this.courseType].chapterInfo[0].taskJson[bbb]
  1524. .isLook &&
  1525. this.courseDetail.userid != this.userid &&
  1526. this.IsLookOpen
  1527. ) {
  1528. this.$message.error("任务未解锁");
  1529. return;
  1530. }
  1531. this.taskCount++;
  1532. }
  1533. if (this.IsLookOpen) {
  1534. this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
  1535. this.taskCount
  1536. ].isLook = true;
  1537. this.addCourseState(3);
  1538. }
  1539. }
  1540. }
  1541. document.scrollingElement.scrollTop = 0;
  1542. this.showType = 0;
  1543. this.navId = this.navList[this.courseType].task[this.taskCount].id;
  1544. this.isNoHomeWork = false;
  1545. (this.studyJuri = [
  1546. {
  1547. content: "",
  1548. cover: [],
  1549. upVedio: [],
  1550. upFile: [],
  1551. },
  1552. ]),
  1553. (this.radio = []);
  1554. this.isClickNav = "";
  1555. this.selectPz();
  1556. this.getCourseDetail();
  1557. this.$forceUpdate();
  1558. },
  1559. openTask(s, n, i) {
  1560. if (this.IsLookOpen) {
  1561. if (
  1562. !this.chapInfoList[s].chapterInfo[0].taskJson[n].isLook &&
  1563. this.courseDetail.userid != this.userid
  1564. ) {
  1565. this.$message.error("任务未解锁");
  1566. return;
  1567. }
  1568. if (this.courseType == s && this.taskCount != n && n > this.taskCount) {
  1569. if (
  1570. !this.chapInfoList[this.courseType].chapterInfo[0].taskJson[n - 1]
  1571. .isLook
  1572. ) {
  1573. this.$message.error("上一任务未解锁");
  1574. return;
  1575. }
  1576. } else if (s > this.courseType) {
  1577. if (n > 0) {
  1578. if (!this.chapInfoList[s].chapterInfo[0].taskJson[n - 1].isLook) {
  1579. this.$message.error("上一任务未解锁");
  1580. return;
  1581. }
  1582. } else {
  1583. if (
  1584. !this.chapInfoList[s - 1].chapterInfo[0].taskJson[
  1585. this.chapInfoList[s - 1].chapterInfo[0].taskJson.length - 1
  1586. ].isLook
  1587. ) {
  1588. this.$message.error("上一任务未解锁");
  1589. return;
  1590. }
  1591. }
  1592. }
  1593. }
  1594. this.courseType = s;
  1595. this.navId = i;
  1596. this.taskCount = n;
  1597. if (this.IsLookOpen) {
  1598. this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
  1599. this.taskCount
  1600. ].isLook = true;
  1601. this.addCourseState(3);
  1602. }
  1603. this.showType = 0;
  1604. this.isNoHomeWork = false;
  1605. (this.studyJuri = [
  1606. {
  1607. content: "",
  1608. cover: [],
  1609. upVedio: [],
  1610. upFile: [],
  1611. },
  1612. ]),
  1613. (this.radio = []);
  1614. document.scrollingElement.scrollTop = 0;
  1615. this.getCourseDetail();
  1616. },
  1617. get(i) {
  1618. this.navList[i].isOpen = !this.navList[i].isOpen;
  1619. },
  1620. setChapterIndex(index) {
  1621. this.chapterIndex = index;
  1622. this.$nextTick(function () {
  1623. setTimeout(() => {
  1624. var a = document.getElementsByClassName("box_course")[0].offsetHeight;
  1625. document.getElementsByClassName("vedioList")[0].style.height =
  1626. a + "px";
  1627. }, 500);
  1628. });
  1629. },
  1630. getCourseDetail(type, gindex) {
  1631. let loading;
  1632. if (type != 2) {
  1633. loading = this.$loading.service({
  1634. background: "rgba(255, 255, 255, 0.7)",
  1635. target: document.querySelector(".student_table"),
  1636. });
  1637. }
  1638. let params = {
  1639. courseId: this.id,
  1640. };
  1641. this.ajax
  1642. .get(this.$store.state.api + "selectStudentCourseDetail", params)
  1643. .then((res) => {
  1644. if (type != 2) {
  1645. loading.close();
  1646. let _ctype = false
  1647. if (this.courseType != 0 && !this.courseType) {
  1648. _ctype = true
  1649. }
  1650. if (this.tType == 5 && _ctype) {
  1651. this.courseType = JSON.parse(res.data[0][0].chapters).length - 1
  1652. }
  1653. var a = JSON.parse(res.data[0][0].chapters)[this.courseType]
  1654. .chapterInfo[0].taskJson;
  1655. if (this.tType == 5 && _ctype) {
  1656. this.taskCount = a.length - 1
  1657. }
  1658. this.courseDetail = res.data[0][0];
  1659. this.courseUserid = res.data[0][0].userid;
  1660. this.checkboxList3 = res.data[0][0].course_teacher
  1661. ? res.data[0][0].course_teacher.split(",")
  1662. : [];
  1663. this.chapInfo = JSON.parse(this.courseDetail.chapters)[
  1664. this.courseType
  1665. ];
  1666. this.chapterlist = [];
  1667. this.chapterlist = JSON.parse(
  1668. JSON.stringify(a[this.taskCount].chapterData)
  1669. );
  1670. this.chapterIndex = 0;
  1671. this.chapInfoList = JSON.parse(this.courseDetail.chapters);
  1672. if (this.chapterlist.length) {
  1673. for (var k = 0; k < this.chapterlist.length; k++) {
  1674. if (this.chapterlist[k].type == 2) {
  1675. var d = JSON.parse(JSON.stringify(this.playerOptions));
  1676. d.sources[0].src = this.chapterlist[k].url;
  1677. this.chapterlist[k].src = d;
  1678. } else if (this.chapterlist[k].type == 3) {
  1679. this.chapterlist[k].src =
  1680. "https://view.officeapps.live.com/op/view.aspx?src=" +
  1681. this.chapterlist[k].url;
  1682. } else if (this.chapterlist[k].type == 6) {
  1683. this.chapterlist[k].name += ".doc";
  1684. } else if (this.chapterlist[k].type == 8) {
  1685. if (
  1686. this.chapterlist[k].url.indexOf("https://") == -1 &&
  1687. this.chapterlist[k].url.indexOf("http://") == -1
  1688. ) {
  1689. this.chapterlist[k].src =
  1690. "https://" + this.chapterlist[k].url;
  1691. } else {
  1692. this.chapterlist[k].src = this.chapterlist[k].url;
  1693. }
  1694. } else if (this.chapterlist[k].type == 9) {
  1695. this.chapterlist[k].src = this.chapterlist[k].url;
  1696. }
  1697. }
  1698. this.$nextTick(function () {
  1699. // setTimeout(() => {
  1700. // var a =
  1701. // document.getElementsByClassName("box_course")[0].offsetHeight;
  1702. // document.getElementsByClassName("vedioList")[0].style.height =
  1703. // a + "px";
  1704. // }, 500);
  1705. });
  1706. }
  1707. for (var l = 0; l < this.chapInfoList.length; l++) {
  1708. var w = this.chapInfoList[l].chapterInfo[0].taskJson;
  1709. for (var m = 0; m < w.length; m++) {
  1710. w[m].id = l + "-" + m;
  1711. }
  1712. }
  1713. let unitJson = this.chapInfoList;
  1714. let works = res.data[3];
  1715. console.log(unitJson);
  1716. for (var i = 0; i < unitJson.length; i++) {
  1717. let task = unitJson[i].chapterInfo[0].taskJson;
  1718. for (var j = 0; j < task.length; j++) {
  1719. var tool = task[j].toolArray;
  1720. for (var z = 0; z < tool.length; z++) {
  1721. let _tool = tool[z];
  1722. _tool.toolPhoto = [];
  1723. _tool.people = [];
  1724. this.checkJson[z] = [];
  1725. let checkPeople = 0;
  1726. for (var k = 0; k < works.length; k++) {
  1727. let _work = works[k];
  1728. if (
  1729. _work.stage == i &&
  1730. _work.task == j &&
  1731. _work.tool == z &&
  1732. _work.atool == _tool.tool
  1733. ) {
  1734. if (_tool.tool == 1) {
  1735. _work.workContent = `${_work.username}使用电子白板提交了:`;
  1736. } else if (_tool.tool == 3) {
  1737. _work.workContent = `${_work.username}使用思维导图提交了:`;
  1738. } else if (_tool.tool == 6) {
  1739. _work.workContent = `${_work.username}使用协同文档提交了:`;
  1740. } else if (_tool.tool == 15) {
  1741. _work.workContent = `${_work.username}使用问答工具提交了:`;
  1742. } else if (_tool.tool == 53) {
  1743. _work.workContent = `${_work.username}使用文件上传提交了:`;
  1744. } else if (_tool.tool == 54) {
  1745. _work.workContent = `${_work.username}使用拍照提交了:`;
  1746. } else if (_tool.tool == 55) {
  1747. _work.workContent = `${_work.username}使用压缩文件提交了:`;
  1748. } else if (_tool.tool == 56) {
  1749. _work.workContent = `${_work.username}使用投票提交了:`;
  1750. checkPeople++;
  1751. var checkL = JSON.parse(_work.content);
  1752. for (var kz = 0; kz < checkL.length; kz++) {
  1753. if (!this.checkJson[z][kz]) {
  1754. this.checkJson[z].push({
  1755. checkCount: [],
  1756. checkPerson: [],
  1757. rightPerson: [],
  1758. });
  1759. }
  1760. if (!this.checkJson[z][kz].checkCount.length) {
  1761. this.checkJson[z][kz].checkCount = [];
  1762. let _askItemCount =
  1763. _tool.askJson.askJson[kz].askItem;
  1764. for (var aic = 0; aic < _askItemCount; aic++) {
  1765. this.checkJson[z][kz].checkCount.push(0);
  1766. }
  1767. }
  1768. this.checkJson[z][kz].checkPerson[
  1769. parseInt(checkL[kz])
  1770. ]
  1771. ? this.checkJson[z][kz].checkPerson[
  1772. parseInt(checkL[kz])
  1773. ].push(_work.username)
  1774. : (this.checkJson[z][kz].checkPerson[
  1775. parseInt(checkL[kz])
  1776. ] = [_work.username]);
  1777. this.checkJson[z][kz].checkCount[parseInt(checkL[kz])]
  1778. ? this.checkJson[z][kz].checkCount[
  1779. parseInt(checkL[kz])
  1780. ]++
  1781. : (this.checkJson[z][kz].checkCount[
  1782. parseInt(checkL[kz])
  1783. ] = 1);
  1784. }
  1785. }
  1786. if (_tool.tool == 48 || _tool.tool == 52) {
  1787. _tool.toolPhoto[0] = _work;
  1788. if (_tool.people.indexOf(_work.username) == -1) {
  1789. _tool.people.push(_work.username);
  1790. }
  1791. } else {
  1792. _tool.toolPhoto.push(_work);
  1793. }
  1794. }
  1795. }
  1796. if (_tool.tool == 48) {
  1797. _tool.toolPhoto.length &&
  1798. (_tool.toolPhoto[0].workContent = `${_tool.people.join(
  1799. ","
  1800. )}使用表格提交了:`);
  1801. } else if (_tool.tool == 52) {
  1802. _tool.toolPhoto.length &&
  1803. (_tool.toolPhoto[0].workContent = `${_tool.people.join(
  1804. ","
  1805. )}使用文档提交了:`);
  1806. }
  1807. for (var kz = 0; kz < this.checkJson[z].length; kz++) {
  1808. this.checkJson[z][kz].checkPerent = [];
  1809. let aaaa = this.checkJson[z][kz];
  1810. console.log(aaaa);
  1811. for (
  1812. var kc = 0;
  1813. kc < this.checkJson[z][kz].checkCount.length;
  1814. kc++
  1815. ) {
  1816. this.checkJson[z][kz].checkPerent.push(
  1817. Math.round(
  1818. (this.checkJson[z][kz].checkCount[kc] / checkPeople) *
  1819. 100
  1820. )
  1821. );
  1822. }
  1823. }
  1824. if (_tool.tool == 51) {
  1825. _tool.sourceIndex = 0;
  1826. }
  1827. }
  1828. }
  1829. }
  1830. this.setVHeight();
  1831. this.getTeacher();
  1832. } else {
  1833. this.courseDetail = res.data[0][0];
  1834. // this.chapInfoList = JSON.parse(this.courseDetail.chapters);
  1835. let unitJson = this.chapInfoList;
  1836. let works = res.data[3];
  1837. for (var i = 0; i < unitJson.length; i++) {
  1838. let task = unitJson[i].chapterInfo[0].taskJson;
  1839. for (var j = 0; j < task.length; j++) {
  1840. var tool = task[j].toolArray;
  1841. for (var z = 0; z < tool.length; z++) {
  1842. let _tool = tool[z];
  1843. _tool.toolPhoto = [];
  1844. _tool.people = [];
  1845. this.checkJson[z] = [];
  1846. let checkPeople = 0;
  1847. for (var k = 0; k < works.length; k++) {
  1848. let _work = works[k];
  1849. if (
  1850. _work.stage == i &&
  1851. _work.task == j &&
  1852. _work.tool == z &&
  1853. _work.atool == _tool.tool
  1854. ) {
  1855. if (_tool.tool == 1) {
  1856. _work.workContent = `${_work.username}使用电子白板提交了:`;
  1857. } else if (_tool.tool == 3) {
  1858. _work.workContent = `${_work.username}使用思维导图提交了:`;
  1859. } else if (_tool.tool == 6) {
  1860. _work.workContent = `${_work.username}使用协同文档提交了:`;
  1861. } else if (_tool.tool == 15) {
  1862. _work.workContent = `${_work.username}使用问答工具提交了:`;
  1863. } else if (_tool.tool == 53) {
  1864. _work.workContent = `${_work.username}使用文件上传提交了:`;
  1865. } else if (_tool.tool == 54) {
  1866. _work.workContent = `${_work.username}使用拍照提交了:`;
  1867. } else if (_tool.tool == 55) {
  1868. _work.workContent = `${_work.username}使用压缩文件提交了:`;
  1869. } else if (_tool.tool == 56) {
  1870. console.log(_tool);
  1871. _work.workContent = `${_work.username}使用投票提交了:`;
  1872. checkPeople++;
  1873. var checkL = JSON.parse(_work.content);
  1874. for (var kz = 0; kz < checkL.length; kz++) {
  1875. if (!this.checkJson[z][kz]) {
  1876. this.checkJson[z].push({
  1877. checkCount: [],
  1878. checkPerson: [],
  1879. rightPerson: [],
  1880. });
  1881. }
  1882. if (!this.checkJson[z][kz].checkCount.length) {
  1883. this.checkJson[z][kz].checkCount = [];
  1884. let _askItemCount =
  1885. _tool.askJson.askJson[kz].askItem;
  1886. for (var aic = 0; aic < _askItemCount; aic++) {
  1887. this.checkJson[z][kz].checkCount.push(0);
  1888. }
  1889. }
  1890. this.checkJson[z][kz].checkPerson[
  1891. parseInt(checkL[kz])
  1892. ]
  1893. ? this.checkJson[z][kz].checkPerson[
  1894. parseInt(checkL[kz])
  1895. ].push(_work.username)
  1896. : (this.checkJson[z][kz].checkPerson[
  1897. parseInt(checkL[kz])
  1898. ] = [_work.username]);
  1899. console.log(_work.username);
  1900. this.checkJson[z][kz].checkCount[parseInt(checkL[kz])]
  1901. ? this.checkJson[z][kz].checkCount[
  1902. parseInt(checkL[kz])
  1903. ]++
  1904. : (this.checkJson[z][kz].checkCount[
  1905. parseInt(checkL[kz])
  1906. ] = 1);
  1907. }
  1908. }
  1909. if (_tool.tool == 48 || _tool.tool == 52) {
  1910. _tool.toolPhoto[0] = _work;
  1911. if (_tool.people.indexOf(_work.username) == -1) {
  1912. _tool.people.push(_work.username);
  1913. }
  1914. } else {
  1915. _tool.toolPhoto.push(_work);
  1916. }
  1917. }
  1918. }
  1919. if (_tool.tool == 48) {
  1920. _tool.toolPhoto.length &&
  1921. (_tool.toolPhoto[0].workContent = `${_tool.people.join(
  1922. ","
  1923. )}使用表格提交了:`);
  1924. } else if (_tool.tool == 52) {
  1925. _tool.toolPhoto.length &&
  1926. (_tool.toolPhoto[0].workContent = `${_tool.people.join(
  1927. ","
  1928. )}使用文档提交了:`);
  1929. }
  1930. for (var kz = 0; kz < this.checkJson[z].length; kz++) {
  1931. this.checkJson[z][kz].checkPerent = [];
  1932. let aaaa = this.checkJson[z][kz];
  1933. console.log(aaaa);
  1934. for (
  1935. var kc = 0;
  1936. kc < this.checkJson[z][kz].checkCount.length;
  1937. kc++
  1938. ) {
  1939. this.checkJson[z][kz].checkPerent.push(
  1940. Math.round(
  1941. (this.checkJson[z][kz].checkCount[kc] / checkPeople) *
  1942. 100
  1943. )
  1944. );
  1945. }
  1946. }
  1947. }
  1948. }
  1949. }
  1950. }
  1951. this.selectSLook();
  1952. let _this = this;
  1953. if (_this.timer) {
  1954. clearInterval(_this.timer);
  1955. _this.timer = null;
  1956. }
  1957. if (_this.tType == 4) {
  1958. _this.selectPz();
  1959. }
  1960. _this.timer = setInterval(function () {
  1961. _this.getCourseDetail(2);
  1962. // if (_this.tType == 4) {
  1963. // _this.selectPz();
  1964. // }
  1965. }, 5000);
  1966. })
  1967. .catch((err) => {
  1968. loading.close();
  1969. console.error(err);
  1970. });
  1971. },
  1972. updateSLook() {
  1973. let params = {
  1974. sopen: this.sIsOpen == false ? 1 : 2,
  1975. cid: this.id,
  1976. };
  1977. this.ajax
  1978. .get(this.$store.state.api + "updateCourseSLook", params)
  1979. .then((res) => {
  1980. if (this.sIsOpen == true) {
  1981. this.$message({
  1982. message: "权限设置成功",
  1983. type: "success",
  1984. });
  1985. } else {
  1986. this.$message({
  1987. message: "权限关闭成功",
  1988. type: "success",
  1989. });
  1990. }
  1991. })
  1992. .catch((err) => {
  1993. console.error(err);
  1994. });
  1995. },
  1996. updateLookOpen() {
  1997. let params = [
  1998. {
  1999. sopen: this.IsLookOpen == false ? 1 : 2,
  2000. cid: this.id,
  2001. },
  2002. ];
  2003. this.ajax
  2004. .post(this.$store.state.api + "updateCourseLookOpen", params)
  2005. .then((res) => {
  2006. if (this.IsLookOpen == true) {
  2007. // if (this.courseType != 0 && this.taskCount != 0) {
  2008. // this.openTask(0, 0, "0-0");
  2009. // }
  2010. this.$message({
  2011. message: "权限设置成功",
  2012. type: "success",
  2013. });
  2014. } else {
  2015. this.$message({
  2016. message: "权限关闭成功",
  2017. type: "success",
  2018. });
  2019. }
  2020. this.getCourseState(2);
  2021. })
  2022. .catch((err) => {
  2023. console.error(err);
  2024. });
  2025. },
  2026. selectSLook() {
  2027. this.sIsOpen = true;
  2028. this.IsLookOpen = false;
  2029. if (!this.IsLookOpen) {
  2030. this.setNavList();
  2031. } else {
  2032. this.getCourseState(1);
  2033. }
  2034. },
  2035. setNavList() {
  2036. if (this.navList.length == 0) {
  2037. this.navList = [];
  2038. for (var l = 0; l < this.chapInfoList.length; l++) {
  2039. var q = this.chapInfoList[l].dyName;
  2040. var w = this.chapInfoList[l].chapterInfo[0].taskJson;
  2041. var e;
  2042. this.navList.push({
  2043. dyName: q,
  2044. isOpen: l === 0 ? true : false,
  2045. task: [],
  2046. });
  2047. for (var r = 0; r < w.length; r++) {
  2048. e = w[r].task;
  2049. this.navList[l].task.push({
  2050. taskName: e,
  2051. id: l + "-" + r,
  2052. isLook: w[r].isLook,
  2053. });
  2054. // this.navId = this.navId ? this.navId : l + "-" + r;
  2055. // this.navId = l + "-" + r;
  2056. }
  2057. }
  2058. this.navList[0].isOpen = false;
  2059. this.navList[this.courseType].isOpen = true;
  2060. this.navId = this.navList[this.courseType].task[this.taskCount].id;
  2061. } else {
  2062. this.setNavList2();
  2063. }
  2064. },
  2065. setNavList2() {
  2066. for (var l = 0; l < this.chapInfoList.length; l++) {
  2067. var w = this.chapInfoList[l].chapterInfo[0].taskJson;
  2068. for (var r = 0; r < w.length; r++) {
  2069. this.navList[l].task[r].isLook = w[r].isLook;
  2070. }
  2071. }
  2072. if (
  2073. this.IsLookOpen &&
  2074. !this.navList[this.courseType].task[this.taskCount].isLook
  2075. ) {
  2076. this.openTask(0, 0, "0-0");
  2077. }
  2078. this.$forceUpdate();
  2079. },
  2080. getCourseState(type) {
  2081. let params = {
  2082. cid: this.id,
  2083. };
  2084. this.ajax
  2085. .get(this.$store.state.api + "getCourseState", params)
  2086. .then((res) => {
  2087. if (res.data[0].length > 0 && this.IsLookOpen && type == 1) {
  2088. this.chapInfoList = JSON.parse(res.data[0][0].state);
  2089. this.setNavList();
  2090. this.$forceUpdate();
  2091. } else if (res.data[0].length > 0 && this.IsLookOpen && type == 2) {
  2092. this.addCourseState(2);
  2093. } else {
  2094. this.addCourseState(1);
  2095. }
  2096. })
  2097. .catch((err) => {
  2098. console.error(err);
  2099. });
  2100. },
  2101. getTeacher() {
  2102. this.ManAarray = [];
  2103. if (this.checkboxList3.indexOf(this.courseUserid) == -1) {
  2104. this.checkboxList3.push(this.courseUserid);
  2105. }
  2106. let params = {
  2107. uid: this.checkboxList3.join(","),
  2108. };
  2109. this.ajax
  2110. .get(this.$store.state.api + "getAllUserById", params)
  2111. .then((res) => {
  2112. let teacherJuri = res.data[0];
  2113. this.ManAarray = teacherJuri;
  2114. })
  2115. .catch((err) => {
  2116. console.error(err);
  2117. });
  2118. },
  2119. addTools(t, i, index) {
  2120. var a = 0;
  2121. // this.taskCount = index;
  2122. this.toolindex = i;
  2123. if (t == 1) {
  2124. window.parent.postMessage(
  2125. {
  2126. tools: "1s",
  2127. cid: this.id,
  2128. stage: this.courseType,
  2129. task: this.taskCount,
  2130. tool: i,
  2131. },
  2132. "*"
  2133. );
  2134. } else if (t == 2) {
  2135. if (this.wordCount > 0) {
  2136. this.updateCount(this.wordCount, t);
  2137. } else {
  2138. this.wordCount++;
  2139. a = this.wordCount;
  2140. this.toolsCount(a, t);
  2141. }
  2142. window.parent.postMessage({ tools: "2" }, "*");
  2143. } else if (t == 3) {
  2144. window.parent.postMessage(
  2145. {
  2146. tools: "3s",
  2147. cid: this.id,
  2148. stage: this.courseType,
  2149. task: this.taskCount,
  2150. tool: i,
  2151. },
  2152. "*"
  2153. );
  2154. } else if (t == 4) {
  2155. this.radio = [];
  2156. this.noteName = "";
  2157. this.isAnswer = false;
  2158. if (this.askCount > 0) {
  2159. this.updateCount(this.askCount, t);
  2160. } else {
  2161. this.askCount++;
  2162. a = this.askCount;
  2163. this.toolsCount(a, t);
  2164. }
  2165. if (!this.dialogVisible2) {
  2166. this.askJson.askJson =
  2167. this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
  2168. index
  2169. ].toolChoose[i].askJson;
  2170. this.askJson.askTitle =
  2171. this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
  2172. index
  2173. ].toolChoose[i].askTitle;
  2174. this.askJson.askCount =
  2175. this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
  2176. index
  2177. ].toolChoose[i].askCount;
  2178. } else {
  2179. this.askJson.askJson = this.chapTools.askJson.askJson;
  2180. this.askJson.askTitle = this.chapTools.askJson.askTitle;
  2181. this.askJson.askCount = this.chapTools.askJson.askCount;
  2182. }
  2183. this.dialogVisible5 = true;
  2184. // window.parent.postMessage({ tools: "4" }, "*");
  2185. } else if (t == 45) {
  2186. this.noteName = "";
  2187. this.radio = [];
  2188. this.isAnswer = false;
  2189. if (this.askCount > 0) {
  2190. this.updateCount(this.askCount, t);
  2191. } else {
  2192. this.askCount++;
  2193. a = this.askCount;
  2194. this.toolsCount(a, t);
  2195. }
  2196. this.testJson =
  2197. this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
  2198. index
  2199. ].toolChoose[i].testJson;
  2200. for (var k = 0; k < this.testJson.testJson.length; k++) {
  2201. if (this.testJson.testJson[k].type == "2") {
  2202. this.radio.push([]);
  2203. } else {
  2204. this.radio.push("");
  2205. }
  2206. }
  2207. this.dialogVisibleChoice = true;
  2208. // window.parent.postMessage({ tools: "4" }, "*");
  2209. } else if (t == 5) {
  2210. if (this.scoreCount > 0) {
  2211. this.updateCount(this.scoreCount, t);
  2212. } else {
  2213. this.scoreCount++;
  2214. a = this.scoreCount;
  2215. this.toolsCount(a, t);
  2216. }
  2217. this.dialogVisible4 = true;
  2218. // window.parent.postMessage({ tools: "5" }, "*");
  2219. } else if (t == 6) {
  2220. window.parent.postMessage(
  2221. {
  2222. tools: "6s",
  2223. cid: this.id,
  2224. stage: this.courseType,
  2225. task: this.taskCount,
  2226. tool: i,
  2227. },
  2228. "*"
  2229. );
  2230. } else if (t == 7) {
  2231. if (this.mindNetWorkCount > 0) {
  2232. this.updateCount(this.mindNetWorkCount, t);
  2233. } else {
  2234. this.mindNetWorkCount++;
  2235. a = this.mindNetWorkCount;
  2236. this.toolsCount(a, t);
  2237. }
  2238. window.parent.postMessage(
  2239. {
  2240. tools: "7",
  2241. cid: this.id,
  2242. stage: this.courseType,
  2243. task: this.taskCount,
  2244. tool: i,
  2245. },
  2246. "*"
  2247. );
  2248. } else if (t == 16) {
  2249. if (this.workCount > 0) {
  2250. this.updateCount(this.workCount, t);
  2251. } else {
  2252. this.workCount++;
  2253. a = this.workCount;
  2254. this.toolsCount(a, t);
  2255. }
  2256. this.dialogVisible = true;
  2257. } else if (t == 8) {
  2258. if (this.libraryCount > 0) {
  2259. this.updateCount(this.libraryCount, t);
  2260. } else {
  2261. this.libraryCount++;
  2262. a = this.libraryCount;
  2263. this.toolsCount(a, t);
  2264. }
  2265. window.parent.postMessage({ tools: "8" }, "*");
  2266. } else if (t == 17) {
  2267. if (this.libraryCount > 0) {
  2268. this.updateCount(this.libraryCount, t);
  2269. } else {
  2270. this.libraryCount++;
  2271. a = this.libraryCount;
  2272. this.toolsCount(a, t);
  2273. }
  2274. window.parent.postMessage({ tools: "17" }, "*");
  2275. } else if (t == 18) {
  2276. if (this.trainCount > 0) {
  2277. this.updateCount(this.trainCount, t);
  2278. } else {
  2279. this.trainCount++;
  2280. a = this.trainCount;
  2281. this.toolsCount(a, t);
  2282. }
  2283. window.parent.postMessage({ tools: "18" }, "*");
  2284. } else if (t == 10) {
  2285. if (this.timeCount > 0) {
  2286. this.updateCount(this.timeCount, t);
  2287. } else {
  2288. this.timeCount++;
  2289. a = this.timeCount;
  2290. this.toolsCount(a, t);
  2291. }
  2292. this.timeDialogVisible = true;
  2293. } else if (t == 15) {
  2294. this.answerQ = "";
  2295. this.questionAnswer = "";
  2296. if (this.answerCount > 0) {
  2297. this.updateCount(this.answerCount, t);
  2298. } else {
  2299. this.answerCount++;
  2300. a = this.answerCount;
  2301. this.toolsCount(a, t);
  2302. }
  2303. this.answerQ = this.chapInfoList[this.courseType].chapterInfo[0]
  2304. .taskJson[index].toolChoose[i].answerQ
  2305. ? this.chapInfoList[this.courseType].chapterInfo[0].taskJson[index]
  2306. .toolChoose[i].answerQ
  2307. : "";
  2308. this.answerDialogVisible = true;
  2309. } else if (t == 21) {
  2310. window.parent.postMessage({ tools: "21" }, "*");
  2311. } else if (t == 22) {
  2312. window.parent.postMessage({ tools: "22" }, "*");
  2313. } else if (t == 23) {
  2314. window.parent.postMessage({ tools: "23" }, "*");
  2315. } else if (t == 24) {
  2316. window.parent.postMessage({ tools: "24" }, "*");
  2317. } else if (t == 25) {
  2318. window.parent.postMessage({ tools: "25" }, "*");
  2319. } else if (t == 31) {
  2320. window.parent.postMessage({ tools: "31" }, "*");
  2321. } else if (t == 28) {
  2322. window.parent.postMessage({ tools: "28" }, "*");
  2323. } else if (t == 37) {
  2324. window.parent.postMessage({ tools: "37" }, "*");
  2325. } else if (t == 38) {
  2326. window.parent.postMessage({ tools: "38" }, "*");
  2327. } else if (t == 39) {
  2328. window.parent.postMessage({ tools: "39" }, "*");
  2329. } else if (t == 32) {
  2330. window.parent.postMessage({ tools: "32" }, "*");
  2331. } else if (t == 26) {
  2332. window.parent.postMessage(
  2333. {
  2334. tools: "26",
  2335. cid: this.id,
  2336. stage: this.courseType,
  2337. task: this.taskCount,
  2338. tool: i,
  2339. },
  2340. "*"
  2341. );
  2342. } else if (t == 40) {
  2343. if (this.evalCount > 0) {
  2344. this.updateCount(this.evalCount, t);
  2345. } else {
  2346. this.evalCount++;
  2347. a = this.evalCount;
  2348. this.toolsCount(a, t);
  2349. }
  2350. this.eScore = { eBzText: "", eStar: [] };
  2351. if (this.worksStudent[i].length) {
  2352. for (var k = 0; k < this.worksStudent[i].length; k++) {
  2353. if (this.userid == this.worksStudent[i][k].userid) {
  2354. this.eScore = JSON.parse(this.worksStudent[i][k].works);
  2355. this.rateJson =
  2356. this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
  2357. index
  2358. ].toolChoose[i].rateJson;
  2359. break;
  2360. } else {
  2361. this.rateJson =
  2362. this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
  2363. index
  2364. ].toolChoose[i].rateJson;
  2365. }
  2366. }
  2367. } else {
  2368. this.rateJson =
  2369. this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
  2370. index
  2371. ].toolChoose[i].rateJson;
  2372. }
  2373. this.isStar = false;
  2374. this.studentEvalDialogVisible = true;
  2375. } else if (t == 41) {
  2376. this.selectJson = this.chapInfoList[this.courseType].chapterInfo[0]
  2377. .taskJson[index].toolChoose[i].selectJson
  2378. ? JSON.parse(
  2379. JSON.stringify(
  2380. this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
  2381. index
  2382. ].toolChoose[i].selectJson
  2383. )
  2384. )
  2385. : { url: "", select: [], answer: [] };
  2386. if (this.worksStudent[i].length) {
  2387. for (var k = 0; k < this.worksStudent[i].length; k++) {
  2388. if (this.userid == this.worksStudent[i][k].userid) {
  2389. var a = this.worksStudent[i][k].works.split(",");
  2390. for (var ki = 0; ki < a.length; ki++) {
  2391. a[ki] = parseInt(a[ki]);
  2392. }
  2393. this.selectAnswer = {
  2394. answer: a,
  2395. stu: this.worksStudent[i][k].sName,
  2396. };
  2397. break;
  2398. } else {
  2399. this.selectAnswer = { answer: [], stu: "" };
  2400. }
  2401. }
  2402. } else {
  2403. this.selectAnswer = { answer: [], stu: "" };
  2404. }
  2405. this.isSelect = false;
  2406. this.dialogVisibleSelect = true;
  2407. } else if (t == 44) {
  2408. window.parent.postMessage({ tools: "44" }, "*");
  2409. }
  2410. },
  2411. addCourseState(type) {
  2412. let _state = this.chapInfoList;
  2413. // this.courseType this.taskCount
  2414. if (type == 1 || type == 2) {
  2415. for (var i = 0; i < _state.length; i++) {
  2416. let el = _state[i].chapterInfo[0].taskJson;
  2417. for (var j = 0; j < el.length; j++) {
  2418. // if (i == 0 && j == 0) {
  2419. // el[j].isLook = true;
  2420. // } else {
  2421. // el[j].isLook = false;
  2422. // }
  2423. if (
  2424. this.courseType > i ||
  2425. (this.courseType == i && this.taskCount + 1 > j)
  2426. ) {
  2427. el[j].isLook = true;
  2428. } else {
  2429. el[j].isLook = false;
  2430. }
  2431. }
  2432. }
  2433. }
  2434. let params = [
  2435. {
  2436. cid: this.id,
  2437. state: JSON.stringify(_state).replaceAll(/%/g, "%25"),
  2438. },
  2439. ];
  2440. this.ajax
  2441. .post(
  2442. this.$store.state.api +
  2443. (type == 1 ? "addCourseState" : "updateCourseSate"),
  2444. params
  2445. )
  2446. .then((res) => {
  2447. if (this.IsLookOpen) {
  2448. this.setNavList();
  2449. }
  2450. if (type == 3 && type == 2) {
  2451. this.getCourseState(1);
  2452. }
  2453. })
  2454. .catch((err) => {
  2455. console.error(err);
  2456. });
  2457. },
  2458. selectCount() {
  2459. let params = {
  2460. cid: this.id,
  2461. chid: this.courseType,
  2462. uid: this.userid,
  2463. };
  2464. this.ajax
  2465. .get(this.$store.state.api + "selectToolsCount", params)
  2466. .then((res) => {
  2467. for (var i = 0; i < res.data[0].length; i++) {
  2468. if (res.data[0][i].tools == 1) {
  2469. this.wbCount = res.data[0][i].count;
  2470. } else if (res.data[0][i].tools == 2) {
  2471. this.wordCount = res.data[0][i].count;
  2472. } else if (res.data[0][i].tools == 3) {
  2473. this.mindCount = res.data[0][i].count;
  2474. } else if (res.data[0][i].tools == 4) {
  2475. this.askCount = res.data[0][i].count;
  2476. } else if (res.data[0][i].tools == 6) {
  2477. this.noteCount = res.data[0][i].count;
  2478. } else if (res.data[0][i].tools == 7) {
  2479. this.mindNetWorkCount = res.data[0][i].count;
  2480. } else if (res.data[0][i].tools == 8) {
  2481. this.libraryCount = res.data[0][i].count;
  2482. } else if (res.data[0][i].tools == 16) {
  2483. this.workCount = res.data[0][i].count;
  2484. } else if (res.data[0][i].tools == 10) {
  2485. this.timeCount = res.data[0][i].count;
  2486. } else if (res.data[0][i].tools == 15) {
  2487. this.answerCount = res.data[0][i].count;
  2488. } else if (res.data[0][i].tools == 18) {
  2489. this.trainCount = res.data[0][i].count;
  2490. }
  2491. }
  2492. })
  2493. .catch((err) => {
  2494. console.error(err);
  2495. });
  2496. },
  2497. toolsCount(a, t) {
  2498. let params = {
  2499. cid: this.id,
  2500. chid: this.courseType,
  2501. uid: this.userid,
  2502. tid: t,
  2503. count: a,
  2504. };
  2505. this.ajax
  2506. .get(this.$store.state.api + "insertToolsCount", params)
  2507. .then((res) => {
  2508. this.selectCount();
  2509. })
  2510. .catch((err) => {
  2511. console.error(err);
  2512. });
  2513. },
  2514. updateCount(c, t) {
  2515. c++;
  2516. let params = {
  2517. cid: this.id,
  2518. chid: this.courseType,
  2519. uid: this.userid,
  2520. tid: t,
  2521. count: c,
  2522. };
  2523. this.ajax
  2524. .get(this.$store.state.api + "updateToolsCount", params)
  2525. .then((res) => {
  2526. this.selectCount();
  2527. })
  2528. .catch((err) => {
  2529. console.error(err);
  2530. });
  2531. },
  2532. checkFileFull(type, url) {
  2533. this.fullDialogVisible = true;
  2534. this.fulltype = type;
  2535. this.fullUrl = url;
  2536. },
  2537. openLine(url) {
  2538. window.open(url);
  2539. },
  2540. openFile(f) {
  2541. this.pptImgUrl = "";
  2542. var a = ["PPT", "PPTX", "XLSX", "XLS", "DOC", "DOCX"];
  2543. if (
  2544. a.indexOf(f.split(".")[f.split(".").length - 1].toLocaleUpperCase()) !=
  2545. -1
  2546. ) {
  2547. this.pptImgUrl =
  2548. "https://view.officeapps.live.com/op/view.aspx?src=" + f;
  2549. this.showPDF = false;
  2550. this.dialogVisible3 = true;
  2551. } else if (
  2552. f.split(".")[f.split(".").length - 1].toLocaleUpperCase() == "PDF"
  2553. ) {
  2554. this.pptImgUrl = f;
  2555. this.showPDF = true;
  2556. this.dialogVisible3 = true;
  2557. }
  2558. },
  2559. downloadFile(url) {
  2560. let _this = this;
  2561. let _url = "";
  2562. if (
  2563. url.indexOf("https://view.officeapps.live.com/op/view.aspx?src=") != -1
  2564. ) {
  2565. _url = url.split(
  2566. "https://view.officeapps.live.com/op/view.aspx?src="
  2567. )[1];
  2568. } else {
  2569. _url = url;
  2570. }
  2571. const x = new XMLHttpRequest();
  2572. x.open("GET", _url, true);
  2573. x.responseType = "blob";
  2574. const loading = _this.$loading.service({
  2575. background: "rgba(255, 255, 255, 0.7)",
  2576. target: document.body,
  2577. text: '文件加载中...'
  2578. });
  2579. // _this.$message.success("文件下载中...");
  2580. x.onload = function (e) {
  2581. loading.close();
  2582. // const url = window.URL.createObjectURL(x.response);
  2583. // const a = document.createElement("a");
  2584. // a.href = url;
  2585. // a.target = "_blank";
  2586. // a.download = url;
  2587. // a.click();
  2588. // a.remove();
  2589. let content = x.response;
  2590. let elink = document.createElement("a");
  2591. elink.download = decodeURI(
  2592. _url.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1]
  2593. );
  2594. elink.style.display = "none";
  2595. let blob = new Blob([content]);
  2596. elink.href = URL.createObjectURL(blob);
  2597. document.body.appendChild(elink);
  2598. elink.click();
  2599. document.body.removeChild(elink);
  2600. };
  2601. x.send();
  2602. },
  2603. openText(f) {
  2604. this.tableJson.text = JSON.parse(f);
  2605. this.dialogVisibleText2 = true;
  2606. },
  2607. openAsk(f, taskCount, i) {
  2608. this.askJson = JSON.parse(
  2609. JSON.stringify(
  2610. this.chapInfoList[this.courseType].chapterInfo[0].taskJson[taskCount]
  2611. .toolArray[i].askJson
  2612. )
  2613. );
  2614. this.radio = JSON.parse(f);
  2615. this.dialogVisible5 = true;
  2616. },
  2617. setChapterIndex2(tool, index, toolIndex) {
  2618. tool.sourceIndex = index;
  2619. this.$nextTick(function () {
  2620. setTimeout(() => {
  2621. var a = document.getElementsByClassName("box_course" + toolIndex)[0]
  2622. .offsetHeight;
  2623. document.getElementsByClassName(
  2624. "vedioList" + toolIndex
  2625. )[0].style.height = a + "px";
  2626. }, 0);
  2627. });
  2628. this.$forceUpdate();
  2629. },
  2630. setVHeight() {
  2631. this.$nextTick(function () {
  2632. setTimeout(() => {
  2633. let tool =
  2634. this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
  2635. this.taskCount
  2636. ].toolArray;
  2637. for (var z = 0; z < tool.length; z++) {
  2638. let _tool = tool[z];
  2639. if (_tool.tool == 51) {
  2640. var a = document.getElementsByClassName("box_course" + z)[0]
  2641. .offsetHeight;
  2642. document.getElementsByClassName("vedioList" + z)[0].style.height =
  2643. a + "px";
  2644. }
  2645. }
  2646. }, 0);
  2647. });
  2648. },
  2649. openVideo(w) {
  2650. this.videoDetail = JSON.parse(JSON.stringify(this.playerOptions));
  2651. this.videoDetail.sources[0].src = w;
  2652. this.videoVisible = true;
  2653. },
  2654. updateRight(psJson,val){
  2655. if(!psJson[val]){
  2656. psJson[val] = "0"
  2657. }
  2658. this.$forceUpdate();
  2659. console.log(psJson);
  2660. }
  2661. },
  2662. directives: {
  2663. // 使用局部注册指令的方式
  2664. resize: {
  2665. // 指令的名称
  2666. bind(el, binding) {
  2667. // el为绑定的元素,binding为绑定给指令的对象
  2668. let width = "",
  2669. height = "";
  2670. function isReize() {
  2671. const style = document.defaultView.getComputedStyle(el);
  2672. if (width !== style.width || height !== style.height) {
  2673. binding.value(); // 关键
  2674. }
  2675. width = style.width;
  2676. height = style.height;
  2677. }
  2678. el.__vueSetInterval__ = setInterval(isReize, 300);
  2679. },
  2680. unbind(el) {
  2681. clearInterval(el.__vueSetInterval__);
  2682. },
  2683. },
  2684. },
  2685. beforeDestroy() {
  2686. window.onresize = null;
  2687. clearInterval(this.timer);
  2688. this.timer = null;
  2689. },
  2690. computed: {
  2691. contentConvent() {
  2692. return function (c) {
  2693. return c
  2694. ? c
  2695. .replaceAll(/\r\n/g, "<br/>")
  2696. .replaceAll(/\n/g, "<br/>")
  2697. .replaceAll(/\s/g, " &nbsp")
  2698. : "";
  2699. };
  2700. },
  2701. timeB() {
  2702. return function (timeA) {
  2703. var time = new Date(timeA);
  2704. time.setTime(time.getTime());
  2705. var s2 =
  2706. time.getFullYear() +
  2707. "-" +
  2708. (time.getMonth() + 1 < 10
  2709. ? "0" + (time.getMonth() + 1)
  2710. : time.getMonth() + 1) +
  2711. "-" +
  2712. (time.getDate() < 10 ? "0" + time.getDate() : time.getDate());
  2713. return s2;
  2714. };
  2715. },
  2716. getMan() {
  2717. return function (people) {
  2718. let _people = "";
  2719. if (this.ManAarray.length) {
  2720. for (var i = 0; i < this.ManAarray.length; i++) {
  2721. if (this.ManAarray[i].userid == people) {
  2722. _people = this.ManAarray[i].name;
  2723. break;
  2724. }
  2725. }
  2726. }
  2727. return _people ? _people : "";
  2728. };
  2729. },
  2730. },
  2731. mounted() {
  2732. if (this.screenType == 2) {
  2733. window.parent.postMessage({ allScreen: 4 + "s" }, "*");
  2734. } else if (this.screenType == 3) {
  2735. window.parent.postMessage({ allScreen: 5 }, "*");
  2736. } else if (this.screenType == 1) {
  2737. window.parent.postMessage({ allScreen: 6 }, "*");
  2738. }
  2739. if (this.tType == 5) {
  2740. this.psDialog = true;
  2741. this.selectPs();
  2742. }
  2743. this.getCourseDetail();
  2744. if (this.tType == 4) {
  2745. this.pzDialog = true;
  2746. this.selectPz();
  2747. }
  2748. this.selectCount();
  2749. },
  2750. };
  2751. </script>
  2752. <style scoped>
  2753. @media screen and (max-width: 1280px) {
  2754. /* .courseIndex > div:first-child(2) {
  2755. width: 15% !important;
  2756. } */
  2757. /* .navText {
  2758. width: 120px !important;
  2759. } */
  2760. .evaCss {
  2761. flex-direction: column !important;
  2762. align-items: center !important;
  2763. }
  2764. .dialog_diy1>>>.el-dialog {
  2765. width: 100% !important;
  2766. }
  2767. .rightWidthCss {
  2768. width: 100% !important;
  2769. }
  2770. .dialog_diy3>>>.el-dialog {
  2771. width: 100% !important;
  2772. }
  2773. /* .textTitle >>> .el-form-item__label {
  2774. width: 150px !important;
  2775. } */
  2776. }
  2777. .evaCssMax {
  2778. flex-direction: column !important;
  2779. align-items: center !important;
  2780. }
  2781. .dialog_diy>>>.el-dialog {
  2782. margin-top: 10vh !important;
  2783. }
  2784. .body_student {
  2785. width: 77%;
  2786. height: 100%;
  2787. position: absolute;
  2788. left: 22%;
  2789. top: 0;
  2790. }
  2791. .student_head {
  2792. width: 100%;
  2793. margin: 0 auto;
  2794. /* padding-bottom: 20px; */
  2795. display: flex;
  2796. flex-direction: column;
  2797. flex-wrap: nowrap;
  2798. align-items: flex-start;
  2799. justify-content: flex-start;
  2800. }
  2801. .pb_left {
  2802. width: 20%;
  2803. margin-right: 10px;
  2804. background: rgb(255, 255, 255);
  2805. padding-right: 10px;
  2806. position: fixed;
  2807. height: 100%;
  2808. }
  2809. .wheel>img,
  2810. .project>img,
  2811. .star>img,
  2812. .evaluate>img,
  2813. .up_photo>img,
  2814. .chapter_add>img,
  2815. .upCover>img,
  2816. .deleteWord>img,
  2817. .question>img,
  2818. .homework>img {
  2819. width: 100%;
  2820. height: 100%;
  2821. }
  2822. .upCover {
  2823. width: calc(100% / 3.5);
  2824. position: relative;
  2825. margin: 0 15px 10px 0;
  2826. display: flex;
  2827. flex-direction: column;
  2828. flex-wrap: nowrap;
  2829. justify-content: center;
  2830. align-content: center;
  2831. align-items: center;
  2832. }
  2833. .chapter_add {
  2834. width: 120px;
  2835. position: relative;
  2836. text-align: center;
  2837. }
  2838. .isAddThings {
  2839. margin-top: 20px;
  2840. position: relative;
  2841. text-align: center;
  2842. background: #f7f8fa;
  2843. height: 90px;
  2844. width: 90px;
  2845. display: flex;
  2846. flex-direction: column;
  2847. justify-content: center;
  2848. }
  2849. .deleteWord {
  2850. width: 22px;
  2851. height: 22px;
  2852. position: absolute;
  2853. right: -5px;
  2854. top: -5px;
  2855. cursor: pointer;
  2856. }
  2857. .box_course {
  2858. /* width: 60%; */
  2859. width: 81%;
  2860. }
  2861. .wheel {
  2862. width: 100%;
  2863. height: 100%;
  2864. }
  2865. .right_box {
  2866. display: flex;
  2867. flex-direction: column;
  2868. margin-left: 30px;
  2869. justify-content: space-around;
  2870. }
  2871. .right_box_title {
  2872. font-size: 23px;
  2873. }
  2874. .people {
  2875. display: flex;
  2876. }
  2877. .student_body {
  2878. width: 100%;
  2879. margin: 0 auto;
  2880. margin-top: 10px;
  2881. padding: 0 0 20px;
  2882. }
  2883. .study_top {
  2884. margin-top: 70px;
  2885. width: 100%;
  2886. /* overflow: auto; */
  2887. height: auto;
  2888. }
  2889. .study_top .checkbox {
  2890. display: flex;
  2891. align-items: center;
  2892. padding: 15px 0 15px 30px;
  2893. flex: 0 0 auto;
  2894. font-weight: bold;
  2895. border-bottom: 1px solid #eee;
  2896. }
  2897. .study_top .check {
  2898. padding-bottom: 5px;
  2899. text-align: center;
  2900. cursor: pointer;
  2901. height: 30px;
  2902. box-sizing: border-box;
  2903. display: flex;
  2904. }
  2905. .study_top .checked {
  2906. border-bottom: 4px solid #3fc6a0;
  2907. padding-bottom: 5px;
  2908. color: #3fc6a0;
  2909. display: flex;
  2910. height: 35px;
  2911. }
  2912. .study_top .checked>div,
  2913. .study_top .check>div {
  2914. margin-right: 5px;
  2915. }
  2916. .videoTop {
  2917. display: flex;
  2918. flex-direction: row;
  2919. justify-content: space-between;
  2920. background: #fff;
  2921. align-items: center;
  2922. width: 95%;
  2923. padding: 20px;
  2924. }
  2925. .upbtn {
  2926. margin: 25px;
  2927. background: #70afdb;
  2928. color: #fff;
  2929. width: 120px;
  2930. text-align: center;
  2931. height: 30px;
  2932. line-height: 30px;
  2933. font-size: 13px;
  2934. border-radius: 5px;
  2935. cursor: pointer;
  2936. }
  2937. .filebox {
  2938. display: flex;
  2939. flex-wrap: wrap;
  2940. flex-direction: column;
  2941. padding: 15px 0 5px;
  2942. }
  2943. .filebox .tooldetail {
  2944. width: 100%;
  2945. margin: 0px 12px;
  2946. background: rgb(247, 247, 247);
  2947. padding: 20px;
  2948. line-height: 30px;
  2949. word-break: break-word;
  2950. }
  2951. .file {
  2952. display: flex;
  2953. flex-direction: column;
  2954. align-items: center;
  2955. justify-content: center;
  2956. cursor: pointer;
  2957. width: 200px;
  2958. }
  2959. .file div {
  2960. margin-top: 10px;
  2961. width: 150px;
  2962. text-align: center;
  2963. overflow: hidden;
  2964. white-space: nowrap;
  2965. text-overflow: ellipsis;
  2966. }
  2967. .media {
  2968. display: flex;
  2969. flex-direction: column;
  2970. align-items: center;
  2971. justify-content: center;
  2972. margin: 0 20px 20px 0;
  2973. cursor: pointer;
  2974. margin: 12px 0 5px 15px;
  2975. overflow: hidden;
  2976. box-shadow: 0px 1px 3px 0px rgb(0 0 0 / 20%), 0px 1px 1px 0px rgb(0 0 0 / 14%),
  2977. 0px 2px 1px -1px rgb(0 0 0 / 12%);
  2978. box-sizing: border-box;
  2979. }
  2980. .media img {
  2981. height: 90px;
  2982. width: 160px;
  2983. object-fit: cover;
  2984. }
  2985. .media .title {
  2986. padding: 5px;
  2987. text-align: left;
  2988. width: 100%;
  2989. box-sizing: border-box;
  2990. }
  2991. .media .btn {
  2992. width: 100%;
  2993. height: 35px;
  2994. line-height: 35px;
  2995. color: #fff;
  2996. background: #606060;
  2997. text-align: center;
  2998. overflow: hidden;
  2999. white-space: nowrap;
  3000. text-overflow: ellipsis;
  3001. }
  3002. .detail_content_top {
  3003. width: 100%;
  3004. padding: 25px 0 25px 0;
  3005. }
  3006. .detail_title {
  3007. text-align: center;
  3008. font-size: 24px;
  3009. }
  3010. .detail_time {
  3011. font-size: 13px;
  3012. padding: 15px 0 0 40px;
  3013. }
  3014. .detail_content {
  3015. line-height: 2pc;
  3016. width: 90%;
  3017. margin: 0 auto;
  3018. padding-top: 30px;
  3019. text-indent: 30px;
  3020. overflow: auto;
  3021. height: 200px;
  3022. }
  3023. .score_box>>>.el-rate {
  3024. margin-left: 10px;
  3025. }
  3026. .dialog_change>>>.el-dialog {
  3027. border-radius: 5px;
  3028. }
  3029. .dialog_change>>>.el-dialog__header {
  3030. background: #f2f2f2;
  3031. text-align: center;
  3032. }
  3033. .dialog_change>>>.el-dialog__title {
  3034. line-height: 5px;
  3035. }
  3036. .dialog_change>>>.el-dialog__body {
  3037. background: #fff;
  3038. padding: 10px 20px;
  3039. }
  3040. .score_box {
  3041. display: flex;
  3042. align-items: center;
  3043. margin-bottom: 18px;
  3044. margin-top: 20px;
  3045. }
  3046. .up_photo {
  3047. width: 120px;
  3048. cursor: pointer;
  3049. margin-top: 10px;
  3050. }
  3051. .upload_send {
  3052. margin: 30px auto 30px;
  3053. width: 60%;
  3054. background: #169bd6;
  3055. text-align: center;
  3056. height: 35px;
  3057. line-height: 35px;
  3058. color: #fff;
  3059. border-radius: 5px;
  3060. cursor: pointer;
  3061. }
  3062. .marginT {
  3063. margin-top: 20px;
  3064. }
  3065. .cd_content_steps {
  3066. display: flex;
  3067. width: 90%;
  3068. justify-content: space-around;
  3069. border-top: 1px solid #eeeeee;
  3070. }
  3071. .cd_steps_box {
  3072. display: flex;
  3073. justify-content: center;
  3074. align-items: center;
  3075. flex-direction: column;
  3076. cursor: pointer;
  3077. }
  3078. .first {
  3079. display: flex;
  3080. align-items: center;
  3081. margin: 15px 0 20px 0;
  3082. font-size: 20px;
  3083. }
  3084. .first>div:nth-child(2) {
  3085. font-size: 16px !important;
  3086. padding-left: 10px;
  3087. line-height: 26px;
  3088. box-sizing: border-box;
  3089. }
  3090. .blue_box_one {
  3091. text-align: center;
  3092. color: #fff;
  3093. background-image: linear-gradient(90deg, #477cd7, #65b9fc);
  3094. border-radius: 7px;
  3095. margin: 10px;
  3096. cursor: pointer;
  3097. width: 95%;
  3098. height: 45px;
  3099. display: flex;
  3100. flex-direction: row;
  3101. justify-content: flex-start;
  3102. align-items: center;
  3103. }
  3104. .blue_box_one>div:nth-child(1) {
  3105. line-height: 30px;
  3106. margin: 0 5px 0 10px;
  3107. width: 30%;
  3108. min-width: 70px;
  3109. border-radius: 4px;
  3110. }
  3111. .blue_box_one>div:nth-child(2) {
  3112. white-space: nowrap;
  3113. text-overflow: ellipsis;
  3114. overflow: hidden;
  3115. word-break: break-all;
  3116. width: 70%;
  3117. text-align: left;
  3118. margin-right: 10px;
  3119. max-width: calc(100% - 85px);
  3120. }
  3121. .blue_box_one>div:nth-child(2):hover {
  3122. overflow: hidden;
  3123. text-overflow: ellipsis;
  3124. white-space: nowrap;
  3125. cursor: pointer;
  3126. }
  3127. .upFile {
  3128. margin: 0 auto;
  3129. width: 120px;
  3130. background: #70afdb;
  3131. color: #fff;
  3132. height: 30px;
  3133. text-align: center;
  3134. line-height: 30px;
  3135. border-radius: 5px;
  3136. font-size: 14px;
  3137. cursor: pointer;
  3138. }
  3139. .courseTitle {
  3140. background: #205cc6;
  3141. width: 85%;
  3142. margin: 10px auto;
  3143. height: 50px;
  3144. color: #fff;
  3145. line-height: 50px;
  3146. text-align: center;
  3147. font-size: 20px;
  3148. font-weight: bold;
  3149. border-radius: 5px;
  3150. cursor: pointer;
  3151. white-space: nowrap;
  3152. overflow: hidden;
  3153. text-overflow: ellipsis;
  3154. padding: 0 10px;
  3155. }
  3156. .ml {
  3157. margin-left: 20px;
  3158. color: #5b7dba;
  3159. border-left: 3px solid #5b7dba;
  3160. padding-left: 5px;
  3161. font-weight: bold;
  3162. }
  3163. .return {
  3164. width: 2rem;
  3165. height: 2rem;
  3166. cursor: pointer;
  3167. }
  3168. .return>img {
  3169. width: 100%;
  3170. height: 100%;
  3171. }
  3172. .returnBtn {
  3173. background: #499eef;
  3174. width: 65px;
  3175. height: 30px;
  3176. color: #fff;
  3177. text-align: center;
  3178. line-height: 32px;
  3179. margin-right: 20px;
  3180. cursor: pointer;
  3181. border-radius: 5px;
  3182. font-size: 14px;
  3183. }
  3184. .tool {
  3185. display: flex;
  3186. flex-direction: column;
  3187. flex-wrap: nowrap;
  3188. width: 13%;
  3189. margin: 0 30px;
  3190. align-items: center;
  3191. }
  3192. .whiteBIcon {
  3193. width: 150px;
  3194. cursor: pointer;
  3195. }
  3196. .whiteBIcon>img {
  3197. width: 100%;
  3198. height: 100%;
  3199. }
  3200. .mask {
  3201. background-color: rgba(0, 0, 0, 0);
  3202. position: fixed;
  3203. top: 0;
  3204. left: 0;
  3205. width: 100%;
  3206. height: 100%;
  3207. z-index: 20000;
  3208. display: flex;
  3209. align-items: center;
  3210. justify-content: center;
  3211. }
  3212. .progressBox {
  3213. width: 500px;
  3214. height: 180px;
  3215. background: #fff;
  3216. border-radius: 10px;
  3217. box-shadow: 0 0 6px 1px #bfbfbf;
  3218. display: flex;
  3219. align-items: center;
  3220. justify-content: center;
  3221. flex-direction: column;
  3222. }
  3223. .progressBox .lbox {
  3224. height: 100px;
  3225. font-size: 19px;
  3226. display: flex;
  3227. align-items: center;
  3228. }
  3229. .progressBox .lbox img {
  3230. width: 40px;
  3231. margin-right: 20px;
  3232. }
  3233. .progressBox>>>.el-progress-bar__outer {
  3234. background-color: #d1dfff !important;
  3235. }
  3236. .progressBox .lbox {
  3237. height: 100px;
  3238. font-size: 19px;
  3239. display: flex;
  3240. align-items: center;
  3241. }
  3242. .progressBox .lbox img {
  3243. width: 40px;
  3244. margin-right: 20px;
  3245. }
  3246. .uploadVedio {
  3247. display: flex;
  3248. flex-direction: column;
  3249. flex-wrap: nowrap;
  3250. justify-content: center;
  3251. align-items: center;
  3252. margin: 0 15px 10px 0;
  3253. }
  3254. .uploadVedio>img {
  3255. width: 30px;
  3256. height: 30px;
  3257. }
  3258. .uploadVedio>span {
  3259. white-space: nowrap;
  3260. overflow: hidden;
  3261. text-overflow: ellipsis;
  3262. width: 75px;
  3263. margin-top: 7px;
  3264. }
  3265. .picName {
  3266. white-space: nowrap;
  3267. overflow: hidden;
  3268. text-overflow: ellipsis;
  3269. width: 75px;
  3270. margin-top: 7px;
  3271. }
  3272. .new_top {
  3273. display: flex;
  3274. background: #fff;
  3275. flex-direction: row;
  3276. justify-content: flex-start;
  3277. align-items: center;
  3278. height: 60px;
  3279. position: relative;
  3280. }
  3281. .before {
  3282. position: absolute;
  3283. background: #c3dad4;
  3284. width: 6px;
  3285. height: 100%;
  3286. }
  3287. .courseIndex {
  3288. display: flex;
  3289. flex-direction: row;
  3290. align-items: center;
  3291. width: calc(100% - 520px);
  3292. }
  3293. .courseIndex>div:nth-child(1) {
  3294. margin: 0 20px;
  3295. padding-left: 5px;
  3296. font-size: 24px;
  3297. min-width: 100px;
  3298. font-weight: bold;
  3299. border-left: 4px solid #3363b9;
  3300. height: 35px;
  3301. text-align: center;
  3302. line-height: 35px;
  3303. }
  3304. .courseIndex>div:nth-child(2) {
  3305. font-size: 23px;
  3306. /* width: 300px; */
  3307. max-width: calc(100% - 180px);
  3308. white-space: nowrap;
  3309. overflow: hidden;
  3310. text-overflow: ellipsis;
  3311. }
  3312. .courseIndex>div:nth-child(3) {
  3313. border-bottom: 1px solid #d7d7d7;
  3314. padding-bottom: 5px;
  3315. background: #49a0f0;
  3316. width: 55px;
  3317. min-width: 55px;
  3318. border-radius: 5px;
  3319. color: #fff;
  3320. text-align: center;
  3321. height: 20px;
  3322. line-height: 26px;
  3323. font-size: 14px;
  3324. margin: 0 0 0 10px;
  3325. }
  3326. .course_text {
  3327. padding: 20px 0 0 15px;
  3328. text-indent: 30px;
  3329. width: 80%;
  3330. min-height: 20px;
  3331. }
  3332. .vedioList {
  3333. /* background: #f2f2f2; */
  3334. background: #fff;
  3335. border: 1px solid #ececec;
  3336. /* width: 38.8%; */
  3337. width: calc(100% - 83%);
  3338. /* height: 445px; */
  3339. height: 100%;
  3340. border-radius: 10px;
  3341. overflow: hidden;
  3342. }
  3343. .vedioNav {
  3344. margin: 10px 0 0 15px;
  3345. border-bottom: 1px solid #d7d7d7;
  3346. padding-bottom: 5px;
  3347. background: #96d1ff;
  3348. width: 55px;
  3349. min-width: 55px;
  3350. border-radius: 5px;
  3351. color: #fff;
  3352. text-align: center;
  3353. height: 20px;
  3354. line-height: 26px;
  3355. font-size: 14px;
  3356. }
  3357. .queTop {
  3358. display: flex;
  3359. padding: 20px 0 20px 30px;
  3360. width: 100%;
  3361. flex-direction: row;
  3362. justify-content: flex-start;
  3363. align-items: center;
  3364. border-bottom: 1px solid #eeeeee;
  3365. box-sizing: border-box;
  3366. }
  3367. .question {
  3368. width: 40px;
  3369. margin-right: 10px;
  3370. margin-top: 7px;
  3371. }
  3372. .queTitle {
  3373. margin-left: 5px;
  3374. font-size: 25px;
  3375. display: flex;
  3376. align-items: center;
  3377. }
  3378. .addEditor {
  3379. width: 100px;
  3380. height: 30px;
  3381. background: #42cda6;
  3382. color: #fff;
  3383. border-radius: 5px;
  3384. text-align: center;
  3385. line-height: 30px;
  3386. box-shadow: 1px 3px 6px 1px #bfbfbf;
  3387. cursor: pointer;
  3388. }
  3389. .vedioName {
  3390. /* text-overflow: ellipsis;
  3391. top: 8px;
  3392. font-size: 14px;
  3393. overflow: hidden;
  3394. width: 100%;
  3395. word-break: break-all;
  3396. white-space: nowrap; */
  3397. cursor: pointer;
  3398. margin: 0px 0px 10px 5px;
  3399. white-space: nowrap;
  3400. overflow: hidden;
  3401. text-overflow: ellipsis;
  3402. width: 100%;
  3403. }
  3404. .vedioTime {
  3405. width: 35px;
  3406. position: absolute;
  3407. color: #fff;
  3408. bottom: 0px;
  3409. right: 0px;
  3410. text-align: center;
  3411. background: #46411f;
  3412. height: 20px;
  3413. font-size: 14px;
  3414. line-height: 20px;
  3415. }
  3416. .homework {
  3417. width: 200px;
  3418. display: flex;
  3419. flex-direction: column;
  3420. flex-wrap: nowrap;
  3421. align-items: center;
  3422. cursor: pointer;
  3423. }
  3424. .homebox {
  3425. display: flex;
  3426. flex-wrap: wrap;
  3427. flex-direction: row;
  3428. justify-content: flex-start;
  3429. align-items: center;
  3430. padding: 15px 0;
  3431. }
  3432. .isChooseActive {
  3433. color: #3e88f4;
  3434. border-bottom: 2px solid #2f80f3;
  3435. }
  3436. .chooseWho {
  3437. display: flex;
  3438. width: 100%;
  3439. flex-direction: row;
  3440. flex-wrap: nowrap;
  3441. justify-content: flex-start;
  3442. padding-bottom: 10px;
  3443. }
  3444. .chooseWho>div {
  3445. cursor: pointer;
  3446. padding-bottom: 10px;
  3447. margin: 0 30px;
  3448. }
  3449. .addPoint>div>img {
  3450. cursor: pointer;
  3451. margin: 0 10px;
  3452. width: 85px;
  3453. border-radius: 15px;
  3454. box-shadow: 0px 1px 8px 0px rgb(20 20 20 / 14%);
  3455. }
  3456. .addPoint>div {
  3457. display: flex;
  3458. flex-direction: column;
  3459. flex-wrap: nowrap;
  3460. align-items: center;
  3461. }
  3462. .isBorder>div {
  3463. margin: 0 0 10px 0;
  3464. align-items: flex-start !important;
  3465. }
  3466. .noiframeBox {
  3467. display: flex;
  3468. flex-wrap: wrap;
  3469. }
  3470. .iframeBox iframe {
  3471. width: 100%;
  3472. height: 800px;
  3473. border: none;
  3474. margin-bottom: 20px;
  3475. border: 1px solid #ccc;
  3476. }
  3477. .upload_toolBtn {
  3478. background: #6b92c9;
  3479. color: #fff;
  3480. width: 110px;
  3481. text-align: center;
  3482. height: 35px;
  3483. line-height: 35px;
  3484. font-size: 14px;
  3485. border-radius: 5px;
  3486. cursor: pointer;
  3487. position: absolute;
  3488. right: 10px;
  3489. bottom: 0;
  3490. }
  3491. .binfo_input,
  3492. .pj {
  3493. font: inherit;
  3494. color: currentColor;
  3495. width: 100%;
  3496. margin: 0;
  3497. padding: 15px 14px;
  3498. display: block;
  3499. min-width: 0;
  3500. outline: none;
  3501. box-sizing: content-box;
  3502. background: none;
  3503. -webkit-tap-highlight-color: transparent;
  3504. border: 1px solid rgba(0, 0, 0, 0.23);
  3505. border-radius: 4px;
  3506. box-sizing: border-box;
  3507. resize: none;
  3508. }
  3509. .binfo_input:focus-visible {
  3510. border: 1px solid rgba(61, 103, 188);
  3511. }
  3512. .dialog_diy>>>.el-dialog__header,
  3513. .dialog_diy1>>>.el-dialog__header {
  3514. background: #454545 !important;
  3515. padding: 15px 20px;
  3516. }
  3517. .dialog_diy>>>.el-dialog__title,
  3518. .dialog_diy1>>>.el-dialog__title {
  3519. color: #fff;
  3520. }
  3521. .dialog_diy>>>.el-dialog__headerbtn,
  3522. .dialog_diy1>>>.el-dialog__headerbtn {
  3523. top: 19px;
  3524. }
  3525. .dialog_diy>>>.el-dialog__headerbtn .el-dialog__close,
  3526. .dialog_diy1>>>.el-dialog__headerbtn .el-dialog__close {
  3527. color: #fff;
  3528. }
  3529. .dialog_diy>>>.el-dialog__headerbtn .el-dialog__close:hover,
  3530. .dialog_diy1>>>.el-dialog__headerbtn .el-dialog__close:hover {
  3531. color: #fff;
  3532. }
  3533. .dialog_diy1>>>.el-dialog__body {
  3534. padding: 0;
  3535. }
  3536. .dialog_diy>>>.el-dialog__body,
  3537. .dialog_diy>>>.el-dialog__footer,
  3538. .dialog_diy1>>>.el-dialog__footer {
  3539. background: #fafafa;
  3540. }
  3541. .a_addBox {
  3542. margin: 10px 0;
  3543. background: #fff;
  3544. padding: 15px;
  3545. max-height: 400px;
  3546. overflow: auto;
  3547. }
  3548. .a_add_box {
  3549. border-bottom: 2px solid #eee;
  3550. padding-bottom: 10px;
  3551. }
  3552. .a_add_head {
  3553. display: flex;
  3554. align-items: flex-start;
  3555. /* justify-content: space-between; */
  3556. flex-direction: column;
  3557. margin: 10px 0;
  3558. font-size: 18px;
  3559. width: 100%;
  3560. }
  3561. .a_add_head .a_add_head_input {
  3562. width: 300px;
  3563. }
  3564. .a_add_head .a_add_head_div {
  3565. display: flex;
  3566. align-items: center;
  3567. justify-content: space-between;
  3568. }
  3569. .a_add_body {
  3570. display: flex;
  3571. align-items: center;
  3572. }
  3573. .a_add_input {
  3574. display: flex;
  3575. align-items: center;
  3576. flex-wrap: wrap;
  3577. }
  3578. .a_add_input>>>el-radio-group {
  3579. margin: 10px 0;
  3580. }
  3581. .a_add_input>>>.el-radio {
  3582. margin-bottom: 10px;
  3583. }
  3584. .redioStyle>>>.el-radio__label {
  3585. font-size: 18px;
  3586. }
  3587. .redioStyle>>>.el-checkbox__label {
  3588. font-size: 18px;
  3589. }
  3590. .toolHeng2 {
  3591. width: 100%;
  3592. }
  3593. .toolHeng {
  3594. display: flex;
  3595. flex-direction: row;
  3596. flex-wrap: wrap;
  3597. justify-content: flex-start;
  3598. align-items: center;
  3599. width: 100%;
  3600. }
  3601. .toolHeng>div {
  3602. padding-left: 20px;
  3603. }
  3604. .isWidth {
  3605. width: 20%;
  3606. }
  3607. .textTitle {
  3608. display: flex;
  3609. flex-direction: row;
  3610. flex-wrap: nowrap;
  3611. align-items: center;
  3612. width: 95%;
  3613. }
  3614. .textTitle>>>.el-form-item__label {
  3615. font-size: 22px;
  3616. color: #918f8f;
  3617. width: 100px;
  3618. }
  3619. .textTitle>>>.el-form-item__content {
  3620. width: calc(100% - 100px);
  3621. }
  3622. .textCss>>>.el-dialog {
  3623. width: 800px !important;
  3624. height: 400px;
  3625. background: #fafafa;
  3626. }
  3627. .textCss>>>.el-dialog__body {
  3628. margin: 55px 8% 0 8%;
  3629. padding: 0 !important;
  3630. }
  3631. .textCss>>>.el-dialog__footer {
  3632. padding-top: 38px;
  3633. }
  3634. .toolsCss>>>.el-dialog__body {
  3635. padding: 20px;
  3636. }
  3637. .lineCss>>>.el-dialog__body {
  3638. display: flex;
  3639. flex-direction: row;
  3640. align-items: center;
  3641. justify-content: center;
  3642. }
  3643. .newNav {
  3644. display: flex;
  3645. flex-direction: row;
  3646. align-items: baseline;
  3647. justify-content: flex-start;
  3648. }
  3649. .navText {
  3650. cursor: pointer;
  3651. margin: 0px 0px 10px 5px;
  3652. white-space: nowrap;
  3653. overflow: hidden;
  3654. text-overflow: ellipsis;
  3655. /* width: 300px; */
  3656. width: 100%;
  3657. }
  3658. .noVedio {
  3659. display: flex;
  3660. flex-direction: row;
  3661. justify-content: center;
  3662. align-content: center;
  3663. }
  3664. .noNavText {
  3665. cursor: pointer;
  3666. margin: 0px 0px 10px 5px;
  3667. width: 112px;
  3668. }
  3669. .listNoVedio {
  3670. margin: 0 0 0 30px;
  3671. width: 97%;
  3672. }
  3673. .video-player>>>.video-js {
  3674. height: 100%;
  3675. }
  3676. .hangVedioList {
  3677. width: 90% !important;
  3678. height: 150px !important;
  3679. margin: 20px 0 0 30px;
  3680. }
  3681. .hangVedio {
  3682. width: 100%;
  3683. height: 170px !important;
  3684. align-items: flex-start !important;
  3685. }
  3686. .hangHand {
  3687. height: 150px !important;
  3688. }
  3689. .twoChild {
  3690. width: 95%;
  3691. margin: 10px;
  3692. border-radius: 5px;
  3693. background: #f2f2f2;
  3694. display: flex;
  3695. flex-direction: column;
  3696. flex-wrap: nowrap;
  3697. justify-content: flex-start;
  3698. align-items: flex-start;
  3699. transition: all 0.5s;
  3700. overflow: hidden;
  3701. height: 0;
  3702. background: #e7f3ff;
  3703. }
  3704. .twoChild>div:nth-child(1) {
  3705. margin-top: 5px;
  3706. }
  3707. .navChild {
  3708. width: 100%;
  3709. cursor: pointer;
  3710. margin-bottom: 10px;
  3711. position: relative;
  3712. }
  3713. .navChild img {
  3714. position: absolute;
  3715. right: 11px;
  3716. width: 15px;
  3717. top: 50%;
  3718. transform: translateY(-50%);
  3719. }
  3720. .navActive {
  3721. height: auto;
  3722. }
  3723. .navTask {
  3724. display: flex;
  3725. flex-direction: row;
  3726. flex-wrap: nowrap;
  3727. align-items: center;
  3728. align-content: flex-start;
  3729. height: 40px;
  3730. justify-content: flex-start;
  3731. padding: 0 10px;
  3732. width: 100%;
  3733. box-sizing: border-box;
  3734. }
  3735. .navTaskname {
  3736. white-space: nowrap;
  3737. text-overflow: ellipsis;
  3738. overflow: hidden;
  3739. word-break: break-all;
  3740. padding-left: 5px;
  3741. }
  3742. .openTaskActive {
  3743. color: #4386e6;
  3744. }
  3745. .iframeName {
  3746. margin: 5px 0;
  3747. border-left: 4px solid #41c4a4;
  3748. padding-left: 4px;
  3749. }
  3750. .toolTitle {
  3751. margin: 0px 0px 20px;
  3752. font-size: 20px;
  3753. font-weight: 500;
  3754. border-left: 4px solid #41c4a4;
  3755. padding-left: 4px;
  3756. }
  3757. .cru_selectBox {
  3758. overflow: auto;
  3759. width: 96%;
  3760. margin: 0 auto;
  3761. height: calc(100% - 40px - 21px - 20px);
  3762. }
  3763. .cru_selectBox::-webkit-scrollbar,
  3764. .study_top::-webkit-scrollbar,
  3765. .textContent::-webkit-scrollbar {
  3766. /*滚动条整体样式*/
  3767. width: 6px;
  3768. /*高宽分别对应横竖滚动条的尺寸*/
  3769. height: 6px;
  3770. }
  3771. /*定义滚动条轨道 内阴影+圆角*/
  3772. .cru_selectBox::-webkit-scrollbar-track,
  3773. .study_top::-webkit-scrollbar-track,
  3774. .textContent::-webkit-scrollbar {
  3775. border-radius: 10px;
  3776. background-color: #b8bdc9;
  3777. }
  3778. /*定义滑块 内阴影+圆角*/
  3779. .cru_selectBox::-webkit-scrollbar-thumb,
  3780. .study_top::-webkit-scrollbar-thumb,
  3781. .textContent::-webkit-scrollbar-thumb {
  3782. border-radius: 10px;
  3783. -webkit-box-shadow: inset 0 0 6px rgb(96, 125, 184);
  3784. background-color: #2c5ab3;
  3785. }
  3786. .vedioBox {
  3787. border-radius: 20px;
  3788. background: #fff;
  3789. margin-bottom: 10px;
  3790. padding-bottom: 10px;
  3791. }
  3792. .taskBox {
  3793. margin: 10px auto 20px;
  3794. background: #f7f7f7;
  3795. width: 97%;
  3796. border-radius: 10px;
  3797. }
  3798. .vedioTaskBox {
  3799. width: 100%;
  3800. display: flex;
  3801. flex-direction: row;
  3802. flex-wrap: nowrap;
  3803. align-items: center;
  3804. /* height: 650px; */
  3805. }
  3806. .toolBox {
  3807. padding: 20px 0 0 0;
  3808. display: flex;
  3809. }
  3810. .btnAll {
  3811. position: absolute;
  3812. right: 0;
  3813. display: flex;
  3814. flex-direction: row;
  3815. flex-wrap: nowrap;
  3816. align-items: center;
  3817. }
  3818. .vedioTimeBox {
  3819. display: flex;
  3820. flex-direction: row;
  3821. align-items: center;
  3822. flex-wrap: nowrap;
  3823. position: relative;
  3824. }
  3825. .navBox {
  3826. background: rgb(255, 255, 255);
  3827. height: calc(100% - 40px);
  3828. padding: 5px 1px 0 1px;
  3829. overflow: auto;
  3830. }
  3831. .worksBox {
  3832. padding: 5px 0 0 10px;
  3833. border-bottom: 1px solid #eeeeee;
  3834. }
  3835. .worksBTitle {
  3836. font-size: 20px;
  3837. padding-bottom: 15px;
  3838. border-bottom: 1px solid #eeeeee;
  3839. display: flex;
  3840. align-items: center;
  3841. }
  3842. .greenBox {
  3843. width: 5px;
  3844. height: 30px;
  3845. background: #63b6fa;
  3846. margin-right: 5px;
  3847. }
  3848. .worksDetailBox {
  3849. display: flex;
  3850. width: 100%;
  3851. flex-direction: row;
  3852. flex-wrap: wrap;
  3853. align-items: center;
  3854. justify-content: flex-start;
  3855. padding: 15px 0;
  3856. }
  3857. .works {
  3858. display: flex;
  3859. flex-direction: column;
  3860. flex-wrap: nowrap;
  3861. align-items: flex-start;
  3862. justify-content: flex-start;
  3863. align-content: center;
  3864. max-width: 240px;
  3865. width: calc(100% / 3 - 10px);
  3866. height: auto;
  3867. margin-right: 10px;
  3868. margin-bottom: 10px;
  3869. overflow: hidden;
  3870. height: 140px;
  3871. box-shadow: 0 0 6px 1px #dfdada;
  3872. border-radius: 15px;
  3873. }
  3874. .workImg {
  3875. width: 100%;
  3876. /* height: calc(100% - 40px); */
  3877. height: 105px;
  3878. position: relative;
  3879. }
  3880. .workImg>img {
  3881. width: 100%;
  3882. height: 100%;
  3883. object-fit: contain;
  3884. }
  3885. .worksName {
  3886. height: 40px;
  3887. line-height: 40px;
  3888. display: flex;
  3889. width: 92%;
  3890. flex-direction: row;
  3891. flex-wrap: nowrap;
  3892. justify-content: space-between;
  3893. align-items: center;
  3894. margin: 0 10px;
  3895. }
  3896. .worksName>div:nth-child(1) {
  3897. width: 120px;
  3898. white-space: nowrap;
  3899. overflow: hidden;
  3900. text-overflow: ellipsis;
  3901. }
  3902. .worksName>div:nth-child(2) {
  3903. color: #b7b4b5;
  3904. }
  3905. .noWorksS {
  3906. padding: 15px 0;
  3907. display: flex;
  3908. flex-direction: row;
  3909. flex-wrap: wrap;
  3910. align-items: center;
  3911. justify-content: flex-start;
  3912. }
  3913. .noWorksName,
  3914. .isWorksName {
  3915. background: #7cbcf1;
  3916. color: #fff;
  3917. width: 90px;
  3918. height: 25px;
  3919. text-align: center;
  3920. line-height: 25px;
  3921. border-radius: 5px;
  3922. margin: 10px 15px 10px 0;
  3923. white-space: nowrap;
  3924. overflow: hidden;
  3925. padding: 5px;
  3926. text-overflow: ellipsis;
  3927. }
  3928. .isWorksName {
  3929. cursor: pointer;
  3930. background: #46a1eb !important;
  3931. width: 100px;
  3932. height: 40px;
  3933. line-height: 40px;
  3934. position: relative;
  3935. }
  3936. .noWorksName:hover {
  3937. background: #46a1eb !important;
  3938. }
  3939. .title {
  3940. background: #1e5cc9;
  3941. /* width: 98%; */
  3942. height: 45px;
  3943. color: #fff;
  3944. line-height: 45px;
  3945. padding-left: 20px;
  3946. box-sizing: border-box;
  3947. }
  3948. .textBox {
  3949. font-size: 20px;
  3950. width: 90%;
  3951. display: flex;
  3952. flex-direction: column;
  3953. align-items: center;
  3954. margin: 20px auto 0;
  3955. }
  3956. .textContent {
  3957. font-size: 18px;
  3958. height: 450px;
  3959. width: 95%;
  3960. overflow: auto;
  3961. line-height: 30px;
  3962. }
  3963. .answerWidth {
  3964. width: 250px !important;
  3965. /* height: auto !important; */
  3966. height: 120px !important;
  3967. }
  3968. .answerBg {
  3969. background: url("../../assets/icon/answerBgNew.png") no-repeat;
  3970. background-size: cover;
  3971. width: 100%;
  3972. height: 120px;
  3973. padding: 0 10px;
  3974. box-sizing: border-box;
  3975. color: #fff;
  3976. text-align: center;
  3977. display: flex;
  3978. flex-direction: column;
  3979. flex-wrap: nowrap;
  3980. align-items: center;
  3981. position: relative;
  3982. justify-content: center;
  3983. border-radius: 5px;
  3984. }
  3985. .answerContent {
  3986. /* width: 215px; */
  3987. max-height: 60px;
  3988. word-break: break-all;
  3989. text-align: center;
  3990. /* white-space: nowrap; */
  3991. overflow: hidden;
  3992. text-overflow: ellipsis;
  3993. /* padding: 23px 0 0; */
  3994. -webkit-line-clamp: 3;
  3995. -webkit-box-orient: vertical;
  3996. display: -webkit-box;
  3997. font-size: 15px;
  3998. }
  3999. .elist_input_box {
  4000. display: flex;
  4001. align-items: flex-start;
  4002. flex-wrap: nowrap;
  4003. padding: 10px 0 15px 30px;
  4004. flex-direction: column;
  4005. }
  4006. .elist_input {
  4007. /* width: 40%; */
  4008. width: 100%;
  4009. }
  4010. .elist_input .elist_input_box input {
  4011. font: inherit;
  4012. color: currentColor;
  4013. width: 200px;
  4014. padding: 8px 14px;
  4015. display: block;
  4016. min-width: 0;
  4017. outline: none;
  4018. border: 1px solid rgba(0, 0, 0, 0.23);
  4019. border-radius: 4px;
  4020. box-sizing: border-box;
  4021. background: #fff;
  4022. margin: 0 20px 0 0;
  4023. }
  4024. .elist_input .elist_input_box span {
  4025. height: 36px;
  4026. line-height: 36px;
  4027. color: rgb(82, 82, 82);
  4028. }
  4029. .elist_input .elist_input_box .remove {
  4030. height: 20px;
  4031. width: 20px;
  4032. background-size: 100% 100%;
  4033. background-position: unset;
  4034. margin-left: 5px;
  4035. }
  4036. .elist_input_box>>>.el-rate {
  4037. display: flex;
  4038. height: 36px;
  4039. align-items: center;
  4040. }
  4041. .elist_input_box .elist_inptu_text {
  4042. min-height: 50px;
  4043. /* width: 500px;
  4044. max-height: 150px; */
  4045. width: 100%;
  4046. line-height: 50px;
  4047. color: rgb(82, 82, 82);
  4048. overflow: auto;
  4049. text-indent: 5px;
  4050. background: #f7f6f9;
  4051. border-radius: 10px;
  4052. }
  4053. .elist_input_box .elist_inptu_text input {
  4054. width: 500px;
  4055. }
  4056. .elist_input_box>>>.el-rate__icon {
  4057. font-size: 24px;
  4058. }
  4059. .isClick {
  4060. background: #4d9def;
  4061. }
  4062. .bzBox {
  4063. display: flex;
  4064. flex-direction: row;
  4065. align-items: center;
  4066. }
  4067. .bzBox>div:nth-child(1) {
  4068. width: 4px;
  4069. height: 40px;
  4070. background-image: linear-gradient(180deg, #2c5cbd, #a1cff4);
  4071. }
  4072. .bzBox>div:nth-child(2) {
  4073. font-size: 23px;
  4074. font-weight: bold;
  4075. padding: 0px 0px 0 10px;
  4076. }
  4077. .navTitile {
  4078. padding: 0 0px 0 15px;
  4079. background: #1e5cc9;
  4080. color: #fff;
  4081. height: 40px;
  4082. line-height: 40px;
  4083. border-top-left-radius: 10px;
  4084. border-top-right-radius: 10px;
  4085. }
  4086. .isTypeOne {
  4087. width: 240px;
  4088. height: 170px;
  4089. /* border: 1px solid #f8f8f8; */
  4090. border-radius: 10px;
  4091. box-shadow: 0 0 6px 1px #dfdada;
  4092. }
  4093. .e_add_top {
  4094. display: flex;
  4095. justify-content: space-between;
  4096. padding: 20px 20px 0 20px;
  4097. border-radius: 3px;
  4098. background: #fff;
  4099. }
  4100. .e_add_title2 {
  4101. display: flex;
  4102. align-items: center;
  4103. }
  4104. .e_add_title2 span {
  4105. width: 40px;
  4106. }
  4107. .e_add_title {
  4108. display: flex;
  4109. align-items: center;
  4110. color: #b8b8b8;
  4111. font-size: 18px;
  4112. position: relative;
  4113. height: 40px;
  4114. }
  4115. .e_add_title span {
  4116. margin-right: 10px;
  4117. }
  4118. .e_add_title .el_input {
  4119. width: 300px;
  4120. }
  4121. .e_add_title>>>.el-input__inner {
  4122. width: 400px;
  4123. }
  4124. .e_add_btn {}
  4125. .e_add_content {
  4126. display: flex;
  4127. width: 100%;
  4128. max-width: 650px;
  4129. height: 550px;
  4130. }
  4131. .e_add_list {
  4132. background: #fff;
  4133. height: 500px;
  4134. width: 210px;
  4135. position: relative;
  4136. margin: 15px 5px 0 0;
  4137. flex-shrink: 0;
  4138. display: flex;
  4139. flex-direction: column;
  4140. }
  4141. .e_add_list_title {
  4142. font-size: 20px;
  4143. width: 100%;
  4144. box-sizing: border-box;
  4145. padding: 15px 40px;
  4146. text-align: center;
  4147. border-bottom: 1px solid #eaeaea;
  4148. position: relative;
  4149. display: flex;
  4150. align-items: center;
  4151. justify-content: center;
  4152. height: 57px;
  4153. background: #f6f6f6;
  4154. }
  4155. .e_add_list_title span {
  4156. overflow: hidden;
  4157. white-space: nowrap;
  4158. text-overflow: ellipsis;
  4159. }
  4160. .e_add_list_title img {
  4161. position: absolute;
  4162. right: 15px;
  4163. width: 25px;
  4164. cursor: pointer;
  4165. top: 50%;
  4166. transform: translateY(-50%);
  4167. }
  4168. .e_add_list_body {
  4169. height: calc(100% - 187px);
  4170. overflow: auto;
  4171. }
  4172. .e_add_list_child {
  4173. width: 100%;
  4174. display: flex;
  4175. align-items: center;
  4176. justify-content: center;
  4177. position: relative;
  4178. box-sizing: border-box;
  4179. padding: 15px 40px;
  4180. text-align: center;
  4181. }
  4182. .e_add_list_child span {
  4183. overflow: hidden;
  4184. white-space: nowrap;
  4185. text-overflow: ellipsis;
  4186. cursor: pointer;
  4187. }
  4188. .e_add_list_child img {
  4189. position: absolute;
  4190. right: 10px;
  4191. width: 21px;
  4192. cursor: pointer;
  4193. top: 50%;
  4194. transform: translateY(-50%);
  4195. }
  4196. .e_add_list_child+.e_add_list_child {
  4197. border-top: 1px solid #eaeaea;
  4198. }
  4199. .e_add_list_child .active {
  4200. color: #409eff;
  4201. }
  4202. .e_add_list_btn {
  4203. position: absolute;
  4204. bottom: 0;
  4205. height: 50px;
  4206. background: rgb(120, 120, 254);
  4207. width: 100%;
  4208. color: #fff;
  4209. font-size: 16px;
  4210. text-align: center;
  4211. line-height: 50px;
  4212. cursor: pointer;
  4213. }
  4214. .e_add_list_detail {
  4215. position: absolute;
  4216. bottom: 0;
  4217. height: 130px;
  4218. background: rgb(120, 120, 254);
  4219. width: 100%;
  4220. color: #fff;
  4221. font-size: 16px;
  4222. display: flex;
  4223. align-items: center;
  4224. justify-content: center;
  4225. }
  4226. .e_add_list_detail textarea {
  4227. height: 90%;
  4228. width: 95%;
  4229. border: none;
  4230. resize: none;
  4231. outline: none;
  4232. padding: 5px;
  4233. box-sizing: border-box;
  4234. }
  4235. .e_add_list_pbox {
  4236. width: 100%;
  4237. max-width: 650px;
  4238. /* height: 600px; */
  4239. }
  4240. .e_add_list_pbox_title {
  4241. height: 50px;
  4242. background: #fff;
  4243. display: flex;
  4244. align-items: center;
  4245. width: 100%;
  4246. box-sizing: border-box;
  4247. padding: 0 20px;
  4248. }
  4249. .type_title {
  4250. font-size: 18px;
  4251. font-weight: 700;
  4252. }
  4253. .type_content {
  4254. font-size: 16px;
  4255. margin-left: 30px;
  4256. }
  4257. .type_content span+span {
  4258. margin-left: 20px;
  4259. }
  4260. .type_content span {
  4261. cursor: pointer;
  4262. padding-bottom: 5px;
  4263. box-sizing: border-box;
  4264. }
  4265. .type_content .active {
  4266. color: #409eff;
  4267. border-bottom: 2px solid #409eff;
  4268. }
  4269. .e_add_list_pbox_content {
  4270. height: calc(100% - 50px);
  4271. display: flex;
  4272. align-items: center;
  4273. width: 100%;
  4274. background: #fff;
  4275. }
  4276. .evaCss {
  4277. display: flex;
  4278. flex-direction: row;
  4279. flex-wrap: nowrap;
  4280. align-items: flex-start;
  4281. }
  4282. .cru_line {
  4283. position: absolute;
  4284. bottom: 0px;
  4285. transition: all 0.5s;
  4286. left: 0px;
  4287. width: 125px;
  4288. margin-left: -25px;
  4289. }
  4290. .isNoMessage {
  4291. width: 20%;
  4292. margin: 25% auto 0;
  4293. }
  4294. .isNoMessage>img {
  4295. width: 100%;
  4296. height: 100%;
  4297. }
  4298. .fullStyle>>>.el-dialog__body {
  4299. height: 100% !important;
  4300. }
  4301. .fullStyle>>>.el-dialog,
  4302. .fullStyle {
  4303. width: 100% !important;
  4304. max-width: 100% !important;
  4305. height: 100% !important;
  4306. margin: 0 !important;
  4307. }
  4308. .full_diy>>>.el-dialog {
  4309. margin: 0 !important;
  4310. height: 100%;
  4311. padding: 4px;
  4312. }
  4313. .full_diy>>>.el-dialog__body {
  4314. height: calc(100% - 100px);
  4315. }
  4316. .full_diy2>>>.el-dialog__body {
  4317. height: calc(100% - 50px);
  4318. padding: 0;
  4319. }
  4320. .switchCss {
  4321. /* width: 100%; */
  4322. display: flex;
  4323. flex-direction: row;
  4324. flex-wrap: nowrap;
  4325. align-items: center;
  4326. /* justify-content: center; */
  4327. }
  4328. .isClickNav {
  4329. color: #499eef;
  4330. }
  4331. .commentImg {
  4332. width: 25px;
  4333. height: 25px;
  4334. cursor: pointer;
  4335. }
  4336. .commentImg>img {
  4337. width: 100%;
  4338. height: 100%;
  4339. }
  4340. .comment {
  4341. background: #f9f9f9;
  4342. border-radius: 0 0 15px 15px;
  4343. display: flex;
  4344. flex-direction: row;
  4345. flex-wrap: nowrap;
  4346. align-items: center;
  4347. justify-content: flex-end;
  4348. height: 35px;
  4349. }
  4350. .commentList {
  4351. display: flex;
  4352. flex-direction: row;
  4353. flex-wrap: nowrap;
  4354. align-items: center;
  4355. justify-content: center;
  4356. align-content: center;
  4357. /* margin-left: 15px; */
  4358. margin-left: 8px;
  4359. }
  4360. .scoreImg {
  4361. width: 17px;
  4362. height: 17px;
  4363. }
  4364. .studentDetail {
  4365. display: flex;
  4366. flex-direction: row;
  4367. flex-wrap: nowrap;
  4368. /* align-items: center; */
  4369. align-items: flex-start;
  4370. }
  4371. .tx {
  4372. width: 50px;
  4373. }
  4374. .tx>img {
  4375. width: 100%;
  4376. height: 100%;
  4377. }
  4378. .nameAndTime {
  4379. display: flex;
  4380. flex-direction: column;
  4381. flex-wrap: nowrap;
  4382. align-items: flex-start;
  4383. margin-left: 10px;
  4384. }
  4385. .worksAnswer {
  4386. color: #4078dd;
  4387. margin: 10px 0;
  4388. font-size: 16px;
  4389. position: relative;
  4390. }
  4391. .worksAnswer>img {
  4392. width: 500px;
  4393. height: 300px;
  4394. object-fit: contain;
  4395. margin: 0 auto;
  4396. display: block;
  4397. }
  4398. .commentTop {
  4399. border-bottom: 1px solid #eaeaea;
  4400. padding-bottom: 10px;
  4401. }
  4402. .commentBox {
  4403. padding-top: 15px;
  4404. }
  4405. .pl {
  4406. font-size: 18px;
  4407. }
  4408. .plName {
  4409. display: flex;
  4410. flex-direction: row;
  4411. flex-wrap: nowrap;
  4412. align-items: baseline;
  4413. color: #78787a;
  4414. }
  4415. .evalCss {
  4416. background: #fff;
  4417. font-size: 18px;
  4418. }
  4419. .nav {
  4420. color: #9d9d9d;
  4421. padding: 5px 0 15px 20px;
  4422. }
  4423. .middleBox {
  4424. padding: 5px 0 15px 20px;
  4425. }
  4426. .pfBox {
  4427. padding-bottom: 30px;
  4428. }
  4429. .nameAndrate {
  4430. display: flex;
  4431. flex-direction: row;
  4432. flex-wrap: nowrap;
  4433. align-items: center;
  4434. padding-bottom: 10px;
  4435. }
  4436. .nameAndrate>div {
  4437. margin-left: 10px;
  4438. color: #000;
  4439. }
  4440. .pfBox>div:nth-child(2) {
  4441. background: #f7f6f9;
  4442. width: 400px;
  4443. min-height: 45px;
  4444. border-radius: 10px;
  4445. font-size: 16px;
  4446. display: flex;
  4447. flex-wrap: wrap;
  4448. align-items: center;
  4449. padding: 10px 20px;
  4450. box-sizing: border-box;
  4451. color: #000;
  4452. }
  4453. .bz {
  4454. display: flex;
  4455. flex-direction: row;
  4456. flex-wrap: nowrap;
  4457. align-items: flex-start;
  4458. }
  4459. .bz>div {
  4460. padding: 0 10px;
  4461. }
  4462. .select_box2_title {
  4463. background: #fff;
  4464. border-radius: 5px;
  4465. padding: 15px 10px;
  4466. box-sizing: border-box;
  4467. margin-bottom: 10px;
  4468. display: flex;
  4469. flex-direction: row;
  4470. flex-wrap: nowrap;
  4471. align-items: center;
  4472. }
  4473. .select_box2_title>div:nth-child(2) {
  4474. margin-left: 10px;
  4475. color: #c4c4c4;
  4476. }
  4477. .select_box2_box {
  4478. display: flex;
  4479. height: 500px;
  4480. }
  4481. .select_box2_img {
  4482. width: calc(100% - 310px);
  4483. height: 100%;
  4484. overflow: auto;
  4485. background: #fff;
  4486. border-radius: 5px;
  4487. }
  4488. .select_box2_img img {
  4489. width: 100%;
  4490. }
  4491. .select_box2_answer {
  4492. background: #fff;
  4493. margin-left: 10px;
  4494. border-radius: 5px;
  4495. width: 300px;
  4496. overflow: auto;
  4497. height: 90%;
  4498. display: flex;
  4499. flex-direction: column;
  4500. align-items: flex-start;
  4501. padding-top: 10px;
  4502. box-sizing: border-box;
  4503. position: relative;
  4504. }
  4505. .select_answer_title {
  4506. padding: 0 0 15px 20px;
  4507. color: #c4c4c4;
  4508. }
  4509. .select_box2_answer_box {
  4510. margin: 0 0 10px 20px;
  4511. width: 85%;
  4512. display: flex;
  4513. flex-direction: row;
  4514. flex-wrap: nowrap;
  4515. align-items: center;
  4516. }
  4517. .select_box2_answer_box>>>.el-input.is-disabled .el-input__inner {
  4518. color: #000;
  4519. }
  4520. .upAnswerCss {
  4521. position: absolute;
  4522. bottom: 15px;
  4523. right: 15px;
  4524. }
  4525. .upAnswerCss>>>.el-button {
  4526. width: 95px;
  4527. height: 35px;
  4528. line-height: 35px;
  4529. padding: 0;
  4530. }
  4531. .rightWidthCss {
  4532. width: 60%;
  4533. display: flex;
  4534. flex-direction: row;
  4535. align-items: flex-start;
  4536. }
  4537. .rightAnswer {
  4538. display: flex;
  4539. flex-direction: row;
  4540. flex-wrap: nowrap;
  4541. align-items: center;
  4542. color: red;
  4543. margin-bottom: 31px;
  4544. }
  4545. .rightAnswerCss {
  4546. display: flex;
  4547. flex-direction: column;
  4548. flex-wrap: nowrap;
  4549. padding-top: 60px;
  4550. }
  4551. .blueCss {
  4552. color: #767de1;
  4553. margin-left: 10px;
  4554. }
  4555. .redCss {
  4556. color: red;
  4557. }
  4558. .redioStyle>>>.el-radio__input.is-checked+.el-radio__label {
  4559. color: rgb(0 123 255) !important;
  4560. }
  4561. .redioStyle>>>.el-checkbox__input.is-checked+.el-checkbox__label {
  4562. color: rgb(0 123 255) !important;
  4563. }
  4564. .zuoyeYulan {
  4565. padding-top: 15px;
  4566. font-size: 18px;
  4567. display: flex;
  4568. align-items: flex-end;
  4569. }
  4570. .buttonA {
  4571. margin-left: 10px;
  4572. padding: 0;
  4573. }
  4574. .displayBox {
  4575. margin-bottom: 10px;
  4576. display: block;
  4577. border-bottom: 3px solid #eee;
  4578. display: flex;
  4579. align-items: center;
  4580. }
  4581. .easy_comment {
  4582. width: calc(100% - 90px);
  4583. margin-left: 10px;
  4584. display: flex;
  4585. flex-wrap: wrap;
  4586. }
  4587. .easy_comment>div {
  4588. border: 1px solid #4a4a4a;
  4589. color: #666;
  4590. border-radius: 15px;
  4591. padding: 5px 10px;
  4592. font-size: 16px;
  4593. margin-bottom: 10px;
  4594. margin-right: 5px;
  4595. cursor: pointer;
  4596. }
  4597. .easy_comment div:hover {
  4598. border: 1px solid #f7ba2a;
  4599. color: #c69217;
  4600. }
  4601. .xuan_right_box {
  4602. padding: 10px;
  4603. background: rgb(247, 247, 247);
  4604. margin: 10px 12px;
  4605. border-radius: 5px;
  4606. }
  4607. .tool_right_box {
  4608. display: flex;
  4609. align-items: center;
  4610. }
  4611. .tool_right_box+.tool_right_box {
  4612. margin-top: 10px;
  4613. }
  4614. .right_box_xuan {
  4615. background: rgb(0 123 255);
  4616. color: #fff;
  4617. border-radius: 5px;
  4618. padding: 5px;
  4619. margin-left: 10px;
  4620. }
  4621. .pButton {
  4622. position: fixed;
  4623. /* right: 5%; */
  4624. /* bottom: 5%; */
  4625. color: #fff;
  4626. /* width: 50px;
  4627. height: 50px; */
  4628. /* border-radius: 50%; */
  4629. text-align: center;
  4630. /* line-height: 50px; */
  4631. /* background-image: -webkit-linear-gradient(left, #72aaf4, #4d81d5); */
  4632. cursor: pointer;
  4633. z-index: 999;
  4634. right: 0;
  4635. top: 83px;
  4636. width: 50px;
  4637. height: 50px;
  4638. background: #fff;
  4639. display: flex;
  4640. align-items: center;
  4641. justify-content: center;
  4642. box-shadow: 0px 0 8px 0px #c5c5c5;
  4643. }
  4644. .pzClass {
  4645. width: calc(100% - 340px);
  4646. }
  4647. .newDialogCss {
  4648. /* position: fixed;
  4649. right: 5%;
  4650. top: 50%;
  4651. width: 340px;
  4652. transform: translateY(-50%);
  4653. height: 60%;
  4654. box-shadow: 0px 0 8px 0px #555555;
  4655. border-radius: 15px;
  4656. z-index: 999; */
  4657. position: fixed;
  4658. right: 0;
  4659. top: 70px;
  4660. width: 340px;
  4661. height: calc(100% - 80px);
  4662. z-index: 999;
  4663. background: #fff;
  4664. border-radius: 15px;
  4665. border-top-right-radius: 0px;
  4666. border-bottom-right-radius: 0px;
  4667. overflow: hidden;
  4668. }
  4669. .pzTop {
  4670. color: #fff;
  4671. background: #000;
  4672. display: flex;
  4673. flex-direction: row;
  4674. flex-wrap: nowrap;
  4675. align-items: center;
  4676. justify-content: space-between;
  4677. height: 40px;
  4678. border-radius: 15px 15px 0 0;
  4679. }
  4680. .pzTop2 .checkbox {
  4681. display: flex;
  4682. align-items: center;
  4683. padding: 15px 30px;
  4684. flex: 0 0 auto;
  4685. font-weight: bold;
  4686. border-bottom: 1px solid #eee;
  4687. justify-content: space-between;
  4688. }
  4689. .pzTop2 .check {
  4690. text-align: center;
  4691. cursor: pointer;
  4692. box-sizing: border-box;
  4693. display: flex;
  4694. }
  4695. .pzTop2 img {
  4696. width: 25px;
  4697. cursor: pointer;
  4698. }
  4699. .pzTop>div:nth-child(1) {
  4700. padding-left: 10px;
  4701. }
  4702. .pzTop>div:nth-child(2) {
  4703. width: 15px;
  4704. height: 15px;
  4705. padding-right: 10px;
  4706. cursor: pointer;
  4707. }
  4708. .pzTop>div:nth-child(2)>img {
  4709. width: 100%;
  4710. height: 100%;
  4711. }
  4712. .pzBox,
  4713. .noPzBox {
  4714. height: calc(100% - 60px);
  4715. /* background: #ededed; */
  4716. background: #fff;
  4717. /* border-radius: 0 0 15px 15px; */
  4718. }
  4719. .noPzBox {
  4720. display: flex;
  4721. flex-direction: column;
  4722. flex-wrap: nowrap;
  4723. justify-content: center;
  4724. align-items: center;
  4725. }
  4726. .pzList {
  4727. background: #f7f7f7;
  4728. width: 90%;
  4729. margin: 0 auto 15px;
  4730. border-radius: 5px;
  4731. }
  4732. .pzNavTop {
  4733. display: flex;
  4734. flex-direction: row;
  4735. flex-wrap: nowrap;
  4736. padding: 10px 10px 0 10px;
  4737. align-items: center;
  4738. }
  4739. .pzDelete {
  4740. cursor: pointer;
  4741. margin-left: auto;
  4742. font-size: 14px;
  4743. color: #afafaf;
  4744. }
  4745. .pzNavTop>div:nth-child(1) {
  4746. background: #3760af;
  4747. width: 35px;
  4748. height: 35px;
  4749. color: #fff;
  4750. text-align: center;
  4751. line-height: 35px;
  4752. border-radius: 50%;
  4753. font-size: 14px;
  4754. }
  4755. .pzNavTop>div:nth-child(2) {
  4756. font-size: 18px;
  4757. color: #959595;
  4758. margin-left: 5px;
  4759. }
  4760. .pzContent {
  4761. padding: 10px;
  4762. word-break: break-word;
  4763. }
  4764. .pzContent audio {
  4765. width: 100%;
  4766. }
  4767. .pzContent audio::-webkit-media-controls-panel {
  4768. background: #fff;
  4769. }
  4770. .pzListBox {
  4771. padding-top: 15px;
  4772. height: calc(100% - 60px);
  4773. overflow: auto;
  4774. }
  4775. .addPzButton {
  4776. position: relative;
  4777. margin-top: 3px;
  4778. width: 100%;
  4779. }
  4780. .addPzButton .img1 {
  4781. position: absolute;
  4782. top: 50%;
  4783. right: 25px;
  4784. transform: translateY(-50%);
  4785. height: 100%;
  4786. display: flex;
  4787. align-items: center;
  4788. }
  4789. .addPzButton .img1 div {
  4790. display: flex;
  4791. }
  4792. .addPzButton .img1 div img {
  4793. width: 28px;
  4794. margin-left: 10px;
  4795. cursor: pointer;
  4796. }
  4797. .addPzButton .img1 div span {
  4798. font-size: 14px;
  4799. margin: 4px 0 0 3px;
  4800. color: #afafaf;
  4801. }
  4802. .psTypeBox{
  4803. display: flex;
  4804. margin-top: 20px;
  4805. padding: 0px 0 0 30px;
  4806. }
  4807. .psTypeBox > span{
  4808. cursor: pointer;
  4809. }
  4810. .psTypeBox > span + span{
  4811. margin-left: 10px;
  4812. }
  4813. .psTypeBox .active{
  4814. color: #3e88f4;
  4815. border-bottom: 2px solid #2f80f3;
  4816. }
  4817. .psBox {
  4818. margin-bottom: 50px;
  4819. }
  4820. .psBox>div {
  4821. display: flex;
  4822. align-items: center;
  4823. margin-top: 20px;
  4824. padding: 0px 30px;
  4825. }
  4826. .psBox>div>span:nth-child(1) {
  4827. width: 280px;
  4828. font-size: 15px;
  4829. text-align: left;
  4830. margin-right: 10px;
  4831. }
  4832. .psBox>div>.number {
  4833. width: 100px;
  4834. text-align: center;
  4835. }
  4836. .addPz {
  4837. background: #4b79ce;
  4838. width: 100px;
  4839. color: #fff;
  4840. font-size: 12px;
  4841. height: 30px;
  4842. margin: 0 auto;
  4843. text-align: center;
  4844. line-height: 30px;
  4845. border-radius: 10px;
  4846. cursor: pointer;
  4847. }
  4848. .addDialogCss {
  4849. position: fixed;
  4850. right: 37%;
  4851. top: 50%;
  4852. width: 600px;
  4853. transform: translateY(-50%);
  4854. height: 70%;
  4855. min-height: 450px;
  4856. box-shadow: 0px 0 8px 0px #555555;
  4857. border-radius: 15px;
  4858. z-index: 999;
  4859. }
  4860. .teacherPz {
  4861. display: flex;
  4862. flex-direction: row;
  4863. align-items: center;
  4864. flex-wrap: nowrap;
  4865. }
  4866. .teacherPzImg {
  4867. width: 30px;
  4868. height: 30px;
  4869. }
  4870. .teacherPzImg>img {
  4871. width: 100%;
  4872. height: 100%;
  4873. }
  4874. .addPzBox {
  4875. height: calc(100% - 40px);
  4876. background: #ededed;
  4877. }
  4878. .pzAudioClass {
  4879. margin: 15px 14px;
  4880. background: #fff;
  4881. height: 100%;
  4882. display: flex;
  4883. justify-content: center;
  4884. align-items: center;
  4885. }
  4886. .pzConText {
  4887. width: 95%;
  4888. height: 100%;
  4889. margin: 10px auto 0;
  4890. border: none;
  4891. background: #fff;
  4892. border-radius: 0px;
  4893. }
  4894. .pzConText>>>.text {
  4895. height: calc(100% - 82px);
  4896. }
  4897. .addTextCss {
  4898. background: #4b79ce;
  4899. width: 80px;
  4900. height: 30px;
  4901. text-align: center;
  4902. color: #fff;
  4903. line-height: 30px;
  4904. border-radius: 10px;
  4905. margin: 10px auto 0;
  4906. cursor: pointer;
  4907. }
  4908. .pzConText:focus-visible {
  4909. border: none !important;
  4910. }
  4911. .maxWidth {
  4912. width: 1000px;
  4913. }
  4914. .noPz {
  4915. width: 150px;
  4916. margin: 0 auto 20%;
  4917. }
  4918. .noPz>img {
  4919. width: 100%;
  4920. height: 100%;
  4921. }
  4922. .pzList .time {
  4923. text-align: right;
  4924. box-sizing: border-box;
  4925. padding: 0 10px 10px 0px;
  4926. color: #949494;
  4927. font-size: 14px;
  4928. }
  4929. /* table 样式 */
  4930. .cont>>>table {
  4931. border-top: 1px solid #ccc;
  4932. border-left: 1px solid #ccc;
  4933. }
  4934. .cont>>>table td,
  4935. .cont>>>table th {
  4936. border-bottom: 1px solid #ccc;
  4937. border-right: 1px solid #ccc;
  4938. /* padding: 20px 5px; */
  4939. padding: 5px 10px;
  4940. max-width: 0px;
  4941. height: 30px;
  4942. vertical-align: baseline;
  4943. }
  4944. .cont>>>table th {
  4945. border-bottom: 2px solid #ccc;
  4946. text-align: center;
  4947. }
  4948. /* blockquote 样式 */
  4949. .cont>>>blockquote {
  4950. display: block;
  4951. border-left: 8px solid #d0e5f2;
  4952. padding: 5px 10px;
  4953. margin: 10px 0;
  4954. line-height: 1.4;
  4955. font-size: 100%;
  4956. background-color: #f1f1f1;
  4957. }
  4958. .addPzCheck {
  4959. display: flex;
  4960. flex-direction: row;
  4961. flex-wrap: nowrap;
  4962. padding: 10px 15px 0;
  4963. }
  4964. .addPzCheck span {
  4965. cursor: pointer;
  4966. padding-bottom: 5px;
  4967. font-weight: bold;
  4968. }
  4969. .addPzCheck span+span {
  4970. margin-left: 10px;
  4971. }
  4972. .addPzCheck .isChooseActive {
  4973. color: #3e88f4;
  4974. border-bottom: 2px solid #2f80f3;
  4975. }
  4976. /* code 样式 */
  4977. .cont>>>code {
  4978. display: inline-block;
  4979. *display: inline;
  4980. *zoom: 1;
  4981. background-color: #f1f1f1;
  4982. border-radius: 3px;
  4983. padding: 3px 5px;
  4984. margin: 0 3px;
  4985. }
  4986. .cont>>>pre code {
  4987. display: block;
  4988. }
  4989. /* ul ol 样式 */
  4990. .cont>>>ul,
  4991. ol {
  4992. margin: 10px 0 10px 20px;
  4993. }
  4994. .scoreBox,
  4995. .scoreDetailBox {
  4996. display: flex;
  4997. align-items: center;
  4998. justify-content: flex-start;
  4999. margin-top: 20px;
  5000. font-size: 18px;
  5001. width: 100%;
  5002. }
  5003. .scoreBox .t,
  5004. .scoreDetailBox .t {
  5005. margin-right: 10px;
  5006. width: 100px;
  5007. text-align: right;
  5008. }
  5009. .scoreDetailBox {
  5010. align-items: flex-start;
  5011. }
  5012. .scoreDetailBox>>>.el-textarea {
  5013. width: calc(100% - 200px);
  5014. }
  5015. .scoreBox>>>.el-input {
  5016. width: 130px;
  5017. font-size: 38px;
  5018. }
  5019. .scoreBox>>>.el-input__inner {
  5020. height: 60px;
  5021. }
  5022. .answerScore {
  5023. position: absolute;
  5024. top: 10px;
  5025. right: 10px;
  5026. background: #0000008f;
  5027. border-radius: 5px;
  5028. padding: 3px 5px;
  5029. font-size: 14px;
  5030. color: #fff;
  5031. cursor: pointer;
  5032. }
  5033. .open_box .switch_box {
  5034. width: 100%;
  5035. margin: 0 auto;
  5036. display: flex;
  5037. justify-content: space-between;
  5038. }
  5039. .open_box .switch_box+.switch_box {
  5040. margin-top: 10px;
  5041. }
  5042. .deleteImg {
  5043. width: 25px !important;
  5044. height: 25px !important;
  5045. cursor: pointer;
  5046. position: absolute;
  5047. top: 10px;
  5048. right: 10px;
  5049. }
  5050. .deleteImg2 {
  5051. width: 15px !important;
  5052. height: 15px !important;
  5053. top: 5px;
  5054. right: 5px;
  5055. }
  5056. .rightW {
  5057. right: 40px;
  5058. }
  5059. .drawPBox {
  5060. display: flex;
  5061. flex-direction: column;
  5062. position: relative;
  5063. }
  5064. .drawPBox span {
  5065. font-size: 18px;
  5066. color: #606266;
  5067. padding-bottom: 10px;
  5068. margin: 10px 0;
  5069. border-bottom: 1px solid #eaeaea;
  5070. }
  5071. .drawPBox img {
  5072. width: 500px;
  5073. height: 300px;
  5074. object-fit: contain;
  5075. cursor: pointer;
  5076. margin: 0 auto;
  5077. }
  5078. .sentenBox {
  5079. background: #fff;
  5080. height: 450px;
  5081. overflow: auto;
  5082. background-image: url("../../assets/icon/conSentences/stuBg.png");
  5083. background-position: 102%;
  5084. background-repeat: no-repeat;
  5085. background-size: 60%;
  5086. }
  5087. .addSen {
  5088. background: #409efe;
  5089. width: 90px;
  5090. color: #fff;
  5091. height: 35px;
  5092. text-align: center;
  5093. line-height: 35px;
  5094. border-radius: 5px;
  5095. float: right;
  5096. margin: 10px 20px 0 0;
  5097. cursor: pointer;
  5098. }
  5099. .sentenTop {
  5100. display: flex;
  5101. flex-direction: row;
  5102. flex-wrap: nowrap;
  5103. align-items: center;
  5104. padding: 55px 0 0 20px;
  5105. box-sizing: border-box;
  5106. }
  5107. .sentenTop>div:nth-child(2) {
  5108. width: 300px;
  5109. margin: 0 15px;
  5110. }
  5111. .sentenTop>div:nth-child(3) {
  5112. background: #409efe;
  5113. color: #fff;
  5114. width: 65px;
  5115. height: 35px;
  5116. text-align: center;
  5117. line-height: 35px;
  5118. border-radius: 5px;
  5119. cursor: pointer;
  5120. }
  5121. .cardList,
  5122. .cardList1 {
  5123. padding: 10px 0 10px 0;
  5124. display: flex;
  5125. flex-direction: row;
  5126. flex-wrap: wrap;
  5127. align-items: center;
  5128. box-sizing: border-box;
  5129. border-bottom: 1px solid #f4f4f4;
  5130. width: 98%;
  5131. margin: 0 auto;
  5132. min-width: 60%;
  5133. max-width: 85%;
  5134. }
  5135. .cardList1 {
  5136. padding: 10px 0 10px 10px !important;
  5137. margin: 0 !important;
  5138. }
  5139. .cardBox {
  5140. display: flex;
  5141. flex-direction: row;
  5142. flex-wrap: wrap;
  5143. align-items: center;
  5144. align-content: center;
  5145. }
  5146. .cardBox>div {
  5147. margin-bottom: 10px;
  5148. }
  5149. .isCard,
  5150. .isChooseCard,
  5151. .noCard,
  5152. .isCard1 {
  5153. width: 130px;
  5154. height: 60px;
  5155. text-align: center;
  5156. line-height: 60px;
  5157. font-size: 20px;
  5158. cursor: pointer;
  5159. background-image: url("../../assets/icon/conSentences/titleBorder.png");
  5160. background-size: cover;
  5161. transition: all 2s;
  5162. margin-right: 20px;
  5163. }
  5164. .isCard>div,
  5165. .noCard>div,
  5166. .isCard1>div {
  5167. white-space: nowrap;
  5168. overflow: hidden;
  5169. text-overflow: ellipsis;
  5170. width: 75%;
  5171. margin: 0 auto;
  5172. }
  5173. .noCard {
  5174. background-image: none;
  5175. }
  5176. .isCard1 {
  5177. background-image: url("../../assets/icon/conSentences/answerBorder.png");
  5178. }
  5179. .isChooseCard {
  5180. background-image: none;
  5181. border: 1px dashed #b9b9b9;
  5182. border-radius: 10px;
  5183. }
  5184. .card {
  5185. width: 130px;
  5186. height: 60px;
  5187. }
  5188. .card>img {
  5189. width: 100%;
  5190. height: 100%;
  5191. }
  5192. .rightCardBox {
  5193. margin: 10px 0 0 10px;
  5194. }
  5195. .rightCardBox>div:nth-child(1) {
  5196. margin-bottom: 10px;
  5197. }
  5198. .cardCss {
  5199. display: flex;
  5200. flex-direction: column;
  5201. flex-wrap: nowrap;
  5202. align-items: center;
  5203. border-bottom: 3px solid #b4c3d3;
  5204. padding: 0 0 5px 0;
  5205. margin-right: 10px;
  5206. }
  5207. .cardCss>div:nth-child(2) {
  5208. background: #5b7b9d;
  5209. color: #fff;
  5210. width: 20px;
  5211. height: 20px;
  5212. border-radius: 50%;
  5213. text-align: center;
  5214. line-height: 20px;
  5215. }
  5216. .isWrong {
  5217. display: flex;
  5218. flex-direction: row;
  5219. flex-wrap: nowrap;
  5220. align-content: center;
  5221. align-items: center;
  5222. }
  5223. .answerRight {
  5224. width: 25%;
  5225. }
  5226. .isTj {
  5227. display: flex;
  5228. flex-direction: row;
  5229. flex-wrap: nowrap;
  5230. align-items: center;
  5231. }
  5232. .isTj>div:nth-child(2) {
  5233. color: #727070;
  5234. margin-left: 10px;
  5235. }
  5236. .isTjImg {
  5237. width: 30px;
  5238. height: 30px;
  5239. }
  5240. .isTjImg>img {
  5241. width: 100%;
  5242. height: 100%;
  5243. }
  5244. .cardAnswerBox {
  5245. font-size: 18px;
  5246. width: 97%;
  5247. border: 5px;
  5248. padding: 0;
  5249. border-radius: 5px;
  5250. margin: 10px auto;
  5251. word-break: break-word;
  5252. }
  5253. .w_name {
  5254. margin-bottom: 10px;
  5255. }
  5256. .w_name span {
  5257. font-size: 16px;
  5258. }
  5259. .w_teachert {
  5260. width: 50px !important;
  5261. position: absolute;
  5262. height: auto !important;
  5263. z-index: 10;
  5264. right: 25px;
  5265. top: -25px;
  5266. }
  5267. .group_workBox {}
  5268. .group_workBox+.group_workBox {
  5269. margin-top: 20px;
  5270. }
  5271. .group_box {
  5272. padding-bottom: 20px;
  5273. border-bottom: 2px solid #f0f0f0;
  5274. }
  5275. .group_title {
  5276. display: flex;
  5277. align-items: center;
  5278. justify-content: space-between;
  5279. }
  5280. .group_name {
  5281. background-image: url(../../assets/icon/groupN.png);
  5282. width: 220px;
  5283. background-size: 100% 100%;
  5284. height: 67px;
  5285. padding: 0 20px 0 43px;
  5286. box-sizing: border-box;
  5287. line-height: 63px;
  5288. color: #fff;
  5289. overflow: hidden;
  5290. white-space: nowrap;
  5291. text-overflow: ellipsis;
  5292. }
  5293. .group_work {
  5294. width: 100%;
  5295. padding: 0 10px;
  5296. box-sizing: border-box;
  5297. display: flex;
  5298. flex-wrap: wrap;
  5299. }
  5300. .g_d_box {
  5301. display: flex;
  5302. flex-flow: wrap;
  5303. justify-content: space-around;
  5304. }
  5305. .g_d_box .isChair {
  5306. background-image: url(../../assets/avatar.png) !important;
  5307. }
  5308. .g_d_group {
  5309. width: 500px;
  5310. margin-bottom: 80px;
  5311. }
  5312. .g_d_group_chair {
  5313. display: flex;
  5314. align-items: center;
  5315. justify-content: center;
  5316. }
  5317. .g_d_group_chair>div+div {
  5318. margin-left: 30px;
  5319. }
  5320. .g_d_group_chair>div,
  5321. .g_d_group_chair2>div {
  5322. display: flex;
  5323. flex-direction: column;
  5324. align-items: center;
  5325. }
  5326. .g_d_group_chair>div>span:nth-child(1),
  5327. .g_d_group_chair2>div>span:nth-child(1) {
  5328. background-image: url(../../assets/icon/chair.png);
  5329. width: 50px;
  5330. height: 50px;
  5331. display: block;
  5332. background-size: 100% 100%;
  5333. }
  5334. .g_d_group_tableBox {
  5335. display: flex;
  5336. align-items: center;
  5337. justify-content: center;
  5338. }
  5339. .g_d_group_chair2 {
  5340. display: flex;
  5341. flex-direction: column;
  5342. align-items: center;
  5343. justify-content: center;
  5344. }
  5345. .g_d_group_chair2>div+div {
  5346. margin-top: 10px;
  5347. }
  5348. .g_d_group_table {
  5349. background-image: url(../../assets/icon/groupBg.png);
  5350. width: 354px;
  5351. height: 196px;
  5352. background-size: 100% 100%;
  5353. display: flex;
  5354. align-items: center;
  5355. justify-content: center;
  5356. flex-direction: column;
  5357. color: #fff;
  5358. }
  5359. .g_d_group_table>div:nth-child(1) {
  5360. font-size: 24px;
  5361. margin-bottom: 5px;
  5362. }
  5363. .g_d_group_table>div:nth-child(2) div {
  5364. cursor: pointer;
  5365. background: #2e77bf;
  5366. padding: 4px 10px;
  5367. border-radius: 5px;
  5368. }
  5369. .groupBox {}
  5370. .groupContent+.groupContent {
  5371. margin-top: 30px;
  5372. }
  5373. .groupTitle {
  5374. font-size: 24px;
  5375. color: rgb(80, 80, 80);
  5376. margin-bottom: 20px;
  5377. }
  5378. .groupName {
  5379. display: flex;
  5380. align-items: center;
  5381. }
  5382. .groupn {
  5383. font-size: 15px;
  5384. margin-right: 10px;
  5385. }
  5386. .groupName+.groupName {
  5387. margin-top: 15px;
  5388. }
  5389. .groupBtn {
  5390. margin-left: 10px;
  5391. }
  5392. .groupContent>>>.el-input-number.is-without-controls .el-input__inner {
  5393. text-align: left;
  5394. }
  5395. .g_d_btnBox {
  5396. display: flex;
  5397. justify-content: flex-end;
  5398. align-items: flex-end;
  5399. margin-bottom: 20px;
  5400. }
  5401. .updateChair {
  5402. position: relative;
  5403. }
  5404. .updateChairBtn {
  5405. position: absolute;
  5406. width: 50px;
  5407. height: 50px;
  5408. overflow: hidden;
  5409. /* display: flex; */
  5410. align-items: center;
  5411. justify-content: center;
  5412. background: #00000087;
  5413. color: #fff;
  5414. border-radius: 50px;
  5415. display: none;
  5416. cursor: pointer;
  5417. }
  5418. .updateChair:hover .updateChairBtn {
  5419. display: flex;
  5420. }
  5421. .group_staic_box {
  5422. display: flex;
  5423. padding: 30px 40px 10px;
  5424. flex-wrap: wrap;
  5425. }
  5426. .group_staic {
  5427. /* width: 50%; */
  5428. margin-bottom: 20px;
  5429. display: flex;
  5430. align-items: center;
  5431. }
  5432. .group_staic span:nth-child(1) {
  5433. width: 150px;
  5434. text-align: right;
  5435. margin-right: 15px;
  5436. }
  5437. .group_staic span:nth-child(2) {
  5438. background: rgb(0 123 255);
  5439. color: #fff;
  5440. border-radius: 5px;
  5441. padding: 5px;
  5442. }
  5443. .homeWorkBox {
  5444. margin: 10px 0;
  5445. padding: 0 10px;
  5446. }
  5447. .homeWorkBox .htitle {
  5448. margin: 0 0 15px;
  5449. font-size: 18px;
  5450. }
  5451. .toolPhoto_box {
  5452. display: flex;
  5453. flex-wrap: wrap;
  5454. }
  5455. .photo_box {
  5456. margin: 10px 25px 0 0;
  5457. display: flex;
  5458. align-items: flex-start;
  5459. flex-direction: column;
  5460. }
  5461. .photo_box>span {
  5462. margin-bottom: 10px;
  5463. }
  5464. .toolPhoto {
  5465. width: 200px;
  5466. height: 105px;
  5467. border-radius: 5px;
  5468. box-shadow: rgb(223 218 218) 0px 0px 6px 1px;
  5469. cursor: pointer;
  5470. }
  5471. .toolPhoto img {
  5472. height: 100%;
  5473. width: 100%;
  5474. /* object-fit: contain; */
  5475. object-fit: cover;
  5476. border-radius: 5px;
  5477. }
  5478. .task_box {
  5479. margin: 15px auto 5px;
  5480. width: calc(100% - 60px);
  5481. display: flex;
  5482. flex-wrap: wrap;
  5483. }
  5484. .task_pbox+.task_pbox {
  5485. margin-left: 20px;
  5486. }
  5487. .tcMember+.tcMember::before {
  5488. content: "、";
  5489. }
  5490. </style>