anliDetail.vue 112 KB

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