import{d as r,c as A,q as s}from"./index.332c7f08.js";const i="_content_ag9h2_1",n="_wrap_ag9h2_4",v="_icon_ag9h2_19",g="_item_ag9h2_41",l="_cover_ag9h2_46",E="_model_ag9h2_53",d="_coverNum_ag9h2_72",B="_coverImg_ag9h2_89",u="_name_ag9h2_118";var e={content:i,wrap:n,icon:v,item:g,cover:l,model:E,coverNum:d,coverImg:B,name:u},D=r({name:"CourseItem",props:{list:{type:Array,default:()=>[]},term:{type:String,defaut:0}},emits:["itemClick"],setup(c,{emit:m}){const t={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D"};return()=>A("div",{class:e.content},[A("div",{class:e.wrap},[A("div",{class:e.icon},[A("div",null,[s("\u7B2C"),t[c.term],s("\u5B66\u671F")])]),c.list.map((o,C)=>A("div",{class:e.item,onClick:()=>m("itemClick",o)},[A("div",{class:e.cover},[A("div",{class:e.coverImg},[A("img",{src:o.coverImg||"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUEAAAGJCAMAAAAja3HaAAAAbFBMVEXy8O3h4eDb29qcnJvV1dTg397d3dzX19bZ2diwsK+rq6qjo6LQ0M/ExMPIx8aurq3w7uu7u7rKysmgoJ/MzMu0tLOoqKempqXS0tHl5OLOzs2/v769vby4uLe2trXt7OmysrHBwcDr6efo5+Uqwd7AAAAGe0lEQVR42uzBgQAAAACAoP2pF6kCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABm39yWXAWBKKoUIEkBUcpM4SVjNP//j6dBI/GSTHw5L/SaW9WEp1W76cYQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEH+G3n34FSWRqu+UdrIjHd5gnxJDvJsqbVSoK8p2qIobkXRalp1CfKFPpa57E0CwSDQ9rq0GUkfmMM/yIeKCVsbEwxO8lhaPR4DVvKfex+jsq7LUSDQ90pLgcX7HXk+gD8nMBjUtXgkyPf+rAWD5WxQiwGr9msePKMUBPoi9gYNQX/fk6cCBFLrBX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4humJ4OBpiTT5VW6KOPKtBDVYqlQ9c0CI6Ks4ST5vTmKkVZl06fpRBWaMFWFX+BS2EwKVdMuUTEO06NBUBgodGm9weczlvzB696tKYC5kHvwVyxobXQP95/cfpeAQ3/oFWneDY+KUXW9Xl8Vuumn2KBjPI2MtNeAV3i9XxulTWmZyExxP53u7oWgsC1CYn11+xd4jKeREX3dcjr//PycgcvlAgYnhYVnzOwNjL5SxyswSX9PjvuS0+XsDQL+tSmer/y6n5GbjvnCcA4G33Lxv71CKG7vFv7C99KlijiBQHO6zHhnn7nD12tincBo2/CIvJ4v+5zcz19S71dFkripbucNl7dsdF57EvEeONKff86BPZ0fnJ6ayEv4H3v3lpwgDABQtK3TVzIFOlFC67O4/z1WrR++UPudczJkAXf4IIEJWy/T9ki4V70xK3Utd6j5Djm3t4RwoW39IeDW1zjHzTjX/k2DTSddkZvS55qXRTyyy7mdB7S7rOHnzR2413dtvCLvqx57rwpeC5/pZzGlFLfjTnlV+nP0if49piExXQpY6o70kGZdp9FG2l3phlh/PHCi6RdpdEU6CBsK3k69Zj2uz7vt2x3GDZ2z9Ab0T1Ua3ZDqzg81hi0fq0m6li98Vl2hL4Xv1bzOQx7ol+t55fSPOzxXqxxP68UYJkXv5P/T8m0aYhrtpRymBX4dDQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAL/twSEBAAAAgKD/r71hAAAAAABYCnSmwzA7AlR3AAAAAElFTkSuQmCC",onLoad:a=>{a.target&&(a.target.style.opacity=1)}},null)]),A("div",{class:e.coverNum},[o.courseNumName?o.courseNumName:`\u5171${o.courseNum}\u8BFE`])]),A("div",{class:[e.name,"van-ellipsis"]},[o.name])]))])])}});export{D as C};