/*!
 *  build: vue-admin-beautiful 
 *  vue-admin-beautiful author: chuzhixin 1204505056@qq.com 
 *  vue-admin-beautiful QQ Group(QQ群): 972435319、1139183756 
 *  time: 2024-10-10 11:14:28
 */
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d224962"],{e188:function(e,t,l){"use strict";l.r(t);var a=l("f2bf");const i={key:0},o={key:1,style:{"text-align":"center"}},c=["src"],n={key:2,style:{"text-align":"center"}},d={key:3,style:{"text-align":"center"}},s=["src"],r={key:4,style:{"text-align":"center"}};function b(e,t,l,b,m,j){const O=Object(a["resolveComponent"])("el-link"),p=Object(a["resolveComponent"])("el-dialog");return Object(a["openBlock"])(),Object(a["createBlock"])(p,{modelValue:m.dialogFormVisible,"onUpdate:modelValue":t[0]||(t[0]=e=>m.dialogFormVisible=e),title:e.title,width:"500px",onClose:e.close},{default:Object(a["withCtx"])(()=>[m.isText?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",i,[Object(a["createElementVNode"])("span",null,Object(a["toDisplayString"])(m.data.textContent),1)])):m.isImage?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",o,[Object(a["createElementVNode"])("img",{src:m.data.image,alt:"",style:{width:"90%"}},null,8,c)])):m.isVideo?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",n,[Object(a["createElementVNode"])("p",null,"素材ID："+Object(a["toDisplayString"])(m.data.video.MediaId),1),Object(a["createElementVNode"])("p",null,"视频名称："+Object(a["toDisplayString"])(m.data.video.Title),1),Object(a["createElementVNode"])("p",null,"视频简介："+Object(a["toDisplayString"])(m.data.video.Description),1)])):m.isVoice?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",d,[Object(a["createElementVNode"])("audio",{src:m.data.voice},null,8,s)])):m.isNews?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",r,[(Object(a["openBlock"])(!0),Object(a["createElementBlock"])(a["Fragment"],null,Object(a["renderList"])(m.data.news,(e,l)=>(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{key:l},[Object(a["createElementVNode"])("p",null,"标题："+Object(a["toDisplayString"])(e.title),1),Object(a["createVNode"])(O,{target:"_blank",href:e.url,type:"primary"},{default:Object(a["withCtx"])(()=>t[1]||(t[1]=[Object(a["createTextVNode"])(" 点击查看 ")])),_:2},1032,["href"])]))),128))])):Object(a["createCommentVNode"])("",!0)]),_:1},8,["modelValue","title","onClose"])}var m={data(){return{isText:!1,isImage:!1,isVoice:!1,isVideo:!1,isNews:!1,dialogFormVisible:!1,data:[]}},methods:{showMaterialData(e){this.dialogFormVisible=!0,this.title="素材详情",this.data=e,"text"==e.msgType.dataCode?this.isText=!0:"image"==e.materialType.dataCode?this.isImage=!0:"voice"==e.materialType.dataCode?this.isVoice=!0:"video"==e.materialType.dataCode?this.isVideo=!0:"news"==e.materialType.dataCode&&(this.isNews=!0),console.log(123,e)}}},j=l("d959"),O=l.n(j);const p=O()(m,[["render",b]]);t["default"]=p}}]);