liveRoom.vue 44 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645
  1. <template>
  2. <div
  3. style="
  4. background: #d0d6e4;
  5. width: 100%;
  6. height: 100%;
  7. margin: 0;
  8. position: relate;
  9. "
  10. >
  11. <!-- <div class="pb_content_body" style="height: 100%">
  12. </div>-->
  13. <div class="blackBottom">
  14. <div
  15. style="
  16. display: flex;
  17. flex-direction: row;
  18. flex-wrap: nowrap;
  19. align-items: stretch;
  20. padding-left: 10px;
  21. "
  22. >
  23. <div class="logoLive">
  24. <img src="../../assets/icon/logo.png" alt />
  25. </div>
  26. <div style="color: #fff; line-height: 45px; padding-left: 15px">
  27. 湖心亭看雪可可乐博模拟展示课件
  28. </div>
  29. </div>
  30. </div>
  31. <div class="isNoOther">
  32. <div
  33. class="imgMiddle"
  34. :class="isBlock > 0 ? 'imghalf' : 'imgMiddle'"
  35. v-show="!full"
  36. >
  37. <!-- <img src="../../assets/icon/kc1.png" alt /> -->
  38. <!-- <iframe
  39. style="width: 100%; height: 100%; border: none"
  40. 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"
  41. ></iframe>-->
  42. <pdf
  43. :pdfUrl="pdfUrl"
  44. style="width: 100%; height: 100%"
  45. :getPage="getPage"
  46. ></pdf>
  47. </div>
  48. <div
  49. style="
  50. background: #d0d6e4;
  51. height: 100%;
  52. min-width: 40%;
  53. max-width: 40%;
  54. overflow: auto;
  55. padding: 0px 0 50px;
  56. "
  57. v-if="isBlock == 1 || isBlock == 6"
  58. >
  59. <div
  60. style="background: #fff; height: 92%; width: 96%; margin: 10px auto"
  61. >
  62. <div
  63. style="color: #bfbfbf; padding: 15px 0 20px 25px; font-size: 20px"
  64. >
  65. 答题查看
  66. </div>
  67. <!-- <div class="answerBox" v-if="isBlock == 1">
  68. <div class="answerTimuBox" v-for="item in 1" :key="item">
  69. <div class="choose_style">
  70. <span>A</span>
  71. <span>B</span>
  72. <span>C</span>
  73. <span>D</span>
  74. </div>
  75. </div>
  76. </div>-->
  77. <div class="answerBox" v-if="isBlock == 1 || isBlock == 6">
  78. <div class="memberBox" v-if="isBlock == 1">
  79. <div
  80. :class="{ pAnswer: item.is == 2 }"
  81. v-for="(item, index) in studentArray"
  82. :key="index"
  83. >
  84. {{ item.name }}
  85. </div>
  86. </div>
  87. <div class="memberBox" v-if="isBlock == 6">
  88. <div
  89. :class="{ pAnswer: item.is == 2 }"
  90. v-for="(item, index) in studentArray2"
  91. :key="index"
  92. @click="whoAnswer(item, index)"
  93. >
  94. {{ item.name }}
  95. </div>
  96. </div>
  97. <div style="color: #948bdc; padding-top: 15px" v-if="isBlock == 1">
  98. 共有四个选项,正在答题......
  99. </div>
  100. <div class="viewSta" @click="isBlock = 3" v-if="isBlock == 1">
  101. 查看数据统计
  102. </div>
  103. <span
  104. slot="footer"
  105. class="dialog-footer sztFooter"
  106. v-if="isBlock == 6"
  107. >
  108. <el-button type="primary" @click="isBlock = 0">结束</el-button>
  109. <!-- <el-button type="primary" @click="isBlock = 2">返回</el-button> -->
  110. </span>
  111. </div>
  112. </div>
  113. </div>
  114. <div
  115. style="
  116. background: #d0d6e4;
  117. height: 92%;
  118. min-width: 40%;
  119. max-width: 40%;
  120. overflow: auto;
  121. padding: 0px 0 50px;
  122. "
  123. v-if="isBlock == 3"
  124. >
  125. <div
  126. style="
  127. background: #fff;
  128. width: 96%;
  129. margin: 10px auto;
  130. position: relative;
  131. "
  132. >
  133. <div class="close" @click="isBlock = 0">
  134. <img src="../../assets/icon/close.png" alt />
  135. </div>
  136. <div style="color: #bfbfbf; padding: 15px 0 20px 25px">数据统计</div>
  137. <div style="padding-left: 25px">
  138. 目前A选项
  139. <span class>{{ answerJson.A }}票</span>、B选项
  140. <span>{{ answerJson.B }}票</span>、C选项
  141. <span>{{ answerJson.C }}票</span>、D选项
  142. <span>{{ answerJson.D }}票</span>
  143. </div>
  144. <div class="szt">
  145. <!-- <img src="../../assets/szt.png" alt /> -->
  146. <AnswerData :problemJson="answerJson"></AnswerData>
  147. </div>
  148. <span slot="footer" class="dialog-footer sztFooter">
  149. <el-button type="primary" @click="isBlock = 0">关闭</el-button>
  150. <el-button type="primary" @click="isBlock = 1">返回</el-button>
  151. </span>
  152. </div>
  153. </div>
  154. <div
  155. class="answerBox tools_box"
  156. v-if="isBlock == 2"
  157. style="padding: 10px 0 0 25px"
  158. >
  159. <div style="color: #d1d1d1; font-size: 24px">课堂实践</div>
  160. <div
  161. style="
  162. margin: 20px 0 20px 0;
  163. border-bottom: 4px solid #3e86f3;
  164. width: 75px;
  165. text-align: center;
  166. padding-bottom: 3px;
  167. "
  168. >
  169. 选择工具
  170. </div>
  171. <div
  172. style="
  173. display: flex;
  174. flex-direction: row;
  175. flex-wrap: wrap;
  176. width: 100%;
  177. justify-content: flex-start;
  178. align-items: center;
  179. "
  180. >
  181. <div
  182. v-if="toolsList[0].tools.indexOf(1) != -1"
  183. @click="(isBlock = 5), (toolCount = 1)"
  184. class="toolCss"
  185. >
  186. <!-- <iframe
  187. style="width: 100%; height: 100%; border: none"
  188. src="https://iwb.cocorobo.cn/"
  189. ></iframe>-->
  190. <div class="toolImg">
  191. <img src="../../assets/icon/secondToolList/whiteBoard.png" alt />
  192. <div>电子白板</div>
  193. </div>
  194. </div>
  195. <div
  196. v-if="toolsList[0].tools.indexOf(2) != -1"
  197. @click="(isBlock = 5), (toolCount = 2)"
  198. class="toolCss"
  199. >
  200. <!-- <iframe
  201. style="width: 100%; height: 100%; border: none"
  202. src="https://iwb.cocorobo.cn/"
  203. ></iframe>-->
  204. <div class="toolImg">
  205. <img src="../../assets/icon/secondToolList/note.png" alt />
  206. <div>便签</div>
  207. </div>
  208. </div>
  209. <div
  210. v-if="toolsList[0].tools.indexOf(3) != -1"
  211. @click="(isBlock = 5), (toolCount = 3)"
  212. class="toolCss"
  213. >
  214. <!-- <iframe
  215. style="width: 100%; height: 100%; border: none"
  216. src="https://cloud.cocorobo.cn/kityminder-editor/dist/index.html"
  217. ></iframe>-->
  218. <div class="toolImg">
  219. <img src="../../assets/icon/secondToolList/mindMapping.png" alt />
  220. <div>思维导图</div>
  221. </div>
  222. </div>
  223. <div
  224. v-if="toolsList[0].tools.indexOf(4) != -1"
  225. @click="(isBlock = 5), (toolCount = 4)"
  226. class="toolCss"
  227. >
  228. <!-- <iframe
  229. style="width: 100%; height: 100%; border: none"
  230. src="https://cloud.cocorobo.cn/kityminder-editor/dist/index.html"
  231. ></iframe>-->
  232. <div class="toolImg">
  233. <img src="../../assets/icon/thirdToolList/ask.png" alt />
  234. <div>问卷调查</div>
  235. </div>
  236. </div>
  237. <div
  238. v-if="toolsList[0].tools.indexOf(6) != -1"
  239. @click="(isBlock = 5), (toolCount = 6)"
  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/secondToolList/doc.png" alt />
  248. <div>协同文档</div>
  249. </div>
  250. </div>
  251. <div
  252. v-if="toolsList[0].tools.indexOf(7) != -1"
  253. @click="(isBlock = 5), (toolCount = 7)"
  254. class="toolCss"
  255. >
  256. <!-- <iframe
  257. style="width: 100%; height: 100%; border: none"
  258. src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid"
  259. ></iframe>-->
  260. <div class="toolImg">
  261. <img src="../../assets/icon/secondToolList/mindNetwork.png" alt />
  262. <div>思维网格</div>
  263. </div>
  264. </div>
  265. <div
  266. v-if="toolsList[0].tools.indexOf(8) != -1"
  267. @click="(isBlock = 5), (toolCount = 8)"
  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 src="../../assets/icon/secondToolList/library.png" alt />
  276. <div>素材库</div>
  277. </div>
  278. </div>
  279. <div v-if="toolsList[0].tools.indexOf(10) != -1" class="toolCss">
  280. <!-- <iframe
  281. style="width: 100%; height: 100%; border: none"
  282. src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid"
  283. ></iframe>-->
  284. <div class="toolImg">
  285. <div>倒计时</div>
  286. </div>
  287. </div>
  288. <div v-if="toolsList[0].tools.indexOf(11) != -1" class="toolCss">
  289. <!-- <iframe
  290. style="width: 100%; height: 100%; border: none"
  291. src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid"
  292. ></iframe>-->
  293. <div class="toolImg">
  294. <div>问答题</div>
  295. </div>
  296. </div>
  297. <div v-if="toolsList[0].tools.indexOf(13) != -1" class="toolCss">
  298. <!-- <iframe
  299. style="width: 100%; height: 100%; border: none"
  300. src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid"
  301. ></iframe>-->
  302. <div class="toolImg">
  303. <div>分小组</div>
  304. </div>
  305. </div>
  306. <div v-if="toolsList[0].tools.indexOf(14) != -1" class="toolCss">
  307. <!-- <iframe
  308. style="width: 100%; height: 100%; border: none"
  309. src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid"
  310. ></iframe>-->
  311. <div class="toolImg">
  312. <div>作业评价</div>
  313. </div>
  314. </div>
  315. </div>
  316. </div>
  317. <div
  318. class="answerBox tools_box"
  319. :class="{ fullStyle: full }"
  320. v-if="isBlock == 5"
  321. >
  322. <!-- <div
  323. style="
  324. border-bottom: 3px solid rgb(44, 131, 238);
  325. width: 70px;
  326. padding-bottom: 3px;
  327. text-align: center;
  328. margin-bottom: 20px;
  329. "
  330. >
  331. 选择工具
  332. </div>-->
  333. <div style="height: 100%; width: 100%">
  334. <div v-if="toolCount == 1" class="tools_child_box">
  335. <div class="tools_title">
  336. <span>电子白板</span>
  337. <div>
  338. <img
  339. src="../../assets/full.png"
  340. class="full"
  341. @click="fullTools"
  342. />
  343. <img
  344. src="../../assets/close1.png"
  345. class="closeImg"
  346. @click="closeTools"
  347. />
  348. </div>
  349. </div>
  350. <iframe
  351. style="width: 100%; height: 100%; border: none"
  352. src="https://iwb.cocorobo.cn/"
  353. ></iframe>
  354. </div>
  355. <div v-if="toolsList[0].tools[howTools] == 2" class="tools_child_box">
  356. <div class="tools_title">
  357. <span>便签</span>
  358. <div>
  359. <img
  360. src="../../assets/full.png"
  361. class="full"
  362. @click="fullTools"
  363. />
  364. <img
  365. src="../../assets/close1.png"
  366. class="closeImg"
  367. @click="closeTools"
  368. />
  369. </div>
  370. </div>
  371. <iframe
  372. style="width: 100%; height: 100%; border: none"
  373. src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/note"
  374. ></iframe>
  375. </div>
  376. <div v-if="toolCount == 3" class="tools_child_box">
  377. <div class="tools_title">
  378. <span>思维导图</span>
  379. <div>
  380. <img
  381. src="../../assets/full.png"
  382. class="full"
  383. @click="fullTools"
  384. />
  385. <img
  386. src="../../assets/close1.png"
  387. class="closeImg"
  388. @click="closeTools"
  389. />
  390. </div>
  391. </div>
  392. <iframe
  393. style="width: 100%; height: 100%; border: none"
  394. src="https://cloud.cocorobo.cn/kityminder-editor/dist/index.html"
  395. ></iframe>
  396. </div>
  397. <div v-if="toolsList[0].tools[howTools] == 4" class="tools_child_box">
  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. <img
  407. src="../../assets/close1.png"
  408. class="closeImg"
  409. @click="closeTools"
  410. />
  411. </div>
  412. </div>
  413. <iframe
  414. style="width: 100%; height: 100%; border: none"
  415. src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/ask"
  416. ></iframe>
  417. </div>
  418. <div v-if="toolsList[0].tools[howTools] == 6" class="tools_child_box">
  419. <div class="tools_title">
  420. <span>协同文档</span>
  421. <div>
  422. <img
  423. src="../../assets/full.png"
  424. class="full"
  425. @click="fullTools"
  426. />
  427. <img
  428. src="../../assets/close1.png"
  429. class="closeImg"
  430. @click="closeTools"
  431. />
  432. </div>
  433. </div>
  434. <iframe
  435. style="width: 100%; height: 100%; border: none"
  436. src="https://cloud.cocorobo.cn/Office/Word/WordEditArea.htm"
  437. ></iframe>
  438. </div>
  439. <div v-if="toolCount == 7" class="tools_child_box">
  440. <div class="tools_title">
  441. <span>思维网格</span>
  442. <div>
  443. <img
  444. src="../../assets/full.png"
  445. class="full"
  446. @click="fullTools"
  447. />
  448. <img
  449. src="../../assets/close1.png"
  450. class="closeImg"
  451. @click="closeTools"
  452. />
  453. </div>
  454. </div>
  455. <iframe
  456. style="width: 100%; height: 100%; border: none"
  457. src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid"
  458. ></iframe>
  459. </div>
  460. <div v-if="toolsList[0].tools[howTools] == 8" class="tools_child_box">
  461. <div class="tools_title">
  462. <span>素材库</span>
  463. <div>
  464. <img
  465. src="../../assets/full.png"
  466. class="full"
  467. @click="fullTools"
  468. />
  469. <img
  470. src="../../assets/close1.png"
  471. class="closeImg"
  472. @click="closeTools"
  473. />
  474. </div>
  475. </div>
  476. <iframe
  477. style="width: 100%; height: 100%; border: none"
  478. src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/library"
  479. ></iframe>
  480. </div>
  481. <div v-if="toolsList[0].tools[howTools] == 9" class="tools_child_box">
  482. <div class="tools_title">
  483. <span>选择题</span>
  484. <div>
  485. <img
  486. src="../../assets/full.png"
  487. class="full"
  488. @click="fullTools"
  489. />
  490. <img
  491. src="../../assets/close1.png"
  492. class="closeImg"
  493. @click="closeTools"
  494. />
  495. </div>
  496. </div>
  497. <div>选择题</div>
  498. </div>
  499. <div
  500. v-if="toolsList[0].tools[howTools] == 10"
  501. class="tools_child_box"
  502. >
  503. <div class="tools_title">
  504. <span>倒计时</span>
  505. <div>
  506. <img
  507. src="../../assets/full.png"
  508. class="full"
  509. @click="fullTools"
  510. />
  511. <img
  512. src="../../assets/close1.png"
  513. class="closeImg"
  514. @click="closeTools"
  515. />
  516. </div>
  517. </div>
  518. <div>倒计时</div>
  519. </div>
  520. <div
  521. v-if="toolsList[0].tools[howTools] == 11"
  522. class="tools_child_box"
  523. >
  524. <div class="tools_title">
  525. <span>问答题</span>
  526. <div>
  527. <img
  528. src="../../assets/full.png"
  529. class="full"
  530. @click="fullTools"
  531. />
  532. <img
  533. src="../../assets/close1.png"
  534. class="closeImg"
  535. @click="closeTools"
  536. />
  537. </div>
  538. </div>
  539. <div>问答题</div>
  540. </div>
  541. <div
  542. v-if="toolsList[0].tools[howTools] == 13"
  543. class="tools_child_box"
  544. >
  545. <div class="tools_title">
  546. <span>分小组</span>
  547. <div>
  548. <img
  549. src="../../assets/full.png"
  550. class="full"
  551. @click="fullTools"
  552. />
  553. <img
  554. src="../../assets/close1.png"
  555. class="closeImg"
  556. @click="closeTools"
  557. />
  558. </div>
  559. </div>
  560. <div>分小组</div>
  561. </div>
  562. <div
  563. v-if="toolsList[0].tools[howTools] == 14"
  564. class="tools_child_box"
  565. >
  566. <div class="tools_title">
  567. <span>作业评价</span>
  568. <div>
  569. <img
  570. src="../../assets/full.png"
  571. class="full"
  572. @click="fullTools"
  573. />
  574. <img
  575. src="../../assets/close1.png"
  576. class="closeImg"
  577. @click="closeTools"
  578. />
  579. </div>
  580. </div>
  581. <div>作业评价</div>
  582. </div>
  583. <div class="nextStepBox" v-if="toolsList[0].tools.length > 1">
  584. <!-- <div class="nextStepOne" @click="howTools--" v-if="howTools != 0">
  585. 上一步
  586. </div>
  587. <div
  588. class="nextStepOne"
  589. @click="howTools++"
  590. v-if="howTools != toolsList[0].tools.length - 1"
  591. >
  592. 下一步
  593. </div>-->
  594. <div class="nextStepOne" @click="isBlock = 2">返回</div>
  595. </div>
  596. </div>
  597. <!-- <div v-if="toolCount == 0" style="height: 90%">
  598. <iframe
  599. style="width: 100%; height: 100%; border: none"
  600. src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid"
  601. ></iframe>
  602. </div>
  603. <div v-if="toolCount == 1" style="height: 90%">
  604. <iframe
  605. style="width: 100%; height: 100%; border: none"
  606. src="https://iwb.cocorobo.cn/"
  607. ></iframe>
  608. </div>
  609. <div v-if="toolCount == 2" style="height: 90%">
  610. <iframe
  611. style="width: 100%; height: 100%; border: none"
  612. src="https://cloud.cocorobo.cn/kityminder-editor/dist/index.html"
  613. ></iframe>
  614. </div>
  615. <div class="nextStepOne" @click="nextTool">下一步</div>-->
  616. </div>
  617. <div
  618. class="answerBox"
  619. style="
  620. width: 38.5%;
  621. max-width: 38.5%;
  622. overflow: auto;
  623. background: rgb(255, 255, 255);
  624. height: 91.5%;
  625. position: relative;
  626. margin: 10px 15px;
  627. "
  628. v-if="isBlock == 4"
  629. >
  630. <div
  631. style="
  632. color: #b7b7b7;
  633. border-left: 5px solid #a5b6e2;
  634. padding-left: 7px;
  635. height: 25px;
  636. line-height: 25px;
  637. "
  638. >
  639. 查看作业
  640. </div>
  641. <div class="workBox">
  642. <div class="works" v-for="(w, wIndex) in worksList" :key="wIndex">
  643. <div class="workImg">
  644. <img
  645. :src="w.upload.upImg ? w.upload.upImg[0].url : mr"
  646. @click="previewImg(w.upload.upImg ? w.upload.upImg[0].url : mr)"
  647. alt
  648. />
  649. </div>
  650. <div class="workDetail">
  651. <div class="workLeft">
  652. <div class="workTx">
  653. <img src="../../assets/avatar.png" alt />
  654. </div>
  655. <div class="workName">{{ w.sName }}</div>
  656. </div>
  657. <div class="workRight">{{ w.time }}</div>
  658. <div class="workBtn" @click="isBlock = 7">查看评价</div>
  659. </div>
  660. </div>
  661. </div>
  662. <div class="returnButton" @click="isBlock = 0">关闭</div>
  663. </div>
  664. <div
  665. class="answerBox"
  666. v-if="isBlock == 7"
  667. style="
  668. padding: 0 0 0 25px;
  669. width: 38.5%;
  670. max-width: 38.5%;
  671. overflow: auto;
  672. background: rgb(255, 255, 255);
  673. height: 91.5%;
  674. position: relative;
  675. margin: 10px 15px;
  676. "
  677. >
  678. <div style="color: #bfbfbf; padding: 15px 0 15px 0; font-size: 20px">
  679. 课堂评价
  680. </div>
  681. <div>
  682. <div class="score_box">
  683. <span>自我评价</span>
  684. <el-rate v-model="rateList.ca"></el-rate>
  685. </div>
  686. <div class="score_box">
  687. <span>他人评价</span>
  688. <el-rate v-model="rateList.sia"></el-rate>
  689. </div>
  690. </div>
  691. <div>
  692. <div style="padding-bottom: 15px; sont-size: 14px">备注</div>
  693. <div class="bz">
  694. <el-input
  695. type="textarea"
  696. placeholder="请输入一些你想表达的"
  697. :rows="6"
  698. resize="none"
  699. v-model="rateList.content"
  700. ></el-input>
  701. </div>
  702. </div>
  703. <span
  704. slot="footer"
  705. class="dialog-footer sztFooter"
  706. style="
  707. padding: 0 0 30px 0px;
  708. position: absolute;
  709. right: 20px;
  710. bottom: 0;
  711. "
  712. >
  713. <el-button type="primary" @click="isBlock = 4">返回</el-button>
  714. </span>
  715. </div>
  716. </div>
  717. <div class="blackBottomB">
  718. <div style="display: flex">
  719. <div class="blackButton" @click="showMember(0)" v-if="steps == 3">
  720. 开始答题
  721. </div>
  722. <div
  723. class="blackButton"
  724. @click="isBlock = 2"
  725. v-if="
  726. 4 <= steps &&
  727. steps <= 12 &&
  728. steps != 8 &&
  729. steps != 11 &&
  730. steps != 12 &&
  731. toolsList[0].tools[howTools] != 10 &&
  732. toolsList[0].tools[howTools] != 11 &&
  733. toolsList[0].tools[howTools] != 13
  734. "
  735. >
  736. 查看工具
  737. </div>
  738. <div class="blackButton" @click="checkStudentAnswer" v-if="steps == 8">
  739. 选择学生回答
  740. </div>
  741. <div
  742. class="blackButton"
  743. @click="selectSWork"
  744. v-if="
  745. steps == 11 ||
  746. steps == 12 ||
  747. (4 <= steps &&
  748. steps <= 12 &&
  749. steps != 8 &&
  750. steps != 11 &&
  751. steps != 12 &&
  752. toolsList[0].tools[howTools] != 10 &&
  753. toolsList[0].tools[howTools] != 11 &&
  754. toolsList[0].tools[howTools] != 13)
  755. "
  756. >
  757. 查看作业
  758. </div>
  759. </div>
  760. <!-- <div
  761. class="blackButton"
  762. style="margin-right: 10px"
  763. @click="dialogVisible2 = true"
  764. >
  765. 查看报告
  766. </div>-->
  767. </div>
  768. <el-dialog
  769. title="选择答题"
  770. :visible.sync="dialogVisible"
  771. :append-to-body="true"
  772. width="500px"
  773. :before-close="handleClose"
  774. class="dialog_diy"
  775. >
  776. <div style="text-align: center; padding: 20px 0 50px 0; font-size: 18px">
  777. 是否让“{{ answerStudent }}”同学进行单独答题?
  778. </div>
  779. <div
  780. style="
  781. width: 200px;
  782. background: #4d8ae0;
  783. height: 35px;
  784. margin: 0 auto;
  785. text-align: center;
  786. line-height: 35px;
  787. color: #fff;
  788. border-radius: 5px;
  789. cursor: pointer;
  790. "
  791. @click="dialogVisible = false"
  792. >
  793. 确定
  794. </div>
  795. </el-dialog>
  796. <el-dialog
  797. :visible.sync="dialogVisible1"
  798. :append-to-body="true"
  799. width="500px"
  800. :before-close="handleClose"
  801. class="dialog_diy"
  802. >
  803. <div style="text-align: center; padding: 20px 0 50px 0; font-size: 18px">
  804. 正在开发中!
  805. </div>
  806. <div
  807. style="
  808. width: 200px;
  809. background: #4d8ae0;
  810. height: 35px;
  811. margin: 0 auto;
  812. text-align: center;
  813. line-height: 35px;
  814. color: #fff;
  815. border-radius: 5px;
  816. cursor: pointer;
  817. "
  818. @click="dialogVisible1 = false"
  819. >
  820. 确定
  821. </div>
  822. </el-dialog>
  823. <el-dialog
  824. :visible.sync="dialogVisible2"
  825. :append-to-body="true"
  826. width="500px"
  827. :before-close="handleClose"
  828. class="dialog_diy"
  829. >
  830. <div style="text-align: center; padding: 20px 0 50px 0; font-size: 18px">
  831. 课程结束后才有报告!
  832. </div>
  833. <div
  834. style="
  835. width: 200px;
  836. background: #4d8ae0;
  837. height: 35px;
  838. margin: 0 auto;
  839. text-align: center;
  840. line-height: 35px;
  841. color: #fff;
  842. border-radius: 5px;
  843. cursor: pointer;
  844. "
  845. @click="dialogVisible2 = false"
  846. >
  847. 确定
  848. </div>
  849. </el-dialog>
  850. <ImgDraw :drawShow="drawShow" @closeDraw="closeDraw" :bg="bg"></ImgDraw>
  851. <img id="img1" ref="img1" hidden="hidden" />
  852. </div>
  853. </template>
  854. <script>
  855. import "../../common/aws-sdk-2.235.1.min";
  856. import EditorBar from "../../components/tools/wangEnduit";
  857. import AnswerData from "./components/answerData";
  858. import pdf from "./components/pdf";
  859. import ImgDraw from "./components/imgDraw/imgDraw";
  860. export default {
  861. components: { EditorBar, AnswerData, pdf, ImgDraw },
  862. data() {
  863. return {
  864. pdfUrl:
  865. "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",
  866. isLoading: false,
  867. full: false,
  868. drawShow: false,
  869. bg: null,
  870. formLabelWidth: "100px",
  871. userid: this.$route.query.userid,
  872. cid: this.$route.query.cid,
  873. oid: this.$route.query.oid,
  874. mr: require("../../assets/icon/kc1.png"),
  875. timu: [],
  876. // a: false,
  877. // b: false,
  878. // c: false,
  879. steps: 0,
  880. isBlock: 0,
  881. dialogVisible: false,
  882. dialogVisible1: false,
  883. dialogVisible2: false,
  884. toolCount: 0,
  885. answerBox: "",
  886. answer: [
  887. { name: "A.1568" },
  888. { name: "B.720" },
  889. { name: "C.1728" },
  890. { name: "D.480" },
  891. ],
  892. studentArray: [
  893. { name: "张可松", is: 1 },
  894. { name: "陈佳佳", is: 1 },
  895. { name: "许琦基", is: 1 },
  896. { name: "洛维奇", is: 1 },
  897. { name: "罗伟", is: 1 },
  898. { name: "李孝雄", is: 1 },
  899. { name: "李琪琪", is: 1 },
  900. { name: "黄子韬", is: 1 },
  901. { name: "张嘉琪", is: 1 },
  902. { name: "陈家", is: 1 },
  903. { name: "张可", is: 1 },
  904. { name: "庄小小", is: 1 },
  905. { name: "梁思成", is: 1 },
  906. { name: "房小玲", is: 1 },
  907. { name: "李卫涛", is: 1 },
  908. { name: "李玫儿", is: 1 },
  909. { name: "张可梦", is: 1 },
  910. { name: "李琦", is: 1 },
  911. { name: "梁惠", is: 1 },
  912. { name: "许佳琪", is: 1 },
  913. ],
  914. studentArray2: [
  915. { name: "张可松", is: 1 },
  916. { name: "陈佳佳", is: 1 },
  917. { name: "许琦基", is: 1 },
  918. { name: "洛维奇", is: 1 },
  919. { name: "罗伟", is: 1 },
  920. { name: "李孝雄", is: 1 },
  921. { name: "李琪琪", is: 1 },
  922. { name: "黄子韬", is: 1 },
  923. { name: "张嘉琪", is: 1 },
  924. { name: "陈家", is: 1 },
  925. { name: "张可", is: 1 },
  926. { name: "庄小小", is: 1 },
  927. { name: "梁思成", is: 1 },
  928. { name: "房小玲", is: 1 },
  929. { name: "李卫涛", is: 1 },
  930. { name: "李玫儿", is: 1 },
  931. { name: "张可梦", is: 1 },
  932. { name: "李琦", is: 1 },
  933. { name: "梁惠", is: 1 },
  934. { name: "许佳琪", is: 1 },
  935. ],
  936. askCount: 0,
  937. answerJson: {
  938. A: 0,
  939. B: 0,
  940. C: 0,
  941. D: 0,
  942. },
  943. answerStudent: "",
  944. tools: [
  945. "",
  946. "",
  947. { tools: [9] }, //选择题
  948. { tools: [10] }, //倒计时
  949. { tools: [11] }, //问答题
  950. { tools: [11] }, //问答题
  951. { tools: [3, 1] }, //思维导图/电子白板
  952. { tools: [12] }, //选人回答
  953. { tools: [10, 13] }, //倒计时、分小组
  954. { tools: [3, 1, 7] }, //思维导图/电子白板/思维网格
  955. { tools: [14] }, //查看作业
  956. { tools: [14] }, //查看作业
  957. "", //查看作业
  958. //1、电子白板 2、便签 3、思维导图 4、问卷调查 5、量规评分 6、协同文档 7、思维网格 8、素材库 9、选择题 10、倒计时 11、问答题 12、选人回答 13、分小组 14、老师对提交作业进行评价
  959. ],
  960. howTools: 0,
  961. worksDetail: [],
  962. worksList: [],
  963. toolsList: [],
  964. isNext: false,
  965. rateList: {
  966. ca: 5,
  967. sia: 5,
  968. content: "老师讲得真好",
  969. },
  970. };
  971. },
  972. methods: {
  973. change(val) {
  974. console.log(val);
  975. },
  976. goTo(path) {
  977. this.$router.push(path);
  978. },
  979. tableRowClassName({ row, rowIndex }) {
  980. if ((rowIndex + 1) % 2 === 0) {
  981. return "even_row";
  982. } else {
  983. return "";
  984. }
  985. },
  986. jump(cid) {
  987. window.parent.postMessage({ cid: cid, type: "1" }, "*");
  988. },
  989. handleCurrentChange(val) {
  990. // console.log(`当前页: ${val}`);
  991. this.page = val;
  992. },
  993. init() {},
  994. handleClose(done) {
  995. done();
  996. },
  997. //uuid生成
  998. guid() {
  999. return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
  1000. /[xy]/g,
  1001. function (c) {
  1002. var r = (Math.random() * 16) | 0,
  1003. v = c == "x" ? r : (r & 0x3) | 0x8;
  1004. return v.toString(16);
  1005. }
  1006. );
  1007. },
  1008. time() {
  1009. if (!this.now) {
  1010. this.now = new Date().getTime();
  1011. return true;
  1012. } else {
  1013. let time = new Date().getTime();
  1014. if (time - this.now > 3000) {
  1015. this.now = time;
  1016. return true;
  1017. } else {
  1018. return false;
  1019. }
  1020. }
  1021. },
  1022. randomNum(minNum, maxNum) {
  1023. switch (arguments.length) {
  1024. case 1:
  1025. return parseInt(Math.random() * minNum + 1, 10);
  1026. break;
  1027. case 2:
  1028. return parseInt(Math.random() * (maxNum - minNum + 1) + minNum, 10);
  1029. break;
  1030. default:
  1031. return 0;
  1032. break;
  1033. }
  1034. },
  1035. addTool(t) {
  1036. if (t == 1) {
  1037. window.parent.postMessage({ tools: "1" }, "*");
  1038. } else if (t == 3) {
  1039. window.parent.postMessage({ tools: "3" }, "*");
  1040. } else if (t == 7) {
  1041. window.parent.postMessage({ tools: "7" }, "*");
  1042. }
  1043. },
  1044. nextTool() {
  1045. if (this.howTools < this.toolsList[0].tools.length - 1) {
  1046. this.howTools++;
  1047. if (this.howTools == this.toolsList[0].tools.length - 1) {
  1048. this.isNext = true;
  1049. }
  1050. } else if (this.howTools == this.toolsList[0].tools.length - 1) {
  1051. if (this.isNext == true) {
  1052. this.howTools = this.howTools - 1;
  1053. this.isNext = false;
  1054. }
  1055. }
  1056. // if (this.toolCount < 2) {
  1057. // this.toolCount++;
  1058. // } else {
  1059. // this.steps = 0;
  1060. // this.type = 0;
  1061. // this.toolCount = 0;
  1062. // }
  1063. },
  1064. // answerWork() {
  1065. // this.isBlock = 1;
  1066. // },
  1067. checkStudentAnswer() {
  1068. this.isBlock = 6;
  1069. for (var i = 0; i < this.studentArray.length; i++) {
  1070. this.studentArray2[i].is = 1;
  1071. }
  1072. },
  1073. showMember(i) {
  1074. let _this = this;
  1075. this.isBlock = 1;
  1076. setTimeout(() => {
  1077. for (var i = 0; i < 10; i++) {
  1078. var a = _this.randomNum(0, _this.studentArray.length - 1);
  1079. _this.studentArray[a].is = 2;
  1080. }
  1081. this.askCount = 0;
  1082. for (var i in _this.studentArray) {
  1083. if (_this.studentArray[i].is == 2) {
  1084. _this.askCount++;
  1085. }
  1086. }
  1087. i = 0;
  1088. this.answerJson = {
  1089. A: 0,
  1090. B: 0,
  1091. C: 0,
  1092. D: 0,
  1093. };
  1094. for (var i = 0; i < _this.askCount; i++) {
  1095. var a = _this.randomNum(0, 3);
  1096. if (a === 0) {
  1097. _this.answerJson.A++;
  1098. } else if (a === 1) {
  1099. _this.answerJson.B++;
  1100. } else if (a === 2) {
  1101. _this.answerJson.C++;
  1102. } else if (a === 3) {
  1103. _this.answerJson.D++;
  1104. }
  1105. }
  1106. }, 2000);
  1107. },
  1108. whoAnswer(item, index) {
  1109. for (var i = 0; i < this.studentArray.length; i++) {
  1110. this.studentArray2[i].is = 1;
  1111. }
  1112. this.studentArray2[index].is = 2;
  1113. this.answerStudent = item.name;
  1114. this.dialogVisible = true;
  1115. },
  1116. howPage(page) {
  1117. this.howTools = 0;
  1118. if (this.toolsList.length > 0) {
  1119. this.toolsList = [];
  1120. this.toolsList.push({ tools: this.tools[page - 1].tools });
  1121. } else {
  1122. this.toolsList.push({ tools: this.tools[page - 1].tools });
  1123. }
  1124. },
  1125. getPage(page) {
  1126. console.log(page);
  1127. let params = [
  1128. {
  1129. page: page,
  1130. },
  1131. ];
  1132. this.ajax
  1133. .post(this.$store.state.api + "updatePptPage", params)
  1134. .then((res) => {
  1135. this.steps = page;
  1136. this.isBlock = 0;
  1137. if (page == 3) {
  1138. this.howPage(page);
  1139. } else if (page == 4) {
  1140. this.howPage(page);
  1141. } else if (page == 5) {
  1142. this.howPage(page);
  1143. } else if (page == 6) {
  1144. this.howPage(page);
  1145. } else if (page == 7) {
  1146. this.howPage(page);
  1147. } else if (page == 8) {
  1148. this.howPage(page);
  1149. } else if (page == 9) {
  1150. this.howPage(page);
  1151. } else if (page == 10) {
  1152. this.howPage(page);
  1153. } else if (page == 11) {
  1154. this.howPage(page);
  1155. } else if (page == 12) {
  1156. this.howPage(page);
  1157. }
  1158. })
  1159. .catch((err) => {
  1160. console.error(err);
  1161. });
  1162. },
  1163. selectSWork() {
  1164. this.worksList = [];
  1165. let params = {
  1166. uid: "",
  1167. cid: this.cid,
  1168. };
  1169. this.ajax
  1170. .get(this.$store.state.api + "selectSWork", params)
  1171. .then((res) => {
  1172. this.worksDetail = res.data[0];
  1173. for (var i = 0; i < this.worksDetail.length; i++) {
  1174. this.worksList.push({
  1175. upload: JSON.parse(this.worksDetail[i].upload)[0],
  1176. sName: this.worksDetail[i].username,
  1177. time: this.worksDetail[i].time,
  1178. });
  1179. }
  1180. this.isBlock = 4;
  1181. })
  1182. .catch((err) => {
  1183. this.$message.error("查询失败");
  1184. console.error(err);
  1185. });
  1186. },
  1187. previewImg(url) {
  1188. // this.$hevueImgPreview(url);
  1189. // this.$hevueImgPreview(url);
  1190. this.drawShow = true;
  1191. this.bg = url;
  1192. // this.setAvatarBase64(url, (base64) => {
  1193. // this.$nextTick(() => {
  1194. // this.drawShow = true;
  1195. // this.bg = base64;
  1196. // });
  1197. // });
  1198. },
  1199. closeDraw() {
  1200. this.bg = null;
  1201. this.drawShow = false;
  1202. },
  1203. fullTools() {
  1204. this.full = !this.full;
  1205. },
  1206. closeTools() {
  1207. this.full = false;
  1208. this.isBlock = 2;
  1209. },
  1210. // 将网络图片转换成base64格式
  1211. transBase64FromImage(image) {
  1212. let canvas = document.createElement("canvas");
  1213. canvas.width = image.width;
  1214. canvas.height = image.height;
  1215. let ctx = canvas.getContext("2d");
  1216. ctx.drawImage(image, 0, 0, image.width, image.height);
  1217. // 可选其他值 image/jpeg
  1218. return canvas.toDataURL("image/jpeg");
  1219. },
  1220. // 设置需要展示的图片 base64
  1221. setAvatarBase64(src, callback) {
  1222. let _this = this;
  1223. let image = new Image();
  1224. // let image = this.$refs.img1;
  1225. // 处理缓存
  1226. // image.src = src + "?v=" + Math.random();
  1227. image.src = src;
  1228. // 支持跨域图片
  1229. // image.crossOrigin = "anonymous";
  1230. // crossorigin="anonymous"
  1231. image.onload = function () {
  1232. let base64 = _this.transBase64FromImage(image);
  1233. callback && callback(base64);
  1234. // console.log(base64);
  1235. // return base64
  1236. };
  1237. },
  1238. },
  1239. created() {},
  1240. };
  1241. </script>
  1242. <style scoped>
  1243. .dialog_diy >>> .el-dialog__header {
  1244. background: #3d67bc !important;
  1245. padding: 15px 20px;
  1246. }
  1247. .dialog_diy >>> .el-dialog__title {
  1248. color: #fff;
  1249. }
  1250. .dialog_diy >>> .el-dialog__headerbtn {
  1251. top: 9px;
  1252. }
  1253. .dialog_diy >>> .el-dialog__headerbtn .el-dialog__close {
  1254. color: #fff;
  1255. }
  1256. .dialog_diy >>> .el-dialog__headerbtn .el-dialog__close:hover {
  1257. color: #fff;
  1258. }
  1259. .blackBottom {
  1260. background: rgb(0, 0, 0);
  1261. height: 45px;
  1262. width: 100%;
  1263. }
  1264. .imgMiddle {
  1265. width: 100%;
  1266. height: calc(100% - 45px);
  1267. /* max-height: 920px; */
  1268. }
  1269. .imgMiddle > img,
  1270. .imghalf > img,
  1271. .szt > img,
  1272. .logoLive > img,
  1273. .close > img {
  1274. width: 100%;
  1275. height: 100%;
  1276. /* max-height: 920px; */
  1277. }
  1278. .blackBottomB {
  1279. position: sticky;
  1280. bottom: 0px;
  1281. left: 0px;
  1282. display: flex;
  1283. flex-direction: row;
  1284. flex-wrap: wrap;
  1285. align-content: center;
  1286. justify-content: space-between;
  1287. align-items: center;
  1288. background: rgb(0, 0, 0);
  1289. height: 45px;
  1290. width: 100%;
  1291. }
  1292. .blackBottomB > div:nth-child(1) {
  1293. margin-left: 10px !important;
  1294. }
  1295. .blackButton {
  1296. color: #fff;
  1297. background: #066ebe;
  1298. width: 100px;
  1299. height: 30px;
  1300. line-height: 30px;
  1301. text-align: center;
  1302. margin: 0 5px;
  1303. border-radius: 5px;
  1304. font-size: 15px;
  1305. cursor: pointer;
  1306. }
  1307. .isNoOther {
  1308. width: 100%;
  1309. /* height: 100%; */
  1310. height: calc(100% - 45px);
  1311. display: flex;
  1312. }
  1313. .imghalf {
  1314. width: 60% !important;
  1315. height: calc(100% - 45px);
  1316. /* max-height: 920px; */
  1317. }
  1318. .answerBox {
  1319. padding-left: 25px;
  1320. padding: 25px;
  1321. box-sizing: border-box;
  1322. /* max-height: 800px;
  1323. overflow: auto; */
  1324. }
  1325. .answerTimuBox {
  1326. display: flex;
  1327. flex-direction: column;
  1328. flex-wrap: nowrap;
  1329. align-items: flex-start;
  1330. justify-content: flex-start;
  1331. padding-bottom: 15px;
  1332. }
  1333. .memberBox {
  1334. display: flex;
  1335. flex-direction: row;
  1336. flex-wrap: wrap;
  1337. align-items: center;
  1338. }
  1339. .memberBox > div {
  1340. background: rgb(79 213 163);
  1341. width: 120px;
  1342. color: #fff;
  1343. height: 40px;
  1344. text-align: center;
  1345. line-height: 40px;
  1346. border-radius: 5px;
  1347. margin: 0 15px 15px 0;
  1348. cursor: pointer;
  1349. }
  1350. .memberBox .pAnswer {
  1351. background: rgb(55 197 144);
  1352. }
  1353. .viewSta {
  1354. background: rgb(97, 97, 97);
  1355. color: #bebebe;
  1356. margin: 20px auto 20px;
  1357. width: 300px;
  1358. height: 40px;
  1359. text-align: center;
  1360. line-height: 40px;
  1361. border-radius: 5px;
  1362. cursor: pointer;
  1363. }
  1364. .szt {
  1365. width: 100%;
  1366. margin: 20px auto;
  1367. }
  1368. .sztFooter {
  1369. padding: 20px 10px 50px 0;
  1370. display: flex;
  1371. flex-direction: row;
  1372. flex-wrap: nowrap;
  1373. justify-content: flex-end;
  1374. align-items: center;
  1375. }
  1376. .toolList {
  1377. display: flex;
  1378. flex-direction: row;
  1379. flex-wrap: wrap;
  1380. justify-content: flex-start;
  1381. align-items: center;
  1382. }
  1383. .tools {
  1384. display: flex;
  1385. flex-direction: column;
  1386. align-items: center;
  1387. margin-right: 20px;
  1388. }
  1389. .tools > div:nth-child(1) {
  1390. width: 60px;
  1391. }
  1392. .tools > div:nth-child(1) > img,
  1393. .workImg > img,
  1394. .workTx > img {
  1395. width: 100%;
  1396. height: 100%;
  1397. object-fit: cover;
  1398. cursor: pointer;
  1399. margin: 0;
  1400. }
  1401. .nextStepBox {
  1402. display: flex;
  1403. justify-content: center;
  1404. margin-top: 10px;
  1405. }
  1406. .nextStepOne {
  1407. background: #6b92c9;
  1408. color: #fff;
  1409. width: 110px;
  1410. text-align: center;
  1411. height: 35px;
  1412. line-height: 35px;
  1413. font-size: 14px;
  1414. border-radius: 5px;
  1415. cursor: pointer;
  1416. }
  1417. .nextStepOne,
  1418. .nextStepOne {
  1419. margin-left: 10px;
  1420. }
  1421. .logoLive {
  1422. width: 35px;
  1423. }
  1424. .anserBoxCss {
  1425. box-sizing: border-box;
  1426. padding: 20px 0;
  1427. }
  1428. .anserBoxCss >>> .el-radio__label {
  1429. font-size: 18px;
  1430. }
  1431. .anserBoxCss >>> .el-radio__inner {
  1432. border-radius: 0px !important;
  1433. }
  1434. .choose_style {
  1435. display: flex;
  1436. justify-content: center;
  1437. align-items: center;
  1438. width: 100%;
  1439. margin: 10px 0 30px;
  1440. }
  1441. .choose_style span {
  1442. background: #f8f9ff;
  1443. color: #677fff;
  1444. border: 1px solid #95b5ff;
  1445. padding: 15px 20px;
  1446. font-size: 25px;
  1447. border-radius: 18px;
  1448. cursor: pointer;
  1449. }
  1450. .choose_style span + span {
  1451. margin-left: 25px;
  1452. }
  1453. .choose_style .active {
  1454. color: #fff;
  1455. background: #5e78fa;
  1456. }
  1457. .close {
  1458. position: absolute;
  1459. right: 10px;
  1460. top: 10px;
  1461. width: 20px;
  1462. cursor: pointer;
  1463. }
  1464. .workBox {
  1465. margin-top: 20px;
  1466. display: flex;
  1467. flex-direction: row;
  1468. flex-wrap: wrap;
  1469. width: 100%;
  1470. }
  1471. .works {
  1472. width: 31%;
  1473. border: 1px solid #ececec;
  1474. /* height: 160px; */
  1475. margin: 0 10px 10px 0;
  1476. /* cursor: pointer; */
  1477. min-width: 180px;
  1478. }
  1479. .workImg {
  1480. /* width: 214px; */
  1481. height: 117px;
  1482. }
  1483. .workDetail {
  1484. display: flex;
  1485. flex-direction: row;
  1486. flex-wrap: nowrap;
  1487. align-items: flex-start;
  1488. justify-content: space-between;
  1489. padding: 8px 0 0;
  1490. flex-direction: column;
  1491. }
  1492. .workLeft {
  1493. display: flex;
  1494. flex-direction: row;
  1495. flex-wrap: nowrap;
  1496. align-items: center;
  1497. width: 100%;
  1498. padding: 0px 5px;
  1499. }
  1500. .workTx {
  1501. width: 25px;
  1502. }
  1503. .workName {
  1504. font-size: 14px;
  1505. padding-left: 13px;
  1506. }
  1507. .workRight {
  1508. font-size: 14px;
  1509. color: #ccc;
  1510. margin: 0 0 3px;
  1511. padding: 0 5px;
  1512. width: 100%;
  1513. }
  1514. .workBtn {
  1515. width: 100%;
  1516. background: rgb(110 145 203);
  1517. color: #fff;
  1518. cursor: pointer;
  1519. text-align: center;
  1520. padding: 5px 0;
  1521. }
  1522. .returnButton {
  1523. position: absolute;
  1524. bottom: 20px;
  1525. width: 230px;
  1526. background: #616161;
  1527. left: 35%;
  1528. color: #ababab;
  1529. text-align: center;
  1530. border-radius: 5px;
  1531. height: 30px;
  1532. font-size: 14px;
  1533. line-height: 30px;
  1534. cursor: pointer;
  1535. }
  1536. .tools_title {
  1537. background: #000;
  1538. position: absolute;
  1539. width: 100%;
  1540. top: 0;
  1541. left: 0;
  1542. display: flex;
  1543. align-items: center;
  1544. height: 40px;
  1545. justify-content: space-between;
  1546. padding: 0 15px;
  1547. box-sizing: border-box;
  1548. }
  1549. .tools_title span {
  1550. color: #fff;
  1551. }
  1552. .tools_title div {
  1553. display: flex;
  1554. align-items: center;
  1555. }
  1556. .full,
  1557. .closeImg {
  1558. height: 22px;
  1559. cursor: pointer;
  1560. }
  1561. .tools_title img,
  1562. img {
  1563. margin-left: 10px;
  1564. }
  1565. .tools_box {
  1566. width: 38.5%;
  1567. max-width: 38.5%;
  1568. overflow: auto;
  1569. background: rgb(255, 255, 255);
  1570. height: 91.5%;
  1571. position: relative;
  1572. margin: 10px 15px;
  1573. }
  1574. .tools_child_box {
  1575. width: 100%;
  1576. height: calc(90% - 40px);
  1577. padding-top: 40px;
  1578. }
  1579. .fullStyle {
  1580. width: 100% !important;
  1581. max-width: 100% !important;
  1582. }
  1583. .toolCss {
  1584. display: flex;
  1585. flex-direction: column;
  1586. flex-wrap: wrap;
  1587. width: calc(100% / 6);
  1588. align-items: center;
  1589. text-align: center;
  1590. }
  1591. .toolImg {
  1592. width: 70px;
  1593. height: 70px;
  1594. cursor: pointer;
  1595. }
  1596. .toolImg > img {
  1597. width: 100%;
  1598. height: 100%;
  1599. margin: 0 !important;
  1600. }
  1601. .toolImg > div {
  1602. font-size: 14px;
  1603. }
  1604. .score_box {
  1605. font-size: 14px;
  1606. }
  1607. .score_box >>> .el-rate {
  1608. margin: 10px 0 20px 0;
  1609. }
  1610. .score_box >>> .el-rate__icon {
  1611. font-size: 23px;
  1612. }
  1613. .bz >>> .el-textarea__inner {
  1614. width: 40%;
  1615. border: 1px solid;
  1616. border-radius: 0px;
  1617. }
  1618. </style>