mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2026-01-05 20:48:11 +00:00
2 lines
6.7 KiB
JavaScript
2 lines
6.7 KiB
JavaScript
import"./base-0e92f4db.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-tooltip-4ed993c7.js";/* empty css */import{a as N,E as S}from"./el-form-item-c2dd2ffe.js";import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-d629c202.js";import{_ as P}from"./index-1bbf37b4.js";/* empty css */import{v as b}from"./event-a537c4cb.js";import{t as s}from"./index-8f29cb04.js";import{u as h}from"./diy-2f08077e.js";import{E as B,b as D}from"./index-9aa10ae4.js";import{E as I}from"./index-8cefa3ab.js";import{E as G}from"./index-b4463d31.js";import{E as Y}from"./index-da35968d.js";import{d as Q,r as c,b as r,e as f,L as x,u as e,f as i,q as o,p as n,v as p,n as k,C as _,m as K,x as g,g as X,F as L}from"./runtime-core.esm-bundler-67034826.js";const O="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAABj1JREFUaEPtmmtsFFUUx/9nditIQaSICiEaRKOGGDU+IOIj6fZBKzQonZaKGCSAEVCJEUw0Jv2AjxCRKPGRRomGAN2dDUaqQLc75QPEBBNtJKKR2IBRgxBEQ6um7O4cM7Pbfc5s78zsLnRlP27uOff/23POvWfvvYSL6MPMhBp5PRiPgqQ9pAZeK7Q8KrRDp/5Yli/DWfoErC1O+vB651Co87BTn2Z2FwUwNy2fgMFznwLwZYiUaAmFlZ1lBcyN8rUY4r1g3JkDVm7AXPvYTdAi3WCeYRrFcgJmX+s9YO0LgKdYpmy5ALNPngcgCObKFCwNgngbGM8mvysHYK5pfgIaPgLgTYIRTsNDjYhJU8GxLjfAvGDVOPz711NgbQhV9CEpyvn0DCrpKs2+5g1gvAEgbV7qRwXmUbfyE/ta57sB5hp5IhghMN+bgNxCvcHnSw4cbyhatoD5uYx6JfoG8DaSuuuU/r0bYANW424As1O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Z+CJg3E6ygc3DqivWANG38NOXIy64RVGFrgCkVEanwM1y6eBi22H8y3Zaa49DqpgfRdwNSpSITjpSdvArN+O5L2EYt0QYENMcbTA3yWddmlHw5+jAdmrcx3GioKnFhv3s548SOY3gUHNsTopXD+9x1gXpQVhb2onCRb7e92gJ1CFwXYEBO/mNsK1lZn5e9hVFbMp65dZ7Lz2i6wE+iiAQ/DcLX8MsAbM8uNjqHCU0/7O0+kf+8E2C500YHjdd2yHMwdGVucSYPiFNgSmvAiqcFNGUub+BrsbqQBg5gfjHFp21ZGg+IG2ByaeqlXyXiSXJIIJ9O7pnUOOPY5GJPToM+DaKl+qe0WOLFlbQaz/vqOQbSSVEV/5piazl3c7FtzXdstiEb0x2I5DQrYc9zN08PkD1vfNgtRLUKq/1i2wpJGOCnIskGhQ2C+PymyWFct9uPk3sKyQUl3XU7ARr1ZNigJ6nIDNqCNBuW7d8BYk5M35Qicv0FBG6nBTvcFdAFX6XziMxsUisCLmymkHC9bYCPF6xbfh1i0CR7vHgp1fllIWN3XBdmWCg1hx99/11n26ChtcvsAAAAASUVORK5CYII=",T={class:"content-wrap"},M={class:"edit-attr-item-wrap"},R=i("h3",{class:"mb-[10px]"},"公告图标",-1),z={class:"px-[22px] pb-[20px]"},W={key:0,class:"flex items-center flex-wrap py-[8px] px-[10px] bg-[#f4f3f7] rounded"},q={key:1},j={class:"edit-attr-item-wrap"},J=i("h3",{class:"mb-[10px]"},"公告内容",-1),Z={class:"style-wrap"},H={class:"edit-attr-item-wrap"},$={class:"mb-[10px]"},ee=Q({__name:"edit-notice",setup(te,{expose:A}){const t=h();return t.editComponent.ignore=[],c(!1),c("0"),c(t.editComponent.style),A({}),(y,l)=>{const m=B,u=D,F=P,V=I,d=N,U=v,C=S,w=G,E=Y;return r(),f(L,null,[x(i("div",T,[i("div",M,[R,i("div",z,[o(u,{modelValue:e(t).editComponent.iconType,"onUpdate:modelValue":l[0]||(l[0]=a=>e(t).editComponent.iconType=a),class:"mb-[18px]"},{default:n(()=>[o(m,{label:"system"},{default:n(()=>[p("系统图标")]),_:1}),o(m,{label:"custom"},{default:n(()=>[p("自定义图标")]),_:1})]),_:1},8,["modelValue"]),e(t).editComponent.iconType=="system"?(r(),f("div",W,[i("img",{src:O,class:k(["h-[28px] px-[10px] py-[5px] mr-[10px] rounded cursor-pointer",{"border-[1px] border-solid border-[var(--el-color-primary)]":e(t).editComponent.systemIcon=="style_01"}]),onClick:l[1]||(l[1]=a=>e(t).editComponent.systemIcon="style_01"),alt:""},null,2)])):_("",!0),e(t).editComponent.iconType=="custom"?(r(),f("div",q,[o(F,{modelValue:e(t).editComponent.imageUrl,"onUpdate:modelValue":l[2]||(l[2]=a=>e(t).editComponent.imageUrl=a),limit:1},null,8,["modelValue"])])):_("",!0)])]),i("div",j,[J,o(C,{"label-width":"80px",class:"px-[10px]"},{default:n(()=>[o(d,{label:e(s)("title")},{default:n(()=>[o(V,{modelValue:e(t).editComponent.list.text,"onUpdate:modelValue":l[3]||(l[3]=a=>e(t).editComponent.list.text=a),placeholder:e(s)("titlePlaceholder"),clearable:"","show-word-limit":""},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),o(d,{label:"点击类型"},{default:n(()=>[o(u,{modelValue:e(t).editComponent.showType,"onUpdate:modelValue":l[4]||(l[4]=a=>e(t).editComponent.showType=a),class:"mb-[18px]"},{default:n(()=>[o(m,{label:"popup"},{default:n(()=>[p("弹出公告内容")]),_:1}),o(m,{label:"link"},{default:n(()=>[p("跳出链接")]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(t).editComponent.showType=="link"?(r(),K(d,{key:0,label:e(s)("link"),class:"!mb-0"},{default:n(()=>[o(U,{modelValue:e(t).editComponent.list.link,"onUpdate:modelValue":l[5]||(l[5]=a=>e(t).editComponent.list.link=a)},null,8,["modelValue"])]),_:1},8,["label"])):_("",!0)]),_:1})])],512),[[b,e(t).editTab=="content"]]),x(i("div",Z,[i("div",H,[i("h3",$,g(e(s)("titleStyle")),1),o(C,{"label-width":"80px",class:"px-[10px]"},{default:n(()=>[o(d,{label:e(s)("textFontSize")},{default:n(()=>[o(w,{modelValue:e(t).editComponent.fontSize,"onUpdate:modelValue":l[6]||(l[6]=a=>e(t).editComponent.fontSize=a),"show-input":"",size:"small",class:"ml-[10px] article-slider",min:12,max:20},null,8,["modelValue"])]),_:1},8,["label"]),o(d,{label:e(s)("textFontWeight")},{default:n(()=>[o(u,{modelValue:e(t).editComponent.fontWeight,"onUpdate:modelValue":l[7]||(l[7]=a=>e(t).editComponent.fontWeight=a)},{default:n(()=>[o(m,{label:"normal"},{default:n(()=>[p(g(e(s)("fontWeightNormal")),1)]),_:1}),o(m,{label:"bold"},{default:n(()=>[p(g(e(s)("fontWeightBold")),1)]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["label"]),o(d,{label:e(s)("textColor")},{default:n(()=>[o(E,{modelValue:e(t).editComponent.textColor,"onUpdate:modelValue":l[8]||(l[8]=a=>e(t).editComponent.textColor=a)},null,8,["modelValue"])]),_:1},8,["label"])]),_:1})]),X(y.$slots,"style")],512),[[b,e(t).editTab=="style"]])],64)}}});const Fe=Object.freeze(Object.defineProperty({__proto__:null,default:ee},Symbol.toStringTag,{value:"Module"}));export{Fe as _};
|