import{l as t}from"./logo.bcac726b.js";import{b as _,i as n}from"./browser.ff6962bf.js";import{d as i,i as o,A as e,F as c}from"./index.6b776f4b.js";const l="_shareContainer_a0ykr_1",u="_swipe__indicators_a0ykr_4",d="_indicators_a0ykr_7",m="_swipe__indicator_a0ykr_4",p="_total_a0ykr_29",y="_shareTitle_a0ykr_38",k="_title_a0ykr_38",h="_titleTip_a0ykr_44",v="_shareTeacher_a0ykr_50",g="_teacherImg_a0ykr_57",C="_recommend_a0ykr_63",w="_img_a0ykr_69",F="_name_a0ykr_75",T="_titleTips_a0ykr_80",q="_shareSection_a0ykr_84",B="_video_a0ykr_92",E="_yellow_a0ykr_96",f="_pink_a0ykr_100",D="_live_a0ykr_104",L="_mall_a0ykr_116",b="_music_a0ykr_128",A="_vip_a0ykr_140",S="_album_a0ykr_148",G="_shareContent_a0ykr_152",I="_download_a0ykr_155",x="_logo_a0ykr_161",N="_qrcode_a0ykr_177",U="_qrcodeCanvas_a0ykr_182",V="_qrcodeLogo_a0ykr_186",$="_tips_a0ykr_196",j="_shareGroupBtn_a0ykr_200";var a={shareContainer:l,swipe__indicators:u,indicators:d,swipe__indicator:m,"swipe__indicator--active":"_swipe__indicator--active_a0ykr_26",total:p,shareTitle:y,title:k,titleTip:h,shareTeacher:v,teacherImg:g,recommend:C,img:w,name:F,titleTips:T,shareSection:q,video:B,yellow:E,pink:f,live:D,mall:L,music:b,vip:A,album:S,shareContent:G,download:I,logo:x,qrcode:N,qrcodeCanvas:U,qrcodeLogo:V,tips:$,shareGroupBtn:j},K=i({name:"codeDownLoad",props:{shareUrl:{type:String,default:""}},mounted(){const r=this.$refs.canvas;_.toCanvas(r,this.shareUrl,{margin:1},s=>{s&&console.log(s),console.log("success")})},render(){return o(c,null,[o("div",{class:[a.download,"downloadCustom"]},[o("div",{class:a.qrcode},[o("canvas",{ref:"canvas",class:a.qrcodeCanvas},null),o("img",{src:n,class:a.qrcodeLogo},null)]),o("div",{class:a.logo},[o("p",{class:a.tips},[e("\u6E29\u99A8\u63D0\u793A\uFF1A\u4FDD\u5B58\u56FE\u7247\u5230\u76F8\u518C\u6216\u957F\u6309\u8BC6\u522B\u4E8C\u7EF4\u7801\u8FDB\u5165\u67E5\u770B\u5594\uFF5E")]),o("img",{src:t},null),o("p",null,[e("\u626B\u7801\u4E0B\u8F7D\u9177\u4E50\u79C0\u5F00\u542F\u5B66\u4E60\u4E4B\u65C5")])])])])}});export{K as C,a as s};