|
|
import{ac as a,r as e,b as s,c as t,w as o,af as l,i as r,o as u,d as c,e as n,t as f,u as i,m as p,v as d,j as m}from"./index-DkGewvWo.js";import{_}from"./u-navbar.CwZJfInl.js";import{b as x,r as T}from"./uni-app.es.Bo01BzMV.js";import{_ as g}from"./oneBtn.l7bYA2mW.js";import{c as b}from"./car.CcI8AEaV.js";import{_ as j}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./u-status-bar.DDNs5qwz.js";import"./u-icon.x7ElsZU9.js";const h=j({__name:"examSubjiect1",setup(j){var h;let v=b(),y=null==(h=a("loginInfo"))?void 0:h.phone,I=e({});return x((()=>{!async function(){const{data:a}=await l({stepType:v.carInfo.stepType,carType:v.carInfo.carType});let e=a.useTime.split(":");a.useTimes=e[0]+":"+e[1].substring(0,2),I.value=a}()})),(a,e)=>{const l=T(s("up-navbar"),_),x=d,b=r,j=m,h=T(s("oneBtn"),g);return u(),t(b,{class:"content"},{default:o((()=>[c(l,{leftText:" ",leftIconColor:"#fff",safeAreaInsetTop:!0,autoBack:!0,title:"我的学习",bgColor:"transparent",titleStyle:{color:"#fff"}},{right:o((()=>[])),_:1}),c(b,{class:"padding"},{default:o((()=>[c(b,{class:"useInfo flex"},{default:o((()=>[c(b,{class:"avatar"},{default:o((()=>[c(x,{src:"",mode:""})])),_:1}),c(b,{class:"rightBox"},{default:o((()=>[c(b,{class:"name"},{default:o((()=>[n(f(i(y)),1)])),_:1}),i(I).highScore?(u(),t(b,{key:0,class:"p"},{default:o((()=>[c(j,null,{default:o((()=>[n("最高分数:"+f(i(I).highScore),1)])),_:1}),c(j,null,{default:o((()=>[n("用时:"+f(i(I).useTimes)+" 分钟 ",1)])),_:1})])),_:1})):p("",!0)])),_:1})])),_:1}),c(b,{class:"card"},{default:o((()=>[c(b,{class:"text"},{default:o((()=>[n("考试车型:"+f(i(v).carInfo.carTypeName),1)])),_:1}),c(b,{class:"text"},{default:o((()=>[n("考试时间:"+f(i(I).totalExamTime)+"分钟( "+f(i(I).totalCount)+"题)",1)])),_:1}),c(b,{class:"text"},{default:o((()=>[n("合格标准:"+f(i(I).score)+"分及格(满分"+f(i(I).funllScore)+"分)",1)])),_:1}),c(b,{class:"text"},{default:o((()=>[n("出题规则:"+f(i(I).questionRule),1)])),_:1}),c(b,{class:"text"},{default:o((()=>[n("计分规则:"+f(i(I).deductPointsRule),1)])),_:1})])),_:1}),c(b,{class:"btnBox"},{default:o((()=>[c(h,{text:"开始模拟考试",onClick:e[0]||(e[0]=e=>a.$goPage(`/pages/exercises/brushQuestions/examQuestions?totalExamTime=${i(I).totalExamTime||45}&score=${i(I).score||90}`))})])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-dcd7e664"]]);export{h as default};
|