2023年8月28日

animate.css动画库

摘要: 使用CSS3的animation制作的动画效果的CSS集合,里面预设了很多种常用的动画(官网:https://animate.style/) // 安装 npm install animate.css (npm安装) https://unpkg.com/animate.css@3.5.2/anima 阅读全文

posted @ 2023-08-28 09:56 一名小学生呀 阅读(269) 评论(0) 推荐(0) 编辑

鼠标任意拖动元素排列顺序(vue)

摘要: 参考地址:https://codesandbox.io/s/condescending-butterfly-enjqpr?file=/src/App.vue <template> <div> <transition-group name="drag" class="list" tag="ul"> < 阅读全文

posted @ 2023-08-28 09:40 一名小学生呀 阅读(57) 评论(0) 推荐(0) 编辑

异步动态引入组件

摘要: // vue3 写法 <component :is="componentParam[active] " /> // 引入api import { defineAsyncComponent } from 'vue' const active = ref('b') const componentPara 阅读全文

posted @ 2023-08-28 09:20 一名小学生呀 阅读(18) 评论(0) 推荐(0) 编辑

vue-颜色选择器(vColorPicker)

摘要: // 安装插件 // 官网:http://vue-color-picker.rxshc.com/ npm install vcolorpicker -S // main.js 中全局引入 import vcolorpicker from 'vcolorpicker' Vue.use(vcolorpi 阅读全文

posted @ 2023-08-28 09:14 一名小学生呀 阅读(46) 评论(0) 推荐(0) 编辑

导航