kaoshiChengjiInfo.vue 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728
  1. <template>
  2. <view class="phone-kaoshi-page">
  3. <!-- 导航区域 -->
  4. <view class="icon-title-navBar-box">
  5. <view @click="handleBack" class="nav-bar-icon"></view>
  6. <text class="nav-bar-title">{{data.lxName}}</text>
  7. </view>
  8. <!-- 第一行 -->
  9. <view class="kaoshi-page-title">
  10. <view v-if="activeSt" class="title-types">{{dlName}}</view>
  11. <view>100分钟</view>
  12. </view>
  13. <view class="kaoshi-shiti-content">
  14. <!-- 内容区域 -->
  15. <!-- 试题区域 -->
  16. <view v-if="activeSt">
  17. <template v-if="activeSt.stTypeId == 1">
  18. <!-- 单选 -->
  19. <danxuan :question="activeSt" :key="activeSt.stId"></danxuan>
  20. </template>
  21. <template v-if="activeSt.stTypeId == 2">
  22. <!-- 多选 -->
  23. <duoxuan :question="activeSt" :key="activeSt.stId"></duoxuan>
  24. </template>
  25. <template v-if="activeSt.stTypeId == 3">
  26. <!-- 判断 -->
  27. <panduan :question="activeSt" :key="activeSt.stId"></panduan>
  28. </template>
  29. <template v-if="activeSt.stTypeId == 4">
  30. <!-- 填空 -->
  31. <tiankong :question="activeSt" :key="activeSt.stId"></tiankong>
  32. </template>
  33. <template v-if="activeSt.stTypeId == 5">
  34. <!-- 简答 -->
  35. <jianda :question="activeSt" :key="activeSt.stId"></jianda>
  36. </template>
  37. <template v-if="activeSt.stTypeId == 6">
  38. <!-- 阅读 -->
  39. <yuedu :question="activeSt" :key="activeSt.stId" @yudu-change="onYueduChange"></yuedu>
  40. </template>
  41. </view>
  42. </view>
  43. <view class="kaoshi-bottom-box">
  44. <button class="phone-green-btn bj-btn" hover-class="none" type="default" size="mini"
  45. @click="handleBiaoji">{{activeSt && activeSt.marked ? '取标':'标记'}}</button>
  46. <view @click="showAnswerCard" class="shiti-num-box">
  47. <icon class="shiti-num-icon"></icon>
  48. <text
  49. class="active-num">{{activeSt ? activeSt.onlyNum: 0}}</text>/<text>{{data.StListForSearch.length}}</text>
  50. </view>
  51. <button class="phone-white-btn jx-btn" hover-class="none" type="default" size="mini"
  52. @click="handleCheckJiexi">解析</button>
  53. </view>
  54. <template v-if="activeSt">
  55. <button type="default" size="mini" hover-class="none" class="phone-green-btn ks-btn-prev"
  56. @click="handlePrev" v-if="!isFistStId">上一题</button>
  57. <button type="default" size="mini" hover-class="none" class="phone-green-btn ks-btn-next"
  58. @click="handleNext" v-if="!isLastStId">下一题</button>
  59. <button type="default" size="mini" hover-class="none" class="phone-green-btn ks-btn-next"
  60. @click="handleBack" v-if="isLastStId">交卷</button>
  61. </template>
  62. <!-- 答题卡 -->
  63. <uni-popup ref="popupRef" background-color="#fff" :animation="false" :is-mask-click="false" :mask-click="false">
  64. <view class="answer-card-popup">
  65. <view class="icon-title-navBar-box">
  66. <view @click="handlePopupBack" class="nav-bar-icon"> </view>
  67. <text class="nav-bar-title">答题卡</text>
  68. </view>
  69. <view class="card-content-box">
  70. <view class="answer-card-content" v-for="(paragraph,paragraphIndex) in questionData"
  71. :key="paragraphIndex">
  72. <view class="paragraph-title">
  73. {{paragraph.name}}
  74. </view>
  75. <view class="paragraph-qa" v-for="(qa,qaIndex) in paragraph.qas" :key="qaIndex"
  76. :class="getQaClass(qa)" @click="answerCardItemClick(qa)">{{qa.onlyNum}}
  77. </view>
  78. </view>
  79. </view>
  80. </view>
  81. </uni-popup>
  82. <!--
  83. // 倒计时
  84. <view v-if="!!data.endSecond">
  85. <text>考试倒计时:</text>
  86. <uni-countdown :show-day="false" :second="1000" @timeup="onTimeUp" :start="startCountDown"></uni-countdown>
  87. </view>
  88. -->
  89. <!-- 答案解析 -->
  90. <scoreAndAnswerVue ref="scoreAnswerRef"></scoreAndAnswerVue>
  91. <scoreAndAnswerAdminTiankong ref="scoreAnswerTkRef"></scoreAndAnswerAdminTiankong>
  92. <scoreAndAnswerAdminJianda ref="scoreAnswerJdRef"></scoreAndAnswerAdminJianda>
  93. </view>
  94. </template>
  95. <script setup>
  96. import {
  97. ref,
  98. reactive,
  99. computed,
  100. watch
  101. } from "vue";
  102. import {
  103. onLoad
  104. } from "@dcloudio/uni-app";
  105. import * as lxApi from "@/api/lianxi.js"
  106. import danxuan from "@/components/questions/danxuan.vue";
  107. import duoxuan from "@/components/questions/duoxuan.vue";
  108. import tiankong from "@/components/questions/tiankong.vue";
  109. import panduan from "@/components/questions/panduan.vue";
  110. import jianda from "@/components/questions/jianda.vue";
  111. import yuedu from "@/components/questions/yuedu.vue";
  112. import scoreAndAnswerVue from "@/components/scoreAndAnswer/scoreAndAnswerAdmin.vue";
  113. import scoreAndAnswerAdminTiankong from "@/components/scoreAndAnswer/scoreAndAnswerAdminTiankong.vue";
  114. import scoreAndAnswerAdminJianda from "@/components/scoreAndAnswer/scoreAndAnswerJianda.vue";
  115. import {
  116. useQuestionTools
  117. } from "@/components/questions/useQuestionTools.js";
  118. const {
  119. checkDanxuanReply,
  120. checkDuoxuanReply,
  121. checkPanduanReply,
  122. checkTiankongReply,
  123. getLetterByIndex,
  124. checkJiandaReply,
  125. checkYueduReply
  126. } = useQuestionTools();
  127. const stTypes = {
  128. 1: '单选题',
  129. 2: '多选题',
  130. 3: '判断题',
  131. 4: '填空题',
  132. }
  133. const popupRef = ref(null)
  134. const scoreAnswerRef = ref(null)
  135. const scoreAnswerTkRef = ref(null)
  136. const startCountDown = ref(false);
  137. const scoreAnswerJdRef = ref(null);
  138. const data = reactive({
  139. lxId: null,
  140. lxName: '',
  141. stTotal: 0,
  142. stScore: 0,
  143. biaoji: null,
  144. endSecond: 0,
  145. pageSize: 0,
  146. toggleScreenFlag: 0,
  147. toggleScreenSecond: 0,
  148. zhuapai: 0,
  149. duanluo: [],
  150. markDB: [],
  151. StListForSearch: [],
  152. })
  153. const yuduIndexQa = ref(null);
  154. const questionData = ref([]);
  155. const progress = reactive({
  156. dlIndex: 0,
  157. dtIndex: 0
  158. })
  159. const dlName = computed(() => {
  160. if (data.StListForSearch && activeSt.value) {
  161. return data.StListForSearch[activeSt.value.onlyNum - 1].paragraphName
  162. } else {
  163. return ''
  164. }
  165. })
  166. watch(() => data.duanluo, (newVal) => {
  167. // 计算已答试题数量
  168. }, {
  169. deep: true
  170. })
  171. const activeSt = computed(() => {
  172. if (questionData.value.length) {
  173. return questionData.value.length && questionData.value[progress.dlIndex].qas[progress.dtIndex];
  174. } else {
  175. return null
  176. }
  177. })
  178. const isFistStId = computed(() => {
  179. if (data.StListForSearch.length) {
  180. return data.StListForSearch[0].stId == activeSt.value.stId
  181. } else {
  182. return false
  183. }
  184. });
  185. const isLastStId = computed(() => {
  186. if (data.StListForSearch.length) {
  187. return data.StListForSearch[data.StListForSearch.length - 1].stId == activeSt.value.stId
  188. } else {
  189. return false
  190. }
  191. });
  192. onLoad((option) => {
  193. // data.lxId = option.lxId;
  194. data.lxId =6;
  195. initKaoshi();
  196. })
  197. function getQaClass(qa) {
  198. if (qa.marked && qa.marked === true) {
  199. return 'paragraph-qa-block-mark';
  200. } else {
  201. if (qa.stTypeId == 1) {
  202. if (checkDanxuanReply(qa)) {
  203. return 'paragraph-qa-block-done';
  204. } else {
  205. return 'paragraph-qa-block-init';
  206. }
  207. } else if (qa.stTypeId == 2) {
  208. if (checkDuoxuanReply(qa)) {
  209. return 'paragraph-qa-block-done';
  210. } else {
  211. return 'paragraph-qa-block-init';
  212. }
  213. } else if (qa.stTypeId == 3) {
  214. if (checkPanduanReply(qa)) {
  215. return 'paragraph-qa-block-done';
  216. } else {
  217. return 'paragraph-qa-block-init';
  218. }
  219. } else if (qa.stTypeId == 4) {
  220. if (checkTiankongReply(qa)) {
  221. return 'paragraph-qa-block-done';
  222. } else {
  223. return 'paragraph-qa-block-init';
  224. }
  225. } else if (qa.stTypeId == 5) {
  226. if (checkJiandaReply(qa)) {
  227. return 'paragraph-qa-block-done';
  228. } else {
  229. return 'paragraph-qa-block-init';
  230. }
  231. } else if (qa.stTypeId == 6) {
  232. if (checkYueduReply(qa)) {
  233. return 'paragraph-qa-block-done';
  234. } else {
  235. return 'paragraph-qa-block-init';
  236. }
  237. }
  238. }
  239. }
  240. function skipQuestion(dlIndex, dtIndex) {
  241. progress.dlIndex = dlIndex;
  242. progress.dtIndex = dtIndex;
  243. handlePopupBack()
  244. // 切换试题时清空阅读提解析
  245. yuduIndexQa.value = null;
  246. }
  247. function answerCardItemClick(qa) {
  248. const actQa = data.StListForSearch.find(item => item.stId == qa.stId);
  249. skipQuestion(actQa.dlIndex, actQa.dtIndex)
  250. }
  251. function handleBack() {
  252. uni.redirectTo({
  253. url: "/pages/admin/Lianxi/list"
  254. })
  255. }
  256. function onTimeUp() {
  257. console.log('end')
  258. }
  259. function showAnswerCard() {
  260. popupRef.value.open('top')
  261. }
  262. function handlePopupBack() {
  263. popupRef.value.close()
  264. }
  265. function handlePrev() {
  266. const qa = data.StListForSearch.find(item => item.stId == activeSt.value.stId);
  267. const index = qa.num - 1;
  268. if (index > 0) {
  269. const result = data.StListForSearch[index - 1];
  270. progress.dlIndex = result.dlIndex;
  271. progress.dtIndex = result.dtIndex
  272. }
  273. // 切换试题时清空阅读提解析
  274. yuduIndexQa.value = null;
  275. }
  276. function handleNext() {
  277. const qa = data.StListForSearch.find(item => item.stId == activeSt.value.stId);
  278. const index = qa.num - 1;
  279. if (index < data.StListForSearch.length) {
  280. const result = data.StListForSearch[index + 1];
  281. progress.dlIndex = result.dlIndex;
  282. progress.dtIndex = result.dtIndex
  283. }
  284. // 切换试题时清空阅读提解析
  285. yuduIndexQa.value = null
  286. }
  287. function formatDuanluoList(dlData) {
  288. let uIndex = 0; // 试题num
  289. let iDuanluo = 0; // 段落num
  290. let result = [];
  291. for (const duanluo of data.duanluo) {
  292. let paragraph = {
  293. qas: [],
  294. };
  295. paragraph.name = duanluo.name;
  296. let iQa = 0; // 当前试题序号
  297. let order = 0; // 当前题型中第几题
  298. for (const iDanxuan of duanluo.danxuan) {
  299. iDanxuan.type = 'danxuan';
  300. iDanxuan.marked = false;
  301. iDanxuan.onlyNum = uIndex + 1;
  302. iDanxuan.order = order;
  303. iDanxuan.iQa = iQa;
  304. iDanxuan.reply = iDanxuan.result;
  305. paragraph.qas.push(iDanxuan);
  306. uIndex++;
  307. order++;
  308. iQa++;
  309. data.StListForSearch.push({
  310. stId: iDanxuan.stId,
  311. paragraphName: paragraph.name,
  312. dlIndex: iDuanluo,
  313. dtIndex: iDanxuan.iQa,
  314. num: iDanxuan.onlyNum
  315. })
  316. }
  317. order = 0;
  318. for (const iDuoxuan of duanluo.duoxuan) {
  319. iDuoxuan.type = 'duoxuan';
  320. iDuoxuan.marked = false;
  321. iDuoxuan.onlyNum = uIndex + 1;
  322. iDuoxuan.order = order;
  323. paragraph.qas.push(iDuoxuan);
  324. iDuoxuan.reply = iDuoxuan.result;
  325. iDuoxuan.iQa = iQa;
  326. uIndex++;
  327. order++;
  328. iQa++;
  329. data.StListForSearch.push({
  330. stId: iDuoxuan.stId,
  331. paragraphName: paragraph.name,
  332. dlIndex: iDuanluo,
  333. dtIndex: iDuoxuan.iQa,
  334. num: iDuoxuan.onlyNum
  335. })
  336. }
  337. order = 0;
  338. for (const iPanduan of duanluo.panduan) {
  339. iPanduan.type = 'panduan';
  340. iPanduan.marked = false;
  341. iPanduan.onlyNum = uIndex + 1;
  342. iPanduan.order = order;
  343. paragraph.qas.push(iPanduan);
  344. iPanduan.reply = iPanduan.result;
  345. iPanduan.iQa = iQa;
  346. uIndex++;
  347. order++;
  348. iQa++;
  349. data.StListForSearch.push({
  350. stId: iPanduan.stId,
  351. paragraphName: paragraph.name,
  352. dlIndex: iDuanluo,
  353. dtIndex: iPanduan.iQa,
  354. num: iPanduan.onlyNum
  355. })
  356. }
  357. order = 0;
  358. for (const iTiankong of duanluo.tiankong) {
  359. iTiankong.type = 'tiankong';
  360. iTiankong.marked = false;
  361. iTiankong.onlyNum = uIndex + 1;
  362. iTiankong.order = order;
  363. paragraph.qas.push(iTiankong);
  364. iTiankong.reply = iTiankong.result.map(item => item[0]);
  365. iTiankong.iQa = iQa;
  366. uIndex++;
  367. order++;
  368. iQa++;
  369. data.StListForSearch.push({
  370. stId: iTiankong.stId,
  371. paragraphName: paragraph.name,
  372. dlIndex: iDuanluo,
  373. dtIndex: iTiankong.iQa,
  374. num: iTiankong.onlyNum
  375. })
  376. }
  377. order = 0;
  378. for (const iJianda of duanluo.jianda) {
  379. iJianda.marked = false;
  380. iJianda.type = 'jianda';
  381. iJianda.onlyNum = uIndex + 1;
  382. iJianda.order = order;
  383. iJianda.iQa = iQa;
  384. paragraph.qas.push(iJianda);
  385. iJianda.reply = '';
  386. uIndex++;
  387. order++;
  388. iQa++;
  389. data.StListForSearch.push({
  390. stId: iJianda.stId,
  391. paragraphName: paragraph.name,
  392. dlIndex: iDuanluo,
  393. dtIndex: iJianda.iQa,
  394. num: iJianda.onlyNum
  395. })
  396. }
  397. order = 0;
  398. for (const iYuedu of duanluo.yuedu) {
  399. iYuedu.marked = false;
  400. iYuedu.type = 'yuedu';
  401. iYuedu.onlyNum = uIndex + 1;
  402. iYuedu.order = order;
  403. iYuedu.iQa = iQa;
  404. if (iYuedu.duoxuan && iYuedu.duoxuan.length) {
  405. iYuedu.duoxuan.map((qIt) => {
  406. qIt.reply = qIt.reply || [];
  407. return qIt
  408. })
  409. }
  410. if (iYuedu.tiankong && iYuedu.tiankong.length) {
  411. iYuedu.tiankong.map((qIt) => {
  412. qIt.reply = new Array(qIt.count).fill('');
  413. return qIt;
  414. });
  415. }
  416. paragraph.qas.push(iYuedu);
  417. iYuedu.reply = [];
  418. uIndex++;
  419. order++;
  420. iQa++;
  421. data.StListForSearch.push({
  422. stId: iYuedu.stId,
  423. paragraphName: paragraph.name,
  424. dlIndex: iDuanluo,
  425. dtIndex: iYuedu.iQa,
  426. num: iYuedu.onlyNum
  427. })
  428. }
  429. iDuanluo++;
  430. questionData.value.push(paragraph)
  431. console.log(questionData.value)
  432. }
  433. }
  434. function handleBiaoji() {
  435. activeSt.value.marked = !activeSt.value.marked;
  436. }
  437. // 切换阅读小题时更新当前试题解析
  438. function onYueduChange(qa) {
  439. yuduIndexQa.value = qa;
  440. }
  441. // 校验阅读解析
  442. function checkYueduJiexi() {
  443. let qa = yuduIndexQa.value;
  444. let score = qa.userScore;
  445. let reply = '';
  446. let result = '';
  447. let answer = qa.answer;
  448. if (qa.stTypeId == 1) {
  449. // 单选题
  450. if (qa.reply && qa.reply.trim() !== '') {
  451. reply = getLetterByIndex(qa.reply)
  452. } else {
  453. reply = '未答'
  454. }
  455. if (qa.result) {
  456. result = getLetterByIndex(qa.result)
  457. } else {
  458. result = '无答案'
  459. }
  460. scoreAnswerRef.value.showPopup({
  461. score,
  462. reply,
  463. result,
  464. answer
  465. })
  466. }
  467. if (qa.stTypeId == 2) {
  468. // 多选题
  469. if (qa.reply && qa.reply.length) {
  470. reply = qa.reply.map(item => {
  471. if (item.trim()) {
  472. return getLetterByIndex(item.trim())
  473. }
  474. }).join(',')
  475. } else {
  476. reply = '未答'
  477. }
  478. if (qa.result) {
  479. result = qa.result.map(item => {
  480. if (item.trim()) {
  481. return getLetterByIndex(item.trim())
  482. }
  483. }).join(',')
  484. } else {
  485. result = '无答案'
  486. }
  487. scoreAnswerRef.value.showPopup({
  488. score,
  489. reply,
  490. result,
  491. answer
  492. })
  493. }
  494. if (qa.stTypeId == 3) {
  495. // 判断题
  496. if (qa.reply === '') {
  497. reply = '未答'
  498. } else if (qa.reply == 0) {
  499. reply = '错误'
  500. } else if (qa.reply == 1) {
  501. reply = '正确'
  502. }
  503. if (qa.result == 0) {
  504. result = '错误'
  505. } else if (qa.result == 1) {
  506. result = '正确'
  507. }
  508. scoreAnswerRef.value.showPopup({
  509. score,
  510. reply,
  511. result,
  512. answer
  513. })
  514. }
  515. if (qa.stTypeId == 4) {
  516. let reply = qa.reply || [];
  517. let result = qa.result || [];
  518. // 填空题
  519. scoreAnswerTkRef.value.showPopup({
  520. score,
  521. reply,
  522. result,
  523. answer
  524. })
  525. }
  526. if (qa.stTypeId == 5) {
  527. // 简单题
  528. let reply = qa.reply ? '未答' : qa.reply;
  529. let result = qa.result;
  530. scoreAnswerJdRef.value.showPopup({
  531. score,
  532. reply,
  533. result,
  534. answer
  535. })
  536. }
  537. }
  538. // 获取解析
  539. function handleCheckJiexi() {
  540. const qa = activeSt.value;
  541. let score = qa.userScore;
  542. let reply = '';
  543. let result = '';
  544. let answer = qa.answer;
  545. if (qa.stTypeId == 1) {
  546. // 单选题
  547. if (qa.reply && qa.reply.trim() !== '') {
  548. reply = getLetterByIndex(qa.reply)
  549. } else {
  550. reply = '未答'
  551. }
  552. if (qa.result) {
  553. result = getLetterByIndex(qa.result)
  554. } else {
  555. result = '无答案'
  556. }
  557. scoreAnswerRef.value.showPopup({
  558. score,
  559. reply,
  560. result,
  561. answer
  562. })
  563. }
  564. if (qa.stTypeId == 2) {
  565. // 多选题
  566. if (qa.reply && qa.reply.length) {
  567. reply = qa.reply.map(item => {
  568. if (item.trim()) {
  569. return getLetterByIndex(item.trim())
  570. }
  571. }).join(',')
  572. } else {
  573. reply = '未答'
  574. }
  575. if (qa.result) {
  576. result = qa.result.map(item => {
  577. if (item.trim()) {
  578. return getLetterByIndex(item.trim())
  579. }
  580. }).join(',')
  581. } else {
  582. result = '无答案'
  583. }
  584. scoreAnswerRef.value.showPopup({
  585. score,
  586. reply,
  587. result,
  588. answer
  589. })
  590. }
  591. if (qa.stTypeId == 3) {
  592. // 判断题
  593. if (qa.reply === '') {
  594. reply = '未答'
  595. } else if (qa.reply == 0) {
  596. reply = '错误'
  597. } else if (qa.reply == 1) {
  598. reply = '正确'
  599. }
  600. if (qa.result == 0) {
  601. result = '错误'
  602. } else if (qa.result == 1) {
  603. result = '正确'
  604. }
  605. scoreAnswerRef.value.showPopup({
  606. score,
  607. reply,
  608. result,
  609. answer
  610. })
  611. }
  612. if (qa.stTypeId == 4) {
  613. let reply = qa.reply || [];
  614. let result = qa.result || [];
  615. // 填空题
  616. scoreAnswerTkRef.value.showPopup({
  617. score,
  618. reply,
  619. result,
  620. answer
  621. })
  622. }
  623. if (qa.stTypeId == 5) {
  624. // 简单题
  625. let reply = qa.reply;
  626. let result = qa.result;
  627. scoreAnswerJdRef.value.showPopup({
  628. score,
  629. reply,
  630. result,
  631. answer
  632. })
  633. }
  634. if (qa.stTypeId == 6) {
  635. // 简单题
  636. checkYueduJiexi()
  637. }
  638. }
  639. function initKaoshi() {
  640. lxApi.getLianxiInfo({
  641. lxId: data.lxId
  642. }).then(res => {
  643. const {
  644. lxId,
  645. lxName,
  646. stTotal,
  647. stScore,
  648. biaoji,
  649. endSecond,
  650. pageSize,
  651. toggleScreenFlag,
  652. toggleScreenSecond,
  653. zhuapai,
  654. duanluoList
  655. } = res.data;
  656. data.lxId = lxId;
  657. data.lxName = lxName;
  658. data.stTotal = stTotal;
  659. data.stScore = stScore;
  660. data.biaoji = biaoji;
  661. data.endSecond = endSecond;
  662. data.pageSize = pageSize;
  663. data.toggleScreenFlag = toggleScreenFlag;
  664. data.toggleScreenSecond = toggleScreenSecond;
  665. data.zhuapai = zhuapai;
  666. data.duanluo = duanluoList;
  667. formatDuanluoList(data.duanluo);
  668. startCountDown.value = true;
  669. uni.setNavigationBarTitle({
  670. title: data.lxName
  671. });
  672. })
  673. }
  674. </script>