studyStudent.vue 146 KB

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