Msg-b755e316.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 E,P as I,_ as L,__tla as V}from"./index-297c97b3.js";import{E as D,__tla as P}from"./el-link-cf781125.js";import j,{__tla as F}from"./main-fefa4003.js";import N,{__tla as T}from"./main-d5e82bfa.js";import X,{__tla as Y}from"./main-d91d4ba3.js";import A,{__tla as B}from"./main-625628c3.js";import C,{__tla as G}from"./main-44f0c921.js";import H,{__tla as J}from"./MsgEvent-57522654.js";import{M as r}from"./types-5fca7b13.js";import{__tla as K}from"./el-image-82bf40c6.js";import{__tla as O}from"./el-image-viewer-3c943bf5.js";let x,Q=Promise.all([(()=>{try{return V}catch{}})(),(()=>{try{return P}catch{}})(),(()=>{try{return F}catch{}})(),(()=>{try{return T}catch{}})(),(()=>{try{return Y}catch{}})(),(()=>{try{return B}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=D;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,E(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(A),{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(C),{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"])])):I("",!0)])}}}),[["__file","D:/zx/mall-newfeifan-zx-admin/src/views/mp/components/wx-msg/components/Msg.vue"]])});export{Q as __tla,x as default};