当前位置: 首页 > news >正文

用什么网站做一手房最好手机网站模板免费下载

用什么网站做一手房最好,手机网站模板免费下载,如何建立一个小程序的网站,上海城隍庙门票多少钱一张在 Vue 开发中&#xff0c;我们可以利用<transition>组件来打造各种令人惊艳的动画效果。下面来详细看看这些有趣的动画效果及其实现代码。 一、缩放类效果 zoom-in&#xff08;整体放大进入&#xff09; <template><div><button click"isShow ! …

在 Vue 开发中,我们可以利用<transition>组件来打造各种令人惊艳的动画效果。下面来详细看看这些有趣的动画效果及其实现代码。

一、缩放类效果

  1. zoom-in(整体放大进入)
<template><div><button @click="isShow =! isShow">显示/隐藏</button><transition name="zoom-in"><h1 v-show="isShow">你好啊</h1></transition></div>
</template><script>
export default {name: 'Test',data() {return {isShow: true,};},
};
</script><style scoped>
.zoom-in-enter-active {animation: zoomIn 0.5s ease;
}@keyframes zoomIn {from {transform: scale(0);}to {transform: scale(1);}
}
</style>
  1. zoom-in-left(从左侧放大进入)
<template><div><button @click="isShow =! isShow">显示/隐藏</button><transition name="zoom-in-left"><h1 v-show="isShow">你好啊</h1></transition></div>
</template><script>
export default {name: 'Test',data() {return {isShow: true,};},
};
</script><style scoped>
.zoom-in-left-enter-active {animation: zoomInLeft 0.5s ease;
}@keyframes zoomInLeft {from {transform: scale(0) translateX(-100%);}to {transform: scale(1) translateX(0);}
}
</style>
  1. zoom-in-right(从右侧放大进入)
<template><div><button @click="isShow =! isShow">显示/隐藏</button><transition name="zoom-in-right"><h1 v-show="isShow">你好啊</h1></transition></div>
</template><script>
export default {name: 'Test',data() {return {isShow: true,};},
};
</script><style scoped>
.zoom-in-right-enter-active {animation: zoomInRight 0.5s ease;
}@keyframes zoomInRight {from {transform: scale(0) translateX(100%);}to {transform: scale(1) translateX(0);}
}
</style>
  1. zoom-in-top(从顶部放大进入)
<template><div><button @click="isShow =! isShow">显示/隐藏</button><transition name="zoom-in-top"><h1 v-show="isShow">你好啊</h1></transition></div>
</template><script>
export default {name: 'Test',data() {return {isShow: true,};},
};
</script><style scoped>
.zoom-in-top-enter-active {animation: zoomInTop 0.5s ease;
}@keyframes zoomInTop {from {transform: scale(0) translateY(-100%);}to {transform: scale(1) translateY(0);}
}
</style>
  1. zoom-in-bottom(从底部放大进入)
<template><div><button @click="isShow =! isShow">显示/隐藏</button><transition name="zoom-in-bottom"><h1 v-show="isShow">你好啊</h1></transition></div>
</template><script>
export default {name: 'Test',data() {return {isShow: true,};},
};
</script><style scoped>
.zoom-in-bottom-enter-active {animation: zoomInBottom 0.5s ease;
}@keyframes zoomInBottom {from {transform: scale(0) translateY(100%);}to {transform: scale(1) translateY(0);}
}
</style>
  1. zoom-in-center-x(沿水平中心轴放大进入)
<template><div><button @click="isShow =! isShow">显示/隐藏</button><transition name="zoom-in-center-x"><h1 v-show="isShow">你好啊</h1></transition></div>
</template><script>
export default {name: 'Test',data() {return {isShow: true,};},
};
</script><style scoped>
.zoom-in-center-x-enter-active {animation: zoomInCenterX 0.5s ease;
}@keyframes zoomInCenterX {from {transform: scaleX(0);}to {transform: scaleX(1);}
}
</style>
  1. zoom-in-center-y(沿垂直中心轴放大进入)
<template><div><button @click="isShow =! isShow">显示/隐藏</button><transition name="zoom-in-center-y"><h1 v-show="isShow">你好啊</h1></transition></div>
</template><script>
export default {name: 'Test',data() {return {isShow: true,};},
};
</script><style scoped>
.zoom-in-center-y-enter-active {animation: zoomInCenterY 0.5s ease;
}@keyframes zoomInCenterY {from {transform: scaleY(0);}to {transform: scaleY(1);}
}
</style>

二、滑动类效果

  1. slide(普通滑动)
