anliDetail.vue 106 KB

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