data_center/public/admin/assets/oa-phone.f8ae4a78.js

2 lines
2.5 KiB
JavaScript
Raw Normal View History

2023-09-18 09:11:13 +08:00
import{c as P}from"./element-plus.317dd699.js";import{d as V,by as j,e as B,a4 as d,o as e,c as o,a as n,U as r,L as h,V as f,a7 as v,u as s,R as D,P as F,T as x,M as I,O as L,b7 as M,b6 as N}from"./@vue.e8706010.js";import{u as b}from"./useMenuOa.f9e394e9.js";import{k as O,d as A}from"./index.ffa405f0.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f7363e4f.js";import"./axios.3af9fe4b.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./wx_oa.c379c343.js";import"./lodash.873faf2b.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.1a2c9cae.js";import"./color.3050aad5.js";import"./clone.3b081931.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.21f7a9fd.js";import"./ms.a9ae1d6d.js";import"./nprogress.fd69c5bf.js";import"./vue-clipboard3.9796a14d.js";import"./clipboard.2bdac801.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const E=i=>(M("data-v-3ba084df"),i=i(),N(),i),G={class:"oa-phone mr-[35px]"},z=E(()=>n("div",{class:"oa-phone-content"},null,-1)),R={class:"flex oa-phone-menu"},T={class:"flex items-center justify-center oa-phone-menu-switch"},U=["onClick"],$={class:"oa-phone-menu-subitem"},q=V({__name:"oa-phone",setup(i){j(k=>({"2d48fecc":s(C)}));const y=O(),C=B(()=>y.theme||"#4A5DFF"),{menuList:m,menuIndex:p,handleAddMenu:c}=b(b);return(k,l)=>{const S=d("Grid"),u=P,g=d("Plus");return e(),o("div",G,[z,n("div",R,[n("div",T,[r(u,null,{default:h(()=>[r(S)]),_:1})]),(e(!0),o(f,null,v(s(m),(t,a)=>(e(),o("div",{key:a,class:"relative flex-1",onClick:_=>p.value=a},[n("div",{class:F(["flex items-center justify-center flex-1 text-sm oa-phone-menu-item",{"active-menu":s(p)===a}])},x(t.name),3),I(n("div",$,[(e(!0),o(f,null,v(t.sub_button,(_,w)=>(e(),o("div",{key:w,class:"oa-phone-menu-subitem-title"},x(_.name),1))),128))],512),[[L,t.sub_button.length&&t.has_menu]])],8,U))),128)),s(m).length<=2?(e(),o("div",{key:0,class:"flex items-center justify-center flex-1 h-full",onClick:l[0]||(l[0]=(...t)=>s(c)&&s(c)(...t))},[r(u,null,{default:h(()=>[r(g)]),_:1})])):D("",!0)])])}}});const jt=A(q,[["__scopeId","data-v-3ba084df"]]);export{jt as default};