anliDetail.vue 118 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748
  1. <template>
  2. <div
  3. class="center_content"
  4. ref="cenBox"
  5. @scroll.passive="allScrollTop($event)"
  6. >
  7. <div class="detaBox">
  8. <div class="anliMiddle">
  9. <div class="anliBox">
  10. <div class="anliImg">
  11. <img
  12. :src="
  13. anliBox[0] && anliBox[0].info && anliBox[0].info.cover.length
  14. ? anliBox[0].info.cover[0].url
  15. : noBanner
  16. "
  17. alt=""
  18. />
  19. </div>
  20. <div class="anliNav">
  21. <div>
  22. 项目名称:{{
  23. anliBox[0] && anliBox[0].info ? anliBox[0].info.title : ""
  24. }}
  25. </div>
  26. <div>创建人:{{ anliBox[0] ? anliBox[0].name : "" }}</div>
  27. <div>
  28. <div>单位:{{ anliBox[0] ? anliBox[0].schoolName : "" }}</div>
  29. <div>
  30. 分类:{{
  31. anliBox[0] && anliBox[0].typename
  32. ? anliBox[0].typename
  33. : "暂无分类"
  34. }}
  35. </div>
  36. </div>
  37. <div class="personAndAutor">
  38. <div>总人数:</div>
  39. <div class="people">
  40. <div class="man">
  41. <img src="../../../../assets/people.png" alt />
  42. </div>
  43. <div class="person">
  44. {{
  45. anliBox[0]
  46. ? anliBox[0].info.autor.length +
  47. anliBox[0].info.tableData.length
  48. : 0
  49. }}人
  50. </div>
  51. </div>
  52. <div
  53. class="autorBox"
  54. style="margin-left: 35px"
  55. v-if="anliBox[0].info.autor.length"
  56. >
  57. <div>联系人:</div>
  58. <div v-for="(a, aIndex) in anliBox[0].info.autor" :key="aIndex">
  59. {{ a.sn }}
  60. </div>
  61. </div>
  62. <div class="autorBox" v-if="anliBox[0].info.tableData.length">
  63. <div>协作者:</div>
  64. <div
  65. class="Autor"
  66. v-for="(a, aIndex) in anliBox[0].info.tableData"
  67. :key="aIndex"
  68. >
  69. {{ a.sn }}
  70. </div>
  71. </div>
  72. </div>
  73. </div>
  74. </div>
  75. </div>
  76. <div class="navBox" :class="{ isNavBox: isNavTop >= 300 }">
  77. <div class="navTop" @click="jump('first')">
  78. <div class="navImg" style="width: 27px">
  79. <img src="../../../../assets/icon/anliDetail/proOver.png" alt="" />
  80. </div>
  81. <div>项目基础信息</div>
  82. </div>
  83. <div class="navTop" @click="jump('second')">
  84. <div class="navImg">
  85. <img
  86. src="../../../../assets/icon/anliDetail/proOverTwo.png"
  87. alt=""
  88. />
  89. </div>
  90. <div>平台案例填写</div>
  91. </div>
  92. <!-- <div class="navTop" @click="jump('third')">
  93. <div class="navImg">
  94. <img src="../../../../assets/icon/anliDetail/learnObj.png" alt="" />
  95. </div>
  96. <div>项目安排</div>
  97. </div>
  98. <div class="navTop" @click="jump('fouth')">
  99. <div class="navImg">
  100. <img src="../../../../assets/icon/anliDetail/process.png" alt="" />
  101. </div>
  102. <div>项目活动过程</div>
  103. </div>
  104. <div class="navTop" @click="jump('fivth')">
  105. <div class="navImg">
  106. <img src="../../../../assets/icon/anliDetail/proEva.png" alt="" />
  107. </div>
  108. <div>项目成果交流与评价</div>
  109. </div>
  110. <div class="navTop" @click="jump('sixth')">
  111. <div class="navImg">
  112. <img src="../../../../assets/icon/anliDetail/proEff.png" alt="" />
  113. </div>
  114. <div>项目成效与反思</div>
  115. </div> -->
  116. </div>
  117. <div
  118. class="isNoMessage"
  119. v-if="
  120. anliBox[0].info.courseText == '' &&
  121. anliBox[0].info.imgBox.length == 0 &&
  122. anliBox[0].info.data.length == 0 &&
  123. anliBox[0].overview.driQuestion.brief == '' &&
  124. anliBox[0].overview.driQuestion.imgBox.length == 0 &&
  125. anliBox[0].overview.tarDesign.brief == '' &&
  126. anliBox[0].overview.tarDesign.imgBox.length == 0 &&
  127. anliBox[0].overview.actiDesign.brief == '' &&
  128. anliBox[0].overview.actiDesign.imgBox.length == 0 &&
  129. anliBox[0].process.stageBox[0].staTitle == '' &&
  130. anliBox[0].process.stageBox[0].actBox[0].actName == '' &&
  131. anliBox[0].process.stageBox[0].brief == '' &&
  132. anliBox[0].process.stageBox[0].data.length == 0 &&
  133. anliBox[0].proexc.brief == '' &&
  134. anliBox[0].proexc.imgBox.length == 0 &&
  135. anliBox[0].results.brief == '' &&
  136. anliBox[0].results.imgBox.length == 0
  137. "
  138. >
  139. <img src="../../../../assets/icon/race/isNoMessage.png" alt />
  140. </div>
  141. <div class="messageBox" v-else :class="{ isMessageBox: isNavTop >= 300 }">
  142. <div class="leftNav" :class="{ isleftNav: isNavTop >= 300 }">
  143. <div class="topNav">导航栏</div>
  144. <div class="navLeftBox">
  145. <div class="navBTitle">项目概况</div>
  146. <div class="navLTitle" @click="jump('second')">
  147. <div>1</div>
  148. <div>驱动问题</div>
  149. </div>
  150. <div class="navLTitle" @click="jump('xx')">
  151. <div>2</div>
  152. <div>学习目标</div>
  153. </div>
  154. <div class="navLTitle" @click="jump('pj')">
  155. <div>3</div>
  156. <div>评价设计</div>
  157. </div>
  158. <div class="navBTitle">项目安排</div>
  159. <div
  160. class="navLTitle"
  161. v-for="(s, si) in anliBox[0].process.stageBox"
  162. :key="si"
  163. @click="jumpS(si)"
  164. >
  165. <div>{{ si + 1 }}</div>
  166. <div>{{ s.staTitle }}</div>
  167. </div>
  168. <div class="navBTitle" @click="jump('fouth')">项目活动过程</div>
  169. <div class="navBTitle" @click="jump('fivth')">
  170. 项目成果交流与评价
  171. </div>
  172. <div class="navBTitle" @click="jump('sixth')">项目成效与反思</div>
  173. </div>
  174. </div>
  175. <div
  176. class="jdTopBox"
  177. id="first"
  178. v-if="
  179. anliBox[0].info.courseText != '' ||
  180. anliBox[0].info.imgBox.length > 0 ||
  181. (anliBox &&
  182. anliBox[0].info &&
  183. anliBox[0].info.data &&
  184. anliBox[0].info.data.length)
  185. "
  186. >
  187. <div class="jdTopNav" style="font-size: 18px">
  188. <div class="jdLeftNav">
  189. <div class="jdImg">
  190. <img
  191. src="../../../../assets/icon/anliDetail/jdTitle.png"
  192. alt=""
  193. />
  194. </div>
  195. <div class="jdLeftTitle">
  196. <div>项目基础信息</div>
  197. </div>
  198. </div>
  199. </div>
  200. </div>
  201. <div
  202. class="proOverCss"
  203. v-if="
  204. anliBox[0].info.courseText != '' ||
  205. anliBox[0].info.imgBox.length > 0 ||
  206. (anliBox &&
  207. anliBox[0].info &&
  208. anliBox[0].info.data &&
  209. anliBox[0].info.data.length)
  210. "
  211. >
  212. <div class="whiteBg whiteLeft" style="min-height: 200px">
  213. <div class="navBgTop">
  214. <div class="navBg">项目简介</div>
  215. <el-button
  216. v-if="anliBox[0].info.courseText != ''"
  217. @click="selectNav(anliBox[0].info.courseText)"
  218. >查看更多</el-button
  219. >
  220. </div>
  221. <div
  222. v-if="
  223. anliBox[0].info.courseText != '' ||
  224. anliBox[0].info.imgBox.length > 0
  225. "
  226. class="imgAndNav"
  227. >
  228. <!-- <div
  229. class="leftBox"
  230. v-if="
  231. anliBox[0].info.imgBox.length > 0 &&
  232. anliBox[0].info.imgBox[0].type == 3
  233. "
  234. >
  235. <div
  236. class="leftImg"
  237. @click="
  238. lookFile1(
  239. anliBox[0].info.imgBox[0].url,
  240. anliBox[0].info.imgBox[0].type
  241. )
  242. "
  243. v-if="anliBox[0].info.imgBox[0].type == 3"
  244. >
  245. <img :src="anliBox[0].info.imgBox[0].url" alt="" />
  246. </div>
  247. </div> -->
  248. <!-- :class="
  249. anliBox[0].info.imgBox.length > 0 ? 'proOverNav' : 'noImg'
  250. " -->
  251. <div
  252. class="proOverNav"
  253. v-html="anliBox[0].info ? anliBox[0].info.courseText : ''"
  254. ></div>
  255. <div
  256. class="fileLook"
  257. v-if="
  258. pptImgUrl2.infoData != undefined &&
  259. Object.keys(pptImgUrl2.infoData).length
  260. "
  261. >
  262. <div class="whiteRight">
  263. <div class="fileTopAll">
  264. <div class="fileTop">
  265. <div class="fileListImg">
  266. <img
  267. src="../../../../assets/icon/anliDetail/onePic.png"
  268. alt=""
  269. />
  270. </div>
  271. <div>项目方案与活动案例</div>
  272. </div>
  273. <el-button @click="lookFile1(pptImgUrl2.infoData.url)"
  274. >全屏查看</el-button
  275. >
  276. </div>
  277. <div class="upCss">
  278. <div class="look_file">
  279. <pdf
  280. v-if="pptImgUrl2.infoData.showType == 1"
  281. :pdfUrl="pptImgUrl2.infoData.url"
  282. style="width: 100%; height: 400px; overflow: auto"
  283. :class="{ fullStyle: full }"
  284. ></pdf>
  285. <iframe
  286. v-else-if="pptImgUrl2.infoData.showType == 2"
  287. :src="pptImgUrl2.infoData.url"
  288. frameborder="0"
  289. width="100%"
  290. height="400"
  291. :class="{ fullStyle: full }"
  292. ></iframe>
  293. <div
  294. class="workd_media"
  295. style="height: 400px"
  296. v-else-if="pptImgUrl2.infoData.showType == 3"
  297. >
  298. <video-player
  299. class="video-player vjs-custom-skin"
  300. :playsinline="true"
  301. :options="pptImgUrl2.infoData.playerO"
  302. @play="onPlayerPlay($event)"
  303. style="width: 70%; height: 400px; margin: 0 auto"
  304. ></video-player>
  305. </div>
  306. <div
  307. class="leftImg"
  308. style="height: 400px"
  309. v-else-if="pptImgUrl2.infoData.showType == 4"
  310. >
  311. <img :src="pptImgUrl2.infoData.url" alt="" />
  312. </div>
  313. </div>
  314. <div class="fileBox">
  315. <div
  316. class="fileList"
  317. v-if="
  318. anliBox &&
  319. anliBox[0].info &&
  320. anliBox[0].info.data &&
  321. anliBox[0].info.data.length
  322. "
  323. >
  324. <div
  325. class="file"
  326. v-for="(f, fIndex) in anliBox[0].info.data"
  327. :key="fIndex"
  328. >
  329. <div class="fileCss">
  330. <div>
  331. {{ fIndex + 1 }}.{{
  332. f.type == 1
  333. ? "文档"
  334. : f.type == 2
  335. ? "视频"
  336. : "图片"
  337. }}
  338. </div>
  339. <div>
  340. <div @click="lookFile2(f.url, f.type, 0)">
  341. {{ f.name }}
  342. </div>
  343. <!-- <div class="downFile" @click="downloadFile(f.url)">
  344. <img
  345. src="../../../../assets/icon/anliDetail/down.png"
  346. alt=""
  347. />
  348. </div> -->
  349. </div>
  350. </div>
  351. </div>
  352. </div>
  353. <div class="noFile" v-else>
  354. <img
  355. src="../../../../assets/icon/anliDetail/noFile.jpg"
  356. alt=""
  357. />
  358. </div>
  359. </div>
  360. </div>
  361. </div>
  362. </div>
  363. </div>
  364. <div class="noFile" v-else>
  365. <img src="../../../../assets/icon/anliDetail/noFile.jpg" alt="" />
  366. </div>
  367. </div>
  368. </div>
  369. <div>
  370. <div
  371. class="jdTopBox"
  372. id="second"
  373. v-if="
  374. (anliBox[0].overview.driQuestion.brief != '' ||
  375. anliBox[0].overview.driQuestion.imgBox.length > 0 ||
  376. anliBox[0].overview.driQuestion.data.length) &&
  377. (anliBox[0].overview.tarDesign.brief != '' ||
  378. anliBox[0].overview.tarDesign.imgBox.length > 0 ||
  379. anliBox[0].overview.tarDesign.data.length) &&
  380. (anliBox[0].overview.actiDesign.brief != '' ||
  381. anliBox[0].overview.actiDesign.imgBox.length > 0 ||
  382. anliBox[0].overview.actiDesign.data.length > 0)
  383. "
  384. >
  385. <div class="jdTopNav" style="font-size: 18px">
  386. <div class="jdLeftNav">
  387. <div class="jdImg">
  388. <img
  389. src="../../../../assets/icon/anliDetail/jdTitle.png"
  390. alt=""
  391. />
  392. </div>
  393. <div class="jdLeftTitle">
  394. <div>项目概况</div>
  395. </div>
  396. </div>
  397. </div>
  398. </div>
  399. <div
  400. class="proOverCss"
  401. v-if="
  402. anliBox[0].overview.driQuestion.brief != '' ||
  403. anliBox[0].overview.driQuestion.imgBox.length > 0 ||
  404. anliBox[0].overview.driQuestion.data.length
  405. "
  406. >
  407. <div class="whiteBg whiteLeft">
  408. <div class="navBgTop">
  409. <div class="navBg">驱动问题</div>
  410. <el-button
  411. v-if="anliBox[0].overview.driQuestion.brief != ''"
  412. @click="selectNav(anliBox[0].overview.driQuestion.brief)"
  413. >查看更多</el-button
  414. >
  415. </div>
  416. <div
  417. v-if="
  418. anliBox[0].overview.driQuestion.brief != '' ||
  419. anliBox[0].overview.driQuestion.imgBox.length > 0
  420. "
  421. class="imgAndNav"
  422. >
  423. <!-- <div
  424. class="leftBox"
  425. v-if="
  426. anliBox[0].overview.driQuestion.imgBox.length > 0 &&
  427. anliBox[0].overview.driQuestion.imgBox[0].type == 3
  428. "
  429. >
  430. <div
  431. class="leftImg"
  432. @click="
  433. lookFile1(
  434. anliBox[0].overview.driQuestion.imgBox[0].url,
  435. anliBox[0].overview.driQuestion.imgBox[0].type
  436. )
  437. "
  438. v-if="anliBox[0].overview.driQuestion.imgBox[0].type == 3"
  439. >
  440. <img
  441. :src="anliBox[0].overview.driQuestion.imgBox[0].url"
  442. alt=""
  443. />
  444. </div>
  445. </div> -->
  446. <div
  447. class="proOverNav"
  448. v-html="
  449. anliBox[0].overview.driQuestion
  450. ? anliBox[0].overview.driQuestion.brief
  451. : ''
  452. "
  453. ></div>
  454. <div
  455. class="fileLook"
  456. v-if="
  457. pptImgUrl2.overData.driData != undefined &&
  458. Object.keys(pptImgUrl2.overData.driData).length
  459. "
  460. >
  461. <div class="whiteRight">
  462. <div class="fileTopAll">
  463. <div class="fileTop">
  464. <div class="fileListImg">
  465. <img
  466. src="../../../../assets/icon/anliDetail/fileList.png"
  467. alt=""
  468. />
  469. </div>
  470. <div>项⽬材料</div>
  471. </div>
  472. <el-button
  473. @click="lookFile1(pptImgUrl2.overData.driData.url)"
  474. >全屏查看</el-button
  475. >
  476. </div>
  477. <div class="upCss">
  478. <div class="look_file">
  479. <pdf
  480. v-if="pptImgUrl2.overData.driData.showType == 1"
  481. :pdfUrl="pptImgUrl2.overData.driData.url"
  482. style="width: 100%; height: 400px; overflow: auto"
  483. :class="{ fullStyle: full }"
  484. ></pdf>
  485. <iframe
  486. v-else-if="pptImgUrl2.overData.driData.showType == 2"
  487. :src="pptImgUrl2.overData.driData.url"
  488. frameborder="0"
  489. width="100%"
  490. height="400"
  491. :class="{ fullStyle: full }"
  492. ></iframe>
  493. <div
  494. class="workd_media"
  495. style="height: 400px"
  496. v-else-if="pptImgUrl2.overData.driData.showType == 3"
  497. >
  498. <video-player
  499. class="video-player vjs-custom-skin"
  500. :playsinline="true"
  501. :options="pptImgUrl2.overData.driData.playerO"
  502. @play="onPlayerPlay($event)"
  503. style="width: 70%; height: 400px; margin: 0 auto"
  504. ></video-player>
  505. </div>
  506. <div
  507. class="leftImg"
  508. style="height: 400px"
  509. v-else-if="pptImgUrl2.overData.driData.showType == 4"
  510. >
  511. <img :src="pptImgUrl2.overData.driData.url" alt="" />
  512. </div>
  513. </div>
  514. <div class="fileBox">
  515. <div
  516. class="fileList"
  517. v-if="anliBox[0].overview.driQuestion.data.length"
  518. >
  519. <div
  520. class="file"
  521. v-for="(f, fIndex) in anliBox[0].overview
  522. .driQuestion.data"
  523. :key="fIndex"
  524. >
  525. <div class="fileCss">
  526. <div>
  527. {{ fIndex + 1 }}.{{
  528. f.type == 1
  529. ? "文档"
  530. : f.type == 2
  531. ? "视频"
  532. : "图片"
  533. }}
  534. </div>
  535. <div>
  536. <div @click="lookFile2(f.url, f.type, 1)">
  537. {{ f.name }}
  538. </div>
  539. <!-- <div class="downFile" @click="downloadFile(f.url)">
  540. <img
  541. src="../../../../assets/icon/anliDetail/down.png"
  542. alt=""
  543. />
  544. </div> -->
  545. </div>
  546. </div>
  547. </div>
  548. </div>
  549. <div class="noFile" v-else>
  550. <img
  551. src="../../../../assets/icon/anliDetail/noFile.jpg"
  552. alt=""
  553. />
  554. </div>
  555. </div>
  556. </div>
  557. </div>
  558. </div>
  559. </div>
  560. <div class="noFile" v-else>
  561. <img
  562. src="../../../../assets/icon/anliDetail/noFile.jpg"
  563. alt=""
  564. />
  565. </div>
  566. </div>
  567. </div>
  568. <div
  569. class="proOverCss"
  570. id="xx"
  571. v-if="
  572. anliBox[0].overview.tarDesign.brief != '' ||
  573. anliBox[0].overview.tarDesign.imgBox.length > 0 ||
  574. anliBox[0].overview.tarDesign.data.length
  575. "
  576. >
  577. <div class="whiteBg whiteLeft">
  578. <div class="navBgTop">
  579. <div class="navBg">学习目标</div>
  580. <el-button
  581. v-if="anliBox[0].overview.tarDesign.brief != ''"
  582. @click="selectNav(anliBox[0].overview.tarDesign.brief)"
  583. >查看更多</el-button
  584. >
  585. </div>
  586. <div
  587. v-if="
  588. anliBox[0].overview.tarDesign.brief != '' ||
  589. anliBox[0].overview.tarDesign.imgBox.length > 0
  590. "
  591. class="imgAndNav"
  592. >
  593. <!-- <div
  594. class="leftBox"
  595. v-if="
  596. anliBox[0].overview.tarDesign.imgBox.length > 0 &&
  597. anliBox[0].overview.tarDesign.imgBox[0].type == 3
  598. "
  599. >
  600. <div
  601. class="leftImg"
  602. @click="
  603. lookFile1(
  604. anliBox[0].overview.tarDesign.imgBox[0].url,
  605. anliBox[0].overview.tarDesign.imgBox[0].type
  606. )
  607. "
  608. v-if="anliBox[0].overview.tarDesign.imgBox[0].type == 3"
  609. >
  610. <img
  611. :src="anliBox[0].overview.tarDesign.imgBox[0].url"
  612. alt=""
  613. />
  614. </div>
  615. </div> -->
  616. <div
  617. class="proOverNav"
  618. v-html="
  619. anliBox[0].overview.tarDesign
  620. ? anliBox[0].overview.tarDesign.brief
  621. : ''
  622. "
  623. ></div>
  624. <div
  625. class="fileLook"
  626. v-if="
  627. pptImgUrl2.overData.tarData != undefined &&
  628. Object.keys(pptImgUrl2.overData.tarData).length
  629. "
  630. >
  631. <div class="whiteRight">
  632. <div class="fileTopAll">
  633. <div class="fileTop">
  634. <div class="fileListImg">
  635. <img
  636. src="../../../../assets/icon/anliDetail/fileList.png"
  637. alt=""
  638. />
  639. </div>
  640. <div>项⽬材料</div>
  641. </div>
  642. <el-button
  643. @click="lookFile1(pptImgUrl2.overData.tarData.url)"
  644. >全屏查看</el-button
  645. >
  646. </div>
  647. <div class="upCss">
  648. <div class="look_file">
  649. <pdf
  650. v-if="pptImgUrl2.overData.tarData.showType == 1"
  651. :pdfUrl="pptImgUrl2.overData.tarData.url"
  652. style="width: 100%; height: 400px; overflow: auto"
  653. :class="{ fullStyle: full }"
  654. ></pdf>
  655. <iframe
  656. v-else-if="pptImgUrl2.overData.tarData.showType == 2"
  657. :src="pptImgUrl2.overData.tarData.url"
  658. frameborder="0"
  659. width="100%"
  660. height="400"
  661. :class="{ fullStyle: full }"
  662. ></iframe>
  663. <div
  664. class="workd_media"
  665. style="height: 400px"
  666. v-else-if="pptImgUrl2.overData.tarData.showType == 3"
  667. >
  668. <video-player
  669. class="video-player vjs-custom-skin"
  670. :playsinline="true"
  671. :options="pptImgUrl2.overData.tarData.playerO"
  672. @play="onPlayerPlay($event)"
  673. style="width: 70%; height: 400px; margin: 0 auto"
  674. ></video-player>
  675. </div>
  676. <div
  677. class="leftImg"
  678. style="height: 400px"
  679. v-else-if="pptImgUrl2.overData.tarData.showType == 4"
  680. >
  681. <img :src="pptImgUrl2.overData.tarData.url" alt="" />
  682. </div>
  683. </div>
  684. <div class="fileBox">
  685. <div
  686. class="fileList"
  687. v-if="anliBox[0].overview.tarDesign.data.length"
  688. >
  689. <div
  690. class="file"
  691. v-for="(f, fIndex) in anliBox[0].overview.tarDesign
  692. .data"
  693. :key="fIndex"
  694. >
  695. <div class="fileCss">
  696. <div>
  697. {{ fIndex + 1 }}.{{
  698. f.type == 1
  699. ? "文档"
  700. : f.type == 2
  701. ? "视频"
  702. : "图片"
  703. }}
  704. </div>
  705. <div>
  706. <div @click="lookFile2(f.url, f.type, 2)">
  707. {{ f.name }}
  708. </div>
  709. <!-- <div class="downFile" @click="downloadFile(f.url)">
  710. <img
  711. src="../../../../assets/icon/anliDetail/down.png"
  712. alt=""
  713. />
  714. </div> -->
  715. </div>
  716. </div>
  717. </div>
  718. </div>
  719. <div class="noFile" v-else>
  720. <img
  721. src="../../../../assets/icon/anliDetail/noFile.jpg"
  722. alt=""
  723. />
  724. </div>
  725. </div>
  726. </div>
  727. </div>
  728. </div>
  729. </div>
  730. <div class="noFile" v-else>
  731. <img
  732. src="../../../../assets/icon/anliDetail/noFile.jpg"
  733. alt=""
  734. />
  735. </div>
  736. </div>
  737. </div>
  738. <div
  739. class="proOverCss"
  740. id="pj"
  741. v-if="
  742. anliBox[0].overview.actiDesign.brief != '' ||
  743. anliBox[0].overview.actiDesign.imgBox.length > 0 ||
  744. anliBox[0].overview.actiDesign.data.length
  745. "
  746. >
  747. <div class="whiteBg whiteLeft">
  748. <div class="navBgTop">
  749. <div class="navBg">评价设计</div>
  750. <el-button
  751. v-if="anliBox[0].overview.actiDesign.brief != ''"
  752. @click="selectNav(anliBox[0].overview.actiDesign.brief)"
  753. >查看更多</el-button
  754. >
  755. </div>
  756. <div
  757. v-if="
  758. anliBox[0].overview.actiDesign.brief != '' ||
  759. anliBox[0].overview.actiDesign.imgBox.length > 0
  760. "
  761. class="imgAndNav"
  762. >
  763. <!-- <div
  764. class="leftBox"
  765. v-if="
  766. anliBox[0].overview.actiDesign.imgBox.length > 0 &&
  767. anliBox[0].overview.actiDesign.imgBox[0].type == 3
  768. "
  769. >
  770. <div
  771. class="leftImg"
  772. @click="
  773. lookFile1(
  774. anliBox[0].overview.actiDesign.imgBox[0].url,
  775. anliBox[0].overview.actiDesign.imgBox[0].type
  776. )
  777. "
  778. v-if="anliBox[0].overview.actiDesign.imgBox[0].type == 3"
  779. >
  780. <img
  781. :src="anliBox[0].overview.actiDesign.imgBox[0].url"
  782. alt=""
  783. />
  784. </div>
  785. </div> -->
  786. <div
  787. class="proOverNav"
  788. v-html="
  789. anliBox[0].overview.actiDesign
  790. ? anliBox[0].overview.actiDesign.brief
  791. : ''
  792. "
  793. ></div>
  794. <div
  795. class="fileLook"
  796. v-if="
  797. pptImgUrl2.overData.actData != undefined &&
  798. Object.keys(pptImgUrl2.overData.actData).length
  799. "
  800. >
  801. <div class="whiteRight">
  802. <div class="fileTopAll">
  803. <div class="fileTop">
  804. <div class="fileListImg">
  805. <img
  806. src="../../../../assets/icon/anliDetail/fileList.png"
  807. alt=""
  808. />
  809. </div>
  810. <div>项⽬材料</div>
  811. </div>
  812. <el-button
  813. @click="lookFile1(pptImgUrl2.overData.actData.url)"
  814. >全屏查看</el-button
  815. >
  816. </div>
  817. <div class="upCss">
  818. <div class="look_file">
  819. <pdf
  820. v-if="pptImgUrl2.overData.actData.showType == 1"
  821. :pdfUrl="pptImgUrl2.overData.actData.url"
  822. style="width: 100%; height: 400px; overflow: auto"
  823. :class="{ fullStyle: full }"
  824. ></pdf>
  825. <iframe
  826. v-else-if="pptImgUrl2.overData.actData.showType == 2"
  827. :src="pptImgUrl2.overData.actData.url"
  828. frameborder="0"
  829. width="100%"
  830. height="400"
  831. :class="{ fullStyle: full }"
  832. ></iframe>
  833. <div
  834. class="workd_media"
  835. style="height: 400px"
  836. v-else-if="pptImgUrl2.overData.actData.showType == 3"
  837. >
  838. <video-player
  839. class="video-player vjs-custom-skin"
  840. :playsinline="true"
  841. :options="pptImgUrl2.overData.actData.playerO"
  842. @play="onPlayerPlay($event)"
  843. style="width: 70%; height: 400px; margin: 0 auto"
  844. ></video-player>
  845. </div>
  846. <div
  847. class="leftImg"
  848. style="height: 400px"
  849. v-else-if="pptImgUrl2.overData.actData.showType == 4"
  850. >
  851. <img :src="pptImgUrl2.overData.actData.url" alt="" />
  852. </div>
  853. </div>
  854. <div class="fileBox">
  855. <div
  856. class="fileList"
  857. v-if="anliBox[0].overview.actiDesign.data.length"
  858. >
  859. <div
  860. class="file"
  861. v-for="(f, fIndex) in anliBox[0].overview.actiDesign
  862. .data"
  863. :key="fIndex"
  864. >
  865. <div class="fileCss">
  866. <div>
  867. {{ fIndex + 1 }}.{{
  868. f.type == 1
  869. ? "文档"
  870. : f.type == 2
  871. ? "视频"
  872. : "图片"
  873. }}
  874. </div>
  875. <div>
  876. <div @click="lookFile2(f.url, f.type, 3)">
  877. {{ f.name }}
  878. </div>
  879. </div>
  880. </div>
  881. </div>
  882. </div>
  883. <div class="noFile" v-else>
  884. <img
  885. src="../../../../assets/icon/anliDetail/noFile.jpg"
  886. alt=""
  887. />
  888. </div>
  889. </div>
  890. </div>
  891. </div>
  892. </div>
  893. </div>
  894. <div class="noFile" v-else>
  895. <img
  896. src="../../../../assets/icon/anliDetail/noFile.jpg"
  897. alt=""
  898. />
  899. </div>
  900. </div>
  901. </div>
  902. <div
  903. class="jdTopBox"
  904. v-if="anliBox[0].process.stageBox[0].staTitle != ''"
  905. id="third"
  906. >
  907. <div class="jdTopNav" style="font-size: 18px">
  908. <div class="jdLeftNav">
  909. <div class="jdImg">
  910. <img
  911. src="../../../../assets/icon/anliDetail/jdTitle.png"
  912. alt=""
  913. />
  914. </div>
  915. <div class="jdLeftTitle">
  916. <div>项目安排</div>
  917. </div>
  918. </div>
  919. </div>
  920. </div>
  921. <div
  922. v-for="(jd, jdIndex) in anliBox[0].process.stageBox"
  923. :key="jdIndex"
  924. style="margin: 20px 0 20px 0"
  925. >
  926. <div class="jdTopBox" v-if="jd.staTitle != ''" :id="'jd' + jdIndex">
  927. <div class="jdTopNav">
  928. <div class="jdLeftNav">
  929. <div
  930. class="jdImg"
  931. style="width: 25px; height: 25px; padding-left: 3px"
  932. >
  933. <img
  934. src="../../../../assets/icon/anliDetail/jdNewTitle.png"
  935. alt=""
  936. />
  937. </div>
  938. <div class="jdLeftTitle">
  939. <div>阶段{{ jdIndex + 1 }}</div>
  940. <div>{{ jd.staTitle }}</div>
  941. </div>
  942. </div>
  943. <div class="jdRightNav" v-if="jd.allTime">
  944. {{ jd.allTime }}课时
  945. </div>
  946. <div class="funBlock" style="padding: 0; bottom: 2px">
  947. <div
  948. class="fold"
  949. @click="fold1(jdIndex, $event, 1)"
  950. v-if="jd.isFold == 0"
  951. >
  952. <div>折叠</div>
  953. </div>
  954. <div
  955. class="fold"
  956. @click="fold1(jdIndex, $event, 0)"
  957. v-if="jd.isFold == 1"
  958. >
  959. <div>展开</div>
  960. </div>
  961. </div>
  962. </div>
  963. </div>
  964. <div
  965. v-for="(hd, hdIndex) in jd.actBox"
  966. :key="hdIndex"
  967. style="margin-top: 20px"
  968. >
  969. <div
  970. class="jdTopBox"
  971. style="padding: 10px 20px"
  972. v-if="hd.actName != ''"
  973. >
  974. <div class="jdTopNav">
  975. <div class="jdLeftNav">
  976. <div class="jdImg">
  977. <img
  978. src="../../../../assets/icon/anliDetail/rwTitle.png"
  979. alt=""
  980. />
  981. </div>
  982. <div class="jdLeftTitle">
  983. <div>任务{{ hdIndex + 1 }}</div>
  984. <div>{{ hd.actName }}</div>
  985. </div>
  986. </div>
  987. <div class="jdRightNav" v-if="hd.actTime">
  988. {{ hd.actTime }}课时
  989. </div>
  990. <!-- <div class="funBlock" style="padding: 0">
  991. <div
  992. class="fold"
  993. @click="fold(hdIndex, jdIndex, $event, 1)"
  994. v-if="hd.isFold == 0"
  995. >
  996. <div>折叠</div>
  997. </div>
  998. <div
  999. class="fold"
  1000. @click="fold(hdIndex, jdIndex, $event, 0)"
  1001. v-if="hd.isFold == 1"
  1002. >
  1003. <div>展开</div>
  1004. </div>
  1005. </div> -->
  1006. </div>
  1007. </div>
  1008. <div
  1009. class="proOverCss"
  1010. v-if="
  1011. (hd.driQuestion.imgBox.length > 0 &&
  1012. hd.driQuestion.imgBox[0].type == 3) ||
  1013. hd.driQuestion.data.length
  1014. "
  1015. >
  1016. <div class="whiteBg whiteLeft">
  1017. <div class="navBgTop">
  1018. <div class="jdNavBg">活动目标</div>
  1019. <el-button
  1020. v-if="hd.driQuestion.brief != ''"
  1021. @click="selectNav(hd.driQuestion.brief)"
  1022. >查看更多</el-button
  1023. >
  1024. </div>
  1025. <div
  1026. v-if="
  1027. hd.driQuestion.brief != '' ||
  1028. hd.driQuestion.imgBox.length > 0
  1029. "
  1030. class="imgAndNav"
  1031. >
  1032. <!-- <div
  1033. class="leftBox"
  1034. style="padding: 10px 0 0 35px"
  1035. v-if="
  1036. hd.driQuestion.imgBox.length > 0 &&
  1037. hd.driQuestion.imgBox[0].type == 3
  1038. "
  1039. >
  1040. <div
  1041. class="leftImg"
  1042. @click="
  1043. lookFile1(
  1044. hd.driQuestion.imgBox[0].url,
  1045. hd.driQuestion.imgBox[0].type
  1046. )
  1047. "
  1048. v-if="hd.driQuestion.imgBox[0].type == 3"
  1049. >
  1050. <img :src="hd.driQuestion.imgBox[0].url" alt="" />
  1051. </div>
  1052. </div> -->
  1053. <div
  1054. class="proOverNav"
  1055. v-html="hd.driQuestion ? hd.driQuestion.brief : ''"
  1056. style="margin: 10px 0 0 20px"
  1057. ></div>
  1058. </div>
  1059. <div class="noFile" v-else>
  1060. <img
  1061. src="../../../../assets/icon/anliDetail/noFile.jpg"
  1062. alt=""
  1063. />
  1064. </div>
  1065. </div>
  1066. </div>
  1067. <div
  1068. class="proOverCss"
  1069. v-if="
  1070. hd.tarDesign.brief != '' ||
  1071. hd.tarDesign.imgBox.length > 0 ||
  1072. hd.tarDesign.data.length
  1073. "
  1074. >
  1075. <div class="whiteBg whiteLeft">
  1076. <div class="navBgTop">
  1077. <div class="jdNavBg">活动内容</div>
  1078. <el-button
  1079. v-if="hd.tarDesign.brief != ''"
  1080. @click="selectNav(hd.tarDesign.brief)"
  1081. >查看更多</el-button
  1082. >
  1083. </div>
  1084. <div
  1085. v-if="
  1086. hd.tarDesign.brief != '' || hd.tarDesign.imgBox.length > 0
  1087. "
  1088. class="imgAndNav"
  1089. >
  1090. <!-- <div
  1091. class="leftBox"
  1092. style="padding: 10px 0 0 35px"
  1093. v-if="
  1094. hd.tarDesign.imgBox.length > 0 &&
  1095. hd.tarDesign.imgBox[0].type == 3
  1096. "
  1097. >
  1098. <div
  1099. class="leftImg"
  1100. @click="
  1101. lookFile1(
  1102. hd.tarDesign.imgBox[0].url,
  1103. hd.tarDesign.imgBox[0].type
  1104. )
  1105. "
  1106. v-if="hd.tarDesign.imgBox[0].type == 3"
  1107. >
  1108. <img :src="hd.tarDesign.imgBox[0].url" alt="" />
  1109. </div>
  1110. </div> -->
  1111. <div
  1112. class="proOverNav"
  1113. v-html="hd.tarDesign ? hd.tarDesign.brief : ''"
  1114. style="margin: 10px 0 0 20px"
  1115. ></div>
  1116. </div>
  1117. <div class="noFile" v-else>
  1118. <img
  1119. src="../../../../assets/icon/anliDetail/noFile.jpg"
  1120. alt=""
  1121. />
  1122. </div>
  1123. </div>
  1124. </div>
  1125. <div
  1126. class="proOverCss"
  1127. v-if="
  1128. hd.actiDesign.brief != '' ||
  1129. hd.actiDesign.imgBox.length > 0 ||
  1130. hd.actiDesign.data.length
  1131. "
  1132. >
  1133. <div class="whiteBg whiteLeft">
  1134. <div class="navBgTop">
  1135. <div class="jdNavBg">预期成果</div>
  1136. <el-button
  1137. v-if="hd.actiDesign.brief != ''"
  1138. @click="selectNav(hd.actiDesign.brief)"
  1139. >查看更多</el-button
  1140. >
  1141. </div>
  1142. <div
  1143. v-if="
  1144. hd.actiDesign.brief != '' ||
  1145. hd.actiDesign.imgBox.length > 0
  1146. "
  1147. class="imgAndNav"
  1148. >
  1149. <!-- <div
  1150. class="leftBox"
  1151. style="padding: 10px 0 0 35px"
  1152. v-if="
  1153. hd.actiDesign.imgBox.length > 0 &&
  1154. hd.actiDesign.imgBox[0].type == 3
  1155. "
  1156. >
  1157. <div
  1158. class="leftImg"
  1159. @click="
  1160. lookFile1(
  1161. hd.actiDesign.imgBox[0].url,
  1162. hd.actiDesign.imgBox[0].type
  1163. )
  1164. "
  1165. v-if="hd.actiDesign.imgBox[0].type == 3"
  1166. >
  1167. <img :src="hd.actiDesign.imgBox[0].url" alt="" />
  1168. </div>
  1169. </div> -->
  1170. <div
  1171. class="proOverNav"
  1172. v-html="hd.actiDesign ? hd.actiDesign.brief : ''"
  1173. style="margin: 10px 0 0 20px"
  1174. ></div>
  1175. </div>
  1176. <div class="noFile" v-else>
  1177. <img
  1178. src="../../../../assets/icon/anliDetail/noFile.jpg"
  1179. alt=""
  1180. />
  1181. </div>
  1182. </div>
  1183. </div>
  1184. <div
  1185. class="proOverCss"
  1186. v-if="
  1187. hd.evaDesign.brief != '' ||
  1188. hd.evaDesign.imgBox.length > 0 ||
  1189. hd.evaDesign.data.length
  1190. "
  1191. >
  1192. <div class="whiteBg whiteLeft">
  1193. <div class="navBgTop">
  1194. <div class="jdNavBg">活动评价</div>
  1195. <el-button
  1196. v-if="hd.evaDesign.brief != ''"
  1197. @click="selectNav(hd.evaDesign.brief)"
  1198. >查看更多</el-button
  1199. >
  1200. </div>
  1201. <div
  1202. v-if="
  1203. hd.evaDesign.brief != '' || hd.evaDesign.imgBox.length > 0
  1204. "
  1205. class="imgAndNav"
  1206. >
  1207. <!-- <div
  1208. class="leftBox"
  1209. style="padding: 10px 0 0 35px"
  1210. v-if="
  1211. hd.evaDesign.imgBox.length > 0 &&
  1212. hd.evaDesign.imgBox[0].type == 3
  1213. "
  1214. >
  1215. <div
  1216. class="leftImg"
  1217. @click="
  1218. lookFile1(
  1219. hd.evaDesign.imgBox[0].url,
  1220. hd.evaDesign.imgBox[0].type
  1221. )
  1222. "
  1223. v-if="hd.evaDesign.imgBox[0].type == 3"
  1224. >
  1225. <img :src="hd.evaDesign.imgBox[0].url" alt="" />
  1226. </div>
  1227. </div> -->
  1228. <div
  1229. class="proOverNav"
  1230. v-html="hd.evaDesign ? hd.evaDesign.brief : ''"
  1231. style="margin: 10px 0 0 20px"
  1232. ></div>
  1233. </div>
  1234. <div class="noFile" v-else>
  1235. <img
  1236. src="../../../../assets/icon/anliDetail/noFile.jpg"
  1237. alt=""
  1238. />
  1239. </div>
  1240. </div>
  1241. </div>
  1242. </div>
  1243. </div>
  1244. <div
  1245. class="jdTopBox"
  1246. id="fouth"
  1247. v-if="anliBox[0].process.stageBox[0].brief != ''"
  1248. >
  1249. <div class="jdTopNav" style="font-size: 18px">
  1250. <div class="jdLeftNav">
  1251. <div class="jdImg">
  1252. <img
  1253. src="../../../../assets/icon/anliDetail/jdTitle.png"
  1254. alt=""
  1255. />
  1256. </div>
  1257. <div class="jdLeftTitle">
  1258. <div>项目活动过程</div>
  1259. </div>
  1260. </div>
  1261. </div>
  1262. </div>
  1263. <div
  1264. v-for="(jd, jdIndex) in anliBox[0].process.stageBox"
  1265. :key="jdIndex"
  1266. >
  1267. <div
  1268. class="proOverCss"
  1269. v-if="jd.brief != '' || jd.imgBox.length > 0 || jd.data.length"
  1270. >
  1271. <div class="whiteBg whiteLeft">
  1272. <div class="navBgTop">
  1273. <div class="navBg">阶段{{ jdIndex + 1 }}</div>
  1274. <el-button v-if="jd.brief != ''" @click="selectNav(jd.brief)"
  1275. >查看更多</el-button
  1276. >
  1277. </div>
  1278. <div
  1279. v-if="jd.brief != '' || jd.imgBox.length > 0"
  1280. class="imgAndNav"
  1281. >
  1282. <!-- <div
  1283. class="leftBox"
  1284. v-if="jd.imgBox.length > 0 && jd.imgBox[0].type == 3"
  1285. >
  1286. <div
  1287. class="leftImg"
  1288. @click="lookFile1(jd.imgBox[0].url, jd.imgBox[0].type)"
  1289. v-if="jd.imgBox[0].type == 3"
  1290. >
  1291. <img :src="jd.imgBox[0].url" alt="" />
  1292. </div>
  1293. </div> -->
  1294. <div class="proOverNav" v-html="jd ? jd.brief : ''"></div>
  1295. <div class="fileLook" v-if="pptImgUrl2.proData[jdIndex]">
  1296. <div class="whiteRight">
  1297. <div class="fileTopAll">
  1298. <div class="fileTop">
  1299. <div class="fileListImg">
  1300. <img
  1301. src="../../../../assets/icon/anliDetail/fileList.png"
  1302. alt=""
  1303. />
  1304. </div>
  1305. <div>项⽬材料</div>
  1306. </div>
  1307. <el-button
  1308. @click="lookFile1(pptImgUrl2.proData[jdIndex].url)"
  1309. >全屏查看</el-button
  1310. >
  1311. </div>
  1312. <div class="upCss">
  1313. <div class="look_file">
  1314. <pdf
  1315. v-if="pptImgUrl2.proData[jdIndex].showType == 1"
  1316. :pdfUrl="pptImgUrl2.proData[jdIndex].url"
  1317. style="width: 100%; height: 400px; overflow: auto"
  1318. :class="{ fullStyle: full }"
  1319. ></pdf>
  1320. <iframe
  1321. v-else-if="
  1322. pptImgUrl2.proData[jdIndex].showType == 2
  1323. "
  1324. :src="pptImgUrl2.proData[jdIndex].url"
  1325. frameborder="0"
  1326. width="100%"
  1327. height="400"
  1328. :class="{ fullStyle: full }"
  1329. ></iframe>
  1330. <div
  1331. class="workd_media"
  1332. style="height: 400px"
  1333. v-else-if="
  1334. pptImgUrl2.proData[jdIndex].showType == 3
  1335. "
  1336. >
  1337. <video-player
  1338. class="video-player vjs-custom-skin"
  1339. :playsinline="true"
  1340. :options="pptImgUrl2.proData[jdIndex].playerO"
  1341. @play="onPlayerPlay($event)"
  1342. style="width: 70%; height: 400px; margin: 0 auto"
  1343. ></video-player>
  1344. </div>
  1345. <div
  1346. class="leftImg"
  1347. style="height: 400px"
  1348. v-else-if="
  1349. pptImgUrl2.proData[jdIndex].showType == 4
  1350. "
  1351. >
  1352. <img
  1353. :src="pptImgUrl2.proData[jdIndex].url"
  1354. alt=""
  1355. />
  1356. </div>
  1357. </div>
  1358. <div class="fileBox">
  1359. <div class="fileList" v-if="jd.data.length">
  1360. <div
  1361. class="file"
  1362. v-for="(f, fIndex) in jd.data"
  1363. :key="fIndex"
  1364. >
  1365. <div class="fileCss">
  1366. <div>
  1367. {{ fIndex + 1 }}.{{
  1368. f.type == 1
  1369. ? "文档"
  1370. : f.type == 2
  1371. ? "视频"
  1372. : "图片"
  1373. }}
  1374. </div>
  1375. <div>
  1376. <div
  1377. @click="
  1378. lookFile2(f.url, f.type, 4, jdIndex)
  1379. "
  1380. >
  1381. {{ f.name }}
  1382. </div>
  1383. <!-- <div class="downFile" @click="downloadFile(f.url)">
  1384. <img
  1385. src="../../../../assets/icon/anliDetail/down.png"
  1386. alt=""
  1387. />
  1388. </div> -->
  1389. </div>
  1390. </div>
  1391. </div>
  1392. </div>
  1393. <div class="noFile" v-else>
  1394. <img
  1395. src="../../../../assets/icon/anliDetail/noFile.jpg"
  1396. alt=""
  1397. />
  1398. </div>
  1399. </div>
  1400. </div>
  1401. </div>
  1402. </div>
  1403. </div>
  1404. <div class="noFile" v-else>
  1405. <img
  1406. src="../../../../assets/icon/anliDetail/noFile.jpg"
  1407. alt=""
  1408. />
  1409. </div>
  1410. </div>
  1411. </div>
  1412. </div>
  1413. <div
  1414. class="jdTopBox"
  1415. id="fivth"
  1416. v-if="
  1417. anliBox[0].proexc.brief != '' ||
  1418. anliBox[0].proexc.imgBox.length > 0 ||
  1419. anliBox[0].proexc.data.length
  1420. "
  1421. >
  1422. <div class="jdTopNav" style="font-size: 18px">
  1423. <div class="jdLeftNav">
  1424. <div class="jdImg">
  1425. <img
  1426. src="../../../../assets/icon/anliDetail/jdTitle.png"
  1427. alt=""
  1428. />
  1429. </div>
  1430. <div class="jdLeftTitle">
  1431. <div>项目成果交流与评价</div>
  1432. </div>
  1433. </div>
  1434. </div>
  1435. </div>
  1436. <div
  1437. class="proOverCss"
  1438. v-if="
  1439. anliBox[0].proexc.brief != '' ||
  1440. anliBox[0].proexc.imgBox.length > 0 ||
  1441. anliBox[0].proexc.data.length
  1442. "
  1443. >
  1444. <div class="whiteBg whiteLeft">
  1445. <div class="navBgTop">
  1446. <div class="navBg">活动成效</div>
  1447. <el-button
  1448. v-if="anliBox[0].proexc.brief != ''"
  1449. @click="selectNav(anliBox[0].proexc.brief)"
  1450. >查看更多</el-button
  1451. >
  1452. </div>
  1453. <div
  1454. v-if="
  1455. anliBox[0].proexc.brief != '' ||
  1456. anliBox[0].proexc.imgBox.length > 0
  1457. "
  1458. class="imgAndNav"
  1459. >
  1460. <!-- <div
  1461. class="leftBox"
  1462. v-if="
  1463. anliBox[0].proexc.imgBox.length > 0 &&
  1464. anliBox[0].proexc.imgBox[0].type == 3
  1465. "
  1466. >
  1467. <div
  1468. class="leftImg"
  1469. @click="
  1470. lookFile1(
  1471. anliBox[0].proexc.imgBox[0].url,
  1472. anliBox[0].proexc.imgBox[0].type
  1473. )
  1474. "
  1475. v-if="anliBox[0].proexc.imgBox[0].type == 3"
  1476. >
  1477. <img :src="anliBox[0].proexc.imgBox[0].url" alt="" />
  1478. </div>
  1479. </div> -->
  1480. <div
  1481. class="proOverNav"
  1482. v-html="anliBox[0].proexc ? anliBox[0].proexc.brief : ''"
  1483. ></div>
  1484. <div
  1485. class="fileLook"
  1486. v-if="
  1487. pptImgUrl2.excData != undefined &&
  1488. Object.keys(pptImgUrl2.excData).length
  1489. "
  1490. >
  1491. <div class="whiteRight">
  1492. <div class="fileTopAll">
  1493. <div class="fileTop">
  1494. <div class="fileListImg">
  1495. <img
  1496. src="../../../../assets/icon/anliDetail/fileList.png"
  1497. alt=""
  1498. />
  1499. </div>
  1500. <div>项⽬材料</div>
  1501. </div>
  1502. <el-button @click="lookFile1(pptImgUrl2.excData.url)"
  1503. >全屏查看</el-button
  1504. >
  1505. </div>
  1506. <div class="upCss">
  1507. <div class="look_file">
  1508. <pdf
  1509. v-if="pptImgUrl2.excData.showType == 1"
  1510. :pdfUrl="pptImgUrl2.excData.url"
  1511. style="width: 100%; height: 400px; overflow: auto"
  1512. :class="{ fullStyle: full }"
  1513. ></pdf>
  1514. <iframe
  1515. v-else-if="pptImgUrl2.excData.showType == 2"
  1516. :src="pptImgUrl2.excData.url"
  1517. frameborder="0"
  1518. width="100%"
  1519. height="400"
  1520. :class="{ fullStyle: full }"
  1521. ></iframe>
  1522. <div
  1523. class="workd_media"
  1524. style="height: 400px"
  1525. v-else-if="pptImgUrl2.excData.showType == 3"
  1526. >
  1527. <video-player
  1528. class="video-player vjs-custom-skin"
  1529. :playsinline="true"
  1530. :options="pptImgUrl2.excData.playerO"
  1531. @play="onPlayerPlay($event)"
  1532. style="width: 70%; height: 400px; margin: 0 auto"
  1533. ></video-player>
  1534. </div>
  1535. <div
  1536. class="leftImg"
  1537. style="height: 400px"
  1538. v-else-if="pptImgUrl2.excData.showType == 4"
  1539. >
  1540. <img :src="pptImgUrl2.excData.url" alt="" />
  1541. </div>
  1542. </div>
  1543. <div class="fileBox">
  1544. <div
  1545. class="fileList"
  1546. v-if="anliBox[0].proexc.data.length"
  1547. >
  1548. <div
  1549. class="file"
  1550. v-for="(f, fIndex) in anliBox[0].proexc.data"
  1551. :key="fIndex"
  1552. >
  1553. <div class="fileCss">
  1554. <div>
  1555. {{ fIndex + 1 }}.{{
  1556. f.type == 1
  1557. ? "文档"
  1558. : f.type == 2
  1559. ? "视频"
  1560. : "图片"
  1561. }}
  1562. </div>
  1563. <div>
  1564. <div @click="lookFile2(f.url, f.type, 5)">
  1565. {{ f.name }}
  1566. </div>
  1567. <!-- <div class="downFile" @click="downloadFile(f.url)">
  1568. <img
  1569. src="../../../../assets/icon/anliDetail/down.png"
  1570. alt=""
  1571. />
  1572. </div> -->
  1573. </div>
  1574. </div>
  1575. </div>
  1576. </div>
  1577. <div class="noFile" v-else>
  1578. <img
  1579. src="../../../../assets/icon/anliDetail/noFile.jpg"
  1580. alt=""
  1581. />
  1582. </div>
  1583. </div>
  1584. </div>
  1585. </div>
  1586. </div>
  1587. </div>
  1588. <div class="noFile" v-else>
  1589. <img
  1590. src="../../../../assets/icon/anliDetail/noFile.jpg"
  1591. alt=""
  1592. />
  1593. </div>
  1594. </div>
  1595. </div>
  1596. <div
  1597. class="jdTopBox"
  1598. id="sixth"
  1599. v-if="
  1600. anliBox[0].results.brief != '' ||
  1601. anliBox[0].results.imgBox.length > 0 ||
  1602. anliBox[0].results.data.length
  1603. "
  1604. >
  1605. <div class="jdTopNav" style="font-size: 18px">
  1606. <div class="jdLeftNav">
  1607. <div class="jdImg">
  1608. <img
  1609. src="../../../../assets/icon/anliDetail/jdTitle.png"
  1610. alt=""
  1611. />
  1612. </div>
  1613. <div class="jdLeftTitle">
  1614. <div>项目成效与反思</div>
  1615. </div>
  1616. </div>
  1617. </div>
  1618. </div>
  1619. <div
  1620. class="proOverCss"
  1621. v-if="
  1622. anliBox[0].results.brief != '' ||
  1623. anliBox[0].results.imgBox.length > 0 ||
  1624. anliBox[0].results.data.length
  1625. "
  1626. >
  1627. <div class="whiteBg whiteLeft">
  1628. <div class="navBgTop">
  1629. <div class="navBg">活动反思</div>
  1630. <el-button
  1631. v-if="anliBox[0].results.brief != ''"
  1632. @click="selectNav(anliBox[0].results.brief)"
  1633. >查看更多</el-button
  1634. >
  1635. </div>
  1636. <div
  1637. v-if="
  1638. anliBox[0].results.brief != '' ||
  1639. anliBox[0].results.imgBox.length > 0
  1640. "
  1641. class="imgAndNav"
  1642. >
  1643. <!-- <div
  1644. class="leftBox"
  1645. v-if="
  1646. anliBox[0].results.imgBox.length > 0 &&
  1647. anliBox[0].results.imgBox[0].type == 3
  1648. "
  1649. >
  1650. <div
  1651. class="leftImg"
  1652. @click="
  1653. lookFile1(
  1654. anliBox[0].results.imgBox[0].url,
  1655. anliBox[0].results.imgBox[0].type
  1656. )
  1657. "
  1658. v-if="anliBox[0].results.imgBox[0].type == 3"
  1659. >
  1660. <img :src="anliBox[0].results.imgBox[0].url" alt="" />
  1661. </div>
  1662. </div> -->
  1663. <div
  1664. class="proOverNav"
  1665. v-html="anliBox[0].results ? anliBox[0].results.brief : ''"
  1666. ></div>
  1667. <div
  1668. class="fileLook"
  1669. v-if="
  1670. pptImgUrl2.effData != undefined &&
  1671. Object.keys(pptImgUrl2.effData).length
  1672. "
  1673. >
  1674. <div class="whiteRight">
  1675. <div class="fileTopAll">
  1676. <div class="fileTop">
  1677. <div class="fileListImg">
  1678. <img
  1679. src="../../../../assets/icon/anliDetail/fileList.png"
  1680. alt=""
  1681. />
  1682. </div>
  1683. <div>项⽬材料</div>
  1684. </div>
  1685. <el-button @click="lookFile1(pptImgUrl2.effData.url)"
  1686. >全屏查看</el-button
  1687. >
  1688. </div>
  1689. <div class="upCss">
  1690. <div class="look_file">
  1691. <pdf
  1692. v-if="pptImgUrl2.effData.showType == 1"
  1693. :pdfUrl="pptImgUrl2.effData.url"
  1694. style="width: 100%; height: 400px; overflow: auto"
  1695. :class="{ fullStyle: full }"
  1696. ></pdf>
  1697. <iframe
  1698. v-else-if="pptImgUrl2.effData.showType == 2"
  1699. :src="pptImgUrl2.effData.url"
  1700. frameborder="0"
  1701. width="100%"
  1702. height="400"
  1703. :class="{ fullStyle: full }"
  1704. ></iframe>
  1705. <div
  1706. class="workd_media"
  1707. style="height: 400px"
  1708. v-else-if="pptImgUrl2.effData.showType == 3"
  1709. >
  1710. <video-player
  1711. class="video-player vjs-custom-skin"
  1712. :playsinline="true"
  1713. :options="pptImgUrl2.effData.playerO"
  1714. @play="onPlayerPlay($event)"
  1715. style="width: 70%; height: 400px; margin: 0 auto"
  1716. ></video-player>
  1717. </div>
  1718. <div
  1719. class="leftImg"
  1720. style="height: 400px"
  1721. v-else-if="pptImgUrl2.effData.showType == 4"
  1722. >
  1723. <img :src="pptImgUrl2.effData.url" alt="" />
  1724. </div>
  1725. </div>
  1726. <div class="fileBox">
  1727. <div
  1728. class="fileList"
  1729. v-if="anliBox[0].results.data.length"
  1730. >
  1731. <div
  1732. class="file"
  1733. v-for="(f, fIndex) in anliBox[0].results.data"
  1734. :key="fIndex"
  1735. >
  1736. <div class="fileCss">
  1737. <div>
  1738. {{ fIndex + 1 }}.{{
  1739. f.type == 1
  1740. ? "文档"
  1741. : f.type == 2
  1742. ? "视频"
  1743. : "图片"
  1744. }}
  1745. </div>
  1746. <div>
  1747. <div @click="lookFile2(f.url, f.type, 6)">
  1748. {{ f.name }}
  1749. </div>
  1750. <!-- <div class="downFile" @click="downloadFile(f.url)">
  1751. <img
  1752. src="../../../../assets/icon/anliDetail/down.png"
  1753. alt=""
  1754. />
  1755. </div> -->
  1756. </div>
  1757. </div>
  1758. </div>
  1759. </div>
  1760. <div class="noFile" v-else>
  1761. <img
  1762. src="../../../../assets/icon/anliDetail/noFile.jpg"
  1763. alt=""
  1764. />
  1765. </div>
  1766. </div>
  1767. </div>
  1768. </div>
  1769. </div>
  1770. </div>
  1771. <div class="noFile" v-else>
  1772. <img
  1773. src="../../../../assets/icon/anliDetail/noFile.jpg"
  1774. alt=""
  1775. />
  1776. </div>
  1777. </div>
  1778. </div>
  1779. </div>
  1780. </div>
  1781. <!-- <div class="fixBottom">
  1782. <div class="returnAnLi" style="width: 100px" @click="goToX()">
  1783. 前往评分
  1784. </div>
  1785. <div class="returnAnLi" @click="returnWhere">返回</div>
  1786. </div> -->
  1787. <div class="returnTop" v-if="isNavTop >= 300" @click="reTop">
  1788. 回到顶部
  1789. </div>
  1790. </div>
  1791. <el-dialog
  1792. title="查看详情"
  1793. :visible.sync="dialogVisibleBrief"
  1794. :append-to-body="true"
  1795. width="1000px"
  1796. height="80%"
  1797. :before-close="handleClose"
  1798. class="add_student"
  1799. >
  1800. <div class="detailTable" v-html="briefNav"></div>
  1801. <span slot="footer" class="dialog-footer">
  1802. <el-button @click="dialogVisibleBrief = false">关 闭</el-button>
  1803. </span>
  1804. </el-dialog>
  1805. <el-dialog
  1806. title="文件预览"
  1807. :visible.sync="dialogVisible"
  1808. width="100%"
  1809. :before-close="handleClose"
  1810. class="dialog_diy"
  1811. :class="{ fullStyle: full }"
  1812. >
  1813. <div slot="title" class="header-title">
  1814. <div style="color: #fff">文件预览</div>
  1815. <div style="position: absolute; top: 19px; right: 50px">
  1816. <img
  1817. src="../../../../assets/full.png"
  1818. style="height: 16px; cursor: pointer"
  1819. alt=""
  1820. @click="fullTools"
  1821. />
  1822. </div>
  1823. </div>
  1824. <pdf
  1825. v-if="showPDF"
  1826. :pdfUrl="pptImgUrl"
  1827. style="width: 100%; height: 100%; overflow: auto"
  1828. :class="{ fullStyle: full }"
  1829. ></pdf>
  1830. <iframe
  1831. v-else
  1832. :src="pptImgUrl"
  1833. frameborder="0"
  1834. width="100%"
  1835. height="800"
  1836. :class="{ fullStyle: full }"
  1837. ></iframe>
  1838. </el-dialog>
  1839. <el-dialog
  1840. title="查看视频"
  1841. :visible.sync="videoVisible"
  1842. :append-to-body="true"
  1843. width="1000px"
  1844. :before-close="handleClose"
  1845. class="dialog_diy1"
  1846. >
  1847. <div class="workd_media" style="height: 100%" v-if="videoDetail.sources">
  1848. <video-player
  1849. class="video-player vjs-custom-skin"
  1850. :playsinline="true"
  1851. :options="videoDetail"
  1852. @play="onPlayerPlay($event)"
  1853. style="width: 100%; height: 100%"
  1854. ></video-player>
  1855. </div>
  1856. <div slot="footer">
  1857. <el-button
  1858. style="background: #409efe; color: #fff"
  1859. @click="(videoVisible = false), (videoDetail.sources[0].src = '')"
  1860. >
  1861. 关 闭</el-button
  1862. >
  1863. </div>
  1864. </el-dialog>
  1865. </div>
  1866. </template>
  1867. <script>
  1868. import pdf from "../../components/vpdf";
  1869. export default {
  1870. components: {
  1871. pdf,
  1872. },
  1873. data() {
  1874. return {
  1875. dialogVisibleBrief: false,
  1876. dialogVisible: false,
  1877. showPDF: false,
  1878. showPDF1: false,
  1879. videoVisible: false,
  1880. full: false,
  1881. briefNav: "",
  1882. pptImgUrl: "",
  1883. pptImgUrl1: {
  1884. infoData: [],
  1885. overData: {
  1886. driData: [],
  1887. tarData: [],
  1888. actData: [],
  1889. },
  1890. proData: [],
  1891. excData: [],
  1892. effData: [],
  1893. },
  1894. pptImgUrl2: {
  1895. infoData: {},
  1896. overData: {
  1897. driData: {},
  1898. tarData: {},
  1899. actData: {},
  1900. },
  1901. proData: {},
  1902. excData: {},
  1903. effData: {},
  1904. },
  1905. fileImg: "",
  1906. userid: this.$store.state.userInfo.userid,
  1907. oid: this.$store.state.userInfo.school,
  1908. aid: this.$route.query.aid,
  1909. anliBox: [],
  1910. imgAnliBox: [],
  1911. noBanner: require("../../../../assets/noBanner.jpg"),
  1912. videoDetail: {},
  1913. playerOptions: {
  1914. playbackRates: [0.7, 1.0, 1.5, 2.0], //播放速度
  1915. autoplay: false, //如果true,浏览器准备好时开始回放。
  1916. muted: false, // 默认情况下将会消除任何音频。
  1917. loop: false, // 导致视频一结束就重新开始。
  1918. preload: "auto", // 建议浏览器在<video>加载元素后是否应该开始下载视频数据。auto浏览器选择最佳行为,立即开始加载视频(如果浏览器支持)
  1919. language: "zh-CN",
  1920. aspectRatio: "16:9", // 将播放器置于流畅模式,并在计算播放器的动态大小时使用该值。值应该代表一个比例 - 用冒号分隔的两个数字(例如"16:9"或"4:3")
  1921. fluid: true, // 当true时,Video.js player将拥有流体大小。换句话说,它将按比例缩放以适应其容器。
  1922. sources: [
  1923. {
  1924. type: "video/mp4", //这里的种类支持很多种:基本视频格式、直播、流媒体等,具体可以参看git网址项目 || "video/ogg"|| "video/webm"
  1925. src: "", //url地址require("../../assets/media/aaa.mp4")
  1926. },
  1927. ],
  1928. // poster: require("../../assets/tu31.png"), //你的封面地址
  1929. // poster: dataRes.imgUrl, //你的封面地址
  1930. notSupportedMessage: "此视频暂无法播放,请稍后再试", //允许覆盖Video.js无法播放媒体源时显示的默认信息。
  1931. controlBar: {
  1932. timeDivider: true, //当前时间和持续时间的分隔符
  1933. durationDisplay: true, //显示持续时间
  1934. remainingTimeDisplay: false, //是否显示剩余时间功能
  1935. fullscreenToggle: true, //全屏按钮
  1936. },
  1937. },
  1938. playerO: {},
  1939. isNavTop: 0,
  1940. };
  1941. },
  1942. methods: {
  1943. handleClose(done) {
  1944. done();
  1945. },
  1946. goTo(path) {
  1947. this.$router.push(path);
  1948. },
  1949. goToX() {
  1950. this.$message("暂未开放");
  1951. return;
  1952. },
  1953. previewImg(url) {
  1954. this.$hevueImgPreview(url);
  1955. },
  1956. fullTools() {
  1957. this.full = !this.full;
  1958. },
  1959. // returnWhere() {
  1960. // if (this.type == 0) {
  1961. // this.goTo("/eventCenter?steps=" + "2");
  1962. // } else {
  1963. // this.goTo("/anliList");
  1964. // }
  1965. // },
  1966. selectAnLi() {
  1967. let params = {
  1968. id: this.aid,
  1969. };
  1970. this.ajax
  1971. .get(this.$store.state.api + "selectRaceDetail", params)
  1972. .then((res) => {
  1973. this.anliBox = res.data[0];
  1974. this.anliBox[0].info = JSON.parse(this.anliBox[0].info);
  1975. this.anliBox[0].overview = JSON.parse(this.anliBox[0].overview);
  1976. this.anliBox[0].process = JSON.parse(this.anliBox[0].process);
  1977. this.anliBox[0].proact = JSON.parse(this.anliBox[0].proact);
  1978. this.anliBox[0].proexc = JSON.parse(this.anliBox[0].proexc);
  1979. this.anliBox[0].results = JSON.parse(this.anliBox[0].results);
  1980. var a = this.anliBox[0].info;
  1981. var b = this.anliBox[0].overview;
  1982. var c = this.anliBox[0].process;
  1983. var d = this.anliBox[0].proact;
  1984. var e = this.anliBox[0].proexc;
  1985. var f = this.anliBox[0].results;
  1986. a.imgBox = [];
  1987. b.driQuestion.imgBox = [];
  1988. b.tarDesign.imgBox = [];
  1989. b.actiDesign.imgBox = [];
  1990. e.imgBox = [];
  1991. f.imgBox = [];
  1992. for (var i = 0; i < a.data.length; i++) {
  1993. if (a.data[i].type == 3) {
  1994. a.imgBox.push({
  1995. url: a.data[i].url,
  1996. type: a.data[i].type,
  1997. });
  1998. }
  1999. this.pptImgUrl1.infoData.push({
  2000. url: a.data[i].url,
  2001. type: a.data[i].type,
  2002. proVisible: false,
  2003. });
  2004. }
  2005. for (var i = 0; i < b.driQuestion.data.length; i++) {
  2006. if (b.driQuestion.data[i].type == 3) {
  2007. b.driQuestion.imgBox.push({
  2008. url: b.driQuestion.data[i].url,
  2009. type: b.driQuestion.data[i].type,
  2010. });
  2011. }
  2012. this.pptImgUrl1.overData.driData.push({
  2013. url: b.driQuestion.data[i].url,
  2014. type: b.driQuestion.data[i].type,
  2015. proVisible: false,
  2016. });
  2017. }
  2018. for (var i = 0; i < b.tarDesign.data.length; i++) {
  2019. if (b.tarDesign.data[i].type == 3) {
  2020. b.tarDesign.imgBox.push({
  2021. url: b.tarDesign.data[i].url,
  2022. type: b.tarDesign.data[i].type,
  2023. });
  2024. }
  2025. this.pptImgUrl1.overData.tarData.push({
  2026. url: b.tarDesign.data[i].url,
  2027. type: b.tarDesign.data[i].type,
  2028. proVisible: false,
  2029. });
  2030. }
  2031. for (var i = 0; i < b.actiDesign.data.length; i++) {
  2032. if (b.actiDesign.data[i].type == 3) {
  2033. b.actiDesign.imgBox.push({
  2034. url: b.actiDesign.data[i].url,
  2035. type: b.actiDesign.data[i].type,
  2036. });
  2037. }
  2038. this.pptImgUrl1.overData.actData.push({
  2039. url: b.actiDesign.data[i].url,
  2040. type: b.actiDesign.data[i].type,
  2041. proVisible: false,
  2042. });
  2043. }
  2044. for (var i = 0; i < c.stageBox.length; i++) {
  2045. c.stageBox[i].imgBox = [];
  2046. this.pptImgUrl1.proData[i] = [];
  2047. c.stageBox[i].isFold = "";
  2048. c.stageBox[i].isFold = 0;
  2049. for (var j = 0; j < c.stageBox[i].data.length; j++) {
  2050. if (c.stageBox[i].data[j].type == 3) {
  2051. c.stageBox[i].imgBox.push({
  2052. url: c.stageBox[i].data[j].url,
  2053. type: c.stageBox[i].data[j].type,
  2054. });
  2055. }
  2056. this.pptImgUrl1.proData[i].push({
  2057. url: c.stageBox[i].data[j].url,
  2058. type: c.stageBox[i].data[j].type,
  2059. proVisible: false,
  2060. });
  2061. }
  2062. for (var z = 0; z < c.stageBox[i].actBox.length; z++) {
  2063. c.stageBox[i].actBox[z].driQuestion.imgBox = [];
  2064. c.stageBox[i].actBox[z].tarDesign.imgBox = [];
  2065. c.stageBox[i].actBox[z].actiDesign.imgBox = [];
  2066. c.stageBox[i].actBox[z].evaDesign.imgBox = [];
  2067. c.stageBox[i].actBox[z].isFold = "";
  2068. c.stageBox[i].actBox[z].isFold = 0;
  2069. for (
  2070. var k = 0;
  2071. k < c.stageBox[i].actBox[z].driQuestion.data.length;
  2072. k++
  2073. ) {
  2074. if (c.stageBox[i].actBox[z].driQuestion.data[k].type == 3) {
  2075. c.stageBox[i].actBox[z].driQuestion.imgBox.push({
  2076. url: c.stageBox[i].actBox[z].driQuestion.data[k].url,
  2077. type: c.stageBox[i].actBox[z].driQuestion.data[k].type,
  2078. });
  2079. }
  2080. }
  2081. for (
  2082. var k = 0;
  2083. k < c.stageBox[i].actBox[z].tarDesign.data.length;
  2084. k++
  2085. ) {
  2086. if (c.stageBox[i].actBox[z].tarDesign.data[k].type == 3) {
  2087. c.stageBox[i].actBox[z].tarDesign.imgBox.push({
  2088. url: c.stageBox[i].actBox[z].tarDesign.data[k].url,
  2089. type: c.stageBox[i].actBox[z].tarDesign.data[k].type,
  2090. });
  2091. }
  2092. }
  2093. for (
  2094. var k = 0;
  2095. k < c.stageBox[i].actBox[z].actiDesign.data.length;
  2096. k++
  2097. ) {
  2098. if (c.stageBox[i].actBox[z].actiDesign.data[k].type == 3) {
  2099. c.stageBox[i].actBox[z].actiDesign.imgBox.push({
  2100. url: c.stageBox[i].actBox[z].actiDesign.data[k].url,
  2101. type: c.stageBox[i].actBox[z].actiDesign.data[k].type,
  2102. });
  2103. }
  2104. }
  2105. for (
  2106. var k = 0;
  2107. k < c.stageBox[i].actBox[z].evaDesign.data.length;
  2108. k++
  2109. ) {
  2110. if (c.stageBox[i].actBox[z].evaDesign.data[k].type == 3) {
  2111. c.stageBox[i].actBox[z].evaDesign.imgBox.push({
  2112. url: c.stageBox[i].actBox[z].evaDesign.data[k].url,
  2113. type: c.stageBox[i].actBox[z].evaDesign.data[k].type,
  2114. });
  2115. }
  2116. }
  2117. }
  2118. }
  2119. for (var i = 0; i < e.data.length; i++) {
  2120. if (e.data[i].type == 3) {
  2121. e.imgBox.push({ url: e.data[i].url, type: e.data[i].type });
  2122. }
  2123. this.pptImgUrl1.excData.push({
  2124. url: e.data[i].url,
  2125. type: e.data[i].type,
  2126. proVisible: false,
  2127. });
  2128. }
  2129. for (var i = 0; i < f.data.length; i++) {
  2130. if (f.data[i].type == 3) {
  2131. f.imgBox.push({ url: f.data[i].url, type: f.data[i].type });
  2132. }
  2133. this.pptImgUrl1.effData.push({
  2134. url: f.data[i].url,
  2135. type: f.data[i].type,
  2136. proVisible: false,
  2137. });
  2138. }
  2139. this.lookFile();
  2140. this.reTop();
  2141. })
  2142. .catch((err) => {
  2143. console.error(err);
  2144. });
  2145. },
  2146. selectNav(n) {
  2147. this.dialogVisibleBrief = true;
  2148. this.briefNav = n;
  2149. },
  2150. onPlayerPlay() {},
  2151. lookFile1(u, t) {
  2152. //1文档2视频3图片
  2153. this.pptImgUrl = "";
  2154. var a = ["PPT", "PPTX", "XLSX", "XLS", "DOC", "DOCX"];
  2155. var c = [
  2156. "BMP",
  2157. "PJP",
  2158. "APNG",
  2159. "PNG",
  2160. "JPG",
  2161. "GIF",
  2162. "SVG",
  2163. "JPEG",
  2164. "JPG",
  2165. "ICO",
  2166. "PGPEG",
  2167. "AVIF",
  2168. ];
  2169. if (
  2170. a.indexOf(u.split(".")[u.split(".").length - 1].toLocaleUpperCase()) !=
  2171. -1
  2172. ) {
  2173. this.pptImgUrl = u;
  2174. this.showPDF = false;
  2175. this.dialogVisible = true;
  2176. } else if (
  2177. u.split(".")[u.split(".").length - 1].toLocaleUpperCase() == "PDF"
  2178. ) {
  2179. this.pptImgUrl = u;
  2180. this.showPDF = true;
  2181. this.dialogVisible = true;
  2182. } else if (
  2183. c.indexOf(u.split(".")[u.split(".").length - 1].toLocaleUpperCase()) !=
  2184. -1
  2185. ) {
  2186. this.previewImg(u);
  2187. } else {
  2188. this.videoDetail = {};
  2189. this.playerOptions.sources[0].src = u;
  2190. this.videoDetail = this.playerOptions;
  2191. this.videoVisible = true;
  2192. }
  2193. },
  2194. lookFile2(u, t, type, i) {
  2195. var b = [
  2196. "DOC",
  2197. "DOCX",
  2198. "DOCM",
  2199. "DOTM",
  2200. "DOTX",
  2201. "PPTX",
  2202. "PPSX",
  2203. "PPT",
  2204. "PPS",
  2205. "PPTM",
  2206. "POTM",
  2207. "PPAM",
  2208. "POTX",
  2209. "PPSM",
  2210. "DOT",
  2211. "XLSX",
  2212. "XLS",
  2213. ];
  2214. var c = [
  2215. "BMP",
  2216. "PJP",
  2217. "APNG",
  2218. "PNG",
  2219. "JPG",
  2220. "GIF",
  2221. "SVG",
  2222. "JPEG",
  2223. "JPG",
  2224. "ICO",
  2225. "PGPEG",
  2226. "AVIF",
  2227. ];
  2228. var d = JSON.parse(JSON.stringify(this.playerOptions));
  2229. if (type == 0) {
  2230. if (
  2231. b.indexOf(
  2232. u.split(".")[u.split(".").length - 1].toLocaleUpperCase()
  2233. ) != -1
  2234. ) {
  2235. this.pptImgUrl2.infoData.showType = 2;
  2236. this.pptImgUrl2.infoData.url =
  2237. "https://view.officeapps.live.com/op/view.aspx?src=" + u;
  2238. } else if (
  2239. u.split(".")[u.split(".").length - 1].toLocaleUpperCase() == "PDF"
  2240. ) {
  2241. this.pptImgUrl2.infoData.showType = 1;
  2242. this.pptImgUrl2.infoData.url = u;
  2243. } else if (
  2244. c.indexOf(
  2245. u.split(".")[u.split(".").length - 1].toLocaleUpperCase()
  2246. ) != -1
  2247. ) {
  2248. this.pptImgUrl2.infoData.showType = 4;
  2249. this.pptImgUrl2.infoData.url = u;
  2250. } else {
  2251. // this.videoDetail = {};
  2252. // this.playerOptions.sources[0].src = u;
  2253. // this.videoDetail = this.playerOptions;
  2254. this.pptImgUrl2.infoData.showType = 3;
  2255. this.pptImgUrl2.infoData.playerO = d;
  2256. this.pptImgUrl2.infoData.playerO.sources[0].src = u;
  2257. }
  2258. } else if (type == 1) {
  2259. if (
  2260. b.indexOf(
  2261. u.split(".")[u.split(".").length - 1].toLocaleUpperCase()
  2262. ) != -1
  2263. ) {
  2264. this.pptImgUrl2.overData.driData.showType = 2;
  2265. this.pptImgUrl2.overData.driData.url =
  2266. "https://view.officeapps.live.com/op/view.aspx?src=" + u;
  2267. } else if (
  2268. u.split(".")[u.split(".").length - 1].toLocaleUpperCase() == "PDF"
  2269. ) {
  2270. this.pptImgUrl2.overData.driData.showType = 1;
  2271. this.pptImgUrl2.overData.driData.url = u;
  2272. } else if (
  2273. c.indexOf(
  2274. u.split(".")[u.split(".").length - 1].toLocaleUpperCase()
  2275. ) != -1
  2276. ) {
  2277. this.pptImgUrl2.overData.driData.showType = 4;
  2278. this.pptImgUrl2.overData.driData.url = u;
  2279. } else {
  2280. this.pptImgUrl2.overData.driData.showType = 3;
  2281. this.pptImgUrl2.overData.driData.playerO = d;
  2282. this.pptImgUrl2.overData.driData.playerO.sources[0].src = u;
  2283. }
  2284. } else if (type == 2) {
  2285. if (
  2286. b.indexOf(
  2287. u.split(".")[u.split(".").length - 1].toLocaleUpperCase()
  2288. ) != -1
  2289. ) {
  2290. this.pptImgUrl2.overData.tarData.showType = 2;
  2291. this.pptImgUrl2.overData.tarData.url =
  2292. "https://view.officeapps.live.com/op/view.aspx?src=" + u;
  2293. } else if (
  2294. u.split(".")[u.split(".").length - 1].toLocaleUpperCase() == "PDF"
  2295. ) {
  2296. this.pptImgUrl2.overData.tarData.showType = 1;
  2297. this.pptImgUrl2.overData.tarData.url = u;
  2298. } else if (
  2299. c.indexOf(
  2300. u.split(".")[u.split(".").length - 1].toLocaleUpperCase()
  2301. ) != -1
  2302. ) {
  2303. this.pptImgUrl2.overData.tarData.showType = 4;
  2304. this.pptImgUrl2.overData.tarData.url = u;
  2305. } else {
  2306. this.pptImgUrl2.overData.tarData.showType = 3;
  2307. this.pptImgUrl2.overData.tarData.playerO = d;
  2308. this.pptImgUrl2.overData.tarData.playerO.sources[0].src = u;
  2309. }
  2310. } else if (type == 3) {
  2311. if (
  2312. b.indexOf(
  2313. u.split(".")[u.split(".").length - 1].toLocaleUpperCase()
  2314. ) != -1
  2315. ) {
  2316. this.pptImgUrl2.overData.actData.showType = 2;
  2317. this.pptImgUrl2.overData.actData.url =
  2318. "https://view.officeapps.live.com/op/view.aspx?src=" + u;
  2319. } else if (
  2320. u.split(".")[u.split(".").length - 1].toLocaleUpperCase() == "PDF"
  2321. ) {
  2322. this.pptImgUrl2.overData.actData.showType = 1;
  2323. this.pptImgUrl2.overData.actData.url = u;
  2324. } else if (
  2325. c.indexOf(
  2326. u.split(".")[u.split(".").length - 1].toLocaleUpperCase()
  2327. ) != -1
  2328. ) {
  2329. this.pptImgUrl2.overData.actData.showType = 4;
  2330. this.pptImgUrl2.overData.actData.url = u;
  2331. } else {
  2332. this.pptImgUrl2.overData.actData.showType = 3;
  2333. this.pptImgUrl2.overData.actData.playerO = d;
  2334. this.pptImgUrl2.overData.actData.playerO.sources[0].src = u;
  2335. }
  2336. } else if (type == 4) {
  2337. if (
  2338. b.indexOf(
  2339. u.split(".")[u.split(".").length - 1].toLocaleUpperCase()
  2340. ) != -1
  2341. ) {
  2342. this.pptImgUrl2.proData[i].showType = 2;
  2343. this.pptImgUrl2.proData[i].url =
  2344. "https://view.officeapps.live.com/op/view.aspx?src=" + u;
  2345. } else if (
  2346. u.split(".")[u.split(".").length - 1].toLocaleUpperCase() == "PDF"
  2347. ) {
  2348. this.pptImgUrl2.proData[i].showType = 1;
  2349. this.pptImgUrl2.proData[i].url = u;
  2350. } else if (
  2351. c.indexOf(
  2352. u.split(".")[u.split(".").length - 1].toLocaleUpperCase()
  2353. ) != -1
  2354. ) {
  2355. this.pptImgUrl2.proData[i].showType = 4;
  2356. this.pptImgUrl2.proData[i].url = u;
  2357. } else {
  2358. this.pptImgUrl2.proData[i].showType = 3;
  2359. this.pptImgUrl2.proData[i].playerO = d;
  2360. this.pptImgUrl2.proData[i].playerO.sources[0].src = u;
  2361. }
  2362. } else if (type == 5) {
  2363. if (
  2364. b.indexOf(
  2365. u.split(".")[u.split(".").length - 1].toLocaleUpperCase()
  2366. ) != -1
  2367. ) {
  2368. this.pptImgUrl2.excData.showType = 2;
  2369. this.pptImgUrl2.excData.url =
  2370. "https://view.officeapps.live.com/op/view.aspx?src=" + u;
  2371. } else if (
  2372. u.split(".")[u.split(".").length - 1].toLocaleUpperCase() == "PDF"
  2373. ) {
  2374. this.pptImgUrl2.excData.showType = 1;
  2375. this.pptImgUrl2.excData.url = u;
  2376. } else if (
  2377. c.indexOf(
  2378. u.split(".")[u.split(".").length - 1].toLocaleUpperCase()
  2379. ) != -1
  2380. ) {
  2381. this.pptImgUrl2.excData.showType = 4;
  2382. this.pptImgUrl2.excData.url = u;
  2383. } else {
  2384. this.pptImgUrl2.excData.showType = 3;
  2385. this.pptImgUrl2.excData.playerO = d;
  2386. this.pptImgUrl2.excData.playerO.sources[0].src = u;
  2387. }
  2388. } else if (type == 6) {
  2389. if (
  2390. b.indexOf(
  2391. u.split(".")[u.split(".").length - 1].toLocaleUpperCase()
  2392. ) != -1
  2393. ) {
  2394. this.pptImgUrl2.effData.showType = 2;
  2395. this.pptImgUrl2.effData.url =
  2396. "https://view.officeapps.live.com/op/view.aspx?src=" + u;
  2397. } else if (
  2398. u.split(".")[u.split(".").length - 1].toLocaleUpperCase() == "PDF"
  2399. ) {
  2400. this.pptImgUrl2.effData.showType = 1;
  2401. this.pptImgUrl2.effData.url = u;
  2402. } else if (
  2403. c.indexOf(
  2404. u.split(".")[u.split(".").length - 1].toLocaleUpperCase()
  2405. ) != -1
  2406. ) {
  2407. this.pptImgUrl2.effData.showType = 4;
  2408. this.pptImgUrl2.effData.url = u;
  2409. } else {
  2410. this.pptImgUrl2.effData.showType = 3;
  2411. this.pptImgUrl2.effData.playerO = d;
  2412. this.pptImgUrl2.effData.playerO.sources[0].src = u;
  2413. }
  2414. }
  2415. },
  2416. lookFile() {
  2417. var a = this.pptImgUrl1;
  2418. var b = [
  2419. "DOC",
  2420. "DOCX",
  2421. "DOCM",
  2422. "DOTM",
  2423. "DOTX",
  2424. "PPTX",
  2425. "PPSX",
  2426. "PPT",
  2427. "PPS",
  2428. "PPTM",
  2429. "POTM",
  2430. "PPAM",
  2431. "POTX",
  2432. "PPSM",
  2433. "DOT",
  2434. "XLSX",
  2435. "XLS",
  2436. ];
  2437. var c = [
  2438. "BMP",
  2439. "PJP",
  2440. "APNG",
  2441. "PNG",
  2442. "JPG",
  2443. "GIF",
  2444. "SVG",
  2445. "JPEG",
  2446. "JPG",
  2447. "ICO",
  2448. "PGPEG",
  2449. "AVIF",
  2450. ];
  2451. var d = JSON.parse(JSON.stringify(this.playerOptions));
  2452. this.pptImgUrl2.infoData = a.infoData ? a.infoData[0] : {};
  2453. if (a.infoData.length > 0) {
  2454. if (
  2455. b.indexOf(
  2456. this.pptImgUrl2.infoData.url
  2457. .split(".")
  2458. [
  2459. this.pptImgUrl2.infoData.url.split(".").length - 1
  2460. ].toLocaleUpperCase()
  2461. ) != -1
  2462. ) {
  2463. this.pptImgUrl2.infoData.url =
  2464. "https://view.officeapps.live.com/op/view.aspx?src=" +
  2465. this.pptImgUrl2.infoData.url;
  2466. this.pptImgUrl2.infoData.showType = 2;
  2467. } else if (
  2468. this.pptImgUrl2.infoData.url
  2469. .split(".")
  2470. [
  2471. this.pptImgUrl2.infoData.url.split(".").length - 1
  2472. ].toLocaleUpperCase() == "PDF"
  2473. ) {
  2474. this.pptImgUrl2.infoData.showType = 1;
  2475. } else if (
  2476. c.indexOf(
  2477. this.pptImgUrl2.infoData.url
  2478. .split(".")
  2479. [
  2480. this.pptImgUrl2.infoData.url.split(".").length - 1
  2481. ].toLocaleUpperCase()
  2482. ) != -1
  2483. ) {
  2484. this.pptImgUrl2.infoData.showType = 4;
  2485. } else {
  2486. // this.videoDetail = {};
  2487. // this.playerOptions.sources[0].src = u;
  2488. // this.videoDetail = this.playerOptions;
  2489. this.pptImgUrl2.infoData.playerO = d;
  2490. this.pptImgUrl2.infoData.playerO.sources[0].src =
  2491. this.pptImgUrl2.infoData.url;
  2492. this.pptImgUrl2.infoData.showType = 3;
  2493. }
  2494. }
  2495. this.pptImgUrl2.overData.driData = a.overData.driData
  2496. ? a.overData.driData[0]
  2497. : {};
  2498. if (a.overData.driData.length > 0) {
  2499. if (
  2500. b.indexOf(
  2501. this.pptImgUrl2.overData.driData.url
  2502. .split(".")
  2503. [
  2504. this.pptImgUrl2.overData.driData.url.split(".").length - 1
  2505. ].toLocaleUpperCase()
  2506. ) != -1
  2507. ) {
  2508. this.pptImgUrl2.overData.driData.url =
  2509. "https://view.officeapps.live.com/op/view.aspx?src=" +
  2510. this.pptImgUrl2.overData.driData.url;
  2511. this.pptImgUrl2.overData.driData.showType = 2;
  2512. } else if (
  2513. this.pptImgUrl2.overData.driData.url
  2514. .split(".")
  2515. [
  2516. this.pptImgUrl2.overData.driData.url.split(".").length - 1
  2517. ].toLocaleUpperCase() == "PDF"
  2518. ) {
  2519. this.pptImgUrl2.overData.driData.showType = 1;
  2520. } else if (
  2521. c.indexOf(
  2522. this.pptImgUrl2.overData.driData.url
  2523. .split(".")
  2524. [
  2525. this.pptImgUrl2.overData.driData.url.split(".").length - 1
  2526. ].toLocaleUpperCase()
  2527. ) != -1
  2528. ) {
  2529. this.pptImgUrl2.overData.driData.showType = 4;
  2530. } else {
  2531. this.pptImgUrl2.overData.driData.playerO = d;
  2532. this.pptImgUrl2.overData.driData.playerO.sources[0].src =
  2533. this.pptImgUrl2.overData.driData.url;
  2534. this.pptImgUrl2.overData.driData.showType = 3;
  2535. }
  2536. }
  2537. this.pptImgUrl2.overData.tarData = a.overData.tarData
  2538. ? a.overData.tarData[0]
  2539. : {};
  2540. if (a.overData.tarData.length > 0) {
  2541. if (
  2542. b.indexOf(
  2543. this.pptImgUrl2.overData.tarData.url
  2544. .split(".")
  2545. [
  2546. this.pptImgUrl2.overData.tarData.url.split(".").length - 1
  2547. ].toLocaleUpperCase()
  2548. ) != -1
  2549. ) {
  2550. this.pptImgUrl2.overData.tarData.url =
  2551. "https://view.officeapps.live.com/op/view.aspx?src=" +
  2552. this.pptImgUrl2.overData.tarData.url;
  2553. this.pptImgUrl2.overData.tarData.showType = 2;
  2554. } else if (
  2555. this.pptImgUrl2.overData.tarData.url
  2556. .split(".")
  2557. [
  2558. this.pptImgUrl2.overData.tarData.url.split(".").length - 1
  2559. ].toLocaleUpperCase() == "PDF"
  2560. ) {
  2561. this.pptImgUrl2.overData.tarData.showType = 1;
  2562. } else if (
  2563. c.indexOf(
  2564. this.pptImgUrl2.overData.tarData.url
  2565. .split(".")
  2566. [
  2567. this.pptImgUrl2.overData.tarData.url.split(".").length - 1
  2568. ].toLocaleUpperCase()
  2569. ) != -1
  2570. ) {
  2571. this.pptImgUrl2.overData.tarData.showType = 4;
  2572. } else {
  2573. this.pptImgUrl2.overData.tarData.playerO = d;
  2574. this.pptImgUrl2.overData.tarData.playerO.sources[0].src =
  2575. this.pptImgUrl2.overData.tarData.url;
  2576. this.pptImgUrl2.overData.tarData.showType = 3;
  2577. }
  2578. }
  2579. this.pptImgUrl2.overData.actData = a.overData.actData
  2580. ? a.overData.actData[0]
  2581. : {};
  2582. if (a.overData.actData.length > 0) {
  2583. if (
  2584. b.indexOf(
  2585. this.pptImgUrl2.overData.actData.url
  2586. .split(".")
  2587. [
  2588. this.pptImgUrl2.overData.actData.url.split(".").length - 1
  2589. ].toLocaleUpperCase()
  2590. ) != -1
  2591. ) {
  2592. this.pptImgUrl2.overData.actData.url =
  2593. "https://view.officeapps.live.com/op/view.aspx?src=" +
  2594. this.pptImgUrl2.overData.actData.url;
  2595. this.pptImgUrl2.overData.actData.showType = 2;
  2596. } else if (
  2597. this.pptImgUrl2.overData.actData.url
  2598. .split(".")
  2599. [
  2600. this.pptImgUrl2.overData.actData.url.split(".").length - 1
  2601. ].toLocaleUpperCase() == "PDF"
  2602. ) {
  2603. this.pptImgUrl2.overData.actData.showType = 1;
  2604. } else if (
  2605. c.indexOf(
  2606. this.pptImgUrl2.overData.actData.url
  2607. .split(".")
  2608. [
  2609. this.pptImgUrl2.overData.actData.url.split(".").length - 1
  2610. ].toLocaleUpperCase()
  2611. ) != -1
  2612. ) {
  2613. this.pptImgUrl2.overData.actData.showType = 4;
  2614. } else {
  2615. this.pptImgUrl2.overData.actData.playerO = d;
  2616. this.pptImgUrl2.overData.actData.playerO.sources[0].src =
  2617. this.pptImgUrl2.overData.actData.url;
  2618. this.pptImgUrl2.overData.actData.showType = 3;
  2619. }
  2620. }
  2621. for (var i = 0; i < a.proData.length; i++) {
  2622. this.pptImgUrl2.proData[i] = a.proData[i] ? a.proData[i][0] : {};
  2623. if (a.proData[i].length > 0) {
  2624. if (
  2625. b.indexOf(
  2626. this.pptImgUrl2.proData[i].url
  2627. .split(".")
  2628. [
  2629. this.pptImgUrl2.proData[i].url.split(".").length - 1
  2630. ].toLocaleUpperCase()
  2631. ) != -1
  2632. ) {
  2633. this.pptImgUrl2.proData[i].url =
  2634. "https://view.officeapps.live.com/op/view.aspx?src=" +
  2635. this.pptImgUrl2.proData[i].url;
  2636. this.pptImgUrl2.proData[i].showType = 2;
  2637. } else if (
  2638. this.pptImgUrl2.proData[i].url
  2639. .split(".")
  2640. [
  2641. this.pptImgUrl2.proData[i].url.split(".").length - 1
  2642. ].toLocaleUpperCase() == "PDF"
  2643. ) {
  2644. this.pptImgUrl2.proData[i].showType = 1;
  2645. } else if (
  2646. c.indexOf(
  2647. this.pptImgUrl2.proData[i].url
  2648. .split(".")
  2649. [
  2650. this.pptImgUrl2.proData[i].url.split(".").length - 1
  2651. ].toLocaleUpperCase()
  2652. ) != -1
  2653. ) {
  2654. this.pptImgUrl2.proData[i].showType = 4;
  2655. } else {
  2656. this.pptImgUrl2.proData[i].playerO = d;
  2657. this.pptImgUrl2.proData[i].playerO.sources[0].src =
  2658. this.pptImgUrl2.proData[i].url;
  2659. this.pptImgUrl2.proData[i].showType = 3;
  2660. }
  2661. }
  2662. }
  2663. this.pptImgUrl2.excData = a.excData ? a.excData[0] : {};
  2664. if (a.excData.length > 0) {
  2665. if (
  2666. b.indexOf(
  2667. this.pptImgUrl2.excData.url
  2668. .split(".")
  2669. [
  2670. this.pptImgUrl2.excData.url.split(".").length - 1
  2671. ].toLocaleUpperCase()
  2672. ) != -1
  2673. ) {
  2674. this.pptImgUrl2.excData.url =
  2675. "https://view.officeapps.live.com/op/view.aspx?src=" +
  2676. this.pptImgUrl2.excData.url;
  2677. this.pptImgUrl2.excData.showType = 2;
  2678. } else if (
  2679. this.pptImgUrl2.excData.url
  2680. .split(".")
  2681. [
  2682. this.pptImgUrl2.excData.url.split(".").length - 1
  2683. ].toLocaleUpperCase() == "PDF"
  2684. ) {
  2685. this.pptImgUrl2.excData.showType = 1;
  2686. } else if (
  2687. c.indexOf(
  2688. this.pptImgUrl2.excData.url
  2689. .split(".")
  2690. [
  2691. this.pptImgUrl2.excData.url.split(".").length - 1
  2692. ].toLocaleUpperCase()
  2693. ) != -1
  2694. ) {
  2695. this.pptImgUrl2.excData.showType = 4;
  2696. } else {
  2697. this.pptImgUrl2.excData.playerO = d;
  2698. this.pptImgUrl2.excData.playerO.sources[0].src =
  2699. this.pptImgUrl2.excData.url;
  2700. this.pptImgUrl2.excData.showType = 3;
  2701. }
  2702. }
  2703. this.pptImgUrl2.effData = a.effData ? a.effData[0] : {};
  2704. if (a.effData.length > 0) {
  2705. if (
  2706. b.indexOf(
  2707. this.pptImgUrl2.effData.url
  2708. .split(".")
  2709. [
  2710. this.pptImgUrl2.effData.url.split(".").length - 1
  2711. ].toLocaleUpperCase()
  2712. ) != -1
  2713. ) {
  2714. this.pptImgUrl2.effData.url =
  2715. "https://view.officeapps.live.com/op/view.aspx?src=" +
  2716. this.pptImgUrl2.effData.url;
  2717. this.pptImgUrl2.effData.showType = 2;
  2718. } else if (
  2719. this.pptImgUrl2.effData.url
  2720. .split(".")
  2721. [
  2722. this.pptImgUrl2.effData.url.split(".").length - 1
  2723. ].toLocaleUpperCase() == "PDF"
  2724. ) {
  2725. this.pptImgUrl2.effData.showType = 1;
  2726. } else if (
  2727. c.indexOf(
  2728. this.pptImgUrl2.effData.url
  2729. .split(".")
  2730. [
  2731. this.pptImgUrl2.effData.url.split(".").length - 1
  2732. ].toLocaleUpperCase()
  2733. ) != -1
  2734. ) {
  2735. this.pptImgUrl2.effData.showType = 4;
  2736. } else {
  2737. this.pptImgUrl2.effData.playerO = d;
  2738. this.pptImgUrl2.effData.playerO.sources[0].src =
  2739. this.pptImgUrl2.effData.url;
  2740. this.pptImgUrl2.effData.showType = 3;
  2741. }
  2742. }
  2743. },
  2744. // downloadFile(url) {
  2745. // let _url = "";
  2746. // if (
  2747. // url.indexOf("https://view.officeapps.live.com/op/view.aspx?src=") != -1
  2748. // ) {
  2749. // _url = url.split(
  2750. // "https://view.officeapps.live.com/op/view.aspx?src="
  2751. // )[1];
  2752. // } else {
  2753. // _url = url;
  2754. // }
  2755. // const x = new XMLHttpRequest();
  2756. // x.open("GET", _url, true);
  2757. // x.responseType = "blob";
  2758. // x.onload = function (e) {
  2759. // // const url = window.URL.createObjectURL(x.response);
  2760. // // const a = document.createElement("a");
  2761. // // a.href = url;
  2762. // // a.target = "_blank";
  2763. // // a.download = url;
  2764. // // a.click();
  2765. // // a.remove();
  2766. // let content = x.response;
  2767. // let elink = document.createElement("a");
  2768. // elink.download = decodeURI(
  2769. // _url.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1]
  2770. // );
  2771. // elink.style.display = "none";
  2772. // let blob = new Blob([content]);
  2773. // elink.href = URL.createObjectURL(blob);
  2774. // document.body.appendChild(elink);
  2775. // elink.click();
  2776. // document.body.removeChild(elink);
  2777. // };
  2778. // x.send();
  2779. // },
  2780. jump(t) {
  2781. var a = document.getElementById(t);
  2782. var b = this.$refs["cenBox"];
  2783. if (this.isNavTop >= 300) {
  2784. b.scrollTop = a.offsetTop - 50;
  2785. } else {
  2786. b.scrollTop = a.offsetTop + 50;
  2787. }
  2788. },
  2789. jumpS(i) {
  2790. var a = document.getElementById("jd" + i);
  2791. var b = this.$refs["cenBox"];
  2792. b.scrollTop = a.offsetTop - 70;
  2793. },
  2794. reTop() {
  2795. var a = this.$refs["cenBox"];
  2796. a.scrollTop = 0;
  2797. },
  2798. allScrollTop(ev) {
  2799. console.log(ev.target.scrollTop);
  2800. this.isNavTop = ev.target.scrollTop;
  2801. },
  2802. fold(i, j, e, type) {
  2803. var a =
  2804. e.currentTarget.parentElement.parentElement.parentElement.parentElement;
  2805. var b = e.currentTarget.parentElement;
  2806. if (type == 1) {
  2807. this.anliBox[0].process.stageBox[j].actBox[i].isFold = 1;
  2808. a.className += " smallTaskBorder";
  2809. b.className += " funBlockTop";
  2810. } else {
  2811. this.anliBox[0].process.stageBox[j].actBox[i].isFold = 0;
  2812. a.className = "taskBorder";
  2813. b.className = "funBlock";
  2814. }
  2815. this.$forceUpdate();
  2816. },
  2817. fold1(i, e, type) {
  2818. var a =
  2819. e.currentTarget.parentElement.parentElement.parentElement.parentElement;
  2820. var b = e.currentTarget.parentElement;
  2821. if (type == 1) {
  2822. this.anliBox[0].process.stageBox[i].isFold = 1;
  2823. a.className += " smallTaskBorder";
  2824. b.className += " funBlockTop";
  2825. } else {
  2826. this.anliBox[0].process.stageBox[i].isFold = 0;
  2827. a.className = "taskBorder";
  2828. b.className = "funBlock";
  2829. }
  2830. this.$forceUpdate();
  2831. },
  2832. lookBig(u) {
  2833. var b = [
  2834. "DOC",
  2835. "DOCX",
  2836. "DOCM",
  2837. "DOTM",
  2838. "DOTX",
  2839. "PPTX",
  2840. "PPSX",
  2841. "PPT",
  2842. "PPS",
  2843. "PPTM",
  2844. "POTM",
  2845. "PPAM",
  2846. "POTX",
  2847. "PPSM",
  2848. "DOT",
  2849. "XLSX",
  2850. "XLS",
  2851. ];
  2852. var c = [
  2853. "BMP",
  2854. "PJP",
  2855. "APNG",
  2856. "PNG",
  2857. "JPG",
  2858. "GIF",
  2859. "SVG",
  2860. "JPEG",
  2861. "JPG",
  2862. "ICO",
  2863. "PGPEG",
  2864. "AVIF",
  2865. ];
  2866. if (
  2867. b.indexOf(u.split(".")[u.split(".").length - 1].toLocaleUpperCase()) !=
  2868. -1
  2869. ) {
  2870. this.pptImgUrl =
  2871. "https://view.officeapps.live.com/op/view.aspx?src=" + u;
  2872. this.showPDF = false;
  2873. this.dialogVisible = true;
  2874. } else if (
  2875. u.split(".")[u.split(".").length - 1].toLocaleUpperCase() == "PDF"
  2876. ) {
  2877. this.pptImgUrl = u;
  2878. this.showPDF = true;
  2879. this.dialogVisible = true;
  2880. } else if (
  2881. c.indexOf(u.split(".")[u.split(".").length - 1].toLocaleUpperCase()) !=
  2882. -1
  2883. ) {
  2884. this.previewImg(u);
  2885. } else {
  2886. this.videoDetail = {};
  2887. this.playerOptions.sources[0].src = u;
  2888. this.videoDetail = this.playerOptions;
  2889. this.videoVisible = true;
  2890. }
  2891. },
  2892. },
  2893. created() {
  2894. this.selectAnLi();
  2895. },
  2896. };
  2897. </script>
  2898. <style scoped>
  2899. @media screen and (max-width: 1280px) {
  2900. .file > div > div:nth-child(2) > div:nth-child(1) {
  2901. width: 160px !important;
  2902. }
  2903. .leftImg {
  2904. height: 230px !important;
  2905. }
  2906. .navTop {
  2907. margin: 0 5px !important;
  2908. }
  2909. /* .navTop > div:nth-child(2) {
  2910. width: 60px !important;
  2911. white-space: nowrap;
  2912. overflow: hidden;
  2913. text-overflow: ellipsis;
  2914. } */
  2915. .navBox {
  2916. margin: 0 0 0 28% !important;
  2917. }
  2918. .messageBox {
  2919. margin: 1% 0 0 28% !important;
  2920. }
  2921. /* .proOverNav {
  2922. width: 52% !important;
  2923. } */
  2924. .fileBox {
  2925. width: auto !important;
  2926. }
  2927. .look_file {
  2928. width: 55% !important;
  2929. }
  2930. .leftNav {
  2931. left: 10px !important;
  2932. top: 60% !important;
  2933. transform: translateY(-25%) !important;
  2934. }
  2935. /* .navLeftBox {
  2936. height: 400px !important;
  2937. overflow: auto !important;
  2938. } */
  2939. .isNavBox {
  2940. left: 22% !important;
  2941. }
  2942. .isleftNav {
  2943. top: 35% !important;
  2944. }
  2945. }
  2946. html,
  2947. body {
  2948. background: #e1f1ff !important;
  2949. }
  2950. .add_student >>> .el-dialog__header {
  2951. padding: 20px 20px 10px;
  2952. text-align: center;
  2953. background: #32455b;
  2954. }
  2955. .add_student >>> .el-dialog__title {
  2956. font-size: 14px !important;
  2957. color: #fff !important;
  2958. }
  2959. .add_student >>> .el-dialog__headerbtn {
  2960. font-size: 20px !important;
  2961. }
  2962. .add_student >>> .el-form-item__label {
  2963. margin-left: 65px;
  2964. }
  2965. .add_student >>> .el-form-item {
  2966. display: flex;
  2967. }
  2968. .add_student >>> .el-form-item__content {
  2969. margin: 0 !important;
  2970. }
  2971. .add_student >>> .el-dialog__footer {
  2972. text-align: center !important;
  2973. }
  2974. .center_content {
  2975. width: 100%;
  2976. height: 100%;
  2977. background: #e1f1ff;
  2978. overflow: auto;
  2979. }
  2980. .detaBox {
  2981. padding: 10px 0 0 0;
  2982. background: #e1f1ff;
  2983. position: relative;
  2984. padding-bottom: 50px;
  2985. }
  2986. .anliMiddle {
  2987. margin: 0 0 15px 0;
  2988. width: 100%;
  2989. background: #fff;
  2990. }
  2991. .anliImg {
  2992. width: 200px;
  2993. height: 115px;
  2994. }
  2995. .anliImg > img {
  2996. width: 100%;
  2997. height: 100%;
  2998. object-fit: cover;
  2999. }
  3000. .people {
  3001. display: flex;
  3002. }
  3003. .person {
  3004. margin-left: 10px;
  3005. line-height: 18px;
  3006. }
  3007. .man {
  3008. width: 16px;
  3009. height: 16px;
  3010. }
  3011. .man > img {
  3012. width: 100%;
  3013. height: 100%;
  3014. }
  3015. .anliBox {
  3016. display: flex;
  3017. flex-direction: row;
  3018. flex-wrap: nowrap;
  3019. align-items: center;
  3020. padding: 25px 0 25px 60px;
  3021. position: relative;
  3022. }
  3023. .anliNav {
  3024. padding-left: 30px;
  3025. }
  3026. .anliNav > div:nth-child(1) {
  3027. font-size: 20px;
  3028. font-weight: bold;
  3029. }
  3030. .anliNav > div:nth-child(2) {
  3031. margin: 10px 0 10px 0;
  3032. }
  3033. .anliNav > div:nth-child(3) {
  3034. display: flex;
  3035. margin-bottom: 10px;
  3036. flex-direction: row;
  3037. flex-wrap: nowrap;
  3038. align-items: center;
  3039. }
  3040. .anliNav > div:nth-child(3) > div:nth-child(2) {
  3041. /* color: #aba8a8; */
  3042. margin-left: 35px;
  3043. }
  3044. .navBox {
  3045. display: flex;
  3046. flex-direction: row;
  3047. flex-wrap: nowrap;
  3048. align-items: center;
  3049. justify-content: center;
  3050. background: #fff;
  3051. width: 60%;
  3052. margin: 0 auto;
  3053. height: 70px;
  3054. border-radius: 10px;
  3055. }
  3056. .isNavBox {
  3057. position: fixed;
  3058. left: 50%;
  3059. transform: translateX(-50%);
  3060. /* top: 5%; */
  3061. top: 50px;
  3062. box-shadow: 2px 2px 11px 1px #bdbdbd;
  3063. width: 100%;
  3064. border-radius: 0 !important;
  3065. z-index: 999;
  3066. }
  3067. .isNavBox > div > div:nth-child(2):hover {
  3068. color: #5e5e5e;
  3069. }
  3070. /* .isMessageBox {
  3071. margin: 11% auto !important;
  3072. } */
  3073. .navBox > div:nth-child(5) > div:nth-child(2) {
  3074. width: 150px;
  3075. }
  3076. .navBox > div:nth-child(6) > div:nth-child(2) {
  3077. width: 120px;
  3078. }
  3079. /* .navBox > div:nth-child(2) > div:nth-child(2),
  3080. .navBox > div:nth-child(3) > div:nth-child(2) {
  3081. width: 70px;
  3082. } */
  3083. .navTop {
  3084. display: flex;
  3085. flex-direction: row;
  3086. flex-wrap: nowrap;
  3087. align-items: center;
  3088. margin: 0 30px;
  3089. cursor: pointer;
  3090. }
  3091. /* .navTop > div:nth-child(2) {
  3092. width: 100px;
  3093. } */
  3094. .navImg {
  3095. width: 35px;
  3096. }
  3097. .navImg > img {
  3098. width: 100%;
  3099. height: 100%;
  3100. }
  3101. .messageBox {
  3102. width: 60%;
  3103. margin: 1% auto;
  3104. }
  3105. .whiteBg {
  3106. width: 100%;
  3107. background: #fff;
  3108. margin: 20px 0;
  3109. padding-top: 15px;
  3110. border-radius: 10px;
  3111. box-sizing: border-box;
  3112. }
  3113. .whiteLeft {
  3114. /* width: 64%; */
  3115. margin: 0;
  3116. height: auto;
  3117. }
  3118. .navBg,
  3119. .jdNavBg {
  3120. width: 130px;
  3121. height: 50px;
  3122. background-image: url("../../../../assets/icon/anliDetail/navBg.png");
  3123. background-size: 100% 100%;
  3124. color: #fff;
  3125. text-align: center;
  3126. line-height: 47px;
  3127. margin: 0 0 5px 20px;
  3128. text-indent: 20px;
  3129. }
  3130. .jdNavBg {
  3131. background-image: url("../../../../assets/icon/anliDetail/jdNavBg.png");
  3132. }
  3133. .detaBrief {
  3134. padding: 0 0 20px 40px;
  3135. text-indent: 25px;
  3136. width: 90%;
  3137. height: 100px;
  3138. overflow: auto;
  3139. word-break: break-word;
  3140. }
  3141. .proOverCss {
  3142. width: 100%;
  3143. display: flex;
  3144. margin: 20px 0;
  3145. flex-direction: column;
  3146. flex-wrap: nowrap;
  3147. align-items: flex-start;
  3148. }
  3149. .fileLook {
  3150. display: flex;
  3151. width: 97%;
  3152. flex-direction: row;
  3153. flex-wrap: nowrap;
  3154. align-items: center;
  3155. margin: 20px auto;
  3156. border: 1px solid #ccc;
  3157. border-radius: 15px;
  3158. }
  3159. .look_file {
  3160. background: #fff;
  3161. margin: 10px 20px;
  3162. border-radius: 10px;
  3163. box-sizing: border-box;
  3164. width: 60%;
  3165. }
  3166. .whiteRight {
  3167. width: 100%;
  3168. }
  3169. .proOverNav {
  3170. overflow: auto;
  3171. word-break: break-word;
  3172. margin-left: 10px;
  3173. width: 95%;
  3174. /* background: #f6f9fe; */
  3175. padding: 10px 10px 10px 10px;
  3176. border-radius: 10px;
  3177. text-indent: 20px;
  3178. height: auto;
  3179. max-height: 500px;
  3180. }
  3181. .noImg {
  3182. max-height: 300px;
  3183. min-height: 300px;
  3184. overflow: auto;
  3185. word-break: break-word;
  3186. min-width: 90%;
  3187. padding-left: 30px;
  3188. width: 90%;
  3189. }
  3190. .fileTop {
  3191. display: flex;
  3192. flex-direction: row;
  3193. flex-wrap: nowrap;
  3194. align-items: center;
  3195. }
  3196. .fileTopAll {
  3197. display: flex;
  3198. flex-direction: row;
  3199. flex-wrap: nowrap;
  3200. align-items: center;
  3201. justify-content: space-between;
  3202. background: #398fc0;
  3203. color: #fff;
  3204. height: 38px;
  3205. border-top-left-radius: 10px;
  3206. border-top-right-radius: 10px;
  3207. padding: 0 0 0 19px;
  3208. font-size: 14px;
  3209. }
  3210. .fileTopAll >>> .el-button {
  3211. margin-right: 20px;
  3212. padding: 5px 15px;
  3213. }
  3214. .fileListImg {
  3215. width: 25px;
  3216. }
  3217. .fileListImg > img {
  3218. width: 100%;
  3219. height: 100%;
  3220. }
  3221. .fileBox {
  3222. background: #fff;
  3223. border-bottom-left-radius: 10px;
  3224. border-bottom-right-radius: 10px;
  3225. width: 35%;
  3226. margin-left: 10px;
  3227. }
  3228. .fileList {
  3229. width: 100%;
  3230. background: #f6f9fe;
  3231. margin: 0 auto;
  3232. border-radius: 10px;
  3233. height: 400px;
  3234. overflow: auto;
  3235. }
  3236. .file {
  3237. padding: 10px;
  3238. }
  3239. .file > .fileCss {
  3240. display: flex;
  3241. flex-direction: row;
  3242. flex-wrap: nowrap;
  3243. align-items: center;
  3244. border-top-right-radius: 10px;
  3245. border-bottom-right-radius: 10px;
  3246. box-shadow: 2px 2px 13px 1px #e1e1e1;
  3247. }
  3248. .file > div > div:nth-child(1) {
  3249. background: #286a8d;
  3250. color: #fff;
  3251. width: 95px;
  3252. min-width: 95px;
  3253. height: 45px;
  3254. text-align: center;
  3255. line-height: 45px;
  3256. border-top-left-radius: 10px;
  3257. border-bottom-left-radius: 10px;
  3258. }
  3259. .file > div > div:nth-child(2) {
  3260. background: #fff;
  3261. height: 45px;
  3262. width: 100%;
  3263. line-height: 45px;
  3264. padding-left: 10px;
  3265. border-top-right-radius: 10px;
  3266. border-bottom-right-radius: 10px;
  3267. position: relative;
  3268. }
  3269. .file > div > div:nth-child(2) > div:nth-child(1) {
  3270. width: 250px;
  3271. white-space: nowrap;
  3272. overflow: hidden;
  3273. text-overflow: ellipsis;
  3274. cursor: pointer;
  3275. }
  3276. .hdTop {
  3277. position: relative;
  3278. width: 100%;
  3279. height: 60px;
  3280. }
  3281. .longNavBg {
  3282. width: calc(100% - 30px);
  3283. background-image: linear-gradient(90deg, #52c6ff, #18adff);
  3284. color: #fff;
  3285. height: 60px;
  3286. border-top-left-radius: 10px;
  3287. border-top-right-radius: 10px;
  3288. font-size: 18px;
  3289. display: flex;
  3290. flex-direction: row;
  3291. flex-wrap: nowrap;
  3292. align-items: center;
  3293. padding-left: 30px;
  3294. position: absolute;
  3295. z-index: 999;
  3296. }
  3297. .longNavBg > div:nth-child(1) {
  3298. width: 8px;
  3299. height: 8px;
  3300. background: #ffeb24;
  3301. border-radius: 50%;
  3302. margin-right: 15px;
  3303. }
  3304. .longNavBg > div:nth-child(2) {
  3305. width: 95%;
  3306. white-space: nowrap;
  3307. overflow: hidden;
  3308. text-overflow: ellipsis;
  3309. word-break: break-word;
  3310. }
  3311. .bottomBg {
  3312. width: 98%;
  3313. height: 40px;
  3314. background: #d6f0ff;
  3315. position: absolute;
  3316. bottom: -10px;
  3317. left: 50%;
  3318. z-index: 9;
  3319. transform: translate(-50%);
  3320. border-radius: 10px;
  3321. }
  3322. .returnAnLi {
  3323. background: #205cc6;
  3324. width: 70px;
  3325. height: 30px;
  3326. color: #fff;
  3327. text-align: center;
  3328. line-height: 32px;
  3329. margin-right: 20px;
  3330. cursor: pointer;
  3331. border-radius: 5px;
  3332. font-size: 14px;
  3333. }
  3334. .fixBottom {
  3335. position: fixed;
  3336. width: 100%;
  3337. height: 50px;
  3338. background: #fff;
  3339. bottom: 0;
  3340. display: flex;
  3341. flex-direction: row;
  3342. flex-wrap: nowrap;
  3343. align-items: center;
  3344. justify-content: flex-end;
  3345. box-shadow: 2px 2px 13px 1px #e1e1e1;
  3346. z-index: 999;
  3347. }
  3348. .noFile {
  3349. width: 200px;
  3350. margin: 0 auto;
  3351. padding: 20px 0 0 0;
  3352. }
  3353. .noFile > img {
  3354. width: 100%;
  3355. height: 100%;
  3356. object-fit: cover;
  3357. }
  3358. .navBgTop {
  3359. display: flex;
  3360. flex-direction: row;
  3361. flex-wrap: nowrap;
  3362. align-items: baseline;
  3363. justify-content: space-between;
  3364. width: 99%;
  3365. }
  3366. .header-title {
  3367. display: flex;
  3368. }
  3369. .logoImg {
  3370. width: 30px;
  3371. }
  3372. .logoImg > img {
  3373. width: 100%;
  3374. height: 100%;
  3375. }
  3376. .title_add_student {
  3377. margin: 0 auto;
  3378. color: #fff;
  3379. }
  3380. .fullStyle >>> .el-dialog__body {
  3381. height: 100% !important;
  3382. }
  3383. .fullStyle >>> .el-dialog,
  3384. .fullStyle {
  3385. width: 100% !important;
  3386. max-width: 100% !important;
  3387. height: 100% !important;
  3388. margin: 0 !important;
  3389. }
  3390. .dialog_diy >>> .el-dialog__header,
  3391. .dialog_diy1 >>> .el-dialog__header {
  3392. background: #454545 !important;
  3393. padding: 15px 20px;
  3394. }
  3395. .dialog_diy >>> .el-dialog__title,
  3396. .dialog_diy1 >>> .el-dialog__title {
  3397. color: #fff;
  3398. }
  3399. .dialog_diy >>> .el-dialog__headerbtn,
  3400. .dialog_diy1 >>> .el-dialog__headerbtn {
  3401. top: 19px;
  3402. }
  3403. .dialog_diy >>> .el-dialog__headerbtn .el-dialog__close,
  3404. .dialog_diy1 >>> .el-dialog__headerbtn .el-dialog__close {
  3405. color: #fff;
  3406. }
  3407. .dialog_diy >>> .el-dialog__headerbtn .el-dialog__close:hover,
  3408. .dialog_diy1 >>> .el-dialog__headerbtn .el-dialog__close:hover {
  3409. color: #fff;
  3410. }
  3411. .dialog_diy1 >>> .el-dialog__body {
  3412. padding: 0;
  3413. }
  3414. .dialog_diy >>> .el-dialog__body,
  3415. .dialog_diy >>> .el-dialog__footer,
  3416. .dialog_diy1 >>> .el-dialog__footer {
  3417. background: #fafafa;
  3418. }
  3419. .dialog_diy >>> .el-dialog,
  3420. .dialog_diy1 >>> .el-dialog {
  3421. height: 100% !important;
  3422. margin-top: 0 !important;
  3423. }
  3424. .video-player >>> .video-js {
  3425. height: 400px;
  3426. }
  3427. .video-player >>> .video-js .vjs-tech {
  3428. height: 400px;
  3429. }
  3430. .downFile {
  3431. width: 25px;
  3432. height: 25px;
  3433. position: absolute;
  3434. right: 8px;
  3435. cursor: pointer;
  3436. top: 8px;
  3437. }
  3438. .leftBox {
  3439. width: 40%;
  3440. padding: 0 0 0 35px;
  3441. }
  3442. .leftImg {
  3443. width: 100%;
  3444. height: 300px;
  3445. cursor: pointer;
  3446. }
  3447. .downFile > img,
  3448. .leftImg > img {
  3449. width: 100%;
  3450. height: 100%;
  3451. object-fit: cover;
  3452. }
  3453. .imgAndNav {
  3454. display: flex;
  3455. flex-direction: column;
  3456. flex-wrap: nowrap;
  3457. align-items: flex-start;
  3458. width: 100%;
  3459. margin: 10px auto 0;
  3460. }
  3461. .jdTopBox {
  3462. background: #fff;
  3463. border-radius: 10px;
  3464. padding: 20px;
  3465. }
  3466. .jdTopNav {
  3467. display: flex;
  3468. flex-direction: row;
  3469. flex-wrap: nowrap;
  3470. align-items: center;
  3471. justify-content: space-between;
  3472. position: relative;
  3473. }
  3474. .jdLeftNav {
  3475. display: flex;
  3476. flex-direction: row;
  3477. flex-wrap: nowrap;
  3478. align-items: center;
  3479. }
  3480. .jdImg {
  3481. width: 30px;
  3482. height: 30px;
  3483. }
  3484. .jdImg > img {
  3485. width: 100%;
  3486. height: 100%;
  3487. }
  3488. .jdLeftTitle {
  3489. display: flex;
  3490. flex-direction: row;
  3491. flex-wrap: nowrap;
  3492. align-items: center;
  3493. margin-left: 10px;
  3494. }
  3495. .jdLeftTitle > div:nth-child(2) {
  3496. margin-left: 5px;
  3497. }
  3498. .jdRightNav {
  3499. padding-right: 95px;
  3500. color: #7e7e7e;
  3501. }
  3502. .personAndAutor {
  3503. display: flex;
  3504. flex-direction: row;
  3505. flex-wrap: nowrap;
  3506. align-items: flex-end;
  3507. }
  3508. .autorBox {
  3509. display: flex;
  3510. flex-direction: row;
  3511. flex-wrap: nowrap;
  3512. align-items: baseline;
  3513. margin-left: 10px;
  3514. }
  3515. .Autor {
  3516. margin: 0 5px;
  3517. }
  3518. .isNoMessage {
  3519. width: 20%;
  3520. margin: 5% auto 0;
  3521. }
  3522. .isNoMessage > img {
  3523. width: 100%;
  3524. height: 100%;
  3525. }
  3526. /* code 样式 */
  3527. .noImg >>> code,
  3528. .detailTable >>> code,
  3529. .proOverNav >>> code {
  3530. display: inline-block;
  3531. *display: inline;
  3532. *zoom: 1;
  3533. background-color: #f1f1f1;
  3534. border-radius: 3px;
  3535. padding: 3px 5px;
  3536. margin: 0 3px;
  3537. }
  3538. .noImg >>> pre code,
  3539. .detailTable >>> pre code,
  3540. .proOverNav >>> pre code {
  3541. display: block;
  3542. }
  3543. /* ul ol 样式 */
  3544. .noImg >>> ul,
  3545. ol,
  3546. .detailTable >>> ul,
  3547. ol,
  3548. .proOverNav >>> ul,
  3549. ol {
  3550. margin: 10px 0 10px 20px;
  3551. }
  3552. /* table 样式 */
  3553. .noImg >>> table,
  3554. .detailTable >>> table,
  3555. .proOverNav >>> table {
  3556. border-top: 1px solid #ccc;
  3557. border-left: 1px solid #ccc;
  3558. }
  3559. .noImg >>> table td,
  3560. .noImg >>> table th,
  3561. .detailTable >>> table td,
  3562. .detailTable >>> table th,
  3563. .proOverNav >>> table td,
  3564. .proOverNav >>> table th {
  3565. border-bottom: 1px solid #ccc;
  3566. border-right: 1px solid #ccc;
  3567. padding: 15px 5px;
  3568. max-width: 0px;
  3569. }
  3570. .noImg >>> table th,
  3571. .detailTable >>> table th,
  3572. .proOverNav >>> table th {
  3573. border-bottom: 2px solid #ccc;
  3574. text-align: center;
  3575. }
  3576. /* blockquote 样式 */
  3577. .noImg >>> blockquote,
  3578. .detailTable >>> blockquote,
  3579. .proOverNav >>> blockquote {
  3580. display: block;
  3581. border-left: 8px solid #d0e5f2;
  3582. padding: 5px 10px;
  3583. margin: 10px 0;
  3584. line-height: 1.4;
  3585. font-size: 100%;
  3586. background-color: #f1f1f1;
  3587. }
  3588. .smallTaskBorder {
  3589. height: 65px;
  3590. min-height: 65px !important;
  3591. overflow: hidden;
  3592. }
  3593. .funBlock {
  3594. display: flex;
  3595. padding: 15px 0;
  3596. flex-direction: row;
  3597. justify-content: flex-end;
  3598. align-items: center;
  3599. position: absolute;
  3600. right: 0;
  3601. bottom: 5px;
  3602. }
  3603. .fold {
  3604. margin-right: 10px;
  3605. cursor: pointer;
  3606. }
  3607. .arrow > img {
  3608. width: 100%;
  3609. height: 100%;
  3610. }
  3611. .arrow {
  3612. width: 15px;
  3613. height: 15px;
  3614. margin-left: 10px;
  3615. }
  3616. .returnTop {
  3617. position: fixed;
  3618. bottom: 5%;
  3619. right: 5%;
  3620. transform: translateY(-5%);
  3621. background: #7b9ad7;
  3622. color: #fff;
  3623. width: 60px;
  3624. height: 60px;
  3625. border-radius: 50%;
  3626. font-size: 12px;
  3627. line-height: 60px;
  3628. text-align: center;
  3629. cursor: pointer;
  3630. }
  3631. .upCss {
  3632. display: flex;
  3633. flex-direction: row;
  3634. flex-wrap: nowrap;
  3635. align-items: center;
  3636. }
  3637. .leftNav {
  3638. position: fixed;
  3639. left: 5%;
  3640. top: 70%;
  3641. transform: translateY(-60%);
  3642. z-index: 999;
  3643. }
  3644. .topNav {
  3645. background: #316b8c;
  3646. color: #fff;
  3647. width: 250px;
  3648. height: 40px;
  3649. border-top-left-radius: 5px;
  3650. border-top-right-radius: 5px;
  3651. line-height: 40px;
  3652. padding-left: 10px;
  3653. }
  3654. .navLeftBox {
  3655. width: 100%;
  3656. font-size: 1em;
  3657. margin: 0px;
  3658. color: rgb(39, 48, 59);
  3659. background-color: rgb(118, 184, 222);
  3660. display: grid;
  3661. gap: 10px;
  3662. padding: 10px;
  3663. border-radius: 5px;
  3664. box-sizing: border-box;
  3665. }
  3666. .navBTitle {
  3667. background: #fff;
  3668. font-size: 18px;
  3669. width: 100%;
  3670. height: 40px;
  3671. line-height: 40px;
  3672. border-radius: 5px;
  3673. font-weight: bold;
  3674. text-indent: 15px;
  3675. cursor: pointer;
  3676. }
  3677. .navLTitle {
  3678. display: flex;
  3679. flex-direction: row;
  3680. flex-wrap: nowrap;
  3681. align-items: center;
  3682. background: #fff;
  3683. width: 100%;
  3684. height: 40px;
  3685. line-height: 40px;
  3686. border-radius: 5px;
  3687. font-weight: bold;
  3688. cursor: pointer;
  3689. }
  3690. .navLTitle > div:nth-child(1) {
  3691. width: 50px;
  3692. text-align: center;
  3693. border-top-left-radius: 5px;
  3694. border-bottom-left-radius: 5px;
  3695. background-color: rgb(225, 237, 247);
  3696. }
  3697. .navLTitle > div:nth-child(2) {
  3698. margin-left: 15px;
  3699. }
  3700. </style>