doTask.vue 80 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430
  1. <template>
  2. <div class="doTask">
  3. <!-- <div class="dt_back" @click.stop="back()">返回</div> -->
  4. <div class="dt_main" v-if="!isSubmit">
  5. <div class="dt_m_head">
  6. <div class="dt_m_h_chapter">{{ taskMessage.chapter }}</div>
  7. <div class="dt_m_h_message">
  8. {{ taskMessage.grade }}<span>|</span>{{ taskMessage.semester
  9. }}<span>|</span>{{ taskMessage.edition }}<span>|</span
  10. >{{ taskMessage.subject }}
  11. </div>
  12. <span class="dt_m_h_back" @click.stop="back">
  13. <svg
  14. width="20"
  15. height="20"
  16. viewBox="0 0 20 20"
  17. fill="none"
  18. xmlns="http://www.w3.org/2000/svg"
  19. >
  20. <path
  21. fill-rule="evenodd"
  22. clip-rule="evenodd"
  23. d="M10.1973 15L10.1717 14.9836L2.5 10.0567L10.2042 5V5.03346L10.2016 8.82213C11.3364 8.8539 12.4635 8.91767 13.0862 9.04175C13.1629 9.05701 13.2492 9.073 13.3424 9.09026C13.8173 9.17824 14.4717 9.29947 14.9413 9.52789C15.5469 9.82252 16.1378 10.2494 16.4445 10.5914C17.4895 11.7566 17.4999 13.7513 17.4999 13.7513C17.4999 13.7513 17.336 12.921 16.7963 12.4144C16.3823 12.0259 16.1246 11.8067 15.517 11.6852C14.6833 11.5184 12.283 11.5278 10.1997 11.5739L10.1973 15Z"
  24. fill="black"
  25. />
  26. </svg>
  27. 返回
  28. </span>
  29. </div>
  30. <div class="dt_m_box">
  31. <div class="dt_m_b_left">
  32. <div class="dt_m_b_l_head">
  33. <div class="dt_m_l_h_title" v-text="taskMessage.title"></div>
  34. <div class="dt_m_l_h_changeChapter" @click.stop="changeChapter()">
  35. <svg
  36. width="16"
  37. height="16"
  38. viewBox="0 0 16 16"
  39. fill="none"
  40. xmlns="http://www.w3.org/2000/svg"
  41. >
  42. <path
  43. fill-rule="evenodd"
  44. clip-rule="evenodd"
  45. d="M10.0417 2.20921C10.2722 1.93026 10.6458 1.93026 10.8763 2.20921L13.8271 5.78064C13.9959 5.98492 14.0464 6.29215 13.9551 6.55906C13.8637 6.82597 13.6485 7 13.4098 7H2.59016C2.26423 7 2 6.6802 2 6.28571C2 5.89123 2.26423 5.57143 2.59016 5.57143H11.985L10.0417 3.21936C9.81122 2.94042 9.81122 2.48816 10.0417 2.20921Z"
  46. fill="#3681FC"
  47. />
  48. <path
  49. fill-rule="evenodd"
  50. clip-rule="evenodd"
  51. d="M2.04494 9.44094C2.13629 9.17403 2.35148 9 2.59018 9H13.4098C13.7358 9 14 9.3198 14 9.71429C14 10.1088 13.7358 10.4286 13.4098 10.4286H4.01496L5.9583 12.7806C6.18878 13.0596 6.18878 13.5118 5.9583 13.7908C5.72783 14.0697 5.35416 14.0697 5.12369 13.7908L2.17287 10.2194C2.00409 10.0151 1.95359 9.70785 2.04494 9.44094Z"
  52. fill="#3681FC"
  53. />
  54. </svg>
  55. <span>切换章节</span>
  56. </div>
  57. </div>
  58. <!-- <div class="dt_m_b_l_title">{{ classTitle }}</div> -->
  59. <div class="dt_m_b_l_task">
  60. <div class="dt_m_b_l_t_title">
  61. {{ showTaskIndex + 1 }}.
  62. <span>{{
  63. typeof taskList[showTaskIndex].answer == "object"
  64. ? "[多选题]"
  65. : "[单选题]"
  66. }}</span
  67. >{{ taskList[showTaskIndex].teststitle }}
  68. <div class="titleImage" v-if="taskList[showTaskIndex].imageUrl">
  69. <img :src="taskList[showTaskIndex].imageUrl">
  70. </div>
  71. </div>
  72. <div class="dt_m_b_l_t_choseList">
  73. <div
  74. :class="[
  75. 'dt_m_b_l_t_cl_item',
  76. typeof taskList[showTaskIndex].answer == 'object'
  77. ? taskList[showTaskIndex].answer2.includes(index)
  78. ? 'dt_m_b_l_t_cl_itemActive'
  79. : ''
  80. : taskList[showTaskIndex].answer2 === index
  81. ? 'dt_m_b_l_t_cl_itemActive'
  82. : ''
  83. ]"
  84. v-for="(item, index) in taskList[showTaskIndex].checkList"
  85. @click.stop="choseAnswer(index)"
  86. :key="showTaskIndex + '-' + index"
  87. >
  88. <div>
  89. <span></span>
  90. </div>
  91. <span v-if="item.imgType == 1"
  92. >{{ choseList[index] }}<span>.</span
  93. ><img :src="item.src" @click.stop="$hevueImgPreview(item.src)"
  94. /></span>
  95. <span v-else
  96. >{{ choseList[index] }}<span>.</span>{{ item }}</span
  97. >
  98. </div>
  99. </div>
  100. </div>
  101. <div class="dt_m_b_l_bottom">
  102. <div class="dt_m_b_l_b_seekAssist" v-show="!showSeekAssist" @click.stop="seekAssist()">
  103. <svg
  104. width="20"
  105. height="20"
  106. viewBox="0 0 20 20"
  107. fill="none"
  108. xmlns="http://www.w3.org/2000/svg"
  109. >
  110. <path
  111. d="M16.0911 7.91C16.0911 4.394 13.1601 1.563 9.60806 1.727C6.44706 1.873 3.87806 4.432 3.72106 7.593C3.59906 10.037 4.89706 12.189 6.86206 13.3V15.434C6.86206 15.911 7.24906 16.299 7.72706 16.299H12.0801C12.5571 16.299 12.9451 15.912 12.9451 15.434V13.3C14.8221 12.237 16.0911 10.222 16.0911 7.91Z"
  112. fill="#AECCFE"
  113. />
  114. <path
  115. d="M10.2181 1.729C10.4281 1.807 11.9881 2.424 13.2791 3.889C15.2841 6.165 15.2821 9.617 13.2351 11.856C12.9801 12.135 12.6881 12.412 12.3561 12.682C12.1591 12.842 12.0411 13.08 12.0411 13.333V15.047C12.0411 15.241 11.9011 15.407 11.7091 15.432C11.6531 15.439 11.5921 15.443 11.5251 15.443H7.95805C7.43905 15.443 7.17406 15.443 7.05206 15.189C7.12906 15.763 6.45606 16.227 8.51006 16.227H11.7931C11.7581 16.252 11.7191 16.276 11.6741 16.298H12.0781C12.2001 16.298 12.3151 16.273 12.4201 16.227H12.4961L12.4891 16.194C12.6261 16.12 12.7406 16.0102 12.8203 15.8764C12.9001 15.7426 12.9421 15.5898 12.9421 15.434V13.3C14.8211 12.238 16.0901 10.222 16.0901 7.91C16.0911 4.597 13.4891 1.894 10.2181 1.729Z"
  116. fill="#3681FC"
  117. />
  118. <path
  119. d="M7.76294 7.91C7.76294 8.19089 7.81827 8.46904 7.92576 8.72856C8.03326 8.98807 8.19081 9.22387 8.38944 9.4225C8.58806 9.62112 8.82386 9.77868 9.08338 9.88617C9.3429 9.99367 9.62104 10.049 9.90194 10.049C10.1828 10.049 10.461 9.99367 10.7205 9.88617C10.98 9.77868 11.2158 9.62112 11.4144 9.4225C11.6131 9.22387 11.7706 8.98807 11.8781 8.72856C11.9856 8.46904 12.0409 8.19089 12.0409 7.91C12.0409 7.6291 11.9856 7.35095 11.8781 7.09144C11.7706 6.83192 11.6131 6.59612 11.4144 6.3975C11.2158 6.19887 10.98 6.04131 10.7205 5.93382C10.461 5.82632 10.1828 5.771 9.90194 5.771C9.62104 5.771 9.3429 5.82632 9.08338 5.93382C8.82386 6.04131 8.58806 6.19887 8.38944 6.3975C8.19081 6.59612 8.03326 6.83192 7.92576 7.09144C7.81827 7.35095 7.76294 7.6291 7.76294 7.91Z"
  120. fill="#FFAF77"
  121. />
  122. <path
  123. d="M9.78495 9.95702C10.0519 9.97802 10.3139 9.98802 10.5669 9.99102C11.5139 9.77102 12.2199 8.92302 12.2199 7.90902C12.2199 6.72702 11.2619 5.77002 10.0809 5.77002C9.93995 5.77002 9.80295 5.78402 9.66895 5.81002L9.94795 5.97402C9.94795 5.97402 11.1929 6.75002 11.1929 7.84102C11.1929 8.93302 10.4069 9.72802 9.78495 9.95702Z"
  124. fill="#E67F36"
  125. />
  126. <path
  127. d="M12.442 7.91009C12.442 6.51009 11.303 5.37109 9.90301 5.37109C8.50301 5.37109 7.36401 6.51009 7.36401 7.91009C7.36401 9.17409 8.29301 10.2251 9.50301 10.4181V13.9381C9.50301 14.1591 9.68201 14.3381 9.90301 14.3381C10.124 14.3381 10.303 14.1591 10.303 13.9381V10.4181C11.513 10.2251 12.442 9.17409 12.442 7.91009ZM9.90201 9.64909C8.94301 9.64909 8.16301 8.86909 8.16301 7.91009C8.16301 6.95109 8.94301 6.17109 9.90201 6.17109C10.861 6.17109 11.641 6.95109 11.641 7.91009C11.641 8.86909 10.861 9.64909 9.90201 9.64909Z"
  128. fill="#211D38"
  129. />
  130. <path
  131. d="M12.0781 16.6981H7.72611C7.02911 16.6981 6.46111 16.1311 6.46111 15.4341V13.5291C4.39811 12.2651 3.20011 10.0051 3.32111 7.57311C3.48811 4.22611 6.24111 1.48211 9.59011 1.32711C11.4111 1.24311 13.1381 1.88811 14.4521 3.14311C15.7671 4.39911 16.4921 6.09211 16.4921 7.90911C16.4921 10.2011 15.2921 12.3331 13.3431 13.5281V15.4331C13.3431 16.1311 12.7761 16.6981 12.0781 16.6981ZM9.90511 2.12011C9.81311 2.12011 9.72011 2.12211 9.62711 2.12611C6.68611 2.26211 4.26711 4.67211 4.12111 7.61211C4.01111 9.81811 5.13711 11.8641 7.05911 12.9511C7.12065 12.986 7.17184 13.0366 7.20749 13.0978C7.24314 13.1589 7.26199 13.2283 7.26211 13.2991V15.4331C7.26211 15.6891 7.47011 15.8971 7.72711 15.8971H12.0801C12.3361 15.8971 12.5451 15.6891 12.5451 15.4331V13.3001C12.5451 13.1561 12.6231 13.0231 12.7481 12.9521C14.5651 11.9251 15.6931 9.99311 15.6931 7.91011C15.6931 6.31311 15.0571 4.82611 13.9011 3.72211C12.8121 2.68311 11.4021 2.12011 9.90511 2.12011Z"
  132. fill="#211D38"
  133. />
  134. <path
  135. d="M4.6361 9.55986C4.5271 9.55986 4.4261 9.48786 4.3951 9.37786C4.2271 8.78086 4.1581 8.15986 4.1891 7.53186C4.2071 7.17586 4.2581 6.82186 4.3421 6.47786C4.3751 6.34386 4.4121 6.20986 4.4541 6.07986C4.46416 6.04857 4.4803 6.01957 4.50159 5.99454C4.52288 5.9695 4.5489 5.94891 4.57817 5.93395C4.60743 5.91899 4.63936 5.90996 4.67213 5.90737C4.70489 5.90478 4.73784 5.90868 4.7691 5.91886C4.9001 5.96086 4.9731 6.10186 4.9301 6.23386C4.8921 6.35186 4.8581 6.47386 4.8281 6.59586C4.7521 6.90986 4.7051 7.23286 4.6891 7.55686C4.6601 8.13086 4.7241 8.69786 4.8771 9.24286C4.9141 9.37586 4.8371 9.51386 4.7041 9.55086C4.6811 9.55686 4.6591 9.55986 4.6361 9.55986ZM5.1211 5.41986C5.0801 5.41986 5.0381 5.40986 5.0001 5.38786C4.97137 5.37193 4.94607 5.35049 4.92565 5.32478C4.90522 5.29906 4.89007 5.26956 4.88106 5.23798C4.87205 5.2064 4.86935 5.17335 4.87314 5.14072C4.87692 5.1081 4.8871 5.07654 4.9031 5.04786C5.2636 4.40034 5.74536 3.82827 6.3221 3.36286C6.4291 3.27586 6.5871 3.29286 6.6741 3.39986C6.7611 3.50686 6.7441 3.66486 6.6371 3.75186C6.1071 4.18086 5.6711 4.69886 5.3401 5.29186C5.2941 5.37286 5.2091 5.41986 5.1211 5.41986ZM7.5241 3.19586C7.4321 3.19586 7.3431 3.14486 7.2991 3.05586C7.2381 2.93186 7.2891 2.78186 7.4131 2.72086C7.6881 2.58586 7.9781 2.47186 8.2731 2.38186C8.4051 2.34186 8.5451 2.41686 8.5851 2.54886C8.6251 2.68086 8.5501 2.82086 8.4181 2.86086C8.1491 2.94186 7.8851 3.04586 7.6341 3.16986C7.5991 3.18786 7.5611 3.19586 7.5241 3.19586Z"
  136. fill="white"
  137. />
  138. <path
  139. d="M12.7521 18.612H7.0521C6.8311 18.612 6.6521 18.433 6.6521 18.212C6.6521 17.991 6.8311 17.812 7.0521 17.812H12.7521C12.9731 17.812 13.1521 17.991 13.1521 18.212C13.1521 18.433 12.9731 18.612 12.7521 18.612Z"
  140. fill="#211D38"
  141. />
  142. <path
  143. d="M8.51611 7.9342C8.50411 7.9342 8.49211 7.9332 8.47911 7.9312C8.44659 7.92645 8.41532 7.91533 8.3871 7.89848C8.35888 7.88163 8.33427 7.85937 8.31466 7.83299C8.29506 7.80661 8.28086 7.77662 8.27287 7.74473C8.26488 7.71285 8.26326 7.67971 8.26811 7.6472C8.32011 7.2922 8.44511 7.0272 8.68411 6.7602C8.70588 6.73519 8.7324 6.71475 8.76214 6.70009C8.79188 6.68543 8.82423 6.67683 8.85733 6.67479C8.89042 6.67275 8.92359 6.67732 8.9549 6.68822C8.98621 6.69912 9.01505 6.71614 9.03972 6.73829C9.06439 6.76045 9.08441 6.78728 9.09861 6.81724C9.11281 6.84721 9.12091 6.87969 9.12243 6.91281C9.12396 6.94594 9.11888 6.97903 9.10749 7.01017C9.09611 7.04131 9.07864 7.06987 9.05611 7.0942C8.88511 7.2852 8.80011 7.4662 8.76211 7.7192C8.75417 7.77878 8.72484 7.83345 8.67958 7.87301C8.63432 7.91256 8.57622 7.93431 8.51611 7.9342Z"
  144. fill="white"
  145. />
  146. <path
  147. d="M4.24707 14.5559C4.22293 14.5019 4.18838 14.4532 4.14541 14.4125C4.10243 14.3719 4.05187 14.3401 3.99661 14.3191C3.94135 14.298 3.88248 14.288 3.82336 14.2897C3.76425 14.2914 3.70604 14.3047 3.65207 14.3289L3.35107 14.4639L3.21607 14.1629C3.19193 14.1089 3.15738 14.0602 3.11441 14.0195C3.07143 13.9789 3.02087 13.9471 2.96561 13.9261C2.91035 13.905 2.85148 13.895 2.79236 13.8967C2.73325 13.8983 2.67504 13.9117 2.62107 13.9359C2.39407 14.0379 2.29307 14.3039 2.39407 14.5309L2.52907 14.8319L2.22807 14.9669C2.00107 15.0689 1.90007 15.3349 2.00107 15.5619C2.03662 15.6411 2.09434 15.7084 2.16726 15.7556C2.24019 15.8028 2.3252 15.8279 2.41207 15.8279C2.47307 15.8279 2.53607 15.8149 2.59607 15.7889L2.89707 15.6539L3.03207 15.9549C3.06762 16.0341 3.12534 16.1014 3.19826 16.1486C3.27119 16.1958 3.3562 16.2209 3.44307 16.2209C3.50407 16.2209 3.56707 16.2079 3.62707 16.1819C3.85407 16.0799 3.95507 15.8139 3.85407 15.5869L3.71907 15.2859L4.02007 15.1509C4.12895 15.1019 4.21398 15.0118 4.25653 14.9003C4.29908 14.7887 4.29568 14.6649 4.24707 14.5559Z"
  148. fill="#FFAF77"
  149. />
  150. <path
  151. d="M15.677 15.1852C15.677 15.3578 15.7456 15.5234 15.8677 15.6455C15.9898 15.7676 16.1553 15.8362 16.328 15.8362C16.5007 15.8362 16.6662 15.7676 16.7883 15.6455C16.9104 15.5234 16.979 15.3578 16.979 15.1852C16.979 15.0125 16.9104 14.8469 16.7883 14.7249C16.6662 14.6028 16.5007 14.5342 16.328 14.5342C16.1553 14.5342 15.9898 14.6028 15.8677 14.7249C15.7456 14.8469 15.677 15.0125 15.677 15.1852Z"
  152. fill="#E2E5F1"
  153. />
  154. </svg>
  155. <span>求助</span>
  156. </div>
  157. <div class="dt_m_b_l_b_btnArea" v-show="!showSeekAssist">
  158. <span
  159. class="dt_m_b_l_b_ba_btnPrev"
  160. @click.stop="changeTask('prev')"
  161. >上一题</span
  162. >
  163. <!-- v-if="showTaskIndex > 0" -->
  164. <span
  165. class="dt_m_b_l_b_ba_btnNext"
  166. @click.stop="changeTask('next')"
  167. >下一题</span
  168. >
  169. <!-- v-if="taskList.length > showTaskIndex + 1" -->
  170. <!-- <span
  171. v-if="showTaskIndex == taskList.length - 1"
  172. @click.stop="submitTask()"
  173. >确认提交</span
  174. > -->
  175. </div>
  176. </div>
  177. </div>
  178. <div class="dt_m_b_right">
  179. <div class="dt_m_b_r_time">
  180. <div class="dt_m_b_r_t_head">
  181. <svg
  182. width="20"
  183. height="20"
  184. viewBox="0 0 20 20"
  185. fill="none"
  186. xmlns="http://www.w3.org/2000/svg"
  187. >
  188. <path
  189. fill-rule="evenodd"
  190. clip-rule="evenodd"
  191. d="M3.75 11.25C3.75 7.79822 6.54822 5 10 5C11.7319 5 13.2984 5.70364 14.431 6.84218C15.5559 7.97295 16.25 9.52981 16.25 11.25C16.25 14.7018 13.4518 17.5 10 17.5C6.54822 17.5 3.75 14.7018 3.75 11.25ZM10 3.75C5.85786 3.75 2.5 7.10786 2.5 11.25C2.5 15.3921 5.85786 18.75 10 18.75C14.1421 18.75 17.5 15.3921 17.5 11.25C17.5 9.56177 16.9417 8.00315 16.0004 6.74983C16.0236 6.73236 16.0458 6.71307 16.0669 6.69194L17.3169 5.44194C17.561 5.19786 17.561 4.80214 17.3169 4.55806C17.0729 4.31398 16.6771 4.31398 16.4331 4.55806L15.1831 5.80806C15.1795 5.81166 15.1759 5.81529 15.1724 5.81896C13.8273 4.53761 12.0051 3.75 10 3.75Z"
  192. fill="#17C469"
  193. />
  194. <path
  195. fill-rule="evenodd"
  196. clip-rule="evenodd"
  197. d="M7 1.875C7 1.52982 7.33579 1.25 7.75 1.25H12.25C12.6642 1.25 13 1.52982 13 1.875C13 2.22018 12.6642 2.5 12.25 2.5H7.75C7.33579 2.5 7 2.22018 7 1.875Z"
  198. fill="#17C469"
  199. />
  200. <path
  201. fill-rule="evenodd"
  202. clip-rule="evenodd"
  203. d="M10 7.5C10.3452 7.5 10.625 7.77982 10.625 8.125V11.25C10.625 11.5952 10.3452 11.875 10 11.875C9.65482 11.875 9.375 11.5952 9.375 11.25V8.125C9.375 7.77982 9.65482 7.5 10 7.5Z"
  204. fill="#17C469"
  205. />
  206. </svg>
  207. <span>计时器</span>
  208. </div>
  209. <div class="dt_m_b_r_t_showTime">
  210. <span>{{ showTime }}</span>
  211. </div>
  212. <div class="dt_m_b_r_t_schedule">
  213. <div class="dt_m_b_r_t_s_box">
  214. <div
  215. class="dt_m_b_r_t_s_b_inner"
  216. :style="`width:${schedule}%`"
  217. ></div>
  218. <div class="dt_m_b_r_t_s_b_round" :style="`left:${schedule}%`">
  219. <span
  220. >{{ showTaskIndex + 1 }}<span>/</span
  221. >{{ taskList.length }}</span
  222. >
  223. </div>
  224. </div>
  225. </div>
  226. <div class="dt_m_b_r_t_btn" @click.stop="keepTime()">
  227. <span v-if="timer !== null">暂停计时</span>
  228. <span v-else>继续计时</span>
  229. </div>
  230. </div>
  231. <div class="dt_m_b_r_taskList">
  232. <div class="dt_m_b_r_tl_head">
  233. <div>
  234. <svg
  235. width="16"
  236. height="16"
  237. viewBox="0 0 16 16"
  238. fill="none"
  239. xmlns="http://www.w3.org/2000/svg"
  240. >
  241. <path
  242. fill-rule="evenodd"
  243. clip-rule="evenodd"
  244. d="M2 2.5C2 2.22386 2.22386 2 2.5 2H13.5C13.7761 2 14 2.22386 14 2.5V13.5C14 13.7761 13.7761 14 13.5 14H2.5C2.22386 14 2 13.7761 2 13.5V2.5ZM3 3V13H13V3H3Z"
  245. fill="#E67F36"
  246. />
  247. <path
  248. fill-rule="evenodd"
  249. clip-rule="evenodd"
  250. d="M7.24631 5.08406L5.56066 6.76971C5.46689 6.86348 5.33972 6.91616 5.20711 6.91616C5.0745 6.91616 4.94732 6.86348 4.85355 6.76971L4 5.91616L4.70711 5.20905L5.20711 5.70905L6.5392 4.37695L7.24631 5.08406Z"
  251. fill="#E67F36"
  252. />
  253. <path
  254. fill-rule="evenodd"
  255. clip-rule="evenodd"
  256. d="M5.4 9.4001C5.06863 9.4001 4.8 9.66873 4.8 10.0001C4.8 10.3315 5.06863 10.6001 5.4 10.6001C5.73137 10.6001 6 10.3315 6 10.0001C6 9.66873 5.73137 9.4001 5.4 9.4001ZM4 10.0001C4 9.2269 4.6268 8.6001 5.4 8.6001C6.1732 8.6001 6.8 9.2269 6.8 10.0001C6.8 10.7733 6.1732 11.4001 5.4 11.4001C4.6268 11.4001 4 10.7733 4 10.0001Z"
  257. fill="#E67F36"
  258. />
  259. <path
  260. fill-rule="evenodd"
  261. clip-rule="evenodd"
  262. d="M8 5.5H12V6.5H8V5.5Z"
  263. fill="#E67F36"
  264. />
  265. <path
  266. fill-rule="evenodd"
  267. clip-rule="evenodd"
  268. d="M8 9.5H12V10.5H8V9.5Z"
  269. fill="#E67F36"
  270. />
  271. </svg>
  272. <span>答题卡</span>
  273. </div>
  274. <div>
  275. 共{{ taskList.length }}道题
  276. <span>|</span>
  277. 合计100分
  278. </div>
  279. </div>
  280. <div class="dt_m_b_r_tl_boxList">
  281. <span
  282. v-for="(item, index) in taskList"
  283. :key="index"
  284. :class="[
  285. isDoTask(index) ? 'isDoTask' : '',
  286. showTaskIndex == index ? 'inDoTask' : ''
  287. ]"
  288. @click.stop="showTaskIndex = index"
  289. >{{ index + 1 }}</span
  290. >
  291. </div>
  292. <div class="dt_m_b_r_tl_bottom">
  293. <div><span class="isDoTask"></span>已答</div>
  294. <div><span class="inDoTask"></span>当前</div>
  295. <div><span></span>未答</div>
  296. </div>
  297. </div>
  298. <div class="dt_m_b_r_bottom">
  299. <div
  300. @click.stop="saveTask()"
  301. v-if="!isDoAllTask && this.showTaskIndex != taskList.length - 1"
  302. >
  303. 保存
  304. </div>
  305. <div
  306. @click.stop="submitTask()"
  307. v-if="isDoAllTask || this.showTaskIndex == taskList.length - 1"
  308. >
  309. 确认提交
  310. </div>
  311. </div>
  312. </div>
  313. </div>
  314. </div>
  315. <div class="dt_dialogBackground" v-if="showSeekAssist"></div>
  316. <div class="dt_character">
  317. <img
  318. :src="
  319. characterList.find(i => userInfo.choseCharacter === i.index).image
  320. "
  321. />
  322. <div class="dt_c_message" v-if="showSeekAssist">
  323. <span class="dt_c_m_characterName">{{
  324. characterList.find(i => userInfo.choseCharacter === i.index)
  325. ? characterList.find(i => userInfo.choseCharacter === i.index).name
  326. : "AI"
  327. }}</span>
  328. <span class="dt_c_m_closeIcon" @click.stop="showSeekAssist = false">
  329. <svg
  330. width="14"
  331. height="14"
  332. viewBox="0 0 14 14"
  333. fill="none"
  334. xmlns="http://www.w3.org/2000/svg"
  335. >
  336. <path
  337. d="M7 0C3.14049 0 0 3.14001 0 7C0 10.86 3.14001 14 7 14C10.8595 14 14 10.86 14 7C14 3.14001 10.86 0 7 0ZM9.8555 9.156C10.0505 9.352 10.05 9.668 9.85451 9.863C9.75702 9.96 9.62951 10.009 9.50152 10.009C9.37301 10.009 9.24502 9.96001 9.14751 9.86201L6.9975 7.7055L4.84051 9.83951C4.74302 9.93552 4.61599 9.98401 4.48899 9.98401C4.36001 9.98401 4.2315 9.9345 4.1335 9.83551C3.9395 9.639 3.941 9.32299 4.13751 9.1285L6.292 6.9975L4.14549 4.844C3.95049 4.64849 3.951 4.332 4.14649 4.137C4.342 3.94149 4.65798 3.94251 4.85349 4.13799L7.00298 6.29399L9.15998 4.16001C9.35597 3.96552 9.67297 3.9675 9.86698 4.16401C10.0615 4.36052 10.0595 4.67701 9.86298 4.87101L7.70851 7.00199L9.8555 9.156Z"
  338. fill="#E0EAFB"
  339. />
  340. </svg>
  341. </span>
  342. <div class="dt_c_m_message">
  343. <span v-text="seekAssistMessage"></span>
  344. <!-- 这题选:<span>{{
  345. typeof taskList[showTaskIndex].answer == 'object'
  346. ? taskList[showTaskIndex].answer.map(i => choseList[i]).join('、')
  347. : choseList[taskList[showTaskIndex].answer]
  348. }}</span> -->
  349. </div>
  350. <div class="dt_c_m_btnArea">
  351. <span class="dt_c_m_btn1" @click.stop="doNotKnow()">还是不太明白</span>
  352. <span class="dt_c_m_btn2" @click.stop="showSeekAssist = false">明白,去做题→</span>
  353. </div>
  354. </div>
  355. </div>
  356. <div class="dt_isSubmit" v-if="isSubmit">
  357. <!-- <div class="dt_m_b_l_head">
  358. <span>{{ grade }}</span
  359. >><span>{{ semester }}</span
  360. >><span>{{ edition }}</span>
  361. </div> -->
  362. <div class="dt_m_b_l_title">{{ taskMessage.title }}</div>
  363. <div class="dt_is_statistics">
  364. <img
  365. :src="require('../../../assets/icon/pocAiClassroom/taskSuccess.png')"
  366. alt=""
  367. />
  368. <el-rate
  369. class="dt_is_s_star"
  370. v-model="star"
  371. allow-half
  372. disabled
  373. ></el-rate>
  374. <div class="dt_is_s_message">
  375. <span>总计题目:{{ showMessage.total }}</span>
  376. <span>总答对数量:{{ showMessage.right }}</span>
  377. <span>正确率:{{ showMessage.accuracy }}%</span>
  378. </div>
  379. <div class="dt_is_s_taskList">
  380. <span
  381. v-for="(item, index) in taskList"
  382. @click.stop="goDoTask(index)"
  383. :class="[
  384. typeof item.answer === 'object'
  385. ? item.answer2.length != 0
  386. ? isTrueTask(index).no.length == 0 &&
  387. isTrueTask(index).yes.length == item.answer.length
  388. ? 'isDoYes'
  389. : 'isDoNo'
  390. : 'isNoDo'
  391. : item.answer2 !== ''
  392. ? item.answer === item.answer2
  393. ? 'isDoYes'
  394. : 'isDoNo'
  395. : 'isNoDo'
  396. ]"
  397. :key="index"
  398. >{{ index + 1 }}</span
  399. >
  400. </div>
  401. </div>
  402. <div class="dt_is_taskList">
  403. <div class="dt_is_tl_head">
  404. <span>题目回顾</span>
  405. <div>
  406. <span @click.stop="onlyShowMistake = !onlyShowMistake"
  407. >只显示错题</span
  408. >
  409. <el-switch
  410. v-model="onlyShowMistake"
  411. style="transform: scale(1.2,1.2);"
  412. ></el-switch>
  413. </div>
  414. </div>
  415. <div class="dt_is_tl_taskBox">
  416. <div
  417. class="dt_is_tl_tb_item"
  418. v-for="(item, index) in taskList"
  419. :ref="'taskItem' + index + 'Ref'"
  420. :key="index"
  421. v-if="
  422. !onlyShowMistake ||
  423. (typeof item.answer === 'object'
  424. ? !(
  425. isTrueTask(index).no.length == 0 &&
  426. isTrueTask(index).yes.length == item.answer.length
  427. )
  428. : item.answer !== item.answer2)
  429. "
  430. >
  431. <span class="dt_is_tl_tb_i_title"
  432. >{{ typeof item.answer == "object" ? "【多选题】" : "【单选题】"
  433. }}{{ index + 1 }}.{{ item.teststitle }}</span
  434. >
  435. <div class="titleImage" v-if="item.imageUrl">
  436. <img :src="item.imageUrl">
  437. </div>
  438. <div class="dt_is_tl_tb_i_choseList">
  439. <span
  440. v-for="(item2, index2) in item.checkList"
  441. :key="index + '-' + index2"
  442. >
  443. <span v-if="item2.imgType == 1"
  444. >{{ choseList[index2] }}<span>.</span
  445. ><img
  446. :src="item2.src"
  447. @click.stop="$hevueImgPreview(item2.src)"
  448. /></span>
  449. <span v-else
  450. >{{ choseList[index2] }}<span>.</span>{{ item2 }}</span
  451. >
  452. </span>
  453. </div>
  454. <div class="dt_is_tl_tb_i_answer">
  455. <div>
  456. 你的答案:<span v-if="typeof item.answer === 'object'">
  457. <span
  458. v-for="(item3, index3) in item.answer2"
  459. :key="index + '+' + index3"
  460. :style="
  461. item.answer.includes(item3)
  462. ? 'color:#75BD42'
  463. : 'color:#FF5B5B'
  464. "
  465. >{{ choseList[item3]
  466. }}{{ index3 == item.answer2.length - 1 ? "" : "、" }}</span
  467. > </span
  468. ><span
  469. v-else
  470. :style="
  471. item.answer === item.answer2
  472. ? 'color:#75BD42'
  473. : 'color:#FF5B5B'
  474. "
  475. >{{ choseList[item.answer2] }}</span
  476. >
  477. </div>
  478. <div>
  479. 正确答案:<span style="color:#75BD42">{{
  480. typeof item.answer === "object"
  481. ? item.answer.map(i => choseList[i]).join("、")
  482. : choseList[item.answer]
  483. }}</span>
  484. </div>
  485. </div>
  486. <div class="dt_is_tl_tb_i_analyze">
  487. <div>答案解析:<span v-text="item.analyze"></span></div>
  488. </div>
  489. </div>
  490. </div>
  491. </div>
  492. </div>
  493. <changeChapterDialog ref="changeChapterDialogRef" @success="changeChapterSuccess"/>
  494. </div>
  495. </template>
  496. <script>
  497. import changeChapterDialog from './component/changeChapterDialog.vue';
  498. import { v4 as uuidv4 } from 'uuid'
  499. export default {
  500. components:{
  501. changeChapterDialog
  502. },
  503. data() {
  504. return {
  505. showTaskIndex: 0,
  506. time: 0,
  507. time2: 0,
  508. startTime: 0,
  509. timer: null,
  510. userId: this.$route.query.userid,
  511. org: this.$route.query.org,
  512. oid: this.$route.query.oid,
  513. showSeekAssist: false,
  514. choseList: [
  515. "A",
  516. "B",
  517. "C",
  518. "D",
  519. "E",
  520. "F",
  521. "G",
  522. "H",
  523. "I",
  524. "J",
  525. "K",
  526. "L",
  527. "M",
  528. "N",
  529. "O",
  530. "P",
  531. "Q",
  532. "R",
  533. "S",
  534. "T",
  535. "U",
  536. "V",
  537. "W",
  538. "X",
  539. "Y",
  540. "Z"
  541. ],
  542. taskList: [
  543. {
  544. teststitle: "请从以下选项中选出一个由三个不同字母组成的组合。",
  545. checkList: ["abc", "aaa", "bca", "ccc"],
  546. timuList: [],
  547. answer: 0,
  548. type: "1",
  549. analyze:
  550. "本题考核学生对字母的识别能力以及对字母组合的理解。学生需要识别每个选项中的字母,并判断是否由三个不同的字母组成。选项1(abc)和选项3(bca)都由三个不同的字母组成,但根据题目要求,选项1是正确答案。",
  551. answer2: "",
  552. uuid: "2b29f3aa-3389-4415-85aa-613f72e23de6",
  553. isSubmit: false
  554. },
  555. {
  556. teststitle: "哪种动物会飞?",
  557. checkList: ["狗", "猫", "鸟", "鱼"],
  558. timuList: [],
  559. answer: 2,
  560. type: "1",
  561. analyze:
  562. "这道题目考察学生对动物基本特征的了解。鸟是会飞的动物,而狗、猫和鱼都不会飞。",
  563. answer2: "",
  564. uuid: "55d7fdcb-bedb-4c2f-b6ea-b3b98e7415be",
  565. isSubmit: false
  566. },
  567. {
  568. teststitle: "以下哪些动物会飞?",
  569. checkList: ["狗", "猫", "鸟", "蝙蝠", "企鹅", "蜜蜂"],
  570. timuList: [],
  571. answer: [2, 3, 5],
  572. type: "2",
  573. analyze:
  574. "本题考查学生对动物飞行能力的认知。鸟、蝙蝠和蜜蜂都是会飞的动物,而狗、猫和企鹅不会飞。通过这道题,学生需要对多种动物的特征进行分类和识别。",
  575. answer2: [],
  576. uuid: "764246b9-0ce5-4d75-9035-3de982b3420f",
  577. isSubmit: false
  578. },
  579. {
  580. teststitle: "测试",
  581. testItem: 4,
  582. checkList: [
  583. {
  584. src:
  585. "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/1-2740353x15_hanspub1687855155487.jpg",
  586. imgType: 1
  587. },
  588. "测试1",
  589. "测试2",
  590. "测试3"
  591. ],
  592. timuList: [
  593. {
  594. src:
  595. "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/DSC20210112100951431687855143262.jpg"
  596. }
  597. ],
  598. answer: [2, 0],
  599. type: "2",
  600. answer2: [],
  601. uuid: "157fb875-acec-4dc9-8e60-73b82bb4ed9a",
  602. analyze:
  603. "题目要求选择正确的答案。根据题目和选项的内容,正确答案是3和1。\n分析考核的知识点包括理解题意和选项内容的能力。",
  604. isSubmit: false
  605. },
  606. {
  607. teststitle: "哪种动物生活在水中?",
  608. checkList: ["狗", "猫", "鸟", "鱼"],
  609. timuList: [],
  610. answer: 3,
  611. type: "1",
  612. analyze:
  613. "这道题目考核的是学生对常见动物生活环境的认知能力。鱼是生活在水中的动物,而狗、猫和鸟则不是。",
  614. answer2: "",
  615. uuid: "723dd167-f480-47e9-b958-353138113742",
  616. isSubmit: false
  617. },
  618. {
  619. teststitle: "以下哪些动物既能生活在水中也能生活在陆地上?",
  620. checkList: ["青蛙", "鲨鱼", "海豚", "企鹅"],
  621. timuList: [],
  622. answer: 0,
  623. type: "1",
  624. analyze:
  625. "本题考核学生对动物生活环境的更深入认知。青蛙是两栖动物,既能生活在水中也能生活在陆地上,而鲨鱼和海豚主要生活在水中,企鹅虽然能在陆地上活动,但主要生活在水中。",
  626. answer2: "",
  627. uuid: "ca09b084-2fea-4e68-9f8a-325e77c652d3",
  628. isSubmit: false
  629. },
  630. {
  631. teststitle: "以下哪种动物既能飞又能游泳?",
  632. checkList: ["企鹅", "老鹰", "鸵鸟", "海豚"],
  633. timuList: [],
  634. answer: 0,
  635. type: "1",
  636. analyze:
  637. "题目考察了学生对动物特征的综合认知。企鹅是唯一一种既能飞(在水中飞行)又能游泳的动物,而老鹰只能飞行,鸵鸟既不能飞也不能游泳,海豚只能游泳。",
  638. answer2: "",
  639. uuid: "cdc13cd7-a1c6-4809-b958-d2b37b2aac6b",
  640. isSubmit: false
  641. },
  642. {
  643. teststitle: "以下哪种动物能够在水中游泳?",
  644. checkList: ["企鹅", "老鹰", "鸵鸟", "猫"],
  645. timuList: [],
  646. answer: 0,
  647. type: "1",
  648. analyze:
  649. "这道题目考核的是学生对动物特性的了解。企鹅是一种能够在水中游泳的动物,而其他选项中的动物(老鹰、鸵鸟、猫)都不能在水中游泳。",
  650. answer2: "",
  651. uuid: "ebed926d-5010-4d2e-9740-b6fe00438420",
  652. isSubmit: false
  653. },
  654. {
  655. teststitle:
  656. "观察以下模式,并选择正确的选项来完成这个模式:cscs, sscs, cscs, sscs, ______",
  657. checkList: ["cscs", "sscs", "cssc", "sssc"],
  658. timuList: [],
  659. answer: 0,
  660. type: "1",
  661. analyze:
  662. "这道题目考察学生对模式识别的能力。题目给出了一个重复的模式:cscs, sscs, cscs, sscs。根据这个模式,下一步应该是cscs。因此,正确答案是选项1。",
  663. end: "",
  664. answer2: "",
  665. uuid: "61ae2659-43c3-4741-b5c2-a543a57a9705",
  666. isSubmit: false
  667. },
  668. {
  669. teststitle: "世界上最长的河流是哪一条?",
  670. checkList: ["尼罗河", "亚马逊河", "长江", "密西西比河"],
  671. timuList: [],
  672. answer: 0,
  673. type: "1",
  674. analyze:
  675. "这道题目考核的是学生对世界地理常识的了解。世界上最长的河流是尼罗河,全长约6650公里。通过这道题目,学生可以学习到关于世界河流的基本知识。",
  676. answer2: "",
  677. uuid: "b328ebf9-389a-4828-b6c6-9a04426d3216",
  678. isSubmit: false
  679. },
  680. {
  681. teststitle: "世界上最高的山峰及其高度",
  682. checkList: [
  683. "珠穆朗玛峰,高度8848米",
  684. "珠穆朗玛峰,高度8000米",
  685. "太白山,高度8848米",
  686. "刚果盆地,高度8848米"
  687. ],
  688. timuList: [],
  689. answer: 0,
  690. type: "1",
  691. analyze:
  692. "本题考察学生对世界上最高山峰珠穆朗玛峰及其高度的了解。珠穆朗玛峰是世界上最高的山峰,其高度为8848米。通过这道题,学生不仅需要知道最高的山峰,还需要记住其具体高度。",
  693. answer2: "",
  694. uuid: "e1cf1783-2e9f-40f6-a58f-6c3a7a951173",
  695. isSubmit: false
  696. }
  697. ],
  698. taskMessage: {
  699. chapter: "",
  700. grade: "中一",
  701. semester: "上学期",
  702. edition: "人教版",
  703. subject: "科学",
  704. title: ""
  705. },
  706. isSubmit: false,
  707. star: 4,
  708. onlyShowMistake: false,
  709. userInfo: {
  710. userName: "科科",
  711. grade: 7,
  712. userAvatar: "",
  713. choseCharacter: 0
  714. },
  715. characterList: [
  716. {
  717. index: 0,
  718. image: require("../../../assets/icon/pocAiClassroom/character1.png"),
  719. name: "圆鼓鼓的大胖鱼",
  720. personality:
  721. "心思细腻,能够敏锐捕捉到别人的需求,喜欢支持和鼓励他人,富有耐心"
  722. },
  723. {
  724. index: 1,
  725. image: require("../../../assets/icon/pocAiClassroom/character2.png"),
  726. name: "迷人的大反派2",
  727. personality:
  728. "心思细腻,能够敏锐捕捉到别人的需求,喜欢支持和鼓励他人,富有耐心2"
  729. },
  730. {
  731. index: 2,
  732. image: require("../../../assets/icon/pocAiClassroom/character3.png"),
  733. name: "迷人的大反派3",
  734. personality:
  735. "心思细腻,能够敏锐捕捉到别人的需求,喜欢支持和鼓励他人,富有耐心3"
  736. },
  737. {
  738. index: 3,
  739. image: require("../../../assets/icon/pocAiClassroom/character4.png"),
  740. name: "迷人的大反派4",
  741. personality:
  742. "心思细腻,能够敏锐捕捉到别人的需求,喜欢支持和鼓励他人,富有耐心4"
  743. },
  744. {
  745. index: 4,
  746. image: require("../../../assets/icon/pocAiClassroom/character5.png"),
  747. name: "迷人的大反派5",
  748. personality:
  749. "心思细腻,能够敏锐捕捉到别人的需求,喜欢支持和鼓励他人,富有耐心5"
  750. },
  751. {
  752. index: 5,
  753. image: require("../../../assets/icon/pocAiClassroom/character6.png"),
  754. name: "迷人的大反派6",
  755. personality:
  756. "心思细腻,能够敏锐捕捉到别人的需求,喜欢支持和鼓励他人,富有耐心6"
  757. }
  758. ],
  759. type:this.$route.query.type,
  760. classList: [
  761. {
  762. title: "第一章:科學入門",
  763. open:true,
  764. allClass: [
  765. {
  766. title: "學習科學",
  767. type: 0,
  768. isComplete: true,
  769. subject: 4,
  770. image:
  771. "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E5%9B%BE%E7%89%8741724834676182.png"
  772. },
  773. {
  774. title: "科學的實踐",
  775. type: 0,
  776. subject: 4,
  777. isComplete: true,
  778. image:
  779. "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E5%9B%BE%E7%89%8731724834767532.png"
  780. },
  781. {
  782. title: "實驗室安全",
  783. type: 0,
  784. subject: 4,
  785. isComplete: false,
  786. image:
  787. "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E5%9B%BE%E7%89%8721724834685472.png"
  788. },
  789. {
  790. title: "實驗室儀器及基本實驗技巧",
  791. type: 0,
  792. subject: 4,
  793. isComplete: false,
  794. image:
  795. "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E5%9B%BE%E7%89%8751724834771676.png"
  796. },
  797. {
  798. title: "綜合練習",
  799. type: 1,
  800. subject: 4,
  801. isComplete: false,
  802. image:
  803. "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E5%9B%BE%E7%89%8711724834666052.png"
  804. }
  805. ]
  806. },
  807. {
  808. title: "第二章:水",
  809. open:true,
  810. allClass: [
  811. {
  812. title: "水的物熊變化",
  813. type: 0,
  814. subject: 4,
  815. isComplete: true,
  816. image:
  817. "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E5%9B%BE%E7%89%8761724834777931.png"
  818. },
  819. {
  820. title: "水循環",
  821. type: 0,
  822. subject: 4,
  823. isComplete: true,
  824. image:
  825. "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E5%9B%BE%E7%89%8771724834845597.png"
  826. },
  827. {
  828. title: "溶解",
  829. type: 0,
  830. subject: 4,
  831. isComplete: true,
  832. image:
  833. "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E5%9B%BE%E7%89%8781724834847977.png"
  834. },
  835. {
  836. title: "水的淨化",
  837. type: 0,
  838. subject: 4,
  839. isComplete: true,
  840. image:
  841. "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E5%9B%BE%E7%89%8791724834873373.png"
  842. },
  843. {
  844. title: "食水的進一步處理",
  845. type: 0,
  846. subject: 4,
  847. isComplete: false,
  848. image:
  849. "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E5%9B%BE%E7%89%8761724834777931.png"
  850. },
  851. {
  852. title: "節約用水和水污染",
  853. type: 0,
  854. subject: 4,
  855. isComplete: false,
  856. image:
  857. "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E5%9B%BE%E7%89%8771724834845597.png"
  858. },
  859. {
  860. title: "綜合練習",
  861. type: 1,
  862. subject: 4,
  863. isComplete: false,
  864. image:
  865. "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E5%9B%BE%E7%89%8721724834685472.png"
  866. }
  867. ]
  868. },
  869. {
  870. title: "第三章:观察生物",
  871. open:true,
  872. allClass: [
  873. {
  874. title: "生物",
  875. type: 0,
  876. isComplete: true,
  877. subject: 4,
  878. image:
  879. "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E5%9B%BE%E7%89%8741724834676182.png"
  880. },
  881. {
  882. title: "生物的分類",
  883. type: 0,
  884. subject: 4,
  885. isComplete: true,
  886. image:
  887. "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E5%9B%BE%E7%89%8731724834767532.png"
  888. },
  889. {
  890. title: "檢索表",
  891. type: 0,
  892. subject: 4,
  893. isComplete: false,
  894. image:
  895. "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E5%9B%BE%E7%89%8721724834685472.png"
  896. },
  897. {
  898. title: "生物多樣性",
  899. type: 0,
  900. subject: 4,
  901. isComplete: false,
  902. image:
  903. "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E5%9B%BE%E7%89%8751724834771676.png"
  904. },
  905. {
  906. title: "綜合練習",
  907. type: 1,
  908. subject: 4,
  909. isComplete: false,
  910. image:
  911. "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E5%9B%BE%E7%89%8711724834666052.png"
  912. }
  913. ]
  914. }
  915. ],
  916. seekAssistLoading:false,
  917. seekAssistMessage:"",
  918. };
  919. },
  920. computed: {
  921. isDoTask() {
  922. return _index => {
  923. let _result = false;
  924. const _type = typeof this.taskList[_index].answer == "object" ? 1 : 0;
  925. if (_type == 0) {
  926. if (this.taskList[_index].answer2 !== "") _result = true;
  927. } else if (_type == 1) {
  928. if (this.taskList[_index].answer2.length > 0) _result = true;
  929. }
  930. return _result;
  931. };
  932. },
  933. isTrueTask() {
  934. return _index => {
  935. let _result = {
  936. yes: [],
  937. no: []
  938. };
  939. const _type = typeof this.taskList[_index].answer == "object" ? 1 : 0;
  940. const _answer = this.taskList[_index].answer;
  941. const _answer2 = this.taskList[_index].answer2;
  942. if (_type == 0) {
  943. if (_answer === _answer2) {
  944. _result.yes = [_answer2];
  945. _result.no = [];
  946. } else {
  947. _result.yes = [];
  948. _result.no = [_answer2];
  949. }
  950. } else if (_type == 1) {
  951. if (
  952. _answer.length === _answer2.length &&
  953. _answer.every(i => _answer2.includes(i))
  954. ) {
  955. _result.yes = _answer2;
  956. _result.no = [];
  957. } else {
  958. _result.yes = _answer.filter(i => _answer2.includes(i));
  959. _result.no = _answer2.filter(i => !_answer.includes(i));
  960. }
  961. }
  962. // let yes2 = _result.yes;
  963. // yes2.sort((a,b)=>a-b)
  964. // let no2 = _result.no;
  965. // no2.sort((a,b)=>a-b)
  966. // _result.yes = yes2;
  967. // _result.no = no2;
  968. return _result;
  969. };
  970. },
  971. isDoAllTask() {
  972. let _result = true;
  973. this.taskList.forEach((item, index) => {
  974. if (!this.isDoTask(index)) {
  975. _result = false;
  976. }
  977. });
  978. return _result;
  979. },
  980. showTime() {
  981. // 更新currentTime,将秒数转换为时分秒格式
  982. let hours = Math.floor((this.time + this.time2) / 3600);
  983. let minutes = Math.floor(((this.time + this.time2) % 3600) / 60);
  984. let seconds = Math.floor((this.time + this.time2) % 60);
  985. // this.recordedForm.time = `${hours.toString().padStart(2, "0")}:${minutes
  986. // .toString()
  987. // .padStart(2, "0")}:${seconds.toString().padStart(2, "0")}`;
  988. return `${hours
  989. .toString()
  990. .padStart(2, "0")}:${minutes
  991. .toString()
  992. .padStart(2, "0")}:${seconds.toString().padStart(2, "0")}`;
  993. },
  994. showMessage() {
  995. let _result = {
  996. total: 0,
  997. right: 0,
  998. wrong: 0,
  999. accuracy: 0
  1000. };
  1001. if (!this.isSubmit) return _result;
  1002. _result.total = this.taskList.length;
  1003. this.taskList.forEach((item, index) => {
  1004. if (
  1005. typeof item.answer === "object"
  1006. ? !(
  1007. this.isTrueTask(index).no.length == 0 &&
  1008. this.isTrueTask(index).yes.length == item.answer.length
  1009. )
  1010. : item.answer !== item.answer2
  1011. ) {
  1012. _result.wrong++;
  1013. } else {
  1014. _result.right++;
  1015. }
  1016. });
  1017. _result.accuracy = Math.round((_result.right / _result.total) * 100);
  1018. return _result;
  1019. },
  1020. schedule() {
  1021. let _schedule = 0;
  1022. if (this.showTaskIndex == 0) {
  1023. _schedule = 0;
  1024. } else if (this.showTaskIndex === this.taskList.length) {
  1025. _schedule = 100;
  1026. } else {
  1027. _schedule = Math.round(
  1028. ((this.showTaskIndex + 1) / this.taskList.length) * 100
  1029. );
  1030. }
  1031. return _schedule;
  1032. }
  1033. },
  1034. methods: {
  1035. changeTask(type) {
  1036. if (type == "prev") {
  1037. if (this.showTaskIndex > 0) {
  1038. this.showTaskIndex--;
  1039. } else {
  1040. this.$message.warning("已经是第一题啦");
  1041. }
  1042. } else if (type == "next") {
  1043. if (this.showTaskIndex < this.taskList.length - 1) {
  1044. this.showTaskIndex++;
  1045. } else {
  1046. this.$message.warning("已经是最后一题啦");
  1047. }
  1048. }
  1049. },
  1050. // 切换章节
  1051. changeChapter() {
  1052. this.$refs.changeChapterDialogRef.open(this.type);
  1053. },
  1054. //求助
  1055. seekAssist() {
  1056. this.showSeekAssist = true;
  1057. this.getSeekAssist()
  1058. },
  1059. keepTime() {
  1060. if (this.timer !== null) {
  1061. clearInterval(this.timer);
  1062. this.timer = null;
  1063. this.time += this.time2;
  1064. this.time2 = 0;
  1065. } else {
  1066. this.startTime = new Date().getTime();
  1067. this.timer = setInterval(() => {
  1068. if (this.isSubmit) {
  1069. clearInterval(this.timer);
  1070. this.timer = null;
  1071. this.time += this.time2;
  1072. this.time2 = 0;
  1073. return;
  1074. }
  1075. this.time2 = Math.floor(
  1076. (new Date().getTime() - this.startTime) / 1000
  1077. );
  1078. }, 1000);
  1079. }
  1080. },
  1081. endTask() {
  1082. this.$confirm("确定结束练习吗", "提示", {
  1083. confirmButtonText: "确定",
  1084. cancelButtonText: "取消",
  1085. type: "warning"
  1086. })
  1087. .then(() => {
  1088. this.back();
  1089. })
  1090. .catch(() => {
  1091. console.log("不结束练习");
  1092. });
  1093. },
  1094. saveTask() {
  1095. console.log("保存做题");
  1096. },
  1097. submitTask(type = 0) {
  1098. if (!this.isDoAllTask && type == 0) {
  1099. this.$confirm("还有未做的题目,是否要继续做题", "提示", {
  1100. confirmButtonText: "确认提交",
  1101. cancelButtonText: "继续做题",
  1102. type: "warning "
  1103. })
  1104. .then(() => {
  1105. this.submitTask(1);
  1106. })
  1107. .catch(() => {
  1108. console.log("继续做题");
  1109. });
  1110. } else {
  1111. this.isSubmit = true;
  1112. clearInterval(this.timer);
  1113. this.timer = null;
  1114. this.sortTaskList();
  1115. }
  1116. },
  1117. back() {
  1118. this.$router.push(
  1119. `/pocAiClassroom?userid=${this.userId}&oid=${this.oid}&org=${this.org}`
  1120. );
  1121. },
  1122. choseAnswer(_index) {
  1123. const _type =
  1124. typeof this.taskList[this.showTaskIndex].answer == "object" ? 1 : 0;
  1125. if (_type == 0) {
  1126. if (this.taskList[this.showTaskIndex].answer2 === _index) {
  1127. this.taskList[this.showTaskIndex].answer2 = "";
  1128. } else {
  1129. this.taskList[this.showTaskIndex].answer2 = _index;
  1130. }
  1131. } else if (_type == 1) {
  1132. if (this.taskList[this.showTaskIndex].answer2.includes(_index)) {
  1133. this.taskList[this.showTaskIndex].answer2 = this.taskList[
  1134. this.showTaskIndex
  1135. ].answer2.filter(item => item != _index);
  1136. } else {
  1137. this.taskList[this.showTaskIndex].answer2.push(_index);
  1138. }
  1139. }
  1140. },
  1141. sortTaskList() {
  1142. this.taskList.forEach(i => {
  1143. if (typeof i.answer === "object") {
  1144. i.answer.sort((a, b) => a - b);
  1145. i.answer2.sort((a, b) => a - b);
  1146. }
  1147. });
  1148. },
  1149. goDoTask(_index) {
  1150. if (this.$refs["taskItem" + _index + "Ref"][0]) {
  1151. this.$refs["taskItem" + _index + "Ref"][0].scrollIntoView({
  1152. behavior: "smooth",
  1153. block: "start",
  1154. inline: "start"
  1155. });
  1156. }
  1157. },
  1158. doNotKnow(){
  1159. this.getSeekAssist();
  1160. },
  1161. changeChapterSuccess(index){
  1162. if(index=='1-0'){
  1163. // {
  1164. // teststitle: '请从以下选项中选出一个由三个不同字母组成的组合。',
  1165. // checkList: ['abc', 'aaa', 'bca', 'ccc'],
  1166. // timuList: [],
  1167. // answer: 0,
  1168. // type: '1',
  1169. // analyze:
  1170. // '本题考核学生对字母的识别能力以及对字母组合的理解。学生需要识别每个选项中的字母,并判断是否由三个不同的字母组成。选项1(abc)和选项3(bca)都由三个不同的字母组成,但根据题目要求,选项1是正确答案。',
  1171. // answer2: '',
  1172. // uuid: '2b29f3aa-3389-4415-85aa-613f72e23de6',
  1173. // isSubmit: false
  1174. // },
  1175. let task = [
  1176. {
  1177. teststitle:"當冰加熱到0°C時,它會發生什麼變化",
  1178. checkList:["沸騰","凝結","熔化","蒸發"],
  1179. answer:2,
  1180. type: '1',
  1181. analyze:"當冰加熱到0°C時,它會從固態轉變成液態,這個過程稱為熔化。",
  1182. answer2: '',
  1183. },
  1184. {
  1185. teststitle:"在自然界中,水能以哪種形式存在?",
  1186. checkList:["只有液態","只有固態","液態和氣態","三態均有"],
  1187. answer:3,
  1188. type: '1',
  1189. analyze:"水在自然界中可以以固態(冰)、液態(水)和氣態(水汽)三種狀態存在。",
  1190. answer2: '',
  1191. },{
  1192. teststitle:"易拉罐表面在夏天常出現水滴,這是由於水汽的什麼現象?",
  1193. checkList:["蒸發","熔化","沸騰","凝結"],
  1194. answer:3,
  1195. type: '1',
  1196. analyze:"水汽在接觸冷的易拉罐表面時凝結成液態水,這個過程稱為凝結。",
  1197. answer2: '',
  1198. },{
  1199. teststitle:"在夏天,玻璃杯外面的水滴形成是因為哪種水物態變化?",
  1200. checkList:["凝固","熔化","沸騰","凝結"],
  1201. answer:3,
  1202. type: '1',
  1203. analyze:"玻璃杯外的水滴是由空氣中的水汽經由凝結形成的。",
  1204. answer2: '',
  1205. },{
  1206. teststitle:"下列哪一項說法正確描述水的熱的物態變化?",
  1207. checkList:["水的凝結點比沸點高","水在0°C時開始凝固或熔化","水只能通過沸騰轉化為氣態","水在自然界只存在於其中一種狀態"],
  1208. answer:1,
  1209. type: '1',
  1210. analyze:"水在0°C時,可以開始從固態冰凝固成液態水,或者從液態水熔化成固態冰。",
  1211. answer2: '',
  1212. },{
  1213. teststitle:"下列哪項關於物熊變化的敘述是不正確的?",
  1214. checkList:["凝結會於沸點或以下的温度發生","蒸發過程中不会吸收或釋出能量。","凝固是物質由液熊轉變成固熊的過程","D.固體熔化時的温度保持不變。"],
  1215. answer:1,
  1216. type: '1',
  1217. analyze:"選項B蒸發是液體變成氣體的過程,這個過程需要吸收能量,稱為蒸發熱。因此,蒸發是一個吸熱過程。",
  1218. answer2: '',
  1219. },{
  1220. teststitle:"如圖所示,盛了水的鍋正在爐上加熱。在鍋中和在鍋蓋內壁的水正在發生甚麼物熊變化?",
  1221. imageUrl:"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/image%20%281%291725689946082.png",
  1222. checkList:["鍋中:熔化,鍋蓋內璧:沸騰","鍋中:蒸發,鍋蓋內璧:凝固","鍋中:沸騰,鍋蓋內璧:凝結","鍋中:凝結,鍋蓋內璧:蒸發"],
  1223. answer:2,
  1224. type: '1',
  1225. analyze:"鍋中:沸騰。當鍋中的水被加熱到一定的溫度,即水的沸點時,水分子獲得足夠的能量克服相互之間的吸引力,開始從液態轉變為氣態,形成氣泡並上升到水面,然後氣泡破裂,釋放出水蒸氣。這個過程稱為沸騰,是液體變成氣體的相變過程。鍋蓋內璧:凝結。鍋蓋內璧的溫度通常低於鍋中水的溫度,因此當鍋中產生的水蒸氣遇到較冷的鍋蓋內璧時,水蒸氣分子會失去能量,相互之間的吸引力增強,導致它們重新聚集在一起形成液態水。這個過程稱為凝結,是氣體變成液體的相變過程。",
  1226. answer2: '',
  1227. },{
  1228. teststitle:"下列哪項正確顯示冰變成水時的水粒子變化?",
  1229. imageUrl:"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/image%20%282%291725690023281.png",
  1230. checkList:["A","B","C","D"],
  1231. answer:0,
  1232. type: '1',
  1233. analyze:"冰變成水時,水分子間的距離增大,分子運動加快。",
  1234. answer2: '',
  1235. },{
  1236. teststitle:"當水冷卻到0°C時,它會發生什麼變化?",
  1237. checkList:["熔化","凝固","沸騰","蒸發"],
  1238. answer:1,
  1239. type: '1',
  1240. analyze:"當水冷卻到0°C時,它會從液態轉變成固態,這個過程稱為凝固。",
  1241. answer2: '',
  1242. },{
  1243. teststitle:"水蒸發需要具備哪些條件?",
  1244. checkList:["高於100°C的溫度","僅能在沸點發生","低於沸點的任何溫度","僅能在冰點發生"],
  1245. answer:2,
  1246. type: '1',
  1247. analyze:"水蒸發可以在低於沸點的任何溫度發生,並不需要達到沸點。",
  1248. answer2: '',
  1249. }
  1250. ]
  1251. this.taskList = task;
  1252. }else if(index=='1-1'){
  1253. let task = [
  1254. {
  1255. teststitle:`在下列哪個(些)情况下,濕衣服會乾得很慢?
  1256. (1)把衣服摺起來
  1257. (2)空氣濕度低
  1258. (3)把衣服晾在陽光下
  1259. `,
  1260. checkList:["只有 (1)","只有 (1)和 (2)","只有 (1) 和 (3)","只有 (2) 和 (3)"],
  1261. answer:0,
  1262. type: '1',
  1263. analyze:"當衣服被折疊起來時,水分蒸發的表面積減少,因為衣服內部的水分不容易接觸到流通的空氣,這會減慢幹燥過程。,水分蒸发的表面积减少,因为衣服内部的水分不容易接触到流通的空气,这会减慢干燥过程。",
  1264. answer2: '',
  1265. },
  1266. {
  1267. teststitle:"下列各容器盛有相同分量的水。把它們置在陽光下幾小時後,哪個容器會剩下最少水?",
  1268. imageUrl:"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/image%20%283%291725690506088.png",
  1269. checkList:["A","B","C","D"],
  1270. answer:2,
  1271. type: '1',
  1272. analyze:"表面積越大,水分接觸空氣的面積越多,蒸發得越快。",
  1273. answer2: '',
  1274. },{
  1275. teststitle:`一把濕雨傘收起後掛在窗邊。下列哪個(些)方法能使目4濕傘快些乾透?
  1276. (1)把雨傘放在陽光下。
  1277. (2)開動風扇,再把雨傘放在風扇前方
  1278. (3)完全打開傘。
  1279. `,
  1280. checkList:["只有 (1)","只有 (2)和 (3)","只有(1)和(2)","全部(1)(2)和(3)"],
  1281. answer:3,
  1282. type: '1',
  1283. analyze:"(1)將雨傘放在陽光直射的地方,可以利用太陽的熱量來提高雨傘的溫度,這是加快水分蒸發的一個有效方法。(2)使用風扇或其他形式的人工通風可以增加空氣中的對流,幫助將潮濕的空氣帶走,並帶來更幹燥的空氣,這同樣有助於加速雨傘的幹燥。(3)雨傘完全打開時,增加了與空氣接觸的表面積,這意味著有更多的水分可以同時蒸發,從而加快了整體的幹燥過程。",
  1284. answer2: '',
  1285. },{
  1286. teststitle:"下列哪項關於大自然中水的敘述是正確的 ?",
  1287. checkList:["地球上的水因蒸發不斷流失。","地球上的水因凝結不斷增加。","海洋中水由液熊水轉變成水汽。","高空的水滴不會返回地面。"],
  1288. answer:2,
  1289. type: '1',
  1290. analyze:"A 雖然地球上的水會通過蒸發變成水蒸氣進入大氣中,但這個過程是水循環的一部分,水蒸氣最終會通過凝結成雲,再以雨、雪等形式返回地面,補充到地球上的水源中。B 凝結是水循環中的一個環節,這個過程並不會導致地球上總水量的增加,因為水循環是一個動態平衡的系統。D高空中的水滴可以通過多種方式返回地面,最常見的是水滴凝結成雲,然後以雨、雪、冰雹等形式降落到地面。",
  1291. answer2: '',
  1292. },{
  1293. teststitle:"以下哪個現象不屬於水循環的一部分?",
  1294. checkList:["蒸發","火山爆發","降水","凝結"],
  1295. answer:1,
  1296. type: '1',
  1297. analyze:"水循環涉及蒸發、凝結、運輸和降水等過程,而火山爆發不是水循環的一部分。",
  1298. answer2: '',
  1299. },{
  1300. teststitle:"以下哪種因素不直接影響水的蒸發速率?",
  1301. checkList:["溫度","空氣流動","衣服的顏色","表面積"],
  1302. answer:2,
  1303. type: '1',
  1304. analyze:"水的蒸發速率主要受溫度、空氣流動和表面積的影響,衣服的顏色不直接影響水的蒸發。",
  1305. answer2: '',
  1306. },{
  1307. teststitle:"在水循環中,海洋的主要作用是什麼?",
  1308. // imageUrl:"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/image%20%281%291725689946082.png",
  1309. checkList:["提供空氣濕度","儲存地球上大部分水量","為陸地提供地下水","提供生態系統"],
  1310. answer:1,
  1311. type: '1',
  1312. analyze:"海洋覆蓋地球表面的約 70%,儲存了地球總水量的 97%,是水循環的主要儲水地。",
  1313. answer2: '',
  1314. },{
  1315. teststitle:"下列關於水循環的敘述,哪一項是不正確的?",
  1316. checkList:["降水可以是雨、雪、或冰雹","水循環是由人類活動主導的","降水主要發生在海洋","凝結形成雲"],
  1317. answer:1,
  1318. type: '1',
  1319. analyze:"水循環是自然過程,主要受到太陽能量驅動,而非人類活動。",
  1320. answer2: '',
  1321. },{
  1322. teststitle:"為什麼高空的水滴容易凝結?",
  1323. checkList:["因為空氣中的二氧化碳含量高","因為高空的溫度較低","因為水的密度變大","因為地心引力的作用"],
  1324. answer:1,
  1325. type: '1',
  1326. analyze:"高空的溫度較低,這樣水汽容易凝結成小水滴。",
  1327. answer2: '',
  1328. },{
  1329. teststitle:"以下哪項活動會加快水的蒸發速率?",
  1330. checkList:["將盛水的容器蓋住","將水置於陰暗角落","將水置於陽光直射下","增加室內濕度"],
  1331. answer:2,
  1332. type: '1',
  1333. analyze:"在陽光直射下,水分子吸收更多的能量,蒸發速率會增加。",
  1334. answer2: '',
  1335. }
  1336. ]
  1337. this.taskList = task;
  1338. }else{
  1339. let task = [
  1340. {
  1341. teststitle:"當冰加熱到0°C時,它會發生什麼變化",
  1342. checkList:["沸騰","凝結","熔化","蒸發"],
  1343. answer:2,
  1344. type: '1',
  1345. analyze:"當冰加熱到0°C時,它會從固態轉變成液態,這個過程稱為熔化。",
  1346. answer2: '',
  1347. },
  1348. {
  1349. teststitle:"在自然界中,水能以哪種形式存在?",
  1350. checkList:["只有液態","只有固態","液態和氣態","三態均有"],
  1351. answer:3,
  1352. type: '1',
  1353. analyze:"水在自然界中可以以固態(冰)、液態(水)和氣態(水汽)三種狀態存在。",
  1354. answer2: '',
  1355. },{
  1356. teststitle:"易拉罐表面在夏天常出現水滴,這是由於水汽的什麼現象?",
  1357. checkList:["蒸發","熔化","沸騰","凝結"],
  1358. answer:3,
  1359. type: '1',
  1360. analyze:"水汽在接觸冷的易拉罐表面時凝結成液態水,這個過程稱為凝結。",
  1361. answer2: '',
  1362. },{
  1363. teststitle:"在夏天,玻璃杯外面的水滴形成是因為哪種水物態變化?",
  1364. checkList:["凝固","熔化","沸騰","凝結"],
  1365. answer:3,
  1366. type: '1',
  1367. analyze:"玻璃杯外的水滴是由空氣中的水汽經由凝結形成的。",
  1368. answer2: '',
  1369. },{
  1370. teststitle:"下列哪一項說法正確描述水的熱的物態變化?",
  1371. checkList:["水的凝結點比沸點高","水在0°C時開始凝固或熔化","水只能通過沸騰轉化為氣態","水在自然界只存在於其中一種狀態"],
  1372. answer:1,
  1373. type: '1',
  1374. analyze:"水在0°C時,可以開始從固態冰凝固成液態水,或者從液態水熔化成固態冰。",
  1375. answer2: '',
  1376. },{
  1377. teststitle:"下列哪項關於物熊變化的敘述是不正確的?",
  1378. checkList:["凝結會於沸點或以下的温度發生","蒸發過程中不会吸收或釋出能量。","凝固是物質由液熊轉變成固熊的過程","D.固體熔化時的温度保持不變。"],
  1379. answer:1,
  1380. type: '1',
  1381. analyze:"選項B蒸發是液體變成氣體的過程,這個過程需要吸收能量,稱為蒸發熱。因此,蒸發是一個吸熱過程。",
  1382. answer2: '',
  1383. },{
  1384. teststitle:"如圖所示,盛了水的鍋正在爐上加熱。在鍋中和在鍋蓋內壁的水正在發生甚麼物熊變化?",
  1385. imageUrl:"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/image%20%281%291725689946082.png",
  1386. checkList:["鍋中:熔化,鍋蓋內璧:沸騰","鍋中:蒸發,鍋蓋內璧:凝固","鍋中:沸騰,鍋蓋內璧:凝結","鍋中:凝結,鍋蓋內璧:蒸發"],
  1387. answer:2,
  1388. type: '1',
  1389. analyze:"鍋中:沸騰。當鍋中的水被加熱到一定的溫度,即水的沸點時,水分子獲得足夠的能量克服相互之間的吸引力,開始從液態轉變為氣態,形成氣泡並上升到水面,然後氣泡破裂,釋放出水蒸氣。這個過程稱為沸騰,是液體變成氣體的相變過程。鍋蓋內璧:凝結。鍋蓋內璧的溫度通常低於鍋中水的溫度,因此當鍋中產生的水蒸氣遇到較冷的鍋蓋內璧時,水蒸氣分子會失去能量,相互之間的吸引力增強,導致它們重新聚集在一起形成液態水。這個過程稱為凝結,是氣體變成液體的相變過程。",
  1390. answer2: '',
  1391. },{
  1392. teststitle:"下列哪項正確顯示冰變成水時的水粒子變化?",
  1393. imageUrl:"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/image%20%282%291725690023281.png",
  1394. checkList:["A","B","C","D"],
  1395. answer:0,
  1396. type: '1',
  1397. analyze:"冰變成水時,水分子間的距離增大,分子運動加快。",
  1398. answer2: '',
  1399. },{
  1400. teststitle:"當水冷卻到0°C時,它會發生什麼變化?",
  1401. checkList:["熔化","凝固","沸騰","蒸發"],
  1402. answer:1,
  1403. type: '1',
  1404. analyze:"當水冷卻到0°C時,它會從液態轉變成固態,這個過程稱為凝固。",
  1405. answer2: '',
  1406. },{
  1407. teststitle:"水蒸發需要具備哪些條件?",
  1408. checkList:["高於100°C的溫度","僅能在沸點發生","低於沸點的任何溫度","僅能在冰點發生"],
  1409. answer:2,
  1410. type: '1',
  1411. analyze:"水蒸發可以在低於沸點的任何溫度發生,並不需要達到沸點。",
  1412. answer2: '',
  1413. }
  1414. ]
  1415. this.taskList = task;
  1416. }
  1417. this.showTaskIndex = 0;
  1418. this.time = 0;
  1419. this.time2 = 0;
  1420. this.startTime = new Date().getTime();
  1421. this.type = index;
  1422. this.taskMessage.chapter = this.classList[parseInt(index.split('-')[0])].title;
  1423. this.taskMessage.title = `第${parseInt(index.split('-')[1])+1}节 ${this.classList[parseInt(index.split('-')[0])].allClass[parseInt(index.split('-')[1])].title}`;
  1424. this.$refs.changeChapterDialogRef.close();
  1425. },
  1426. getSeekAssist() {
  1427. if(this.seekAssistLoading)return;
  1428. return new Promise(resolve => {
  1429. this.seekAssistLoading = true
  1430. this.seekAssistMessage = "我想想哦...";
  1431. let task = this.taskList[this.showTaskIndex]
  1432. let taskMsg = `${typeof task.answer == 'object' ? '【多选题】' : '【单选题】'}${task.teststitle}
  1433. ${task.checkList.map((i, index) => this.choseList[index] + '.' + i).join('\n')}
  1434. 正确答案:${
  1435. typeof task.answer == 'object'
  1436. ? task.answer.map(i => this.choseList[i]).join('、')
  1437. : this.choseList[task.answer]
  1438. }
  1439. 解析:${task.analyze}
  1440. `
  1441. let _msg = `Language: Please use the same language as the user requirement, if the user speaks Traditional Chinese, the specific text of your answer should also be in Traditional Chinese.
  1442. ATTENTION: Use '##' to SPLIT SECTIONS, not '#'. Output format carefully referenced "Format example".
  1443. Instruction: Based on the context, follow "Format example", write content
  1444. #Context
  1445. 這是一道題目相關的資料,你面向的是一位中學一年級的學生。現在學生求解這道題遇到了困難。請你扮演一位香港中學科學老師,請你使用1-3句完整的話,結合該題目考核的具體選項,從側面對題目選項進行暗示,務必不要直接給出答案。請堅持使用繁體中文,並使用香港人習慣使用的表達方式,請使用偏口語的方式表達,適當給予學生鼓勵。
  1446. ##題目內容:
  1447. ${taskMsg}
  1448. #Format example
  1449. (只需要输出一句话即可,不需要输出其他内容,不要输出Object)
  1450. `
  1451. let params = {
  1452. assistant_id: '6063369f-289a-11ef-8bf4-12e77c4cb76b',
  1453. userId: this.userId,
  1454. message: [{ type: 'text', text: _msg }],
  1455. session_name: uuidv4(),
  1456. // uid: _uuid,
  1457. file_ids: [],
  1458. model: 'gpt-4o-2024-08-06'
  1459. }
  1460. this.ajax.post("https://gpt4.cocorobo.cn/ai_agent_park_chat", params).then(res => {
  1461. let _result = res.data.FunctionResponse.message;
  1462. if(_result){
  1463. this.seekAssistMessage = _result;
  1464. this.seekAssistLoading = false;
  1465. }else{
  1466. console.log(_result);
  1467. this.$message.error("获取失败,请重试");
  1468. this.showSeekAssist = false;
  1469. }
  1470. }).catch(e=>{
  1471. console.log(e);
  1472. this.$message.error("获取失败,请重试");
  1473. this.showSeekAssist = false;
  1474. })
  1475. })
  1476. }
  1477. },
  1478. mounted() {
  1479. this.keepTime();
  1480. this.sortTaskList();
  1481. this.changeChapterSuccess(this.type)
  1482. }
  1483. };
  1484. </script>
  1485. <style scoped>
  1486. .doTask {
  1487. width: 100vw;
  1488. height: 100vh;
  1489. /* background-image: radial-gradient(#bbcdff 0%, #bbcdff 1%, #e6dee9 100%); */
  1490. background-color: #f0f2f5;
  1491. box-sizing: border-box;
  1492. overflow: auto;
  1493. position: relative;
  1494. }
  1495. .dt_back {
  1496. font-size: 24px;
  1497. cursor: pointer;
  1498. position: absolute;
  1499. right: 30px;
  1500. top: 30px;
  1501. }
  1502. .dt_main {
  1503. width: 70%;
  1504. height: 95%;
  1505. min-height: 800px;
  1506. min-width: 1100px;
  1507. display: flex;
  1508. flex-direction: column;
  1509. justify-content: space-between;
  1510. align-items: center;
  1511. margin: auto;
  1512. position: relative;
  1513. top: 2.5%;
  1514. }
  1515. .dt_m_head {
  1516. width: 100%;
  1517. height: 150px;
  1518. display: flex;
  1519. flex-direction: column;
  1520. align-items: center;
  1521. position: relative;
  1522. /* justify-content: center; */
  1523. }
  1524. .dt_m_h_message {
  1525. font-size: 20px;
  1526. color: #00000099;
  1527. }
  1528. .dt_m_h_message > span {
  1529. margin: 0 10px;
  1530. }
  1531. .dt_m_h_back {
  1532. padding: 12px 20px;
  1533. display: flex;
  1534. align-items: center;
  1535. justify-content: center;
  1536. font-size: 24px;
  1537. background-color: #f8f9fa;
  1538. border: 1px solid #e7e7e7;
  1539. border-radius: 4px;
  1540. top: calc(50% - 40px);
  1541. left: 0;
  1542. position: absolute;
  1543. cursor: pointer;
  1544. }
  1545. .dt_m_h_back > svg {
  1546. width: 25px;
  1547. height: 25px;
  1548. margin-right: 10px;
  1549. }
  1550. .dt_m_h_chapter {
  1551. font-size: 34px;
  1552. margin: 20px 0;
  1553. }
  1554. .dt_m_h_btn {
  1555. padding: 10px 20px;
  1556. display: flex;
  1557. justify-content: center;
  1558. align-items: center;
  1559. background-color: #fff;
  1560. border-radius: 5px;
  1561. font-size: 20px;
  1562. cursor: pointer;
  1563. }
  1564. .dt_m_box {
  1565. width: 100%;
  1566. height: calc(100% - 60px);
  1567. border-radius: 10px;
  1568. display: flex;
  1569. }
  1570. .dt_m_b_left {
  1571. width: calc(100% - 300px - 30px);
  1572. height: 100%;
  1573. box-sizing: border-box;
  1574. overflow: auto;
  1575. border-radius: 10px;
  1576. border: 1px solid #e7e7e7;
  1577. background-color: #ffffff;
  1578. display: flex;
  1579. flex-direction: column;
  1580. justify-content: space-between;
  1581. align-items: center;
  1582. }
  1583. .dt_m_b_l_head {
  1584. width: 100%;
  1585. height: 90px;
  1586. display: flex;
  1587. align-items: center;
  1588. justify-content: space-between;
  1589. box-sizing: border-box;
  1590. padding: 16px 32px;
  1591. background-color: #f8f9fa;
  1592. }
  1593. .dt_m_l_h_title {
  1594. font-size: 30px;
  1595. font-weight: bold;
  1596. max-width: calc(100% - 150px);
  1597. display: block;
  1598. white-space: nowrap;
  1599. overflow: hidden;
  1600. text-overflow: ellipsis;
  1601. }
  1602. .dt_m_l_h_changeChapter {
  1603. font-size: 24px;
  1604. color: #3681fc;
  1605. display: flex;
  1606. align-items: center;
  1607. justify-content: center;
  1608. cursor: pointer;
  1609. }
  1610. .dt_m_l_h_changeChapter > svg {
  1611. width: 24px;
  1612. height: 24px;
  1613. margin-right: 10px;
  1614. }
  1615. .dt_m_b_l_title {
  1616. font-size: 26px;
  1617. font-weight: bold;
  1618. margin: 20px 0;
  1619. }
  1620. .dt_m_b_right {
  1621. width: 300px;
  1622. margin-left: 30px;
  1623. height: 100%;
  1624. box-sizing: border-box;
  1625. }
  1626. .dt_m_b_r_time {
  1627. width: 100%;
  1628. height: 300px;
  1629. background-color: #fff;
  1630. padding: 20px;
  1631. display: flex;
  1632. flex-direction: column;
  1633. justify-content: flex-start;
  1634. align-items: center;
  1635. border-radius: 10px 10px 0 0;
  1636. box-sizing: border-box;
  1637. }
  1638. .dt_m_b_r_t_head {
  1639. width: 100%;
  1640. display: flex;
  1641. align-items: center;
  1642. justify-content: center;
  1643. }
  1644. .dt_m_b_r_t_head > svg {
  1645. width: 30px;
  1646. height: 30px;
  1647. margin-right: 10px;
  1648. }
  1649. .dt_m_b_r_t_head > span {
  1650. font-size: 24px;
  1651. font-weight: bold;
  1652. }
  1653. .dt_m_b_r_t_showTime {
  1654. width: 100%;
  1655. height: 80px;
  1656. display: flex;
  1657. align-items: center;
  1658. justify-content: center;
  1659. border-radius: 8px;
  1660. background-color: #f2f6fc;
  1661. margin-top: 10px;
  1662. }
  1663. .dt_m_b_r_t_showTime > span {
  1664. font-size: 2.6em;
  1665. font-weight: bold;
  1666. color: #0061ff;
  1667. }
  1668. .dt_m_b_r_t_schedule {
  1669. width: 100%;
  1670. height: 50px;
  1671. display: flex;
  1672. justify-content: center;
  1673. align-items: center;
  1674. margin-top: 10px;
  1675. }
  1676. .dt_m_b_r_t_btn {
  1677. width: 100%;
  1678. height: 60px;
  1679. border-radius: 8px;
  1680. margin-top: 10px;
  1681. background-color: #f0f2f5;
  1682. display: flex;
  1683. justify-content: center;
  1684. align-items: center;
  1685. font-size: 24px;
  1686. font-weight: bold;
  1687. cursor: pointer;
  1688. }
  1689. .dt_m_b_r_t_s_box {
  1690. width: 100%;
  1691. height: 8px;
  1692. border-radius: 5px;
  1693. background-color: #f0f2f5;
  1694. position: relative;
  1695. display: flex;
  1696. align-items: center;
  1697. }
  1698. .dt_m_b_r_t_s_b_inner {
  1699. height: 100%;
  1700. border-radius: 5px;
  1701. background-color: #3681fc;
  1702. }
  1703. .dt_m_b_r_t_s_b_round {
  1704. width: 15px;
  1705. height: 15px;
  1706. border-radius: 100%;
  1707. background-color: #3681fc;
  1708. position: absolute;
  1709. transform: translateX(-50%);
  1710. display: flex;
  1711. align-items: center;
  1712. justify-content: center;
  1713. }
  1714. .dt_m_b_r_t_s_b_round > span {
  1715. position: absolute;
  1716. top: -20px;
  1717. font-weight: bold;
  1718. color: #3681fc;
  1719. }
  1720. .dt_m_b_r_template {
  1721. width: 100%;
  1722. height: auto;
  1723. margin-bottom: 30px;
  1724. margin-top: 40px;
  1725. display: flex;
  1726. align-items: center;
  1727. }
  1728. .dt_m_b_r_template > div {
  1729. font-size: 26px;
  1730. display: flex;
  1731. align-items: center;
  1732. margin-right: 25px;
  1733. }
  1734. .dt_m_b_r_template > div > span {
  1735. width: 35px;
  1736. height: 35px;
  1737. display: flex;
  1738. margin-right: 10px;
  1739. border-radius: 8px;
  1740. border: solid 2px #325395;
  1741. box-sizing: border-box;
  1742. background-color: #fff;
  1743. }
  1744. .dt_m_b_r_template > div:nth-of-type(1) > span {
  1745. background-color: #dae3f5;
  1746. }
  1747. .dt_m_b_r_taskList {
  1748. width: 100%;
  1749. height: calc(100% - 400px);
  1750. overflow: auto;
  1751. margin: 20px 0;
  1752. box-sizing: border-box;
  1753. padding: 20px;
  1754. background-color: #fff;
  1755. }
  1756. .dt_m_b_r_tl_head {
  1757. width: 100%;
  1758. height: 80px;
  1759. display: flex;
  1760. align-items: center;
  1761. flex-direction: column;
  1762. justify-content: flex-start;
  1763. }
  1764. .dt_m_b_r_tl_head > div:nth-of-type(1) {
  1765. font-size: 24px;
  1766. font-weight: bold;
  1767. display: flex;
  1768. align-items: center;
  1769. }
  1770. .dt_m_b_r_tl_head > div:nth-of-type(1) > svg {
  1771. width: 25px;
  1772. height: 25px;
  1773. margin-right: 5px;
  1774. }
  1775. .dt_m_b_r_tl_head > div:nth-of-type(2) {
  1776. font-size: 18px;
  1777. margin-top: 15px;
  1778. color: #00000066;
  1779. }
  1780. .dt_m_b_r_tl_head > div:nth-of-type(2) > span {
  1781. margin: 0 5px;
  1782. }
  1783. .dt_m_b_r_tl_boxList {
  1784. width: 100%;
  1785. height: calc(100% - 60px - 80px - 20px);
  1786. margin: 10px 0;
  1787. box-sizing: border-box;
  1788. }
  1789. .dt_m_b_r_tl_boxList > span {
  1790. width: 35px;
  1791. height: 35px;
  1792. display: flex;
  1793. justify-content: center;
  1794. align-items: center;
  1795. margin-right: 5px;
  1796. background-color: #fff;
  1797. border-radius: 8px;
  1798. border: solid 2px #e7e7e7;
  1799. float: left;
  1800. margin: 0 6px;
  1801. margin-bottom: 10px;
  1802. cursor: pointer;
  1803. font-size: 18px;
  1804. /* font-weight: bold; */
  1805. }
  1806. .dt_m_b_r_tl_bottom {
  1807. width: 100%;
  1808. height: 60px;
  1809. box-sizing: border-box;
  1810. border-top: solid 1px #f0f2f5;
  1811. display: flex;
  1812. justify-content: space-around;
  1813. align-items: center;
  1814. }
  1815. .dt_m_b_r_tl_bottom > div {
  1816. display: flex;
  1817. align-items: center;
  1818. justify-content: center;
  1819. font-size: 18px;
  1820. }
  1821. .dt_m_b_r_tl_bottom > div > span {
  1822. width: 25px;
  1823. height: 25px;
  1824. margin-right: 5px;
  1825. background-color: #fff;
  1826. border-radius: 8px;
  1827. border: solid 2px #e7e7e7;
  1828. }
  1829. /* .dt_m_b_r_taskList > span {
  1830. width: 47px;
  1831. height: 47px;
  1832. margin-right: 12px;
  1833. border-radius: 8px;
  1834. border: solid 2px #325395;
  1835. box-sizing: border-box;
  1836. background-color: #fff;
  1837. display: flex;
  1838. justify-content: center;
  1839. align-items: center;
  1840. float: left;
  1841. margin-bottom: 10px;
  1842. cursor: pointer;
  1843. font-size: 20px;
  1844. font-weight: bold;
  1845. transition: 0.3s;
  1846. } */
  1847. .isDoTask {
  1848. background-color: #e0eafb !important;
  1849. border-color: #aeccfe !important;
  1850. color: #3681fc !important;
  1851. }
  1852. .inDoTask {
  1853. background-color: #3681fc !important;
  1854. border-color: #0061ff !important;
  1855. color: #fff !important;
  1856. }
  1857. .dt_m_b_r_bottom {
  1858. width: 100%;
  1859. height: 60px;
  1860. margin-top: 10px;
  1861. display: flex;
  1862. justify-content: center;
  1863. align-items: center;
  1864. }
  1865. .dt_m_b_r_bottom > div {
  1866. width: 100%;
  1867. height: 100%;
  1868. display: flex;
  1869. justify-content: center;
  1870. align-items: center;
  1871. color: #3681fc;
  1872. font-size: 24px;
  1873. font-weight: bold;
  1874. border-radius: 10px;
  1875. box-sizing: border-box;
  1876. border: solid 2px #3681fc;
  1877. background-color: #fff;
  1878. cursor: pointer;
  1879. }
  1880. .dt_m_b_l_task {
  1881. width: 100%;
  1882. height: calc(100% - 170px);
  1883. overflow: auto;
  1884. box-sizing: border-box;
  1885. box-sizing: border-box;
  1886. padding: 30px 40px;
  1887. }
  1888. .dt_m_b_l_t_cl_item {
  1889. font-size: 24px;
  1890. display: flex;
  1891. width: 100%;
  1892. height: auto;
  1893. align-items: flex-start;
  1894. margin: 20px 0;
  1895. background-color: #f2f6fc;
  1896. padding: 15px 25px;
  1897. border-radius: 8px;
  1898. box-sizing: border-box;
  1899. cursor: pointer;
  1900. border: 2px solid #e7e7e7;
  1901. transition: 0.2s;
  1902. }
  1903. .dt_m_b_l_t_cl_item > div {
  1904. min-width: 20px;
  1905. min-height: 20px;
  1906. width: 20px;
  1907. height: 20px;
  1908. box-sizing: border-box;
  1909. border-radius: 100%;
  1910. margin-right: 10px;
  1911. border: solid 2px #3681fc;
  1912. cursor: pointer;
  1913. display: flex;
  1914. justify-content: center;
  1915. align-items: center;
  1916. position: relative;
  1917. top: 3px;
  1918. }
  1919. .dt_m_b_l_t_cl_item > div > span {
  1920. width: 12px;
  1921. height: 12px;
  1922. border-radius: 100%;
  1923. display: none;
  1924. background-color: #3681fc;
  1925. }
  1926. .dt_m_b_l_t_cl_itemActive > div > span {
  1927. display: flex;
  1928. }
  1929. .dt_m_b_l_t_cl_itemActive {
  1930. border-color: #3681fc;
  1931. }
  1932. .dt_m_b_l_t_cl_itemActive > span {
  1933. color: #3681fc;
  1934. }
  1935. .dt_m_b_l_t_cl_item > span {
  1936. display: flex;
  1937. align-items: flex-start;
  1938. justify-content: center;
  1939. cursor: pointer;
  1940. word-break: break-all;
  1941. float: left;
  1942. }
  1943. .dt_m_b_l_t_cl_item > span > img {
  1944. max-width: 300px;
  1945. cursor: pointer;
  1946. }
  1947. .dt_m_b_l_t_cl_item > span > span {
  1948. margin-left: 3px;
  1949. }
  1950. .dt_m_b_l_t_title {
  1951. font-size: 24px;
  1952. height: auto;
  1953. width: 100%;
  1954. }
  1955. .dt_m_b_l_t_title > span {
  1956. font-weight: bold;
  1957. margin-left: -10px;
  1958. }
  1959. .dt_m_b_l_t_choseList {
  1960. width: 100%;
  1961. height: auto;
  1962. margin: 20px 0;
  1963. }
  1964. .dt_m_b_l_bottom {
  1965. width: 100%;
  1966. height: 90px;
  1967. display: flex;
  1968. align-items: center;
  1969. background-color: #f8f9fa;
  1970. border-top: 1px solid #f0f2f5;
  1971. justify-content: space-between;
  1972. padding: 16px 32px;
  1973. box-sizing: border-box;
  1974. overflow: auto;
  1975. }
  1976. .dt_m_b_l_b_seekAssist {
  1977. display: flex;
  1978. align-items: center;
  1979. justify-content: center;
  1980. cursor: pointer;
  1981. white-space: nowrap;
  1982. z-index: 3;
  1983. }
  1984. .dt_m_b_l_b_seekAssist > svg {
  1985. width: 30px;
  1986. height: 30px;
  1987. margin-right: 10px;
  1988. }
  1989. .dt_m_b_l_b_seekAssist > span {
  1990. font-size: 24px;
  1991. text-decoration: underline;
  1992. }
  1993. .dt_m_b_l_b_btnArea {
  1994. width: auto;
  1995. height: 100%;
  1996. display: flex;
  1997. align-items: center;
  1998. justify-content: center;
  1999. }
  2000. .dt_m_b_l_b_btnArea > span {
  2001. display: flex;
  2002. justify-content: center;
  2003. align-items: center;
  2004. justify-content: center;
  2005. padding: 15px 70px;
  2006. border-radius: 10px;
  2007. font-size: 20px;
  2008. cursor: pointer;
  2009. margin-left: 20px;
  2010. background-color: #fff;
  2011. white-space: nowrap;
  2012. z-index: 3;
  2013. }
  2014. .dt_m_b_l_b_ba_btnPrev {
  2015. background-color: #e0eafb !important;
  2016. color: #3681fc;
  2017. }
  2018. .dt_m_b_l_b_ba_btnNext {
  2019. background-color: #3681fc !important;
  2020. color: white;
  2021. }
  2022. .dt_isSubmit {
  2023. width: 70%;
  2024. margin: auto;
  2025. min-width: 1000px;
  2026. height: 100%;
  2027. background-color: #fff;
  2028. overflow: auto;
  2029. box-sizing: border-box;
  2030. padding: 30px 50px;
  2031. }
  2032. .dt_is_statistics {
  2033. width: 100%;
  2034. height: auto;
  2035. display: flex;
  2036. flex-direction: column;
  2037. justify-content: center;
  2038. align-items: center;
  2039. }
  2040. .dt_is_statistics > img {
  2041. width: 180px;
  2042. height: 180px;
  2043. margin-bottom: -30px;
  2044. }
  2045. .dt_is_s_star {
  2046. transform: scale(1.4, 1.4);
  2047. }
  2048. .dt_is_s_message {
  2049. width: 100%;
  2050. display: flex;
  2051. justify-content: center;
  2052. align-items: center;
  2053. margin-top: 40px;
  2054. }
  2055. .dt_is_s_message > span {
  2056. margin: 0 40px;
  2057. font-size: 24px;
  2058. }
  2059. .dt_is_s_taskList {
  2060. max-width: 70%;
  2061. width: auto;
  2062. height: auto;
  2063. margin-top: 30px;
  2064. }
  2065. .dt_is_s_taskList > span {
  2066. width: 47px;
  2067. height: 47px;
  2068. margin-right: 12px;
  2069. border-radius: 8px;
  2070. border: solid 2px #325395;
  2071. box-sizing: border-box;
  2072. background-color: #fff;
  2073. display: flex;
  2074. justify-content: center;
  2075. align-items: center;
  2076. float: left;
  2077. margin-bottom: 10px;
  2078. cursor: pointer;
  2079. font-size: 22px;
  2080. font-weight: bold;
  2081. transition: 0.3s;
  2082. }
  2083. .isDoYes {
  2084. background-color: #c8e5b3 !important;
  2085. border-color: #c8e5b3 !important;
  2086. }
  2087. .isDoNo {
  2088. background-color: #f5b7bf !important;
  2089. border-color: #f5b7bf !important;
  2090. }
  2091. .isNoDo {
  2092. background-color: #f5b7bf !important;
  2093. border-color: #f5b7bf !important;
  2094. }
  2095. .dt_is_taskList {
  2096. width: 100%;
  2097. height: auto;
  2098. }
  2099. .dt_is_tl_head {
  2100. width: 100%;
  2101. height: 50px;
  2102. display: flex;
  2103. align-items: center;
  2104. justify-content: space-between;
  2105. }
  2106. .dt_is_tl_head > span {
  2107. font-size: 24px;
  2108. font-weight: bold;
  2109. }
  2110. .dt_is_tl_head > div {
  2111. display: flex;
  2112. align-items: center;
  2113. justify-content: center;
  2114. }
  2115. .dt_is_tl_head > div > span {
  2116. font-size: 20px;
  2117. margin-right: 10px;
  2118. }
  2119. .dt_is_tl_taskBox {
  2120. width: 100%;
  2121. height: auto;
  2122. margin: 20px 0;
  2123. box-sizing: border-box;
  2124. border: solid 1px #f2f2f2;
  2125. padding: 10px;
  2126. }
  2127. .dt_is_tl_tb_item {
  2128. width: 100%;
  2129. height: auto;
  2130. padding: 20px 0 30px 0;
  2131. /* border-bottom: solid 1px black; */
  2132. }
  2133. .dt_is_tl_tb_i_title {
  2134. font-size: 24px;
  2135. }
  2136. .dt_is_tl_tb_i_choseList {
  2137. width: 100%;
  2138. height: auto;
  2139. margin-top: 20px;
  2140. display: flex;
  2141. flex-direction: column;
  2142. align-items: flex-start;
  2143. padding: 0 10px;
  2144. }
  2145. .dt_is_tl_tb_i_choseList > span {
  2146. margin-bottom: 20px;
  2147. font-size: 20px;
  2148. display: flex;
  2149. text-align: start;
  2150. cursor: default;
  2151. word-break: break-all;
  2152. float: left;
  2153. }
  2154. .dt_is_tl_tb_i_choseList > span > span {
  2155. display: flex;
  2156. align-items: flex-start;
  2157. justify-content: flex-start;
  2158. cursor: pointer;
  2159. word-break: break-all;
  2160. float: left;
  2161. }
  2162. .dt_is_tl_tb_i_choseList > span > span > img {
  2163. max-width: 60%;
  2164. }
  2165. .dt_is_tl_tb_i_answer {
  2166. font-size: 20px;
  2167. box-sizing: border-box;
  2168. padding-left: 10px;
  2169. }
  2170. .dt_is_tl_tb_i_answer > div {
  2171. margin-bottom: 10px;
  2172. }
  2173. .dt_dialogBackground {
  2174. width: 100vw;
  2175. height: 100vh;
  2176. background: linear-gradient(
  2177. 180deg,
  2178. rgba(32, 51, 80, 0) 0%,
  2179. rgba(73, 116, 182, 0.6) 100%
  2180. );
  2181. position: fixed;
  2182. top: 0;
  2183. left: 0;
  2184. }
  2185. .dt_character {
  2186. position: fixed;
  2187. bottom: 0;
  2188. left: 1%;
  2189. z-index: 1;
  2190. }
  2191. .dt_character > img {
  2192. width: 500px;
  2193. z-index: 2;
  2194. bottom: -43px;
  2195. position: absolute;
  2196. }
  2197. .dt_c_message {
  2198. width: 70vw;
  2199. min-width: 1000px;
  2200. height: 200px;
  2201. position: absolute;
  2202. left: 300px;
  2203. bottom: 20px;
  2204. background: linear-gradient(180deg, #fafcff 0%, #e7eefe 100%);
  2205. border-radius: 6px;
  2206. padding: 32px 24px 24px 24px;
  2207. box-sizing: border-box;
  2208. position: relative;
  2209. z-index: 5;
  2210. }
  2211. .dt_c_m_characterName {
  2212. padding: 10px 15px;
  2213. background-color: #3681fc;
  2214. border-radius: 6px;
  2215. color: white;
  2216. font-weight: bold;
  2217. font-size: 20px;
  2218. position: absolute;
  2219. left: -20px;
  2220. top: -20px;
  2221. }
  2222. .dt_c_m_closeIcon {
  2223. width: 25px;
  2224. height: 25px;
  2225. position: absolute;
  2226. right: 10px;
  2227. top: 10px;
  2228. }
  2229. .dt_c_m_closeIcon>svg{
  2230. width: 100%;
  2231. height: 100%;
  2232. cursor: pointer;
  2233. }
  2234. .dt_is_tl_tb_i_analyze {
  2235. font-size: 20px;
  2236. box-sizing: border-box;
  2237. margin-top: 20px;
  2238. padding-left: 10px;
  2239. }
  2240. .dt_c_m_message {
  2241. max-width: 100%;
  2242. font-size: 24px;
  2243. padding: 10px 30px;
  2244. max-height: 48%;
  2245. overflow: auto;
  2246. }
  2247. .dt_c_m_message > span {
  2248. font-weight: bold;
  2249. }
  2250. .dt_c_m_btnArea {
  2251. position: absolute;
  2252. bottom: 30px;
  2253. right: 30px;
  2254. width: 100%;
  2255. height: auto;
  2256. display: flex;
  2257. justify-content: flex-end;
  2258. align-items: center;
  2259. }
  2260. .dt_c_m_btnArea > span {
  2261. padding: 12px 30px;
  2262. border-radius: 8px;
  2263. font-size: 18px;
  2264. cursor: pointer;
  2265. margin-left: 20px;
  2266. cursor: pointer;
  2267. background-color: #fdfeff;
  2268. box-sizing: border-box;
  2269. }
  2270. .dt_c_m_btn1{
  2271. color: #00000099;
  2272. }
  2273. .dt_c_m_btn2{
  2274. background-color: #3681FC !important;
  2275. color: #fff;
  2276. padding: 12px 40px !important;
  2277. }
  2278. .titleImage{
  2279. width: 100%;
  2280. height: auto;
  2281. }
  2282. .titleImage>img{
  2283. max-width: 80%;
  2284. max-height: 400px;
  2285. }
  2286. </style>