会员支付管理后台-用于提供会员管理小程序支付的api接口,与后台数据管理展示
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1 lines
2.9 KiB

import{d as x,s as V,R as S,h as y,c as v,y as _,z as c,u as l,a as i,t as p,N as a,e as t,w as n,F as B,W as U,X as C,aK as E,Y as k,cC as T,cB as N}from"./index-6010b07e.js";/* empty css *//* empty css *//* empty css */import"./el-tooltip-4ed993c7.js";/* empty css */import{_ as z}from"./index-4718d422.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-form-item-4ed993c7.js";import{u as F}from"./diy-8d93d096.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"},W={class:"edit-attr-item-wrap"},H={class:"mb-[10px]"},K={class:"edit-attr-item-wrap"},M={class:"mb-[10px]"},R=x({__name:"edit-page",setup(X,{expose:b}){const e=F();return V(()=>e.global.bgUrl,(g,o)=>{const r=new Image;r.src=S(e.global.bgUrl),r.onload=async()=>{e.global.imgWidth=r.width,e.global.imgHeight=r.height}}),b({}),(g,o)=>{const r=U,m=C,u=E,d=k,h=T,w=z,f=N;return y(),v(B,null,[_(i("div",D,[i("div",I,[i("h3",P,p(l(a)("pageContent")),1),t(d,{"label-width":"80px",class:"px-[10px]"},{default:n(()=>[t(m,{label:l(a)("pageName")},{default:n(()=>[t(r,{modelValue:l(e).global.title,"onUpdate:modelValue":o[0]||(o[0]=s=>l(e).global.title=s),placeholder:l(a)("pageNamePlaceholder"),clearable:"",maxlength:"12","show-word-limit":""},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),t(m,{label:l(a)("tabbar"),class:"display-block"},{default:n(()=>[t(u,{modelValue:l(e).global.bottomTabBarSwitch,"onUpdate:modelValue":o[1]||(o[1]=s=>l(e).global.bottomTabBarSwitch=s)},null,8,["modelValue"]),i("div",j,p(l(a)("tabbarSwitchTips")),1)]),_:1},8,["label"])]),_:1})])],512),[[c,l(e).editTab=="content"]]),_(i("div",O,[i("div",W,[i("h3",H,p(l(a)("pageStyle")),1),t(d,{"label-width":"80px",class:"px-[10px]"},{default:n(()=>[t(m,{label:l(a)("pageBgColor")},{default:n(()=>[t(h,{modelValue:l(e).global.pageBgColor,"onUpdate:modelValue":o[2]||(o[2]=s=>l(e).global.pageBgColor=s),"show-alpha":"",predefine:l(e).predefineColors},null,8,["modelValue","predefine"])]),_:1},8,["label"]),t(m,{label:l(a)("bgUrl")},{default:n(()=>[t(w,{modelValue:l(e).global.bgUrl,"onUpdate:modelValue":o[3]||(o[3]=s=>l(e).global.bgUrl=s),limit:1},null,8,["modelValue"])]),_:1},8,["label"])]),_:1})]),i("div",K,[i("h3",M,p(l(a)("marginSet")),1),t(d,{"label-width":"80px",class:"px-[10px]"},{default:n(()=>[t(m,{label:l(a)("marginBoth")},{default:n(()=>[t(f,{modelValue:l(e).global.template.margin.both,"onUpdate:modelValue":o[4]||(o[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),[[c,l(e).editTab=="style"]])],64)}}}),al=Object.freeze(Object.defineProperty({__proto__:null,default:R},Symbol.toStringTag,{value:"Module"}));export{al as _};