index.1c06026d.js 1.1 KB

1
  1. import{T as n}from"./index.b9e1932b.js";import{H as i}from"./index.4d91f76a.js";import{T as l,r as u}from"./request.98e29cdd.js";import{T as p}from"./index.1978f98c.js";import{d as s,r as m,G as d,c as o,J as c,W as h}from"./index.1ac64a38.js";import{B as f}from"./index.ca40c18a.js";import"./utils.c9979885.js";import"./index.cf8927b6.js";import"./index.11adab17.js";import"./index.62edc17b.js";import"./_commonjsHelpers.c10bf6cb.js";import"./index.b116af45.js";const v="_home_p8f2p_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};