anliDetail.vue 115 KB

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