| 1 |
- var S=Object.defineProperty,v=Object.defineProperties;var I=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable;var c=(o,a,e)=>a in o?S(o,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[a]=e,r=(o,a)=>{for(var e in a||(a={}))y.call(a,e)&&c(o,e,a[e]);if(l)for(var e of l(a))L.call(a,e)&&c(o,e,a[e]);return o},p=(o,a)=>v(o,I(a));import{s as i}from"./index.module.000dbe30.js";import{h as g}from"./index.08500495.js";import{s as m}from"./index.8157e7e1.js";import{v as d}from"./index.9d19fafd.js";import{d as b,r as w,o as j,c as s,F as x,b as z}from"./index.4271b524.js";import{P as h}from"./index.df69dbcb.js";import"./index.b9365a38.js";import"./index2.6964d668.js";import"./hot.60938b67.js";import"./arrow.15dbd454.js";import"./index2.3b598bbb.js";import"./icon.6e6f91da.js";var H=b({name:"videoDetailList",props:{title:{type:String,default:""}},components:{hotSearch:g,searchInput:m,videoDetailItem:d,pagination:h},setup(o,a){const e=w({title:o.title,videoList:[],searchs:{search:"",lessonSubject:""},pageInfo:{limit:9,page:1,total:0,page_size:[9,20,40,50]}}),n=async()=>{console.log("\u8BF7\u6C42\u63A5\u53E3");try{const t=await z.post("/api-website/open/videoLessonGroup/page",{data:p(r({},e.searchs),{albumStatus:"PASS",page:e.pageInfo.page,rows:e.pageInfo.limit})});e.videoList=t.data.rows,e.pageInfo.total=t.data.total}catch(t){console.log(t)}},u=t=>{console.log(t),e.searchs.search=t},f=t=>{e.searchs=p(r({},e.searchs),{lessonSubject:t.subject,search:t.search}),console.log(t,"valstartSearch"),n()};return j(()=>{n()}),()=>s(x,null,[s("div",null,[s("div",{class:"wall",style:{height:"70px"}},null),s("div",{class:i.w1200},[s("div",{class:i.section},[s(m,{isWhile:!0,onStartSearch:t=>{f(t)}},null),s("div",{class:i.hotSearchWrap},[s(g,{searchType:"COURSE",onHotTag:t=>{u(t)},type:""},null)])]),s("div",{class:i.videoList},[e.videoList.map(t=>s(d,{detail:t},null))]),s(h,{total:e.pageInfo.total,page:e.pageInfo.page,"onUpdate:page":t=>e.pageInfo.page=t,limit:e.pageInfo.limit,"onUpdate:limit":t=>e.pageInfo.limit=t,pageSizes:e.pageInfo.page_size,pagination:n},null)])])])}});export{H as default};
|