You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
58 KiB
1 lines
58 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:////Users/wanghousheng/www/question-bank/pages/exercises/index.vue?8ab4","webpack:////Users/wanghousheng/www/question-bank/pages/exercises/index.vue?6249","webpack:////Users/wanghousheng/www/question-bank/pages/exercises/index.vue?6fdb","webpack:////Users/wanghousheng/www/question-bank/pages/exercises/index.vue?3f27","uni-app:///pages/exercises/index.vue","webpack:////Users/wanghousheng/www/question-bank/pages/exercises/index.vue?6a5e","webpack:////Users/wanghousheng/www/question-bank/pages/exercises/index.vue?18d0"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","playType","isShowCard","start_time","answer","category_id","teamIndex","successNum","errorNum","type","count","list","resultList","questionList","fontSize","fontSize1","fontWeight","info","question_info","timeData","log_id","page","innerAudioContext","isPlay","current_question_id","next_question_id","current_question_choice","safeBottom","correctArr","errorArr","onLoad","uni","safeAreaInsets","useWebAudioImplement","methods","updateFont","openPage","title","content","confirmText","cancelText","confirmColor","success","that","delta","onChange","seconds","showCancel","toPlayAudio","console","toSelect","a","toSumbit","arr","code","msg","setTimeout","url","getZhengTiList","is_error","errArr","icon","getShunxiTiList","getMoniList","getInfo","params","foundItem","item","showCardClick","onUnload","destroyed"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,cAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAA8H;AAC9H;AACyD;AACL;AACsC;;;AAG1F;AAC6M;AAC7M,gBAAgB,iNAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,4FAAM;AACR,EAAE,qGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,gGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,qUAEN;AACP,KAAK;AACL;AACA,aAAa,mTAEN;AACP,KAAK;AACL;AACA,aAAa,uSAEN;AACP,KAAK;AACL;AACA,aAAa,6SAEN;AACP,KAAK;AACL;AACA,aAAa,uSAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtIA;AAAA;AAAA;AAAA;AAAozB,CAAgB,myBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eCmIx0B;EACAC;IACA;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MAAA;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;QACAC;MACA;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MAAA;MACAC;MAAA;MACAC;MAAA;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACA,4BAEAC;MADAC;IAEA;IACA;IACA;MACAC;IACA;;IACA;IACA;MACA;IACA;MACA;IACA;MACA;IACA;EACA;EAEAC;IACAC;MACA;QACA;MACA;QACA;MACA;QACA;MACA;IACA;IACAC;MACA;MACA;QACA;UACAL;YACAM;YACAC;YACAC;YACAC;YACAC;YACAC;cACA;gBACAX;kBACAM;kBACAC;kBACAC;kBACAC;kBACAC;kBACAC;oBACA;sBACAC;oBACA;kBACA;gBACA;cACA;YACA;UACA;QACA;UACAZ;YACAM;YACAC;YACAC;YACAC;YACAC;YACAC;cACA;gBACAX;kBACAM;kBACAC;kBACAC;kBACAC;kBACAC;kBACAC;oBACA;sBACAC;oBACA;kBACA;gBACA;cACA;YACA;UACA;QACA;MACA;QACAZ;UACAa;QACA;MACA;IAEA;IACAC;MACA;MACA,gGACAC;QACAf;UACAM;UACAC;UACAS;UACAN;UACAC;YACA;cACAX;gBACAa;cACA;YACA;UACA;QACA;MACA;IACA;IACA;IACAI;MAAA;MACAC;MACA;QACA;UACA;UACA;UACA;QACA;UACA;QACA;QACA;MACA;QACA;QACA;MACA;MACA;QACAA;MACA;MACA;QACA;MACA;IACA;IACA;IACAC;MACA;QACA;MACA;MACA;MACA;QACAC;MACA;MACA;MACA;QACA;QACA;QACA;QACA;MACA;QACA;QACA;QACA;QACA;MACA;MACA;MACA;IACA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBACAT;gBACAU;gBAAA;gBAAA,OAKA;kBACAjC;gBACA;cAAA;gBAAA;gBALAkC;gBACAtD;gBACAuD;gBAIA;kBACAxB;oBACAM;kBACA;kBACAmB;oBACAzB;oBACAA;sBACA0B,uEACAzD,uDACA,oEACA;oBACA;kBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACA;IACA0D;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OAMA;kBACAC;kBACAtD;kBACAgB;gBACA;cAAA;gBAAA;gBAPAiC;gBACAtD;gBACAuD;gBAMA;kBACA;kBACA,6BACA;kBACA;kBACA;kBACA;kBACA;kBACA;oBACAK;sBAAA;oBAAA;oBACAhC;sBAAA;oBAAA;oBACA;sBACA;wBAAA;sBAAA;oBACA;oBACA;sBACA;wBAAA;sBAAA;oBACA;kBACA;kBACA;oBACA;sBACA;sBACA;oBACA;sBACA;sBACA;wBACA5B;0BACA;4BACA;0BACA;wBACA;sBACA;oBAEA;oBACA;kBACA;gBAEA;kBACA+B;oBACA8B;oBACAxB;kBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACA;IACAyB;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBACAnB;gBAAA;gBAAA,OAKA;kBACAtC;kBACAgB;gBACA;cAAA;gBAAA;gBANAiC;gBACAtD;gBACAuD;gBAKA;kBACA;kBACA,6BACA;kBACA;kBACA;kBACA;kBACA;oBACA;sBACAZ;sBACA;oBACA;sBACA;sBACA;wBACA3C;0BACA;4BACA2C;0BACA;wBACA;sBACA;oBACA;oBACA;kBACA;gBAEA;kBACAZ;oBACA8B;oBACAxB;kBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACA;IACA0B;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBACApB;gBAAA;gBAAA,OAKA;kBACAtC;kBACAgB;gBACA;cAAA;gBAAA;gBANAiC;gBACAtD;gBACAuD;gBAKA;kBACA;kBACA;kBACA;kBACA;kBACA;kBACA;kBACA;kBACA;oBACAK;sBAAA;oBAAA;oBACAhC;sBAAA;oBAAA;oBACA;sBACAe;wBAAA;sBAAA;oBACA;oBACA;sBACAA;wBAAA;sBAAA;oBACA;kBACA;kBACA;oBACA;sBACAA;sBACA;oBACA;sBACA;sBACA;wBACA3C;0BACA;4BACA2C;0BACA;wBACA;sBACA;oBACA;oBAEA;kBACA;gBAEA;kBACAZ;oBACA8B;oBACAxB;kBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACA;IACA2B;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBACArB;gBAAA,MACAlC;kBAAA;kBAAA;gBAAA;gBAAA,IACAkC;kBAAA;kBAAA;gBAAA;gBACAZ;kBACA8B;kBACAxB;gBACA;gBAAA;cAAA;gBAAA,MAGAM;kBAAA;kBAAA;gBAAA;gBAAA;cAAA;gBACA;;gBAEAA;gBACAA;gBACAA;gBACAA;gBACAA;gBAAA;gBAAA;cAAA;gBAAA,MACAlC;kBAAA;kBAAA;gBAAA;gBAAA,MAEAkC;kBAAA;kBAAA;gBAAA;gBAAA;cAAA;gBACAA;gBACAA;gBACAA;gBACAA;gBAAA;gBAAA;cAAA;gBAAA,MACAlC;kBAAA;kBAAA;gBAAA;gBACA;gBACAkC;gBACAA;gBAAA;gBAAA;cAAA;gBAAA,MACAlC;kBAAA;kBAAA;gBAAA;gBAAA,KAEAkC;kBAAA;kBAAA;gBAAA;gBACAA;gBACAA;gBACAA;gBACAA;gBACAA;gBAAA;gBAAA;cAAA;gBAEA;gBAAA;cAAA;gBAIAZ;kBACAM;gBACA;gBACA4B;kBACAxC;gBACA;kBACAA;kBACAD;kBACAE;kBACAiC;kBACAvC;gBACA;gBAAA;gBAAA,OAKA;cAAA;gBAAA;gBAHAkC;gBACAtD;gBACAuD;gBAAA,MAEAD;kBAAA;kBAAA;gBAAA;gBACAvB;gBAAA,MACAtB;kBAAA;kBAAA;gBAAA;gBACA;gBAAA;cAAA;gBAEA;kBACA;kBACAyD;oBAAA;kBAAA;kBACA;oBACAb;oBACAA;oBACAA;oBACA;sBACAA;wBACAF;wBACAA;sBACA;oBACA;oBACA1C;oBACAA;oBACAkC;oBACAA;kBACA;oBACA;oBACA;sBACA;wBACAwB;wBACAA;sBACA;oBACA;oBACAd;oBACAA;oBACAA;oBACA;sBACAA;wBACAF;wBACAA;sBACA;oBACA;oBACAR;oBACAA;oBACAA;kBACA;gBAEA;cAAA;gBAAA;gBAAA;cAAA;gBAEAZ;gBACAA;kBACA8B;kBACAxB;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IAEA;IACA+B;MACA;QACA;MACA;IACA;EACA;EACAC;IACA;IACA;IACA;EACA;EACAC;IACA;IACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;AClnBA;AAAA;AAAA;AAAA;AAA+hD,CAAgB,07CAAG,EAAC,C;;;;;;;;;;;ACAnjD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/exercises/index.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/exercises/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=6c4b90f5&scoped=true&\"\nvar renderjs\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=6c4b90f5&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6c4b90f5\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/exercises/index.vue\"\nexport default component.exports","export * from \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=6c4b90f5&scoped=true&\"","var components\ntry {\n components = {\n uCountDown: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-count-down/u-count-down\" */ \"@/uni_modules/uview-ui/components/u-count-down/u-count-down.vue\"\n )\n },\n uDivider: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-divider/u-divider\" */ \"@/uni_modules/uview-ui/components/u-divider/u-divider.vue\"\n )\n },\n uEmpty: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-empty/u-empty\" */ \"@/uni_modules/uview-ui/components/u-empty/u-empty.vue\"\n )\n },\n uButton: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-button/u-button\" */ \"@/uni_modules/uview-ui/components/u-button/u-button.vue\"\n )\n },\n uPopup: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-popup/u-popup\" */ \"@/uni_modules/uview-ui/components/u-popup/u-popup.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var m0 =\n _vm.info.question_info.title && _vm.type != 1\n ? _vm.staticUrl(\"/static/icon-clock.png\")\n : null\n var l0 = _vm.info.question_info.title\n ? _vm.__map(_vm.info.question_info.choice, function (a, index) {\n var $orig = _vm.__get_orig(a)\n var m1 = a.isSelect\n ? _vm.staticUrl(\"/static/icon-study-right.png\")\n : null\n var m2 =\n !a.isSelect && a.isErrow\n ? _vm.staticUrl(\"/static/icon-study-wrong.png\")\n : null\n var m3 =\n !a.isSelect &&\n _vm.current_question_choice &&\n _vm.info.question_info.correct == a.name\n ? _vm.staticUrl(\"/static/icon-study-right.png\")\n : null\n return {\n $orig: $orig,\n m1: m1,\n m2: m2,\n m3: m3,\n }\n })\n : null\n var g0 = _vm.info.question_info.length == 0 && _vm.count >= 0\n var m4 = _vm.info.question_info.title\n ? _vm.staticUrl(\"/static/icon-study-yes.png\")\n : null\n var m5 = _vm.info.question_info.title\n ? _vm.staticUrl(\"/static/icon-study-no.png\")\n : null\n var m6 =\n _vm.info.question_info.title &&\n _vm.info.question_info.speech &&\n _vm.isPlay == false\n ? _vm.staticUrl(\"/static/icon-listen.png\")\n : null\n var m7 =\n _vm.info.question_info.title &&\n _vm.info.question_info.speech &&\n !(_vm.isPlay == false)\n ? _vm.staticUrl(\"/static/icon-listen-on.png\")\n : null\n var m8 = _vm.staticUrl(\"/static/icon-study-yes.png\")\n var m9 = _vm.staticUrl(\"/static/icon-study-no.png\")\n var l1 = _vm.__map(_vm.list, function (item, index) {\n var $orig = _vm.__get_orig(item)\n var g1 = _vm.correctArr.indexOf(item)\n var g2 = _vm.errorArr.indexOf(item)\n return {\n $orig: $orig,\n g1: g1,\n g2: g2,\n }\n })\n if (!_vm._isMounted) {\n _vm.e0 = function ($event) {\n _vm.isShowCard = false\n }\n }\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n m0: m0,\n l0: l0,\n g0: g0,\n m4: m4,\n m5: m5,\n m6: m6,\n m7: m7,\n m8: m8,\n m9: m9,\n l1: l1,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","<template>\r\n <view class=\"erercises-detail\">\r\n <view class=\"erercises-detail-section\" v-if=\"info.question_info.title\">\r\n <view class=\"li\">\r\n <view class=\"top\">\r\n <view class=\"tag\">\r\n <text>{{teamIndex}}/{{count}}</text>\r\n </view>\r\n\r\n <view class=\"time\" v-if=\"type != 1\">\r\n <image :src=\"staticUrl('/static/icon-clock.png')\"></image>\r\n <u-count-down :time=\"start_time\" format=\"HH:mm:ss\" autoStart @change=\"onChange\">\r\n <view class=\"time\">\r\n <view class=\"time__custom\">\r\n <text\r\n class=\"time__custom__item\">{{timeData.hours>10?timeData.hours:'0'+(timeData.hours?timeData.hours:0)}}</text>\r\n </view>\r\n <text class=\"time__doc\">:</text>\r\n <view class=\"time__custom\">\r\n <text\r\n class=\"time__custom__item\">{{timeData.minutes>10?timeData.minutes:'0'+(timeData.minutes?timeData.minutes:0)}}</text>\r\n </view>\r\n <text class=\"time__doc\">:</text>\r\n <view class=\"time__custom\">\r\n <text\r\n class=\"time__custom__item\">{{timeData.seconds>10?timeData.seconds:'0'+(timeData.seconds?timeData.seconds:0)}}</text>\r\n </view>\r\n </view>\r\n </u-count-down>\r\n </view>\r\n </view>\r\n <view class=\"tit\" :style=\"{'fontSize': fontSize+'rpx', 'fontWeight': fontWeight?'normal':'bold'}\">\r\n {{teamIndex}}、<view class=\"content\" v-html=\"info.question_info.title\"></view>\r\n </view>\r\n <view class=\"title_img\" v-if=\"info.question_info.title_img\">\r\n <image mode=\"widthFix\" :src=\"info.question_info.title_img\"></image>\r\n </view>\r\n <view class=\"title_video\" v-if=\"info.question_info.title_video\">\r\n <video :src=\"info.question_info.title_video\"></video>\r\n </view>\r\n <view class=\"con\" v-for=\"(a,index) in info.question_info.choice\" :key=\"index\"\r\n :class=\"a.isSelect?'right':a.isErrow?'wrong':''\" :style=\"{'fontSize': fontSize+'rpx'}\"\r\n @click=\"toSelect(index)\">\r\n {{a.name}}.{{a.value}}\r\n <view class=\"mark\">\r\n <image v-if=\"a.isSelect\" :src=\"staticUrl('/static/icon-study-right.png')\"></image>\r\n <template v-else>\r\n <image v-if=\"a.isErrow\" :src=\"staticUrl('/static/icon-study-wrong.png')\"></image>\r\n <image v-if=\"current_question_choice && info.question_info.correct == a.name\"\r\n :src=\"staticUrl('/static/icon-study-right.png')\"></image>\r\n </template>\r\n </view>\r\n </view>\r\n </view>\r\n <view class=\"btns\">\r\n <view class=\"btn\" @click=\"getInfo(0)\" v-if=\"type == 0 || type == 2\">上一题</view>\r\n <view class=\"btn\" @click=\"updateFont(1)\">放大</view>\r\n <view class=\"btn\" @click=\"updateFont(2)\">缩小</view>\r\n <view class=\"btn\" @click=\"updateFont(3)\">{{fontWeight?'加粗':'恢复'}}</view>\r\n <view class=\"btn\" @click=\"getInfo(1)\">下一题</view>\r\n </view>\r\n <view class=\"analysis\" v-if=\"current_question_choice\">\r\n <view class=\"answer\">\r\n 答案: <text>{{info.question_info.correct}}</text>\r\n </view>\r\n <view class=\"line\">\r\n <u-divider text=\"答案解析\" textSize=\"14\" textColor=\"#3e3e3e\"></u-divider>\r\n </view>\r\n <view class=\"msg\" :style=\"{'fontSize': fontSize1+'rpx'}\" v-html=\"info.question_info.prompt\"></view>\r\n </view>\r\n </view>\r\n <view class=\"erercises-detail-section\" v-if=\"info.question_info.length == 0 && count >= 0\">\r\n <view class=\"empty\" style=\"margin-top: 200rpx;\" v-if=\"count == 0\">\r\n <u-empty mode=\"data\" text=\"暂无相关信息\">\r\n </u-empty>\r\n </view>\r\n <template v-else>\r\n <view class=\"empty\" style=\"margin-top: 200rpx; margin-bottom: 100rpx;\">\r\n <u-empty mode=\"data\" text=\"当前真题全部答完\">\r\n </u-empty>\r\n </view>\r\n <u-button color=\"#2080F9\" @click=\"openPage(8)\">返回上一页</u-button>\r\n </template>\r\n </view>\r\n <view class=\"erercises-detail-bottom\" v-if=\"info.question_info.title\"\r\n :style=\"{ 'padding-bottom': safeBottom + 'px' }\">\r\n <view class=\"check\" @click=\"showCardClick\">\r\n <view class=\"a\">\r\n <image :src=\"staticUrl('/static/icon-study-yes.png')\"></image>{{successNum}}\r\n </view>\r\n <view class=\"b\">\r\n <image :src=\"staticUrl('/static/icon-study-no.png')\"></image>{{errorNum}}\r\n </view>\r\n </view>\r\n <view class=\"listen\" v-if=\"info.question_info.speech\" @click=\"toPlayAudio(info.question_info.speech)\"\r\n :class=\"{'listen-one': type == 1}\">\r\n <image v-if=\"isPlay == false\" :src=\"staticUrl('/static/icon-listen.png')\"></image>\r\n <image v-else :src=\"staticUrl('/static/icon-listen-on.png')\"></image>\r\n <text :class=\"isPlay?'on':''\">听题</text>\r\n </view>\r\n <view class=\"btns\">\r\n <template v-if=\"type != 1\">\r\n <view class=\"hand\" v-if=\"type != 1\" @click=\"openPage(2)\">\r\n 交卷\r\n </view>\r\n </template>\r\n </view>\r\n </view>\r\n <u-popup :show=\"isShowCard\" round=\"10\" @close=\"isShowCard=false\" :closeable=\"true\">\r\n <view class=\"pop-card\">\r\n <view class=\"card-title\">\r\n <text>答题卡</text>\r\n <view class=\"a\">\r\n <image :src=\"staticUrl('/static/icon-study-yes.png')\"></image>{{successNum}}\r\n </view>\r\n <view class=\"b\">\r\n <image :src=\"staticUrl('/static/icon-study-no.png')\"></image>{{errorNum}}\r\n </view>\r\n </view>\r\n <view class=\"card-content\">\r\n <view v-for=\"(item,index) in list\" class=\"item\"\r\n :class=\"{'correct':correctArr.indexOf(item) >=0,'error': errorArr.indexOf(item) >=0}\">\r\n {{index + 1}}\r\n </view>\r\n </view>\r\n </view>\r\n </u-popup>\r\n </view>\r\n</template>\r\n\r\n<script>\r\n export default {\r\n data() {\r\n return {\r\n playType: 1,\r\n isShowCard: false,\r\n start_time: 100000,\r\n answer: \"\",\r\n category_id: \"\",\r\n teamIndex: 0,\r\n successNum: 0,\r\n errorNum: 0,\r\n type: 0, //0 真题 1 真题错误题 2模拟题\r\n count: -1,\r\n list: [],\r\n resultList: [],\r\n questionList: [],\r\n fontSize: 30,\r\n fontSize1: 26,\r\n fontWeight: true,\r\n info: {\r\n question_info: []\r\n },\r\n timeData: {},\r\n log_id: 0,\r\n page: 1,\r\n innerAudioContext: null,\r\n isPlay: false,\r\n current_question_id: \"\", //当前题目ID\r\n next_question_id: \"\", //下一题ID\r\n current_question_choice: \"\", //current_question_choice\r\n safeBottom: '',\r\n correctArr: [],\r\n errorArr: []\r\n };\r\n },\r\n onLoad(o) {\r\n const {\r\n safeAreaInsets\r\n } = uni.getSystemInfoSync()\r\n this.safeBottom = safeAreaInsets?.bottom\r\n this.category_id = o.id ? o.id : ''\r\n this.innerAudioContext = uni.createInnerAudioContext({\r\n useWebAudioImplement: false // 默认关闭。对于短音频、播放频繁的音频建议开启此选项\r\n });\r\n this.type = o.type;\r\n if (this.type == 0 || this.type == 1) {\r\n this.getZhengTiList()\r\n } else if (this.type == 3) {\r\n this.getShunxiTiList();\r\n } else {\r\n this.getMoniList();\r\n }\r\n },\r\n\r\n methods: {\r\n updateFont(type) {\r\n if (type == 1) {\r\n this.fontSize < 70 ? this.fontSize++ : this.fontSize\r\n } else if (type == 2) {\r\n this.fontSize > 20 ? this.fontSize-- : this.fontSize\r\n } else if (type == 3) {\r\n this.fontWeight = !this.fontWeight\r\n }\r\n },\r\n openPage(index) {\r\n const that = this;\r\n if (index == 2) {\r\n if (that.teamIndex == that.count) {\r\n uni.showModal({\r\n title: \"交卷确认\",\r\n content: \"你确定要交卷吗?\",\r\n confirmText: \"确认\",\r\n cancelText: \"取消\",\r\n confirmColor: \"#2080F9\",\r\n success(res) {\r\n if (res.confirm) {\r\n uni.showModal({\r\n title: \"再次确认\",\r\n content: \"你确定要交卷吗?\",\r\n confirmText: \"确认\",\r\n cancelText: \"取消\",\r\n confirmColor: \"#2080F9\",\r\n success(res) {\r\n if (res.confirm) {\r\n that.getInfo(2)\r\n }\r\n }\r\n })\r\n }\r\n }\r\n })\r\n } else {\r\n uni.showModal({\r\n title: \"请确认\",\r\n content: \"你确定要交卷吗?\",\r\n confirmText: \"继续答题\",\r\n cancelText: \"确认\",\r\n confirmColor: \"#2080F9\",\r\n success(res) {\r\n if (res.cancel) {\r\n uni.showModal({\r\n title: \"再次确认\",\r\n content: \"你确定要交卷吗?\",\r\n confirmText: \"确认\",\r\n cancelText: \"取消\",\r\n confirmColor: \"#2080F9\",\r\n success(res) {\r\n if (res.confirm) {\r\n that.getInfo(3)\r\n }\r\n }\r\n })\r\n }\r\n }\r\n })\r\n }\r\n } else {\r\n uni.navigateBack({\r\n delta: 1\r\n })\r\n }\r\n\r\n },\r\n onChange(e) {\r\n this.timeData = e;\r\n if (this.count > 0 && e.days == 0 && e.hours == 0 && e.milliseconds == 0 && e.minutes == 0 && e\r\n .seconds == 0) {\r\n uni.showModal({\r\n title: \"温馨提示\",\r\n content: \"当前刷题时间已结束,请返回上一页\",\r\n showCancel: false,\r\n confirmColor: \"#2080F9\",\r\n success(res) {\r\n if (res.confirm) {\r\n uni.navigateBack({\r\n delta: 1\r\n })\r\n }\r\n }\r\n })\r\n }\r\n },\r\n //播发试题\r\n toPlayAudio(src) {\r\n console.log(src)\r\n if (this.isPlay == false) {\r\n if (this.playType == 1) {\r\n this.innerAudioContext.src = src;\r\n this.innerAudioContext.play();\r\n this.playType = 2\r\n } else {\r\n this.innerAudioContext.play();\r\n }\r\n this.isPlay = true;\r\n } else {\r\n this.isPlay = false;\r\n this.innerAudioContext.pause();\r\n }\r\n this.innerAudioContext.onPlay(() => {\r\n console.log('开始播放');\r\n });\r\n this.innerAudioContext.onEnded(() => {\r\n this.isPlay = false\r\n });\r\n },\r\n //选择答案\r\n toSelect(index) {\r\n if (this.info.question_info.isDisable == true) {\r\n return;\r\n }\r\n this.info.question_info.isDisable = true;\r\n this.info.question_info.choice.map(a => {\r\n a.isSelect = false\r\n })\r\n const questionId = this.list[this.teamIndex -1]\r\n if (this.info.question_info.choice[index].name == this.info.question_info.correct) {\r\n this.info.question_info.choice[index].isSelect = true\r\n this.info.question_info.choice[index].isErrow = false\r\n this.successNum++\r\n this.correctArr.push(questionId)\r\n } else {\r\n this.info.question_info.choice[index].isSelect = false\r\n this.info.question_info.choice[index].isErrow = true\r\n this.errorNum++\r\n this.errorArr.push(questionId)\r\n }\r\n this.info.question_info.value = this.info.question_info.choice[index]\r\n this.current_question_choice = this.info.question_info.choice[index].name\r\n },\r\n //交卷\r\n async toSumbit() {\r\n const that = this;\r\n let arr = [];\r\n const {\r\n code,\r\n data,\r\n msg\r\n } = await this.$api.realSubPaper({\r\n log_id: this.log_id\r\n })\r\n if (code == 200) {\r\n uni.showToast({\r\n title: \"提交成功\"\r\n })\r\n setTimeout(() => {\r\n uni.setStorageSync(\"shareImg1\", data.img)\r\n uni.redirectTo({\r\n url: \"/pages/exercises/complete?score=\" + data.score + \"&error_num=\" +\r\n data.error_num + \"&correct_num=\"+this.successNum +\r\n \"&use_time=\" + data.use_time + \"&type=\" + this.type + \"&logId=\" +\r\n this.log_id\r\n })\r\n }, 2000)\r\n }\r\n },\r\n //获取列表\r\n async getZhengTiList() {\r\n // const that = this;\r\n const {\r\n code,\r\n data,\r\n msg\r\n } = await this.$api.realQuestionList({\r\n is_error: this.type,\r\n category_id: this.category_id,\r\n page: this.page\r\n })\r\n if (code == 200) {\r\n this.list = data.list;\r\n this.log_id = data.log_id,\r\n this.count = data.count;\r\n this.start_time = data.start_time * 1000;\r\n this.successNum = data.correct_num ? data.correct_num : 0;\r\n this.errorNum = data.error_num ? data.error_num : 0;\r\n this.resultList = data.result\r\n if (data.result?.length > 0) {\r\n const errArr = data.result.filter(item => item.is_correct == 1)\r\n const correctArr = data.result.filter(item => item.is_correct == 2)\r\n if (errArr?.length > 0) {\r\n this.errorArr = errArr.map(errItem => errItem.id + '')\r\n }\r\n if (correctArr?.length > 0) {\r\n this.correctArr = correctArr.map(correctItem => correctItem.id + '') \r\n }\r\n }\r\n if (this.count > 0) {\r\n if (data.current_question_id == 0) {\r\n this.teamIndex = 0\r\n this.next_question_id = data.list[0];\r\n } else {\r\n this.next_question_id = data.current_question_id;\r\n if (data.list && data.list.length > 0) {\r\n data.list.map((a, idx) => {\r\n if (a == data.current_question_id) {\r\n this.teamIndex = idx\r\n }\r\n })\r\n }\r\n\r\n }\r\n this.getInfo();\r\n }\r\n\r\n } else {\r\n uni.showToast({\r\n icon: \"none\",\r\n title: msg\r\n })\r\n }\r\n },\r\n //获取列表\r\n async getShunxiTiList() {\r\n const that = this;\r\n const {\r\n code,\r\n data,\r\n msg\r\n } = await this.$api.orderQuestion({\r\n category_id: this.category_id,\r\n page: this.page\r\n })\r\n if (code == 200) {\r\n this.list = data.list;\r\n this.log_id = data.log_id,\r\n this.count = data.count;\r\n this.start_time = data.start_time * 1000;\r\n this.successNum = data.correct_num ? data.correct_num : 0;\r\n this.errorNum = data.error_num ? data.error_num : 0;\r\n if (this.count > 0) {\r\n if (data.current_question_id == 0) {\r\n that.teamIndex = 0\r\n this.next_question_id = data.list[0];\r\n } else {\r\n this.next_question_id = data.current_question_id;\r\n if (data.list && data.list.length > 0) {\r\n data.list.map((a, idx) => {\r\n if (a == data.current_question_id) {\r\n that.teamIndex = idx\r\n }\r\n })\r\n }\r\n }\r\n this.getInfo();\r\n }\r\n\r\n } else {\r\n uni.showToast({\r\n icon: \"none\",\r\n title: msg\r\n })\r\n }\r\n },\r\n //获取模拟考试题目列表\r\n async getMoniList() {\r\n const that = this;\r\n const {\r\n code,\r\n data,\r\n msg\r\n } = await this.$api.simulation({\r\n category_id: this.category_id,\r\n page: this.page\r\n })\r\n if (code == 200) {\r\n this.list = data.list;\r\n this.count = data.count;\r\n this.log_id = data.log_id\r\n this.start_time = data.start_time * 1000;\r\n this.successNum = data.correct_num ? data.correct_num : 0;\r\n this.errorNum = data.error_num ? data.error_num : 0;\r\n this.resultList = data.result\r\n if (data.result?.length > 0) {\r\n const errArr = data.result.filter(item => item.is_correct == 1)\r\n const correctArr = data.result.filter(item => item.is_correct == 2)\r\n if (errArr?.length > 0) {\r\n that.errorArr = errArr.map(errItem => errItem.id + '')\r\n }\r\n if (correctArr?.length > 0) {\r\n that.correctArr = correctArr.map(correctItem => correctItem.id + '') \r\n }\r\n }\r\n if (this.count > 0) {\r\n if (data.current_question_id == 0) {\r\n that.teamIndex = 0\r\n this.next_question_id = data.list[0];\r\n } else {\r\n this.next_question_id = data.current_question_id;\r\n if (data.list && data.list.length > 0) {\r\n data.list.map((a, idx) => {\r\n if (a == data.current_question_id) {\r\n that.teamIndex = idx\r\n }\r\n })\r\n }\r\n }\r\n\r\n this.getInfo();\r\n }\r\n\r\n } else {\r\n uni.showToast({\r\n icon: \"none\",\r\n title: msg\r\n })\r\n }\r\n },\r\n //获取详情\r\n async getInfo(type) {\r\n let that = this\r\n if (type == 1) {\r\n if (!that.current_question_choice) {\r\n uni.showToast({\r\n icon: \"none\",\r\n title: \"请选择答案!\"\r\n })\r\n return;\r\n }\r\n if (that.teamIndex >= that.count) return\r\n // 下一题 首先判断下一题是否打过,打过直接取\r\n \r\n that.current_question_id = that.teamIndex > that.count ? '' : that.list[that.teamIndex - 1];\r\n that.next_question_id = that.teamIndex > that.count ? '' : that.list[that.teamIndex];\r\n that.isPlay = false;\r\n that.playType = 1;\r\n that.innerAudioContext.pause();\r\n } else if (type == 0) {\r\n // 上一题\r\n if (that.teamIndex <= 1) return\r\n that.next_question_id = that.teamIndex>that.count?'':that.list[that.teamIndex-2];\r\n that.isPlay = false;\r\n that.playType = 1;\r\n that.innerAudioContext.pause();\r\n } else if (type == 2) {\r\n // 最后一道题\r\n that.next_question_id = 0\r\n that.current_question_id = that.list[that.list.length - 1]\r\n } else if (type == 3) {\r\n // 当前题 没有选择答案时直接提交 否则调一下下一题接口上传答案后再提交\r\n if (that.current_question_choice) {\r\n that.current_question_id = that.teamIndex > that.count ? '' : that.list[that.teamIndex - 1];\r\n that.next_question_id = that.teamIndex > that.count ? '' : that.list[that.teamIndex];\r\n that.isPlay = false;\r\n that.playType = 1;\r\n that.innerAudioContext.pause();\r\n } else {\r\n this.toSumbit();\r\n return; \r\n }\r\n }\r\n uni.showLoading({\r\n title: \"加载中\"\r\n })\r\n const params = type == 0 ? {\r\n next_question_id: this.next_question_id\r\n } : {\r\n next_question_id: this.next_question_id,\r\n current_question_id: this.current_question_id,\r\n current_question_choice: this.current_question_choice,\r\n is_error: this.type == 1 ? 1 : 0,\r\n log_id: this.log_id ? this.log_id : 0\r\n }\r\n const {\r\n code,\r\n data,\r\n msg\r\n } = await this.$api.realQuestionInfo(params)\r\n if (code == 200) {\r\n uni.hideLoading();\r\n if (type == 2 || type == 3) {\r\n this.toSumbit();\r\n return;\r\n } else if (type == 0 || type == 1 || typeof type == 'undefined') {\r\n // 上一题 下一题 先查找题答案\r\n const foundItem = that.resultList && that.resultList.find(item => item.id == that.next_question_id);\r\n if (foundItem && foundItem.your_answer) {\r\n let arr = data\r\n arr.question_info.value = {}\r\n arr.question_info.isDisable = true\r\n if (arr.question_info && arr.question_info.choice) {\r\n arr.question_info.choice.map(a => {\r\n a.isSelect = foundItem.is_correct == 2 && a.name.toLowerCase() == foundItem.your_answer\r\n a.isErrow = foundItem.is_correct == 1 && a.name.toLowerCase() == foundItem.your_answer\r\n })\r\n }\r\n type == 0 && that.teamIndex--;\r\n type != 0 && that.teamIndex++;\r\n that.current_question_choice = foundItem.your_answer\r\n that.info = arr\r\n } else {\r\n // 把用户选项放入resultList\r\n that.resultList?.length > 0 && that.resultList.forEach(item => {\r\n if(item.id == that.current_question_id) {\r\n item.your_answer = that.current_question_choice.toLowerCase()\r\n item.is_correct = data.current_question_is_correct ? 2 : 1\r\n }\r\n })\r\n let arr = data\r\n arr.question_info.value = {}\r\n arr.question_info.isDisable = false\r\n if (arr.question_info && arr.question_info.choice) {\r\n arr.question_info.choice.map(a => {\r\n a.isSelect = false\r\n a.isErrow = false\r\n })\r\n }\r\n that.teamIndex++;\r\n that.current_question_choice = \"\"\r\n that.info = arr\r\n }\r\n \r\n }\r\n } else {\r\n uni.hideLoading();\r\n uni.showToast({\r\n icon: \"none\",\r\n title: msg\r\n })\r\n }\r\n },\r\n showCardClick() {\r\n if (this.type == 0 || this.type == 2) {\r\n this.isShowCard = true\r\n }\r\n },\r\n },\r\n onUnload() {\r\n this.innerAudioContext.src = \"\"\r\n this.innerAudioContext.stop()\r\n this.innerAudioContext.destroy();\r\n },\r\n destroyed() {\r\n this.innerAudioContext.src = \"\"\r\n this.innerAudioContext.stop()\r\n this.innerAudioContext.destroy();\r\n }\r\n }\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n .pop-card {\r\n height: 600rpx;\r\n display: flex;\r\n flex-direction: column;\r\n\r\n .card-title {\r\n display: flex;\r\n padding: 30rpx;\r\n\r\n .a {\r\n display: flex;\r\n align-items: center;\r\n margin: 0 30rpx;\r\n font-size: 30rpx;\r\n color: #37C594;\r\n }\r\n\r\n .b {\r\n display: flex;\r\n align-items: center;\r\n font-size: 30rpx;\r\n color: #F01B1B;\r\n }\r\n\r\n image {\r\n width: 44rpx;\r\n height: 44rpx;\r\n margin-right: 10rpx;\r\n }\r\n }\r\n\r\n .card-content {\r\n flex: 1;\r\n display: flex;\r\n flex-wrap: wrap;\r\n overflow-y: auto;\r\n\r\n .item {\r\n margin: 20rpx;\r\n width: 80rpx;\r\n height: 80rpx;\r\n text-align: center;\r\n line-height: 80rpx;\r\n border: 1px solid rgba(0, 0, 0, 0.2);\r\n color: rgba(0, 0, 0, 0.6);\r\n border-radius: 50%;\r\n\r\n &.correct {\r\n color: #49c99c;\r\n background-color: #f3f8f6;\r\n border: 1px solid transparent;\r\n }\r\n\r\n &.error {\r\n color: #fa6e6e;\r\n background-color: #fff3f3;\r\n border: 1px solid transparent;\r\n }\r\n }\r\n }\r\n }\r\n\r\n .erercises-detail {\r\n padding-bottom: 140rpx;\r\n overflow: hidden;\r\n\r\n &-section {\r\n width: 100%;\r\n padding: 0 25rpx 20rpx;\r\n overflow: hidden;\r\n box-sizing: border-box;\r\n\r\n .li {\r\n width: 90%;\r\n margin: 20rpx auto 0;\r\n padding: 30rpx;\r\n background: #FFFFFF;\r\n border-radius: 20rpx;\r\n box-shadow: 0rpx 5rpx 10rpx 0rpx rgba(32, 79, 156, 0.06);\r\n border-radius: 20rpx;\r\n\r\n .top {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n margin-bottom: 20rpx;\r\n\r\n .tag {\r\n height: 50rpx;\r\n margin-left: -30rpx;\r\n padding-left: 30rpx;\r\n padding-right: 30rpx;\r\n background: url('../../static/icon-tag-bg.png') no-repeat;\r\n background-size: 100% 100%;\r\n font-size: 1rpx;\r\n line-height: 50rpx;\r\n color: #ffffff;\r\n\r\n text {\r\n font-size: 30rpx;\r\n }\r\n }\r\n\r\n .time {\r\n font-size: 24rpx;\r\n color: #3e8ff9;\r\n display: flex;\r\n align-items: center;\r\n\r\n image {\r\n width: 25rpx;\r\n height: 25rpx;\r\n margin-right: 10rpx;\r\n }\r\n }\r\n }\r\n\r\n .tit {\r\n overflow: hidden;\r\n padding-bottom: 10rpx;\r\n color: #333333;\r\n display: flex;\r\n align-items: flex-start;\r\n }\r\n\r\n .title_img {\r\n width: 100%;\r\n\r\n image {\r\n width: 100%;\r\n }\r\n }\r\n\r\n .title_video {\r\n width: 100%;\r\n height: 300rpx;\r\n\r\n video {\r\n width: 100%;\r\n height: 100%;\r\n }\r\n }\r\n\r\n .con {\r\n overflow: hidden;\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n margin-top: 20rpx;\r\n padding: 30rpx 60rpx 30rpx 30rpx;\r\n background: #F6F6F6;\r\n color: #333333;\r\n line-height: 50rpx;\r\n position: relative;\r\n\r\n &.right {\r\n color: #49c99c;\r\n background-color: #f3f8f6;\r\n }\r\n\r\n &.wrong {\r\n color: #fa6e6e;\r\n background-color: #fff3f3;\r\n }\r\n\r\n .mark {\r\n width: 60rpx;\r\n height: 60rpx;\r\n position: absolute;\r\n right: 10rpx;\r\n top: 50%;\r\n margin-top: -30rpx;\r\n z-index: 2;\r\n\r\n image {\r\n width: 100%;\r\n height: 100%;\r\n }\r\n }\r\n }\r\n }\r\n\r\n .btns {\r\n padding: 25rpx;\r\n box-sizing: border-box;\r\n margin-top: 20rpx;\r\n display: flex;\r\n justify-content: space-around;\r\n .btn {\r\n padding: 0 25rpx;\r\n line-height: 80rpx;\r\n border-radius: 10rpx;\r\n text-align: center;\r\n background-color: #2080F9;\r\n font-size: 28rpx;\r\n color: #fff;\r\n }\r\n }\r\n\r\n .analysis {\r\n width: 90%;\r\n margin: 20rpx auto 0;\r\n padding: 30rpx;\r\n background: #FFFFFF;\r\n border-radius: 20rpx;\r\n box-shadow: 0rpx 5rpx 10rpx 0rpx rgba(32, 79, 156, 0.06);\r\n border-radius: 20rpx;\r\n\r\n .answer {\r\n overflow: hidden;\r\n padding: 20rpx 30rpx;\r\n line-height: 50rpx;\r\n background-color: #f3f8f6;\r\n\r\n text {\r\n color: #49c99c;\r\n }\r\n }\r\n\r\n .line {\r\n width: 70%;\r\n margin: 0 auto;\r\n }\r\n\r\n .msg {\r\n line-height: 1.5;\r\n letter-spacing: 1rpx;\r\n color: #6b6b6b;\r\n }\r\n }\r\n\r\n }\r\n\r\n &-bottom {\r\n position: fixed;\r\n bottom: 0;\r\n width: 100%;\r\n height: 100rpx;\r\n background: #FFFFFF;\r\n display: flex;\r\n align-items: center;\r\n z-index: 99;\r\n justify-content: space-between;\r\n\r\n .check {\r\n margin-left: 20rpx;\r\n line-height: 30rpx;\r\n\r\n .a {\r\n float: left;\r\n display: flex;\r\n align-items: center;\r\n margin-right: 30rpx;\r\n font-size: 30rpx;\r\n color: #37C594;\r\n }\r\n\r\n .b {\r\n float: left;\r\n display: flex;\r\n align-items: center;\r\n font-size: 30rpx;\r\n color: #F01B1B;\r\n }\r\n\r\n image {\r\n width: 44rpx;\r\n height: 44rpx;\r\n margin-right: 10rpx;\r\n }\r\n }\r\n\r\n .listen {\r\n display: flex;\r\n align-items: center;\r\n font-size: 26rpx;\r\n line-height: 30rpx;\r\n color: #666666;\r\n\r\n image {\r\n width: 44rpx;\r\n height: 44rpx;\r\n margin-right: 12rpx;\r\n }\r\n }\r\n .listen-one {\r\n flex: 1;\r\n justify-content: flex-end;\r\n padding-right: 100rpx;\r\n }\r\n\r\n .btns {\r\n margin-right: 20rpx;\r\n\r\n .hand {\r\n float: left;\r\n width: 140rpx;\r\n margin-right: 10rpx;\r\n font-size: 28rpx;\r\n line-height: 57rpx;\r\n color: #FFFFFF;\r\n text-align: center;\r\n background: #2080F9;\r\n border: 1px solid #2080F9;\r\n border-radius: 29rpx;\r\n }\r\n\r\n .btn {\r\n float: right;\r\n width: 140rpx;\r\n font-size: 28rpx;\r\n line-height: 57rpx;\r\n color: #2080F9;\r\n text-align: center;\r\n background: #FFFFFF;\r\n border: 1px solid #2080F9;\r\n border-radius: 29rpx;\r\n }\r\n }\r\n }\r\n }\r\n</style>\r\n","import mod from \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=6c4b90f5&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=6c4b90f5&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1724401329730\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"/\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |