| 1234 |
- /*!
- Build based on gin-vue-admin
- Time : 1757946830000 */
- import{_ as e,M as a,N as t,g as s,c as l,o as r,b as d,f as o,v as i,w as n}from"./index.DlqNVRUO.js";import g from"./layoutModeCard.covlLoHE.js";import m from"./settingItem.BCLFlxOG.js";const x={class:"font-inter"},c={class:"mb-10"},y={class:"section-content"},u={class:"mb-10"},b={class:"section-content"},p={class:"bg-gray-50 dark:bg-gray-800 border border-gray-200 dark:border-gray-700 rounded-xl p-6 shadow-sm"},f={class:"mb-10"},v={class:"section-content"},h={class:"bg-gray-50 dark:bg-gray-800 border border-gray-200 dark:border-gray-700 rounded-xl p-6 shadow-sm"},k={class:"space-y-6"},_={class:"bg-white dark:bg-gray-700 border border-gray-200 dark:border-gray-600 rounded-lg p-5 hover:shadow-md transition-all duration-150 ease-in-out hover:-translate-y-0.5"},w={class:"flex items-center justify-between"},V={class:"flex items-center gap-2"},j={class:"bg-white dark:bg-gray-700 border border-gray-200 dark:border-gray-600 rounded-lg p-5 hover:shadow-md transition-all duration-150 ease-in-out hover:-translate-y-0.5"},U={class:"flex items-center justify-between"},z={class:"flex items-center gap-2"},C={class:"bg-white dark:bg-gray-700 border border-gray-200 dark:border-gray-600 rounded-lg p-5 hover:shadow-md transition-all duration-150 ease-in-out hover:-translate-y-0.5"},T={class:"flex items-center justify-between"},M={class:"flex items-center gap-2"},I=e(Object.assign({name:"LayoutSettings"},{__name:"index",setup(e){const I=a(),{config:L}=t(I);return(e,a)=>{const t=s("el-switch"),S=s("el-option"),K=s("el-select"),N=s("el-input-number");return r(),l("div",x,[d("div",c,[a[6]||(a[6]=d("div",{class:"flex items-center justify-center mb-6"},[d("div",{class:"h-px bg-gray-200 dark:bg-gray-700 flex-1"}),d("span",{class:"px-6 text-lg font-semibold text-gray-700 dark:text-gray-300"},"布局模式"),d("div",{class:"h-px bg-gray-200 dark:bg-gray-700 flex-1"})],-1)),d("div",y,[o(g,{modelValue:i(L).side_mode,"onUpdate:modelValue":[a[0]||(a[0]=e=>i(L).side_mode=e),i(I).toggleSideMode]},null,8,["modelValue","onUpdate:modelValue"])])]),d("div",u,[a[9]||(a[9]=d("div",{class:"flex items-center justify-center mb-6"},[d("div",{class:"h-px bg-gray-200 dark:bg-gray-700 flex-1"}),d("span",{class:"px-6 text-lg font-semibold text-gray-700 dark:text-gray-300"},"界面配置"),d("div",{class:"h-px bg-gray-200 dark:bg-gray-700 flex-1"})],-1)),d("div",b,[d("div",p,[o(m,{label:"显示标签页"},{suffix:n(()=>[...a[7]||(a[7]=[d("span",{class:"text-xs text-gray-400 dark:text-gray-500 ml-2"},"页面标签导航",-1)])]),default:n(()=>[o(t,{modelValue:i(L).showTabs,"onUpdate:modelValue":a[1]||(a[1]=e=>i(L).showTabs=e),onChange:i(I).toggleTabs},null,8,["modelValue","onChange"])]),_:1}),o(m,{label:"页面切换动画"},{suffix:n(()=>[...a[8]||(a[8]=[d("span",{class:"text-xs text-gray-400 dark:text-gray-500 ml-2"},"页面过渡效果",-1)])]),default:n(()=>[o(K,{modelValue:i(L).transition_type,"onUpdate:modelValue":a[2]||(a[2]=e=>i(L).transition_type=e),onChange:i(I).toggleTransition,class:"w-32",size:"small"},{default:n(()=>[o(S,{value:"fade",label:"淡入淡出"}),o(S,{value:"slide",label:"滑动"}),o(S,{value:"zoom",label:"缩放"}),o(S,{value:"none",label:"无动画"})]),_:1},8,["modelValue","onChange"])]),_:1})])])]),d("div",f,[a[16]||(a[16]=d("div",{class:"flex items-center justify-center mb-6"},[d("div",{class:"h-px bg-gray-200 dark:bg-gray-700 flex-1"}),d("span",{class:"px-6 text-lg font-semibold text-gray-700 dark:text-gray-300"},"尺寸配置"),d("div",{class:"h-px bg-gray-200 dark:bg-gray-700 flex-1"})],-1)),d("div",v,[d("div",h,[d("div",k,[d("div",_,[d("div",w,[a[11]||(a[11]=d("div",null,[d("h4",{class:"text-sm font-medium text-gray-900 dark:text-white"},"侧边栏展开宽度"),d("p",{class:"text-xs text-gray-500 dark:text-gray-400 mt-1"},"侧边栏完全展开时的宽度")],-1)),d("div",V,[o(N,{modelValue:i(L).layout_side_width,"onUpdate:modelValue":a[3]||(a[3]=e=>i(L).layout_side_width=e),min:150,max:400,step:10,size:"small",class:"w-24"},null,8,["modelValue"]),a[10]||(a[10]=d("span",{class:"text-xs font-medium text-gray-500 dark:text-gray-400"},"px",-1))])])]),d("div",j,[d("div",U,[a[13]||(a[13]=d("div",null,[d("h4",{class:"text-sm font-medium text-gray-900 dark:text-white"},"侧边栏收缩宽度"),d("p",{class:"text-xs text-gray-500 dark:text-gray-400 mt-1"},"侧边栏收缩时的最小宽度")],-1)),d("div",z,[o(N,{modelValue:i(L).layout_side_collapsed_width,"onUpdate:modelValue":a[4]||(a[4]=e=>i(L).layout_side_collapsed_width=e),min:60,max:100,size:"small",class:"w-24"},null,8,["modelValue"]),a[12]||(a[12]=d("span",{class:"text-xs font-medium text-gray-500 dark:text-gray-400"},"px",-1))])])]),d("div",C,[d("div",T,[a[15]||(a[15]=d("div",null,[d("h4",{class:"text-sm font-medium text-gray-900 dark:text-white"},"菜单项高度"),d("p",{class:"text-xs text-gray-500 dark:text-gray-400 mt-1"},"侧边栏菜单项的行高")],-1)),d("div",M,[o(N,{modelValue:i(L).layout_side_item_height,"onUpdate:modelValue":a[5]||(a[5]=e=>i(L).layout_side_item_height=e),min:30,max:50,size:"small",class:"w-24"},null,8,["modelValue"]),a[14]||(a[14]=d("span",{class:"text-xs font-medium text-gray-500 dark:text-gray-400"},"px",-1))])])])])])])])])}}}),[["__scopeId","data-v-b58c6909"]]);export{I as default};
|