import{u as k}from"./index-M_JNBppB.js";/* empty css                     *//* empty css                        */import{_ as h}from"./CommonAttr-DJ3ylPmc.js";import{_ as v}from"./ImgGroup-CYI3XoVc.js";import{ax as x,c as w,r as n,B as C,z as I,O as r,u as m,F as l,D as p}from"./vue-BJk78QHK.js";import{b as y,t as B,a as E}from"./element-3_pOinej.js";import"./threejs-BafxXW5-.js";import"./utils-YI6ye1sf.js";import"./vxe-Dx3zSILm.js";/* empty css                    */import"./el-tooltip-l0sNRNKZ.js";/* empty css                  */import"./el-collapse-item-l0sNRNKZ.js";/* empty css                 *//* empty css                        *//* empty css                  *//* empty css               *//* empty css                  *//* empty css                     *//* empty css                              *//* empty css                  */import"./attr-DzN5Wxes.js";/* empty css                   *//* empty css                  *//* empty css                   *//* empty css                    *//* empty css                 *//* empty css                *//* empty css                   *//* empty css                 *//* empty css                */import"./request-CEvu378m.js";/* empty css                      *//* empty css               *//* empty css               *//* empty css                       *//* empty css                        */import"./images-bddkrumH.js";import"./typesList-laraQC3c.js";import"./useUploadConfig-CB7Vo708.js";import"./env-Ba1thpgP.js";import"./resource-Dz96LlGH.js";const V={class:"attr-list"},D={class:"center-boder-color",style:{width:"100px",height:"60px",position:"relative",border:"1px solid",padding:"5px"}},xo=Object.assign({name:"Decoration23Attr"},{__name:"Decoration23Attr",setup(F){const{getImgUrl:c}=k(),u=x(),t=w(()=>u.state.curComponent.propValue),s=n(null),i=n("");function a(o){i.value=o,s.value.opened()}function _(o){switch(i.value,i.value){case"1":t.value.img1=o;break;case"2":t.value.img2=o;break;case"3":t.value.img3=o;break;case"4":t.value.img4=o;break;case"5":t.value.img5=o;break}}return(o,e)=>{const g=B,f=y,d=E;return I(),C("div",V,[r(m(h)),r(d,{class:"more-form","label-position":"left","label-width":"100px"},{default:l(()=>[r(f,{label:"图片1:"},{default:l(()=>[p("div",D,[r(g,{style:{width:"100%",height:"100%"},src:m(c)(t.value.img1),onClick:e[0]||(e[0]=b=>a("1"))},null,8,["src"]),p("div",{class:"tipImg",onClick:e[1]||(e[1]=b=>a("1"))},e[2]||(e[2]=[p("span",{style:{color:"white","font-size":"12px"}},"点击切换",-1)]))])]),_:1})]),_:1}),r(m(v),{ref_key:"imgGroup",ref:s,onImgCheck:_},null,512)])}}});export{xo as default};
