studyStudent.vue 164 KB

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