| 123456789 |
- /**
- * 由 Fantastic-admin 提供技术支持
- * Powered by Fantastic-admin
- * Gitee https://gitee.com/hooray/fantastic-admin
- * Github https://github.com/hooray/fantastic-admin
- */
-
- import{j as s,r as l,o as a,a0 as d,k as r,l as i,n as _,q as m,u}from"./runtime-core.esm-bundler-5fc1c360.js";import{_ as p}from"./_plugin-vue_export-helper-c27b6911.js";const f=s({name:"FixedActionBar"}),h=s({...f,setup(v){const t=l(!1);a(()=>{e(),window.addEventListener("scroll",e)}),d(()=>{window.removeEventListener("scroll",e)});function e(){const o=document.documentElement.scrollTop||document.body.scrollTop,n=document.documentElement.clientHeight||document.body.clientHeight,c=document.documentElement.scrollHeight||document.body.scrollHeight;t.value=Math.ceil(o+n)>=c}return(o,n)=>(r(),i("div",{class:m(["actionbar",{shadow:!u(t)}]),"data-fixed-calc-width":""},[_(o.$slots,"default",{},void 0,!0)],2))}});const x=p(h,[["__scopeId","data-v-4af3e54d"]]);export{x as _};
|