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
4.5 KiB
1 lines
4.5 KiB
import{d as g,r as x,h as S,c as v,J as h,a9 as C,u as e,a as i,t as m,k as o,e as t,w as a,i as u,b as y,F as U,D as W,G as z,H as E,b4 as F,aa as B,ab as T,b2 as k}from"./index-7e4fdde7.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-tooltip-4ed993c7.js";/* empty css *//* empty css */import"./el-form-item-4ed993c7.js";import{u as N}from"./diy-c14af2d3.js";const D={class:"content-wrap"},P={class:"edit-attr-item-wrap"},M={class:"mb-[10px]"},j={class:"edit-attr-item-wrap"},G={class:"mb-[10px]"},I={class:"style-wrap"},O={class:"edit-attr-item-wrap"},R={class:"mb-[10px]"},H={class:"edit-attr-item-wrap"},J={class:"mb-[10px]"},$={class:"edit-attr-item-wrap"},q={class:"mb-[10px]"},A=g({__name:"edit-shop-order-info",setup(K,{expose:V}){const l=N();return l.editComponent.ignore=["componentBgUrl"],x(!1),x(l.editComponent.style),V({}),(w,n)=>{const f=W,s=z,r=E,b=F,p=B,c=T,_=k;return S(),v(U,null,[h(i("div",D,[i("div",P,[i("h3",M,m(e(o)("titleContent")),1),t(r,{"label-width":"80px",class:"px-[10px]"},{default:a(()=>[t(s,{label:e(o)("title")},{default:a(()=>[t(f,{modelValue:e(l).editComponent.text,"onUpdate:modelValue":n[0]||(n[0]=d=>e(l).editComponent.text=d),modelModifiers:{trim:!0},placeholder:e(o)("titlePlaceholder"),clearable:"",maxlength:"6","show-word-limit":""},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_:1})]),i("div",j,[i("h3",G,m(e(o)("subTitle")),1),t(r,{"label-width":"80px",class:"px-[10px]"},{default:a(()=>[t(s,{label:e(o)("more")},{default:a(()=>[t(f,{modelValue:e(l).editComponent.more.text,"onUpdate:modelValue":n[1]||(n[1]=d=>e(l).editComponent.more.text=d),modelModifiers:{trim:!0},placeholder:e(o)("morePlaceholder"),clearable:"",maxlength:"8","show-word-limit":""},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_:1})])],512),[[C,e(l).editTab=="content"]]),h(i("div",I,[i("div",O,[i("h3",R,m(e(o)("titleStyle")),1),t(r,{"label-width":"80px",class:"px-[10px]"},{default:a(()=>[t(s,{label:e(o)("textFontSize")},{default:a(()=>[t(b,{modelValue:e(l).editComponent.fontSize,"onUpdate:modelValue":n[2]||(n[2]=d=>e(l).editComponent.fontSize=d),"show-input":"",size:"small",class:"ml-[10px] diy-nav-slider",min:12,max:30},null,8,["modelValue"])]),_:1},8,["label"]),t(s,{label:e(o)("textFontWeight")},{default:a(()=>[t(c,{modelValue:e(l).editComponent.fontWeight,"onUpdate:modelValue":n[3]||(n[3]=d=>e(l).editComponent.fontWeight=d)},{default:a(()=>[t(p,{label:"normal"},{default:a(()=>[u(m(e(o)("fontWeightNormal")),1)]),_:1}),t(p,{label:"bold"},{default:a(()=>[u(m(e(o)("fontWeightBold")),1)]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["label"]),t(s,{label:e(o)("textColor")},{default:a(()=>[t(_,{modelValue:e(l).editComponent.textColor,"onUpdate:modelValue":n[4]||(n[4]=d=>e(l).editComponent.textColor=d)},null,8,["modelValue"])]),_:1},8,["label"])]),_:1})]),i("div",H,[i("h3",J,m(e(o)("subTitleStyle")),1),t(r,{"label-width":"80px",class:"px-[10px]"},{default:a(()=>[t(s,{label:e(o)("textColor")},{default:a(()=>[t(_,{modelValue:e(l).editComponent.more.color,"onUpdate:modelValue":n[5]||(n[5]=d=>e(l).editComponent.more.color=d)},null,8,["modelValue"])]),_:1},8,["label"])]),_:1})]),i("div",$,[i("h3",q,m(e(o)("textSet")),1),t(r,{"label-width":"90px",class:"px-[10px]"},{default:a(()=>[t(s,{label:e(o)("textFontSize")},{default:a(()=>[t(b,{modelValue:e(l).editComponent.item.fontSize,"onUpdate:modelValue":n[6]||(n[6]=d=>e(l).editComponent.item.fontSize=d),"show-input":"",size:"small",class:"ml-[10px] diy-nav-slider",min:12,max:16},null,8,["modelValue"])]),_:1},8,["label"]),t(s,{label:e(o)("textFontWeight")},{default:a(()=>[t(c,{modelValue:e(l).editComponent.item.fontWeight,"onUpdate:modelValue":n[7]||(n[7]=d=>e(l).editComponent.item.fontWeight=d)},{default:a(()=>[t(p,{label:"normal"},{default:a(()=>[u(m(e(o)("fontWeightNormal")),1)]),_:1}),t(p,{label:"bold"},{default:a(()=>[u(m(e(o)("fontWeightBold")),1)]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["label"]),t(s,{label:e(o)("textColor")},{default:a(()=>[t(_,{modelValue:e(l).editComponent.item.color,"onUpdate:modelValue":n[8]||(n[8]=d=>e(l).editComponent.item.color=d),"show-alpha":"",predefine:e(l).predefineColors},null,8,["modelValue","predefine"])]),_:1},8,["label"])]),_:1})]),y(w.$slots,"style")],512),[[C,e(l).editTab=="style"]])],64)}}}),se=Object.freeze(Object.defineProperty({__proto__:null,default:A},Symbol.toStringTag,{value:"Module"}));export{se as _};
|
|
|