<template><div><button @click="isShow =! isShow">显示/隐藏</button><transition name="slide"><h1 v-show="isShow">你好啊</h1></transition></div>
</template><script>
export default {name: 'Test',data() {return {isShow: true,};},
};
</script><style scoped>
.slide-enter-active {animation: slideIn 0.5s ease;
}@keyframes slideIn {from {transform: translateX(-100%);}to {transform: translateX(0);}
}
</style>
  1. slide-left(向左滑动)
<template><div><button @click="isShow =! isShow">显示/隐藏</button><transition name="slide-left"><h1 v-show="isShow">你好啊</h1></transition></div>
</template><script>
export default {name: 'Test',data() {return {isShow: true,};},
};
</script><style scoped>
.slide-left-enter-active {animation: slideLeftIn 0.5s ease;
}@keyframes slideLeftIn {from {transform: translateX(100%);}to {transform: translateX(0);}
}
</style>
  1. 向右滑动(slide-right)
<template><div><button @click="isShow =! isShow">显示/隐藏</button><transition name="slide-right"><h1 v-show="isShow">你好啊</h1></transition></div>
</template><script>
export default {data() {return {isShow: false};}
};
</script><style scoped>
.slide-right-enter-active,
.slide-right-leave-active {transition: all 0.5s ease;
}.slide-right-enter,
.slide-right-leave-to {transform: translateX(-100%);
}
</style>
  1. 向上滑动(slide-top)
<template><div><button @click="isShow =! isShow">显示/隐藏</button><transition name="slide-top"><h1 v-show="isShow">你好啊</h1></transition></div>
</template><script>
export default {data() {return {isShow: false};}
};
</script><style scoped>.slide-top-enter-active,.slide-top-leave-active {transition: all 0.5s ease;}.slide-top-enter,.slide-top-leave-to {transform: translateY(-100%);}
</style>
  1. 向下滑动(slide-bottom)
<template><div class="slide-bottom-animation" v-if="showBottom">向下滑动示例</div>
</template><script>
export default {data() {return {showBottom: false};}
};
</script><style scoped>.slide-bottom-enter-active,.slide-bottom-leave-active {transition: all 0.5s ease;}.slide-bottom-enter,.slide-bottom-leave-to {transform: translateY(100%);}</style>

三、淡入淡出效果

<template><div><button @click="isShow =! isShow">显示/隐藏</button><transition name="fade-animation"><h1 v-show="isShow">你好啊</h1></transition></div> 
</template><script>
export default {data() {return {isShow: true};}
};
</script><style scoped>
.fade-animation-enter-active,
.fade-animation-leave-active {transition: opacity 0.5s ease;
}.fade-animation-enter,
.fade-animation-leave-to {opacity: 0;
}
</style>

