index.21ff4a19.js 1.1 KB

1
  1. import{T as n}from"./index.6c18163b.js";import{H as i}from"./index.529be1b5.js";import{T as l,r as u}from"./request.d02ea4a1.js";import{T as p}from"./index.b61f29bd.js";import{d as s,r as m,G as d,c as o,J as c,W as h}from"./index.0dfb9898.js";import{B as f}from"./index.0f8b7860.js";import"./logo-1.1c5bc018.js";import"./index.d4115a5c.js";import"./index.e9213099.js";import"./index.2be2d2fe.js";import"./_commonjsHelpers.c10bf6cb.js";import"./index.a73e0153.js";const v="_home_134p2_1",T={home:v},y=s({name:"BoutiqueClass",setup(){const t=h(),r=m([]),a=async()=>{try{const e=await u.post("/api-website/open/videoLessonGroup/page",{data:{albumStatus:"PASS",page:1,rows:4}});e.data&&Array.isArray(e.data.rows)&&(r.value=e.data.rows)}catch{}};return d(()=>{a()}),()=>o(c,null,[o(l,{title:"\u7CBE\u54C1\u89C6\u9891\u8BFE",onMore:()=>t.push("/video")},null),o(p,{list:r.value,onGoto:e=>t.push({path:"/videoDetail",query:{id:e.teacherId,groupId:e.id}})},null)])}}),V=s({name:"indexHome",setup(){return()=>o("div",{class:T.home},[o(f,null,null),o(i,null,null),o(y,null,null),o(n,null,null)])}});export{V as default};