Files
aiot-platform-ui/apps/web-antd/dist/js/property-BUSbE2_2.js

2 lines
1.6 KiB
JavaScript

import{m as d,ab as s,b2 as u,bJ as t,j as l,u as e,cd as i,ai as b}from"../jse/index-index-CO0ZsLf2.js";import{c9 as m,bS as f,bW as c,bY as V}from"./bootstrap-DsjPfOC_.js";import g from"./index-BygQtlW3.js";import"./vuedraggable.umd-CRXParXX.js";import"./index-9rdNWNMZ.js";/* empty css *//* empty css *//* empty css */import"./index-B0mCyCFL.js";const P=d({name:"PageConfigProperty",__name:"property",props:{modelValue:{}},emits:["update:modelValue"],setup(p,{emit:n}){const a=i(p,"modelValue",n);return(x,o)=>(u(),s(e(V),{model:e(a),"label-col":{span:6},"wrapper-col":{span:18}},{default:t(()=>[l(e(m),{label:"页面描述",name:"description"},{default:t(()=>[l(e(f),{value:e(a).description,"onUpdate:value":o[0]||(o[0]=r=>e(a).description=r),placeholder:"用户通过微信分享给朋友时,会自动显示页面描述",rows:3},null,8,["value"])]),_:1}),l(e(m),{label:"背景颜色",name:"backgroundColor"},{default:t(()=>[l(e(g),{modelValue:e(a).backgroundColor,"onUpdate:modelValue":o[1]||(o[1]=r=>e(a).backgroundColor=r)},null,8,["modelValue"])]),_:1}),l(e(m),{label:"背景图片",name:"backgroundImage"},{default:t(()=>[l(c,{modelValue:e(a).backgroundImage,"onUpdate:modelValue":o[2]||(o[2]=r=>e(a).backgroundImage=r),limit:1,"show-description":!1},{tip:t(()=>[...o[3]||(o[3]=[b("建议宽度 750px",-1)])]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"]))}});export{P as default};