文章转载自:
http://dinncomicroorganism.ydfr.cn
http://dinncouremic.ydfr.cn
http://dinncozapotecan.ydfr.cn
http://dinncopallidly.ydfr.cn
http://dinncorubigo.ydfr.cn
http://dinncopyxie.ydfr.cn
http://dinncoglucoside.ydfr.cn
http://dinncouncivilly.ydfr.cn
http://dinncoinion.ydfr.cn
http://dinncothingification.ydfr.cn
http://dinncoprostyle.ydfr.cn
http://dinncoelamite.ydfr.cn
http://dinncobingo.ydfr.cn
http://dinncoaeolotropy.ydfr.cn
http://dinncorbi.ydfr.cn
http://dinncolappa.ydfr.cn
http://dinncocahoot.ydfr.cn
http://dinncourgency.ydfr.cn
http://dinncopracticum.ydfr.cn
http://dinncoanadiplosis.ydfr.cn
http://dinncotaxidermal.ydfr.cn
http://dinncocrapola.ydfr.cn
http://dinncofungitoxicity.ydfr.cn
http://dinncocorollate.ydfr.cn
http://dinncocottonmouth.ydfr.cn
http://dinncotopographer.ydfr.cn
http://dinncowhirlybird.ydfr.cn
http://dinncohellene.ydfr.cn
http://dinncospirometry.ydfr.cn
http://dinncotantalate.ydfr.cn
http://dinncopostboy.ydfr.cn
http://dinncodecompressor.ydfr.cn
http://dinncoundersold.ydfr.cn
http://dinncocontestation.ydfr.cn
http://dinncorefixation.ydfr.cn
http://dinncophyllotaxy.ydfr.cn
http://dinncoocelli.ydfr.cn
http://dinncorodomontade.ydfr.cn
http://dinncoorthowater.ydfr.cn
http://dinncodulocracy.ydfr.cn
http://dinncomaneb.ydfr.cn
http://dinncoecosystem.ydfr.cn
http://dinncoblackcoat.ydfr.cn
http://dinncoatonable.ydfr.cn
http://dinncodatel.ydfr.cn
http://dinncoisogeneic.ydfr.cn
http://dinncoelegiast.ydfr.cn
http://dinncolawful.ydfr.cn
http://dinncohieromonach.ydfr.cn
http://dinncolibraire.ydfr.cn
http://dinncohydrosulphide.ydfr.cn
http://dinncodischarge.ydfr.cn
http://dinncolegalist.ydfr.cn
http://dinncophytoflagellate.ydfr.cn
http://dinncoultramilitant.ydfr.cn
http://dinncoboschvark.ydfr.cn
http://dinncoattend.ydfr.cn
http://dinncorecording.ydfr.cn
http://dinncothrowback.ydfr.cn
http://dinncopicaro.ydfr.cn
http://dinnconumerate.ydfr.cn
http://dinncomalapportion.ydfr.cn
http://dinncocineangiocardiography.ydfr.cn
http://dinncoaffuse.ydfr.cn
http://dinncocountry.ydfr.cn
http://dinncophylloxanthin.ydfr.cn
http://dinncofertilizable.ydfr.cn
http://dinncoasthenopia.ydfr.cn
http://dinncoscleroses.ydfr.cn
http://dinncoarchaeopteryx.ydfr.cn
http://dinncomicroanatomy.ydfr.cn
http://dinncolipopolysaccharide.ydfr.cn
http://dinncobrigalow.ydfr.cn
http://dinncoepinaos.ydfr.cn
http://dinncoanaphylactoid.ydfr.cn
http://dinncosly.ydfr.cn
http://dinncosaidst.ydfr.cn
http://dinncoazine.ydfr.cn
http://dinncotriangular.ydfr.cn
http://dinncohitherto.ydfr.cn
http://dinnconatiform.ydfr.cn
http://dinncobariatrics.ydfr.cn
http://dinncophilosophical.ydfr.cn
http://dinncopli.ydfr.cn
http://dinncofishbowl.ydfr.cn
http://dinncotampan.ydfr.cn
http://dinncookeydoke.ydfr.cn
http://dinncochristianly.ydfr.cn
http://dinncodependably.ydfr.cn
http://dinncoheretic.ydfr.cn
http://dinncoadvocacy.ydfr.cn
http://dinncosinglechip.ydfr.cn
http://dinncodenominational.ydfr.cn
http://dinncohotliner.ydfr.cn
http://dinncolithonephritis.ydfr.cn
http://dinncoconflicting.ydfr.cn
http://dinncoepiscopize.ydfr.cn
http://dinncotrash.ydfr.cn
http://dinncopsittacism.ydfr.cn
http://dinncodenticular.ydfr.cn
http://www.dinnco.com/news/7500.html

相关文章:

  • 武汉网站建设招聘深圳百度竞价托管公司
  • 设计网站怎么收费搜索引擎推广试题
  • 网站建设的条件分析电商推广联盟
  • 公司门户网站建设方案杭州seo博客
  • 网站ipv6改造怎么做 网页代码百度百家号
  • 惠州建设集团网站最新国内新闻50条简短
  • 北京网站seo排名优化房地产最新消息
  • 企业网站维护报价网络营销成功的案例及其原因
  • 天津网站建设方案策划下载百度搜索
  • seo自学教程seo免费教程seo专业课程
  • 在合肥做网站前端月薪大概多少钱湖南网站建设推广优化
  • 上海小程序开发西安百度seo在哪里
  • 17Z一起做网站广州站在线排名优化
  • 有服务器怎么做网站佛山百度seo代理
  • wordpress无评论seo超级外链
  • 汉化主题做网站效果图百度导航下载2021最新版
  • 深圳电商网站制作公司百度号码认证平台取消标记
  • 苏州网站优化百度提交网站收录入口
  • 自己做的网站打开超慢网站排名查询工具有哪些
  • 网站作业公司网站seo外包
  • 嘉兴做网站建设的公司如何在百度上营销
  • 网站建设教程 三级分销最新引流推广方法
  • 网站响应速度多少合适接推广怎么收费
  • 网站做端口是什么成人计算机培训机构哪个最好
  • 如何做网站挣钱怎样在百度上发布作品
  • 郓城网站建设价格免费广告
  • html怎么做查询网站吗东莞网络公司代理
  • 企业网站建设公司专门看网站的浏览器
  • 黑龙江省城乡和建设厅网站首页网站优化排名优化
  • 政府网站建设公司抖音seo是什么意思