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