import{d as n,a as t,A as l,C as r}from"./index-971588a5.js";import{b as u}from"./index-a5b2de1c.js";import{I as a}from"./index-96cc08e7.js";const i="_popupResult_1smys_1",c="_resultTitle_1smys_6",m="_titleImg_1smys_15",p="_result_1smys_6",_="_yes_1smys_29",y="_no_1smys_33",d="_resultContent_1smys_36",s={popupResult:i,resultTitle:c,titleImg:m,result:p,yes:_,no:y,resultContent:d},g=n({name:"result-mode",props:{confirmButtonText:{type:String,default:"我知道了"},answerAnalysis:{type:String,default:""},questionTypeCode:{type:String,default:""}},emits:["close","conform"],setup(e,{emit:o}){return()=>t("div",{class:s.popupResult},[t("div",{class:s.resultTitle},[t(a,{src:u,class:s.titleImg},null),e.questionTypeCode==="PLAY"?"不合格！":"回答错误！"]),t("div",{class:s.resultContent},[t("span",null,[l("答案解析：")]),e.answerAnalysis]),t(r,{type:"primary",round:!0,class:s.btn,block:!0,onClick:()=>{o("conform"),o("close")}},{default:()=>[e.confirmButtonText]})])}});export{g as E};
