import{o as l,a as e,w as a,g as t,p as s,t as u,q as o,i as n,v as f}from"./index.35bb0716.js";import{a as c}from"./api.cd3647ee.js";import{_ as d}from"./plugin-vue_export-helper.21dcd24c.js";var r=d({data:()=>({courseInfoItem:{},fileId:null}),methods:{courseDetail(){c.courseDetail({fileId:this.fileId}).then((l=>{console.log("课程详情",l),l.success&&(this.courseInfoItem=l.data.data)}))}},onLoad(l){console.log(l),this.fileId=l.fileId},mounted(){this.courseDetail()}},[["render",function(c,d,r,i,_,I){const m=n,p=f;return l(),e(m,{class:"container"},{default:a((()=>[t(m,{class:"courseInfoContent"},{default:a((()=>[t(m,{class:"thumbnailBox"},{default:a((()=>[s("img",{src:_.courseInfoItem.displayImage,alt:""},null,8,["src"])])),_:1}),t(m,{class:"courseDetailBox"},{default:a((()=>[s("h4",null,u(_.courseInfoItem.fileTitle),1),t(m,{class:"summaryBox"},{default:a((()=>[t(p,null,{default:a((()=>[o(u(_.courseInfoItem.fileSynopsis),1)])),_:1})])),_:1}),t(m,{class:"dataBox"},{default:a((()=>[s("strong",null,"￥"+u(_.courseInfoItem.coursePrice),1),t(p,null,{default:a((()=>[o(u(_.courseInfoItem.salesNumber)+"人购买",1)])),_:1})])),_:1}),t(m,{class:"tagListBox"},{default:a((()=>[t(m,{class:"tagItem"},{default:a((()=>[o(u(_.courseInfoItem.fileLecturerName),1)])),_:1}),t(m,{class:"tagItem"},{default:a((()=>[o(u(_.courseInfoItem.fileLecturerRanks),1)])),_:1})])),_:1})])),_:1})])),_:1}),t(m,{class:"priceInfoContent"},{default:a((()=>[s("h4",null,"价格明细"),t(m,null,{default:a((()=>[t(p,null,{default:a((()=>[o("现价")])),_:1}),t(p)])),_:1}),t(m,null,{default:a((()=>[t(p,null,{default:a((()=>[o("积分抵扣")])),_:1}),t(p)])),_:1}),t(m,null,{default:a((()=>[t(p,null,{default:a((()=>[o("合计")])),_:1}),t(p)])),_:1})])),_:1}),t(m,{class:"paymentMethodContent"},{default:a((()=>[s("h4",null,"选择支付方式"),t(m,null,{default:a((()=>[t(p,null,{default:a((()=>[o("支付宝支付")])),_:1})])),_:1}),t(m,null,{default:a((()=>[t(p,null,{default:a((()=>[o("微信支付")])),_:1})])),_:1})])),_:1}),t(m,{class:"totalContent"},{default:a((()=>[t(m,{class:"priceInfoBox"},{default:a((()=>[t(m,null,{default:a((()=>[o("合计： ")])),_:1}),t(m,null,{default:a((()=>[o("共优惠： ")])),_:1})])),_:1}),t(m,{class:"confirmOrder"},{default:a((()=>[o("提交订单")])),_:1})])),_:1})])),_:1})}],["__scopeId","data-v-cfcfef5c"]]);export{r as default};
