1 |
- import{d as B,u as w,o as y,c as z,w as a,a as i,b as t,n as F,Z as k,V as x,ad as c,j as V,e as n,d3 as s,l as u,Q as d,d4 as o,h as D,d5 as S,al as U,_ as b}from"./index.6c36cb53.js";import{M as A}from"./index.a696a3d7.js";import{V as v}from"./VSlider.4e6efa7b.js";const M={class:"px-3"},j={class:"d-flex my-2"},E={class:"d-flex justify-center algin-center"},L={class:"d-flex justify-center algin-center"},N=B({__name:"index",setup(R){const{isShow:m,showDialog:r}=w(!1,"Mx_SetAppDialog"),_=[{name:"\u786E\u5B9A",fun:()=>{S(),r(!1)},primary:!0},{name:"\u5173\u95ED",fun:()=>r(!1)}],g=p=>{const e=p.target;if(e!=null&&e.files)for(let l=0;l<e.files.length;l++){const f=e.files.item(l);if(f){const C=URL.createObjectURL(f);U.App.addNetworkLoadingFont(C)}}};return(p,e)=>(y(),z(A,{title:"\u8BBE\u7F6E","max-width":"600",modelValue:n(m),"onUpdate:modelValue":e[8]||(e[8]=l=>u(m)?m.value=l:null),footerBtnList:_},{default:a(()=>[i("div",M,[i("div",j,[i("input",{type:"file",onChange:g},null,32),t(k,{class:"ml-2"},{default:a(()=>[F("\u52A0\u8F7D\u5B57\u4F53")]),_:1})]),t(D,null,{default:a(()=>[t(x,{cols:"6",class:"mb-1"},{default:a(()=>[t(c,{title:"\u5341\u5B57\u5149\u6807\u5927\u5C0F"},{default:a(()=>[i("div",E,[t(V,{modelValue:n(s),"onUpdate:modelValue":e[0]||(e[0]=l=>u(s)?s.value=l:null),class:"pa-0",style:{"max-width":"36px"}},null,8,["modelValue"]),t(v,{"thumb-size":10,"tick-size":1,max:128,color:"#007AD9",modelValue:n(s),"onUpdate:modelValue":e[3]||(e[3]=l=>u(s)?s.value=l:null),"hide-details":"",step:1},{prepend:a(()=>[t(d,{icon:"class:iconfont minus",size:"x-small",variant:"text",onClick:e[1]||(e[1]=l=>n(s)>0&&s.value--)})]),append:a(()=>[t(d,{icon:"class:iconfont plus",size:"x-small",variant:"text",onClick:e[2]||(e[2]=l=>n(s)<128&&s.value++)})]),_:1},8,["modelValue"])])]),_:1})]),_:1}),t(x,{cols:"6",class:"mb-1","align-self":"start"},{default:a(()=>[t(c,{title:"\u9776\u6846\u5927\u5C0F"},{default:a(()=>[i("div",L,[t(V,{modelValue:n(o),"onUpdate:modelValue":e[4]||(e[4]=l=>u(o)?o.value=l:null),class:"pa-0",style:{"max-width":"36px"}},null,8,["modelValue"]),t(v,{"thumb-size":10,"tick-size":1,color:"#007AD9",modelValue:n(o),"onUpdate:modelValue":e[7]||(e[7]=l=>u(o)?o.value=l:null),min:0,max:68,"hide-details":"",step:1},{prepend:a(()=>[t(d,{icon:"class:iconfont minus",size:"x-small",variant:"text",onClick:e[5]||(e[5]=l=>n(o)>0&&o.value--)})]),append:a(()=>[t(d,{icon:"class:iconfont plus",size:"x-small",variant:"text",onClick:e[6]||(e[6]=l=>n(o)<68&&o.value++)})]),_:1},8,["modelValue"])])]),_:1})]),_:1})]),_:1})])]),_:1},8,["modelValue"]))}});const T=b(N,[["__scopeId","data-v-4434fa17"]]);export{T as default};
|