import{_ as a}from"./u-navbar.CwZJfInl.js";import{o as s,c as t,w as l,d as e,O as u,e as c,v as f,i as d,j as _,r as n,b as o,k as r,f as i,g as m,F as p,m as b,t as v}from"./index-DkGewvWo.js";import{r as g}from"./uni-app.es.Bo01BzMV.js";import{_ as C}from"./oneBtn.l7bYA2mW.js";/* empty css */import{_ as k}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./u-status-bar.DDNs5qwz.js";import"./u-icon.x7ElsZU9.js";const x=k({},[["render",function(a,n){const o=f,r=d,i=_;return s(),t(r,{class:"noDate"},{default:l((()=>[e(r,{class:"img"},{default:l((()=>[e(o,{src:"/h5/assets/nodata-CKhNPYNs.png",mode:""})])),_:1}),e(r,{class:"text"},{default:l((()=>[u(a.$slots,"default",{},(()=>[e(i,null,{default:l((()=>[c("暂无数据")])),_:1})]),!0)])),_:3})])),_:3})}],["__scopeId","data-v-b27f0ca7"]]),y=k({__name:"myStudy",setup(u){n(!1);const f=n(1);function _(a){f.value=a}const k=n([{name:"我的收藏",num:0},{name:"我的错题",num:1},{name:"考试记录",num:2},{name:"预计合格率",num:"100%"}]),y=n(1);function j(a){y.value=a}return(u,n)=>{const h=g(o("up-navbar"),a),I=d,B=g(o("oneBtn"),C);return s(),t(I,{class:"content"},{default:l((()=>[e(h,{leftText:" ",leftIconColor:"#fff",safeAreaInsetTop:!0,autoBack:!0,title:"我的学习",bgColor:"transparent",titleStyle:{color:"#fff"}}),e(I,{class:"studyDay"},{default:l((()=>[c("已坚持学习8天")])),_:1}),e(I,{class:"card"},{default:l((()=>[e(I,{class:"tabs"},{default:l((()=>[e(I,{class:r(["tab",{active:1==f.value}]),onClick:n[0]||(n[0]=a=>_(1))},{default:l((()=>[c("科一")])),_:1},8,["class"]),e(I,{class:r(["tab",{active:2==f.value}]),onClick:n[1]||(n[1]=a=>_(2))},{default:l((()=>[c("科四")])),_:1},8,["class"])])),_:1}),e(I,{class:"pd20"},{default:l((()=>[e(I,{class:"statistics"},{default:l((()=>[(s(!0),i(p,null,m(k.value,((a,u)=>(s(),t(I,{class:"statisticsItem",key:u},{default:l((()=>[e(I,{class:"num"},{default:l((()=>[c(v(a.num),1)])),_:2},1024),e(I,{class:"text"},{default:l((()=>[c(v(a.name),1)])),_:2},1024)])),_:2},1024)))),128))])),_:1}),e(I,{class:"h3"},{default:l((()=>[c("刷题进度")])),_:1}),e(I,{class:"bgCard_row"},{default:l((()=>[e(I,{class:"bgCard"},{default:l((()=>[e(I,{class:"lab"},{default:l((()=>[c("顺序练习")])),_:1}),e(I,{class:"tps"},{default:l((()=>[c("已完成(题)")])),_:1}),e(I,{class:"num"},{default:l((()=>[c("140/500")])),_:1})])),_:1}),e(I,{class:"bgCard"},{default:l((()=>[e(I,{class:"lab"},{default:l((()=>[c("精选试题")])),_:1}),e(I,{class:"tps"},{default:l((()=>[c("已完成(题)")])),_:1}),e(I,{class:"num"},{default:l((()=>[c("110/500")])),_:1})])),_:1})])),_:1})])),_:1})])),_:1}),e(I,{class:"card card2"},{default:l((()=>[e(I,{class:"chartTab"},{default:l((()=>[e(I,{class:"h3"},{default:l((()=>[c("刷题进度")])),_:1}),e(I,{class:"btn_row"},{default:l((()=>[e(I,{class:r(["btn",{bg:1==y.value}]),onClick:n[2]||(n[2]=a=>j(1))},{default:l((()=>[c("曲线")])),_:1},8,["class"]),e(I,{class:r(["btn",{bg:2==y.value}]),onClick:n[3]||(n[3]=a=>j(2))},{default:l((()=>[c("明细")])),_:1},8,["class"])])),_:1})])),_:1}),e(I,{class:"tip"},{default:l((()=>[c("近30次科目一模拟考试成绩")])),_:1}),1==y.value?(s(),t(I,{key:0,class:"con"},{default:l((()=>[c(" 图表 "),e(I,{class:"tips"},{default:l((()=>[c("按住可左右滑动查看更多成绩")])),_:1})])),_:1})):b("",!0),2==y.value?(s(),t(I,{key:1,class:"con"},{default:l((()=>[e(I,{class:"tables"},{default:l((()=>[e(I,{class:"fristTab li"},{default:l((()=>[e(I,{class:"item"},{default:l((()=>[c("考试成绩")])),_:1}),e(I,{class:"item"},{default:l((()=>[c("考试用时")])),_:1}),e(I,{class:"item"},{default:l((()=>[c("考试时间")])),_:1})])),_:1}),e(I,{class:"li"},{default:l((()=>[e(I,{class:"item"},{default:l((()=>[c("90分")])),_:1}),e(I,{class:"item"},{default:l((()=>[c("10分30秒")])),_:1}),e(I,{class:"item"},{default:l((()=>[c("2024-8-28")])),_:1})])),_:1})])),_:1})])),_:1})):b("",!0)])),_:1}),2==f.value?(s(),t(I,{key:0,class:"subject4 card2 card"},{default:l((()=>[e(I,{class:"h3"},{default:l((()=>[c("模拟考试")])),_:1}),e(x,null,{default:l((()=>[c("暂无考试记录")])),_:1}),e(I,{class:"btnE"},{default:l((()=>[e(B,{text:"去考试",onOneBtnClick:n[4]||(n[4]=a=>u.$goPage("/pages/exercises/beforeExam/beforeExam"))})])),_:1})])),_:1})):b("",!0)])),_:1})}}},[["__scopeId","data-v-260c59f4"]]);export{y as default};