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 line
6.7 KiB
1 line
6.7 KiB
3 months ago
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/study/detail"],{1123:function(t,n,e){"use strict";e.r(n);var i=e("2b56"),o=e("2e65");for(var s in o)["default"].indexOf(s)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(s);e("927b");var u=e("828b"),c=Object(u["a"])(o["default"],i["b"],i["c"],!1,null,"781f1acd",null,!1,i["a"],void 0);n["default"]=c.exports},"2b56":function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return s})),e.d(n,"a",(function(){return i}));var i={uDivider:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uview-ui/components/u-divider/u-divider")]).then(e.bind(null,"8f21"))},uEmpty:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uview-ui/components/u-empty/u-empty")]).then(e.bind(null,"1623"))},uButton:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uview-ui/components/u-button/u-button")]).then(e.bind(null,"95c6"))}},o=function(){var t=this,n=t.$createElement,e=(t._self._c,t.info.question_info.title?t.__map(t.info.question_info.choice,(function(n,e){var i=t.__get_orig(n),o=n.isSelect?t.staticUrl("/static/icon-study-right.png"):null,s=!n.isSelect&&n.isErrow?t.staticUrl("/static/icon-study-wrong.png"):null,u=!n.isSelect&&t.current_question_choice&&t.info.question_info.correct==n.name?t.staticUrl("/static/icon-study-right.png"):null;return{$orig:i,m0:o,m1:s,m2:u}})):null),i=0==t.info.question_info.length&&t.count>=0,o=t.info.question_info.title&&t.teamIndex<=t.count?t.staticUrl("/static/icon-study-yes.png"):null,s=t.info.question_info.title&&t.teamIndex<=t.count?t.staticUrl("/static/icon-study-no.png"):null,u=t.info.question_info.title&&t.teamIndex<=t.count&&t.info.question_info.speech&&0==t.isPlay?t.staticUrl("/static/icon-listen.png"):null,c=t.info.question_info.title&&t.teamIndex<=t.count&&t.info.question_info.speech&&0!=t.isPlay?t.staticUrl("/static/icon-listen-on.png"):null;t.$mp.data=Object.assign({},{$root:{l0:e,g0:i,m3:o,m4:s,m5:u,m6:c}})},s=[]},"2c1c":function(t,n,e){},"2e65":function(t,n,e){"use strict";e.r(n);var i=e("f64d"),o=e.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(s);n["default"]=o.a},"3efa":function(t,n,e){"use strict";(function(t,n){var i=e("47a9");e("482e");i(e("3240"));var o=i(e("1123"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(o.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},"927b":function(t,n,e){"use strict";var i=e("2c1c"),o=e.n(i);o.a},f64d:function(t,n,e){"use strict";(function(t){var i=e("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=i(e("7eb4")),s=i(e("ee10")),u={data:function(){return{playType:1,page:1,chapter_id:"",teamIndex:0,successNum:0,errorNum:0,type:0,count:0,list:[],fontSize:30,cid:"",fontSize1:26,fontWeight:!0,info:{question_info:[]},safeBottom:"",isPlay:!1,innerAudioContext:null,current_question_id:"",next_question_id:"",current_question_choice:""}},onLoad:function(n){this.type=n.type,this.chapter_id=n.id,this.cid=n.cid;var e=t.getSystemInfoSync(),i=e.safeAreaInsets;this.safeBottom=null===i||void 0===i?void 0:i.bottom,t.setNavigationBarTitle({title:1!=n.type?"章节练习":"章节错误题"}),0==n.type||2==n.type?this.getZhangJieList():this.getCuowuList(),this.innerAudioContext=t.createInnerAudioContext({useWebAudioImplement:!1})},methods:{updateFont:function(t){1==t?this.fontSize<70?this.fontSize++:this.fontSize:2==t?this.fontSize>20?this.fontSize--:this.fontSize:3==t&&(this.fontWeight=!this.fontWeight)},openPage:function(){t.navigateBack({delta:1})},toPlayAudio:function(t){var n=this;0==this.isPlay?(1==this.playType?(console.log(111),this.innerAudioContext.src=t,this.innerAudioContext.play(),this.playType=2):(console.log(22),this.innerAudioContext.play()),this.isPlay=!0):(this.isPlay=!1,this.innerAudioContext.pause()),this.innerAudioContext.onPlay((function(){console.log("开始播放")})),this.innerAudioContext.onEnded((function(){n.isPlay=!1}))},toSelect:function(t){1!=this.info.question_info.isDisable&&(this.info.question_info.isDisable=!0,this
|