index.88468e90.js 4.5 KB

1
  1. import{r as k,C as L,d as U,u as C,av as T,o as V,X as D,b as e,w as t,a as l,t as v,e as a,h as S,V as F,b_ as $,a0 as b,Y as j,c as R,S as x,c8 as z,U as O,b$ as X,ag as I,l as f,ad as Y,n as s,Z as d,$ as p,j as Z,p as q,m as G,_ as H}from"./index.6c36cb53.js";import{M as E}from"./index.a696a3d7.js";const J=()=>{const o=[{icon:"",text:"Standard"},{icon:"",text:"\u6837\u5F0F0"},{icon:"",text:"\u6837\u5F0F0"},{icon:"",text:"\u6837\u5F0F0"},{icon:"",text:"\u6837\u5F0F0"},{icon:"",text:"\u6837\u5F0F0"},{icon:"",text:"\u6837\u5F0F0"},{icon:"",text:"\u6837\u5F0F0"},{icon:"",text:"\u6837\u5F0F0"},{icon:"",text:"\u6837\u5F0F0"},{icon:"",text:"\u6837\u5F0F0"},{icon:"",text:"\u6837\u5F0F0"},{icon:"",text:"\u6837\u5F0F0"},{icon:"",text:"\u6837\u5F0F0"},{icon:"",text:"\u6837\u5F0F0"}],i=k(0),g=_=>{i.value=_},m=L(()=>o[i.value].text);return{items:o,index:i,setIndex:g,currentItemText:m}},K=()=>{const o=["\u6240\u6709\u6837\u5F0F","\u6B63\u5728\u4F7F\u7528\u6837\u5F0F"],i=k(o[0]);return{selectItems:o,selectCurrentItem:i}},r=o=>(q("data-v-b0b5811b"),o=o(),G(),o),P={class:"px-3 pt-2"},Q=r(()=>l("p",null,[s("\u6837\u5F0F("),l("span",{class:"text-decoration-underline"},"S"),s("):")],-1)),W=r(()=>l("p",{class:"mt-3"},[s("\u5217\u51FA("),l("span",{class:"text-decoration-underline"},"L"),s("):")],-1)),ee=r(()=>l("div",{class:"w-100 bg-black preview",style:{height:"220px"}},null,-1)),te=r(()=>l("p",null,[s("\u65B0\u6837\u5F0F\u540D("),l("span",{class:"text-decoration-underline"},"N"),s(")")],-1)),se=r(()=>l("p",null,[s("\u57FA\u7840\u6837\u5F0F("),l("span",{class:"text-decoration-underline"},"N"),s(")")],-1)),le={class:"d-flex flex-column justify-center algin-center w-100 h-100"},ue=r(()=>l("div",{class:"mt-3"},null,-1)),ae=U({__name:"index",setup(o){const{isShow:i,showDialog:g}=C(!1,"Mx_Dimstyle"),{isShow:m,showDialog:_}=C(!1),{items:B,index:N,setIndex:M,currentItemText:y}=J(),{selectItems:h,selectCurrentItem:c}=K(),A=[{name:"\u5173\u95ED",fun:()=>g(!1)}];return T(()=>{}),(ne,n)=>(V(),D(b,null,[e(E,{title:"\u6807\u6CE8\u6837\u5F0F\u7BA1\u7406\u5668",modelValue:a(i),"onUpdate:modelValue":n[2]||(n[2]=u=>f(i)?i.value=u:null),"max-width":"600",footerBtnList:A},{default:t(()=>[l("div",P,[l("p",null,"\u5F53\u524D\u6807\u6CE8\u6837\u5F0F:"+v(a(y)),1),e(S,{class:"mt-1"},{default:t(()=>[e(F,{cols:4},{default:t(()=>[Q,e($,{density:"compact",class:"list-border overflow-y py-0",height:"220"},{default:t(()=>[(V(!0),D(b,null,j(a(B),(u,w)=>(V(),R(X,{key:w+u.text,onClick:oe=>a(M)(w),value:u,class:"pa-0","min-height":"24",height:"24"},{prepend:t(()=>[e(x,{icon:u.icon},null,8,["icon"])]),default:t(()=>[e(z,{textContent:v(u.text),class:O(["",a(N)===w?"list-item-active":""])},null,8,["textContent","class"])]),_:2},1032,["onClick","value"]))),128))]),_:1}),W,e(I,{"bg-color":"grey-lighten-2",class:"",modelValue:a(c),"onUpdate:modelValue":n[0]||(n[0]=u=>f(c)?c.value=u:null),items:a(h)},null,8,["modelValue","items"])]),_:1}),e(F,{cols:6},{default:t(()=>[l("p",null,"\u9884\u89C8:"+v(a(y)),1),ee,e(Y,{title:"\u8BF4\u660E"},{default:t(()=>[s(" ISO-25 ")]),_:1})]),_:1}),e(F,{cols:2,"align-self":"start"},{default:t(()=>[e(d,{class:"mt-5 w-100"},{default:t(()=>[e(p,{"key-name":"U"},{default:t(()=>[s("\u7F6E\u4E3A\u5F53\u524D")]),_:1})]),_:1}),e(d,{class:"mt-2 w-100",onClick:n[1]||(n[1]=()=>a(_)(!0))},{default:t(()=>[e(p,{"key-name":"N"},{default:t(()=>[s("\u65B0\u5EFA")]),_:1}),e(x,{icon:"class:iconfont more"})]),_:1}),e(d,{class:"mt-2 w-100"},{default:t(()=>[e(p,{"key-name":"M"},{default:t(()=>[s("\u4FEE\u6539")]),_:1}),e(x,{icon:"class:iconfont more"})]),_:1}),e(d,{class:"mt-2 w-100"},{default:t(()=>[e(p,{"key-name":"D"},{default:t(()=>[s("\u5220\u9664")]),_:1}),e(x,{icon:"class:iconfont more"})]),_:1})]),_:1})]),_:1})])]),_:1},8,["modelValue"]),e(E,{title:"\u521B\u5EFA\u65B0\u6807\u6CE8\u6837\u5F0F","max-width":"300",modelValue:a(m),"onUpdate:modelValue":n[5]||(n[5]=u=>f(m)?m.value=u:null)},{actions:t(()=>[ue]),default:t(()=>[e(S,{class:"px-3"},{default:t(()=>[e(F,{cols:"9"},{default:t(()=>[te,e(Z,{class:"mt-2"}),se,e(I,{"bg-color":"grey-lighten-2",class:"",modelValue:a(c),"onUpdate:modelValue":n[3]||(n[3]=u=>f(c)?c.value=u:null),items:a(h)},null,8,["modelValue","items"])]),_:1}),e(F,{cols:"3","justify-center":"","align-self":"center"},{default:t(()=>[l("div",le,[e(d,{primary:"",class:"mt-6 w-100"},{default:t(()=>[s(" \u7EE7\u7EED ")]),_:1}),e(d,{class:"mt-6 w-100",onClick:n[4]||(n[4]=u=>a(_)(!1))},{default:t(()=>[s(" \u53D6\u6D88 ")]),_:1})])]),_:1})]),_:1})]),_:1},8,["modelValue"])],64))}});const de=H(ae,[["__scopeId","data-v-b0b5811b"]]);export{de as default};