Skip to content

Commit 0645768

Browse files
authored
Merge pull request #24 from Jiuri3/main
想打apex
2 parents 77c0ad1 + 4f88706 commit 0645768

File tree

13 files changed

+11
-11
lines changed

13 files changed

+11
-11
lines changed

.DS_Store

0 Bytes
Binary file not shown.

autofit.js/404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</head>
1818
<body>
1919
<div id="app"></div>
20-
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api.md\":\"Bu64bE4N\",\"close.md\":\"BPYEnJ9U\",\"index.md\":\"COidOoSi\",\"question.md\":\"YBcBj4_n\",\"theory.md\":\"BGajCe4N\",\"use.md\":\"BjTtNImz\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"autofit.js\",\"description\":\"迄今为止最易用的自适应工具\",\"base\":\"/autofit.js/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"./logo.png\",\"nav\":[{\"text\":\"概览\",\"link\":\"/\"},{\"text\":\"文档\",\"link\":\"/use\"}],\"sidebar\":[{\"items\":[{\"text\":\"即刻使用\",\"link\":\"/use\"},{\"text\":\"进阶参数\",\"link\":\"/api\"},{\"text\":\"关闭 autofit.js\",\"link\":\"/close\"},{\"text\":\"了解 autofit.js 原理\",\"link\":\"/theory\"},{\"text\":\"还有问题?\",\"link\":\"/question\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/LarryZhu-dev/autofit.js\"}]},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":false}");</script>
20+
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api.md\":\"Bu64bE4N\",\"close.md\":\"BPYEnJ9U\",\"index.md\":\"COidOoSi\",\"question.md\":\"Do09Uz-q\",\"theory.md\":\"BGajCe4N\",\"use.md\":\"BjTtNImz\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"autofit.js\",\"description\":\"迄今为止最易用的自适应工具\",\"base\":\"/autofit.js/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"./logo.png\",\"nav\":[{\"text\":\"概览\",\"link\":\"/\"},{\"text\":\"文档\",\"link\":\"/use\"}],\"sidebar\":[{\"items\":[{\"text\":\"即刻使用\",\"link\":\"/use\"},{\"text\":\"进阶参数\",\"link\":\"/api\"},{\"text\":\"关闭 autofit.js\",\"link\":\"/close\"},{\"text\":\"了解 autofit.js 原理\",\"link\":\"/theory\"},{\"text\":\"还有问题?\",\"link\":\"/question\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/LarryZhu-dev/autofit.js\"}]},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":false}");</script>
2121

2222
</body>
2323
</html>

autofit.js/api.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">});</span></span></code></pre></div><p>对于 element-ui 可以直接使用 auto-element 替换原有的 element-ui,auto-element 是对 element-ui 的偏移问题进行了修复,使用方法与 element-ui 一致。</p><p>此方法由仓库成员 <a href="https://github.com/ffgenius" target="_blank" rel="noreferrer">@ffgenius</a> 提供</p><div class="language-shell vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">shell</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">pnpm</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> i</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> auto-element</span></span></code></pre></div><p>具体参考:<a href="https://github.com/Auto-Plugin/auto-element/blob/dev/README.md" target="_blank" rel="noreferrer">auto-element</a></p><h2 id="获取当前缩放值" tabindex="-1">获取当前缩放值 <a class="header-anchor" href="#获取当前缩放值" aria-label="Permalink to &quot;获取当前缩放值&quot;"></a></h2><div class="language-js vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">js</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">window.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">addEventListener</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;resize&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, () </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
5252
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> console.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">log</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(autofit.scale) </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// 每次改变窗口大小时,此值会改变</span></span>
5353
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">})</span></span></code></pre></div><p>此方法由仓库成员 <a href="https://github.com/ffgenius" target="_blank" rel="noreferrer">@ffgenius</a> 提供</p></div></div></main><footer class="VPDocFooter" data-v-39a288b8 data-v-e257564d><!--[--><!--]--><!----><nav class="prev-next" aria-labelledby="doc-footer-aria-label" data-v-e257564d><span class="visually-hidden" id="doc-footer-aria-label" data-v-e257564d>Pager</span><div class="pager" data-v-e257564d><a class="VPLink link pager-link prev" href="/autofit.js/use.html" data-v-e257564d><!--[--><span class="desc" data-v-e257564d>Previous page</span><span class="title" data-v-e257564d>即刻使用</span><!--]--></a></div><div class="pager" data-v-e257564d><a class="VPLink link pager-link next" href="/autofit.js/close.html" data-v-e257564d><!--[--><span class="desc" data-v-e257564d>Next page</span><span class="title" data-v-e257564d>关闭 autofit.js</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><!----><!--[--><!--]--></div></div>
54-
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api.md\":\"Bu64bE4N\",\"close.md\":\"BPYEnJ9U\",\"index.md\":\"COidOoSi\",\"question.md\":\"YBcBj4_n\",\"theory.md\":\"BGajCe4N\",\"use.md\":\"BjTtNImz\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"autofit.js\",\"description\":\"迄今为止最易用的自适应工具\",\"base\":\"/autofit.js/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"./logo.png\",\"nav\":[{\"text\":\"概览\",\"link\":\"/\"},{\"text\":\"文档\",\"link\":\"/use\"}],\"sidebar\":[{\"items\":[{\"text\":\"即刻使用\",\"link\":\"/use\"},{\"text\":\"进阶参数\",\"link\":\"/api\"},{\"text\":\"关闭 autofit.js\",\"link\":\"/close\"},{\"text\":\"了解 autofit.js 原理\",\"link\":\"/theory\"},{\"text\":\"还有问题?\",\"link\":\"/question\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/LarryZhu-dev/autofit.js\"}]},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":false}");</script>
54+
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api.md\":\"Bu64bE4N\",\"close.md\":\"BPYEnJ9U\",\"index.md\":\"COidOoSi\",\"question.md\":\"Do09Uz-q\",\"theory.md\":\"BGajCe4N\",\"use.md\":\"BjTtNImz\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"autofit.js\",\"description\":\"迄今为止最易用的自适应工具\",\"base\":\"/autofit.js/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"./logo.png\",\"nav\":[{\"text\":\"概览\",\"link\":\"/\"},{\"text\":\"文档\",\"link\":\"/use\"}],\"sidebar\":[{\"items\":[{\"text\":\"即刻使用\",\"link\":\"/use\"},{\"text\":\"进阶参数\",\"link\":\"/api\"},{\"text\":\"关闭 autofit.js\",\"link\":\"/close\"},{\"text\":\"了解 autofit.js 原理\",\"link\":\"/theory\"},{\"text\":\"还有问题?\",\"link\":\"/question\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/LarryZhu-dev/autofit.js\"}]},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":false}");</script>
5555

5656
</body>
5757
</html>

autofit.js/assets/c.B7UWarMO.jpg

171 KB
Loading

autofit.js/assets/c.BaXsQ4yg.jpg

-168 KB
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

autofit.js/assets/question.md.YBcBj4_n.lean.js renamed to autofit.js/assets/question.md.Do09Uz-q.lean.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)