studyStudentJiu.vue 172 KB

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