1 |
- {"version":3,"sources":["webpack:///./src/views/paper/Detail.vue?22be","webpack:///src/views/paper/Detail.vue","webpack:///./src/views/paper/Detail.vue?09be","webpack:///./src/views/paper/Detail.vue","webpack:///./src/views/paper/Detail.vue?0336"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","_s","form","title","total_score","total_time","_l","item","index","key","ques","idx","options","staticRenderFns","data","methods","created","component"],"mappings":"gJAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,UAAU,CAACE,YAAY,SAAS,CAACF,EAAG,IAAI,CAACJ,EAAIO,GAAG,0BAA0BH,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,KAAK,CAACJ,EAAIO,GAAGP,EAAIQ,GAAGR,EAAIS,KAAKC,UAAUN,EAAG,IAAI,CAACE,YAAY,QAAQ,CAACN,EAAIO,GAAG,MAAMP,EAAIQ,GAAGR,EAAIS,KAAKE,aAAa,WAAWX,EAAIQ,GAAGR,EAAIS,KAAKG,eAAeZ,EAAIa,GAAIb,EAAIS,KAAc,WAAE,SAASK,EAAKC,GAAO,OAAOX,EAAG,MAAM,CAACY,IAAID,EAAMT,YAAY,QAAQ,CAACF,EAAG,KAAK,CAACJ,EAAIO,GAAGP,EAAIQ,GAAGM,EAAKJ,UAAUV,EAAIa,GAAIC,EAAc,WAAE,SAASG,EAAKC,GAAK,OAAOd,EAAG,MAAM,CAACY,IAAIE,EAAI,IAAIH,GAAO,CAACX,EAAG,IAAI,CAACJ,EAAIO,GAAGP,EAAIQ,GAAGU,EAAI,GAAG,IAAIlB,EAAIQ,GAAGS,EAAKP,UAAUN,EAAG,OAAO,CAACJ,EAAIO,GAAG,yBAAyBP,EAAIQ,GAAGS,EAAKE,SAAS,8BAA6B,OAAM,MACvtBC,EAAkB,GC8CtB,GACEC,KADF,WAEI,MAAJ,CACMZ,KAAN,KAGEa,QAAF,CACI,QADJ,WACM,IAAN,OACM,KAAN,eAAQ,GAAR,iCACQ,EAAR,sBAMEC,QAfF,WAgBA,uBACM,KAAN,6BACM,KAAN,wBACM,KAAN,aClEmc,I,wBCQ/bC,EAAY,eACd,EACAzB,EACAqB,GACA,EACA,KACA,KACA,MAIa,aAAAI,E,2CCnBf,yBAAirB,EAAG","file":"js/chunk-76704885.1e5016f9.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:\"paper\"},[_c('p',[_vm._v(\"在线培训 > 试卷管理 > 试卷详情\")]),_c('div',{staticClass:\"content\"},[_c('h1',[_vm._v(_vm._s(_vm.form.title))]),_c('p',{staticClass:\"info\"},[_vm._v(\"满分:\"+_vm._s(_vm.form.total_score)+\"分 考试时间\"+_vm._s(_vm.form.total_time))]),_vm._l((_vm.form.questions),function(item,index){return _c('div',{key:index,staticClass:\"ques\"},[_c('h2',[_vm._v(_vm._s(item.title))]),_vm._l((item.questions),function(ques,idx){return _c('div',{key:idx+\"_\"+index},[_c('p',[_vm._v(_vm._s(idx+1)+\"、\"+_vm._s(ques.title))]),_c('span',[_vm._v(\"\\n \"+_vm._s(ques.options)+\"\\n \")])])})],2)})],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<style lang=\"scss\">\r\n .paper{\r\n h1{\r\n text-align: center;\r\n font-size: 24px;\r\n }\r\n .info{\r\n text-align: center;\r\n padding: 15px;\r\n border-bottom: 1px solid #d9d9d9;\r\n }\r\n .ques{\r\n margin: 30px 0;\r\n color:#333;\r\n h2{\r\n font-size: 20px;\r\n }\r\n p{\r\n font-size: 18px;\r\n padding: 15px 0;\r\n }\r\n span{\r\n font-size: 16px;\r\n display: block;\r\n }\r\n }\r\n }\r\n</style>\r\n<template>\r\n <section class=\"paper\">\r\n <p>在线培训 > 试卷管理 > 试卷详情</p>\r\n <div class=\"content\">\r\n <h1>{{form.title}}</h1>\r\n <p class=\"info\">满分:{{form.total_score}}分 考试时间{{form.total_time}}</p>\r\n <div class=\"ques\" v-for=\"(item,index) in form.questions\" :key='index'>\r\n <h2>{{item.title}}</h2>\r\n <div v-for=\"(ques,idx) in item.questions\" :key='idx+\"_\"+index'>\r\n <p>{{idx+1}}、{{ques.title}}</p>\r\n <span>\r\n {{ques.options}}\r\n </span>\r\n </div>\r\n </div>\r\n </div>\r\n </section>\r\n</template>\r\n<script>\r\nexport default {\r\n data(){\r\n return{\r\n form:{}\r\n }\r\n },\r\n methods:{\r\n getData(){\r\n this.$api.getPaper({id:this.form.id}).then(res=>{\r\n this.form=res.data.data\r\n })\r\n },\r\n \r\n \r\n },\r\n created(){\r\n if(this.$route.query.id){\r\n this.form.id=this.$route.query.id\r\n this.id=this.$route.query.id\r\n this.getData()\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.1.0@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.2@vue-loader/lib/index.js??vue-loader-options!./Detail.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.1.0@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.2@vue-loader/lib/index.js??vue-loader-options!./Detail.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Detail.vue?vue&type=template&id=201795ea&\"\nimport script from \"./Detail.vue?vue&type=script&lang=js&\"\nexport * from \"./Detail.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Detail.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/_vue-loader@15.9.2@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/_vue-loader@15.9.2@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/_sass-loader@7.3.1@sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.2@vue-loader/lib/index.js??vue-loader-options!./Detail.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/_vue-loader@15.9.2@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/_sass-loader@7.3.1@sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.2@vue-loader/lib/index.js??vue-loader-options!./Detail.vue?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""}
|