<!DOCTYPE html><html lang="en"><head>
<meta charset="UTF-8">
<title>动画</title>
<script type="text/javascript" src="vue.js"></script>
<link rel="stylesheet" type="text/css" href="animate.css">
<style type="text/css">
p {
width: 300px;
height: 300px;
background: red;
margin: 10px auto;
}
</style>
<script type="text/javascript">
window.onload = function(){ var app = new Vue({
el:'#box',
data:{
show:false
}
})
} </script></head><body>
<div id="box">
<!-- 控制数据的值切换显示隐藏 -->
<button @click="show=!show">transition</button>
<!-- <transition enter-active-class="zoomInLeft" leave-active-class="zoomOutRight">
<p v-show="show" class="animated"></p>
</transition> -->
<!-- 第二种方法 -->
<!-- <transition enter-active-class="animated zoomInLeft" leave-active-class="animated zoomOutRight">
<p v-show="show"></p>
</transition> -->
<!-- 多元素运动 -->
<transition-group enter-active-class="zoomInLeft" leave-active-class="zoomOutRight">
<p v-show="show" class="animated" :key="1"></p>
<p v-show="show" class="animated" :key="2"></p>
</transition-group>
</div></body></html>vue过渡和animate.css结合使用
-
byte数组和File,InputStream互转
byte数组和File,InputStream互转
-
AES+BASE64加解密详解
AES+BASE64加解密详解
-
AES+BASE64加解密详解
AES+BASE64加解密详解
-
Android Studio 点击运行,找不到夜神模拟器的解决办法
Android Studio 点击运行,找不到夜神模拟器的解决办法
-
Android studio 连不上虚拟机,连不上夜神模拟器,kill掉adb进程
Android studio 连不上虚拟机,连不上夜神模拟器,kill掉adb进程
-
解决“/bin/bash^M: bad interpreter: No such file or directory”
在执行shell脚本时提示这样的错误主要是由于shell脚本文件是dos格式,即每一行结尾以\r\n来标识,而unix格式的文件行尾则以\n来标识。 查看脚本文件是dos格式还是unix格式的几种办法。
-
DOS文件转换成UNIX文件格式区别以及详解
由windows平台迁移到unix系统下容易引发的问题:Linux执行脚本却提示No such file or directory
-
交叉编译知识解析(一) —— 交叉编译和交叉工具链
所谓的,交叉编译,就是:在一种平台上编译,编译出来的程序,是放到别的平台上运行即编译的环境,和运行的环境不一样,属于交叉的,此所谓cross。
-
交叉编译知识解析(二) —— 交叉编译器的名字的命名规则
表示交叉编译器,是用于哪个目标系统架构中,用于那个平台中的。即,用此交叉编译器编译出来的程序,是运行在哪种CPU上面的。
-
Linux下静态库(.a)和动态库(.so) 的生成与使用以及区别
静态库在程序编译时会被连接到目标代码中,程序运行时将不再需要该静态库。 动态库在程序编译时并不会被连接到目标代码中,而是在程序运行是才被载入,因此在程序运行时还需要动态库存在。