comment.js
613 字节
"use strict";const e=require("../common/vendor.js");Math||m();const m=()=>"./openComment.js",s={__name:"comment",props:{commentList:{type:Array,default:[]}},setup(o){const a=o;return e.onMounted(()=>{a.commentList.forEach(t=>{t.image=t.image.split(",")})}),e.reactive({backgroundImage:"none",paddingTop:"0",marginTop:"0"}),(t,i)=>({a:e.f(o.commentList,(n,u,c)=>({a:n.avatar,b:e.t(n.nickname),c:e.t(n.createtime),d:"4639ae0e-0-"+c,e:e.p({text:n.content}),f:e.f(n.image,(r,f,_)=>({a:r})),g:n.id}))})}},p=e._export_sfc(s,[["__file","D:/vue/大健康商城/healthMall/componets/comment.vue"]]);wx.createComponent(p);