import{r as a,b as e,c as s,w as t,Y as l,i as r,o as c,d as o,f as n,g as u,u as p,F as i,P as f,e as d,t as _,n as g}from"./index-IX2tYR8R.js";import{_ as m}from"./u-line-progress.BUDUDwx5.js";import{r as y}from"./uni-app.es.Bc5t55A8.js";import{c as h}from"./car.C_k88K1b.js";import{_ as F}from"./_plugin-vue_export-helper.BCo6x5W8.js";const C=F({__name:"chapter",setup(F){let C=h();let x=a([]);!async function(){x.value=[];let a={type:"4",stepType:C.carInfo.stepType,carType:C.carInfo.carType,city:C.carInfo.city};const{data:e}=await l(a);for(let s=0;s{const h=r,F=y(e("up-line-progress"),m);return c(),s(h,{class:"content"},{default:t((()=>[o(h,{class:"ul padding"},{default:t((()=>[(c(!0),n(i,null,u(p(x),((a,e)=>(c(),s(h,{class:"li",key:e,onClick:e=>function(a){C.setCar("chapter",a.param),g({url:"/pages/exercises/brushQuestions/brushQuestions"})}(a)},{default:t((()=>[o(h,{class:"num",style:f({background:v[e]})},{default:t((()=>[d(_(e+1),1)])),_:2},1032,["style"]),o(h,{class:"rightTxt"},{default:t((()=>[o(h,{class:"h1"},{default:t((()=>[d(_(a.name),1)])),_:2},1024),o(h,{class:"flex"},{default:t((()=>[o(h,{class:"proccess"},{default:t((()=>[o(F,{percentage:a.percentage,height:"8",activeColor:"#3776FF",showText:!1},null,8,["percentage"])])),_:2},1024),o(h,{class:"rate"},{default:t((()=>[d(_(a.already)+"/ "+_(a.total),1)])),_:2},1024)])),_:2},1024)])),_:2},1024)])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1})}}},[["__scopeId","data-v-5b1d90a9"]]);export{C as default};