Msg-33182b98.js 2.8 KB

1
  1. import{d as M,r as U,o as a,c as l,a as t,v as q,t as n,f as i,g as s,w as z,n as D,P as E,_ as L,__tla as P}from"./index-e3afde76.js";import{E as V,__tla as Y}from"./el-link-6cf0ca3c.js";import j,{__tla as I}from"./main-a876b8b7.js";import N,{__tla as T}from"./main-ed4fd268.js";import X,{__tla as A}from"./main-4c47bf64.js";import B,{__tla as C}from"./main-7d976648.js";import F,{__tla as G}from"./main-a42c0c09.js";import H,{__tla as J}from"./MsgEvent-d2bdedab.js";import{M as r}from"./types-5fca7b13.js";import{__tla as K}from"./el-image-65304aa9.js";import{__tla as O}from"./el-image-viewer-9d1c7d33.js";let x,Q=Promise.all([(()=>{try{return P}catch{}})(),(()=>{try{return Y}catch{}})(),(()=>{try{return I}catch{}})(),(()=>{try{return T}catch{}})(),(()=>{try{return A}catch{}})(),(()=>{try{return C}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return J}catch{}})(),(()=>{try{return K}catch{}})(),(()=>{try{return O}catch{}})()]).then(async()=>{let c,_,o,u,m,y,d,p,h,f,v,k,g;c={key:1},_={key:2},o={key:3},u=["href"],m=["src"],y={key:4,style:{"text-align":"center"}},d={key:5,class:"avue-card__detail"},p={class:"avue-card__title"},h=s("i",{class:"el-icon-link"},null,-1),f={class:"avue-card__info",style:{height:"unset"}},v={key:6},k={key:7,style:{width:"300px"}},g={key:8},x=L(M({name:"Msg",__name:"Msg",props:{item:{type:null,required:!0}},setup(b){const e=U(b.item);return(R,S)=>{const w=V;return a(),l("div",null,[t(e).type===t(r).Event?(a(),q(H,{key:0,item:t(e)},null,8,["item"])):t(e).type===t(r).Text?(a(),l("div",c,n(t(e).content),1)):t(e).type===t(r).Voice?(a(),l("div",_,[i(t(N),{url:t(e).mediaUrl,content:t(e).recognition},null,8,["url","content"])])):t(e).type===t(r).Image?(a(),l("div",o,[s("a",{target:"_blank",href:t(e).mediaUrl},[s("img",{src:t(e).mediaUrl,style:{width:"100px"}},null,8,m)],8,u)])):t(e).type===t(r).Video||t(e).type==="shortvideo"?(a(),l("div",y,[i(t(j),{url:t(e).mediaUrl},null,8,["url"])])):t(e).type===t(r).Link?(a(),l("div",d,[i(w,{type:"success",underline:!1,target:"_blank",href:t(e).url},{default:z(()=>[s("div",p,[h,D(n(t(e).title),1)])]),_:1},8,["href"]),s("div",f,n(t(e).description),1)])):t(e).type===t(r).Location?(a(),l("div",v,[i(t(B),{label:t(e).label,"location-y":t(e).locationY,"location-x":t(e).locationX},null,8,["label","location-y","location-x"])])):t(e).type===t(r).News?(a(),l("div",k,[i(t(X),{articles:t(e).articles},null,8,["articles"])])):t(e).type===t(r).Music?(a(),l("div",g,[i(t(F),{title:t(e).title,description:t(e).description,"thumb-media-url":t(e).thumbMediaUrl,"music-url":t(e).musicUrl,"hq-music-url":t(e).hqMusicUrl},null,8,["title","description","thumb-media-url","music-url","hq-music-url"])])):E("",!0)])}}}),[["__file","D:/zx/mall-newfeifan-zx-admin/src/views/mp/components/wx-msg/components/Msg.vue"]])});export{Q as __tla,x as default};