study.vue 243 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057
  1. <template>
  2. <div class="pb_content" style="overflow: unset">
  3. <div
  4. class="pb_content_body"
  5. style="display: flex; height: 900px; position: relative"
  6. >
  7. <div class="pb_left">
  8. <!-- <div class="courseTitle">{{ courseDetail.title }}</div> -->
  9. <el-tooltip
  10. class="courseTitle"
  11. effect="light"
  12. :content="courseDetail.title"
  13. placement="top"
  14. >
  15. <div>{{ courseDetail.title }}</div>
  16. </el-tooltip>
  17. <div class="ml">目录</div>
  18. <div class="cru_selectBox">
  19. <div v-for="(item, stageIndex) in navList" :key="stageIndex">
  20. <div class="blue_box_one" @click="get(stageIndex)">
  21. <div>Phrase{{ stageIndex + 1 }}</div>
  22. <div>{{ item.dyName }}</div>
  23. </div>
  24. <div class="twoChild" :class="{ navActive: item.isOpen }">
  25. <div
  26. class="navChild"
  27. v-for="(nav, navIndex) in item.task"
  28. :key="navIndex"
  29. >
  30. <div
  31. class="navTask"
  32. @click="openTask(stageIndex, navIndex, nav.id)"
  33. :class="{
  34. openTaskActive:
  35. navIndex == taskCount &&
  36. nav.id == navId &&
  37. stageIndex == courseType,
  38. }"
  39. >
  40. <div
  41. class="vedioNav"
  42. :class="{
  43. isClick:
  44. navIndex == taskCount &&
  45. nav.id == navId &&
  46. stageIndex == courseType,
  47. }"
  48. style="margin: 0"
  49. >
  50. Task{{ navIndex + 1 }}
  51. </div>
  52. <el-tooltip
  53. class="navTaskname item"
  54. effect="light"
  55. :content="nav.taskName"
  56. placement="top"
  57. >
  58. <div>{{ nav.taskName }}</div>
  59. </el-tooltip>
  60. </div>
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. </div>
  66. <div class="body_student">
  67. <div
  68. v-for="(jd, jdIndex) in chapInfoList"
  69. :key="jdIndex"
  70. style="background: #f2f2f2"
  71. >
  72. <div
  73. class="new_top"
  74. style="width: 100%; box-shadow: 0px 9px 0 0 #f2f2f2"
  75. >
  76. <div class="courseIndex">
  77. <div>Phrase{{ jdIndex - 0 + 1 }}</div>
  78. <el-tooltip effect="light" :content="jd.dyName" placement="top">
  79. <div>{{ jd.dyName }}</div>
  80. </el-tooltip>
  81. </div>
  82. <div class="btnAll">
  83. <!-- <div class="returnBtn" @click="nextOrpreSteps(0)">上一步</div> -->
  84. <!-- <div class="returnBtn" @click="nextOrpreSteps(1)">下一步</div> -->
  85. <div class="returnBtn" @click="allScrell" v-if="jdIndex == 0">
  86. 全屏
  87. </div>
  88. <div
  89. class="returnBtn"
  90. @click="juriVisible = true"
  91. v-if="jdIndex == 0 && tType == 3"
  92. >
  93. Permission
  94. </div>
  95. <div
  96. class="returnBtn"
  97. style="background: #225bc7"
  98. v-if="jdIndex == 0"
  99. @click.stop="
  100. goTo(
  101. '/courseDetail?userid=' +
  102. userid +
  103. '&oid=' +
  104. oid +
  105. '&org=' +
  106. org +
  107. '&cid=' +
  108. classId +
  109. '&courseId=' +
  110. id +
  111. '&tType=' +
  112. tType +
  113. '&screenType=' +
  114. screenType
  115. )
  116. "
  117. >
  118. Back
  119. </div>
  120. </div>
  121. </div>
  122. <!-- v-for="(task, index) in chapInfoList[courseType].chapterInfo[0]
  123. .taskJson"
  124. :key="index"-->
  125. <div
  126. class="isNoMessage"
  127. v-if="
  128. chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
  129. .chapterData.length == 0 &&
  130. chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
  131. .toolChoose[0].tool.length == 0 &&
  132. chapInfoList[courseType].chapterInfo[0].video.length == 0 &&
  133. chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
  134. .taskDetail == '' &&
  135. !chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList
  136. "
  137. >
  138. <img src="../assets/icon/isNoMessage.png" alt />
  139. </div>
  140. <div
  141. class="study_top"
  142. v-for="(rw, rwIndex) in jd.chapterInfo[0].taskJson"
  143. :key="rwIndex"
  144. >
  145. <div class="rwCss">
  146. <div :id="jdIndex + '-' + rwIndex">Task{{ rwIndex + 1 }}</div>
  147. <div style="margin: 0px 0 0 10px">{{ rw.task }}</div>
  148. </div>
  149. <div
  150. class="vedioBox"
  151. v-if="
  152. vedio[jdIndex][rwIndex].length > 0 ||
  153. rw.taskDetail != '' ||
  154. rw.chapterData.length > 0
  155. "
  156. >
  157. <div class="checkbox">
  158. <div class="check" style="font-size: 25px" :id="rw.id">
  159. 学一学
  160. </div>
  161. </div>
  162. <div
  163. class="student_head"
  164. v-if="
  165. vedio[jdIndex][rwIndex].length > 0 ||
  166. textList[jdIndex][rwIndex].length > 0 ||
  167. file[jdIndex][rwIndex].length > 0 ||
  168. rw.taskDetail != ''
  169. "
  170. >
  171. <div class="taskBox">
  172. <div
  173. style="
  174. display: flex;
  175. flex-wrap: nowrap;
  176. flex-direction: column;
  177. position: relative;
  178. "
  179. >
  180. <div
  181. style="padding: 15px 0 15px 20px"
  182. v-if="rw.taskDetail != ''"
  183. v-html="rw.taskDetail ? rw.taskDetail : '暂无描述'"
  184. ></div>
  185. </div>
  186. </div>
  187. <div class="vedioTaskBox">
  188. <div
  189. class="box_course"
  190. v-if="
  191. vedio[jdIndex][rwIndex].length > 0 ||
  192. textList[jdIndex][rwIndex].length > 0 ||
  193. lineList[jdIndex][rwIndex].length > 0 ||
  194. file[jdIndex][rwIndex].length > 0
  195. "
  196. >
  197. <div
  198. class="wheel"
  199. v-if="
  200. vedio.length &&
  201. vedio[jdIndex][rwIndex] &&
  202. vedio[jdIndex][rwIndex].length > 0 &&
  203. showType[jdIndex] &&
  204. showType[jdIndex][rwIndex] == 0
  205. "
  206. >
  207. <div class="workd_media" style="height: 100%">
  208. <video-player
  209. class="video-player vjs-custom-skin"
  210. :playsinline="true"
  211. :options="playerO[jdIndex][rwIndex]"
  212. @play="onPlayerPlay($event)"
  213. style="width: 90%; height: 100%; margin: 0 0 0 30px"
  214. ></video-player>
  215. </div>
  216. </div>
  217. <div
  218. class="wheel"
  219. v-if="showType[jdIndex][rwIndex] == 1"
  220. style="
  221. box-shadow: 0 0 6px 1px #f2f2f2;
  222. width: 90%;
  223. margin: 0 0 20px 30px;
  224. background: #f1f1f1;
  225. "
  226. >
  227. <div class="title">查看文档</div>
  228. <el-form class="textBox">
  229. <el-form-item class="textTitle">
  230. <div
  231. style="
  232. font-size: 22px;
  233. max-height: 100px;
  234. overflow: auto;
  235. "
  236. >
  237. {{ textList[jdIndex][rwIndex][0].name }}
  238. </div>
  239. </el-form-item>
  240. <!-- <div style="color: #918f8f; width: 85%">Content</div> -->
  241. <div
  242. v-html="textList[jdIndex][rwIndex][0].url"
  243. class="textContent"
  244. ></div>
  245. </el-form>
  246. </div>
  247. <div
  248. class="wheel"
  249. v-if="showType[jdIndex][rwIndex] == 2"
  250. style="height: 520px; width: 95%; margin: 0 auto"
  251. >
  252. <iframe
  253. style="width: 100%; height: 100%; border: none"
  254. :src="pptImgUrl1[jdIndex][rwIndex]"
  255. ></iframe>
  256. </div>
  257. <div
  258. class="wheel"
  259. v-if="showType[jdIndex][rwIndex] == 3"
  260. style="height: 520px; width: 95%; margin: 0 auto"
  261. >
  262. <pdf
  263. :pdfUrl="pptImgUrl1[jdIndex][rwIndex]"
  264. style="width: 100%; height: 100%; overflow: auto"
  265. >
  266. </pdf>
  267. </div>
  268. <div
  269. class="wheel"
  270. v-if="showType[jdIndex][rwIndex] == 4"
  271. style="height: 520px; width: 95%; margin: 0 auto"
  272. >
  273. <el-image
  274. :src="pptImgUrl1[jdIndex][rwIndex]"
  275. fit="cover"
  276. style="width: 100%"
  277. ></el-image>
  278. </div>
  279. </div>
  280. <div
  281. class="vedioList"
  282. v-if="
  283. (vedio.length &&
  284. vedio[jdIndex][rwIndex] &&
  285. vedio[jdIndex][rwIndex].length > 0) ||
  286. (textList.length &&
  287. textList[jdIndex][rwIndex] &&
  288. textList[jdIndex][rwIndex].length > 0) ||
  289. (lineList.length &&
  290. lineList[jdIndex][rwIndex] &&
  291. lineList[jdIndex][rwIndex].length > 0) ||
  292. (file.length &&
  293. file[jdIndex][rwIndex] &&
  294. file[jdIndex][rwIndex].length > 0)
  295. "
  296. >
  297. <div class="navTitile">内容列表:</div>
  298. <div class="navBox">
  299. <div
  300. v-show="
  301. vedio.length &&
  302. vedio[jdIndex][rwIndex] &&
  303. vedio[jdIndex][rwIndex].length > 0
  304. "
  305. >
  306. <!-- <div
  307. class="vedioNav"
  308. style="
  309. width: 80px;
  310. min-width: 80px;
  311. height: 30px;
  312. line-height: 36px;
  313. font-size: 16px;
  314. border-radius: 10px;
  315. "
  316. >
  317. 视频
  318. </div> -->
  319. <div
  320. class="vedioTimeBox"
  321. v-for="(media, vedioIndex) in vedio[jdIndex][rwIndex]"
  322. :key="vedioIndex + '1'"
  323. @click="
  324. lookVedio(media.url, jdIndex, rwIndex, vedioIndex)
  325. "
  326. >
  327. <!-- <div class="media" style="
  328. width: 90px;
  329. height: 60px;
  330. position: relative;
  331. ">
  332. <img style="height: 90px; width: 160px" :src="
  333. media.cover != null && media.cover != ''
  334. ? JSON.parse(media.cover).length > 0
  335. ? JSON.parse(media.cover)[0].url
  336. : mr
  337. : mr
  338. " alt />
  339. </div> -->
  340. <!-- <div class="vedioTime" v-if="vedioTime[jdIndex]">
  341. {{ vedioTime[jdIndex][rwIndex][vedioIndex] }}
  342. </div> -->
  343. <div
  344. class="vedioName"
  345. :class="
  346. isClickNavOne[jdIndex][rwIndex][vedioIndex] ==
  347. 'video' + vedioIndex
  348. ? 'isClickNavOne'
  349. : ''
  350. "
  351. >
  352. {{ media.name }}
  353. </div>
  354. </div>
  355. </div>
  356. <div
  357. v-show="
  358. textList.length &&
  359. textList[jdIndex][rwIndex] &&
  360. textList[jdIndex][rwIndex].length > 0
  361. "
  362. class="newNav"
  363. v-for="(text, textIndex) in textList[jdIndex][rwIndex]"
  364. :key="textIndex + '2'"
  365. @click="lookText(jdIndex, rwIndex, textIndex)"
  366. >
  367. <!-- <div
  368. class="vedioNav"
  369. style="
  370. width: 80px;
  371. min-width: 80px;
  372. height: 30px;
  373. line-height: 36px;
  374. font-size: 16px;
  375. border-radius: 10px;
  376. "
  377. >
  378. 文档
  379. </div> -->
  380. <div style="width: calc(100% - 115px)">
  381. <div
  382. class="navText"
  383. :class="
  384. isClickNavOne[jdIndex][rwIndex][textIndex] ==
  385. 'text' + textIndex
  386. ? 'isClickNavOne'
  387. : ''
  388. "
  389. >
  390. {{
  391. textList[jdIndex][rwIndex].length > 0
  392. ? text.name
  393. : ""
  394. }}.doc
  395. </div>
  396. </div>
  397. </div>
  398. <div
  399. v-show="
  400. lineList.length &&
  401. lineList[jdIndex][rwIndex] &&
  402. lineList[jdIndex][rwIndex].length > 0
  403. "
  404. class="newNav"
  405. v-for="(lines, lineIndex) in lineList[jdIndex][rwIndex]"
  406. :key="lineIndex + '4'"
  407. @click="doUrl(jdIndex, rwIndex, lines.url, lineIndex)"
  408. >
  409. <!-- <div
  410. class="vedioNav"
  411. style="
  412. width: 80px;
  413. min-width: 80px;
  414. height: 30px;
  415. line-height: 36px;
  416. font-size: 16px;
  417. border-radius: 10px;
  418. "
  419. >
  420. 链接
  421. </div> -->
  422. <div style="width: calc(100% - 115px)">
  423. <div
  424. class="navText"
  425. :class="
  426. isClickNavOne[jdIndex][rwIndex][lineIndex] ==
  427. 'line' + lineIndex
  428. ? 'isClickNavOne'
  429. : ''
  430. "
  431. >
  432. {{ lines.url }}
  433. </div>
  434. </div>
  435. </div>
  436. <div
  437. class="newNav"
  438. v-show="
  439. file.length &&
  440. file[jdIndex][rwIndex] &&
  441. file[jdIndex][rwIndex].length > 0
  442. "
  443. v-for="(f, fileIndex) in file[jdIndex][rwIndex]"
  444. :key="fileIndex"
  445. @click="downFile(f, fileIndex, jdIndex, rwIndex)"
  446. >
  447. <!-- <div
  448. class="vedioNav"
  449. style="
  450. width: 80px;
  451. min-width: 80px;
  452. height: 30px;
  453. line-height: 36px;
  454. font-size: 16px;
  455. border-radius: 10px;
  456. "
  457. >
  458. 文档
  459. </div> -->
  460. <div style="width: calc(100% - 115px)">
  461. <div
  462. class="navText"
  463. :class="
  464. isClickNavOne[jdIndex][rwIndex][fileIndex] ==
  465. 'word' + fileIndex
  466. ? 'isClickNavOne'
  467. : ''
  468. "
  469. >
  470. {{ f.name }}
  471. </div>
  472. </div>
  473. </div>
  474. </div>
  475. </div>
  476. </div>
  477. <div
  478. style="padding: 10px 30px 0"
  479. v-if="
  480. showType[jdIndex][rwIndex] == 2 ||
  481. showType[jdIndex][rwIndex] == 3
  482. "
  483. >
  484. <el-button
  485. type="primary"
  486. @click="
  487. checkFileFull(
  488. showType[jdIndex][rwIndex],
  489. pptImgUrl1[jdIndex][rwIndex]
  490. )
  491. "
  492. >全屏查看</el-button
  493. >
  494. </div>
  495. <div
  496. style="padding: 10px 30px 0"
  497. v-if="showType[jdIndex][rwIndex] == 1"
  498. >
  499. <el-button
  500. type="primary"
  501. @click="
  502. checkFileFull(
  503. showType[jdIndex][rwIndex],
  504. textList[jdIndex][rwIndex][0]
  505. )
  506. "
  507. >全屏查看</el-button
  508. >
  509. </div>
  510. </div>
  511. </div>
  512. <div class="student_body">
  513. <!-- <div
  514. class="vedioBox"
  515. v-if="
  516. file.length && file[taskCount] && file[taskCount].length > 0
  517. "
  518. >
  519. <div class="queTop">
  520. <div class="question" style="width: 30px; margin-top: 5px">
  521. <img src="../assets/icon/fileIcon.png" alt />
  522. </div>
  523. <div class="queTitle">
  524. <div>附件</div>
  525. </div>
  526. </div>
  527. <div class="filebox" style="width: 100%">
  528. <div
  529. class="file"
  530. v-for="(f, fileIndex) in file[taskCount]"
  531. :key="fileIndex"
  532. @click="downFile(f, fileIndex)"
  533. >
  534. <img :src="require('../assets/file.png')" alt />
  535. <div>{{ f.name }}</div>
  536. </div>
  537. </div>
  538. <div class="upFile" v-if="type == 3">Submit</div>
  539. </div>-->
  540. <div
  541. class="vedioBox"
  542. v-if="
  543. rw.toolChoose[0].tool &&
  544. rw.toolChoose[0].tool.length &&
  545. rw.toolChoose[0].tool.length > 0
  546. "
  547. >
  548. <div
  549. class="queTop"
  550. style="
  551. font-size: 25px;
  552. padding: 15px 0 15px 30px;
  553. font-weight: bold;
  554. "
  555. >
  556. <!-- <div class="question" style="width: 30px">
  557. <img src="../assets/icon/toolIcon.png" alt />
  558. </div>
  559. <div class="queTitle">
  560. <div>工具</div>
  561. </div>-->
  562. 练一练
  563. </div>
  564. <div class="toolHeng2" style="position: relative">
  565. <div
  566. class="filebox"
  567. style="flex-wrap: nowrap; margin: 0 20px"
  568. v-for="(tool, toolIndex) in rw.toolChoose"
  569. :key="toolIndex"
  570. >
  571. <div class="bzBox">
  572. <div></div>
  573. <div>步骤{{ toolIndex + 1 }}</div>
  574. </div>
  575. <div class="toolBox">
  576. <div>
  577. <!-- v-for="(itemTool, indexTool) in toolTypeList"
  578. :key="indexTool"-->
  579. <!-- <div class="iframeBox">
  580. <div
  581. class="addPoint isBorder"
  582. v-for="(tooC, toolCIndex) in tool.tool"
  583. :key="toolCIndex"
  584. >
  585. <div v-if="tooC == 1" style="border: 1px soild #ccc">
  586. <div
  587. class="iframeName"
  588. >
  589. 电子白板
  590. </div>
  591. <iframe
  592. src="https://iwb.cocorobo.cn/"
  593. ref="whiteBoard"
  594. ></iframe>
  595. </div>
  596. </div>
  597. </div>-->
  598. <div class="tooldetail" v-if="tool.toolDetail != ''">
  599. <!-- <div class="toolTitle">工具描述</div> -->
  600. <div v-html="contentConvent(tool.toolDetail)">
  601. <!-- {{ contentConvent(tool.toolDetail) }} -->
  602. </div>
  603. </div>
  604. <div class="noiframeBox">
  605. <div
  606. class="addPoint"
  607. v-for="(tooC, toolCIndex) in tool.tool"
  608. :key="toolCIndex"
  609. >
  610. <div v-if="tooC == 1">
  611. <img
  612. @click="
  613. addTools(tooC, toolIndex, jdIndex, rwIndex)
  614. "
  615. src="../assets/icon/secondToolList/whiteBoard.png"
  616. alt
  617. />
  618. <div style="margin: 5px 0; padding-left: 8px">
  619. Whiteboard
  620. </div>
  621. <!-- <div class="iframeName">电子白板</div>
  622. <iframe src="https://iwb.cocorobo.cn/" class="iframeCss"></iframe> -->
  623. </div>
  624. <div v-if="tooC == 3">
  625. <img
  626. @click="
  627. addTools(tooC, toolIndex, jdIndex, rwIndex)
  628. "
  629. src="../assets/icon/secondToolList/mindMapping.png"
  630. alt
  631. />
  632. <div style="margin: 5px 0; padding-left: 8px">
  633. 思维导图
  634. </div>
  635. <!-- <div class="iframeName">思维导图</div>
  636. <iframe src="https://cloud.cocorobo.cn/kityminder-editor/dist/index.html"
  637. class="iframeCss"></iframe> -->
  638. </div>
  639. <div v-if="tooC == 6">
  640. <img
  641. @click="
  642. addTools(tooC, toolIndex, jdIndex, rwIndex)
  643. "
  644. src="../assets/icon/secondToolList/doc.png"
  645. alt
  646. />
  647. <div style="margin: 5px 0; padding-left: 8px">
  648. 协同文档
  649. </div>
  650. <!-- <div class="iframeName">协同文档</div>
  651. <iframe src="https://cloud.cocorobo.cn/Office/Word/WordEditArea.htm"
  652. class="iframeCss"></iframe> -->
  653. </div>
  654. <div v-if="tooC == 7">
  655. <img
  656. @click="
  657. addTools(tooC, toolIndex, jdIndex, rwIndex)
  658. "
  659. src="../assets/icon/secondToolList/mindNetwork.png"
  660. alt
  661. />
  662. <div style="margin: 5px 0; padding-left: 8px">
  663. Mind grid
  664. </div>
  665. <!-- <div class="iframeName">思维网格</div>
  666. <iframe src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid"
  667. class="iframeCss"></iframe> -->
  668. </div>
  669. <div v-if="tooC == 8">
  670. <div class="iframeName">素材库</div>
  671. <iframe
  672. src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/library"
  673. class="iframeCss"
  674. ></iframe>
  675. </div>
  676. <div v-if="tooC == 17">
  677. <div class="iframeName">学习资料</div>
  678. <iframe
  679. src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/studyLibrary"
  680. class="iframeCss"
  681. ></iframe>
  682. </div>
  683. <div v-if="tooC == 2">
  684. <img
  685. @click="
  686. addTools(tooC, toolIndex, jdIndex, rwIndex)
  687. "
  688. src="../assets/icon/secondToolList/note.png"
  689. alt
  690. />
  691. <div style="margin: 5px 0; padding-left: 8px">
  692. 便签
  693. </div>
  694. <!-- <div class="iframeName">便签</div>
  695. <iframe src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/note"
  696. class="iframeCss"></iframe> -->
  697. </div>
  698. <div v-if="tooC == 25">
  699. <div class="iframeName">目标管理</div>
  700. <iframe
  701. :src="
  702. 'https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/evaluation?userid=' +
  703. userid +
  704. '&oid=' +
  705. oid +
  706. '&org=' +
  707. org
  708. "
  709. class="iframeCss"
  710. ></iframe>
  711. </div>
  712. <div v-if="tooC == 32">
  713. <img
  714. @click="
  715. addTools(tooC, toolIndex, jdIndex, rwIndex)
  716. "
  717. src="../assets/icon/thirdToolList/code.png"
  718. alt
  719. />
  720. <div style="margin: 5px 0; padding-left: 8px">
  721. Kitten Editor
  722. </div>
  723. <!-- <div class="iframeName">Kitten Editor</div>
  724. <iframe src="//kitten.codemao.cn/" class="iframeCss"></iframe> -->
  725. </div>
  726. <div v-if="tooC == 31">
  727. <img
  728. @click="
  729. addTools(tooC, toolIndex, jdIndex, rwIndex)
  730. "
  731. src="../assets/icon/secondToolList/networkPanel.png"
  732. alt
  733. />
  734. <div style="margin: 5px 0; padding-left: 8px">
  735. 数学画板
  736. </div>
  737. <!-- <div class="iframeName">数学画板</div>
  738. <iframe src="//www.netpad.net.cn/svg.html" class="iframeCss"></iframe> -->
  739. </div>
  740. <div v-if="tooC == 28">
  741. <img
  742. @click="
  743. addTools(tooC, toolIndex, jdIndex, rwIndex)
  744. "
  745. src="../assets/icon/secondToolList/translation.png"
  746. alt
  747. />
  748. <div style="margin: 5px 0; padding-left: 8px">
  749. Translator
  750. </div>
  751. <!-- <div class="iframeName">Translator</div>
  752. <iframe src="//dict.youdao.com/" class="iframeCss"></iframe> -->
  753. </div>
  754. <div v-if="tooC == 37">
  755. <img
  756. @click="
  757. addTools(tooC, toolIndex, jdIndex, rwIndex)
  758. "
  759. src="../assets/icon/secondToolList/mohe.png"
  760. alt
  761. />
  762. <div style="margin: 5px 0; padding-left: 8px">
  763. 魔盒识字
  764. </div>
  765. <!-- <div class="iframeName">魔盒识字</div>
  766. <iframe src="//games.cocorobo.cn/view/index.html#/" class="iframeCss"></iframe> -->
  767. </div>
  768. <div v-if="tooC == 38">
  769. <img
  770. @click="
  771. addTools(tooC, toolIndex, jdIndex, rwIndex)
  772. "
  773. src="../assets/icon/secondToolList/24game.png"
  774. alt
  775. />
  776. <div style="margin: 5px 0; padding-left: 8px">
  777. 24点
  778. </div>
  779. <!-- <div class="iframeName">24点</div>
  780. <iframe src="//24.cocorobo.cn/#/index" class="iframeCss"></iframe> -->
  781. </div>
  782. <div v-if="tooC == 39">
  783. <img
  784. @click="
  785. addTools(tooC, toolIndex, jdIndex, rwIndex)
  786. "
  787. src="../assets/icon/secondToolList/GeoGebra.png"
  788. alt
  789. />
  790. <div style="margin: 5px 0; padding-left: 8px">
  791. GeoGebra
  792. </div>
  793. <!-- <div class="iframeName">GeoGebra</div>
  794. <iframe src="//www.geogebra.org/calculator" class="iframeCss"></iframe> -->
  795. </div>
  796. <div v-if="tooC == 4">
  797. <img
  798. @click="
  799. addTools(tooC, toolIndex, jdIndex, rwIndex)
  800. "
  801. src="../assets/icon/thirdToolList/ask.png"
  802. alt
  803. />
  804. <div style="margin: 5px 0; padding-left: 8px">
  805. Choice question
  806. </div>
  807. <!-- <div class="iframeName">选择题</div> -->
  808. <!-- <div>
  809. <div
  810. class="a_add_title"
  811. style="
  812. display: flex;
  813. flex-direction: row;
  814. align-items: center;
  815. justify-content: flex-start;
  816. margin: 10px 0;
  817. "
  818. >
  819. <div
  820. style="margin-right: 20px; font-size: 20px"
  821. >
  822. Title:
  823. </div>
  824. <div style="font-size: 20px">
  825. {{ tool.askTitle }}
  826. </div>
  827. </div>
  828. <div
  829. class="a_addBox"
  830. style="padding: 0 !important"
  831. >
  832. <div style="font-size: 16px; color: #c7c7c7">
  833. 题目内容
  834. </div>
  835. <div
  836. class="a_add_box"
  837. v-for="(item1, index1) in tool.askCount"
  838. :key="index1"
  839. >
  840. <div class="a_add_head">
  841. <div style="display: flex">
  842. {{ index1 + 1 + "、" }}
  843. <div>
  844. Question:{{
  845. tool.askJson[index1].askstitle
  846. }}
  847. </div>
  848. </div>
  849. <img
  850. v-if="tool.askJson[index1].img"
  851. :src="tool.askJson[index1].img"
  852. style="width: 100%; margin-top: 10px"
  853. />
  854. </div>
  855. <div class="a_add_body">
  856. <div class="a_add_input">
  857. <el-radio-group v-model="radio[index1]">
  858. <el-radio
  859. v-for="(item2, checkIndex) in tool
  860. .askJson[index1].checkList"
  861. :key="checkIndex"
  862. :label="checkIndex"
  863. :disabled="isAnswer"
  864. class="redioStyle"
  865. ><span v-html="item2"></span>
  866. </el-radio>
  867. </el-radio-group>
  868. </div>
  869. </div>
  870. </div>
  871. </div>
  872. </div> -->
  873. </div>
  874. <!-- <div v-if="tooC == 5">
  875. <img
  876. @click="addTools(tooC, toolIndex, taskCount)"
  877. src="../assets/icon/thirdToolList/score.png"
  878. alt
  879. />
  880. <div style="margin: 5px 0">量规评分</div>
  881. </div> -->
  882. <div v-if="tooC == 10">
  883. <img
  884. @click="
  885. addTools(tooC, toolIndex, jdIndex, rwIndex)
  886. "
  887. src="../assets/icon/thirdToolList/time.png"
  888. alt
  889. />
  890. <div style="margin: 5px 0; padding-left: 8px">
  891. Timer
  892. </div>
  893. <!-- <div class="iframeName">倒计时</div>
  894. <div>
  895. <Time></Time>
  896. </div> -->
  897. </div>
  898. <div v-if="tooC == 15">
  899. <div class="iframeName">Question</div>
  900. <div>
  901. <div
  902. style="
  903. display: flex;
  904. flex-wrap: nowrap;
  905. flex-direction: column;
  906. position: relative;
  907. "
  908. >
  909. <div
  910. class="queTop"
  911. style="padding: 20px 0 20px 0"
  912. >
  913. <div class="question">
  914. <img
  915. src="../assets/icon/question.png"
  916. alt
  917. />
  918. </div>
  919. <div class="queTitle">
  920. <div style="width: 90px; min-width: 90px">
  921. Question:
  922. </div>
  923. <div>{{ tool.answerQ }}</div>
  924. </div>
  925. </div>
  926. </div>
  927. </div>
  928. </div>
  929. <div v-if="tooC == 26">
  930. <img
  931. @click="
  932. addTools(tooC, toolIndex, jdIndex, rwIndex)
  933. "
  934. src="../assets/icon/thirdToolList/courseDesign.png"
  935. alt
  936. />
  937. <div style="margin: 5px 0; padding-left: 8px">
  938. 课程设计
  939. </div>
  940. <!-- <div class="iframeName">课程设计</div>
  941. <iframe src="https://cloud.cocorobo.cn/course-design/index.html"
  942. class="iframeCss"></iframe> -->
  943. </div>
  944. <div v-if="tooC == 18">
  945. <img
  946. @click="
  947. addTools(tooC, toolIndex, jdIndex, rwIndex)
  948. "
  949. src="../assets/icon/thirdToolList/trainPlatform.png"
  950. alt
  951. />
  952. <div style="margin: 5px 0; padding-left: 8px">
  953. Model-training
  954. </div>
  955. <!-- <div class="iframeName">训练平台</div>
  956. <iframe src="https://xunlian.cocorobo.cn/" class="iframeCss"></iframe> -->
  957. </div>
  958. <div v-if="tooC == 16">
  959. <img
  960. @click="
  961. addTools(tooC, toolIndex, jdIndex, rwIndex)
  962. "
  963. src="../assets/icon/thirdToolList/work.png"
  964. alt
  965. />
  966. <div style="margin: 5px 0; padding-left: 8px">
  967. File Upload
  968. </div>
  969. </div>
  970. <div v-if="tooC == 21">
  971. <img
  972. @click="
  973. addTools(tooC, toolIndex, jdIndex, rwIndex)
  974. "
  975. src="../assets/icon/fourthToolList/program.png"
  976. alt
  977. />
  978. <div style="margin: 5px 0; padding-left: 8px">
  979. AIoT Blockly
  980. </div>
  981. <!-- <div class="iframeName">AIoT Blockly</div>
  982. <iframe src="https://x.cocorobo.cn" class="iframeCss"></iframe> -->
  983. </div>
  984. <div v-if="tooC == 22">
  985. <img
  986. @click="
  987. addTools(tooC, toolIndex, jdIndex, rwIndex)
  988. "
  989. src="../assets/icon/fourthToolList/AIprogram2.png"
  990. alt
  991. />
  992. <div style="margin: 5px 0; padding-left: 8px">
  993. AI体验
  994. </div>
  995. <!-- <div class="iframeName">AI体验</div>
  996. <iframe src="https://aihub.cocorobo.cn/" class="iframeCss"></iframe> -->
  997. </div>
  998. <div v-if="tooC == 23">
  999. <img
  1000. @click="
  1001. addTools(tooC, toolIndex, jdIndex, rwIndex)
  1002. "
  1003. src="../assets/icon/fourthToolList/Pythonprogram.png"
  1004. alt
  1005. />
  1006. <div style="margin: 5px 0; padding-left: 8px">
  1007. AI Python
  1008. </div>
  1009. <!-- <div class="iframeName">python</div>
  1010. <iframe src="https://python-blockly.cocorobo.cn/" class="iframeCss"></iframe> -->
  1011. </div>
  1012. <div v-if="tooC == 24">
  1013. <img
  1014. @click="
  1015. addTools(tooC, toolIndex, jdIndex, rwIndex)
  1016. "
  1017. src="../assets/icon/fourthToolList/AIprogram.png"
  1018. alt
  1019. />
  1020. <div style="margin: 5px 0; padding-left: 8px">
  1021. AI Blockly
  1022. </div>
  1023. <!-- <div class="iframeName">AI Blockly</div>
  1024. <iframe src="https://ai-blockly.cocorobo.cn/?lang=zh-hans" class="iframeCss"></iframe> -->
  1025. </div>
  1026. <div v-if="tooC == 40">
  1027. <img
  1028. @click="
  1029. addTools(tooC, toolIndex, jdIndex, rwIndex)
  1030. "
  1031. src="../assets/icon/secondToolList/eval.png"
  1032. alt
  1033. />
  1034. <div style="margin: 5px 0; padding-left: 8px">
  1035. 学生评价
  1036. </div>
  1037. </div>
  1038. <div v-if="tooC == 41">
  1039. <img
  1040. @click="
  1041. addTools(tooC, toolIndex, jdIndex, rwIndex)
  1042. "
  1043. src="../assets/icon/thirdToolList/select.png"
  1044. alt
  1045. />
  1046. <div style="margin: 5px 0; padding-left: 8px">
  1047. Match
  1048. </div>
  1049. </div>
  1050. <div v-if="tooC == 44">
  1051. <img
  1052. @click="
  1053. addTools(tooC, toolIndex, jdIndex, rwIndex)
  1054. "
  1055. src="../assets/icon/thirdToolList/hanClass.png"
  1056. alt
  1057. />
  1058. <div style="margin: 5px 0; padding-left: 8px">
  1059. 汉字宫
  1060. </div>
  1061. </div>
  1062. </div>
  1063. </div>
  1064. </div>
  1065. </div>
  1066. <div
  1067. v-if="
  1068. worksStudent[jdIndex] &&
  1069. worksStudent[jdIndex][rwIndex] &&
  1070. tType &&
  1071. tType == 3 &&
  1072. tool.tool.indexOf(16) != -1
  1073. "
  1074. class="worksBox"
  1075. >
  1076. <div
  1077. style="padding-top: 15px; font-size: 18px"
  1078. v-if="
  1079. worksStudent[jdIndex][rwIndex][toolIndex].length > 0
  1080. "
  1081. >
  1082. Preview
  1083. </div>
  1084. <div
  1085. class="worksDetailBox"
  1086. v-if="
  1087. worksStudent[jdIndex][rwIndex][toolIndex].length > 0
  1088. "
  1089. >
  1090. <div
  1091. class="works"
  1092. style="
  1093. width: 200px;
  1094. height: 140px;
  1095. margin: 10px 10px 10px 0;
  1096. border-radius: 15px;
  1097. box-shadow: 0 0 6px 1px #dfdada;
  1098. "
  1099. v-for="(w, wIndex) in worksStudent[jdIndex][rwIndex][
  1100. toolIndex
  1101. ]"
  1102. :key="wIndex"
  1103. :class="w.type == 1 ? 'isTypeOne' : ''"
  1104. >
  1105. <div class="workImg" v-if="w.type == 0">
  1106. <img
  1107. :src="w.works"
  1108. @click="previewImg(w.works)"
  1109. alt
  1110. />
  1111. </div>
  1112. <div class="workImg" v-if="w.type == 1">
  1113. <img :src="word" @click="openFile(w.works)" alt />
  1114. </div>
  1115. <div class="workImg" v-if="w.type == 3">
  1116. <img
  1117. style="cursor: pointer"
  1118. :src="video"
  1119. @click="openVideo(w.works)"
  1120. alt
  1121. />
  1122. </div>
  1123. <div class="comment" style="min-width: 200px">
  1124. <div class="worksName">
  1125. <div>{{ w.sName }}</div>
  1126. </div>
  1127. <div class="commentList">
  1128. <div class="commentList">
  1129. <div
  1130. class="commentImg"
  1131. @click="
  1132. isLikes(w.wid, userid, 1, null, w.isLikes)
  1133. "
  1134. >
  1135. <img
  1136. :src="w.isLikes == true ? likes : noLikes"
  1137. alt=""
  1138. />
  1139. </div>
  1140. <div>{{ w.likesCount }}</div>
  1141. </div>
  1142. <div
  1143. class="commentList"
  1144. style="margin-right: 15px"
  1145. >
  1146. <div
  1147. class="commentImg"
  1148. @click="
  1149. commentOther(
  1150. w,
  1151. jdIndex,
  1152. rwIndex,
  1153. toolIndex,
  1154. wIndex
  1155. )
  1156. "
  1157. >
  1158. <img
  1159. src="../assets/icon/comment/comment.png"
  1160. alt=""
  1161. />
  1162. </div>
  1163. <div>{{ w.commentCount }}</div>
  1164. </div>
  1165. </div>
  1166. </div>
  1167. </div>
  1168. </div>
  1169. <div style="font-size: 18px">Not submitted</div>
  1170. <div class="noWorksS">
  1171. <div
  1172. v-for="(s, sIndex) in noWorksS[toolIndex]"
  1173. :key="sIndex"
  1174. class="noWorksName"
  1175. >
  1176. {{ s.student }}
  1177. </div>
  1178. </div>
  1179. </div>
  1180. <div
  1181. v-if="
  1182. worksStudent[jdIndex] &&
  1183. worksStudent[jdIndex][rwIndex] &&
  1184. tType &&
  1185. tType == 3 &&
  1186. tool.tool.indexOf(4) != -1 &&
  1187. (tool.askJson[0].answer ||
  1188. tool.askJson[0].answer === 0) &&
  1189. checkJson[jdIndex][rwIndex][toolIndex].length
  1190. "
  1191. class="xuan_right_box"
  1192. >
  1193. <div
  1194. class="tool_right_box"
  1195. v-for="(item, index) in tool.askJson"
  1196. :key="index"
  1197. >
  1198. <div>
  1199. <span>{{ index + 1 + "、" + item.askstitle }}</span>
  1200. </div>
  1201. <div
  1202. class="right_box_xuan"
  1203. v-for="(item1, checkIndex) in item.askItem"
  1204. :key="checkIndex"
  1205. v-if="item.answer == checkIndex"
  1206. >
  1207. <span>Accuracy rate</span>
  1208. <span>{{
  1209. (checkJson[jdIndex][rwIndex][toolIndex][index]
  1210. .checkPerent[checkIndex]
  1211. ? checkJson[jdIndex][rwIndex][toolIndex][index]
  1212. .checkPerent[checkIndex]
  1213. : 0) + "%"
  1214. }}</span>
  1215. </div>
  1216. </div>
  1217. </div>
  1218. <div
  1219. class="xuan_right_box"
  1220. style="background: unset"
  1221. v-if="
  1222. worksStudent[jdIndex] &&
  1223. worksStudent[jdIndex][rwIndex] &&
  1224. tType &&
  1225. tType == 3 &&
  1226. tool.tool.indexOf(4) != -1
  1227. "
  1228. >
  1229. <AskStatic
  1230. v-if="
  1231. worksStudent[jdIndex][rwIndex][toolIndex].length > 0
  1232. "
  1233. :askJSON="tool.askJson"
  1234. :checkJson="checkJson[jdIndex][rwIndex][toolIndex]"
  1235. ></AskStatic>
  1236. </div>
  1237. <div
  1238. v-if="
  1239. worksStudent[jdIndex] &&
  1240. worksStudent[jdIndex][rwIndex] &&
  1241. tType &&
  1242. tType == 3 &&
  1243. tool.tool.indexOf(4) != -1
  1244. "
  1245. class="worksBox"
  1246. >
  1247. <div
  1248. style="padding-top: 15px; font-size: 18px"
  1249. v-if="
  1250. worksStudent[jdIndex][rwIndex][toolIndex].length > 0
  1251. "
  1252. >
  1253. Preview
  1254. </div>
  1255. <div>
  1256. <div
  1257. class="worksDetailBox"
  1258. v-if="
  1259. worksStudent[jdIndex][rwIndex][toolIndex].length > 0
  1260. "
  1261. >
  1262. <div
  1263. class="isWorksName"
  1264. v-for="(w, wIndex) in worksStudent[jdIndex][
  1265. rwIndex
  1266. ][toolIndex]"
  1267. :key="wIndex"
  1268. @click="
  1269. openTools(
  1270. 4,
  1271. toolIndex,
  1272. taskCount,
  1273. w.works,
  1274. w.sName
  1275. )
  1276. "
  1277. >
  1278. {{ w.sName }}
  1279. </div>
  1280. <!-- <div class="works" style="
  1281. width: 200px;
  1282. height: 140px;
  1283. border-radius: 10px;
  1284. margin: 10px 10px 10px 0;
  1285. box-shadow: 0 0 6px 1px #dfdada;
  1286. overflow: hidden;
  1287. " v-for="(w, wIndex) in worksStudent[jdIndex][
  1288. rwIndex
  1289. ][toolIndex]" :key="wIndex">
  1290. <div class="workImg">
  1291. <img src="../assets/icon/works/noImg.png" @click="
  1292. openTools(
  1293. 4,
  1294. toolIndex,
  1295. taskCount,
  1296. w.works,
  1297. w.sName
  1298. )
  1299. " alt />
  1300. </div>
  1301. <div class="worksName">
  1302. <div>{{ w.sName }}</div>
  1303. <div>{{ w.time }}</div>
  1304. </div>
  1305. </div> -->
  1306. </div>
  1307. </div>
  1308. <div style="font-size: 18px">Not submitted</div>
  1309. <div class="noWorksS">
  1310. <div
  1311. v-for="(s, sIndex) in noWorksS[toolIndex]"
  1312. :key="sIndex"
  1313. class="noWorksName"
  1314. >
  1315. {{ s.student }}
  1316. </div>
  1317. </div>
  1318. </div>
  1319. <div
  1320. v-if="
  1321. worksStudent[jdIndex] &&
  1322. worksStudent[jdIndex][rwIndex] &&
  1323. tType &&
  1324. tType == 3 &&
  1325. tool.tool.indexOf(15) != -1
  1326. "
  1327. class="worksBox"
  1328. >
  1329. <div
  1330. style="padding-top: 15px; font-size: 18px"
  1331. v-if="
  1332. worksStudent[jdIndex][rwIndex][toolIndex].length > 0
  1333. "
  1334. >
  1335. Preview
  1336. </div>
  1337. <div
  1338. class="worksDetailBox"
  1339. v-if="
  1340. worksStudent[jdIndex][rwIndex][toolIndex].length > 0
  1341. "
  1342. >
  1343. <div
  1344. class="works"
  1345. v-for="(w, wIndex) in worksStudent[jdIndex][rwIndex][
  1346. toolIndex
  1347. ]"
  1348. :key="wIndex"
  1349. >
  1350. <div
  1351. class="workImg"
  1352. style="
  1353. border-radius: 15px;
  1354. box-shadow: 0px 0px 10px 10px #f2f2f2;
  1355. "
  1356. >
  1357. <!-- <img
  1358. src="../assets/icon/works/noImg.png"
  1359. @click="openTools(15, toolIndex, taskCount, w.works)"
  1360. alt=""
  1361. />-->
  1362. <div
  1363. class="answerBg"
  1364. style="border-radius: 15px 15px 0 0"
  1365. @click="
  1366. commentOther(
  1367. w,
  1368. jdIndex,
  1369. rwIndex,
  1370. toolIndex,
  1371. wIndex
  1372. )
  1373. "
  1374. >
  1375. <div>{{ w.sName }}</div>
  1376. <el-tooltip
  1377. class="item"
  1378. effect="light"
  1379. :content="JSON.parse(w.works)[0].answer"
  1380. placement="top"
  1381. >
  1382. <div class="answerContent">
  1383. {{ JSON.parse(w.works)[0].answer }}
  1384. </div>
  1385. </el-tooltip>
  1386. </div>
  1387. <div class="comment">
  1388. <div class="commentList">
  1389. <div
  1390. class="commentImg"
  1391. @click="
  1392. isLikes(w.wid, userid, 1, null, w.isLikes)
  1393. "
  1394. >
  1395. <img
  1396. :src="w.isLikes == true ? likes : noLikes"
  1397. alt=""
  1398. />
  1399. </div>
  1400. <div>{{ w.likesCount }}</div>
  1401. </div>
  1402. <div
  1403. class="commentList"
  1404. style="margin-right: 15px"
  1405. >
  1406. <div
  1407. class="commentImg"
  1408. @click="
  1409. commentOther(
  1410. w,
  1411. jdIndex,
  1412. rwIndex,
  1413. toolIndex,
  1414. wIndex
  1415. )
  1416. "
  1417. >
  1418. <img
  1419. src="../assets/icon/comment/comment.png"
  1420. alt=""
  1421. />
  1422. </div>
  1423. <div>{{ w.commentCount }}</div>
  1424. </div>
  1425. </div>
  1426. </div>
  1427. </div>
  1428. </div>
  1429. <div style="font-size: 18px">Not submitted</div>
  1430. <div class="noWorksS">
  1431. <div
  1432. v-for="(s, sIndex) in noWorksS[toolIndex]"
  1433. :key="sIndex"
  1434. class="noWorksName"
  1435. >
  1436. {{ s.student }}
  1437. </div>
  1438. </div>
  1439. </div>
  1440. <div
  1441. v-if="
  1442. worksStudent[jdIndex] &&
  1443. worksStudent[jdIndex][rwIndex] &&
  1444. tType &&
  1445. tType == 3 &&
  1446. tool.tool.indexOf(1) != -1
  1447. "
  1448. class="worksBox"
  1449. >
  1450. <div
  1451. style="padding-top: 15px; font-size: 18px"
  1452. v-if="
  1453. worksStudent[jdIndex][rwIndex][toolIndex].length > 0
  1454. "
  1455. >
  1456. Preview
  1457. </div>
  1458. <div
  1459. class="worksDetailBox"
  1460. v-if="
  1461. worksStudent[jdIndex][rwIndex][toolIndex].length > 0
  1462. "
  1463. >
  1464. <div
  1465. class="works"
  1466. style="
  1467. width: 200px;
  1468. height: 140px;
  1469. margin: 10px 10px 10px 0;
  1470. border-radius: 15px;
  1471. box-shadow: 0 0 6px 1px #dfdada;
  1472. "
  1473. v-for="(w, wIndex) in worksStudent[jdIndex][rwIndex][
  1474. toolIndex
  1475. ]"
  1476. :key="wIndex"
  1477. >
  1478. <!-- @click="previewImg(w.works)" -->
  1479. <div class="workImg">
  1480. <img
  1481. :src="w.works"
  1482. @click="previewImg(w.works)"
  1483. alt
  1484. />
  1485. </div>
  1486. <div class="comment" style="min-width: 200px">
  1487. <div class="worksName">
  1488. <div>{{ w.sName }}</div>
  1489. </div>
  1490. <div class="commentList">
  1491. <div class="commentList">
  1492. <div
  1493. class="commentImg"
  1494. @click="
  1495. isLikes(w.wid, userid, 1, null, w.isLikes)
  1496. "
  1497. >
  1498. <img
  1499. :src="w.isLikes == true ? likes : noLikes"
  1500. alt=""
  1501. />
  1502. </div>
  1503. <div>{{ w.likesCount }}</div>
  1504. </div>
  1505. <div
  1506. class="commentList"
  1507. style="margin-right: 15px"
  1508. >
  1509. <div
  1510. class="commentImg"
  1511. @click="
  1512. commentOther(
  1513. w,
  1514. jdIndex,
  1515. rwIndex,
  1516. toolIndex,
  1517. wIndex
  1518. )
  1519. "
  1520. >
  1521. <img
  1522. src="../assets/icon/comment/comment.png"
  1523. alt=""
  1524. />
  1525. </div>
  1526. <div>{{ w.commentCount }}</div>
  1527. </div>
  1528. </div>
  1529. </div>
  1530. </div>
  1531. </div>
  1532. <div style="font-size: 18px">Not submitted</div>
  1533. <div class="noWorksS">
  1534. <div
  1535. v-for="(s, sIndex) in noWorksS[toolIndex]"
  1536. :key="sIndex"
  1537. class="noWorksName"
  1538. >
  1539. {{ s.student }}
  1540. </div>
  1541. </div>
  1542. </div>
  1543. <div
  1544. v-if="
  1545. worksStudent[jdIndex] &&
  1546. worksStudent[jdIndex][rwIndex] &&
  1547. tType &&
  1548. tType == 3 &&
  1549. tool.tool.indexOf(3) != -1
  1550. "
  1551. class="worksBox"
  1552. >
  1553. <div
  1554. style="padding-top: 15px; font-size: 18px"
  1555. v-if="
  1556. worksStudent[jdIndex][rwIndex][toolIndex].length > 0
  1557. "
  1558. >
  1559. Preview
  1560. </div>
  1561. <div
  1562. class="worksDetailBox"
  1563. v-if="
  1564. worksStudent[jdIndex][rwIndex][toolIndex].length > 0
  1565. "
  1566. >
  1567. <div
  1568. class="works"
  1569. style="
  1570. width: 200px;
  1571. height: 140px;
  1572. margin: 10px 10px 10px 0;
  1573. border-radius: 15px;
  1574. box-shadow: 0 0 6px 1px #dfdada;
  1575. "
  1576. v-for="(w, wIndex) in worksStudent[jdIndex][rwIndex][
  1577. toolIndex
  1578. ]"
  1579. :key="wIndex"
  1580. >
  1581. <!-- @click="previewImg(w.works)" -->
  1582. <div class="workImg">
  1583. <img
  1584. :src="w.works"
  1585. @click="previewImg(w.works)"
  1586. alt
  1587. />
  1588. </div>
  1589. <div class="comment" style="min-width: 200px">
  1590. <div class="worksName">
  1591. <div>{{ w.sName }}</div>
  1592. </div>
  1593. <div class="commentList">
  1594. <div class="commentList">
  1595. <div
  1596. class="commentImg"
  1597. @click="
  1598. isLikes(w.wid, userid, 1, null, w.isLikes)
  1599. "
  1600. >
  1601. <img
  1602. :src="w.isLikes == true ? likes : noLikes"
  1603. alt=""
  1604. />
  1605. </div>
  1606. <div>{{ w.likesCount }}</div>
  1607. </div>
  1608. <div
  1609. class="commentList"
  1610. style="margin-right: 15px"
  1611. >
  1612. <div
  1613. class="commentImg"
  1614. @click="
  1615. commentOther(
  1616. w,
  1617. jdIndex,
  1618. rwIndex,
  1619. toolIndex,
  1620. wIndex
  1621. )
  1622. "
  1623. >
  1624. <img
  1625. src="../assets/icon/comment/comment.png"
  1626. alt=""
  1627. />
  1628. </div>
  1629. <div>{{ w.commentCount }}</div>
  1630. </div>
  1631. </div>
  1632. </div>
  1633. </div>
  1634. </div>
  1635. <div style="font-size: 18px">Not submitted</div>
  1636. <div class="noWorksS">
  1637. <div
  1638. v-for="(s, sIndex) in noWorksS[toolIndex]"
  1639. :key="sIndex"
  1640. class="noWorksName"
  1641. >
  1642. {{ s.student }}
  1643. </div>
  1644. </div>
  1645. </div>
  1646. <div
  1647. v-if="
  1648. worksStudent[jdIndex] &&
  1649. worksStudent[jdIndex][rwIndex] &&
  1650. tType &&
  1651. tType == 3 &&
  1652. tool.tool.indexOf(6) != -1
  1653. "
  1654. class="worksBox"
  1655. >
  1656. <div
  1657. style="padding-top: 15px; font-size: 18px"
  1658. v-if="
  1659. worksStudent[jdIndex][rwIndex][toolIndex].length > 0
  1660. "
  1661. >
  1662. Preview
  1663. </div>
  1664. <div
  1665. class="worksDetailBox"
  1666. v-if="
  1667. worksStudent[jdIndex][rwIndex][toolIndex].length > 0
  1668. "
  1669. >
  1670. <div
  1671. class="works"
  1672. style="
  1673. width: 200px;
  1674. height: 140px;
  1675. margin: 10px 10px 10px 0;
  1676. border-radius: 15px;
  1677. box-shadow: 0 0 6px 1px #dfdada;
  1678. "
  1679. v-for="(w, wIndex) in worksStudent[jdIndex][rwIndex][
  1680. toolIndex
  1681. ]"
  1682. :key="wIndex"
  1683. >
  1684. <!-- @click="previewImg(w.works)" -->
  1685. <div class="workImg">
  1686. <img
  1687. :src="w.works"
  1688. @click="previewImg(w.works)"
  1689. alt
  1690. />
  1691. </div>
  1692. <div class="comment" style="min-width: 200px">
  1693. <div class="worksName">
  1694. <div>{{ w.sName }}</div>
  1695. </div>
  1696. <div class="commentList">
  1697. <div class="commentList">
  1698. <div
  1699. class="commentImg"
  1700. @click="
  1701. isLikes(w.wid, userid, 1, null, w.isLikes)
  1702. "
  1703. >
  1704. <img
  1705. :src="w.isLikes == true ? likes : noLikes"
  1706. alt=""
  1707. />
  1708. </div>
  1709. <div>{{ w.likesCount }}</div>
  1710. </div>
  1711. <div
  1712. class="commentList"
  1713. style="margin-right: 15px"
  1714. >
  1715. <div
  1716. class="commentImg"
  1717. @click="
  1718. commentOther(
  1719. w,
  1720. jdIndex,
  1721. rwIndex,
  1722. toolIndex,
  1723. wIndex
  1724. )
  1725. "
  1726. >
  1727. <img
  1728. src="../assets/icon/comment/comment.png"
  1729. alt=""
  1730. />
  1731. </div>
  1732. <div>{{ w.commentCount }}</div>
  1733. </div>
  1734. </div>
  1735. </div>
  1736. </div>
  1737. </div>
  1738. <div style="font-size: 18px">Not submitted</div>
  1739. <div class="noWorksS">
  1740. <div
  1741. v-for="(s, sIndex) in noWorksS[toolIndex]"
  1742. :key="sIndex"
  1743. class="noWorksName"
  1744. >
  1745. {{ s.student }}
  1746. </div>
  1747. </div>
  1748. </div>
  1749. <div
  1750. v-if="
  1751. worksStudent[jdIndex] &&
  1752. worksStudent[jdIndex][rwIndex] &&
  1753. tType &&
  1754. tType == 3 &&
  1755. tool.tool.indexOf(7) != -1
  1756. "
  1757. class="worksBox"
  1758. >
  1759. <div
  1760. style="padding-top: 15px; font-size: 18px"
  1761. v-if="
  1762. worksStudent[jdIndex][rwIndex][toolIndex].length > 0
  1763. "
  1764. >
  1765. Preview
  1766. </div>
  1767. <div
  1768. class="worksDetailBox"
  1769. v-if="
  1770. worksStudent[jdIndex][rwIndex][toolIndex].length > 0
  1771. "
  1772. >
  1773. <div
  1774. class="works"
  1775. style="
  1776. width: 200px;
  1777. height: 140px;
  1778. margin: 10px 10px 10px 0;
  1779. border-radius: 15px;
  1780. box-shadow: 0 0 6px 1px #dfdada;
  1781. "
  1782. v-for="(w, wIndex) in worksStudent[jdIndex][rwIndex][
  1783. toolIndex
  1784. ]"
  1785. :key="wIndex"
  1786. >
  1787. <!-- @click="previewImg(w.works)" -->
  1788. <div class="workImg">
  1789. <img
  1790. :src="w.works"
  1791. @click="previewImg(w.works)"
  1792. alt
  1793. />
  1794. </div>
  1795. <div class="comment" style="min-width: 200px">
  1796. <div class="worksName">
  1797. <div>{{ w.sName }}</div>
  1798. </div>
  1799. <div class="commentList">
  1800. <div class="commentList">
  1801. <div
  1802. class="commentImg"
  1803. @click="
  1804. isLikes(w.wid, userid, 1, null, w.isLikes)
  1805. "
  1806. >
  1807. <img
  1808. :src="w.isLikes == true ? likes : noLikes"
  1809. alt=""
  1810. />
  1811. </div>
  1812. <div>{{ w.likesCount }}</div>
  1813. </div>
  1814. <div
  1815. class="commentList"
  1816. style="margin-right: 15px"
  1817. >
  1818. <div
  1819. class="commentImg"
  1820. @click="
  1821. commentOther(
  1822. w,
  1823. jdIndex,
  1824. rwIndex,
  1825. toolIndex,
  1826. wIndex
  1827. )
  1828. "
  1829. >
  1830. <img
  1831. src="../assets/icon/comment/comment.png"
  1832. alt=""
  1833. />
  1834. </div>
  1835. <div>{{ w.commentCount }}</div>
  1836. </div>
  1837. </div>
  1838. </div>
  1839. </div>
  1840. </div>
  1841. <div style="font-size: 18px">Not submitted</div>
  1842. <div class="noWorksS">
  1843. <div
  1844. v-for="(s, sIndex) in noWorksS[toolIndex]"
  1845. :key="sIndex"
  1846. class="noWorksName"
  1847. >
  1848. {{ s.student }}
  1849. </div>
  1850. </div>
  1851. </div>
  1852. <div
  1853. v-if="
  1854. worksStudent[jdIndex] &&
  1855. worksStudent[jdIndex][rwIndex] &&
  1856. tType &&
  1857. tType == 3 &&
  1858. tool.tool.indexOf(26) != -1
  1859. "
  1860. class="worksBox"
  1861. >
  1862. <div
  1863. style="padding-top: 15px; font-size: 18px"
  1864. v-if="
  1865. worksStudent[jdIndex][rwIndex][toolIndex].length > 0
  1866. "
  1867. >
  1868. Preview
  1869. </div>
  1870. <div
  1871. class="worksDetailBox"
  1872. v-if="
  1873. worksStudent[jdIndex][rwIndex][toolIndex].length > 0
  1874. "
  1875. >
  1876. <div
  1877. class="works"
  1878. style="width: 200px; height: 140px; overflow: hidden"
  1879. v-for="(w, wIndex) in worksStudent[jdIndex][rwIndex][
  1880. toolIndex
  1881. ]"
  1882. :key="wIndex"
  1883. :class="w.type == 1 ? 'isTypeOne' : ''"
  1884. >
  1885. <div class="workImg" v-if="w.type == 0">
  1886. <img
  1887. :src="w.works"
  1888. @click="previewImg(w.works)"
  1889. alt
  1890. />
  1891. </div>
  1892. <div class="workImg" v-if="w.type == 1">
  1893. <img :src="word" @click="openFile(w.works)" alt />
  1894. </div>
  1895. <div class="worksName">
  1896. <div>{{ w.sName }}</div>
  1897. </div>
  1898. </div>
  1899. </div>
  1900. <div style="font-size: 18px">Not submitted</div>
  1901. <div class="noWorksS">
  1902. <div
  1903. v-for="(s, sIndex) in noWorksS[toolIndex]"
  1904. :key="sIndex"
  1905. class="noWorksName"
  1906. >
  1907. {{ s.student }}
  1908. </div>
  1909. </div>
  1910. </div>
  1911. <div
  1912. v-if="
  1913. worksStudent[jdIndex] &&
  1914. worksStudent[jdIndex][rwIndex] &&
  1915. tType &&
  1916. tType == 3 &&
  1917. tool.tool.indexOf(40) != -1
  1918. "
  1919. class="worksBox"
  1920. >
  1921. <div
  1922. style="padding-top: 15px; font-size: 18px"
  1923. v-if="
  1924. worksStudent[jdIndex][rwIndex][toolIndex].length > 0
  1925. "
  1926. >
  1927. Preview
  1928. </div>
  1929. <div
  1930. class="worksDetailBox"
  1931. v-if="
  1932. worksStudent[jdIndex][rwIndex][toolIndex].length > 0
  1933. "
  1934. >
  1935. <div
  1936. class="works"
  1937. style="
  1938. width: 200px;
  1939. height: 140px;
  1940. margin: 10px 10px 10px 0;
  1941. border-radius: 15px;
  1942. box-shadow: 0 0 6px 1px #dfdada;
  1943. "
  1944. v-for="(w, wIndex) in worksStudent[jdIndex][rwIndex][
  1945. toolIndex
  1946. ]"
  1947. :key="wIndex"
  1948. >
  1949. <div class="workImg">
  1950. <img
  1951. src="../assets/icon/works/noImg.png"
  1952. @click="
  1953. openPj(w.works, jdIndex, rwIndex, toolIndex)
  1954. "
  1955. alt
  1956. />
  1957. </div>
  1958. <div class="comment" style="min-width: 200px">
  1959. <div class="worksName">
  1960. <div>{{ w.sName }}</div>
  1961. </div>
  1962. <div class="commentList">
  1963. <div class="commentList">
  1964. <div
  1965. class="commentImg"
  1966. @click="
  1967. isLikes(w.wid, userid, 1, null, w.isLikes)
  1968. "
  1969. >
  1970. <img
  1971. :src="w.isLikes == true ? likes : noLikes"
  1972. alt=""
  1973. />
  1974. </div>
  1975. <div>{{ w.likesCount }}</div>
  1976. </div>
  1977. <div
  1978. class="commentList"
  1979. style="margin-right: 15px"
  1980. >
  1981. <div
  1982. class="commentImg"
  1983. @click="
  1984. commentOther(
  1985. w,
  1986. jdIndex,
  1987. rwIndex,
  1988. toolIndex,
  1989. wIndex
  1990. )
  1991. "
  1992. >
  1993. <img
  1994. src="../assets/icon/comment/comment.png"
  1995. alt=""
  1996. />
  1997. </div>
  1998. <div>{{ w.commentCount }}</div>
  1999. </div>
  2000. </div>
  2001. </div>
  2002. </div>
  2003. </div>
  2004. <div style="font-size: 18px">Not submitted</div>
  2005. <div class="noWorksS">
  2006. <div
  2007. v-for="(s, sIndex) in noWorksS[toolIndex]"
  2008. :key="sIndex"
  2009. class="noWorksName"
  2010. >
  2011. {{ s.student }}
  2012. </div>
  2013. </div>
  2014. </div>
  2015. <div
  2016. class="xuan_right_box"
  2017. style="background: unset"
  2018. v-if="
  2019. worksStudent[jdIndex] &&
  2020. worksStudent[jdIndex][rwIndex] &&
  2021. tType &&
  2022. tType == 3 &&
  2023. tool.tool.indexOf(41) != -1
  2024. "
  2025. >
  2026. <AnswerData2
  2027. v-if="
  2028. worksStudent.length &&
  2029. worksStudent[jdIndex][rwIndex][toolIndex].length > 0
  2030. "
  2031. :problemJson="tool.selectJson.answer"
  2032. :people="worksStudent[jdIndex][rwIndex][toolIndex]"
  2033. >
  2034. </AnswerData2>
  2035. </div>
  2036. <div
  2037. v-if="
  2038. worksStudent[jdIndex] &&
  2039. worksStudent[jdIndex][rwIndex] &&
  2040. tType &&
  2041. tType == 3 &&
  2042. tool.tool.indexOf(41) != -1
  2043. "
  2044. class="worksBox"
  2045. >
  2046. <div
  2047. style="padding-top: 15px; font-size: 18px"
  2048. v-if="
  2049. worksStudent[jdIndex][rwIndex][toolIndex].length > 0
  2050. "
  2051. >
  2052. Preview
  2053. </div>
  2054. <div
  2055. class="worksDetailBox"
  2056. v-if="
  2057. worksStudent[jdIndex][rwIndex][toolIndex].length > 0
  2058. "
  2059. >
  2060. <div
  2061. v-for="(w, wIndex) in worksStudent[jdIndex][rwIndex][
  2062. toolIndex
  2063. ]"
  2064. :key="wIndex"
  2065. class="isWorksName"
  2066. @click="openXz(w, jdIndex, rwIndex, toolIndex)"
  2067. >
  2068. {{ w.sName }}
  2069. </div>
  2070. <!-- <div
  2071. class="works"
  2072. style="
  2073. width: 200px;
  2074. height: 140px;
  2075. margin: 10px 10px 10px 0;
  2076. border-radius: 15px;
  2077. box-shadow: 0 0 6px 1px #dfdada;
  2078. "
  2079. v-for="(w, wIndex) in worksStudent[jdIndex][rwIndex][
  2080. toolIndex
  2081. ]"
  2082. :key="wIndex"
  2083. >
  2084. <div class="workImg">
  2085. <img
  2086. src="../assets/icon/works/noImg.png"
  2087. @click="openXz(w, jdIndex, rwIndex, toolIndex)"
  2088. alt
  2089. />
  2090. </div>
  2091. <div class="worksName">
  2092. <div>{{ w.sName }}</div>
  2093. </div>
  2094. </div> -->
  2095. </div>
  2096. <div style="font-size: 18px">Not submitted</div>
  2097. <div class="noWorksS">
  2098. <div
  2099. v-for="(s, sIndex) in noWorksS[toolIndex]"
  2100. :key="sIndex"
  2101. class="noWorksName"
  2102. >
  2103. {{ s.student }}
  2104. </div>
  2105. </div>
  2106. </div>
  2107. </div>
  2108. <!-- <div class="upload_toolBtn" @click="addImg($event)">
  2109. Upload files
  2110. <input
  2111. type="file"
  2112. accept="image/png, image/gif, image/jpeg"
  2113. style="display: none"
  2114. @change="beforeUpload1($event, 2, index)"
  2115. />
  2116. </div>-->
  2117. </div>
  2118. </div>
  2119. <div
  2120. class="vedioBox"
  2121. v-if="
  2122. chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
  2123. .eList &&
  2124. chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
  2125. .eList.length &&
  2126. chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
  2127. .eList.length > 0 &&
  2128. tType != 2
  2129. "
  2130. >
  2131. <div
  2132. class="queTop"
  2133. style="
  2134. font-size: 25px;
  2135. padding: 15px 0 15px 30px;
  2136. font-weight: bold;
  2137. "
  2138. >
  2139. <!-- <div class="question" style="width: 30px">
  2140. <img src="../assets/icon/toolIcon.png" alt />
  2141. </div>
  2142. <div class="queTitle">
  2143. <div>工具</div>
  2144. </div>-->
  2145. Evaluation
  2146. </div>
  2147. <div class="evaCss">
  2148. <div class="elist_input">
  2149. <div
  2150. v-for="(eItem, eIndex) in rw.eList"
  2151. :key="eIndex"
  2152. class="elist_input_box"
  2153. >
  2154. <div style="width: 95%">
  2155. <div
  2156. style="
  2157. display: flex;
  2158. flex-direction: row;
  2159. flex-wrap: nowrap;
  2160. align-items: center;
  2161. "
  2162. >
  2163. <div style="max-width: calc(100% - 285px)">
  2164. <span>{{ eItem.value }}</span>
  2165. </div>
  2166. <div
  2167. style="
  2168. padding-left: 25px;
  2169. display: flex;
  2170. flex-direction: row;
  2171. align-items: center;
  2172. "
  2173. >
  2174. <el-rate
  2175. v-model="eItem.score"
  2176. :colors="colors"
  2177. disabled
  2178. ></el-rate>
  2179. </div>
  2180. </div>
  2181. <div
  2182. class="elist_inptu_text"
  2183. style="padding-left: 10px"
  2184. >
  2185. <span v-if="eItem.detail != ''">{{
  2186. eItem.detail
  2187. }}</span>
  2188. <span v-else style="color: #b2b1b3; font-size: 14px"
  2189. >暂无描述...</span
  2190. >
  2191. </div>
  2192. </div>
  2193. </div>
  2194. </div>
  2195. <div
  2196. v-if="evalua"
  2197. style="
  2198. border: 1px solid #e5e5e5;
  2199. width: 650px;
  2200. margin-top: 20px;
  2201. box-shadow: 3px 1px 15px 3px #e0e0e0;
  2202. "
  2203. >
  2204. <div class="e_add_top">
  2205. <div class="e_add_title">
  2206. <span>目标管理名称</span>
  2207. <span>{{ eTitle }}</span>
  2208. <img
  2209. src="../assets/line.png"
  2210. class="cru_line"
  2211. style="
  2212. width: 125px;
  2213. height: 20px;
  2214. bottom: -10px;
  2215. left: 120px;
  2216. "
  2217. />
  2218. <!-- <el-input
  2219. v-model="eTitle"
  2220. placeholder="请输入名称"
  2221. @change="setMindData"
  2222. ></el-input>-->
  2223. </div>
  2224. </div>
  2225. <div class="e_add_content">
  2226. <div class="e_add_list_pbox">
  2227. <div class="e_add_list_pbox_title">
  2228. <span class="type_title">切换模式</span>
  2229. <div class="type_content">
  2230. <span
  2231. :class="{ active: typeMode == 1 }"
  2232. @click="typeMode = 1"
  2233. >目标树</span
  2234. >
  2235. <span
  2236. :class="{ active: typeMode == 2 }"
  2237. @click="typeMode = 2"
  2238. >目标罗盘</span
  2239. >
  2240. <span
  2241. :class="{ active: typeMode == 3 }"
  2242. @click="typeMode = 3"
  2243. >目标看板</span
  2244. >
  2245. </div>
  2246. </div>
  2247. <div class="e_add_list_pbox_content">
  2248. <Mind
  2249. :showBar="false"
  2250. :mindData="data"
  2251. style="width: 100%"
  2252. v-show="typeMode == 1"
  2253. ></Mind>
  2254. <Sunburst
  2255. :Josn="eJson"
  2256. :num="eJSONNum"
  2257. style="width: 100%"
  2258. v-if="typeMode == 2"
  2259. ></Sunburst>
  2260. <SeeBoard
  2261. :Josn="eJson"
  2262. :num="eJSONNum"
  2263. :ename="eTitle"
  2264. style="width: 100%"
  2265. v-if="typeMode == 3"
  2266. ></SeeBoard>
  2267. </div>
  2268. </div>
  2269. </div>
  2270. </div>
  2271. </div>
  2272. </div>
  2273. <!-- <div
  2274. class="project_box"
  2275. style="margin-top: 15px; padding-bottom: 30px"
  2276. >
  2277. <div
  2278. style="
  2279. display: flex;
  2280. flex-wrap: nowrap;
  2281. flex-direction: column;
  2282. position: relative;
  2283. "
  2284. >
  2285. <div class="queTop">
  2286. <div class="question">
  2287. <img src="../assets/icon/homeWork.png" alt="" />
  2288. </div>
  2289. <div class="queTitle">
  2290. <div>作业提交<span>(提交图文视频等)</span></div>
  2291. <div>:任务:{{ task.task }}</div>
  2292. </div>
  2293. </div>
  2294. <div class="ediBottom">
  2295. <div
  2296. class="addEditor"
  2297. style="margin-top: 23px"
  2298. @click="openAddWork"
  2299. v-if="!isNoHomeWork"
  2300. >
  2301. 选择文件
  2302. </div>
  2303. <div
  2304. class="addEditor"
  2305. style="margin-top: 23px"
  2306. @click="openAddWork"
  2307. v-else
  2308. >
  2309. 已提交
  2310. </div>
  2311. </div>
  2312. </div>
  2313. </div>-->
  2314. </div>
  2315. </div>
  2316. <el-dialog
  2317. title="提交实践作业"
  2318. :visible.sync="dialogVisible"
  2319. :append-to-body="true"
  2320. width="500px"
  2321. :before-close="handleClose"
  2322. class="dialog_change"
  2323. >
  2324. <div class="marginT">
  2325. <div>Upload files</div>
  2326. <div
  2327. class="chapter_add"
  2328. @click="addImg($event)"
  2329. v-if="studyJuri[0].cover.length == 0"
  2330. >
  2331. <div class="up_photo">
  2332. <img src="../assets/icon/uploadImg.png" alt />
  2333. </div>
  2334. <input
  2335. type="file"
  2336. accept="video/mp4, video/quicktime, video/x-msvideo,application/pdf, application/.ppt, .pptx, .xlsx, .xls, application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/*"
  2337. capture="camera"
  2338. style="display: none"
  2339. @change="beforeUpload1($event, 1)"
  2340. />
  2341. <!-- <input
  2342. type="file"
  2343. accept="image/*"
  2344. style="display: none"
  2345. @change="beforeUpload1($event, 1)"
  2346. /> -->
  2347. </div>
  2348. <div
  2349. class="chapter_add"
  2350. style="
  2351. display: flex;
  2352. width: 100%;
  2353. flex-direction: row;
  2354. flex-wrap: wrap;
  2355. justify-content: flex-start;
  2356. padding: 15px 0;
  2357. "
  2358. v-if="studyJuri[0].cover.length > 0"
  2359. >
  2360. <div class="upCover">
  2361. <img
  2362. :src="studyJuri[0].cover[0].url"
  2363. alt
  2364. v-if="fileType == 0"
  2365. />
  2366. <img :src="word" alt v-else-if="fileType == 1" />
  2367. <img :src="video" alt v-else />
  2368. <span class="picName">{{ studyJuri[0].cover[0].name }}</span>
  2369. <div class="deleteWord" @click="clean(1)">
  2370. <img src="../assets/icon/deleteWorks.png" alt />
  2371. </div>
  2372. </div>
  2373. </div>
  2374. </div>
  2375. <!-- <div class="first">
  2376. <div>作业名称:</div>
  2377. <div>{{ chapInfoList[courseType].dyName }}</div>
  2378. </div>
  2379. <div style="font-size: 20px; margin-bottom: 10px">上传作业</div>
  2380. <el-input
  2381. type="textarea"
  2382. resize="none"
  2383. rows="7"
  2384. placeholder="输入文字描述..."
  2385. v-model="studyJuri[0].content"
  2386. ></el-input>
  2387. <div class="marginT">
  2388. <div>上传图片</div>
  2389. <div class="chapter_add" @click="addImg($event)">
  2390. <div class="up_photo">
  2391. <img src="../assets/photo.png" alt />
  2392. </div>
  2393. <input
  2394. type="file"
  2395. accept="image/png, image/gif, image/jpeg"
  2396. style="display: none"
  2397. @change="beforeUpload1($event, 1)"
  2398. />
  2399. </div>
  2400. <div
  2401. class="chapter_add"
  2402. style="
  2403. display: flex;
  2404. width: 100%;
  2405. flex-direction: row;
  2406. flex-wrap: wrap;
  2407. justify-content: flex-start;
  2408. "
  2409. v-if="studyJuri[0].cover.length > 0"
  2410. >
  2411. <div
  2412. v-for="(c, cIndex) in studyJuri[0].cover"
  2413. :key="cIndex"
  2414. class="upCover"
  2415. >
  2416. <img :src="c.url != null && c.url != '' ? c.url : mr" alt />
  2417. <span class="picName">{{ c.name }}</span>
  2418. <div class="deleteWord" @click="clean(1)">
  2419. <img src="../assets/icon/delete.png" alt />
  2420. </div>
  2421. </div>
  2422. </div>
  2423. </div>
  2424. <div class="marginT">
  2425. <div>上传视频</div>
  2426. <div class="chapter_add" @click="addImg($event)">
  2427. <div class="up_photo">
  2428. <img src="../assets/vidio.png" alt />
  2429. </div>
  2430. <input
  2431. type="file"
  2432. accept="video/mp4, video/quicktime, video/x-msvideo"
  2433. style="display: none"
  2434. @change="beforeUpload2($event, 2)"
  2435. />
  2436. </div>
  2437. <div
  2438. class="chapter_add"
  2439. style="
  2440. display: flex;
  2441. flex-direction: row;
  2442. flex-wrap: wrap;
  2443. width: 100%;
  2444. justify-content: flex-start;
  2445. "
  2446. v-if="studyJuri[0].upVedio.length > 0"
  2447. >
  2448. <div
  2449. style="
  2450. width: 100%;
  2451. display: flex;
  2452. flex-direction: row;
  2453. flex-wrap: wrap;
  2454. align-content: flex-start;
  2455. justify-content: flex-start;
  2456. align-items: center;
  2457. "
  2458. >
  2459. <div
  2460. class="uploadVedio isAddThings"
  2461. v-for="(v, vIndex) in studyJuri[0].upVedio"
  2462. :key="vIndex"
  2463. >
  2464. <img src="../assets/uploadMp4.png" alt />
  2465. <span>{{ v.name }}</span>
  2466. <div class="deleteWord" @click="clean(2)">
  2467. <img src="../assets/icon/delete.png" alt />
  2468. </div>
  2469. </div>
  2470. </div>
  2471. </div>
  2472. </div>-->
  2473. <div class="upload_send" @click="addCourseWorks(taskCount)">
  2474. Submit
  2475. </div>
  2476. </el-dialog>
  2477. </div>
  2478. </div>
  2479. </div>
  2480. <!-- <div class="pButton" @click="selectPz">批</div>
  2481. <div v-if="pzDialog == true" class="newDialogCss">
  2482. <div class="pzTop">
  2483. <div>批注</div>
  2484. <div @click="pzDialog = false">
  2485. <img src="../assets/close1.png" alt="" />
  2486. </div>
  2487. </div>
  2488. <div class="pzBox">
  2489. <div class="pzListBox" v-if="pzList.length">
  2490. <div class="pzList" v-for="(pz, pzIndex) in pzList" :key="pzIndex">
  2491. <div class="pzNavTop">
  2492. <div>批</div>
  2493. <div>{{ pz.username }}的批注</div>
  2494. </div>
  2495. <div class="pzContent">
  2496. {{ pz.content }}
  2497. </div>
  2498. <div class="time">
  2499. {{ pz.time }}
  2500. </div>
  2501. </div>
  2502. </div>
  2503. <div class="pzListBox" v-else style="padding-left: 10px">暂无批注</div>
  2504. <div class="addPz" @click="addPzDialog = true">添加批注</div>
  2505. </div>
  2506. </div>
  2507. <div v-if="addPzDialog == true" class="addDialogCss">
  2508. <div class="pzTop">
  2509. <div class="teacherPz">
  2510. <div class="teacherPzImg">
  2511. <img src="../assets/icon/teacherPz.png" alt="" />
  2512. </div>
  2513. <div style="margin-left: 10px; height: 25px">教师批注</div>
  2514. </div>
  2515. <div @click="addPzDialog = false">
  2516. <img src="../assets/close1.png" alt="" />
  2517. </div>
  2518. </div>
  2519. <div class="addPzBox">
  2520. <div style="padding-top: 10px;height:80%">
  2521. <textarea class="binfo_input pzConText" cols placeholder="请填写项目课程关键问题...." v-model="pzConText"></textarea>
  2522. </div>
  2523. <div class="addTextCss" @click="addPz">Confirm</div>
  2524. </div>
  2525. </div> -->
  2526. <div v-if="proVisible" class="mask">
  2527. <div class="progressBox">
  2528. <div class="lbox">
  2529. <img src="../assets/loading.gif" />Uploading
  2530. </div>
  2531. <el-progress
  2532. :text-inside="true"
  2533. :stroke-width="20"
  2534. :percentage="progress"
  2535. style="width: 80%"
  2536. ></el-progress>
  2537. </div>
  2538. </div>
  2539. <el-dialog :visible.sync="pictureDialog" size="tiny">
  2540. <img width="100%" :src="dialogImageUrl" alt />
  2541. </el-dialog>
  2542. <el-dialog
  2543. :title="noteName != '' ? noteName : 'Choice question'"
  2544. :visible.sync="dialogVisible5"
  2545. :append-to-body="true"
  2546. width="1000px"
  2547. :before-close="handleClose"
  2548. class="dialog_diy dialog_diy3"
  2549. >
  2550. <div>
  2551. <div
  2552. class="a_add_title"
  2553. style="
  2554. display: flex;
  2555. flex-direction: row;
  2556. align-items: center;
  2557. justify-content: center;
  2558. "
  2559. >
  2560. <div style="margin-right: 20px; font-size: 20px">Title:</div>
  2561. <div style="font-size: 20px">{{ askJson.askTitle }}</div>
  2562. </div>
  2563. <div class="a_addBox">
  2564. <div style="font-size: 16px; color: #c7c7c7">题目内容</div>
  2565. <div
  2566. class="a_add_box"
  2567. v-for="(item1, index1) in askJson.askCount"
  2568. :key="index1"
  2569. >
  2570. <div class="a_add_head">
  2571. <div style="display: flex">
  2572. {{ index1 + 1 + "、" }}
  2573. <div>Question:{{ askJson.askJson[index1].askstitle }}</div>
  2574. </div>
  2575. <img
  2576. v-if="askJson.askJson[index1].img"
  2577. :src="askJson.askJson[index1].img"
  2578. style="width: 100%; margin-top: 10px"
  2579. />
  2580. </div>
  2581. <div class="a_add_body">
  2582. <div class="a_add_input">
  2583. <el-radio-group v-model="radio[index1]">
  2584. <el-radio
  2585. v-for="(item2, checkIndex) in askJson.askJson[index1]
  2586. .checkList"
  2587. :key="checkIndex"
  2588. :label="checkIndex"
  2589. :disabled="isAnswer"
  2590. class="redioStyle"
  2591. ><span v-html="item2"></span>
  2592. </el-radio>
  2593. </el-radio-group>
  2594. </div>
  2595. </div>
  2596. </div>
  2597. </div>
  2598. </div>
  2599. <span slot="footer" class="dialog-footer">
  2600. <el-button @click="dialogVisible5 = false" v-show="noteName == ''"
  2601. >Cancel</el-button
  2602. >
  2603. <el-button type="primary" @click="addStudentAsk" v-show="noteName == ''"
  2604. >确 定</el-button
  2605. >
  2606. </span>
  2607. </el-dialog>
  2608. <el-dialog
  2609. title="查看富文本"
  2610. :visible.sync="dialogVisible1"
  2611. :append-to-body="true"
  2612. width="500px"
  2613. :before-close="handleClose"
  2614. class="dialog_diy textCss"
  2615. >
  2616. <el-form style="font-size: 20px">
  2617. <el-form-item label="文本标题" class="textTitle">
  2618. <div style="font-size: 20px">{{ text.name }}</div>
  2619. </el-form-item>
  2620. <div>富文本内容</div>
  2621. <div
  2622. v-html="text.url"
  2623. style="font-size: 18px; padding: 40px 0 0 0"
  2624. ></div>
  2625. </el-form>
  2626. <span slot="footer" class="dialog-footer">
  2627. <el-button type="primary" @click="dialogVisible1 = false"
  2628. >Confirm</el-button
  2629. >
  2630. </span>
  2631. </el-dialog>
  2632. <el-dialog
  2633. title="文件预览"
  2634. :visible.sync="dialogVisible3"
  2635. width="50%"
  2636. :before-close="handleClose"
  2637. class="dialog_diy"
  2638. :class="{ fullStyle: full }"
  2639. >
  2640. <div slot="title" class="header-title">
  2641. <div style="color: #fff">文件预览</div>
  2642. <div style="position: absolute; top: 19px; right: 50px">
  2643. <img
  2644. src="../assets/full.png"
  2645. style="height: 16px; cursor: pointer"
  2646. alt=""
  2647. @click="fullTools"
  2648. />
  2649. </div>
  2650. </div>
  2651. <pdf
  2652. v-if="showPDF"
  2653. :pdfUrl="pptImgUrl"
  2654. style="width: 100%; height: 520px; overflow: auto"
  2655. :class="{ fullStyle: full }"
  2656. ></pdf>
  2657. <iframe
  2658. v-else
  2659. :src="pptImgUrl"
  2660. frameborder="0"
  2661. width="100%"
  2662. height="600"
  2663. :class="{ fullStyle: full }"
  2664. ></iframe>
  2665. </el-dialog>
  2666. <el-dialog
  2667. title="文件预览"
  2668. :visible.sync="dialogVisible6"
  2669. width="50%"
  2670. :before-close="handleClose"
  2671. class="dialog_diy"
  2672. >
  2673. <iframe
  2674. :src="pptImgUrl1"
  2675. frameborder="0"
  2676. width="100%"
  2677. height="600"
  2678. ></iframe>
  2679. </el-dialog>
  2680. <el-dialog
  2681. title="Notification"
  2682. :visible.sync="dialogVisible4"
  2683. :append-to-body="true"
  2684. width="800px"
  2685. :before-close="handleClose"
  2686. class="dialog_diy notice"
  2687. >
  2688. <div>此功能暂未开放!</div>
  2689. <el-button type="primary" @click="dialogVisible4 = false">Confirm</el-button>
  2690. </el-dialog>
  2691. <el-dialog
  2692. title="Question"
  2693. :visible.sync="answerDialogVisible"
  2694. :append-to-body="true"
  2695. width="800px"
  2696. :before-close="handleClose"
  2697. class="dialog_diy"
  2698. >
  2699. <div>
  2700. <div
  2701. style="
  2702. display: flex;
  2703. flex-wrap: nowrap;
  2704. flex-direction: column;
  2705. position: relative;
  2706. "
  2707. >
  2708. <div class="queTop" style="padding: 20px 0 20px 0">
  2709. <div class="question">
  2710. <img src="../assets/icon/question.png" alt />
  2711. </div>
  2712. <div class="queTitle">
  2713. <div style="width: 90px; min-width: 90px">Question:</div>
  2714. <div>{{ answerQ }}</div>
  2715. </div>
  2716. </div>
  2717. <div class="ediBottom">
  2718. <textarea
  2719. rows="6"
  2720. class="binfo_input"
  2721. cols
  2722. style="width: 95%; height: 120px"
  2723. v-model="questionAnswer"
  2724. ></textarea>
  2725. </div>
  2726. </div>
  2727. </div>
  2728. <div slot="footer">
  2729. <el-button @click="answerDialogVisible = false">Cancel</el-button>
  2730. <el-button type="primary" @click="addQuestion">提 交</el-button>
  2731. </div>
  2732. </el-dialog>
  2733. <el-dialog
  2734. title="Timer"
  2735. :visible.sync="timeDialogVisible"
  2736. :append-to-body="true"
  2737. width="800px"
  2738. :before-close="handleClose"
  2739. class="dialog_diy"
  2740. >
  2741. <div>
  2742. <Time v-if="timeDialogVisible"></Time>
  2743. </div>
  2744. <div slot="footer">
  2745. <el-button @click="timeDialogVisible = false">Close</el-button>
  2746. </div>
  2747. </el-dialog>
  2748. <el-dialog
  2749. title="Permission"
  2750. :visible.sync="juriVisible"
  2751. :append-to-body="true"
  2752. width="400px"
  2753. :before-close="handleClose"
  2754. class="dialog_diy"
  2755. >
  2756. <div>
  2757. <div>
  2758. <div>
  2759. <el-switch
  2760. v-model="sIsOpen"
  2761. active-text="Allow students to view all submission"
  2762. class="switchCss"
  2763. @change="updateSLook"
  2764. ></el-switch>
  2765. </div>
  2766. </div>
  2767. </div>
  2768. <div slot="footer">
  2769. <el-button
  2770. style="background: #409efe; color: #fff"
  2771. @click="juriVisible = false"
  2772. >Close</el-button
  2773. >
  2774. </div>
  2775. </el-dialog>
  2776. <el-dialog
  2777. title="查看视频"
  2778. :visible.sync="videoVisible"
  2779. :append-to-body="true"
  2780. width="1000px"
  2781. :before-close="handleClose"
  2782. class="dialog_diy1"
  2783. >
  2784. <div class="workd_media" style="height: 100%" v-if="videoDetail.sources">
  2785. <video-player
  2786. class="video-player vjs-custom-skin"
  2787. :playsinline="true"
  2788. :options="videoDetail"
  2789. @play="onPlayerPlay($event)"
  2790. style="width: 100%; height: 100%"
  2791. ></video-player>
  2792. </div>
  2793. <div slot="footer">
  2794. <el-button
  2795. style="background: #409efe; color: #fff"
  2796. @click="(videoVisible = false), (videoDetail.sources[0].src = '')"
  2797. >
  2798. Close</el-button
  2799. >
  2800. </div>
  2801. </el-dialog>
  2802. <el-dialog
  2803. :title="noteName != '' ? noteName : 'Choice question'"
  2804. :visible.sync="dialogVisible5"
  2805. :append-to-body="true"
  2806. width="1000px"
  2807. :before-close="handleClose"
  2808. class="dialog_diy dialog_diy3"
  2809. >
  2810. <div>
  2811. <div
  2812. class="a_add_title"
  2813. style="
  2814. display: flex;
  2815. flex-direction: row;
  2816. align-items: center;
  2817. justify-content: center;
  2818. "
  2819. >
  2820. <div style="margin-right: 20px; font-size: 20px">Title:</div>
  2821. <div style="font-size: 20px">{{ askJson.askTitle }}</div>
  2822. </div>
  2823. <div class="a_addBox">
  2824. <div style="font-size: 16px; color: #c7c7c7">题目内容</div>
  2825. <div
  2826. class="a_add_box"
  2827. v-for="(item1, index1) in askJson.askCount"
  2828. :key="index1"
  2829. >
  2830. <div class="a_add_head">
  2831. <div style="display: flex">
  2832. {{ index1 + 1 + "、" }}
  2833. <div>Question:{{ askJson.askJson[index1].askstitle }}</div>
  2834. </div>
  2835. <img
  2836. v-if="askJson.askJson[index1].img"
  2837. :src="askJson.askJson[index1].img"
  2838. style="width: 100%; margin-top: 10px"
  2839. />
  2840. </div>
  2841. <div class="a_add_body">
  2842. <div class="a_add_input">
  2843. <el-radio-group v-model="radio[index1]">
  2844. <el-radio
  2845. v-for="(item2, checkIndex) in askJson.askJson[index1]
  2846. .checkList"
  2847. :key="checkIndex"
  2848. :label="checkIndex"
  2849. :disabled="isAnswer"
  2850. class="redioStyle"
  2851. ><span v-html="item2"></span
  2852. ></el-radio>
  2853. </el-radio-group>
  2854. </div>
  2855. </div>
  2856. </div>
  2857. </div>
  2858. </div>
  2859. <span slot="footer" class="dialog-footer">
  2860. <el-button @click="dialogVisible5 = false" v-show="noteName == ''"
  2861. >Cancel</el-button
  2862. >
  2863. <el-button type="primary" @click="addStudentAsk" v-show="noteName == ''"
  2864. >确 定</el-button
  2865. >
  2866. </span>
  2867. </el-dialog>
  2868. <el-dialog
  2869. title="查看详情"
  2870. :visible.sync="commentDialogVisible"
  2871. :append-to-body="true"
  2872. width="600px"
  2873. :before-close="handleClose"
  2874. class="dialog_diy"
  2875. >
  2876. <div class="commentTop">
  2877. <div class="studentDetail">
  2878. <div class="tx"><img src="../assets/avatar.png" alt="" /></div>
  2879. <div class="nameAndTime">
  2880. <div style="margin-bottom: 5px">{{ commentDetail.sName }}</div>
  2881. <div>{{ commentDetail.time }}</div>
  2882. </div>
  2883. </div>
  2884. <div
  2885. class="worksAnswer"
  2886. v-if="commentDetail.works && commentDetail.type == 2"
  2887. >
  2888. {{ JSON.parse(commentDetail.works)[0].answer }}
  2889. </div>
  2890. <div
  2891. class="worksAnswer"
  2892. v-if="commentDetail.works && commentDetail.type == 1"
  2893. >
  2894. <pdf
  2895. v-if="showPDF"
  2896. :pdfUrl="pptImgUrl"
  2897. style="width: 100%; height: 520px; overflow: auto"
  2898. :class="{ fullStyle: full }"
  2899. ></pdf>
  2900. <iframe
  2901. v-else
  2902. :src="pptImgUrl"
  2903. frameborder="0"
  2904. width="100%"
  2905. height="600"
  2906. :class="{ fullStyle: full }"
  2907. ></iframe>
  2908. </div>
  2909. <div
  2910. class="worksAnswer"
  2911. v-if="commentDetail.works && commentDetail.type == 0"
  2912. >
  2913. <img
  2914. :src="commentDetail.works"
  2915. alt=""
  2916. @click="previewImg(commentDetail.works)"
  2917. />
  2918. </div>
  2919. <div
  2920. class="worksAnswer"
  2921. v-if="commentDetail.works && commentDetail.type == 3"
  2922. >
  2923. <video-player
  2924. class="video-player vjs-custom-skin"
  2925. :playsinline="true"
  2926. :options="videoDetail"
  2927. @play="onPlayerPlay($event)"
  2928. style="width: 90%; height: 100%; margin: 0 0 0 30px"
  2929. ></video-player>
  2930. </div>
  2931. <div
  2932. class="worksAnswer"
  2933. v-if="commentDetail.works && commentDetail.type == 4"
  2934. >
  2935. <div class="evalCss">
  2936. <div class="nav">Please select stars to rate</div>
  2937. <div class="middleBox" v-if="eScore.eStar">
  2938. <div class="pfBox" v-for="(e, eIndex) in rateJson" :key="eIndex">
  2939. <div class="nameAndrate">
  2940. <div>{{ e.value }}</div>
  2941. <el-rate v-model="eScore.eStar[eIndex]" disabled></el-rate>
  2942. </div>
  2943. <div v-if="e.detail">{{ e.detail }}</div>
  2944. </div>
  2945. <div class="bz">
  2946. <textarea
  2947. disabled
  2948. rows="4"
  2949. class="pj"
  2950. style="
  2951. padding: 10px 5px;
  2952. width: 70%;
  2953. background: #f7f6f9;
  2954. font-size: 14px;
  2955. text-indent: 10px;
  2956. "
  2957. cols
  2958. v-model="eScore.eBzText"
  2959. placeholder="Please enter your comments"
  2960. ></textarea>
  2961. </div>
  2962. </div>
  2963. </div>
  2964. </div>
  2965. <div class="comment">
  2966. <div class="commentList">
  2967. <div class="commentImg">
  2968. <img
  2969. @click="
  2970. isLikes(
  2971. commentDetail.wid,
  2972. commentDetail.userid,
  2973. 1,
  2974. null,
  2975. commentDetail.isLikes
  2976. )
  2977. "
  2978. :src="commentDetail.isLikes == true ? likes : noLikes"
  2979. alt=""
  2980. />
  2981. </div>
  2982. <div>{{ commentDetail.likesCount }}</div>
  2983. </div>
  2984. <div class="commentList">
  2985. <div class="commentImg">
  2986. <img src="../assets/icon/comment/comment.png" alt="" />
  2987. </div>
  2988. <div>{{ commentDetail.commentCount }}</div>
  2989. </div>
  2990. </div>
  2991. </div>
  2992. <div class="commentBox">
  2993. <div class="pl">评论:</div>
  2994. <div style="max-height: 200px; overflow: auto">
  2995. <div v-if="commentDetail.commentJson" style="padding: 10px 0 0 0">
  2996. <div
  2997. class="studentDetail"
  2998. style="padding-top: 10px"
  2999. v-for="(co, coIndex) in commentDetail.commentJson"
  3000. :key="coIndex"
  3001. >
  3002. <div class="tx" style="min-width: 50px">
  3003. <img src="../assets/avatar.png" alt="" />
  3004. </div>
  3005. <div class="plPerson">
  3006. <div class="plName">
  3007. <div>{{ co.commentPeople }}</div>
  3008. <div style="margin-left: 5px">
  3009. {{ co.commentTime }}
  3010. </div>
  3011. </div>
  3012. <div class="plContent">{{ co.commentText }}</div>
  3013. </div>
  3014. </div>
  3015. </div>
  3016. <div v-else style="padding: 10px 0 0 0">暂无评论</div>
  3017. </div>
  3018. </div>
  3019. <div style="margin-top: 10px">
  3020. <div class="displayBox">
  3021. <div
  3022. style="
  3023. color: #556db4;
  3024. font-size: 14px;
  3025. font-weight: bold;
  3026. padding-bottom: 10px;
  3027. "
  3028. >
  3029. 评价
  3030. </div>
  3031. <div class="easy_comment">
  3032. <div
  3033. v-for="(p, pIndex) in PlTextList"
  3034. :key="pIndex"
  3035. @click="fastText(p, 1)"
  3036. >
  3037. {{ p }}
  3038. </div>
  3039. </div>
  3040. </div>
  3041. <div>
  3042. <textarea
  3043. rows="3"
  3044. class="pj"
  3045. style="padding: 10px 5px"
  3046. cols
  3047. v-model="commentText"
  3048. placeholder="请输入评论"
  3049. ></textarea>
  3050. </div>
  3051. </div>
  3052. <div slot="footer">
  3053. <el-button
  3054. @click="
  3055. (commentDialogVisible = false),
  3056. (this.commentIndexJson = {}),
  3057. videoDetail.sources && videoDetail.sources[0]
  3058. ? (videoDetail.sources[0].src = '')
  3059. : ''
  3060. "
  3061. >Cancel</el-button
  3062. >
  3063. <el-button
  3064. type="primary"
  3065. @click="addComment(commentDetail.wid, userid, 2)"
  3066. >确 定</el-button
  3067. >
  3068. </div>
  3069. </el-dialog>
  3070. <el-dialog
  3071. title="查看文档"
  3072. :visible.sync="fullDialogVisible"
  3073. :append-to-body="true"
  3074. width="100%"
  3075. :before-close="handleClose"
  3076. class="dialog_diy full_diy"
  3077. >
  3078. <div style="height: 100%">
  3079. <iframe
  3080. v-if="fulltype == 2"
  3081. style="width: 100%; height: 100%; border: none"
  3082. :src="fullUrl"
  3083. ></iframe>
  3084. <pdf
  3085. v-else-if="fulltype == 3"
  3086. :pdfUrl="fullUrl"
  3087. style="width: 100%; height: 100%; overflow: auto"
  3088. ></pdf>
  3089. <div
  3090. class="wheel"
  3091. v-if="fulltype == 1"
  3092. style="
  3093. box-shadow: 0 0 6px 1px #f2f2f2;
  3094. width: 100%;
  3095. background: #f1f1f1;
  3096. "
  3097. >
  3098. <div class="title" style="width: 100%; box-sizing: border-box">
  3099. 查看文档
  3100. </div>
  3101. <el-form class="textBox" style="height: 90%">
  3102. <el-form-item class="textTitle">
  3103. <div style="font-size: 22px; max-height: 100px; overflow: auto">
  3104. {{ fullUrl.name }}
  3105. </div>
  3106. </el-form-item>
  3107. <!-- <div style="color: #918f8f; width: 85%">Content</div> -->
  3108. <div
  3109. v-html="fullUrl.url"
  3110. class="textContent"
  3111. style="height: auto"
  3112. ></div>
  3113. </el-form>
  3114. </div>
  3115. </div>
  3116. <!-- <div slot="footer">
  3117. <el-button @click="fullDialogVisible = false">Close</el-button>
  3118. </div> -->
  3119. </el-dialog>
  3120. <el-dialog
  3121. title="学生评价"
  3122. :visible.sync="studentEvalDialogVisible"
  3123. :append-to-body="true"
  3124. width="800px"
  3125. :before-close="handleClose"
  3126. class="dialog_diy"
  3127. >
  3128. <div class="evalCss">
  3129. <div class="nav">Please select stars to rate</div>
  3130. <div class="middleBox">
  3131. <div class="pfBox" v-for="(e, eIndex) in rateJson" :key="eIndex">
  3132. <div class="nameAndrate">
  3133. <div>{{ e.value }}</div>
  3134. <el-rate
  3135. v-model="eScore.eStar[eIndex]"
  3136. :disabled="isStar"
  3137. ></el-rate>
  3138. </div>
  3139. <div v-if="e.detail">{{ e.detail }}</div>
  3140. </div>
  3141. <div class="easy_comment" v-if="isStar == false">
  3142. <div
  3143. v-for="(p, pIndex) in PlTextList"
  3144. :key="pIndex"
  3145. @click="fastText(p, 2)"
  3146. >
  3147. {{ p }}
  3148. </div>
  3149. </div>
  3150. <div class="bz">
  3151. <textarea
  3152. :disabled="isStar == true"
  3153. rows="4"
  3154. class="pj"
  3155. style="
  3156. padding: 10px 5px;
  3157. width: 70%;
  3158. background: #f7f6f9;
  3159. font-size: 14px;
  3160. text-indent: 10px;
  3161. color: #000;
  3162. "
  3163. cols
  3164. v-model="eScore.eBzText"
  3165. placeholder="Please enter your comments"
  3166. ></textarea>
  3167. </div>
  3168. </div>
  3169. </div>
  3170. <div slot="footer">
  3171. <el-button @click="studentEvalDialogVisible = false">Cancel</el-button>
  3172. <el-button type="primary" @click="addBzWorks" v-if="isStar"
  3173. >确 定</el-button
  3174. >
  3175. </div>
  3176. </el-dialog>
  3177. <el-dialog
  3178. title="Match"
  3179. :visible.sync="dialogVisibleSelect"
  3180. :append-to-body="true"
  3181. width="90%"
  3182. :before-close="handleClose"
  3183. class="dialog_diy dialog_diy3"
  3184. >
  3185. <div v-if="selectJson">
  3186. <div class="select_box2">
  3187. <div class="select_box2_title">
  3188. <div>Match</div>
  3189. </div>
  3190. <div class="select_box2_box">
  3191. <div class="select_box2_img">
  3192. <img
  3193. :src="selectJson.url"
  3194. @click="previewImg(selectJson.url)"
  3195. alt=""
  3196. />
  3197. </div>
  3198. <div :class="isSelect ? 'rightWidthCss' : 'select_box2_answer'">
  3199. <div style="padding-top: 15px">
  3200. <div class="select_answer_title" v-if="isSelect">
  3201. {{ selectAnswer.stu }}
  3202. </div>
  3203. <div class="select_answer_title" v-else>
  3204. Select the matching answer for each question
  3205. </div>
  3206. <div
  3207. class="select_box2_answer_box"
  3208. v-for="(item2, checkIndex) in selectJson.select"
  3209. :key="checkIndex"
  3210. >
  3211. <span style="min-width: 30px">{{ checkIndex + 1 }}、</span>
  3212. <el-select
  3213. :disabled="isSelect"
  3214. v-model="selectAnswer.answer[checkIndex]"
  3215. placeholder="Choose the answer"
  3216. >
  3217. <el-option
  3218. v-for="(e, eIndex) in selectJson.select"
  3219. :key="eIndex"
  3220. :label="e"
  3221. :value="eIndex"
  3222. >
  3223. </el-option>
  3224. </el-select>
  3225. </div>
  3226. </div>
  3227. <div class="rightAnswerCss" v-if="isSelect && tType == 3">
  3228. <div
  3229. v-for="(a, aIndex) in selectJson.answer"
  3230. :key="aIndex"
  3231. class="rightAnswer"
  3232. >
  3233. <div
  3234. v-if="selectAnswer.answer[aIndex] === a"
  3235. style="color: #767de1"
  3236. >
  3237. 回答正确
  3238. </div>
  3239. <div v-else>回答错误</div>
  3240. <div
  3241. style="margin-left: 10px"
  3242. v-if="selectAnswer.answer[aIndex] !== a"
  3243. >
  3244. 正确答案:
  3245. </div>
  3246. <div
  3247. :class="
  3248. selectAnswer.answer[aIndex] === a ? 'blueCss' : 'redCss'
  3249. "
  3250. >
  3251. {{ selectJson.select[a] }}
  3252. </div>
  3253. </div>
  3254. </div>
  3255. </div>
  3256. <div class="upAnswerCss">
  3257. <el-button
  3258. type="primary"
  3259. @click="addSelectAnswer"
  3260. v-if="!isSelect"
  3261. >Submit</el-button
  3262. >
  3263. </div>
  3264. </div>
  3265. </div>
  3266. </div>
  3267. </el-dialog>
  3268. </div>
  3269. </template>
  3270. <script>
  3271. import "../common/aws-sdk-2.235.1.min.js";
  3272. import pdf from "./components/pdf3";
  3273. import AskStatic from "./components/askStatic";
  3274. import AnswerData2 from "./components/answerData2";
  3275. import EditorBar from "./tools/wangEnduit.vue";
  3276. import Time from "./tools/time.vue";
  3277. import Mind from "./tools/jsmind.vue";
  3278. import Sunburst from "./tools/sunburst";
  3279. import SeeBoard from "./tools/seeBoard";
  3280. import * as imageConversion from "image-conversion";
  3281. export default {
  3282. components: {
  3283. EditorBar,
  3284. Time,
  3285. pdf,
  3286. AskStatic,
  3287. Mind,
  3288. Sunburst,
  3289. SeeBoard,
  3290. AnswerData2,
  3291. },
  3292. data() {
  3293. return {
  3294. dialogVisible: false,
  3295. commentDialogVisible: false,
  3296. isStar: false,
  3297. videoVisible: false,
  3298. studentEvalDialogVisible: false,
  3299. pzDialog: false,
  3300. addPzDialog: false,
  3301. chooseVisible: false,
  3302. videoDetail: {},
  3303. commentDetail: [],
  3304. rateJson: [],
  3305. eScore: { eBzText: "", eStar: [] },
  3306. id: this.$route.query.courseId,
  3307. userid: this.$route.query.userid,
  3308. classId: this.$route.query.cid,
  3309. // courseTypeLine: this.$route.query.type,
  3310. oid: this.$route.query.oid,
  3311. org: this.$route.query.org,
  3312. tType: this.$route.query.tType,
  3313. courseType: this.$route.query.type,
  3314. screenType: this.$route.query.screenType,
  3315. juriVisible: false,
  3316. pptImgUrl: "",
  3317. commentText: "",
  3318. pptImgUrl1: [],
  3319. full: false,
  3320. type: 1,
  3321. vedio: [],
  3322. selectJson: {},
  3323. text: [],
  3324. textList: [],
  3325. line: [],
  3326. lineList: [],
  3327. chapTools: [],
  3328. chapToolList: [],
  3329. file: [],
  3330. vedioTime: "",
  3331. upToolImg: "",
  3332. rateList: {
  3333. ca: 0,
  3334. },
  3335. rateParams: [],
  3336. selectAnswer: [],
  3337. isSelect: false,
  3338. dialogVisibleSelect: false,
  3339. colors: ["#DFDFDF", "#DFDFDF", "#DFDFDF"],
  3340. studyJuri: [
  3341. {
  3342. content: "",
  3343. cover: [],
  3344. upVedio: [],
  3345. upFile: [],
  3346. },
  3347. ],
  3348. mr: require("../assets/vedioPic.png"),
  3349. word: require("../assets/icon/isWord.png"),
  3350. video: require("../assets/icon/isVideo.png"),
  3351. noLikes: require("../assets/icon/comment/noLikes.png"),
  3352. likes: require("../assets/icon/comment/likes.png"),
  3353. courseDetail: {},
  3354. chapInfo: [],
  3355. pzConText: "",
  3356. chapInfoList: [],
  3357. taskCount: 0,
  3358. imgList: [],
  3359. noImgList: [],
  3360. navId: "",
  3361. playerOptions: {
  3362. playbackRates: [0.7, 1.0, 1.5, 2.0], //播放速度
  3363. autoplay: false, //如果true,浏览器准备好时开始回放。
  3364. muted: false, // 默认情况下将会消除任何音频。
  3365. loop: false, // 导致视频一结束就重新开始。
  3366. preload: "auto", // 建议浏览器在<video>加载元素后是否应该开始下载视频数据。auto浏览器选择最佳行为,立即开始加载视频(如果浏览器支持)
  3367. language: "zh-CN",
  3368. aspectRatio: "16:9", // 将播放器置于流畅模式,并在计算播放器的动态大小时使用该值。值应该代表一个比例 - 用冒号分隔的两个数字(例如"16:9"或"4:3")
  3369. fluid: true, // 当true时,Video.js player将拥有流体大小。换句话说,它将按比例缩放以适应其容器。
  3370. sources: [
  3371. {
  3372. type: "video/mp4", //这里的种类支持很多种:基本视频格式、直播、流媒体等,具体可以参看git网址项目 || "video/ogg"|| "video/webm"
  3373. src: "", //url地址require("../../assets/media/aaa.mp4")
  3374. },
  3375. ],
  3376. // poster: require("../../assets/tu31.png"), //你的封面地址
  3377. // poster: dataRes.imgUrl, //你的封面地址
  3378. notSupportedMessage: "此视频暂无法播放,请稍后再试", //允许覆盖Video.js无法播放媒体源时显示的默认信息。
  3379. controlBar: {
  3380. timeDivider: true, //当前时间和持续时间的分隔符
  3381. durationDisplay: true, //显示持续时间
  3382. remainingTimeDisplay: false, //是否显示剩余时间功能
  3383. fullscreenToggle: true, //全屏按钮
  3384. },
  3385. },
  3386. playerOptions1: {
  3387. playbackRates: [0.7, 1.0, 1.5, 2.0], //播放速度
  3388. autoplay: false, //如果true,浏览器准备好时开始回放。
  3389. muted: false, // 默认情况下将会消除任何音频。
  3390. loop: false, // 导致视频一结束就重新开始。
  3391. preload: "auto", // 建议浏览器在<video>加载元素后是否应该开始下载视频数据。auto浏览器选择最佳行为,立即开始加载视频(如果浏览器支持)
  3392. language: "zh-CN",
  3393. aspectRatio: "16:9", // 将播放器置于流畅模式,并在计算播放器的动态大小时使用该值。值应该代表一个比例 - 用冒号分隔的两个数字(例如"16:9"或"4:3")
  3394. fluid: true, // 当true时,Video.js player将拥有流体大小。换句话说,它将按比例缩放以适应其容器。
  3395. sources: [
  3396. {
  3397. type: "video/mp4", //这里的种类支持很多种:基本视频格式、直播、流媒体等,具体可以参看git网址项目 || "video/ogg"|| "video/webm"
  3398. src: "", //url地址require("../../assets/media/aaa.mp4")
  3399. },
  3400. ],
  3401. // poster: require("../../assets/tu31.png"), //你的封面地址
  3402. // poster: dataRes.imgUrl, //你的封面地址
  3403. notSupportedMessage: "此视频暂无法播放,请稍后再试", //允许覆盖Video.js无法播放媒体源时显示的默认信息。
  3404. controlBar: {
  3405. timeDivider: true, //当前时间和持续时间的分隔符
  3406. durationDisplay: true, //显示持续时间
  3407. remainingTimeDisplay: false, //是否显示剩余时间功能
  3408. fullscreenToggle: true, //全屏按钮
  3409. },
  3410. },
  3411. playerO: [],
  3412. pzList: [],
  3413. noneBtnImg: false,
  3414. proVisible: false,
  3415. progress: 0,
  3416. questionAnswer: "",
  3417. answerQ: "", //问答标题
  3418. wbCount: 0,
  3419. wordCount: 0,
  3420. mindCount: 0,
  3421. askCount: 0,
  3422. noteCount: 0,
  3423. mindNetWorkCount: 0,
  3424. libraryCount: 0,
  3425. workCount: 0,
  3426. timeCount: 0,
  3427. answerCount: 0,
  3428. trainCount: 0,
  3429. evalCount: 0,
  3430. dialogImageUrl: "",
  3431. pictureDialog: false,
  3432. toolTypeList: [],
  3433. dialogVisible1: false,
  3434. dialogVisible2: false,
  3435. dialogVisible3: false,
  3436. dialogVisible6: false,
  3437. dialogVisible4: false,
  3438. isNoHomeWork: false,
  3439. dialogVisible5: false,
  3440. answerDialogVisible: false,
  3441. timeDialogVisible: false,
  3442. radio: [],
  3443. PlTextList: [
  3444. "Excellent!",
  3445. "nice!",
  3446. "很有创意!",
  3447. "还不错哦~",
  3448. "继续努力哦~",
  3449. ],
  3450. isClickNavOne: [],
  3451. isAsk: false,
  3452. askJson: {
  3453. askCount: 1,
  3454. askTitle: "",
  3455. askJson: [{ askstitle: "", askItem: 1, checkList: [] }],
  3456. },
  3457. checkJson: [],
  3458. askList: [],
  3459. sIsOpen: false,
  3460. answerList: [],
  3461. navList: [],
  3462. worksStudent: [],
  3463. workStudent: [],
  3464. noWorksS: [],
  3465. isWorksS: [],
  3466. noWorksStudent: [],
  3467. toolindex: 0,
  3468. workTypeB: false,
  3469. workTypeC: false,
  3470. isAnswer: false,
  3471. timer: null,
  3472. showType: [],
  3473. fileType: 0,
  3474. showPDF: false,
  3475. noteName: "",
  3476. evaJuri: [],
  3477. evalua: "",
  3478. bzText: "",
  3479. eTitle: "",
  3480. eName: "",
  3481. eJson: {},
  3482. fid: "", //一级
  3483. sid: "", //二级
  3484. tid: "", //二级
  3485. typeMode: 1,
  3486. eJSONNum: 0,
  3487. Etype: 1,
  3488. data: {
  3489. meta: {
  3490. name: "example",
  3491. author: "dd@163.com",
  3492. version: "0.2",
  3493. },
  3494. format: "node_array",
  3495. data: [{ id: "root", isroot: true, topic: "" }],
  3496. },
  3497. fullDialogVisible: false,
  3498. fulltype: "",
  3499. fullUrl: "",
  3500. commentIndexJson: {},
  3501. };
  3502. },
  3503. methods: {
  3504. previewImg(url) {
  3505. this.$hevueImgPreview(url);
  3506. },
  3507. change(val) {
  3508. console.log(val);
  3509. },
  3510. goTo(path) {
  3511. this.$router.push(path);
  3512. },
  3513. handlePictureCardPreview(url) {
  3514. this.dialogImageUrl = url;
  3515. this.pictureDialog = true;
  3516. },
  3517. clean(type) {
  3518. if (type == 1) {
  3519. this.studyJuri[0].cover.splice(0, 1);
  3520. } else if (type == 2) {
  3521. this.studyJuri[0].upVedio.splice(0, 1);
  3522. } else {
  3523. this.studyJuri[0].upFile.splice(0, 1);
  3524. }
  3525. },
  3526. handleClose(done) {
  3527. if (this.videoDetail.sources && this.videoDetail.sources[0]) {
  3528. this.videoDetail.sources[0].src = "";
  3529. }
  3530. this.commentIndexJson = {};
  3531. done();
  3532. },
  3533. fullTools() {
  3534. this.full = !this.full;
  3535. },
  3536. imgChange(file, fileList, type) {
  3537. if (type == 1) {
  3538. var _tmp = this.studyJuri[0].cover;
  3539. } else if (type == 2) {
  3540. var _tmp = this.studyJuri[0].upVedio;
  3541. } else {
  3542. var _tmp = this.studyJuri[0].upFile;
  3543. }
  3544. this.noneBtnImg = _tmp.length >= 1;
  3545. },
  3546. addImg(e) {
  3547. var el = e.currentTarget;
  3548. el.getElementsByTagName("input")[0].click();
  3549. },
  3550. addCourseWorks(i) {
  3551. var typesql;
  3552. if (this.fileType === 0) {
  3553. typesql = 1;
  3554. } else if (this.fileType === 1) {
  3555. typesql = 4;
  3556. } else {
  3557. typesql = 5;
  3558. }
  3559. let params = [
  3560. {
  3561. uid: this.userid,
  3562. cid: this.id,
  3563. stage: this.courseType,
  3564. task: i,
  3565. tool: this.toolindex,
  3566. content: this.studyJuri[0].cover[0].url,
  3567. type: typesql,
  3568. },
  3569. ];
  3570. this.ajax
  3571. .post(this.$store.state.api + "addCourseWorksR", params)
  3572. .then((res) => {
  3573. this.$message({
  3574. message: "提交成功",
  3575. type: "success",
  3576. });
  3577. this.studyJuri[0].cover = [];
  3578. this.dialogVisible = false;
  3579. this.getCourseDetail();
  3580. })
  3581. .catch((err) => {
  3582. this.$message.error("提交失败");
  3583. console.error(err);
  3584. });
  3585. },
  3586. selectWorksStudent() {
  3587. let params = {
  3588. oid: this.oid,
  3589. cid: this.courseDetail.juri,
  3590. };
  3591. this.ajax
  3592. .get(this.$store.state.api + "selectWorksStudent", params)
  3593. .then((res) => {
  3594. var a = res.data[0];
  3595. for (var i = 0; i < this.isWorksS.length; i++) {
  3596. this.noWorksS[i] = [];
  3597. var studentK = [];
  3598. if (this.isWorksS[i].length > 0) {
  3599. for (var z = 0; z < this.isWorksS[i].length; z++) {
  3600. studentK.push(this.isWorksS[i][z].uid);
  3601. }
  3602. studentK = studentK.join(",");
  3603. for (var j = 0; j < a.length; j++) {
  3604. if (studentK.indexOf(a[j].userid) == -1) {
  3605. this.noWorksS[i].push({ student: a[j].name });
  3606. }
  3607. }
  3608. } else {
  3609. for (var k = 0; k < a.length; k++) {
  3610. this.noWorksS[i].push({ student: a[k].name });
  3611. }
  3612. }
  3613. }
  3614. this.$forceUpdate();
  3615. if (Object.keys(this.commentIndexJson).length) {
  3616. this.commentOther(
  3617. this.worksStudent[this.commentIndexJson.jdIndex][
  3618. this.commentIndexJson.rwIndex
  3619. ][this.commentIndexJson.toolIndex][this.commentIndexJson.wIndex],
  3620. this.commentIndexJson.jdIndex,
  3621. this.commentIndexJson.rwIndex,
  3622. this.commentIndexJson.toolIndex,
  3623. this.commentIndexJson.wIndex
  3624. );
  3625. }
  3626. })
  3627. .catch((err) => {
  3628. console.error(err);
  3629. });
  3630. },
  3631. // addPz() {
  3632. // let params = [
  3633. // {
  3634. // cid: this.id,
  3635. // uid: this.userid,
  3636. // c: this.pzConText,
  3637. // },
  3638. // ];
  3639. // this.ajax
  3640. // .post(this.$store.state.api + "addPz", params)
  3641. // .then((res) => {
  3642. // this.$message({
  3643. // message: "添加成功",
  3644. // type: "success",
  3645. // });
  3646. // this.pzConText = "";
  3647. // this.addPzDialog = false;
  3648. // this.selectPz();
  3649. // })
  3650. // .catch((err) => {
  3651. // this.$message.error("添加失败");
  3652. // console.error(err);
  3653. // });
  3654. // },
  3655. // selectPz() {
  3656. // this.pzDialog = true;
  3657. // let params = {
  3658. // cid: this.id,
  3659. // };
  3660. // this.ajax
  3661. // .get(this.$store.state.api + "selectPzList", params)
  3662. // .then((res) => {
  3663. // this.pzList = res.data[0];
  3664. // })
  3665. // .catch((err) => {
  3666. // console.error(err);
  3667. // });
  3668. // },
  3669. selectStudent() {
  3670. let params = {
  3671. uid: this.userid,
  3672. cid: this.id,
  3673. s: this.courseType,
  3674. t: this.taskCount,
  3675. };
  3676. this.ajax
  3677. .get(this.$store.state.api + "selectStudentWorks", params)
  3678. .then((res) => {
  3679. var a =
  3680. this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
  3681. this.taskCount
  3682. ].toolChoose;
  3683. var b = res.data[0];
  3684. var c = ["PDF", "DOC", "DOCX", "PPT", "PPTX", "XLSX", "XLS"];
  3685. for (var i = 0; i < a.length; i++) {
  3686. this.workStudent[i] = [];
  3687. for (var j = 0; j < b.length; j++) {
  3688. if (i == b[j].tool) {
  3689. if (b[j].type == 1 || b[j].type == 4) {
  3690. if (
  3691. c.indexOf(
  3692. b[j].content
  3693. .split(".")
  3694. [b[j].content.split(".").length - 1].toLocaleUpperCase()
  3695. ) != -1
  3696. ) {
  3697. this.workStudent[i].push({
  3698. works: b[j].content,
  3699. sName: b[j].name,
  3700. type: 1,
  3701. time: b[j].time,
  3702. });
  3703. } else {
  3704. this.workStudent[i].push({
  3705. works: b[j].content,
  3706. sName: b[j].name,
  3707. type: 0,
  3708. time: b[j].time,
  3709. });
  3710. }
  3711. } else {
  3712. this.workStudent[i].push({
  3713. works: b[j].content,
  3714. sName: b[j].name,
  3715. type: 2,
  3716. time: b[j].time,
  3717. });
  3718. }
  3719. }
  3720. }
  3721. }
  3722. })
  3723. .catch((err) => {
  3724. console.error(err);
  3725. });
  3726. },
  3727. openVideo(w) {
  3728. this.videoDetail = {};
  3729. this.playerOptions1.sources[0].src = w;
  3730. this.videoDetail = this.playerOptions1;
  3731. this.videoVisible = true;
  3732. },
  3733. isLikes(wid, uid, t, c, isLikes) {
  3734. if (isLikes == false) {
  3735. let params = [
  3736. {
  3737. wid: wid,
  3738. lid: uid,
  3739. t: t,
  3740. c: c,
  3741. },
  3742. ];
  3743. this.ajax
  3744. .post(this.$store.state.api + "insertComment", params)
  3745. .then((res) => {
  3746. this.$message({
  3747. message: "点赞成功",
  3748. type: "success",
  3749. });
  3750. this.selectSWorks();
  3751. })
  3752. .catch((err) => {
  3753. this.$message.error("点赞失败");
  3754. console.error(err);
  3755. });
  3756. } else {
  3757. let params = {
  3758. wid: wid,
  3759. lid: uid,
  3760. type: t,
  3761. };
  3762. this.ajax
  3763. .get(this.$store.state.api + "deleteComment", params)
  3764. .then((res) => {
  3765. this.$message({
  3766. message: "取消点赞成功",
  3767. type: "success",
  3768. });
  3769. this.selectSWorks();
  3770. })
  3771. .catch((err) => {
  3772. console.error(err);
  3773. });
  3774. }
  3775. },
  3776. commentOther(w, jdIndex, rwIndex, toolIndex, wIndex) {
  3777. this.commentIndexJson = {
  3778. jdInde: jdIndex,
  3779. reIndex: rwIndex,
  3780. toolIndex: toolIndex,
  3781. wIndex: wIndex,
  3782. };
  3783. this.commentDetail = [];
  3784. this.commentDialogVisible = true;
  3785. this.commentDetail = w;
  3786. if (w.works && w.type == 1) {
  3787. this.pptImgUrl = "";
  3788. var a = ["PPT", "PPTX", "XLSX", "XLS", "DOC", "DOCX"];
  3789. if (
  3790. a.indexOf(
  3791. w.works
  3792. .split(".")
  3793. [w.works.split(".").length - 1].toLocaleUpperCase()
  3794. ) != -1
  3795. ) {
  3796. this.pptImgUrl =
  3797. "https://view.officeapps.live.com/op/view.aspx?src=" + w.works;
  3798. this.showPDF = false;
  3799. } else if (
  3800. w.works
  3801. .split(".")
  3802. [w.works.split(".").length - 1].toLocaleUpperCase() == "PDF"
  3803. ) {
  3804. this.pptImgUrl = w.works;
  3805. this.showPDF = true;
  3806. }
  3807. } else if (w.works && w.type == 3) {
  3808. this.videoDetail = {};
  3809. this.playerOptions1.sources[0].src = w.works;
  3810. this.videoDetail = this.playerOptions1;
  3811. // this.videoVisible = true;
  3812. } else if (w.works && w.type == 4) {
  3813. this.eScore = JSON.parse(w.works);
  3814. this.rateJson =
  3815. this.chapInfoList[jdIndex].chapterInfo[0].taskJson[
  3816. rwIndex
  3817. ].toolChoose[toolIndex].rateJson;
  3818. }
  3819. },
  3820. addComment(wid, uid, t) {
  3821. if (this.commentText == "") {
  3822. this.$message.error("请输入评论");
  3823. return;
  3824. }
  3825. let params = [
  3826. {
  3827. wid: wid,
  3828. lid: uid,
  3829. t: t,
  3830. c: this.commentText,
  3831. },
  3832. ];
  3833. this.ajax
  3834. .post(this.$store.state.api + "insertComment", params)
  3835. .then((res) => {
  3836. this.$message({
  3837. message: "评论成功",
  3838. type: "success",
  3839. });
  3840. this.commentText = "";
  3841. this.selectSWorks();
  3842. })
  3843. .catch((err) => {
  3844. this.$message.error("评论失败");
  3845. console.error(err);
  3846. });
  3847. },
  3848. selectSWorks() {
  3849. let params = {
  3850. cid: this.id,
  3851. // s: this.courseType,
  3852. // t: this.taskCount,
  3853. };
  3854. this.ajax
  3855. .get(this.$store.state.api + "selectSWorks2", params)
  3856. .then((res) => {
  3857. // var a =
  3858. // this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
  3859. // this.taskCount
  3860. // ].toolChoose;
  3861. var b = res.data[0];
  3862. var c = ["PDF", "DOC", "DOCX", "PPT", "PPTX", "XLSX", "XLS"];
  3863. var y = [
  3864. "AVI",
  3865. "NAVI",
  3866. "MPEG",
  3867. "ASF",
  3868. "MOV",
  3869. "WMV",
  3870. "3GP",
  3871. "RM",
  3872. "RMVB",
  3873. "FLV",
  3874. "F4V",
  3875. "H.264",
  3876. "H.265",
  3877. "REAL VIDEO",
  3878. "MKV",
  3879. "WebM",
  3880. "HDDVD",
  3881. "MP4",
  3882. "MPG",
  3883. "M4V",
  3884. "MGV",
  3885. "OGV",
  3886. "QTM",
  3887. "STR",
  3888. "AMC",
  3889. "DVX",
  3890. "EVO",
  3891. "DAT",
  3892. "OGG",
  3893. "OGM",
  3894. ];
  3895. var p = res.data[1];
  3896. var t = res.data[2];
  3897. var a = this.chapInfoList;
  3898. for (var q = 0; q < a.length; q++) {
  3899. this.worksStudent[q] = [];
  3900. this.isWorksS[q] = [];
  3901. this.checkJson[q] = [];
  3902. var d = a[q].chapterInfo[0].taskJson;
  3903. for (var w = 0; w < d.length; w++) {
  3904. this.worksStudent[q][w] = [];
  3905. this.isWorksS[q][w] = [];
  3906. this.checkJson[q][w] = [];
  3907. var e = d[w].toolChoose;
  3908. for (var i = 0; i < e.length; i++) {
  3909. this.worksStudent[q][w][i] = [];
  3910. this.isWorksS[q][w][i] = [];
  3911. this.checkJson[q][w][i] = [];
  3912. for (var j = 0; j < b.length; j++) {
  3913. var likesCount = 0;
  3914. var commentCount = 0;
  3915. var isLikes = false;
  3916. var commentJson = [];
  3917. var data = b[j];
  3918. if (i == b[j].tool && w == b[j].task && q == b[j].stage) {
  3919. if (data.type == 2) {
  3920. var checkL = JSON.parse(data.content)[0].anwer.split(",");
  3921. for (var z = 0; z < checkL.length; z++) {
  3922. if (!this.checkJson[q][w][i][z]) {
  3923. this.checkJson[q][w][i].push({
  3924. checkCount: [],
  3925. checkPerson: [],
  3926. });
  3927. }
  3928. if (!this.checkJson[q][w][i][z].checkCount.length) {
  3929. this.checkJson[q][w][i][z].checkCount = [];
  3930. let _askItemCount = JSON.parse(data.content)[0]
  3931. .askJson.askJson[z].askItem;
  3932. for (var aic = 0; aic < _askItemCount; aic++) {
  3933. this.checkJson[q][w][i][z].checkCount.push(0);
  3934. }
  3935. }
  3936. this.checkJson[q][w][i][z].checkPerson[
  3937. parseInt(checkL[z])
  3938. ]
  3939. ? this.checkJson[q][w][i][z].checkPerson[
  3940. parseInt(checkL[z])
  3941. ].push(data.name)
  3942. : (this.checkJson[q][w][i][z].checkPerson[
  3943. parseInt(checkL[z])
  3944. ] = [data.name]);
  3945. this.checkJson[q][w][i][z].checkCount[
  3946. parseInt(checkL[z])
  3947. ]
  3948. ? this.checkJson[q][w][i][z].checkCount[
  3949. parseInt(checkL[z])
  3950. ]++
  3951. : (this.checkJson[q][w][i][z].checkCount[
  3952. parseInt(checkL[z])
  3953. ] = 1);
  3954. }
  3955. }
  3956. if (b[j].stage == q && b[j].task == w) {
  3957. // 1、电子白板,3、思维导图,6协同文档,7思维网格 16、作业提交
  3958. let _toolsAarry1 = [1, 3, 6, 7, 16, 40, 41];
  3959. let _toolsAarry2 = [4];
  3960. let _toolsAarry3 = [15];
  3961. for (var k = 0; k < p.length; k++) {
  3962. //点赞
  3963. if (p[k].workId == b[j].id) {
  3964. likesCount++;
  3965. if (p[k].likesId == this.userid) {
  3966. isLikes = true;
  3967. }
  3968. }
  3969. }
  3970. for (var l = 0; l < t.length; l++) {
  3971. //
  3972. if (t[l].workId == b[j].id) {
  3973. if (t[l].comment != "") {
  3974. commentCount++;
  3975. commentJson.push({
  3976. commentText: t[l].comment,
  3977. commentTime: t[l].commentTime,
  3978. commentPeople: t[l].commentPeople,
  3979. });
  3980. }
  3981. }
  3982. }
  3983. if (
  3984. (b[j].type == 1 ||
  3985. b[j].type == 4 ||
  3986. b[j].type == 5 ||
  3987. b[j].type == 6 ||
  3988. b[j].type == 7) &&
  3989. _toolsAarry1.indexOf(e[i].tool[0]) != -1
  3990. ) {
  3991. if (
  3992. c.indexOf(
  3993. b[j].content
  3994. .split(".")
  3995. [
  3996. b[j].content.split(".").length - 1
  3997. ].toLocaleUpperCase()
  3998. ) != -1
  3999. ) {
  4000. this.worksStudent[q][w][i].push({
  4001. userid: b[j].userid,
  4002. wid: b[j].id,
  4003. works: b[j].content,
  4004. sName: b[j].name,
  4005. type: 1,
  4006. time: b[j].time,
  4007. likesCount: likesCount,
  4008. commentCount: commentCount,
  4009. isLikes: isLikes,
  4010. commentJson: commentJson,
  4011. });
  4012. } else if (
  4013. y.indexOf(
  4014. b[j].content
  4015. .split(".")
  4016. [
  4017. b[j].content.split(".").length - 1
  4018. ].toLocaleUpperCase()
  4019. ) != -1
  4020. ) {
  4021. this.worksStudent[q][w][i].push({
  4022. userid: b[j].userid,
  4023. wid: b[j].id,
  4024. works: b[j].content,
  4025. sName: b[j].name,
  4026. type: 3,
  4027. time: b[j].time,
  4028. likesCount: likesCount,
  4029. commentCount: commentCount,
  4030. isLikes: isLikes,
  4031. commentJson: commentJson,
  4032. });
  4033. } else if (b[j].type == 6) {
  4034. this.worksStudent[q][w][i].push({
  4035. userid: b[j].userid,
  4036. wid: b[j].id,
  4037. works: b[j].content,
  4038. sName: b[j].name,
  4039. type: 4,
  4040. time: b[j].time,
  4041. likesCount: likesCount,
  4042. commentCount: commentCount,
  4043. isLikes: isLikes,
  4044. commentJson: commentJson,
  4045. });
  4046. } else if (b[j].type == 7) {
  4047. this.worksStudent[q][w][i].push({
  4048. userid: b[j].userid,
  4049. wid: b[j].id,
  4050. works: b[j].content,
  4051. sName: b[j].name,
  4052. type: 5,
  4053. time: b[j].time,
  4054. likesCount: likesCount,
  4055. commentCount: commentCount,
  4056. isLikes: isLikes,
  4057. commentJson: commentJson,
  4058. });
  4059. } else {
  4060. this.worksStudent[q][w][i].push({
  4061. userid: b[j].userid,
  4062. wid: b[j].id,
  4063. works: b[j].content,
  4064. sName: b[j].name,
  4065. type: 0,
  4066. time: b[j].time,
  4067. likesCount: likesCount,
  4068. commentCount: commentCount,
  4069. isLikes: isLikes,
  4070. commentJson: commentJson,
  4071. });
  4072. }
  4073. } else {
  4074. if (
  4075. b[j].type == 2 &&
  4076. _toolsAarry2.indexOf(e[i].tool[0]) != -1
  4077. ) {
  4078. this.worksStudent[q][w][i].push({
  4079. userid: b[j].userid,
  4080. wid: b[j].id,
  4081. works: b[j].content,
  4082. sName: b[j].name,
  4083. type: 2,
  4084. time: b[j].time,
  4085. likesCount: likesCount,
  4086. commentCount: commentCount,
  4087. isLikes: isLikes,
  4088. commentJson: commentJson,
  4089. });
  4090. }
  4091. if (
  4092. b[j].type == 3 &&
  4093. _toolsAarry3.indexOf(e[i].tool[0]) != -1
  4094. ) {
  4095. this.worksStudent[q][w][i].push({
  4096. userid: b[j].userid,
  4097. wid: b[j].id,
  4098. works: b[j].content,
  4099. sName: b[j].name,
  4100. type: 2,
  4101. time: b[j].time,
  4102. likesCount: likesCount,
  4103. commentCount: commentCount,
  4104. isLikes: isLikes,
  4105. commentJson: commentJson,
  4106. });
  4107. }
  4108. }
  4109. }
  4110. this.isWorksS[q][w][i].push({
  4111. uid: b[j].userid,
  4112. sName: b[j].name,
  4113. });
  4114. }
  4115. }
  4116. }
  4117. if (
  4118. this.worksStudent[q][w][i] &&
  4119. this.worksStudent[q][w][i].length
  4120. ) {
  4121. this.worksStudent[q][w][i] = this.worksStudent[q][w][i].sort(
  4122. function (a, b) {
  4123. return b.likesCount - a.likesCount;
  4124. }
  4125. );
  4126. }
  4127. }
  4128. }
  4129. for (var q = 0; q < a.length; q++) {
  4130. var d = a[q].chapterInfo[0].taskJson;
  4131. for (var w = 0; w < d.length; w++) {
  4132. var e = d[w].toolChoose;
  4133. for (var i = 0; i < e.length; i++) {
  4134. for (var j = 0; j < b.length; j++) {
  4135. var data = b[j];
  4136. if (i == b[j].tool) {
  4137. if (data.type == 2) {
  4138. for (var z = 0; z < this.checkJson[q][w][i].length; z++) {
  4139. this.checkJson[q][w][i][z].checkPerent = [];
  4140. for (
  4141. var k = 0;
  4142. k < this.checkJson[q][w][i][z].checkCount.length;
  4143. k++
  4144. ) {
  4145. this.checkJson[q][w][i][z].checkPerent.push(
  4146. Math.round(
  4147. (this.checkJson[q][w][i][z].checkCount[k] /
  4148. parseInt(this.worksStudent[q][w][i].length)) *
  4149. 100
  4150. )
  4151. );
  4152. }
  4153. }
  4154. }
  4155. }
  4156. }
  4157. }
  4158. }
  4159. }
  4160. this.selectWorksStudent();
  4161. })
  4162. .catch((err) => {
  4163. console.error(err);
  4164. });
  4165. },
  4166. async beforeUpload1(event, type, i) {
  4167. var file = event.target.files[0];
  4168. var credentials = {
  4169. accessKeyId: "AKIATLPEDU37QV5CHLMH",
  4170. secretAccessKey: "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",
  4171. }; //秘钥形式的登录上传
  4172. window.AWS.config.update(credentials);
  4173. window.AWS.config.region = "cn-northwest-1"; //设置区域
  4174. var bucket = new window.AWS.S3({ params: { Bucket: "ccrb" } }); //选择桶
  4175. var _this = this;
  4176. var b = [
  4177. "DOC",
  4178. "DOCX",
  4179. "DOCM",
  4180. "DOTM",
  4181. "DOTX",
  4182. "PPTX",
  4183. "PPSX",
  4184. "PPT",
  4185. "PPS",
  4186. "PPTM",
  4187. "POTM",
  4188. "PPAM",
  4189. "POTX",
  4190. "PPSM",
  4191. ];
  4192. var excelA = ["XLSX", "XLXB", "XLS", "XLSM"];
  4193. var photoA = [
  4194. "BMP",
  4195. "GIF",
  4196. "PNG",
  4197. "JPGE",
  4198. "JPG",
  4199. "TIF",
  4200. "PCX",
  4201. "TGA",
  4202. "EXIF",
  4203. "FPX",
  4204. "SVG",
  4205. "APNG",
  4206. ];
  4207. if (
  4208. b.indexOf(
  4209. file.name
  4210. .split(".")
  4211. [file.name.split(".").length - 1].toLocaleUpperCase()
  4212. ) != -1
  4213. ) {
  4214. if (file.size / 1024 / 1024 > 10) {
  4215. _this.$message({
  4216. message: "上传文件大于10兆,请重新选择文件!",
  4217. type: "success",
  4218. });
  4219. return;
  4220. }
  4221. } else if (
  4222. excelA.indexOf(
  4223. file.name
  4224. .split(".")
  4225. [file.name.split(".").length - 1].toLocaleUpperCase()
  4226. ) != "-1"
  4227. ) {
  4228. if (file.size / 1024 / 1024 > 5) {
  4229. _this.$message({
  4230. message: "上传文件大于5兆,请重新选择文件!",
  4231. type: "success",
  4232. });
  4233. return;
  4234. }
  4235. }
  4236. if (
  4237. photoA.indexOf(
  4238. file.name
  4239. .split(".")
  4240. [file.name.split(".").length - 1].toLocaleUpperCase()
  4241. ) != -1
  4242. ) {
  4243. // const blob = await imageConversion.compress(file, 0.8)
  4244. const blob = await imageConversion.compressAccurately(file, 32);
  4245. file = new File([blob], file.name, { type: file.type });
  4246. }
  4247. _this.progress = 0;
  4248. _this.proVisible = true;
  4249. if (file) {
  4250. var params = {
  4251. Key:
  4252. file.name.split(".")[0] +
  4253. new Date().getTime() +
  4254. "." +
  4255. file.name.split(".")[file.name.split(".").length - 1],
  4256. ContentType: file.type,
  4257. Body: file,
  4258. "Access-Control-Allow-Credentials": "*",
  4259. ACL: "public-read",
  4260. }; //key可以设置为桶的相抵路径,Body为文件, ACL最好要设置
  4261. var options = {
  4262. partSize: 1024 * 1024 * 1024,
  4263. queueSize: 2,
  4264. leavePartsOnError: true,
  4265. };
  4266. bucket
  4267. .upload(params, options)
  4268. .on("httpUploadProgress", function (evt) {
  4269. //这里可以写进度条
  4270. // console.log("Uploaded : " + parseInt((evt.loaded * 80) / evt.total) + '%');
  4271. _this.progress = parseInt((evt.loaded * 80) / evt.total);
  4272. })
  4273. .send(function (err, data) {
  4274. _this.progress = 100;
  4275. setTimeout(() => {
  4276. _this.proVisible = false;
  4277. }, 1000);
  4278. if (err) {
  4279. var a = _this.$refs.upload1.uploadFiles;
  4280. a.splice(a.length - 1, a.length);
  4281. _this.$message.error("上传失败");
  4282. } else {
  4283. if (type == 1) {
  4284. _this.studyJuri[0].cover.push({
  4285. name: file.name,
  4286. url: data.Location,
  4287. uid: file.uid,
  4288. });
  4289. var b = ["PDF", "DOC", "DOCX", "PPT", "PPTX", "XLSX", "XLS"];
  4290. var c = [
  4291. "AVI",
  4292. "NAVI",
  4293. "MPEG",
  4294. "ASF",
  4295. "MOV",
  4296. "WMV",
  4297. "3GP",
  4298. "RM",
  4299. "RMVB",
  4300. "FLV",
  4301. "F4V",
  4302. "H.264",
  4303. "H.265",
  4304. "REAL VIDEO",
  4305. "MKV",
  4306. "WebM",
  4307. "HDDVD",
  4308. "MP4",
  4309. "MPG",
  4310. "M4V",
  4311. "MGV",
  4312. "OGV",
  4313. "QTM",
  4314. "STR",
  4315. "AMC",
  4316. "DVX",
  4317. "EVO",
  4318. "DAT",
  4319. "OGG",
  4320. "OGM",
  4321. ];
  4322. if (
  4323. c.indexOf(
  4324. _this.studyJuri[0].cover[0].url
  4325. .split(".")
  4326. [
  4327. _this.studyJuri[0].cover[0].url.split(".").length - 1
  4328. ].toLocaleUpperCase()
  4329. ) != -1
  4330. ) {
  4331. _this.fileType = 2;
  4332. } else if (
  4333. b.indexOf(
  4334. _this.studyJuri[0].cover[0].url
  4335. .split(".")
  4336. [
  4337. _this.studyJuri[0].cover[0].url.split(".").length - 1
  4338. ].toLocaleUpperCase()
  4339. ) != -1
  4340. ) {
  4341. _this.fileType = 1;
  4342. } else {
  4343. _this.fileType = 0;
  4344. }
  4345. _this.imgChange(null, null, type);
  4346. } else if (type == 2) {
  4347. _this.upToolImg = data.Location;
  4348. _this.imgChange(null, null, type);
  4349. _this.addCourseWorks(i);
  4350. }
  4351. _this.imgChange(null, null, type);
  4352. console.log(data.Location);
  4353. }
  4354. });
  4355. }
  4356. },
  4357. beforeUpload2(event, type) {
  4358. var file = event.target.files[0];
  4359. var credentials = {
  4360. accessKeyId: "AKIATLPEDU37QV5CHLMH",
  4361. secretAccessKey: "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",
  4362. }; //秘钥形式的登录上传
  4363. window.AWS.config.update(credentials);
  4364. window.AWS.config.region = "cn-northwest-1"; //设置区域
  4365. var bucket = new window.AWS.S3({ params: { Bucket: "ccrb" } }); //选择桶
  4366. var _this = this;
  4367. _this.progress = 0;
  4368. _this.proVisible = true;
  4369. if (file) {
  4370. var params = {
  4371. Key:
  4372. file.name.split(".")[0] +
  4373. new Date().getTime() +
  4374. "." +
  4375. file.name.split(".")[file.name.split(".").length - 1],
  4376. ContentType: file.type,
  4377. Body: file,
  4378. "Access-Control-Allow-Credentials": "*",
  4379. ACL: "public-read",
  4380. }; //key可以设置为桶的相抵路径,Body为文件, ACL最好要设置
  4381. var options = {
  4382. partSize: 2048 * 1024 * 1024,
  4383. queueSize: 2,
  4384. leavePartsOnError: true,
  4385. };
  4386. bucket
  4387. .upload(params, options)
  4388. .on("httpUploadProgress", function (evt) {
  4389. //这里可以写进度条
  4390. // console.log("Uploaded : " + parseInt((evt.loaded * 80) / evt.total) + '%');
  4391. _this.progress = parseInt((evt.loaded * 80) / evt.total);
  4392. })
  4393. .send(function (err, data) {
  4394. _this.progress = 100;
  4395. setTimeout(() => {
  4396. _this.proVisible = false;
  4397. }, 1000);
  4398. if (err) {
  4399. var a = _this.$refs.upload1.uploadFiles;
  4400. a.splice(a.length - 1, a.length);
  4401. _this.$message.error("上传失败");
  4402. } else {
  4403. if (type == 2) {
  4404. _this.studyJuri[0].upVedio.push({
  4405. name: file.name,
  4406. url: data.Location,
  4407. uid: file.uid,
  4408. });
  4409. _this.imgChange(null, null, type);
  4410. } else if (type == 3) {
  4411. _this.studyJuri[0].upFile.push({
  4412. name: file.name,
  4413. url: data.Location,
  4414. uid: file.uid,
  4415. });
  4416. _this.imgChange(null, null, type);
  4417. }
  4418. console.log(data.Location);
  4419. }
  4420. });
  4421. }
  4422. },
  4423. allScrell() {
  4424. window.parent.postMessage({ allScreen: this.screenType }, "*");
  4425. },
  4426. nextOrpreSteps(t) {
  4427. // this.showType = 0;
  4428. var b = this.chapInfoList.length - 1;
  4429. if (t == 0) {
  4430. if (this.courseType == 0) {
  4431. if (this.taskCount == 0) {
  4432. this.navList[this.courseType].isOpen = false;
  4433. this.courseType = b;
  4434. this.taskCount =
  4435. this.chapInfoList[this.courseType].chapterInfo[0].taskJson
  4436. .length - 1;
  4437. this.navList[this.courseType].isOpen = true;
  4438. } else {
  4439. this.taskCount--;
  4440. }
  4441. } else {
  4442. if (this.taskCount == 0) {
  4443. this.navList[this.courseType].isOpen = false;
  4444. this.courseType--;
  4445. this.taskCount =
  4446. this.chapInfoList[this.courseType].chapterInfo[0].taskJson
  4447. .length - 1;
  4448. this.navList[this.courseType].isOpen = true;
  4449. } else {
  4450. this.taskCount--;
  4451. }
  4452. }
  4453. } else {
  4454. var b = this.chapInfoList.length - 1;
  4455. if (this.courseType == b) {
  4456. if (
  4457. this.taskCount ==
  4458. this.chapInfoList[this.courseType].chapterInfo[0].taskJson.length -
  4459. 1
  4460. ) {
  4461. this.navList[this.courseType].isOpen = false;
  4462. this.courseType = 0;
  4463. this.taskCount = 0;
  4464. this.navList[this.courseType].isOpen = true;
  4465. } else {
  4466. this.taskCount++;
  4467. }
  4468. } else {
  4469. if (
  4470. this.taskCount ==
  4471. this.chapInfoList[this.courseType].chapterInfo[0].taskJson.length -
  4472. 1
  4473. ) {
  4474. this.navList[this.courseType].isOpen = false;
  4475. this.courseType++;
  4476. this.taskCount = 0;
  4477. this.navList[this.courseType].isOpen = true;
  4478. } else {
  4479. this.taskCount++;
  4480. }
  4481. }
  4482. // if (
  4483. // this.taskCount ==
  4484. // this.chapInfo.chapterInfo[0].taskJson.length - 1
  4485. // ) {
  4486. // this.taskCount = this.chapInfo.chapterInfo[0].taskJson.length - 1;
  4487. // } else {
  4488. // this.taskCount++;
  4489. // }
  4490. }
  4491. this.navId = this.navList[this.courseType].task[this.taskCount].id;
  4492. if (this.vedio[this.taskCount].length > 0) {
  4493. var a =
  4494. document.getElementsByClassName("box_course")[this.taskCount]
  4495. .offsetHeight;
  4496. document.getElementsByClassName("vedioList")[
  4497. this.taskCount
  4498. ].style.height = a + "px";
  4499. document.getElementsByClassName("navBox")[this.taskCount].style.height =
  4500. a - 40 + "px";
  4501. }
  4502. this.isNoHomeWork = false;
  4503. (this.studyJuri = [
  4504. {
  4505. content: "",
  4506. cover: [],
  4507. upVedio: [],
  4508. upFile: [],
  4509. },
  4510. ]),
  4511. (this.radio = []);
  4512. this.getHomeWork();
  4513. this.getCourseDetail();
  4514. },
  4515. openTask(s, n, i) {
  4516. var a = s + "-" + n;
  4517. var b = document.getElementById(a);
  4518. document.documentElement.scrollTop = b.offsetTop;
  4519. this.courseType = s;
  4520. this.navId = i;
  4521. this.taskCount = n;
  4522. this.showType = [];
  4523. this.isNoHomeWork = false;
  4524. (this.studyJuri = [
  4525. {
  4526. content: "",
  4527. cover: [],
  4528. upVedio: [],
  4529. upFile: [],
  4530. },
  4531. ]),
  4532. (this.radio = []);
  4533. // setTimeout(() => {
  4534. // let a = document.getElementById(i);
  4535. // if (a.offsetTop - 110 == 0) {
  4536. // window.scrollTo(0, 0);
  4537. // } else {
  4538. // window.scrollTo(0, a.offsetTop);
  4539. // }
  4540. // }, 0);
  4541. this.getHomeWork();
  4542. this.getCourseDetail();
  4543. this.$forceUpdate();
  4544. },
  4545. get(i) {
  4546. this.navList[i].isOpen = !this.navList[i].isOpen;
  4547. },
  4548. addQuestion() {
  4549. this.answerList.push({
  4550. answerTitle: this.answerQ,
  4551. answer: this.questionAnswer,
  4552. });
  4553. let params = [
  4554. {
  4555. uid: this.userid,
  4556. cid: this.id,
  4557. stage: this.courseType,
  4558. task: this.taskCount,
  4559. tool: this.toolindex,
  4560. content: JSON.stringify(this.answerList),
  4561. type: 3,
  4562. },
  4563. ];
  4564. this.ajax
  4565. .post(this.$store.state.api + "addCourseWorks", params)
  4566. .then((res) => {
  4567. this.$message({
  4568. message: "提交成功",
  4569. type: "success",
  4570. });
  4571. this.answerList = [];
  4572. this.answerDialogVisible = false;
  4573. })
  4574. .catch((err) => {
  4575. this.$message.error("提交失败");
  4576. console.error(err);
  4577. });
  4578. },
  4579. getCourseDetail() {
  4580. const loading = this.$loading.service({
  4581. background: "rgba(255, 255, 255, 0.7)",
  4582. target: document.querySelector(".student_table"),
  4583. });
  4584. // this.navList[0].isOpen = false;
  4585. // this.navList[this.courseType].isOpen = true;
  4586. // this.courseType = this.courseTypeLine;
  4587. // this.navId = this.navList[this.courseType].task[this.taskCount].id;
  4588. let params = {
  4589. courseId: this.id,
  4590. };
  4591. this.ajax
  4592. .get(this.$store.state.api + "selectCourseDetail", params)
  4593. .then((res) => {
  4594. loading.close();
  4595. // var a = JSON.parse(res.data[0][0].chapters)[this.courseType]
  4596. // .chapterInfo[0].taskJson;
  4597. var a = JSON.parse(res.data[0][0].chapters);
  4598. var b = [
  4599. "AVI",
  4600. "NAVI",
  4601. "MPEG",
  4602. "ASF",
  4603. "MOV",
  4604. "WMV",
  4605. "3GP",
  4606. "RM",
  4607. "RMVB",
  4608. "FLV",
  4609. "F4V",
  4610. "H.264",
  4611. "H.265",
  4612. "REAL VIDEO",
  4613. "MKV",
  4614. "WebM",
  4615. "HDDVD",
  4616. "MP4",
  4617. "MPG",
  4618. "M4V",
  4619. "MGV",
  4620. "OGV",
  4621. "QTM",
  4622. "STR",
  4623. "AMC",
  4624. "DVX",
  4625. "EVO",
  4626. "DAT",
  4627. "OGG",
  4628. "OGM",
  4629. ];
  4630. for (var i = 0; i < a.length; i++) {
  4631. var c = a[i].chapterInfo[0].taskJson;
  4632. this.vedio[i] = [];
  4633. this.textList[i] = [];
  4634. this.lineList[i] = [];
  4635. this.chapToolList[i] = [];
  4636. this.file[i] = [];
  4637. this.playerO[i] = [];
  4638. this.isClickNavOne[i] = [];
  4639. for (var j = 0; j < c.length; j++) {
  4640. var d = c[j].chapterData;
  4641. this.vedio[i][j] = [];
  4642. this.textList[i][j] = [];
  4643. this.lineList[i][j] = [];
  4644. this.chapToolList[i][j] = [];
  4645. this.file[i][j] = [];
  4646. this.isClickNavOne[i][j] = [];
  4647. for (var z = 0; z < d.length; z++) {
  4648. if (d[z].type == 7) {
  4649. this.chapToolList[i][j].push(d[z]);
  4650. } else if (d[z].type == 8) {
  4651. this.lineList[i][j].push(d[z]);
  4652. } else if (d[z].type == 6) {
  4653. this.textList[i][j].push(d[z]);
  4654. } else {
  4655. if (
  4656. b.indexOf(
  4657. d[z].url
  4658. .split(".")
  4659. [d[z].url.split(".").length - 1].toLocaleUpperCase()
  4660. ) != -1
  4661. ) {
  4662. this.vedio[i][j].push(d[z]);
  4663. } else {
  4664. this.file[i][j].push(d[z]);
  4665. }
  4666. }
  4667. }
  4668. var e = JSON.parse(JSON.stringify(this.playerOptions));
  4669. e.sources[0].src =
  4670. this.vedio[i][j].length > 0 ? this.vedio[i][j][0].url : this.mr;
  4671. this.playerO[i][j] = e;
  4672. }
  4673. }
  4674. this.courseDetail = res.data[0][0];
  4675. this.evalua = res.data[0][0].evaId;
  4676. this.chapInfo = JSON.parse(this.courseDetail.chapters)[
  4677. this.courseType
  4678. ];
  4679. this.chapInfoList = JSON.parse(this.courseDetail.chapters);
  4680. if (this.navList.length == 0) {
  4681. this.navList = [];
  4682. for (var l = 0; l < this.chapInfoList.length; l++) {
  4683. var q = this.chapInfoList[l].dyName;
  4684. var w = this.chapInfoList[l].chapterInfo[0].taskJson;
  4685. var e;
  4686. this.navList.push({
  4687. dyName: q,
  4688. isOpen: l === 0 ? true : false,
  4689. task: [],
  4690. });
  4691. for (var r = 0; r < w.length; r++) {
  4692. e = w[r].task;
  4693. this.navList[l].task.push({ taskName: e, id: l + "-" + r });
  4694. this.navId = this.navId ? this.navId : l + "-" + r;
  4695. }
  4696. }
  4697. }
  4698. this.navList[0].isOpen = false;
  4699. this.navList[this.courseType].isOpen = true;
  4700. this.navId = this.navList[this.courseType].task[this.taskCount].id;
  4701. for (var l = 0; l < this.chapInfoList.length; l++) {
  4702. var w = this.chapInfoList[l].chapterInfo[0].taskJson;
  4703. for (var m = 0; m < w.length; m++) {
  4704. w[m].id = l + "-" + m;
  4705. }
  4706. }
  4707. for (var i = 0; i < a.length; i++) {
  4708. this.showType[i] = [];
  4709. this.pptImgUrl1[i] = [];
  4710. var f = a[i].chapterInfo[0].taskJson;
  4711. for (var j = 0; j < f.length; j++) {
  4712. this.showType[i][j] = 0;
  4713. if (!this.vedio[i][j][0] || this.vedio[i][j][0].url == "") {
  4714. if (f[j].chapterData.length > 0) {
  4715. let _url = f[j].chapterData[0].url;
  4716. // if (f[j].chapterData[0].type != 8) {
  4717. if (f[j].chapterData[0].type == 8) {
  4718. this.showType[i][j] = 2;
  4719. if (
  4720. _url.indexOf("https://") == -1 &&
  4721. _url.indexOf("http://") == -1
  4722. ) {
  4723. _url = "https://" + _url;
  4724. }
  4725. this.pptImgUrl1[i][j] = _url;
  4726. this.isClickNavOne[i][j][0] = "line0";
  4727. } else if (f[j].chapterData[0].type == 3) {
  4728. if (
  4729. _url
  4730. .split(".")
  4731. [_url.split(".").length - 1].toLocaleUpperCase() ==
  4732. "PDF"
  4733. ) {
  4734. this.showType[i][j] = 3;
  4735. this.pptImgUrl1[i][j] = _url;
  4736. this.isClickNavOne[i][j][0] = "word0";
  4737. } else if (
  4738. this.isAssetTypeAnImage(
  4739. _url
  4740. .split(".")
  4741. [_url.split(".").length - 1].toLocaleLowerCase()
  4742. )
  4743. ) {
  4744. this.showType[i][j] = 4;
  4745. this.pptImgUrl1[i][j] = _url;
  4746. this.isClickNavOne[i][j][0] = "word0";
  4747. } else {
  4748. this.showType[i][j] = 2;
  4749. this.pptImgUrl1[i][j] =
  4750. "https://view.officeapps.live.com/op/view.aspx?src=" +
  4751. _url;
  4752. this.isClickNavOne[i][j][0] = "word0";
  4753. }
  4754. } else if (f[j].chapterData[0].type == 6) {
  4755. this.showType[i][j] = 1;
  4756. this.text = this.textList[i][j][0];
  4757. this.isClickNavOne[i][j][0] = "text0";
  4758. }
  4759. // }
  4760. // else {
  4761. // for (var y = 0; y < f[j].chapterData.length; y++) {
  4762. // if (f[j].chapterData[y].type != 8) {
  4763. // if (f[j].chapterData[y].type == 3) {
  4764. // let _url = f[j].chapterData[y].url;
  4765. // if (
  4766. // _url
  4767. // .split(".")
  4768. // [
  4769. // _url.split(".").length - 1
  4770. // ].toLocaleUpperCase() == "PDF"
  4771. // ) {
  4772. // this.showType[i][j] = 3;
  4773. // this.pptImgUrl1[i][j] = _url;
  4774. // this.isClickNavOne[i][j][0] = "word0";
  4775. // } else if (
  4776. // this.isAssetTypeAnImage(
  4777. // _url
  4778. // .split(".")
  4779. // [_url.split(".").length - 1].toLocaleLowerCase()
  4780. // )
  4781. // ) {
  4782. // this.showType[i][j] = 4;
  4783. // this.pptImgUrl1[i][j] = _url;
  4784. // this.isClickNavOne[i][j][0] = "word0";
  4785. // } else {
  4786. // this.showType[i][j] = 2;
  4787. // this.pptImgUrl1[i][j] =
  4788. // "https://view.officeapps.live.com/op/view.aspx?src=" +
  4789. // _url;
  4790. // this.isClickNavOne[i][j][0] = "word0";
  4791. // }
  4792. // } else if (f[j].chapterData[y].type == 6) {
  4793. // this.showType[i][j] = 1;
  4794. // this.text = this.textList[i][j][0];
  4795. // this.isClickNavOne[i][j][0] = "text0";
  4796. // }
  4797. // }
  4798. // }
  4799. // }
  4800. }
  4801. } else {
  4802. this.isClickNavOne[i][j][0] = "video0";
  4803. }
  4804. }
  4805. }
  4806. setTimeout(() => {
  4807. this.checkEva();
  4808. }, 500);
  4809. this.selectStudent();
  4810. this.selectSWorks();
  4811. let _this = this;
  4812. _this.timer = setInterval(function () {
  4813. _this.selectSWorks();
  4814. _this.selectStudent();
  4815. _this.selectSLook();
  4816. }, 5000);
  4817. _this.$nextTick(function () {
  4818. setTimeout(() => {
  4819. let _box = document.getElementsByClassName("box_course");
  4820. for (var i = 0; i < _box.length; i++) {
  4821. var a =
  4822. document.getElementsByClassName("box_course")[i].offsetHeight;
  4823. document.getElementsByClassName("vedioList")[i].style.height =
  4824. a + "px";
  4825. document.getElementsByClassName("navBox")[i].style.height =
  4826. a - 40 + "px";
  4827. }
  4828. let _vedio = _this.vedio;
  4829. let _count = 0;
  4830. _this.vedioTime = [];
  4831. for (var i = 0; i < _vedio.length; i++) {
  4832. if (typeof _this.vedioTime != "object") {
  4833. _this.vedioTime = [];
  4834. }
  4835. for (var j = 0; j < _vedio[i].length; j++) {
  4836. if (!_this.vedioTime[i]) {
  4837. _this.vedioTime[i] = [];
  4838. }
  4839. for (var k = 0; k < _vedio[i][j].length; k++) {
  4840. if (!_this.vedioTime[i][j]) {
  4841. _this.vedioTime[i][j] = [];
  4842. }
  4843. if (_vedio[i][j][k]) {
  4844. _this.vedioTime[i][j].push(
  4845. document.getElementsByClassName("vjs-duration-display")[
  4846. _count
  4847. ].textContent
  4848. );
  4849. _count++;
  4850. }
  4851. }
  4852. }
  4853. }
  4854. }, 500);
  4855. });
  4856. // if (_this.vedio[_this.taskCount].length > 0) {
  4857. // _this.vedioTime = document.getElementsByClassName(
  4858. // "vjs-duration-display"
  4859. // )[0].textContent;
  4860. // }
  4861. })
  4862. .catch((err) => {
  4863. loading.close();
  4864. console.error(err);
  4865. });
  4866. },
  4867. getHomeWork() {
  4868. let params = {
  4869. cid: this.id,
  4870. stage: this.courseType,
  4871. task: this.taskCount,
  4872. uid: this.userid,
  4873. };
  4874. this.ajax
  4875. .get(this.$store.state.api + "selectWork", params)
  4876. .then((res) => {
  4877. if (res.data[0].length > 0) {
  4878. this.studyJuri = JSON.parse(res.data[0][0].content);
  4879. this.isNoHomeWork = true;
  4880. }
  4881. })
  4882. .catch((err) => {
  4883. console.error(err);
  4884. });
  4885. },
  4886. isAssetTypeAnImage(ext) {
  4887. return (
  4888. [
  4889. "png",
  4890. "jpg",
  4891. "jpeg",
  4892. "bmp",
  4893. "gif",
  4894. "webp",
  4895. "psd",
  4896. "svg",
  4897. "tiff",
  4898. ].indexOf(ext) !== -1
  4899. );
  4900. },
  4901. // switchVideo(media) {
  4902. // this.playerO = {};
  4903. // this.playerOptions.poster = "";
  4904. // this.playerOptions.sources[0].src = media;
  4905. // this.playerO = this.playerOptions;
  4906. // },
  4907. // onPlayerPlay() {},
  4908. lookVedio(u, i, j, v) {
  4909. this.isClickNavOne[i][j] = [];
  4910. var e = JSON.parse(JSON.stringify(this.playerOptions));
  4911. e.sources[0].src = u;
  4912. this.playerO[i][j] = e;
  4913. this.showType[i][j] = 0;
  4914. this.isClickNavOne[i][j][v] = "video" + v;
  4915. },
  4916. lookText(i, j, t) {
  4917. this.isClickNavOne[i][j] = [];
  4918. // this.textList[i][j][t] = this.textList[i][j][t];
  4919. // this.dialogVisible1 = true;
  4920. this.showType[i][j] = 1;
  4921. this.isClickNavOne[i][j][t] = "text" + t;
  4922. },
  4923. lookTools(i, t) {
  4924. this.chapTools = this.chapToolList[i][t];
  4925. this.dialogVisible2 = true;
  4926. },
  4927. openFile(f) {
  4928. this.pptImgUrl = "";
  4929. var a = ["PPT", "PPTX", "XLSX", "XLS", "DOC", "DOCX"];
  4930. if (
  4931. a.indexOf(f.split(".")[f.split(".").length - 1].toLocaleUpperCase()) !=
  4932. -1
  4933. ) {
  4934. this.pptImgUrl =
  4935. "https://view.officeapps.live.com/op/view.aspx?src=" + f;
  4936. this.showPDF = false;
  4937. this.dialogVisible3 = true;
  4938. } else if (
  4939. f.split(".")[f.split(".").length - 1].toLocaleUpperCase() == "PDF"
  4940. ) {
  4941. this.pptImgUrl = f;
  4942. this.showPDF = true;
  4943. this.dialogVisible3 = true;
  4944. }
  4945. },
  4946. doUrl(j, k, url, i) {
  4947. this.isClickNavOne[j][k] = [];
  4948. this.pptImgUrl1[j][k] = [];
  4949. this.showType[j][k] = 2;
  4950. if (url.indexOf("https://") == -1 && url.indexOf("http://") == -1) {
  4951. url = "https://" + url;
  4952. }
  4953. this.pptImgUrl1[j][k] = url;
  4954. this.isClickNavOne[j][k][i] = "line" + i;
  4955. },
  4956. downFile(f, i, j, k) {
  4957. this.isClickNavOne[j][k] = [];
  4958. this.pptImgUrl1[j][k] = [];
  4959. var a = ["PPT", "PPTX", "XLSX", "XLS", "DOC", "DOCX"]; //"PDF",
  4960. if (
  4961. a.indexOf(
  4962. f.url.split(".")[f.url.split(".").length - 1].toLocaleUpperCase()
  4963. ) != -1
  4964. ) {
  4965. this.pptImgUrl1[j][k] =
  4966. "https://view.officeapps.live.com/op/view.aspx?src=" + f.url;
  4967. // this.dialogVisible3 = true;
  4968. this.showType[j][k] = 2;
  4969. } else if (
  4970. this.isAssetTypeAnImage(
  4971. f.url.split(".")[f.url.split(".").length - 1].toLocaleLowerCase()
  4972. )
  4973. ) {
  4974. this.showType[j][k] = 4;
  4975. this.pptImgUrl1[j][k] = f.url;
  4976. } else if (
  4977. f.url.split(".")[f.url.split(".").length - 1].toLocaleUpperCase() ==
  4978. "PDF"
  4979. ) {
  4980. this.pptImgUrl1[j][k] = f.url;
  4981. // this.dialogVisible3 = true;
  4982. this.showType[j][k] = 3;
  4983. } else {
  4984. window.open(this.file[i].url);
  4985. }
  4986. this.isClickNavOne[j][k][i] = "word" + i;
  4987. },
  4988. downFileList(i) {
  4989. window.open(this.noImgList[i].url);
  4990. },
  4991. openAddWork() {
  4992. this.dialogVisible = true;
  4993. },
  4994. addBzWorks() {
  4995. let params = [
  4996. {
  4997. uid: this.userid,
  4998. cid: this.id,
  4999. stage: this.courseType,
  5000. task: this.taskCount,
  5001. tool: this.toolindex,
  5002. content: JSON.stringify(this.eScore),
  5003. type: 6,
  5004. },
  5005. ];
  5006. this.ajax
  5007. .post(this.$store.state.api + "addCourseWorks", params)
  5008. .then((res) => {
  5009. this.$message({
  5010. message: "提交成功",
  5011. type: "success",
  5012. });
  5013. this.bzText = "";
  5014. this.studentEvalDialogVisible = false;
  5015. this.selectSWorks();
  5016. })
  5017. .catch((err) => {
  5018. this.$message.error("提交失败");
  5019. console.error(err);
  5020. });
  5021. },
  5022. addStudentAsk() {
  5023. this.askList.push({ askJson: this.askJson, anwer: this.radio.join(",") });
  5024. let params = [
  5025. {
  5026. uid: this.userid,
  5027. cid: this.id,
  5028. stage: this.courseType,
  5029. task: this.taskCount,
  5030. tool: this.toolindex,
  5031. content: JSON.stringify(this.askList).replace(/%/g, "%25"),
  5032. type: 2,
  5033. },
  5034. ];
  5035. this.ajax
  5036. .post(this.$store.state.api + "addCourseWorks", params)
  5037. .then((res) => {
  5038. this.$message({
  5039. message: "提交成功",
  5040. type: "success",
  5041. });
  5042. this.askList = [];
  5043. this.dialogVisible5 = false;
  5044. })
  5045. .catch((err) => {
  5046. this.$message.error("提交失败");
  5047. console.error(err);
  5048. });
  5049. },
  5050. updateSLook() {
  5051. let params = {
  5052. sopen: this.sIsOpen == false ? 1 : 2,
  5053. cid: this.id,
  5054. };
  5055. this.ajax
  5056. .get(this.$store.state.api + "updateCourseSLook", params)
  5057. .then((res) => {
  5058. if (this.sIsOpen == true) {
  5059. this.$message({
  5060. message: "权限设置成功",
  5061. type: "success",
  5062. });
  5063. } else {
  5064. this.$message({
  5065. message: "权限关闭成功",
  5066. type: "success",
  5067. });
  5068. }
  5069. })
  5070. .catch((err) => {
  5071. console.error(err);
  5072. });
  5073. },
  5074. addWork() {
  5075. if (this.studyJuri[0].content == "") {
  5076. this.$message.error("请将信息填写完整");
  5077. return;
  5078. } else if (this.studyJuri[0].cover.length == 0) {
  5079. this.$message.error("请将信息填写完整");
  5080. return;
  5081. } else if (this.studyJuri[0].upVedio.length == 0) {
  5082. this.$message.error("请将信息填写完整");
  5083. return;
  5084. }
  5085. if (this.isNoHomeWork) {
  5086. this.$confirm(
  5087. "您已经提交了该作业了,如果您再提交将覆盖上次提交的作业!",
  5088. "Notification",
  5089. {
  5090. confirmButtonText: "Confirm",
  5091. cancelButtonText: "Cancel",
  5092. type: "warning",
  5093. }
  5094. )
  5095. .then(() => {
  5096. let params = [
  5097. {
  5098. uid: this.userid,
  5099. cid: this.id,
  5100. stage: this.courseType,
  5101. task: this.taskCount,
  5102. content: JSON.stringify(this.studyJuri),
  5103. },
  5104. ];
  5105. this.ajax
  5106. .post(this.$store.state.api + "addWorks", params)
  5107. .then((res) => {
  5108. this.$message({
  5109. message: "提交成功",
  5110. type: "success",
  5111. });
  5112. this.isNoHomeWork = true;
  5113. this.dialogVisible = false;
  5114. })
  5115. .catch((err) => {
  5116. this.$message.error("提交失败");
  5117. console.error(err);
  5118. });
  5119. })
  5120. .catch(() => {});
  5121. } else {
  5122. let params = [
  5123. {
  5124. uid: this.userid,
  5125. cid: this.id,
  5126. stage: this.courseType,
  5127. task: this.taskCount,
  5128. content: JSON.stringify(this.studyJuri),
  5129. },
  5130. ];
  5131. this.ajax
  5132. .post(this.$store.state.api + "addWorks", params)
  5133. .then((res) => {
  5134. this.$message({
  5135. message: "提交成功",
  5136. type: "success",
  5137. });
  5138. this.isNoHomeWork = true;
  5139. this.dialogVisible = false;
  5140. })
  5141. .catch((err) => {
  5142. this.$message.error("提交失败");
  5143. console.error(err);
  5144. });
  5145. }
  5146. },
  5147. fastText(p, t) {
  5148. if (t == 1) {
  5149. this.commentText += p;
  5150. } else {
  5151. this.eScore.eBzText += p;
  5152. }
  5153. },
  5154. selectCount() {
  5155. let params = {
  5156. cid: this.id,
  5157. chid: this.courseType,
  5158. uid: this.userid,
  5159. };
  5160. this.ajax
  5161. .get(this.$store.state.api + "selectToolsCount", params)
  5162. .then((res) => {
  5163. for (var i = 0; i < res.data[0].length; i++) {
  5164. if (res.data[0][i].tools == 1) {
  5165. this.wbCount = res.data[0][i].count;
  5166. } else if (res.data[0][i].tools == 2) {
  5167. this.wordCount = res.data[0][i].count;
  5168. } else if (res.data[0][i].tools == 3) {
  5169. this.mindCount = res.data[0][i].count;
  5170. } else if (res.data[0][i].tools == 4) {
  5171. this.askCount = res.data[0][i].count;
  5172. } else if (res.data[0][i].tools == 6) {
  5173. this.noteCount = res.data[0][i].count;
  5174. } else if (res.data[0][i].tools == 7) {
  5175. this.mindNetWorkCount = res.data[0][i].count;
  5176. } else if (res.data[0][i].tools == 8) {
  5177. this.libraryCount = res.data[0][i].count;
  5178. } else if (res.data[0][i].tools == 16) {
  5179. this.workCount = res.data[0][i].count;
  5180. } else if (res.data[0][i].tools == 10) {
  5181. this.timeCount = res.data[0][i].count;
  5182. } else if (res.data[0][i].tools == 15) {
  5183. this.answerCount = res.data[0][i].count;
  5184. } else if (res.data[0][i].tools == 18) {
  5185. this.trainCount = res.data[0][i].count;
  5186. }
  5187. }
  5188. })
  5189. .catch((err) => {
  5190. console.error(err);
  5191. });
  5192. },
  5193. openTools(t, i, index, c, sName) {
  5194. var z = JSON.parse(c);
  5195. this.noteName = sName;
  5196. if (t == 4) {
  5197. this.radio = [];
  5198. this.isAnswer = false;
  5199. for (var i = 0; i < z.length; i++) {
  5200. let a = z[i];
  5201. let b = a.anwer.split(",");
  5202. let d = [];
  5203. for (var j = 0; j < b.length; j++) {
  5204. d.push(parseInt(b[j]));
  5205. }
  5206. this.radio = d;
  5207. this.askJson = a.askJson;
  5208. }
  5209. this.isAnswer = true;
  5210. this.dialogVisible5 = true;
  5211. }
  5212. // else if (t == 15) {
  5213. // this.answerQ = "";
  5214. // this.questionAnswer = "";
  5215. // this.answerQ = z[0].answerTitle;
  5216. // this.questionAnswer = z[0].answer;
  5217. // this.answerDialogVisible = true;
  5218. // }
  5219. },
  5220. addTools(t, i, jdIndex, index) {
  5221. var a = 0;
  5222. this.courseType = jdIndex;
  5223. this.taskCount = index;
  5224. this.toolindex = i;
  5225. if (t == 1) {
  5226. if (this.wbCount > 0) {
  5227. this.updateCount(this.wbCount, t, jdIndex);
  5228. } else {
  5229. this.wbCount++;
  5230. a = this.wbCount;
  5231. this.toolsCount(a, t, jdIndex);
  5232. }
  5233. // window.parent.postMessage(
  5234. // {
  5235. // tools: "1",
  5236. // cid: this.id,
  5237. // stage: this.courseType,
  5238. // task: this.taskCount,
  5239. // tool: i,
  5240. // },
  5241. // "*"
  5242. // );
  5243. } else if (t == 2) {
  5244. if (this.wordCount > 0) {
  5245. this.updateCount(this.wordCount, t, jdIndex);
  5246. } else {
  5247. this.wordCount++;
  5248. a = this.wordCount;
  5249. this.toolsCount(a, t, jdIndex);
  5250. }
  5251. window.parent.postMessage({ tools: "2" }, "*");
  5252. } else if (t == 3) {
  5253. if (this.mindCount > 0) {
  5254. this.updateCount(this.mindCount, t, jdIndex);
  5255. } else {
  5256. this.mindCount++;
  5257. a = this.mindCount;
  5258. this.toolsCount(a, t, jdIndex, jdIndex);
  5259. }
  5260. window.parent.postMessage(
  5261. {
  5262. tools: "3",
  5263. cid: this.id,
  5264. stage: this.courseType,
  5265. task: this.taskCount,
  5266. tool: i,
  5267. },
  5268. "*"
  5269. );
  5270. } else if (t == 4) {
  5271. this.radio = [];
  5272. this.noteName = "";
  5273. this.isAnswer = false;
  5274. if (this.askCount > 0) {
  5275. this.updateCount(this.askCount, t, jdIndex);
  5276. } else {
  5277. this.askCount++;
  5278. a = this.askCount;
  5279. this.toolsCount(a, t, jdIndex, jdIndex);
  5280. }
  5281. if (!this.dialogVisible2) {
  5282. this.askJson.askJson =
  5283. this.chapInfoList[jdIndex].chapterInfo[0].taskJson[
  5284. index
  5285. ].toolChoose[i].askJson;
  5286. this.askJson.askTitle =
  5287. this.chapInfoList[jdIndex].chapterInfo[0].taskJson[
  5288. index
  5289. ].toolChoose[i].askTitle;
  5290. this.askJson.askCount =
  5291. this.chapInfoList[jdIndex].chapterInfo[0].taskJson[
  5292. index
  5293. ].toolChoose[i].askCount;
  5294. } else {
  5295. this.askJson.askJson = this.chapTools.askJson.askJson;
  5296. this.askJson.askTitle = this.chapTools.askJson.askTitle;
  5297. this.askJson.askCount = this.chapTools.askJson.askCount;
  5298. }
  5299. this.dialogVisible5 = true;
  5300. // window.parent.postMessage({ tools: "4" }, "*");
  5301. } else if (t == 5) {
  5302. if (this.scoreCount > 0) {
  5303. this.updateCount(this.scoreCount, t, jdIndex);
  5304. } else {
  5305. this.scoreCount++;
  5306. a = this.scoreCount;
  5307. this.toolsCount(a, t, jdIndex);
  5308. }
  5309. this.dialogVisible4 = true;
  5310. // window.parent.postMessage({ tools: "5" }, "*");
  5311. } else if (t == 6) {
  5312. if (this.noteCount > 0) {
  5313. this.updateCount(this.noteCount, t, jdIndex);
  5314. } else {
  5315. this.noteCount++;
  5316. a = this.noteCount;
  5317. this.toolsCount(a, t, jdIndex);
  5318. }
  5319. window.parent.postMessage(
  5320. {
  5321. tools: "6",
  5322. cid: this.id,
  5323. stage: jdIndex,
  5324. task: this.taskCount,
  5325. tool: i,
  5326. },
  5327. "*"
  5328. );
  5329. } else if (t == 7) {
  5330. if (this.mindNetWorkCount > 0) {
  5331. this.updateCount(this.mindNetWorkCount, t, jdIndex);
  5332. } else {
  5333. this.mindNetWorkCount++;
  5334. a = this.mindNetWorkCount;
  5335. this.toolsCount(a, t, jdIndex);
  5336. }
  5337. window.parent.postMessage(
  5338. {
  5339. tools: "7",
  5340. cid: this.id,
  5341. stage: jdIndex,
  5342. task: this.taskCount,
  5343. tool: i,
  5344. },
  5345. "*"
  5346. );
  5347. } else if (t == 16) {
  5348. if (this.workCount > 0) {
  5349. this.updateCount(this.workCount, t, jdIndex);
  5350. } else {
  5351. this.workCount++;
  5352. a = this.workCount;
  5353. this.toolsCount(a, t, jdIndex);
  5354. }
  5355. this.dialogVisible = true;
  5356. } else if (t == 8) {
  5357. if (this.libraryCount > 0) {
  5358. this.updateCount(this.libraryCount, t, jdIndex);
  5359. } else {
  5360. this.libraryCount++;
  5361. a = this.libraryCount;
  5362. this.toolsCount(a, t, jdIndex);
  5363. }
  5364. window.parent.postMessage({ tools: "8" }, "*");
  5365. } else if (t == 17) {
  5366. if (this.libraryCount > 0) {
  5367. this.updateCount(this.libraryCount, t, jdIndex);
  5368. } else {
  5369. this.libraryCount++;
  5370. a = this.libraryCount;
  5371. this.toolsCount(a, t, jdIndex);
  5372. }
  5373. window.parent.postMessage({ tools: "17" }, "*");
  5374. } else if (t == 18) {
  5375. if (this.trainCount > 0) {
  5376. this.updateCount(this.trainCount, t, jdIndex);
  5377. } else {
  5378. this.trainCount++;
  5379. a = this.trainCount;
  5380. this.toolsCount(a, t, jdIndex);
  5381. }
  5382. window.parent.postMessage({ tools: "18" }, "*");
  5383. } else if (t == 10) {
  5384. if (this.timeCount > 0) {
  5385. this.updateCount(this.timeCount, t, jdIndex);
  5386. } else {
  5387. this.timeCount++;
  5388. a = this.timeCount;
  5389. this.toolsCount(a, t, jdIndex);
  5390. }
  5391. this.timeDialogVisible = true;
  5392. } else if (t == 15) {
  5393. this.answerQ = "";
  5394. this.questionAnswer = "";
  5395. if (this.answerCount > 0) {
  5396. this.updateCount(this.answerCount, t, jdIndex);
  5397. } else {
  5398. this.answerCount++;
  5399. a = this.answerCount;
  5400. this.toolsCount(a, t, jdIndex);
  5401. }
  5402. this.answerQ = this.chapInfoList[jdIndex].chapterInfo[0].taskJson[index]
  5403. .toolChoose[i].answerQ
  5404. ? this.chapInfoList[jdIndex].chapterInfo[0].taskJson[index]
  5405. .toolChoose[i].answerQ
  5406. : "";
  5407. this.answerDialogVisible = true;
  5408. } else if (t == 21) {
  5409. window.parent.postMessage({ tools: "21" }, "*");
  5410. } else if (t == 22) {
  5411. window.parent.postMessage({ tools: "22" }, "*");
  5412. } else if (t == 23) {
  5413. window.parent.postMessage({ tools: "23" }, "*");
  5414. } else if (t == 24) {
  5415. window.parent.postMessage({ tools: "24" }, "*");
  5416. } else if (t == 26) {
  5417. window.parent.postMessage(
  5418. {
  5419. tools: "26",
  5420. cid: this.id,
  5421. stage: jdIndex,
  5422. task: index,
  5423. tool: i,
  5424. },
  5425. "*"
  5426. );
  5427. } else if (t == 40) {
  5428. if (this.evalCount > 0) {
  5429. this.updateCount(this.evalCount, t, jdIndex);
  5430. } else {
  5431. this.evalCount++;
  5432. a = this.evalCount;
  5433. this.toolsCount(a, t, jdIndex);
  5434. }
  5435. if (this.worksStudent[jdIndex][index][i].length) {
  5436. for (
  5437. var k = 0;
  5438. k < this.worksStudent[jdIndex][index][i].length;
  5439. k++
  5440. ) {
  5441. if (this.userid == this.worksStudent[jdIndex][index][i][k].userid) {
  5442. this.eScore = JSON.parse(
  5443. this.worksStudent[jdIndex][index][i][k].works
  5444. );
  5445. this.rateJson =
  5446. this.chapInfoList[jdIndex].chapterInfo[0].taskJson[
  5447. index
  5448. ].toolChoose[i].rateJson;
  5449. break;
  5450. } else {
  5451. this.rateJson =
  5452. this.chapInfoList[jdIndex].chapterInfo[0].taskJson[
  5453. index
  5454. ].toolChoose[i].rateJson;
  5455. }
  5456. }
  5457. } else {
  5458. this.rateJson =
  5459. this.chapInfoList[jdIndex].chapterInfo[0].taskJson[
  5460. index
  5461. ].toolChoose[i].rateJson;
  5462. }
  5463. this.isStar = false;
  5464. this.studentEvalDialogVisible = true;
  5465. } else if (t == 41) {
  5466. this.selectJson = this.chapInfoList[jdIndex].chapterInfo[0].taskJson[
  5467. index
  5468. ].toolChoose[i].selectJson
  5469. ? JSON.parse(
  5470. JSON.stringify(
  5471. this.chapInfoList[jdIndex].chapterInfo[0].taskJson[index]
  5472. .toolChoose[i].selectJson
  5473. )
  5474. )
  5475. : { url: "", select: [], answer: [] };
  5476. if (this.worksStudent[jdIndex][index][i].length) {
  5477. for (
  5478. var k = 0;
  5479. k < this.worksStudent[jdIndex][index][i].length;
  5480. k++
  5481. ) {
  5482. if (this.userid == this.worksStudent[jdIndex][index][i][k].userid) {
  5483. var a = this.worksStudent[jdIndex][index][i][k].works.split(",");
  5484. for (var ki = 0; ki < a.length; ki++) {
  5485. a[ki] = parseInt(a[ki]);
  5486. }
  5487. this.selectAnswer = {
  5488. answer: a,
  5489. stu: this.worksStudent[jdIndex][index][i][k].sName,
  5490. };
  5491. break;
  5492. } else {
  5493. this.selectAnswer = { answer: [], stu: "" };
  5494. }
  5495. }
  5496. } else {
  5497. this.selectAnswer = { answer: [], stu: "" };
  5498. }
  5499. this.isSelect = false;
  5500. this.dialogVisibleSelect = true;
  5501. } else if (t == 44) {
  5502. window.parent.postMessage({ tools: "44" }, "*");
  5503. }
  5504. },
  5505. addSelectAnswer() {
  5506. let params = [
  5507. {
  5508. uid: this.userid,
  5509. cid: this.id,
  5510. stage: this.courseType,
  5511. task: this.taskCount,
  5512. tool: this.toolindex,
  5513. content: this.selectAnswer.answer,
  5514. type: 7,
  5515. },
  5516. ];
  5517. this.ajax
  5518. .post(this.$store.state.api + "addCourseWorks", params)
  5519. .then((res) => {
  5520. this.$message({
  5521. message: "提交成功",
  5522. type: "success",
  5523. });
  5524. // this.selectAnswer = [];
  5525. this.dialogVisibleSelect = false;
  5526. this.selectSWorks();
  5527. })
  5528. .catch((err) => {
  5529. this.$message.error("提交失败");
  5530. console.error(err);
  5531. });
  5532. },
  5533. openXz(w, jd, rw, toolindex) {
  5534. this.selectJson = this.chapInfoList[jd].chapterInfo[0].taskJson[rw]
  5535. .toolChoose[toolindex].selectJson
  5536. ? JSON.parse(
  5537. JSON.stringify(
  5538. this.chapInfoList[jd].chapterInfo[0].taskJson[rw].toolChoose[
  5539. toolindex
  5540. ].selectJson
  5541. )
  5542. )
  5543. : { url: "", select: [], answer: [] };
  5544. var a = w.works.split(",");
  5545. for (var k = 0; k < a.length; k++) {
  5546. a[k] = parseInt(a[k]);
  5547. }
  5548. this.selectAnswer = { answer: a, stu: w.sName };
  5549. this.isSelect = true;
  5550. this.dialogVisibleSelect = true;
  5551. },
  5552. openPj(w, jd, rw, toolindex) {
  5553. this.isStar = true;
  5554. this.eScore = JSON.parse(w);
  5555. this.rateJson =
  5556. this.chapInfoList[jd].chapterInfo[0].taskJson[rw].toolChoose[
  5557. toolindex
  5558. ].rateJson;
  5559. this.studentEvalDialogVisible = true;
  5560. },
  5561. toolsCount(a, t, jdIndex) {
  5562. let params = {
  5563. cid: this.id,
  5564. chid: jdIndex,
  5565. uid: this.userid,
  5566. tid: t,
  5567. count: a,
  5568. };
  5569. this.ajax
  5570. .get(this.$store.state.api + "insertToolsCount", params)
  5571. .then((res) => {
  5572. this.selectCount();
  5573. })
  5574. .catch((err) => {
  5575. console.error(err);
  5576. });
  5577. },
  5578. updateCount(c, t, jdIndex) {
  5579. c++;
  5580. let params = {
  5581. cid: this.id,
  5582. chid: jdIndex,
  5583. uid: this.userid,
  5584. tid: t,
  5585. count: c,
  5586. };
  5587. this.ajax
  5588. .get(this.$store.state.api + "updateToolsCount", params)
  5589. .then((res) => {
  5590. this.selectCount();
  5591. })
  5592. .catch((err) => {
  5593. console.error(err);
  5594. });
  5595. },
  5596. checkEva() {
  5597. if (this.evalua != "") {
  5598. for (var i = 0; i < this.evaJuri.length; i++) {
  5599. if (this.evalua == this.evaJuri[i].id) {
  5600. this.eTitle = this.evaJuri[i].title;
  5601. this.eJson = JSON.parse(this.evaJuri[i].content);
  5602. }
  5603. }
  5604. this.$forceUpdate();
  5605. setTimeout(() => {
  5606. this.setMindData();
  5607. }, 0);
  5608. }
  5609. },
  5610. selectEva() {
  5611. let params = {
  5612. oid: this.oid,
  5613. };
  5614. this.ajax
  5615. .get(this.$store.state.api + "selectAllEvaluation", params)
  5616. .then((res) => {
  5617. this.evaJuri = res.data[0];
  5618. })
  5619. .catch((err) => {
  5620. console.error(err);
  5621. });
  5622. },
  5623. selectSLook() {
  5624. let params = {
  5625. cid: this.id,
  5626. };
  5627. this.ajax
  5628. .get(this.$store.state.api + "selectCourseSLook", params)
  5629. .then((res) => {
  5630. this.sIsOpen = res.data[0][0].sopen == 1 ? false : true;
  5631. })
  5632. .catch((err) => {
  5633. console.error(err);
  5634. });
  5635. },
  5636. setMindData() {
  5637. this.data.data = [];
  5638. this.data.data.push({ id: "root", isroot: true, topic: this.eTitle });
  5639. let _eJson = Object.keys(this.eJson);
  5640. let _e = this.eJson;
  5641. for (let i = 0; i < _eJson.length; i++) {
  5642. let element = _e[_eJson[i]];
  5643. this.data.data.push({
  5644. id: element.id,
  5645. parentid: "root",
  5646. topic: element.name,
  5647. });
  5648. let _eJsonc = Object.keys(element.child);
  5649. let _e2 = element.child;
  5650. for (let j = 0; j < _eJsonc.length; j++) {
  5651. let _ec = _e2[_eJsonc[j]];
  5652. this.data.data.push({
  5653. id: _ec.id,
  5654. parentid: element.id,
  5655. topic: _ec.name,
  5656. });
  5657. let _eJsonz = Object.keys(_ec.child);
  5658. let _e3 = _ec.child;
  5659. for (let z = 0; z < _eJsonz.length; z++) {
  5660. let _ez = _e3[_eJsonz[z]];
  5661. this.data.data.push({
  5662. id: _ez.id,
  5663. parentid: _ec.id,
  5664. topic: _ez.name,
  5665. });
  5666. }
  5667. }
  5668. }
  5669. this.$forceUpdate();
  5670. },
  5671. checkFileFull(type, url) {
  5672. this.fullDialogVisible = true;
  5673. this.fulltype = type;
  5674. this.fullUrl = url;
  5675. },
  5676. },
  5677. destroyed() {
  5678. window.onresize = null;
  5679. },
  5680. computed: {
  5681. contentConvent() {
  5682. return function (c) {
  5683. return c
  5684. ? c
  5685. .replaceAll(/\r\n/g, "<br/>")
  5686. .replaceAll(/\n/g, "<br/>")
  5687. .replaceAll(/\s/g, " &nbsp")
  5688. : "";
  5689. };
  5690. },
  5691. },
  5692. created() {
  5693. if (this.screenType == 2) {
  5694. window.parent.postMessage({ allScreen: 4 }, "*");
  5695. } else if (this.screenType == 3) {
  5696. window.parent.postMessage({ allScreen: 5 }, "*");
  5697. } else if (this.screenType == 1) {
  5698. window.parent.postMessage({ allScreen: 6 }, "*");
  5699. }
  5700. this.selectEva();
  5701. this.getCourseDetail();
  5702. this.selectCount();
  5703. this.getHomeWork();
  5704. this.selectSLook();
  5705. document.scrollingElement.scrollTop = 0;
  5706. window.addEventListener("resize", () => {
  5707. var a = document.getElementsByClassName("box_course")[0].offsetHeight;
  5708. document.getElementsByClassName("vedioList")[0].style.height = a + "px";
  5709. document.getElementsByClassName("navBox")[0].style.height = a - 40 + "px";
  5710. });
  5711. let _this = this;
  5712. setTimeout(() => {
  5713. // this.vedioTime = document.getElementsByClassName(
  5714. // "vjs-duration-display"
  5715. // )[0].textContent;
  5716. let _vedio = _this.vedio;
  5717. let _count = 0;
  5718. for (var i = 0; i < _vedio.length; i++) {
  5719. if (typeof _this.vedioTime != "object") {
  5720. _this.vedioTime = [];
  5721. }
  5722. for (var j = 0; j < _vedio[i].length; j++) {
  5723. if (!_this.vedioTime[i]) {
  5724. _this.vedioTime[i] = [];
  5725. }
  5726. for (var k = 0; k < _vedio[i][j].length; k++) {
  5727. if (!_this.vedioTime[i][j]) {
  5728. _this.vedioTime[i][j] = [];
  5729. }
  5730. if (_vedio[i][j][k]) {
  5731. _this.vedioTime[i][j].push(
  5732. document.getElementsByClassName("vjs-duration-display")[_count]
  5733. .textContent
  5734. );
  5735. _count++;
  5736. }
  5737. }
  5738. }
  5739. }
  5740. }, 1000);
  5741. },
  5742. };
  5743. </script>
  5744. <style scoped>
  5745. @media screen and (max-width: 1280px) {
  5746. /* .navText {
  5747. width: 120px !important;
  5748. } */
  5749. /* .textBox {
  5750. margin: 0 !important;
  5751. } */
  5752. .evaCss {
  5753. flex-direction: column !important;
  5754. align-items: center !important;
  5755. }
  5756. .dialog_diy1 >>> .el-dialog {
  5757. width: 100% !important;
  5758. }
  5759. /* .courseIndex {
  5760. width: 43% !important;
  5761. } */
  5762. .courseIndex > div:first-child(2) {
  5763. width: 50px !important;
  5764. }
  5765. .dialog_diy3 >>> .el-dialog {
  5766. width: 95% !important;
  5767. }
  5768. .addDialogCss {
  5769. height: 60% !important;
  5770. }
  5771. /* .pb_left{
  5772. position: unset !important;
  5773. height: auto !important;
  5774. }
  5775. .body_student{
  5776. position: unset !important;
  5777. width:600px !important;
  5778. } */
  5779. /* .btnAll{
  5780. width: 55% !important;
  5781. } */
  5782. .taskBox {
  5783. width: 550px !important;
  5784. }
  5785. }
  5786. .dialog_diy >>> .el-dialog {
  5787. margin-top: 10vh !important;
  5788. }
  5789. .body_student {
  5790. width: 77%;
  5791. height: 100%;
  5792. position: absolute;
  5793. left: 20.5%;
  5794. top: 0;
  5795. }
  5796. .student_head {
  5797. width: 100%;
  5798. margin: 0 auto;
  5799. padding-bottom: 50px;
  5800. display: flex;
  5801. flex-direction: column;
  5802. flex-wrap: nowrap;
  5803. align-items: flex-start;
  5804. justify-content: flex-start;
  5805. }
  5806. .pb_left {
  5807. width: 20%;
  5808. margin-right: 10px;
  5809. background: rgb(255, 255, 255);
  5810. padding-right: 10px;
  5811. position: fixed;
  5812. height: 100%;
  5813. }
  5814. .wheel > img,
  5815. .project > img,
  5816. .star > img,
  5817. .evaluate > img,
  5818. .up_photo > img,
  5819. .chapter_add > img,
  5820. .upCover > img,
  5821. .deleteWord > img,
  5822. .question > img,
  5823. .homework > img {
  5824. width: 100%;
  5825. height: 100%;
  5826. }
  5827. .upCover {
  5828. width: calc(100% / 3.5);
  5829. position: relative;
  5830. margin: 0 15px 10px 0;
  5831. display: flex;
  5832. flex-direction: column;
  5833. flex-wrap: nowrap;
  5834. justify-content: center;
  5835. align-content: center;
  5836. align-items: center;
  5837. }
  5838. .chapter_add {
  5839. width: 120px;
  5840. position: relative;
  5841. text-align: center;
  5842. }
  5843. .isAddThings {
  5844. margin-top: 20px;
  5845. position: relative;
  5846. text-align: center;
  5847. background: #f7f8fa;
  5848. height: 90px;
  5849. width: 90px;
  5850. display: flex;
  5851. flex-direction: column;
  5852. justify-content: center;
  5853. }
  5854. .deleteWord {
  5855. width: 22px;
  5856. height: 22px;
  5857. position: absolute;
  5858. right: -5px;
  5859. top: -5px;
  5860. cursor: pointer;
  5861. }
  5862. .box_course {
  5863. /* width: 60%; */
  5864. width: 81%;
  5865. }
  5866. .wheel {
  5867. width: 100%;
  5868. height: 100%;
  5869. }
  5870. .right_box {
  5871. display: flex;
  5872. flex-direction: column;
  5873. margin-left: 30px;
  5874. justify-content: space-around;
  5875. }
  5876. .right_box_title {
  5877. font-size: 23px;
  5878. }
  5879. .people {
  5880. display: flex;
  5881. }
  5882. .student_body {
  5883. width: 100%;
  5884. margin: 0 auto;
  5885. margin-top: 10px;
  5886. padding: 0 0 20px;
  5887. }
  5888. .study_top {
  5889. /* margin-top: 90px; */
  5890. width: 95%;
  5891. /* overflow: auto; */
  5892. height: auto;
  5893. margin: 0 auto;
  5894. }
  5895. .study_top .checkbox {
  5896. display: flex;
  5897. align-items: center;
  5898. padding: 15px 0 15px 30px;
  5899. flex: 0 0 auto;
  5900. font-weight: bold;
  5901. border-bottom: 1px solid #eee;
  5902. }
  5903. .study_top .check {
  5904. padding-bottom: 5px;
  5905. text-align: center;
  5906. cursor: pointer;
  5907. height: 30px;
  5908. box-sizing: border-box;
  5909. display: flex;
  5910. }
  5911. .study_top .checked {
  5912. border-bottom: 4px solid #3fc6a0;
  5913. padding-bottom: 5px;
  5914. color: #3fc6a0;
  5915. display: flex;
  5916. height: 35px;
  5917. }
  5918. .study_top .checked > div,
  5919. .study_top .check > div {
  5920. margin-right: 5px;
  5921. }
  5922. .videoTop {
  5923. display: flex;
  5924. flex-direction: row;
  5925. justify-content: space-between;
  5926. background: #fff;
  5927. align-items: center;
  5928. width: 95%;
  5929. padding: 20px;
  5930. }
  5931. .upbtn {
  5932. margin: 25px;
  5933. background: #70afdb;
  5934. color: #fff;
  5935. width: 120px;
  5936. text-align: center;
  5937. height: 30px;
  5938. line-height: 30px;
  5939. font-size: 13px;
  5940. border-radius: 5px;
  5941. cursor: pointer;
  5942. }
  5943. .filebox {
  5944. display: flex;
  5945. flex-wrap: wrap;
  5946. flex-direction: column;
  5947. padding: 15px 0 5px;
  5948. }
  5949. .filebox .tooldetail {
  5950. width: 95%;
  5951. background: rgb(247, 247, 247);
  5952. padding: 20px;
  5953. line-height: 30px;
  5954. word-break: break-word;
  5955. }
  5956. .file {
  5957. display: flex;
  5958. flex-direction: column;
  5959. align-items: center;
  5960. justify-content: center;
  5961. cursor: pointer;
  5962. width: 200px;
  5963. }
  5964. .file div {
  5965. margin-top: 10px;
  5966. width: 150px;
  5967. text-align: center;
  5968. overflow: hidden;
  5969. white-space: nowrap;
  5970. text-overflow: ellipsis;
  5971. }
  5972. .media {
  5973. display: flex;
  5974. flex-direction: column;
  5975. align-items: center;
  5976. justify-content: center;
  5977. margin: 0 20px 20px 0;
  5978. cursor: pointer;
  5979. margin: 12px 0 5px 15px;
  5980. overflow: hidden;
  5981. box-shadow: 0px 1px 3px 0px rgb(0 0 0 / 20%), 0px 1px 1px 0px rgb(0 0 0 / 14%),
  5982. 0px 2px 1px -1px rgb(0 0 0 / 12%);
  5983. box-sizing: border-box;
  5984. }
  5985. .media img {
  5986. height: 90px;
  5987. width: 160px;
  5988. object-fit: cover;
  5989. }
  5990. .media .title {
  5991. padding: 5px;
  5992. text-align: left;
  5993. width: 100%;
  5994. box-sizing: border-box;
  5995. }
  5996. .media .btn {
  5997. width: 100%;
  5998. height: 35px;
  5999. line-height: 35px;
  6000. color: #fff;
  6001. background: #606060;
  6002. text-align: center;
  6003. overflow: hidden;
  6004. white-space: nowrap;
  6005. text-overflow: ellipsis;
  6006. }
  6007. .detail_content_top {
  6008. width: 100%;
  6009. padding: 25px 0 25px 0;
  6010. }
  6011. .detail_title {
  6012. text-align: center;
  6013. font-size: 24px;
  6014. }
  6015. .detail_time {
  6016. font-size: 13px;
  6017. padding: 15px 0 0 40px;
  6018. }
  6019. .detail_content {
  6020. line-height: 2pc;
  6021. width: 90%;
  6022. margin: 0 auto;
  6023. padding-top: 30px;
  6024. text-indent: 30px;
  6025. overflow: auto;
  6026. height: 200px;
  6027. }
  6028. .score_box >>> .el-rate {
  6029. margin-left: 10px;
  6030. }
  6031. .dialog_change >>> .el-dialog {
  6032. border-radius: 5px;
  6033. }
  6034. .dialog_change >>> .el-dialog__header {
  6035. background: #f2f2f2;
  6036. text-align: center;
  6037. }
  6038. .dialog_change >>> .el-dialog__title {
  6039. line-height: 5px;
  6040. }
  6041. .dialog_change >>> .el-dialog__body {
  6042. background: #fff;
  6043. padding: 10px 20px;
  6044. }
  6045. .score_box {
  6046. display: flex;
  6047. align-items: center;
  6048. margin-bottom: 18px;
  6049. margin-top: 20px;
  6050. }
  6051. .up_photo {
  6052. width: 120px;
  6053. cursor: pointer;
  6054. margin-top: 10px;
  6055. }
  6056. .upload_send {
  6057. margin: 30px auto 30px;
  6058. width: 60%;
  6059. background: #169bd6;
  6060. text-align: center;
  6061. height: 35px;
  6062. line-height: 35px;
  6063. color: #fff;
  6064. border-radius: 5px;
  6065. cursor: pointer;
  6066. }
  6067. .marginT {
  6068. margin-top: 20px;
  6069. }
  6070. .cd_content_steps {
  6071. display: flex;
  6072. width: 90%;
  6073. justify-content: space-around;
  6074. border-top: 1px solid #eeeeee;
  6075. }
  6076. .cd_steps_box {
  6077. display: flex;
  6078. justify-content: center;
  6079. align-items: center;
  6080. flex-direction: column;
  6081. cursor: pointer;
  6082. }
  6083. .first {
  6084. display: flex;
  6085. align-items: center;
  6086. margin: 15px 0 20px 0;
  6087. font-size: 20px;
  6088. }
  6089. .first > div:nth-child(2) {
  6090. font-size: 16px !important;
  6091. padding-left: 10px;
  6092. line-height: 26px;
  6093. box-sizing: border-box;
  6094. }
  6095. .blue_box_one {
  6096. text-align: center;
  6097. color: #fff;
  6098. background-image: linear-gradient(90deg, #477cd7, #65b9fc);
  6099. border-radius: 7px;
  6100. margin: 10px;
  6101. cursor: pointer;
  6102. height: 45px;
  6103. display: flex;
  6104. flex-direction: row;
  6105. justify-content: flex-start;
  6106. align-items: center;
  6107. }
  6108. .blue_box_one > div:nth-child(1) {
  6109. line-height: 30px;
  6110. margin: 0 5px 0 10px;
  6111. width: 30%;
  6112. min-width: 70px;
  6113. border-radius: 4px;
  6114. }
  6115. .blue_box_one > div:nth-child(2) {
  6116. white-space: nowrap;
  6117. text-overflow: ellipsis;
  6118. overflow: hidden;
  6119. word-break: break-all;
  6120. width: 70%;
  6121. text-align: left;
  6122. margin-right: 10px;
  6123. max-width: calc(100% - 85px);
  6124. }
  6125. .blue_box_one > div:nth-child(2):hover {
  6126. overflow: hidden;
  6127. text-overflow: ellipsis;
  6128. white-space: nowrap;
  6129. cursor: pointer;
  6130. }
  6131. .upFile {
  6132. margin: 0 auto;
  6133. width: 120px;
  6134. background: #70afdb;
  6135. color: #fff;
  6136. height: 30px;
  6137. text-align: center;
  6138. line-height: 30px;
  6139. border-radius: 5px;
  6140. font-size: 14px;
  6141. cursor: pointer;
  6142. }
  6143. .courseTitle {
  6144. background: #205cc6;
  6145. width: 85%;
  6146. margin: 10px auto;
  6147. height: 50px;
  6148. color: #fff;
  6149. line-height: 50px;
  6150. text-align: center;
  6151. font-size: 20px;
  6152. font-weight: bold;
  6153. border-radius: 5px;
  6154. cursor: pointer;
  6155. white-space: nowrap;
  6156. overflow: hidden;
  6157. text-overflow: ellipsis;
  6158. padding: 0 10px;
  6159. }
  6160. .ml {
  6161. margin-left: 20px;
  6162. color: #5b7dba;
  6163. border-left: 3px solid #5b7dba;
  6164. padding-left: 5px;
  6165. font-weight: bold;
  6166. }
  6167. .return {
  6168. width: 2rem;
  6169. height: 2rem;
  6170. cursor: pointer;
  6171. }
  6172. .return > img {
  6173. width: 100%;
  6174. height: 100%;
  6175. }
  6176. .returnBtn {
  6177. background: #499eef;
  6178. width: 65px;
  6179. height: 30px;
  6180. color: #fff;
  6181. text-align: center;
  6182. line-height: 32px;
  6183. margin-right: 20px;
  6184. cursor: pointer;
  6185. border-radius: 5px;
  6186. font-size: 14px;
  6187. }
  6188. .tool {
  6189. display: flex;
  6190. flex-direction: column;
  6191. flex-wrap: nowrap;
  6192. width: 13%;
  6193. margin: 0 30px;
  6194. align-items: center;
  6195. }
  6196. .whiteBIcon {
  6197. width: 150px;
  6198. cursor: pointer;
  6199. }
  6200. .whiteBIcon > img {
  6201. width: 100%;
  6202. height: 100%;
  6203. }
  6204. .mask {
  6205. background-color: rgba(0, 0, 0, 0);
  6206. position: fixed;
  6207. top: 0;
  6208. left: 0;
  6209. width: 100%;
  6210. height: 100%;
  6211. z-index: 20000;
  6212. display: flex;
  6213. align-items: center;
  6214. justify-content: center;
  6215. }
  6216. .progressBox {
  6217. width: 500px;
  6218. height: 180px;
  6219. background: #fff;
  6220. border-radius: 10px;
  6221. box-shadow: 0 0 6px 1px #bfbfbf;
  6222. display: flex;
  6223. align-items: center;
  6224. justify-content: center;
  6225. flex-direction: column;
  6226. }
  6227. .progressBox .lbox {
  6228. height: 100px;
  6229. font-size: 19px;
  6230. display: flex;
  6231. align-items: center;
  6232. }
  6233. .progressBox .lbox img {
  6234. width: 40px;
  6235. margin-right: 20px;
  6236. }
  6237. .progressBox >>> .el-progress-bar__outer {
  6238. background-color: #d1dfff !important;
  6239. }
  6240. .progressBox .lbox {
  6241. height: 100px;
  6242. font-size: 19px;
  6243. display: flex;
  6244. align-items: center;
  6245. }
  6246. .progressBox .lbox img {
  6247. width: 40px;
  6248. margin-right: 20px;
  6249. }
  6250. .uploadVedio {
  6251. display: flex;
  6252. flex-direction: column;
  6253. flex-wrap: nowrap;
  6254. justify-content: center;
  6255. align-items: center;
  6256. margin: 0 15px 10px 0;
  6257. }
  6258. .uploadVedio > img {
  6259. width: 30px;
  6260. height: 30px;
  6261. }
  6262. .uploadVedio > span {
  6263. white-space: nowrap;
  6264. overflow: hidden;
  6265. text-overflow: ellipsis;
  6266. width: 75px;
  6267. margin-top: 7px;
  6268. }
  6269. .picName {
  6270. white-space: nowrap;
  6271. overflow: hidden;
  6272. text-overflow: ellipsis;
  6273. width: 75px;
  6274. margin-top: 7px;
  6275. }
  6276. .new_top {
  6277. display: flex;
  6278. background: #fff;
  6279. flex-direction: row;
  6280. justify-content: flex-start;
  6281. align-items: center;
  6282. height: 60px;
  6283. position: relative;
  6284. }
  6285. .before {
  6286. position: absolute;
  6287. background: #c3dad4;
  6288. width: 6px;
  6289. height: 100%;
  6290. }
  6291. .courseIndex {
  6292. display: flex;
  6293. flex-direction: row;
  6294. align-items: center;
  6295. }
  6296. .courseIndex > div:nth-child(1) {
  6297. margin: 0 20px;
  6298. padding-left: 5px;
  6299. font-size: 21px;
  6300. width: 100px;
  6301. font-weight: bold;
  6302. border-left: 4px solid #3363b9;
  6303. height: 35px;
  6304. text-align: center;
  6305. line-height: 35px;
  6306. }
  6307. .courseIndex > div:nth-child(2) {
  6308. font-size: 21px;
  6309. width: 300px;
  6310. white-space: nowrap;
  6311. overflow: hidden;
  6312. text-overflow: ellipsis;
  6313. }
  6314. .courseIndex > div:nth-child(3) {
  6315. border-bottom: 1px solid #d7d7d7;
  6316. padding-bottom: 5px;
  6317. background: #49a0f0;
  6318. width: 55px;
  6319. min-width: 55px;
  6320. border-radius: 5px;
  6321. color: #fff;
  6322. text-align: center;
  6323. height: 20px;
  6324. line-height: 26px;
  6325. font-size: 14px;
  6326. margin: 0 0 0 10px;
  6327. }
  6328. .course_text {
  6329. padding: 20px 0 0 15px;
  6330. text-indent: 30px;
  6331. width: 80%;
  6332. min-height: 20px;
  6333. }
  6334. .vedioList {
  6335. background: #f2f2f2;
  6336. border: 1px solid #ececec;
  6337. /* width: 38.8%; */
  6338. width: calc(100% - 83%);
  6339. height: 445px;
  6340. border-radius: 10px;
  6341. overflow: hidden;
  6342. }
  6343. .vedioNav {
  6344. margin: 10px 0 0 15px;
  6345. border-bottom: 1px solid #d7d7d7;
  6346. padding-bottom: 5px;
  6347. background: #96d1ff;
  6348. width: 55px;
  6349. min-width: 55px;
  6350. border-radius: 5px;
  6351. color: #fff;
  6352. text-align: center;
  6353. height: 20px;
  6354. line-height: 26px;
  6355. font-size: 14px;
  6356. }
  6357. .queTop {
  6358. display: flex;
  6359. padding: 20px 0 20px 30px;
  6360. width: 100%;
  6361. flex-direction: row;
  6362. justify-content: flex-start;
  6363. align-items: center;
  6364. border-bottom: 1px solid #eeeeee;
  6365. box-sizing: border-box;
  6366. }
  6367. .question {
  6368. width: 40px;
  6369. margin-right: 10px;
  6370. margin-top: 7px;
  6371. }
  6372. .queTitle {
  6373. margin-left: 5px;
  6374. font-size: 25px;
  6375. display: flex;
  6376. align-items: center;
  6377. }
  6378. .addEditor {
  6379. width: 100px;
  6380. height: 30px;
  6381. background: #42cda6;
  6382. color: #fff;
  6383. border-radius: 5px;
  6384. text-align: center;
  6385. line-height: 30px;
  6386. box-shadow: 1px 3px 6px 1px #bfbfbf;
  6387. cursor: pointer;
  6388. }
  6389. .vedioName {
  6390. text-overflow: ellipsis;
  6391. /* position: absolute; */
  6392. top: 8px;
  6393. font-size: 14px;
  6394. /* left: 110px; */
  6395. /* height: 60px; */
  6396. overflow: hidden;
  6397. width: 100%;
  6398. word-break: break-all;
  6399. white-space: nowrap;
  6400. }
  6401. .vedioTime {
  6402. width: 35px;
  6403. position: absolute;
  6404. color: #fff;
  6405. bottom: 0px;
  6406. right: 0px;
  6407. text-align: center;
  6408. background: #46411f;
  6409. height: 20px;
  6410. font-size: 14px;
  6411. line-height: 20px;
  6412. }
  6413. .homework {
  6414. width: 200px;
  6415. display: flex;
  6416. flex-direction: column;
  6417. flex-wrap: nowrap;
  6418. align-items: center;
  6419. cursor: pointer;
  6420. }
  6421. .homebox {
  6422. display: flex;
  6423. flex-wrap: wrap;
  6424. flex-direction: row;
  6425. justify-content: flex-start;
  6426. align-items: center;
  6427. padding: 15px 0;
  6428. }
  6429. .isChooseActive {
  6430. color: #3e88f4;
  6431. border-bottom: 2px solid #2f80f3;
  6432. }
  6433. .chooseWho {
  6434. display: flex;
  6435. width: 100%;
  6436. flex-direction: row;
  6437. flex-wrap: nowrap;
  6438. justify-content: flex-start;
  6439. padding-bottom: 10px;
  6440. }
  6441. .chooseWho > div {
  6442. cursor: pointer;
  6443. padding-bottom: 10px;
  6444. margin: 0 30px;
  6445. }
  6446. .addPoint > div > img {
  6447. cursor: pointer;
  6448. margin: 10px 0;
  6449. width: 85px;
  6450. border-radius: 15px;
  6451. box-shadow: 0px 1px 8px 0px rgb(20 20 20 / 14%);
  6452. }
  6453. .addPoint {
  6454. width: 100%;
  6455. height: 100%;
  6456. }
  6457. .addPoint > div {
  6458. display: flex;
  6459. flex-direction: column;
  6460. flex-wrap: nowrap;
  6461. align-items: flex-start;
  6462. }
  6463. .isBorder > div {
  6464. margin: 0 0 10px 0;
  6465. align-items: flex-start !important;
  6466. }
  6467. .noiframeBox {
  6468. display: flex;
  6469. flex-wrap: wrap;
  6470. }
  6471. .iframeBox iframe {
  6472. width: 100%;
  6473. height: 800px;
  6474. border: none;
  6475. margin-bottom: 20px;
  6476. border: 1px solid #ccc;
  6477. }
  6478. .upload_toolBtn {
  6479. background: #6b92c9;
  6480. color: #fff;
  6481. width: 110px;
  6482. text-align: center;
  6483. height: 35px;
  6484. line-height: 35px;
  6485. font-size: 14px;
  6486. border-radius: 5px;
  6487. cursor: pointer;
  6488. position: absolute;
  6489. right: 10px;
  6490. bottom: 0;
  6491. }
  6492. .binfo_input,
  6493. .pj {
  6494. font: inherit;
  6495. color: currentColor;
  6496. width: 100%;
  6497. margin: 0;
  6498. padding: 15px 14px;
  6499. display: block;
  6500. min-width: 0;
  6501. outline: none;
  6502. box-sizing: content-box;
  6503. background: none;
  6504. -webkit-tap-highlight-color: transparent;
  6505. border: 1px solid rgba(0, 0, 0, 0.23);
  6506. border-radius: 4px;
  6507. box-sizing: border-box;
  6508. resize: none;
  6509. }
  6510. .binfo_input:focus-visible {
  6511. border: 1px solid rgba(61, 103, 188);
  6512. }
  6513. .dialog_diy >>> .el-dialog__header,
  6514. .dialog_diy1 >>> .el-dialog__header {
  6515. background: #002e81 !important;
  6516. padding: 15px 20px;
  6517. }
  6518. .dialog_diy >>> .el-dialog__title,
  6519. .dialog_diy1 >>> .el-dialog__title {
  6520. color: #fff;
  6521. }
  6522. .dialog_diy >>> .el-dialog__headerbtn,
  6523. .dialog_diy1 >>> .el-dialog__headerbtn {
  6524. top: 19px;
  6525. }
  6526. .dialog_diy >>> .el-dialog__headerbtn .el-dialog__close,
  6527. .dialog_diy1 >>> .el-dialog__headerbtn .el-dialog__close {
  6528. color: #fff;
  6529. }
  6530. .dialog_diy >>> .el-dialog__headerbtn .el-dialog__close:hover,
  6531. .dialog_diy1 >>> .el-dialog__headerbtn .el-dialog__close:hover {
  6532. color: #fff;
  6533. }
  6534. .dialog_diy1 >>> .el-dialog__body {
  6535. padding: 0;
  6536. }
  6537. .dialog_diy >>> .el-dialog__body,
  6538. .dialog_diy >>> .el-dialog__footer,
  6539. .dialog_diy1 >>> .el-dialog__footer {
  6540. background: #fafafa;
  6541. }
  6542. .a_addBox {
  6543. margin: 10px 0;
  6544. background: #fff;
  6545. padding: 15px;
  6546. max-height: 400px;
  6547. overflow: auto;
  6548. }
  6549. .a_add_box {
  6550. border-bottom: 2px solid #eee;
  6551. padding-bottom: 10px;
  6552. }
  6553. .a_add_head {
  6554. display: flex;
  6555. align-items: flex-start;
  6556. /* justify-content: space-between; */
  6557. flex-direction: column;
  6558. margin: 10px 0;
  6559. font-size: 18px;
  6560. width: 100%;
  6561. }
  6562. .a_add_head .a_add_head_input {
  6563. width: 300px;
  6564. }
  6565. .a_add_head .a_add_head_div {
  6566. display: flex;
  6567. align-items: center;
  6568. justify-content: space-between;
  6569. }
  6570. .a_add_body {
  6571. display: flex;
  6572. align-items: center;
  6573. }
  6574. .a_add_input {
  6575. display: flex;
  6576. align-items: center;
  6577. flex-wrap: wrap;
  6578. }
  6579. .a_add_input >>> el-radio-group {
  6580. margin: 10px 0;
  6581. }
  6582. .a_add_input >>> .el-radio {
  6583. margin-bottom: 10px;
  6584. }
  6585. .redioStyle >>> .el-radio__label {
  6586. font-size: 18px;
  6587. }
  6588. .toolHeng2 {
  6589. width: 100%;
  6590. }
  6591. .toolHeng {
  6592. display: flex;
  6593. flex-direction: row;
  6594. flex-wrap: wrap;
  6595. justify-content: flex-start;
  6596. align-items: center;
  6597. width: 100%;
  6598. }
  6599. .toolHeng > div {
  6600. padding-left: 20px;
  6601. }
  6602. .isWidth {
  6603. width: 20%;
  6604. }
  6605. .textTitle {
  6606. display: flex;
  6607. flex-direction: row;
  6608. flex-wrap: nowrap;
  6609. align-items: center;
  6610. width: 95%;
  6611. }
  6612. .textTitle >>> .el-form-item__label {
  6613. font-size: 22px;
  6614. color: #918f8f;
  6615. width: 100px;
  6616. }
  6617. .textCss >>> .el-dialog {
  6618. width: 800px !important;
  6619. height: 400px;
  6620. background: #fafafa;
  6621. }
  6622. .textCss >>> .el-dialog__body {
  6623. margin: 55px 8% 0 8%;
  6624. padding: 0 !important;
  6625. }
  6626. .textCss >>> .el-dialog__footer {
  6627. padding-top: 38px;
  6628. }
  6629. .toolsCss >>> .el-dialog__body {
  6630. padding: 20px;
  6631. }
  6632. .lineCss >>> .el-dialog__body {
  6633. display: flex;
  6634. flex-direction: row;
  6635. align-items: center;
  6636. justify-content: center;
  6637. }
  6638. .newNav {
  6639. display: flex;
  6640. flex-direction: row;
  6641. align-items: baseline;
  6642. justify-content: flex-start;
  6643. }
  6644. .navText {
  6645. cursor: pointer;
  6646. margin: 0px 0px 10px 5px;
  6647. white-space: nowrap;
  6648. overflow: hidden;
  6649. text-overflow: ellipsis;
  6650. width: 100%;
  6651. }
  6652. .noVedio {
  6653. display: flex;
  6654. flex-direction: row;
  6655. justify-content: center;
  6656. align-content: center;
  6657. }
  6658. .noNavText {
  6659. cursor: pointer;
  6660. margin: 0px 0px 10px 5px;
  6661. width: 112px;
  6662. }
  6663. .listNoVedio {
  6664. margin: 0 0 0 30px;
  6665. width: 97%;
  6666. }
  6667. .video-player >>> .video-js {
  6668. height: 100%;
  6669. }
  6670. .hangVedioList {
  6671. width: 90% !important;
  6672. height: 150px !important;
  6673. margin: 20px 0 0 30px;
  6674. }
  6675. .hangVedio {
  6676. width: 100%;
  6677. height: 170px !important;
  6678. align-items: flex-start !important;
  6679. }
  6680. .hangHand {
  6681. height: 150px !important;
  6682. }
  6683. .twoChild {
  6684. margin: 10px;
  6685. border-radius: 5px;
  6686. background: #f2f2f2;
  6687. display: flex;
  6688. flex-direction: column;
  6689. flex-wrap: nowrap;
  6690. justify-content: flex-start;
  6691. align-items: flex-start;
  6692. transition: all 0.5s;
  6693. overflow: hidden;
  6694. height: 0;
  6695. background: #e7f3ff;
  6696. }
  6697. .twoChild > div:nth-child(1) {
  6698. margin-top: 5px;
  6699. }
  6700. .navChild {
  6701. width: 100%;
  6702. cursor: pointer;
  6703. margin-bottom: 10px;
  6704. }
  6705. .navActive {
  6706. height: auto;
  6707. }
  6708. .navTask {
  6709. display: flex;
  6710. flex-direction: row;
  6711. flex-wrap: nowrap;
  6712. align-items: center;
  6713. align-content: flex-start;
  6714. height: 40px;
  6715. justify-content: flex-start;
  6716. padding: 0 10px;
  6717. width: 100%;
  6718. box-sizing: border-box;
  6719. }
  6720. .navTaskname {
  6721. white-space: nowrap;
  6722. text-overflow: ellipsis;
  6723. overflow: hidden;
  6724. word-break: break-all;
  6725. padding-left: 5px;
  6726. }
  6727. .openTaskActive {
  6728. color: #4386e6 !important;
  6729. }
  6730. .iframeName {
  6731. margin: 5px 0;
  6732. border-left: 4px solid #41c4a4;
  6733. padding-left: 4px;
  6734. width: 100%;
  6735. }
  6736. .iframeCss {
  6737. width: 100%;
  6738. height: 600px;
  6739. border: 1px solid #d7d4d4;
  6740. }
  6741. .toolTitle {
  6742. margin: 0px 0px 20px;
  6743. font-size: 20px;
  6744. font-weight: 500;
  6745. border-left: 4px solid #41c4a4;
  6746. padding-left: 4px;
  6747. }
  6748. .cru_selectBox {
  6749. overflow: auto;
  6750. width: 96%;
  6751. margin: 0 auto;
  6752. height: calc(100% - 40px - 21px - 20px);
  6753. }
  6754. .cru_selectBox::-webkit-scrollbar,
  6755. .study_top::-webkit-scrollbar,
  6756. .textContent::-webkit-scrollbar {
  6757. /*滚动条整体样式*/
  6758. width: 6px;
  6759. /*高宽分别对应横竖滚动条的尺寸*/
  6760. height: 6px;
  6761. }
  6762. /*定义滚动条轨道 内阴影+圆角*/
  6763. .cru_selectBox::-webkit-scrollbar-track,
  6764. .study_top::-webkit-scrollbar-track,
  6765. .textContent::-webkit-scrollbar {
  6766. border-radius: 10px;
  6767. background-color: #b8bdc9;
  6768. }
  6769. /*定义滑块 内阴影+圆角*/
  6770. .cru_selectBox::-webkit-scrollbar-thumb,
  6771. .study_top::-webkit-scrollbar-thumb,
  6772. .textContent::-webkit-scrollbar-thumb {
  6773. border-radius: 10px;
  6774. -webkit-box-shadow: inset 0 0 6px rgb(96, 125, 184);
  6775. background-color: #2c5ab3;
  6776. }
  6777. .vedioBox {
  6778. border-radius: 20px;
  6779. background: #fff;
  6780. margin-bottom: 10px;
  6781. }
  6782. .taskBox {
  6783. margin: 15px 0 20px 30px;
  6784. background: #f7f7f7;
  6785. width: 97%;
  6786. border-radius: 10px;
  6787. }
  6788. .vedioTaskBox {
  6789. width: 100%;
  6790. display: flex;
  6791. flex-direction: row;
  6792. flex-wrap: nowrap;
  6793. align-items: center;
  6794. }
  6795. .toolBox {
  6796. padding: 20px 0 0 0;
  6797. }
  6798. .btnAll {
  6799. position: absolute;
  6800. right: 0;
  6801. display: flex;
  6802. flex-direction: row;
  6803. flex-wrap: nowrap;
  6804. align-items: center;
  6805. }
  6806. .vedioTimeBox {
  6807. display: flex;
  6808. flex-direction: row;
  6809. align-items: center;
  6810. flex-wrap: nowrap;
  6811. position: relative;
  6812. }
  6813. .navBox {
  6814. background: rgb(255, 255, 255);
  6815. height: 400px;
  6816. padding: 5px 1px 0 1px;
  6817. overflow: auto;
  6818. }
  6819. .worksBox {
  6820. padding: 5px 0 0 10px;
  6821. border-bottom: 1px solid #eeeeee;
  6822. }
  6823. .worksBTitle {
  6824. font-size: 20px;
  6825. padding-bottom: 15px;
  6826. border-bottom: 1px solid #eeeeee;
  6827. display: flex;
  6828. align-items: center;
  6829. }
  6830. .greenBox {
  6831. width: 5px;
  6832. height: 30px;
  6833. background: #63b6fa;
  6834. margin-right: 5px;
  6835. }
  6836. .worksDetailBox {
  6837. display: flex;
  6838. width: 100%;
  6839. flex-direction: row;
  6840. flex-wrap: wrap;
  6841. align-items: center;
  6842. justify-content: flex-start;
  6843. padding-top: 15px;
  6844. }
  6845. .works {
  6846. display: flex;
  6847. flex-direction: column;
  6848. flex-wrap: nowrap;
  6849. align-items: flex-start;
  6850. justify-content: flex-start;
  6851. align-content: center;
  6852. width: 240px;
  6853. height: 140px;
  6854. margin-right: 10px;
  6855. overflow: hidden;
  6856. box-shadow: 0 0 6px 1px #dfdada;
  6857. border-radius: 15px;
  6858. }
  6859. .workImg {
  6860. width: 100%;
  6861. height: 105px;
  6862. }
  6863. .workImg > img {
  6864. width: 100%;
  6865. height: 100%;
  6866. }
  6867. .worksName {
  6868. height: 40px;
  6869. line-height: 40px;
  6870. display: flex;
  6871. width: 92%;
  6872. flex-direction: row;
  6873. flex-wrap: nowrap;
  6874. justify-content: space-between;
  6875. align-items: center;
  6876. margin: 0 10px;
  6877. }
  6878. .worksName > div:nth-child(1) {
  6879. width: 48px;
  6880. white-space: nowrap;
  6881. overflow: hidden;
  6882. text-overflow: ellipsis;
  6883. }
  6884. .worksName > div:nth-child(2) {
  6885. color: #b7b4b5;
  6886. }
  6887. .noWorksS {
  6888. padding: 15px 0;
  6889. display: flex;
  6890. flex-direction: row;
  6891. flex-wrap: wrap;
  6892. align-items: center;
  6893. justify-content: flex-start;
  6894. }
  6895. .isWorksName {
  6896. cursor: pointer;
  6897. background: #46a1eb !important;
  6898. }
  6899. .noWorksName,
  6900. .isWorksName {
  6901. background: #7cbcf1;
  6902. color: #fff;
  6903. width: 90px;
  6904. height: 25px;
  6905. text-align: center;
  6906. line-height: 25px;
  6907. border-radius: 5px;
  6908. margin: 10px 15px 10px 0;
  6909. white-space: nowrap;
  6910. overflow: hidden;
  6911. padding: 5px;
  6912. text-overflow: ellipsis;
  6913. }
  6914. .noWorksName:hover {
  6915. background: #46a1eb !important;
  6916. }
  6917. .title {
  6918. background: #1e5cc9;
  6919. width: 98%;
  6920. height: 45px;
  6921. color: #fff;
  6922. line-height: 45px;
  6923. padding-left: 20px;
  6924. }
  6925. .textBox {
  6926. font-size: 20px;
  6927. margin: 15px 0px 20px 30px;
  6928. width: 90%;
  6929. padding: 30px 0 0 50px;
  6930. }
  6931. .textContent {
  6932. font-size: 18px;
  6933. padding: 30px 0px 0px;
  6934. height: 450px;
  6935. width: 95%;
  6936. overflow: auto;
  6937. line-height: 30px;
  6938. }
  6939. .textContent >>> p {
  6940. text-indent: 0pt !important;
  6941. }
  6942. .answerBg {
  6943. background: url("../assets/icon/answerBgNew.png") no-repeat;
  6944. background-size: 100% 100%;
  6945. width: 100%;
  6946. height: 100%;
  6947. color: #fff;
  6948. text-align: center;
  6949. display: flex;
  6950. flex-direction: column;
  6951. flex-wrap: nowrap;
  6952. align-items: center;
  6953. }
  6954. .answerBg > div:nth-child(1) {
  6955. font-size: 22px;
  6956. padding: 25px 0 10px;
  6957. }
  6958. .answerContent {
  6959. width: 215px;
  6960. height: 60px;
  6961. word-break: break-all;
  6962. text-align: center;
  6963. white-space: nowrap;
  6964. overflow: hidden;
  6965. text-overflow: ellipsis;
  6966. }
  6967. .elist_input_box {
  6968. display: flex;
  6969. align-items: flex-start;
  6970. flex-wrap: nowrap;
  6971. padding: 10px 0 15px 30px;
  6972. flex-direction: column;
  6973. }
  6974. .elist_input {
  6975. width: 100%;
  6976. }
  6977. .elist_input .elist_input_box input {
  6978. font: inherit;
  6979. color: currentColor;
  6980. width: 200px;
  6981. padding: 8px 14px;
  6982. display: block;
  6983. min-width: 0;
  6984. outline: none;
  6985. border: 1px solid rgba(0, 0, 0, 0.23);
  6986. border-radius: 4px;
  6987. box-sizing: border-box;
  6988. background: #fff;
  6989. margin: 0 20px 0 0;
  6990. }
  6991. .elist_input .elist_input_box span {
  6992. height: 36px;
  6993. line-height: 36px;
  6994. color: rgb(82, 82, 82);
  6995. }
  6996. .elist_input .elist_input_box .remove {
  6997. height: 20px;
  6998. width: 20px;
  6999. background-size: 100% 100%;
  7000. background-position: unset;
  7001. margin-left: 5px;
  7002. }
  7003. .elist_input_box >>> .el-rate {
  7004. display: flex;
  7005. height: 36px;
  7006. align-items: center;
  7007. }
  7008. .elist_input_box .elist_inptu_text {
  7009. min-height: 50px;
  7010. /* width: 500px;
  7011. max-height: 150px; */
  7012. width: 100%;
  7013. line-height: 50px;
  7014. color: rgb(82, 82, 82);
  7015. overflow: auto;
  7016. text-indent: 5px;
  7017. background: #f7f6f9;
  7018. border-radius: 10px;
  7019. }
  7020. .elist_input_box .elist_inptu_text input {
  7021. width: 500px;
  7022. }
  7023. .elist_input_box >>> .el-rate__icon {
  7024. font-size: 24px;
  7025. }
  7026. .isClick {
  7027. background: #4d9def;
  7028. }
  7029. .bzBox {
  7030. display: flex;
  7031. flex-direction: row;
  7032. align-items: center;
  7033. }
  7034. .bzBox > div:nth-child(1) {
  7035. width: 4px;
  7036. height: 40px;
  7037. background-image: linear-gradient(180deg, #2c5cbd, #a1cff4);
  7038. }
  7039. .bzBox > div:nth-child(2) {
  7040. font-size: 23px;
  7041. font-weight: bold;
  7042. padding: 0px 0px 0 10px;
  7043. }
  7044. .navTitile {
  7045. padding: 0 0px 0 15px;
  7046. background: #1e5cc9;
  7047. color: #fff;
  7048. height: 40px;
  7049. line-height: 40px;
  7050. border-top-left-radius: 10px;
  7051. border-top-right-radius: 10px;
  7052. }
  7053. .isTypeOne {
  7054. width: 240px;
  7055. height: 170px;
  7056. /* border: 1px solid #f8f8f8; */
  7057. border-radius: 10px;
  7058. box-shadow: 0 0 6px 1px #dfdada;
  7059. }
  7060. .e_add_top {
  7061. display: flex;
  7062. justify-content: space-between;
  7063. padding: 20px 20px 0 20px;
  7064. border-radius: 3px;
  7065. background: #fff;
  7066. }
  7067. .e_add_title2 {
  7068. display: flex;
  7069. align-items: center;
  7070. }
  7071. .e_add_title2 span {
  7072. width: 40px;
  7073. }
  7074. .e_add_title {
  7075. display: flex;
  7076. align-items: center;
  7077. color: #b8b8b8;
  7078. font-size: 18px;
  7079. position: relative;
  7080. height: 40px;
  7081. }
  7082. .e_add_title span {
  7083. margin-right: 10px;
  7084. }
  7085. .e_add_title .el_input {
  7086. width: 300px;
  7087. }
  7088. .e_add_title >>> .el-input__inner {
  7089. width: 400px;
  7090. }
  7091. .e_add_btn {
  7092. }
  7093. .e_add_content {
  7094. display: flex;
  7095. width: 650px;
  7096. height: 550px;
  7097. }
  7098. .e_add_list {
  7099. background: #fff;
  7100. height: 500px;
  7101. width: 210px;
  7102. position: relative;
  7103. margin: 15px 5px 0 0;
  7104. flex-shrink: 0;
  7105. display: flex;
  7106. flex-direction: column;
  7107. }
  7108. .e_add_list_title {
  7109. font-size: 20px;
  7110. width: 100%;
  7111. box-sizing: border-box;
  7112. padding: 15px 40px;
  7113. text-align: center;
  7114. border-bottom: 1px solid #eaeaea;
  7115. position: relative;
  7116. display: flex;
  7117. align-items: center;
  7118. justify-content: center;
  7119. height: 57px;
  7120. background: #f6f6f6;
  7121. }
  7122. .e_add_list_title span {
  7123. overflow: hidden;
  7124. white-space: nowrap;
  7125. text-overflow: ellipsis;
  7126. }
  7127. .e_add_list_title img {
  7128. position: absolute;
  7129. right: 15px;
  7130. width: 25px;
  7131. cursor: pointer;
  7132. top: 50%;
  7133. transform: translateY(-50%);
  7134. }
  7135. .e_add_list_body {
  7136. height: calc(100% - 187px);
  7137. overflow: auto;
  7138. }
  7139. .e_add_list_child {
  7140. width: 100%;
  7141. display: flex;
  7142. align-items: center;
  7143. justify-content: center;
  7144. position: relative;
  7145. box-sizing: border-box;
  7146. padding: 15px 40px;
  7147. text-align: center;
  7148. }
  7149. .e_add_list_child span {
  7150. overflow: hidden;
  7151. white-space: nowrap;
  7152. text-overflow: ellipsis;
  7153. cursor: pointer;
  7154. }
  7155. .e_add_list_child img {
  7156. position: absolute;
  7157. right: 10px;
  7158. width: 21px;
  7159. cursor: pointer;
  7160. top: 50%;
  7161. transform: translateY(-50%);
  7162. }
  7163. .e_add_list_child + .e_add_list_child {
  7164. border-top: 1px solid #eaeaea;
  7165. }
  7166. .e_add_list_child .active {
  7167. color: #409eff;
  7168. }
  7169. .e_add_list_btn {
  7170. position: absolute;
  7171. bottom: 0;
  7172. height: 50px;
  7173. background: rgb(120, 120, 254);
  7174. width: 100%;
  7175. color: #fff;
  7176. font-size: 16px;
  7177. text-align: center;
  7178. line-height: 50px;
  7179. cursor: pointer;
  7180. }
  7181. .e_add_list_detail {
  7182. position: absolute;
  7183. bottom: 0;
  7184. height: 130px;
  7185. background: rgb(120, 120, 254);
  7186. width: 100%;
  7187. color: #fff;
  7188. font-size: 16px;
  7189. display: flex;
  7190. align-items: center;
  7191. justify-content: center;
  7192. }
  7193. .e_add_list_detail textarea {
  7194. height: 90%;
  7195. width: 95%;
  7196. border: none;
  7197. resize: none;
  7198. outline: none;
  7199. padding: 5px;
  7200. box-sizing: border-box;
  7201. }
  7202. .e_add_list_pbox {
  7203. width: 650px;
  7204. /* height: 600px; */
  7205. }
  7206. .e_add_list_pbox_title {
  7207. height: 50px;
  7208. background: #fff;
  7209. display: flex;
  7210. align-items: center;
  7211. width: 100%;
  7212. box-sizing: border-box;
  7213. padding: 0 20px;
  7214. }
  7215. .type_title {
  7216. font-size: 18px;
  7217. font-weight: 700;
  7218. }
  7219. .type_content {
  7220. font-size: 16px;
  7221. margin-left: 30px;
  7222. }
  7223. .type_content span + span {
  7224. margin-left: 20px;
  7225. }
  7226. .type_content span {
  7227. cursor: pointer;
  7228. padding-bottom: 5px;
  7229. box-sizing: border-box;
  7230. }
  7231. .type_content .active {
  7232. color: #409eff;
  7233. border-bottom: 2px solid #409eff;
  7234. }
  7235. .e_add_list_pbox_content {
  7236. height: calc(100% - 50px);
  7237. display: flex;
  7238. align-items: center;
  7239. width: 100%;
  7240. background: #fff;
  7241. }
  7242. .evaCss {
  7243. display: flex;
  7244. flex-direction: row;
  7245. flex-wrap: nowrap;
  7246. align-items: flex-start;
  7247. }
  7248. .cru_line {
  7249. position: absolute;
  7250. bottom: 0px;
  7251. transition: all 0.5s;
  7252. left: 0px;
  7253. width: 125px;
  7254. margin-left: -25px;
  7255. }
  7256. .isNoMessage {
  7257. width: 20%;
  7258. margin: 25% auto 0;
  7259. }
  7260. .isNoMessage > img {
  7261. width: 100%;
  7262. height: 100%;
  7263. }
  7264. .fullStyle >>> .el-dialog__body {
  7265. height: 100% !important;
  7266. }
  7267. .fullStyle >>> .el-dialog,
  7268. .fullStyle {
  7269. width: 100% !important;
  7270. max-width: 100% !important;
  7271. height: 100% !important;
  7272. margin: 0 !important;
  7273. }
  7274. .full_diy >>> .el-dialog {
  7275. margin: 0 !important;
  7276. height: 100%;
  7277. }
  7278. .full_diy >>> .el-dialog__body {
  7279. height: calc(100% - 100px);
  7280. padding: 4px;
  7281. }
  7282. .full_diy >>> .el-dialog {
  7283. margin: 0 !important;
  7284. height: 100%;
  7285. }
  7286. .rwCss {
  7287. font-size: 24px;
  7288. padding: 20px;
  7289. display: flex;
  7290. flex-direction: row;
  7291. align-items: center;
  7292. color: rgb(255, 255, 255);
  7293. background-image: linear-gradient(90deg, #4574cc, #6eb0ff);
  7294. border-radius: 10px;
  7295. margin: 10px 0;
  7296. }
  7297. .isClickNavOne {
  7298. color: #499eef;
  7299. }
  7300. .commentImg {
  7301. width: 25px;
  7302. height: 25px;
  7303. cursor: pointer;
  7304. }
  7305. .commentImg > img {
  7306. width: 100%;
  7307. height: 100%;
  7308. }
  7309. .comment {
  7310. background: #f9f9f9;
  7311. border-radius: 0 0 15px 15px;
  7312. display: flex;
  7313. flex-direction: row;
  7314. flex-wrap: nowrap;
  7315. align-items: center;
  7316. justify-content: flex-end;
  7317. height: 35px;
  7318. }
  7319. .commentList {
  7320. display: flex;
  7321. flex-direction: row;
  7322. flex-wrap: nowrap;
  7323. align-items: center;
  7324. justify-content: center;
  7325. align-content: center;
  7326. margin-left: 15px;
  7327. }
  7328. .studentDetail {
  7329. display: flex;
  7330. flex-direction: row;
  7331. flex-wrap: nowrap;
  7332. align-items: center;
  7333. align-items: flex-start;
  7334. }
  7335. .tx {
  7336. width: 50px;
  7337. }
  7338. .tx > img {
  7339. width: 100%;
  7340. height: 100%;
  7341. }
  7342. .nameAndTime {
  7343. display: flex;
  7344. flex-direction: column;
  7345. flex-wrap: nowrap;
  7346. align-items: flex-start;
  7347. margin-left: 10px;
  7348. }
  7349. .worksAnswer {
  7350. color: #4078dd;
  7351. margin: 10px 0;
  7352. font-size: 16px;
  7353. }
  7354. .worksAnswer > img {
  7355. width: 100%;
  7356. height: 100%;
  7357. }
  7358. .commentTop {
  7359. border-bottom: 1px solid #eaeaea;
  7360. padding-bottom: 10px;
  7361. }
  7362. .commentBox {
  7363. padding-top: 15px;
  7364. }
  7365. .pl {
  7366. font-size: 18px;
  7367. }
  7368. .plName {
  7369. display: flex;
  7370. flex-direction: row;
  7371. flex-wrap: nowrap;
  7372. align-items: baseline;
  7373. color: #78787a;
  7374. }
  7375. .evalCss {
  7376. background: #fff;
  7377. font-size: 18px;
  7378. }
  7379. .nav {
  7380. color: #9d9d9d;
  7381. padding: 5px 0 15px 20px;
  7382. }
  7383. .middleBox {
  7384. padding: 5px 0 15px 20px;
  7385. }
  7386. .pfBox {
  7387. padding-bottom: 30px;
  7388. }
  7389. .nameAndrate {
  7390. display: flex;
  7391. flex-direction: row;
  7392. flex-wrap: nowrap;
  7393. align-items: center;
  7394. padding-bottom: 10px;
  7395. }
  7396. .nameAndrate > div {
  7397. margin-left: 10px;
  7398. color: #000;
  7399. }
  7400. .pfBox > div:nth-child(2) {
  7401. background: #f7f6f9;
  7402. width: 400px;
  7403. min-height: 45px;
  7404. border-radius: 10px;
  7405. font-size: 16px;
  7406. display: flex;
  7407. flex-wrap: wrap;
  7408. align-items: center;
  7409. padding: 10px 20px;
  7410. box-sizing: border-box;
  7411. color: #000;
  7412. }
  7413. .bz {
  7414. display: flex;
  7415. flex-direction: row;
  7416. flex-wrap: nowrap;
  7417. align-items: flex-start;
  7418. }
  7419. .bz > div {
  7420. padding: 0 10px;
  7421. }
  7422. .select_box2_title {
  7423. background: #fff;
  7424. border-radius: 5px;
  7425. padding: 15px 10px;
  7426. box-sizing: border-box;
  7427. margin-bottom: 10px;
  7428. display: flex;
  7429. flex-direction: row;
  7430. flex-wrap: nowrap;
  7431. align-items: center;
  7432. }
  7433. .select_box2_title > div:nth-child(2) {
  7434. margin-left: 10px;
  7435. color: #c4c4c4;
  7436. }
  7437. .select_box2_box {
  7438. display: flex;
  7439. height: 500px;
  7440. }
  7441. .select_box2_img {
  7442. width: calc(100% - 310px);
  7443. height: 100%;
  7444. overflow: auto;
  7445. background: #fff;
  7446. border-radius: 5px;
  7447. }
  7448. .select_box2_img img {
  7449. width: 100%;
  7450. }
  7451. .select_box2_answer {
  7452. background: #fff;
  7453. margin-left: 10px;
  7454. border-radius: 5px;
  7455. width: 300px;
  7456. overflow: auto;
  7457. height: 90%;
  7458. display: flex;
  7459. flex-direction: column;
  7460. align-items: flex-start;
  7461. padding-top: 10px;
  7462. box-sizing: border-box;
  7463. position: relative;
  7464. }
  7465. .select_answer_title {
  7466. padding: 0 0 15px 20px;
  7467. color: #c4c4c4;
  7468. }
  7469. .select_box2_answer_box {
  7470. margin: 0 0 10px 20px;
  7471. width: 85%;
  7472. display: flex;
  7473. flex-direction: row;
  7474. flex-wrap: nowrap;
  7475. align-items: center;
  7476. }
  7477. .upAnswerCss {
  7478. position: absolute;
  7479. bottom: 15px;
  7480. right: 15px;
  7481. }
  7482. .upAnswerCss >>> .el-button {
  7483. width: 95px;
  7484. height: 35px;
  7485. line-height: 35px;
  7486. padding: 0;
  7487. }
  7488. .rightWidthCss {
  7489. width: 60%;
  7490. display: flex;
  7491. flex-direction: row;
  7492. align-items: flex-start;
  7493. }
  7494. .rightAnswer {
  7495. display: flex;
  7496. flex-direction: row;
  7497. flex-wrap: nowrap;
  7498. align-items: center;
  7499. color: red;
  7500. margin-bottom: 31px;
  7501. }
  7502. .rightAnswerCss {
  7503. display: flex;
  7504. flex-direction: column;
  7505. flex-wrap: nowrap;
  7506. padding-top: 60px;
  7507. }
  7508. .blueCss {
  7509. color: #767de1;
  7510. margin-left: 10px;
  7511. }
  7512. .redCss {
  7513. color: red;
  7514. }
  7515. .redioStyle >>> .el-radio__input.is-checked + .el-radio__label {
  7516. color: rgb(0 123 255) !important;
  7517. }
  7518. .easy_comment {
  7519. width: calc(100% - 90px);
  7520. margin-left: 10px;
  7521. display: flex;
  7522. flex-wrap: wrap;
  7523. }
  7524. .easy_comment > div {
  7525. border: 1px solid #4a4a4a;
  7526. color: #666;
  7527. border-radius: 15px;
  7528. padding: 5px 10px;
  7529. font-size: 16px;
  7530. margin-bottom: 10px;
  7531. margin-right: 5px;
  7532. cursor: pointer;
  7533. }
  7534. .easy_comment div:hover {
  7535. border: 1px solid #f7ba2a;
  7536. color: #c69217;
  7537. }
  7538. .xuan_right_box {
  7539. padding: 10px;
  7540. background: rgb(247, 247, 247);
  7541. margin: 10px 12px;
  7542. border-radius: 5px;
  7543. }
  7544. .tool_right_box {
  7545. display: flex;
  7546. align-items: center;
  7547. }
  7548. .tool_right_box + .tool_right_box {
  7549. margin-top: 10px;
  7550. }
  7551. .right_box_xuan {
  7552. background: rgb(0 123 255);
  7553. color: #fff;
  7554. border-radius: 5px;
  7555. padding: 5px;
  7556. margin-left: 10px;
  7557. }
  7558. .pButton {
  7559. position: fixed;
  7560. right: 5%;
  7561. bottom: 5%;
  7562. color: #fff;
  7563. width: 50px;
  7564. height: 50px;
  7565. border-radius: 50%;
  7566. text-align: center;
  7567. line-height: 50px;
  7568. background-image: -webkit-linear-gradient(left, #72aaf4, #4d81d5);
  7569. cursor: pointer;
  7570. z-index: 999;
  7571. }
  7572. .newDialogCss {
  7573. position: fixed;
  7574. right: 7%;
  7575. top: 50%;
  7576. width: 340px;
  7577. transform: translateY(-50%);
  7578. height: 60%;
  7579. box-shadow: 0px 0 8px 0px #555555;
  7580. border-radius: 15px;
  7581. z-index: 999;
  7582. }
  7583. .pzTop {
  7584. color: #fff;
  7585. background: #000;
  7586. display: flex;
  7587. flex-direction: row;
  7588. flex-wrap: nowrap;
  7589. align-items: center;
  7590. justify-content: space-between;
  7591. height: 40px;
  7592. border-radius: 15px 15px 0 0;
  7593. }
  7594. .pzTop > div:nth-child(1) {
  7595. padding-left: 10px;
  7596. }
  7597. .pzTop > div:nth-child(2) {
  7598. width: 15px;
  7599. height: 15px;
  7600. padding-right: 10px;
  7601. cursor: pointer;
  7602. }
  7603. .pzTop > div:nth-child(2) > img {
  7604. width: 100%;
  7605. height: 100%;
  7606. }
  7607. .pzBox {
  7608. height: calc(100% - 40px);
  7609. background: #ededed;
  7610. border-radius: 0 0 15px 15px;
  7611. }
  7612. .pzList {
  7613. background: #fff;
  7614. width: 90%;
  7615. margin: 0 auto 15px;
  7616. }
  7617. .pzNavTop {
  7618. display: flex;
  7619. flex-direction: row;
  7620. flex-wrap: nowrap;
  7621. padding: 10px 10px 0 10px;
  7622. align-items: center;
  7623. }
  7624. .pzNavTop > div:nth-child(1) {
  7625. background: #3760af;
  7626. width: 40px;
  7627. height: 40px;
  7628. color: #fff;
  7629. text-align: center;
  7630. line-height: 40px;
  7631. border-radius: 50%;
  7632. font-size: 14px;
  7633. }
  7634. .pzNavTop > div:nth-child(2) {
  7635. font-size: 18px;
  7636. color: #959595;
  7637. margin-left: 5px;
  7638. }
  7639. .pzContent {
  7640. padding: 10px;
  7641. word-break: break-word;
  7642. }
  7643. .pzListBox {
  7644. padding-top: 15px;
  7645. height: calc(100% - 60px);
  7646. overflow: auto;
  7647. }
  7648. .addPz {
  7649. background: #4b79ce;
  7650. width: 100px;
  7651. color: #fff;
  7652. font-size: 12px;
  7653. height: 30px;
  7654. margin: 0 auto;
  7655. text-align: center;
  7656. line-height: 30px;
  7657. border-radius: 10px;
  7658. cursor: pointer;
  7659. }
  7660. .addDialogCss {
  7661. position: fixed;
  7662. right: 37%;
  7663. top: 50%;
  7664. width: 600px;
  7665. transform: translateY(-50%);
  7666. height: 50%;
  7667. box-shadow: 0px 0 8px 0px #555555;
  7668. border-radius: 15px;
  7669. z-index: 999;
  7670. }
  7671. .teacherPz {
  7672. display: flex;
  7673. flex-direction: row;
  7674. align-items: center;
  7675. flex-wrap: nowrap;
  7676. }
  7677. .teacherPzImg {
  7678. width: 30px;
  7679. height: 30px;
  7680. }
  7681. .teacherPzImg > img {
  7682. width: 100%;
  7683. height: 100%;
  7684. }
  7685. .addPzBox {
  7686. height: calc(100% - 40px);
  7687. background: #ededed;
  7688. }
  7689. .pzConText {
  7690. width: 95%;
  7691. height: 100%;
  7692. margin: 0 auto;
  7693. border: none;
  7694. background: #fff;
  7695. border-radius: 0px;
  7696. }
  7697. .addTextCss {
  7698. background: #4b79ce;
  7699. width: 80px;
  7700. height: 30px;
  7701. text-align: center;
  7702. color: #fff;
  7703. line-height: 30px;
  7704. border-radius: 10px;
  7705. margin: 10px auto 0;
  7706. cursor: pointer;
  7707. }
  7708. .pzConText:focus-visible {
  7709. border: none !important;
  7710. }
  7711. .pzList .time {
  7712. text-align: right;
  7713. box-sizing: border-box;
  7714. padding: 0 10px 10px 0px;
  7715. color: #949494;
  7716. font-size: 14px;
  7717. }
  7718. </style>