property-dc011f5e.js 2.8 KB

1
  1. import{d as c,o as g,A as x,B as o,f as e,a as d,G as s,S as T,aq as v,bc as $,ar as P,U as j}from"./index-39d329c4.js";import{_ as q}from"./index.vue_vue_type_script_setup_true_lang-9b4187c8.js";import{_ as A}from"./index.vue_vue_type_script_setup_true_lang-cd47233b.js";import{_ as B}from"./UploadImg-e9385982.js";import{u as D}from"./util-8fee7fda.js";import"./el-text-df6ae3a1.js";import"./vuedraggable.umd-bfdd5929.js";import"./Dialog-6a91c005.js";import"./_plugin-vue_export-helper-1b428a4d.js";import"./AppLinkSelectDialog.vue_vue_type_script_setup_true_lang-fd572571.js";import"./ProductCategorySelect.vue_vue_type_script_setup_true_lang-a7541bf5.js";import"./el-tree-select-2af4c3cc.js";import"./tree-fd3a041e.js";import"./category-c00e0426.js";import"./SpuTableSelectOne.vue_vue_type_script_setup_true_lang-7a43f9fe.js";import"./ContentWrap.vue_vue_type_script_setup_true_lang-f3ab50e7.js";import"./el-card-5cc80b8a.js";import"./index.vue_vue_type_script_setup_true_lang-24521fcb.js";import"./index-e66b1f22.js";import"./el-image-7f18c10a.js";import"./el-image-viewer-b66eac2e.js";import"./spu-42eb31d6.js";import"./index-0c406c8d.js";import"./useMessage-47346882.js";import"./Qrcode-934fcc60.js";import"./IFrame.vue_vue_type_script_setup_true_lang-5df22f83.js";import"./el-collapse-item-d4073a86.js";const G=c({name:"PopoverProperty",__name:"property",props:{modelValue:{}},emits:["update:modelValue"],setup(n,{emit:f}){const V=n,_=f,{formData:m}=D(V.modelValue,_);return(S,t)=>{const U=B,p=T,b=A,i=v,u=$,h=P,y=q,w=j;return g(),x(w,{"label-width":"80px",model:d(m)},{default:o(()=>[e(y,{modelValue:d(m).list,"onUpdate:modelValue":t[0]||(t[0]=l=>d(m).list=l),"empty-item":{showType:"once"}},{default:o(({element:l,index:r})=>[e(p,{label:"\u56FE\u7247",prop:`list[${r}].imgUrl`},{default:o(()=>[e(U,{modelValue:l.imgUrl,"onUpdate:modelValue":a=>l.imgUrl=a,height:"56px",width:"56px"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"]),e(p,{label:"\u8DF3\u8F6C\u94FE\u63A5",prop:`list[${r}].url`},{default:o(()=>[e(b,{modelValue:l.url,"onUpdate:modelValue":a=>l.url=a},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"]),e(p,{label:"\u663E\u793A\u6B21\u6570",prop:`list[${r}].showType`},{default:o(()=>[e(h,{modelValue:l.showType,"onUpdate:modelValue":a=>l.showType=a},{default:o(()=>[e(u,{content:"\u53EA\u663E\u793A\u4E00\u6B21\uFF0C\u4E0B\u6B21\u6253\u5F00\u65F6\u4E0D\u663E\u793A",placement:"bottom"},{default:o(()=>[e(i,{label:"once"},{default:o(()=>t[1]||(t[1]=[s("\u4E00\u6B21")])),_:1})]),_:1}),e(u,{content:"\u6BCF\u6B21\u6253\u5F00\u65F6\u90FD\u4F1A\u663E\u793A",placement:"bottom"},{default:o(()=>[e(i,{label:"always"},{default:o(()=>t[2]||(t[2]=[s("\u4E0D\u9650")])),_:1})]),_:1})]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:1},8,["modelValue"])]),_:1},8,["model"])}}});export{G as default};