liveProjectDetail.vue 50 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778
  1. <template>
  2. <div
  3. style="
  4. background: rgb(230, 234, 240);
  5. width: 100%;
  6. margin: 0;
  7. position: relate;
  8. height: 100%;
  9. "
  10. >
  11. <div class="blackBottom">
  12. <div
  13. style="
  14. display: flex;
  15. flex-direction: row;
  16. flex-wrap: nowrap;
  17. align-items: stretch;
  18. padding-left: 10px;
  19. "
  20. >
  21. <div class="logoLive">
  22. <img src="../assets/icon/logo.png" alt />
  23. </div>
  24. <div style="color: #fff; line-height: 45px; padding-left: 15px">
  25. 湖心亭看雪可可乐博模拟展示课件
  26. </div>
  27. </div>
  28. <!-- <div
  29. style="display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center"
  30. >
  31. <div class="blackButton" @click="answerWork" v-if="steps == 0">下一步</div>
  32. <div class="blackButton" @click="steps = 3" v-if="steps != 3">提交作业</div>
  33. </div>-->
  34. </div>
  35. <div class="isNoOther">
  36. <div
  37. class="imgMiddle"
  38. :class="isBlock > 0 ? 'imghalf' : 'imgMiddle'"
  39. v-show="!full"
  40. >
  41. <!-- <iframe
  42. style="width: 100%; height: 100%; border: none"
  43. src="https://view.officeapps.live.com/op/view.aspx?src=https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/0701%E5%AE%9E%E6%97%B6%E8%AF%BE%E5%A0%82%E6%A8%A1%E6%8B%9F%E6%BC%94%E7%A4%BA%E8%AF%BE%E4%BB%B61656644341323.pptx"
  44. ></iframe>-->
  45. <pdf
  46. :pdfUrl="pdfUrl"
  47. style="width: 100%; height: 100%"
  48. :ppage="ppage"
  49. @getPageTotal="getPageTotal"
  50. ></pdf>
  51. </div>
  52. <div
  53. style="
  54. background: #d0d6e4;
  55. width: 40%;
  56. height: 100%;
  57. max-width: 40%;
  58. overflow: auto;
  59. "
  60. :class="{ fullStyle: full }"
  61. v-if="isBlock > 0"
  62. >
  63. <div
  64. style="
  65. background: #fff;
  66. width: 96%;
  67. margin: 10px auto;
  68. height: 96%;
  69. position: relative;
  70. "
  71. >
  72. <div
  73. style="color: #bfbfbf; padding: 15px 0 15px 25px; font-size: 20px"
  74. v-if="isBlock == 3"
  75. >
  76. 课堂评价
  77. </div>
  78. <div
  79. style="
  80. margin-left: 25px;
  81. border-bottom: 3px solid #2c83ee;
  82. width: 70px;
  83. padding-bottom: 3px;
  84. text-align: center;
  85. padding-top: 15px;
  86. "
  87. v-if="isBlock == 1"
  88. >
  89. 开始答题
  90. </div>
  91. <!-- <div
  92. style="
  93. margin-left: 25px;
  94. border-bottom: 3px solid #2c83ee;
  95. width: 70px;
  96. padding-bottom: 3px;
  97. text-align: center;
  98. "
  99. v-if="steps == 2"
  100. >
  101. 选择工具
  102. </div>-->
  103. <div class="answerBox" v-if="isBlock == 1">
  104. <!-- <div>
  105. <span class="timuButton">题目</span>
  106. <span style="letter-spacing: 3px; line-height: 35px"
  107. >小明有3本不同的语文书,2本不同的数学书,4本不同的英语书,小明整理书架时,要把这些书放在同一层,且相同科目的书要相邻摆放,问共有多少种摆放方式?</span
  108. >
  109. </div>
  110. <el-radio-group v-model="answerBox" class="anserBoxCss">
  111. <el-radio v-for="item1 in answer" :key="item1" :label="item1">{{
  112. item1.name
  113. }}</el-radio>
  114. </el-radio-group>
  115. <span slot="footer" class="dialog-footer sztFooter">
  116. <el-button type="primary" @click="answerQue">确定</el-button>
  117. </span>
  118. <div class="nextStepOne" @click="answerWork">下一步</div>-->
  119. <div class="answerBox">
  120. <div
  121. style="
  122. display: flex;
  123. flex-direction: column;
  124. flex-wrap: wrap;
  125. align-items: center;
  126. justify-content: center;
  127. "
  128. v-for="item in 1"
  129. :key="item"
  130. >
  131. <div class="choose_style">
  132. <!-- {{
  133. item
  134. }}、小明有3本不同的语文书,2本不同的数学书,4本不同的英语书,小明整理书架时,要把这些书放在同一层,且相同科目的书要相邻摆放,问共有多少种摆放方式?-->
  135. <span
  136. @click="isChooseActive(1)"
  137. :class="typeC.indexOf(1) != -1 ? 'isChoose' : ''"
  138. >A</span
  139. >
  140. <span
  141. @click="isChooseActive(2)"
  142. :class="typeC.indexOf(2) != -1 ? 'isChoose' : ''"
  143. >B</span
  144. >
  145. <span
  146. @click="isChooseActive(3)"
  147. :class="typeC.indexOf(3) != -1 ? 'isChoose' : ''"
  148. >C</span
  149. >
  150. <span
  151. @click="isChooseActive(4)"
  152. :class="typeC.indexOf(4) != -1 ? 'isChoose' : ''"
  153. >D</span
  154. >
  155. </div>
  156. <el-button style="margin: 0 auto" @click="showMember(item)"
  157. >提交</el-button
  158. >
  159. </div>
  160. </div>
  161. </div>
  162. <div
  163. class="answerBox tools_box"
  164. v-if="isBlock == 4"
  165. style="padding: 10px 0 0 25px; width: 100%; max-width: 100%"
  166. >
  167. <div style="color: #d1d1d1; font-size: 24px">课堂实践</div>
  168. <div
  169. style="
  170. margin: 20px 0 20px 0;
  171. border-bottom: 4px solid #3e86f3;
  172. width: 75px;
  173. text-align: center;
  174. padding-bottom: 3px;
  175. "
  176. >
  177. 选择工具
  178. </div>
  179. <div
  180. style="
  181. display: flex;
  182. flex-direction: row;
  183. flex-wrap: wrap;
  184. width: 100%;
  185. justify-content: flex-start;
  186. align-items: center;
  187. "
  188. >
  189. <div
  190. v-if="toolsList[0].tools.indexOf(1) != -1"
  191. @click="(isBlock = 2), (toolCount = 1)"
  192. class="toolCss"
  193. >
  194. <!-- <iframe
  195. style="width: 100%; height: 100%; border: none"
  196. src="https://iwb.cocorobo.cn/"
  197. ></iframe> -->
  198. <div class="toolImg">
  199. <img
  200. src="../assets/icon/secondToolList/whiteBoard.png"
  201. alt=""
  202. />
  203. <div>电子白板</div>
  204. </div>
  205. </div>
  206. <div
  207. v-if="toolsList[0].tools.indexOf(2) != -1"
  208. @click="(isBlock = 2), (toolCount = 2)"
  209. class="toolCss"
  210. >
  211. <!-- <iframe
  212. style="width: 100%; height: 100%; border: none"
  213. src="https://iwb.cocorobo.cn/"
  214. ></iframe> -->
  215. <div class="toolImg">
  216. <img src="../assets/icon/secondToolList/note.png" alt="" />
  217. <div>便签</div>
  218. </div>
  219. </div>
  220. <div
  221. v-if="toolsList[0].tools.indexOf(3) != -1"
  222. @click="(isBlock = 2), (toolCount = 3)"
  223. class="toolCss"
  224. >
  225. <!-- <iframe
  226. style="width: 100%; height: 100%; border: none"
  227. src="https://cloud.cocorobo.cn/kityminder-editor/dist/index.html"
  228. ></iframe> -->
  229. <div class="toolImg">
  230. <img
  231. src="../assets/icon/secondToolList/mindMapping.png"
  232. alt=""
  233. />
  234. <div>思维导图</div>
  235. </div>
  236. </div>
  237. <div
  238. v-if="toolsList[0].tools.indexOf(4) != -1"
  239. @click="(isBlock = 2), (toolCount = 4)"
  240. class="toolCss"
  241. >
  242. <!-- <iframe
  243. style="width: 100%; height: 100%; border: none"
  244. src="https://cloud.cocorobo.cn/kityminder-editor/dist/index.html"
  245. ></iframe> -->
  246. <div class="toolImg">
  247. <img src="../assets/icon/thirdToolList/ask.png" alt="" />
  248. <div>问卷调查</div>
  249. </div>
  250. </div>
  251. <div
  252. v-if="toolsList[0].tools.indexOf(6) != -1"
  253. @click="(isBlock = 2), (toolCount = 6)"
  254. class="toolCss"
  255. >
  256. <!-- <iframe
  257. style="width: 100%; height: 100%; border: none"
  258. src="https://cloud.cocorobo.cn/kityminder-editor/dist/index.html"
  259. ></iframe> -->
  260. <div class="toolImg">
  261. <img src="../assets/icon/secondToolList/doc.png" alt="" />
  262. <div>协同文档</div>
  263. </div>
  264. </div>
  265. <div
  266. v-if="toolsList[0].tools.indexOf(7) != -1"
  267. @click="(isBlock = 2), (toolCount = 7)"
  268. class="toolCss"
  269. >
  270. <!-- <iframe
  271. style="width: 100%; height: 100%; border: none"
  272. src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid"
  273. ></iframe> -->
  274. <div class="toolImg">
  275. <img
  276. src="../assets/icon/secondToolList/mindNetwork.png"
  277. alt=""
  278. />
  279. <div>思维网格</div>
  280. </div>
  281. </div>
  282. <div
  283. v-if="toolsList[0].tools.indexOf(8) != -1"
  284. @click="(isBlock = 2), (toolCount = 8)"
  285. class="toolCss"
  286. >
  287. <!-- <iframe
  288. style="width: 100%; height: 100%; border: none"
  289. src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid"
  290. ></iframe> -->
  291. <div class="toolImg">
  292. <img src="../assets/icon/secondToolList/library.png" alt="" />
  293. <div>素材库</div>
  294. </div>
  295. </div>
  296. <div v-if="toolsList[0].tools.indexOf(10) != -1" class="toolCss">
  297. <!-- <iframe
  298. style="width: 100%; height: 100%; border: none"
  299. src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid"
  300. ></iframe> -->
  301. <div class="toolImg">
  302. <div>倒计时</div>
  303. </div>
  304. </div>
  305. <div v-if="toolsList[0].tools.indexOf(11) != -1" class="toolCss">
  306. <!-- <iframe
  307. style="width: 100%; height: 100%; border: none"
  308. src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid"
  309. ></iframe> -->
  310. <div class="toolImg">
  311. <div>问答题</div>
  312. </div>
  313. </div>
  314. <div v-if="toolsList[0].tools.indexOf(13) != -1" class="toolCss">
  315. <!-- <iframe
  316. style="width: 100%; height: 100%; border: none"
  317. src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid"
  318. ></iframe> -->
  319. <div class="toolImg">
  320. <div>分小组</div>
  321. </div>
  322. </div>
  323. <div v-if="toolsList[0].tools.indexOf(14) != -1" class="toolCss">
  324. <!-- <iframe
  325. style="width: 100%; height: 100%; border: none"
  326. src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid"
  327. ></iframe> -->
  328. <div class="toolImg">
  329. <div>作业评价</div>
  330. </div>
  331. </div>
  332. </div>
  333. </div>
  334. <div
  335. class="answerBox"
  336. style="height: 100%"
  337. v-if="isBlock == 2"
  338. ref="qrcodePicture"
  339. >
  340. <div style="height: 100%; width: 100%">
  341. <div v-if="toolCount == 1" class="tools_child_box">
  342. <div class="tools_title">
  343. <span>电子白板</span>
  344. <div>
  345. <img
  346. src="../assets/full.png"
  347. class="full"
  348. @click="fullTools"
  349. />
  350. </div>
  351. </div>
  352. <iframe
  353. style="width: 100%; height: 100%; border: none"
  354. src="https://iwb.cocorobo.cn/"
  355. ref="whiteBoard"
  356. ></iframe>
  357. </div>
  358. <div
  359. v-if="toolsList[0].tools[howTools] == 2"
  360. class="tools_child_box"
  361. >
  362. <div class="tools_title">
  363. <span>便签</span>
  364. <div>
  365. <img
  366. src="../assets/full.png"
  367. class="full"
  368. @click="fullTools"
  369. />
  370. </div>
  371. </div>
  372. <iframe
  373. style="width: 100%; height: 100%; border: none"
  374. src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/note"
  375. ></iframe>
  376. </div>
  377. <div v-if="toolCount == 3" class="tools_child_box">
  378. <div class="tools_title">
  379. <span>思维导图</span>
  380. <div>
  381. <img
  382. src="../assets/full.png"
  383. class="full"
  384. @click="fullTools"
  385. />
  386. </div>
  387. </div>
  388. <iframe
  389. style="width: 100%; height: 100%; border: none"
  390. src="https://cloud.cocorobo.cn/kityminder-editor/dist/index.html"
  391. ref="mind"
  392. ></iframe>
  393. </div>
  394. <div
  395. v-if="toolsList[0].tools[howTools] == 4"
  396. class="tools_child_box"
  397. >
  398. <div class="tools_title">
  399. <span>问卷调查</span>
  400. <div>
  401. <img
  402. src="../assets/full.png"
  403. class="full"
  404. @click="fullTools"
  405. />
  406. </div>
  407. </div>
  408. <iframe
  409. style="width: 100%; height: 100%; border: none"
  410. src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/ask"
  411. ></iframe>
  412. </div>
  413. <div
  414. v-if="toolsList[0].tools[howTools] == 6"
  415. class="tools_child_box"
  416. >
  417. <div class="tools_title">
  418. <span>协同文档</span>
  419. <div>
  420. <img
  421. src="../assets/full.png"
  422. class="full"
  423. @click="fullTools"
  424. />
  425. </div>
  426. </div>
  427. <iframe
  428. style="width: 100%; height: 100%; border: none"
  429. src="https://cloud.cocorobo.cn/Office/Word/WordEditArea.htm"
  430. ></iframe>
  431. </div>
  432. <div v-if="toolCount == 7" class="tools_child_box">
  433. <div class="tools_title">
  434. <span>思维网格</span>
  435. <div>
  436. <img
  437. src="../assets/full.png"
  438. class="full"
  439. @click="fullTools"
  440. />
  441. </div>
  442. </div>
  443. <iframe
  444. style="width: 100%; height: 100%; border: none"
  445. src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid"
  446. ref="grid"
  447. ></iframe>
  448. </div>
  449. <div
  450. v-if="toolsList[0].tools[howTools] == 8"
  451. class="tools_child_box"
  452. >
  453. <div class="tools_title">
  454. <span>素材库</span>
  455. <div>
  456. <img
  457. src="../assets/full.png"
  458. class="full"
  459. @click="fullTools"
  460. />
  461. </div>
  462. </div>
  463. <iframe
  464. style="width: 100%; height: 100%; border: none"
  465. src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/library"
  466. ></iframe>
  467. </div>
  468. <div
  469. v-if="toolsList[0].tools[howTools] == 9"
  470. class="tools_child_box"
  471. >
  472. <div class="tools_title">
  473. <span>选择题</span>
  474. <div>
  475. <img
  476. src="../assets/full.png"
  477. class="full"
  478. @click="fullTools"
  479. />
  480. </div>
  481. </div>
  482. <div>选择题</div>
  483. </div>
  484. <div
  485. v-if="toolsList[0].tools[howTools] == 10"
  486. class="tools_child_box"
  487. >
  488. <div class="tools_title">
  489. <span>倒计时</span>
  490. <div>
  491. <img
  492. src="../assets/full.png"
  493. class="full"
  494. @click="fullTools"
  495. />
  496. </div>
  497. </div>
  498. <div>倒计时</div>
  499. </div>
  500. <div
  501. v-if="toolsList[0].tools[howTools] == 11"
  502. class="tools_child_box"
  503. >
  504. <div class="tools_title">
  505. <span>问答题</span>
  506. <div>
  507. <img
  508. src="../assets/full.png"
  509. class="full"
  510. @click="fullTools"
  511. />
  512. </div>
  513. </div>
  514. <div>问答题</div>
  515. </div>
  516. <div
  517. v-if="toolsList[0].tools[howTools] == 13"
  518. class="tools_child_box"
  519. >
  520. <div class="tools_title">
  521. <span>分小组</span>
  522. <div>
  523. <img
  524. src="../assets/full.png"
  525. class="full"
  526. @click="fullTools"
  527. />
  528. </div>
  529. </div>
  530. <div>分小组</div>
  531. </div>
  532. <div class="nextStepBox" v-if="toolsList[0].tools.length > 1">
  533. <!-- <div
  534. class="nextStepOne"
  535. @click="howTools--"
  536. v-if="howTools != 0"
  537. >
  538. 上一步
  539. </div>
  540. <div
  541. class="nextStepOne"
  542. @click="howTools++"
  543. v-if="howTools != toolsList[0].tools.length - 1"
  544. >
  545. 下一步
  546. </div> -->
  547. <div class="nextStepOne" @click="isBlock = 4">返回</div>
  548. </div>
  549. <div
  550. class="nextStepOne"
  551. style="float: right"
  552. @click="getImg"
  553. v-if="toolCount == 1 || toolCount == 3 || toolCount == 7"
  554. >
  555. 截图
  556. </div>
  557. </div>
  558. <!-- <div v-if="toolCount == 0" style="height: 100%">
  559. <iframe
  560. style="width: 100%; height: 100%; border: none"
  561. src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid"
  562. ></iframe>
  563. </div>
  564. <div v-if="toolCount == 1" style="height: 100%">
  565. <iframe
  566. style="width: 100%; height: 100%; border: none"
  567. src="https://iwb.cocorobo.cn/"
  568. ></iframe>
  569. </div>
  570. <div v-if="toolCount == 2" style="height: 90%">
  571. <iframe
  572. style="width: 100%; height: 100%; border: none"
  573. src="https://cloud.cocorobo.cn/kityminder-editor/dist/index.html"
  574. ></iframe>
  575. </div>-->
  576. <!-- <div class="toolList">
  577. <div class="tools">
  578. <div>
  579. <img
  580. src="../assets/icon/mindNetwork.png"
  581. alt=""
  582. @click="addTool(7)"
  583. />
  584. </div>
  585. <div>思维网格</div>
  586. </div>
  587. <div class="tools">
  588. <div>
  589. <img
  590. src="../assets/icon/whiteBoard.png"
  591. alt=""
  592. @click="addTool(1)"
  593. />
  594. </div>
  595. <div>电子白板</div>
  596. </div>
  597. <div class="tools">
  598. <div>
  599. <img
  600. src="../assets/icon/secondToolList/mindMapping.png"
  601. alt=""
  602. @click="addTool(3)"
  603. />
  604. </div>
  605. <div>思维导图</div>
  606. </div>
  607. </div>-->
  608. <!-- <div class="nextStepOne" @click="nextTool">下一步</div> -->
  609. </div>
  610. <div
  611. class="answerBox"
  612. v-if="isBlock == 3"
  613. style="padding: 0 0 0 25px"
  614. >
  615. <div>
  616. <div class="score_box">
  617. <span>自我评价</span>
  618. <el-rate v-model="rateList.ca"></el-rate>
  619. </div>
  620. <div class="score_box">
  621. <span>他人评价</span>
  622. <el-rate v-model="rateList.sia"></el-rate>
  623. </div>
  624. </div>
  625. <div>
  626. <div style="padding-bottom: 15px; sont-size: 14px">备注</div>
  627. <div class="bz">
  628. <el-input
  629. type="textarea"
  630. placeholder="请输入一些你想表达的"
  631. :rows="6"
  632. resize="none"
  633. v-model="rateList.content"
  634. ></el-input>
  635. </div>
  636. </div>
  637. <span
  638. slot="footer"
  639. class="dialog-footer sztFooter"
  640. style="
  641. padding: 0 0 30px 0px;
  642. position: absolute;
  643. right: 20px;
  644. bottom: 0;
  645. "
  646. >
  647. <el-button @click="isBlock = 0">取消</el-button>
  648. <el-button type="primary" @click="dialogVisible = true"
  649. >确定</el-button
  650. >
  651. </span>
  652. </div>
  653. </div>
  654. </div>
  655. <!-- <div v-if="steps == 3" style="width: 40%; height: 96%">
  656. <div
  657. style="
  658. box-sizing: border-box;
  659. background: rgb(255, 255, 255);
  660. width: 96%;
  661. height: 96%;
  662. margin: 10px auto;
  663. overflow: auto;
  664. position: relative;
  665. "
  666. >
  667. <div class="close" @click="(steps = 0), (type = 0)">
  668. <img src="../assets/icon/close.png" alt />
  669. </div>
  670. <div style="color: #b6b6b6; font-size: 20px; padding: 20px">上传作业</div>
  671. <div
  672. style="
  673. display: flex;
  674. flex-direction: row;
  675. flex-wrap: wrap;
  676. justify-content: flex-start;
  677. align-items: flex-start;
  678. margin-bottom: 30px;
  679. "
  680. >
  681. <div v-if="upload[0].upImg.length > 0" class="hengCss">
  682. <div
  683. v-for="(uImg, imgIndex) in upload[0].upImg"
  684. :key="imgIndex"
  685. class="uploadImgPic"
  686. >
  687. <img :src="uImg.url" alt />
  688. <div>{{ uImg.name }}</div>
  689. <div class="deleteWord" @click="clean(1)">
  690. <img src="../assets/icon/delete.png" alt />
  691. </div>
  692. </div>
  693. </div>
  694. <div
  695. class="uploadImg"
  696. @click="addImg($event)"
  697. v-if="upload[0].upImg.length == 0"
  698. >
  699. <img src="../assets/icon/uploadImg.png" alt />
  700. <input
  701. type="file"
  702. accept="image/png, image/gif, image/jpeg"
  703. style="display: none"
  704. @change="beforeUpload1($event, 1)"
  705. />
  706. <div style="text-align: center; color: rgb(182, 182, 182); font-size: 20px">
  707. 上传截图
  708. </div>
  709. </div>
  710. </div>-->
  711. <!-- <div
  712. style="
  713. display: flex;
  714. flex-direction: row;
  715. flex-wrap: wrap;
  716. justify-content: flex-start;
  717. align-items: flex-start;
  718. margin-bottom: 30px;
  719. "
  720. >
  721. <div v-if="upload[0].upVedio.length > 0" class="hengCss">
  722. <div
  723. v-for="(uVedio, vedioIndex) in upload[0].upVedio"
  724. :key="vedioIndex"
  725. class="uploadImgPic"
  726. >
  727. <img src="../assets/uploadMp4.png" alt="" />
  728. <div>{{ uVedio.name }}</div>
  729. <div class="deleteWord" @click="clean(2)">
  730. <img src="../assets/icon/delete.png" alt="" />
  731. </div>
  732. </div>
  733. </div>
  734. <div class="uploadImg" @click="addImg($event)">
  735. <img src="../assets/icon/uploadVedio.png" alt="" />
  736. <input
  737. type="file"
  738. accept="video/mp4,video/quicktime,video/x-msvideo"
  739. style="display: none"
  740. @change="beforeUpload1($event, 2)"
  741. />
  742. <div
  743. style="
  744. text-align: center;
  745. color: rgb(182, 182, 182);
  746. font-size: 20px;
  747. "
  748. >
  749. 上传视频
  750. </div>
  751. </div>
  752. </div>-->
  753. <!-- <div style="padding-left: 25px"><span style="color: red">*</span> 简要描述</div>
  754. <div style="padding: 10px 0 0 25px">
  755. <textarea
  756. rows="6"
  757. class="binfo_input"
  758. cols
  759. style="width: 95%; height: 120px"
  760. v-model="upload[0].upIntro"
  761. ></textarea>
  762. </div>
  763. <span
  764. slot="footer"
  765. class="dialog-footer sztFooter"
  766. style="padding: 10% 10px 50px 0px"
  767. >
  768. <el-button @click="steps = 1">返回答题</el-button>
  769. <el-button type="primary" @click="addWork">确定</el-button>
  770. </span>
  771. </div>
  772. </div>-->
  773. </div>
  774. <div class="blackBottomB"></div>
  775. <div v-if="proVisible" class="mask">
  776. <div class="progressBox">
  777. <div class="lbox">
  778. <img src="../assets/loading.gif" />上传中,请稍后
  779. </div>
  780. <el-progress
  781. :text-inside="true"
  782. :stroke-width="20"
  783. :percentage="progress"
  784. style="width: 80%"
  785. ></el-progress>
  786. </div>
  787. </div>
  788. <el-dialog
  789. :visible.sync="dialogVisible"
  790. :append-to-body="true"
  791. width="500px"
  792. :before-close="handleClose"
  793. class="dialog_diy"
  794. >
  795. <div style="text-align: center; padding: 20px 0 50px 0; font-size: 18px">
  796. 提交成功
  797. </div>
  798. <div
  799. style="
  800. width: 200px;
  801. background: #4d8ae0;
  802. height: 35px;
  803. margin: 0 auto;
  804. text-align: center;
  805. line-height: 35px;
  806. color: #fff;
  807. border-radius: 5px;
  808. cursor: pointer;
  809. "
  810. @click="dialogVisible = false"
  811. >
  812. 确定
  813. </div>
  814. </el-dialog>
  815. <div v-html="iframeInnerHtml" ref="iframeIh" class="iframeBox"></div>
  816. </div>
  817. </template>
  818. <script>
  819. import pdf from "./components/pdf";
  820. import html2canvas from "html2canvas";
  821. export default {
  822. components: {
  823. pdf,
  824. },
  825. data() {
  826. return {
  827. iframeInnerHtml: "",
  828. pdfUrl:
  829. "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/0629%E5%AE%9E%E6%97%B6%E8%AF%BE%E5%A0%82%E6%A8%A1%E6%8B%9F%E6%BC%94%E7%A4%BA%E8%AF%BE%E4%BB%B61656920880446.pdf",
  830. ppage: 2,
  831. full: false,
  832. pageTotal: 0,
  833. howTools: 0,
  834. toolsList: [],
  835. timer: null,
  836. isLoading: false,
  837. formLabelWidth: "100px",
  838. userid: this.$route.query.userid,
  839. cid: this.$route.query.courseId,
  840. oid: this.$route.query.oid,
  841. mr: require("../assets/kc1.png"),
  842. timu: [],
  843. dialogVisible: false,
  844. answerBox: "",
  845. isNoHomeWork: false,
  846. answer: [
  847. { name: "A.1568" },
  848. { name: "B.720" },
  849. { name: "C.1728" },
  850. { name: "D.480" },
  851. ],
  852. steps: 0,
  853. isBlock: 0,
  854. isNext: false,
  855. isAnswer: false,
  856. upload: [
  857. {
  858. upImg: [],
  859. upVedio: [],
  860. upIntro: "",
  861. },
  862. ],
  863. noneBtnImg: false,
  864. proVisible: false,
  865. progress: 0,
  866. typeC: [],
  867. toolCount: 0,
  868. tools: [
  869. "",
  870. "",
  871. { tools: [9] }, //选择题
  872. { tools: [10] }, //倒计时
  873. { tools: [11] }, //问答题
  874. { tools: [11] }, //问答题
  875. { tools: [3, 1] }, //思维导图/电子白板
  876. { tools: [12] }, //选人回答
  877. { tools: [10, 13] }, //倒计时、分小组
  878. { tools: [3, 1, 7] }, //思维导图/电子白板/思维网格
  879. { tools: [14] }, //查看作业
  880. { tools: [14] }, //查看作业
  881. "", //查看作业
  882. //1、电子白板 2、便签 3、思维导图 4、问卷调查 5、量规评分 6、协同文档 7、思维网格 8、素材库 9、选择题 10、倒计时 11、问答题 12、选人回答 13、分小组 14、老师对提交作业进行评价
  883. ],
  884. rateList: {
  885. ca: 0,
  886. sia: 0,
  887. content: "",
  888. },
  889. imgUrl: "",
  890. imgFile: "",
  891. imgFileUp: [],
  892. };
  893. },
  894. methods: {
  895. change(val) {
  896. console.log(val);
  897. },
  898. goTo(path) {
  899. this.$router.push(path);
  900. },
  901. tableRowClassName({ row, rowIndex }) {
  902. if ((rowIndex + 1) % 2 === 0) {
  903. return "even_row";
  904. } else {
  905. return "";
  906. }
  907. },
  908. jump(cid) {
  909. window.parent.postMessage({ cid: cid, type: "1" }, "*");
  910. },
  911. handleCurrentChange(val) {
  912. // console.log(`当前页: ${val}`);
  913. this.page = val;
  914. },
  915. init() {},
  916. handleClose(done) {
  917. done();
  918. },
  919. handleRemove(file, fileList) {
  920. console.log(file, fileList);
  921. },
  922. onExceed() {
  923. this.$message.error("课程海报仅支持上传一张,请删除后再进行上传");
  924. },
  925. //uuid生成
  926. guid() {
  927. return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
  928. /[xy]/g,
  929. function (c) {
  930. var r = (Math.random() * 16) | 0,
  931. v = c == "x" ? r : (r & 0x3) | 0x8;
  932. return v.toString(16);
  933. }
  934. );
  935. },
  936. time() {
  937. if (!this.now) {
  938. this.now = new Date().getTime();
  939. return true;
  940. } else {
  941. let time = new Date().getTime();
  942. if (time - this.now > 3000) {
  943. this.now = time;
  944. return true;
  945. } else {
  946. return false;
  947. }
  948. }
  949. },
  950. // answerWork() {
  951. // this.steps++;
  952. // },
  953. addTool(t) {
  954. if (t == 1) {
  955. window.parent.postMessage({ tools: "1" }, "*");
  956. } else if (t == 3) {
  957. window.parent.postMessage({ tools: "3" }, "*");
  958. } else if (t == 7) {
  959. window.parent.postMessage({ tools: "7" }, "*");
  960. }
  961. },
  962. answerQue() {
  963. this.dialogVisible = true;
  964. },
  965. isChooseActive(t) {
  966. if (this.isAnswer == true) {
  967. return;
  968. } else {
  969. if (this.typeC.length == 0) {
  970. this.typeC.push(t);
  971. } else {
  972. if (this.typeC.indexOf(t) != -1) {
  973. this.typeC.splice(this.typeC.indexOf(t), 1);
  974. } else {
  975. this.typeC.push(t);
  976. }
  977. }
  978. }
  979. },
  980. showMember(i) {
  981. if (this.typeC.length > 0) {
  982. // this.steps = 2;
  983. this.isAnswer = true;
  984. this.dialogVisible = true;
  985. } else {
  986. this.$message.error("至少选择一个答案!");
  987. }
  988. },
  989. clean(type) {
  990. if (type == 1) {
  991. this.upload[0].upImg.splice(0, 1);
  992. } else if (type == 2) {
  993. this.upload[0].upVedio.splice(0, 1);
  994. }
  995. },
  996. addImg(e) {
  997. var el = e.currentTarget;
  998. el.getElementsByTagName("input")[0].click();
  999. },
  1000. imgChange(file, fileList, type) {
  1001. if (type == 1) {
  1002. var _tmp = this.upload[0].upImg;
  1003. } else if (type == 2) {
  1004. var _tmp = this.upload[0].upVedio;
  1005. } else if (type == 100) {
  1006. var _tmp = this.imgFileUp;
  1007. }
  1008. this.noneBtnImg = _tmp.length >= 1;
  1009. },
  1010. beforeUpload1(event, type) {
  1011. var file = event.target.files[0];
  1012. var credentials = {
  1013. accessKeyId: "AKIATLPEDU37QV5CHLMH",
  1014. secretAccessKey: "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",
  1015. }; //秘钥形式的登录上传
  1016. window.AWS.config.update(credentials);
  1017. window.AWS.config.region = "cn-northwest-1"; //设置区域
  1018. var bucket = new window.AWS.S3({ params: { Bucket: "ccrb" } }); //选择桶
  1019. var _this = this;
  1020. _this.progress = 0;
  1021. _this.proVisible = true;
  1022. if (file) {
  1023. var params = {
  1024. Key:
  1025. file.name.split(".")[0] +
  1026. new Date().getTime() +
  1027. "." +
  1028. file.name.split(".")[1],
  1029. ContentType: file.type,
  1030. Body: file,
  1031. "Access-Control-Allow-Credentials": "*",
  1032. ACL: "public-read",
  1033. }; //key可以设置为桶的相抵路径,Body为文件, ACL最好要设置
  1034. var options = {
  1035. partSize: 2048 * 1024 * 1024,
  1036. queueSize: 2,
  1037. leavePartsOnError: true,
  1038. };
  1039. bucket
  1040. .upload(params, options)
  1041. .on("httpUploadProgress", function (evt) {
  1042. //这里可以写进度条
  1043. // console.log("Uploaded : " + parseInt((evt.loaded * 80) / evt.total) + '%');
  1044. _this.progress = parseInt((evt.loaded * 80) / evt.total);
  1045. })
  1046. .send(function (err, data) {
  1047. _this.progress = 100;
  1048. setTimeout(() => {
  1049. _this.proVisible = false;
  1050. }, 1000);
  1051. if (err) {
  1052. var a = _this.$refs.upload1.uploadFiles;
  1053. a.splice(a.length - 1, a.length);
  1054. _this.$message.error("上传失败");
  1055. } else {
  1056. if (type == 1) {
  1057. _this.upload[0].upImg.push({
  1058. name: file.name,
  1059. url: data.Location,
  1060. uid: file.uid,
  1061. });
  1062. _this.imgChange(null, null, type);
  1063. } else if (type == 2) {
  1064. _this.upload[0].upVedio.push({
  1065. name: file.name,
  1066. url: data.Location,
  1067. uid: file.uid,
  1068. });
  1069. _this.imgChange(null, null, type);
  1070. }
  1071. console.log(data.Location);
  1072. }
  1073. });
  1074. }
  1075. },
  1076. beforeUpload2(event) {
  1077. var file = event;
  1078. var credentials = {
  1079. accessKeyId: "AKIATLPEDU37QV5CHLMH",
  1080. secretAccessKey: "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",
  1081. }; //秘钥形式的登录上传
  1082. window.AWS.config.update(credentials);
  1083. window.AWS.config.region = "cn-northwest-1"; //设置区域
  1084. var bucket = new window.AWS.S3({ params: { Bucket: "ccrb" } }); //选择桶
  1085. var _this = this;
  1086. _this.progress = 0;
  1087. _this.proVisible = true;
  1088. if (file) {
  1089. var params = {
  1090. Key: file.name.split(".")[0] + new Date().getTime() + "." + "png",
  1091. ContentType: file.type,
  1092. Body: file,
  1093. "Access-Control-Allow-Credentials": "*",
  1094. ACL: "public-read",
  1095. }; //key可以设置为桶的相抵路径,Body为文件, ACL最好要设置
  1096. var options = {
  1097. partSize: 2048 * 1024 * 1024,
  1098. queueSize: 2,
  1099. leavePartsOnError: true,
  1100. };
  1101. bucket
  1102. .upload(params, options)
  1103. .on("httpUploadProgress", function (evt) {
  1104. //这里可以写进度条
  1105. // console.log("Uploaded : " + parseInt((evt.loaded * 80) / evt.total) + '%');
  1106. _this.progress = parseInt((evt.loaded * 80) / evt.total);
  1107. })
  1108. .send(function (err, data) {
  1109. _this.progress = 100;
  1110. setTimeout(() => {
  1111. _this.proVisible = false;
  1112. }, 1000);
  1113. if (err) {
  1114. var a = _this.$refs.upload1.uploadFiles;
  1115. a.splice(a.length - 1, a.length);
  1116. _this.$message.error("上传失败");
  1117. } else {
  1118. _this.imgFileUp.push({
  1119. name: file.name,
  1120. url: data.Location,
  1121. uid: file.uid,
  1122. });
  1123. _this.imgChange(null, null, type);
  1124. console.log(data.Location);
  1125. }
  1126. });
  1127. }
  1128. },
  1129. addWork() {
  1130. if (this.upload[0].upImg.length == 0) {
  1131. this.$message.error("请上传图片");
  1132. return;
  1133. }
  1134. // else if (this.upload[0].upVedio.length == 0) {
  1135. // this.$message.error("请上传视频");
  1136. // return;
  1137. // }
  1138. else if (this.upload[0].upIntro == "") {
  1139. this.$message.error("请填写简要描述");
  1140. return;
  1141. }
  1142. if (this.isNoHomeWork == true) {
  1143. this.$confirm(
  1144. "您已经提交了该作业了,如果您再提交将覆盖上次提交的作业!",
  1145. "提示",
  1146. {
  1147. confirmButtonText: "确定",
  1148. cancelButtonText: "取消",
  1149. type: "warning",
  1150. }
  1151. )
  1152. .then(() => {
  1153. this.addSWork();
  1154. })
  1155. .catch(() => {});
  1156. } else {
  1157. this.addSWork();
  1158. }
  1159. },
  1160. addSWork() {
  1161. let params = {
  1162. uid: this.userid,
  1163. cid: this.cid,
  1164. // upload: JSON.stringify(this.upload),
  1165. upload: JSON.stringify(this.imgFileUp),
  1166. };
  1167. this.ajax
  1168. .get(this.$store.state.api + "insertSWork", params)
  1169. .then((res) => {
  1170. // this.isNoHomeWork = true;
  1171. this.dialogVisible = true;
  1172. // this.selectSWork(); // this.upload = res.data[0][0].upload;
  1173. this.$message({
  1174. message: "截图上传成功",
  1175. type: "success",
  1176. });
  1177. })
  1178. .catch((err) => {
  1179. this.$message.error("截图上传失败");
  1180. console.error(err);
  1181. });
  1182. },
  1183. selectSWork() {
  1184. let params = {
  1185. uid: this.userid,
  1186. cid: this.cid,
  1187. };
  1188. this.ajax
  1189. .get(this.$store.state.api + "selectSWork", params)
  1190. .then((res) => {
  1191. if (res.data[0].length > 0) {
  1192. this.isNoHomeWork = true;
  1193. }
  1194. })
  1195. .catch((err) => {
  1196. this.$message.error("暂无作业");
  1197. console.error(err);
  1198. });
  1199. },
  1200. getImg() {
  1201. var iframeHtml;
  1202. let iframeBody;
  1203. if (this.toolCount == 1) {
  1204. iframeHtml = this.$refs.whiteBoard;
  1205. } else if (this.toolCount == 3) {
  1206. iframeHtml = this.$refs.mind;
  1207. } else if (this.toolCount == 7) {
  1208. iframeHtml = this.$refs.grid;
  1209. }
  1210. iframeBody = iframeHtml.contentWindow.document.body;
  1211. this.iframeInnerHtml = iframeBody.innerHTML;
  1212. var iframeIh = this.$refs.iframeIh;
  1213. iframeIh.innerHTML = this.iframeInnerHtml;
  1214. this.$forceUpdate();
  1215. console.log(iframeIh);
  1216. // var iframeHtml = this.$refs.whiteBoard;
  1217. // 第一个参数是需要生成截图的元素,第二个是自己需要配置的参数,宽高等
  1218. html2canvas(iframeBody, {
  1219. allowTaint: true,
  1220. backgroundColor: null, //画出来的图片有白色的边框,不要可设置背景为透明色(null)
  1221. useCORS: true, //支持图片跨域
  1222. scale: 1, //设置放大的倍数
  1223. }).then((canvas) => {
  1224. // 把生成的base64位图片上传到服务器,生成在线图片地址
  1225. let url = canvas.toDataURL("image/png"); // toDataURL: 图片格式转成 base64
  1226. this.imgUrl = url; //将图片下载到本地
  1227. let a = document.createElement("a"); // 生成一个a元素
  1228. let event = new MouseEvent("click"); // 创建一个单击事件
  1229. a.download = "作业"; // 设置图片名称没有设置则为默认
  1230. a.href = this.imgUrl; // 将生成的URL设置为a.href属性
  1231. a.dispatchEvent(event); // 触发a的单击事件
  1232. let file = this.dataURLtoFile(url, "作业");
  1233. this.imgFile = file;
  1234. this.beforeUpload2(this.imgFile);
  1235. this.addSWork();
  1236. console.log(this.imgFile);
  1237. });
  1238. },
  1239. dataURLtoFile(dataurl, filename) {
  1240. let arr = dataurl.split(","),
  1241. mime = arr[0].match(/:(.*?);/)[1],
  1242. bstr = atob(arr[1]),
  1243. n = bstr.length,
  1244. u8arr = new Uint8Array(n);
  1245. while (n--) {
  1246. u8arr[n] = bstr.charCodeAt(n);
  1247. }
  1248. return new File([u8arr], filename, { type: mime });
  1249. },
  1250. search() {},
  1251. howPage(page) {
  1252. if (page == this.pageTotal) {
  1253. this.isBlock = 3;
  1254. } else {
  1255. if (this.ppage < 3) {
  1256. this.isBlock = 0;
  1257. }
  1258. if (this.ppage == 3) {
  1259. this.isBlock = 1;
  1260. }
  1261. if (this.ppage > 3) {
  1262. this.isBlock = 2;
  1263. }
  1264. this.howTools = 0;
  1265. if (this.toolsList.length > 0) {
  1266. this.toolsList = [];
  1267. this.toolsList.push({ tools: this.tools[page - 1].tools });
  1268. } else {
  1269. this.toolsList.push({ tools: this.tools[page - 1].tools });
  1270. }
  1271. if (
  1272. this.toolsList[0].tools &&
  1273. (this.toolsList[0].tools[0] == 14 || this.toolsList[0].tools[0] == 12)
  1274. ) {
  1275. this.isBlock = 0;
  1276. }
  1277. if (
  1278. this.toolsList[0].tools.indexOf(1) != -1 ||
  1279. this.toolsList[0].tools.indexOf(3) != -1 ||
  1280. this.toolsList[0].tools.indexOf(7) != -1
  1281. ) {
  1282. this.isBlock = 4;
  1283. }
  1284. }
  1285. },
  1286. setPage() {
  1287. this.ajax
  1288. .get(this.$store.state.api + "selectPptPage", "")
  1289. .then((res) => {
  1290. if (res.data[0].length > 0) {
  1291. if (this.ppage == res.data[0][0].page) {
  1292. return;
  1293. } else {
  1294. this.ppage = res.data[0][0].page;
  1295. console.log(1);
  1296. this.howPage(this.ppage);
  1297. }
  1298. }
  1299. })
  1300. .catch((err) => {
  1301. this.$message.error("查询失败");
  1302. console.error(err);
  1303. });
  1304. },
  1305. getPageTotal(total) {
  1306. this.pageTotal = total;
  1307. },
  1308. fullTools() {
  1309. this.full = !this.full;
  1310. },
  1311. },
  1312. beforeDestroy() {
  1313. clearInterval(this.timer);
  1314. this.timer = null;
  1315. },
  1316. created() {
  1317. // this.selectSWork();
  1318. let _this = this;
  1319. this.timer = setInterval(() => {
  1320. _this.setPage();
  1321. }, 1000);
  1322. },
  1323. };
  1324. </script>
  1325. <style scoped>
  1326. .dialog_diy >>> .el-dialog__header {
  1327. background: #3d67bc !important;
  1328. padding: 15px 20px;
  1329. }
  1330. .dialog_diy >>> .el-dialog__title {
  1331. color: #fff;
  1332. }
  1333. .dialog_diy >>> .el-dialog__headerbtn {
  1334. top: 9px;
  1335. }
  1336. .dialog_diy >>> .el-dialog__headerbtn .el-dialog__close {
  1337. color: #fff;
  1338. }
  1339. .dialog_diy >>> .el-dialog__headerbtn .el-dialog__close:hover {
  1340. color: #fff;
  1341. }
  1342. .blackBottom {
  1343. background: rgb(0, 0, 0);
  1344. height: 45px;
  1345. width: 100%;
  1346. display: flex;
  1347. flex-direction: row;
  1348. flex-wrap: nowrap;
  1349. align-items: center;
  1350. justify-content: space-between;
  1351. }
  1352. .imgMiddle {
  1353. width: 100%;
  1354. }
  1355. .imgMiddle > img,
  1356. .imghalf > img,
  1357. .szt > img,
  1358. .uploadImg > img,
  1359. .uploadVedio > img,
  1360. .uploadImgPic > img,
  1361. .logoLive > img,
  1362. .close > img,
  1363. .deleteWord > img {
  1364. width: 100%;
  1365. height: 100%;
  1366. }
  1367. .deleteWord {
  1368. width: 22px !important;
  1369. height: 22px;
  1370. position: absolute;
  1371. right: -5px;
  1372. top: -5px;
  1373. cursor: pointer;
  1374. }
  1375. .blackBottomB {
  1376. position: absolute;
  1377. bottom: 0px;
  1378. left: 0px;
  1379. display: flex;
  1380. flex-direction: row;
  1381. flex-wrap: wrap;
  1382. align-content: center;
  1383. justify-content: flex-start;
  1384. align-items: center;
  1385. background: rgb(0, 0, 0);
  1386. height: 45px;
  1387. width: 100%;
  1388. }
  1389. .blackBottomB > div:nth-child(1) {
  1390. margin-left: 10px !important;
  1391. }
  1392. .blackButton {
  1393. color: #fff;
  1394. background: #066ebe;
  1395. width: 100px;
  1396. height: 30px;
  1397. line-height: 30px;
  1398. text-align: center;
  1399. margin: 0 25px;
  1400. border-radius: 5px;
  1401. font-size: 15px;
  1402. cursor: pointer;
  1403. }
  1404. .isNoOther {
  1405. width: 100%;
  1406. display: flex;
  1407. height: calc(100% - 90px);
  1408. }
  1409. .imghalf {
  1410. width: 60% !important;
  1411. }
  1412. .answerBox {
  1413. padding: 25px;
  1414. overflow: auto;
  1415. height: 70%;
  1416. box-sizing: border-box;
  1417. }
  1418. .answerTimuBox {
  1419. display: flex;
  1420. flex-direction: row;
  1421. flex-wrap: nowrap;
  1422. align-items: center;
  1423. justify-content: space-between;
  1424. padding-bottom: 15px;
  1425. }
  1426. .memberBox {
  1427. display: flex;
  1428. flex-direction: row;
  1429. flex-wrap: wrap;
  1430. align-items: center;
  1431. }
  1432. .memberBox > div {
  1433. background: rgb(240, 185, 204);
  1434. width: 120px;
  1435. color: #fff;
  1436. height: 40px;
  1437. text-align: center;
  1438. line-height: 40px;
  1439. border-radius: 5px;
  1440. margin: 0 15px 15px 0;
  1441. cursor: pointer;
  1442. }
  1443. .viewSta {
  1444. background: rgb(97, 97, 97);
  1445. color: #bebebe;
  1446. margin: 20% auto 20px;
  1447. width: 300px;
  1448. height: 40px;
  1449. text-align: center;
  1450. line-height: 40px;
  1451. border-radius: 5px;
  1452. cursor: pointer;
  1453. }
  1454. .szt {
  1455. width: 450px;
  1456. margin: 20px auto;
  1457. }
  1458. .sztFooter {
  1459. padding: 20px 10px 50px 0;
  1460. display: flex;
  1461. flex-direction: row;
  1462. flex-wrap: nowrap;
  1463. justify-content: flex-end;
  1464. align-items: center;
  1465. }
  1466. .timuButton {
  1467. background: #649ef2;
  1468. width: 75px;
  1469. height: 27px;
  1470. line-height: 27px;
  1471. text-align: center;
  1472. border-radius: 5px;
  1473. color: #fff;
  1474. margin-right: 20px;
  1475. display: inline-block;
  1476. }
  1477. .anserBoxCss {
  1478. margin: 30px 0 20px 0;
  1479. }
  1480. .anserBoxCss >>> .el-radio__label {
  1481. font-size: 18px;
  1482. }
  1483. .anserBoxCss >>> .el-radio__inner {
  1484. border-radius: 0px !important;
  1485. }
  1486. .nextStepBox {
  1487. display: flex;
  1488. justify-content: center;
  1489. margin-top: 10px;
  1490. }
  1491. .nextStepOne {
  1492. background: #6b92c9;
  1493. color: #fff;
  1494. width: 110px;
  1495. text-align: center;
  1496. height: 35px;
  1497. line-height: 35px;
  1498. font-size: 14px;
  1499. border-radius: 5px;
  1500. cursor: pointer;
  1501. }
  1502. .nextStepOne,
  1503. .nextStepOne {
  1504. margin-left: 10px;
  1505. }
  1506. .toolList {
  1507. display: flex;
  1508. flex-direction: row;
  1509. flex-wrap: wrap;
  1510. justify-content: flex-start;
  1511. align-items: center;
  1512. }
  1513. .tools {
  1514. display: flex;
  1515. flex-direction: column;
  1516. align-items: center;
  1517. margin-right: 20px;
  1518. }
  1519. .tools > div:nth-child(1) {
  1520. width: 60px;
  1521. }
  1522. .tools > div:nth-child(1) > img {
  1523. width: 100%;
  1524. height: 100%;
  1525. }
  1526. .uploadImg {
  1527. width: 100px;
  1528. margin: 10px 0 0 15px;
  1529. cursor: pointer;
  1530. }
  1531. .upImg {
  1532. display: flex;
  1533. flex-direction: column;
  1534. flex-wrap: nowrap;
  1535. align-items: center;
  1536. justify-content: center;
  1537. color: rgb(182, 182, 182);
  1538. font-size: 20px;
  1539. }
  1540. .binfo_input {
  1541. font: inherit;
  1542. color: currentColor;
  1543. width: 100%;
  1544. margin: 0;
  1545. padding: 15px 14px;
  1546. display: block;
  1547. min-width: 0;
  1548. outline: none;
  1549. box-sizing: content-box;
  1550. background: none;
  1551. -webkit-tap-highlight-color: transparent;
  1552. border: 1px solid rgba(0, 0, 0, 0.23);
  1553. border-radius: 4px;
  1554. box-sizing: border-box;
  1555. resize: none;
  1556. }
  1557. .binfo_input:focus-visible {
  1558. border: 1px solid rgba(61, 103, 188);
  1559. }
  1560. .hengCss {
  1561. display: flex;
  1562. flex-direction: row;
  1563. flex-wrap: wrap;
  1564. align-items: center;
  1565. padding: 5px 0 0 20px;
  1566. }
  1567. .uploadImgPic {
  1568. width: 100px;
  1569. height: 100px;
  1570. position: relative;
  1571. margin: 0 20px 0 0;
  1572. }
  1573. .uploadImgPic > div {
  1574. width: 100px;
  1575. white-space: nowrap;
  1576. overflow: hidden;
  1577. text-overflow: ellipsis;
  1578. }
  1579. .mask {
  1580. background-color: rgba(0, 0, 0, 0);
  1581. position: fixed;
  1582. top: 0;
  1583. left: 0;
  1584. width: 100%;
  1585. height: 100%;
  1586. z-index: 20000;
  1587. display: flex;
  1588. align-items: center;
  1589. justify-content: center;
  1590. }
  1591. .progressBox {
  1592. width: 500px;
  1593. height: 180px;
  1594. background: #fff;
  1595. border-radius: 10px;
  1596. box-shadow: 0 0 6px 1px #bfbfbf;
  1597. display: flex;
  1598. align-items: center;
  1599. justify-content: center;
  1600. flex-direction: column;
  1601. }
  1602. .progressBox .lbox {
  1603. height: 100px;
  1604. font-size: 19px;
  1605. display: flex;
  1606. align-items: center;
  1607. }
  1608. .progressBox .lbox img {
  1609. width: 40px;
  1610. margin-right: 20px;
  1611. }
  1612. .progressBox >>> .el-progress-bar__outer {
  1613. background-color: #d1dfff !important;
  1614. }
  1615. .progressBox .lbox {
  1616. height: 100px;
  1617. font-size: 19px;
  1618. display: flex;
  1619. align-items: center;
  1620. }
  1621. .progressBox .lbox img {
  1622. width: 40px;
  1623. margin-right: 20px;
  1624. }
  1625. .logoLive {
  1626. width: 35px;
  1627. }
  1628. .choose_style {
  1629. display: flex;
  1630. justify-content: center;
  1631. align-items: center;
  1632. width: 100%;
  1633. margin: 10px 0 30px;
  1634. }
  1635. .choose_style span {
  1636. background: #f8f9ff;
  1637. color: #677fff;
  1638. border: 1px solid #95b5ff;
  1639. padding: 15px 20px;
  1640. font-size: 25px;
  1641. border-radius: 18px;
  1642. cursor: pointer;
  1643. }
  1644. .choose_style span + span {
  1645. margin-left: 25px;
  1646. }
  1647. .isChoose {
  1648. color: #fff !important;
  1649. background: #5e78fa !important;
  1650. }
  1651. .close {
  1652. position: absolute;
  1653. right: 10px;
  1654. top: 10px;
  1655. width: 20px;
  1656. cursor: pointer;
  1657. }
  1658. .score_box {
  1659. font-size: 14px;
  1660. }
  1661. .score_box >>> .el-rate {
  1662. margin: 10px 0 20px 0;
  1663. }
  1664. .score_box >>> .el-rate__icon {
  1665. font-size: 23px;
  1666. }
  1667. .bz >>> .el-textarea__inner {
  1668. width: 40%;
  1669. border: 1px solid;
  1670. border-radius: 0px;
  1671. }
  1672. .tools_title {
  1673. background: #000;
  1674. position: absolute;
  1675. width: 100%;
  1676. top: 0;
  1677. left: 0;
  1678. display: flex;
  1679. align-items: center;
  1680. height: 40px;
  1681. justify-content: space-between;
  1682. padding: 0 15px;
  1683. box-sizing: border-box;
  1684. }
  1685. .tools_title span {
  1686. color: #fff;
  1687. }
  1688. .tools_title div {
  1689. display: flex;
  1690. align-items: center;
  1691. }
  1692. .full,
  1693. .closeImg {
  1694. height: 22px;
  1695. cursor: pointer;
  1696. }
  1697. .tools_title img,
  1698. img {
  1699. margin-left: 10px;
  1700. }
  1701. .tools_box {
  1702. width: 38.5%;
  1703. max-width: 38.5%;
  1704. overflow: auto;
  1705. background: rgb(255, 255, 255);
  1706. height: 91.5%;
  1707. position: relative;
  1708. margin: 10px 15px;
  1709. }
  1710. .tools_child_box {
  1711. width: 100%;
  1712. height: calc(90% - 40px);
  1713. padding-top: 40px;
  1714. }
  1715. .fullStyle {
  1716. width: 100% !important;
  1717. max-width: 100% !important;
  1718. }
  1719. .toolCss {
  1720. display: flex;
  1721. flex-direction: column;
  1722. flex-wrap: wrap;
  1723. width: calc(100% / 6);
  1724. align-items: center;
  1725. text-align: center;
  1726. }
  1727. .toolImg {
  1728. width: 70px;
  1729. height: 70px;
  1730. cursor: pointer;
  1731. }
  1732. .toolImg > img {
  1733. width: 100%;
  1734. height: 100%;
  1735. margin: 0 !important;
  1736. }
  1737. .toolImg > div {
  1738. font-size: 14px;
  1739. }
  1740. .iframeBox {
  1741. overflow: auto;
  1742. position: absolute;
  1743. top: 0;
  1744. z-index: -2;
  1745. width: 100%;
  1746. height: 100%;
  1747. }
  1748. </style>