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