vue中使用 animate.css V4
摘要:地址: https://animate.style/ 安装: npm install animate.css --save 引入: 在main.js 中引入: import animate from 'animate.css'Vue.use(animate) 使用: <transition ente
阅读全文
posted @
2021-09-17 17:27
咏竹莉
阅读(136)
推荐(0) 编辑
input聚焦 css动画效果
摘要:参考地址: http://www.htmleaf.com/css3/ui-design/201604253388.html input-style.css 中有多种样式可供参考,拿自己需要的即可。 输入框效果:聚焦后从中间到两端动画展示 html: <input autofocus type="te
阅读全文
posted @
2021-09-16 11:56
咏竹莉
阅读(423)
推荐(0) 编辑
VSCode 代码没有颜色--选择语言模式
摘要:1.首先打开vscode编辑器,点击下方图片处 2.选择为vue页面配置语言模式,一般是Vue页面代码没有颜色
阅读全文
posted @
2021-09-14 14:57
咏竹莉
阅读(1611)
推荐(0) 编辑
map中修改keyname为label
摘要:transform(list) { if (Array.isArray(list) && list.length !== 0) { list = list.map((v) => { v.label = v.name; // 返回label // v.key = v.value if (!this.t
阅读全文
posted @
2021-09-13 16:56
咏竹莉
阅读(134)
推荐(0) 编辑
vue中与安卓联调
摘要:h5与安卓联调使用的jsBridge 参考地址: https://github.com/lzyzsd/JsBridge 使用: 1. 在utils目录下新建bridge.js (utils文件夹与views同级) //判断机型 // let u = navigator.userAgent; // /
阅读全文
posted @
2021-09-13 15:21
咏竹莉
阅读(134)
推荐(0) 编辑
axios 添加公共参数
摘要:'use strict' import Vue from 'vue' import axios from 'axios' import qs from 'qs' // post form 表单提交,序列化,否则后台接收不到数据 let config = { withCredentials: true
阅读全文
posted @
2021-09-13 14:53
咏竹莉
阅读(476)
推荐(0) 编辑
webpack 95% 卡死
摘要:node_module 问题 删除node_module 把别的项目中拿过来即可正常启动
阅读全文
posted @
2021-09-10 11:02
咏竹莉
阅读(248)
推荐(0) 编辑
利用vue自定义指令实现输入框聚焦改变父元素的样式
摘要:需求: HTML 部分: <div class="login_input login_Code"> <span class="input_icon"> <i class="icon_all captcha_icon"></i> </span> <input autofocus type="text"
阅读全文
posted @
2021-09-09 14:06
咏竹莉
阅读(340)
推荐(0) 编辑
nginx配置完后
摘要:nginx配置完后,不用重启,直接刷新就可以
阅读全文
posted @
2021-09-03 22:10
咏竹莉
阅读(51)
推荐(0) 编辑