studyStudent.vue 116 KB

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