mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2025-12-15 12:02:48 +00:00
2 lines
3.1 KiB
JavaScript
2 lines
3.1 KiB
JavaScript
import"./base-0e92f4db.js";/* empty css *//* empty css *//* empty css */import"./el-tooltip-4ed993c7.js";/* empty css */import{_ as x}from"./index-1bbf37b4.js";/* empty css *//* empty css */import{a as V,E as S}from"./el-form-item-c2dd2ffe.js";/* empty css */import{v as _}from"./event-a537c4cb.js";import{t as a}from"./index-8f29cb04.js";import{u as E}from"./diy-2f08077e.js";import{c as v}from"./common-46715e7e.js";import{E as y}from"./index-8cefa3ab.js";import{E as U}from"./index-bffcf33f.js";import{E as B}from"./index-da35968d.js";import{E as C}from"./index-b4463d31.js";import{d as k,w as T,b as F,e as N,L as b,u as l,f as i,x as p,q as o,p as r,F as z}from"./runtime-core.esm-bundler-67034826.js";const D={class:"content-wrap"},I={class:"edit-attr-item-wrap"},P={class:"mb-[10px]"},j={class:"text-sm text-gray-400"},O={class:"style-wrap"},q={class:"edit-attr-item-wrap"},H={class:"mb-[10px]"},L={class:"edit-attr-item-wrap"},M={class:"mb-[10px]"},W=k({__name:"edit-page",setup(A,{expose:c}){const e=E();return T(()=>e.global.bgUrl,(g,t)=>{let m=new Image;m.src=v(e.global.bgUrl),m.onload=async()=>{e.global.imgWidth=m.width,e.global.imgHeight=m.height}}),c({}),(g,t)=>{const m=y,n=V,u=U,d=S,h=B,f=x,w=C;return F(),N(z,null,[b(i("div",D,[i("div",I,[i("h3",P,p(l(a)("pageContent")),1),o(d,{"label-width":"80px",class:"px-[10px]"},{default:r(()=>[o(n,{label:l(a)("pageName")},{default:r(()=>[o(m,{modelValue:l(e).global.title,"onUpdate:modelValue":t[0]||(t[0]=s=>l(e).global.title=s),placeholder:l(a)("pageNamePlaceholder"),clearable:"",maxlength:"12","show-word-limit":""},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),o(n,{label:l(a)("tabbar"),class:"display-block"},{default:r(()=>[o(u,{modelValue:l(e).global.bottomTabBarSwitch,"onUpdate:modelValue":t[1]||(t[1]=s=>l(e).global.bottomTabBarSwitch=s)},null,8,["modelValue"]),i("div",j,p(l(a)("tabbarSwitchTips")),1)]),_:1},8,["label"])]),_:1})])],512),[[_,l(e).editTab=="content"]]),b(i("div",O,[i("div",q,[i("h3",H,p(l(a)("pageStyle")),1),o(d,{"label-width":"80px",class:"px-[10px]"},{default:r(()=>[o(n,{label:l(a)("pageBgColor")},{default:r(()=>[o(h,{modelValue:l(e).global.pageBgColor,"onUpdate:modelValue":t[2]||(t[2]=s=>l(e).global.pageBgColor=s),"show-alpha":"",predefine:l(e).predefineColors},null,8,["modelValue","predefine"])]),_:1},8,["label"]),o(n,{label:l(a)("bgUrl")},{default:r(()=>[o(f,{modelValue:l(e).global.bgUrl,"onUpdate:modelValue":t[3]||(t[3]=s=>l(e).global.bgUrl=s),limit:1},null,8,["modelValue"])]),_:1},8,["label"])]),_:1})]),i("div",L,[i("h3",M,p(l(a)("marginSet")),1),o(d,{"label-width":"80px",class:"px-[10px]"},{default:r(()=>[o(n,{label:l(a)("marginBoth")},{default:r(()=>[o(w,{modelValue:l(e).global.template.margin.both,"onUpdate:modelValue":t[4]||(t[4]=s=>l(e).global.template.margin.both=s),"show-input":"",size:"small",class:"ml-[10px] horz-blank-slider"},null,8,["modelValue"])]),_:1},8,["label"])]),_:1})])],512),[[_,l(e).editTab=="style"]])],64)}}}),dl=Object.freeze(Object.defineProperty({__proto__:null,default:W},Symbol.toStringTag,{value:"Module"}));export{dl as _};
|