1 |
- import{d as E,af as g,X as P,J as j,r as M,k as F,a as b,o as a,c as s,n as w,F as x,g as e,t as l,f as J,O as L,m as S,au as X,p as q,j as A,__tla as B}from"./index-73e02845.js";import{E as D,__tla as G}from"./el-image-6a280602.js";import{__tla as H}from"./el-image-viewer-a6b3dac3.js";import{h as K,__tla as Q}from"./index-cd8f4967.js";import{c as R,__tla as T}from"./index-c6e30cdd.js";import{u as V,__tla as W}from"./useMessage-1490ad82.js";import{_ as Y}from"./_plugin-vue_export-helper-1b428a4d.js";let U,Z=Promise.all([(()=>{try{return B}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return Q}catch{}})(),(()=>{try{return T}catch{}})(),(()=>{try{return W}catch{}})()]).then(async()=>{let p,m,u,d,y,f,h,v;p={key:0,style:{"text-align":"center","margin-top":"50px","font-size":"14px"}},m={class:"rating-title"},u={class:"content"},d={key:0,class:"content-image"},y={class:"details"},f={class:"product-model"},h=(r=>(q("data-v-71165bf8"),r=r(),A(),r))(()=>e("p",{class:"first-review"},"\u9996\u8BC4",-1)),v=["title"],U=Y(E({__name:"OrderComment",props:{id:g.number.def(void 0),showPickUp:g.bool.def(!0)},setup(r){const C=P();j(()=>C.getMobile);const I=r,o=M({logs:[]}),k=I.id,N=V();return F(async()=>{(async()=>{if(k){const i=await K(k);i||N.error("\u4EA4\u6613\u8BA2\u5355\u4E0D\u5B58\u5728"),o.value=i}})()}),(i,$)=>{const O=D;return b(o).total?(a(!0),s(x,{key:1},w(b(o).list,t=>(a(),s("div",{class:"container",key:t},[e("h3",m,l(t.descriptionScores)+"\u661F",1),e("div",u,[t.picUrls!=""&&t.picUrls!=null?(a(),s("div",d,[J(O,{src:t.picUrls[0],class:"image",onClick:c=>(n=>{const _=[];X(n)?n.forEach(z=>{_.push(z)}):_.push(n),R({urlList:_,zIndex:2040})})(t.picUrls),style:{width:"100%",height:"100%"}},null,8,["src","onClick"])])):L("",!0),e("div",y,[e("p",f,[S("\u578B\u53F7\uFF1A"+l(t.spuName)+"-",1),(a(!0),s(x,null,w(t.skuProperties,c=>(a(),s("span",{key:c.propertyId},l(c.propertyName)+"-"+l(c.valueName),1))),128))]),h,e("p",{class:"comment",title:t.content},"\u8BC4\u8BED\uFF1A"+l(t.content||"\u65E0"),9,v)])])]))),128)):(a(),s("div",p," \u8BE5\u8BA2\u5355\u6682\u65E0\u8BC4\u8BBA "))}}}),[["__scopeId","data-v-71165bf8"]])});export{Z as __tla,U as default};
|