2021-12-30 00:44:43 +08:00
|
|
|
|
::: anchor
|
|
|
|
|
:::
|
|
|
|
|
|
2022-02-06 03:19:24 +08:00
|
|
|
|
::: title 基本介绍
|
|
|
|
|
:::
|
|
|
|
|
|
|
|
|
|
::: describe 在实用价值的前提之下,我们并没有内置过多花俏的动画。
|
|
|
|
|
:::
|
|
|
|
|
|
2021-10-26 01:13:23 +08:00
|
|
|
|
::: title 基础使用
|
2021-10-23 15:54:37 +08:00
|
|
|
|
:::
|
|
|
|
|
|
2021-09-30 01:44:02 +08:00
|
|
|
|
::: demo
|
|
|
|
|
|
|
|
|
|
<template>
|
2021-10-08 01:57:06 +08:00
|
|
|
|
<div class="anim">
|
2021-10-08 01:08:58 +08:00
|
|
|
|
<ul class="layui-border-box site-doc-icon site-doc-anim">
|
|
|
|
|
<li style="height:auto">
|
|
|
|
|
<div class="layui-anim layui-anim-down">顶部往下滑入</div>
|
|
|
|
|
<div class="code">layui-anim-down</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li style="height:auto">
|
|
|
|
|
<div class="layui-anim layui-anim-downbit">微微往下滑入</div>
|
|
|
|
|
<div class="code">layui-anim-downbit</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li style="height:auto">
|
|
|
|
|
<div class="layui-anim layui-anim-up">底部往上滑入</div>
|
|
|
|
|
<div class="code">layui-anim-up</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li style="height:auto">
|
|
|
|
|
<div class="layui-anim layui-anim-upbit">微微往上滑入</div>
|
|
|
|
|
<div class="code">layui-anim-upbit</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li style="height:auto">
|
|
|
|
|
<div class="layui-anim layui-anim-scale">平滑放大</div>
|
|
|
|
|
<div class="code">layui-anim-scale</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li style="height:auto">
|
|
|
|
|
<div class="layui-anim layui-anim-scaleSpring">弹簧式放大</div>
|
|
|
|
|
<div class="code">layui-anim-scaleSpring</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li style="height:auto">
|
|
|
|
|
<div class="layui-anim layui-anim-scalesmall">平滑放小</div>
|
|
|
|
|
<div class="code">layui-anim-scalesmall</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li style="height:auto">
|
|
|
|
|
<div class="layui-anim layui-anim-scalesmall-spring">弹簧式放小</div>
|
|
|
|
|
<div class="code">layui-anim-scalesmall-spring</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li style="height:auto">
|
|
|
|
|
<div class="layui-anim layui-anim-fadein">渐现</div>
|
|
|
|
|
<div class="code">layui-anim-fadein</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li style="height:auto">
|
|
|
|
|
<div class="layui-anim layui-anim-fadeout">渐隐</div>
|
|
|
|
|
<div class="code">layui-anim-fadeout</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li style="height:auto">
|
|
|
|
|
<div class="layui-anim layui-anim-rotate">360度旋转</div>
|
|
|
|
|
<div class="code">layui-anim-rotate</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li style="height:auto">
|
|
|
|
|
<div class="layui-anim layui-anim-rotate layui-anim-loop">循环动画</div>
|
|
|
|
|
<div class="code">追加:layui-anim-loop</div>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
2021-10-08 01:57:06 +08:00
|
|
|
|
</div>
|
2021-09-30 01:44:02 +08:00
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import { ref } from 'vue'
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
setup() {
|
|
|
|
|
return {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
2021-10-12 11:30:07 +08:00
|
|
|
|
|
2021-10-08 01:08:58 +08:00
|
|
|
|
:::
|
|
|
|
|
|
2021-10-26 01:13:23 +08:00
|
|
|
|
::: title 动画类名
|
2021-10-13 10:19:38 +08:00
|
|
|
|
:::
|
2021-10-12 18:00:09 +08:00
|
|
|
|
|
2021-11-07 15:55:08 +08:00
|
|
|
|
::: table
|
|
|
|
|
|
2021-11-01 01:02:21 +08:00
|
|
|
|
| 类名 | 描述 | 使用 |
|
2021-10-12 11:30:07 +08:00
|
|
|
|
| --------------------------------- | ------------ | ---------------------------------------------- |
|
|
|
|
|
| layui-anim-down | 顶部往下滑入 | `layui-anim layui-anim-down` |
|
|
|
|
|
| layui-anim-downbit | 微微往下滑入 | `layui-anim layui-anim-downbit` |
|
|
|
|
|
| layui-anim-up | 底部往上滑入 | `layui-anim layui-anim-up` |
|
|
|
|
|
| layui-anim-upbit | 微微往上滑入 | `layui-anim ayui-anim-upbit` |
|
|
|
|
|
| layui-anim-scale | 平滑放大 | `layui-anim layui-anim-scale` |
|
|
|
|
|
| layui-anim-scaleSpring | 弹簧式放大 | `layui-anim layui-anim-scaleSpring` |
|
|
|
|
|
| layui-anim-scalesmall | 平滑放小 | `layui-anim layui-anim-scalesmall` |
|
|
|
|
|
| layui-anim-scalesmall-spring | 弹簧式放小 | `layui-anim layui-anim-scalesmall-spring` |
|
|
|
|
|
| layui-anim-fadein | 渐现 | `layui-anim layui-anim-fadein` |
|
|
|
|
|
| layui-anim-fadeout | 渐隐 | `layui-anim layui-anim-fadeout` |
|
|
|
|
|
| layui-anim-rotate | 360 度旋转 | `layui-anim layui-anim-rotate` |
|
|
|
|
|
| layui-anim-rotate layui-anim-loop | 循环动画 | `layui-anim layui-anim-rotate layui-anim-loop` |
|
2021-11-07 15:55:08 +08:00
|
|
|
|
|
2021-12-16 17:57:59 +08:00
|
|
|
|
:::
|
|
|
|
|
|
|
|
|
|
::: comment
|
2022-01-12 14:19:06 +08:00
|
|
|
|
:::
|
|
|
|
|
|
|
|
|
|
::: previousNext animation
|
2021-12-14 01:15:36 +08:00
|
|
|
|
:::
|