WokerTask/public/admin/assets/oa-phone.701d950e.js

2 lines
2.5 KiB
JavaScript

import{c as V}from"./element-plus.10e48c93.js";import{d as P,bH as j,u as e,e as B,a4 as _,o,c as s,a as n,U as r,L as f,T as h,a7 as v,O as D,S as x,M as F,V as I,Q as L,bf as M,be as N}from"./@vue.51d7f2d8.js";import{u as C}from"./useMenuOa.3284185e.js";import{q as O,d as A}from"./index.8604d989.js";import"./@vueuse.ec90c285.js";import"./@element-plus.c80b8015.js";import"./lodash-es.29c53eac.js";import"./dayjs.e873ead7.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./wx_oa.43bae33d.js";import"./lodash.08438971.js";import"./axios.105476b3.js";import"./vue-router.9f65afb1.js";import"./pinia.56356cb7.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.7ac6f233.js";import"./color.44a05936.js";import"./clone.0afcbf90.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.86067895.js";import"./ms.a9ae1d6d.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.ac57a99a.js";import"./zrender.d54ce080.js";import"./tslib.60310f1a.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.40d5feba.js";const E=i=>(M("data-v-d95f9d8f"),i=i(),N(),i),G={class:"oa-phone mr-[35px]"},q=E(()=>n("div",{class:"oa-phone-content"},null,-1)),z={class:"flex oa-phone-menu"},H={class:"flex items-center justify-center oa-phone-menu-switch"},Q=["onClick"],T={class:"oa-phone-menu-subitem"},U=P({__name:"oa-phone",setup(i){j(S=>({"591d956f":e(y)}));const b=O(),y=B(()=>b.theme||"#4A5DFF"),{menuList:m,menuIndex:p,handleAddMenu:c}=C(C);return(S,l)=>{const k=_("Grid"),d=V,g=_("Plus");return o(),s("div",G,[q,n("div",z,[n("div",H,[r(d,null,{default:f(()=>[r(k)]),_:1})]),(o(!0),s(h,null,v(e(m),(t,a)=>(o(),s("div",{key:a,class:"relative flex-1",onClick:u=>p.value=a},[n("div",{class:D(["flex items-center justify-center flex-1 text-sm oa-phone-menu-item",{"active-menu":e(p)===a}])},x(t.name),3),F(n("div",T,[(o(!0),s(h,null,v(t.sub_button,(u,w)=>(o(),s("div",{key:w,class:"oa-phone-menu-subitem-title"},x(u.name),1))),128))],512),[[I,t.sub_button.length&&t.has_menu]])],8,Q))),128)),e(m).length<=2?(o(),s("div",{key:0,class:"flex items-center justify-center flex-1 h-full",onClick:l[0]||(l[0]=(...t)=>e(c)&&e(c)(...t))},[r(d,null,{default:f(()=>[r(g)]),_:1})])):L("",!0)])])}}});const jt=A(U,[["__scopeId","data-v-d95f9d8f"]]);export{jt as default};