index.3b0e3496.js 2.5 KB

1
  1. import{d,ah as r,ag as A,r as m,$ as E,c as e,aj as p,q as l,F as C,m as F}from"./index.5f7ffb46.js";import{C as a}from"./index.abd668f7.js";import{I as T}from"./index.276a5d68.js";const g="_unitDetail_6ilbd_1",x="_cellGroup_6ilbd_4",v="_cellTitle_6ilbd_7",U="_img_6ilbd_42",D="_unitSection_6ilbd_48",I="_unitTitle_6ilbd_55",_="_examSite_6ilbd_66";var i={unitDetail:g,cellGroup:x,cellTitle:v,img:U,unitSection:D,unitTitle:I,examSite:_},h="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAAeJJREFUWEftmL9PFFEQxz+zx4/zgpES/A8ulpQ2R0A7G8mx0lFhaG2g4t5hQYeFiYWl1cU1FhSEQhNotJEWEho7CIlUwIXj2B1y5IJw7N3bdySXGHfb+c68735mdpN5guVRMztM/8UDm+46Xq8diQnOE+tbhNIuUUv+czxWUZ64FZdxMZXNuBwtzzxDwznQkphgJ04Ta0jLryZQ3QD63Mw01J0MTU+h8gU4wYsKshRst9ZvY8j/hTLmbiaxIUC3xHwuWA2pKQ6AnIG0bWdno4kIgRCih1kxmxc36905VE1xCLzj7ui4EGpoo4digpP/15Ca6UnwqmIqPxoUtHw91E0ovSCknk+//iTUdyhToIp4n6jJAoPRS5QPf1vUC0Noc0il9ZdxjpBByfTYkMvn0BNCqSEXAjZt2rKUkI2ALZ7OUErIRsAWT2coJWQjYIunM/RvEdqDfF6MiVzWoHUy0RtCftve1TlugrqAJthcX+Qgd3olFJmUUuW782H3SIjf7Y1/AIwAX+HQb11373GeNTXe0LK/SMRKk9IR6L61krNAdliqzIjcblsbQsaD3feg891fOlgd/mH00WN5/bHecahvBvWtnyfkKZC1lk8qEGkM8j7Z6jdZWLtzqdHllUvS0911l5/+KjT5Jl7ZAAAAAElFTkSuQmCC",y=d({name:"unit-detail",setup(){const n=r(),s=A(),t=m({id:n.query.id,name:"",courseTypeCode:"",visiableNotice:!1,list:[]}),o=async()=>{try{const{data:u}=await F.post("/api-student/unitExamination/queryKnowledgePoint",{requestType:"form",data:{unitExaminationId:t.id}});t.list=u.lists||[],t.name=u.unitExaminationName,t.courseTypeCode=u.courseTypeCode,console.log(u)}catch{}},c=u=>{s.push({path:"/practice-mode",query:{examId:t.id,id:u.id,courseTypeCode:t.courseTypeCode,name:t.name}})};return E(()=>{o()}),()=>e("div",{class:i.unitDetail},[e(p,null,null),e(a,{center:!0,class:i.unitSection},{title:()=>e("div",{class:i.unitTitle},[t.name]),label:()=>e("div",{class:i.examSite},[e("p",null,[l("1\u3001\u5728\u7EC3\u4E60\u6A21\u5F0F\u4E2D\u53EF\u4EE5\u5BF9\u672C\u6B21\u6D4B\u9A8C\u76F8\u5173\u8003\u70B9\u8FDB\u884C\u53CD\u590D\u7EC3\u4E60;")]),e("p",null,[l("2\u3001\u4E3A\u4E86\u6D4B\u9A8C\u8FBE\u5230\u7406\u60F3\u6210\u7EE9\uFF0C\u5145\u5206\u7EC3\u4E60\u540E\u518D\u8FDB\u884C\u6B63\u5F0F\u6D4B\u9A8C\u5427\uFF01")])])}),e("div",{class:i.cellGroup},[e("div",{class:i.cellTitle},[e("i",null,null),l("\u8003\u70B9")]),t.list.map(u=>e(a,{center:!0,isLink:!0,titleClass:["van-ellipsis"],onClick:()=>c(u)},{icon:()=>e(T,{src:h,class:i.img},null),title:()=>e(C,null,[u.name]),value:()=>e("span",null,[l("\u53BB\u7EC3\u4E60")])}))])])}});export{y as default};