代码共9篇
智慧职教刷课-瘦子-瘦子Blog-瘦子LOG

智慧职教刷课

GitHub地址 下载地址 使用前请务必关闭VPN 智慧职教登录接口:https://www.icve.com.cn/portal/Register/Login_New[User-Agent][{'userName': ,'pwd': ,'verifycode': }] 智慧职教验证码接口...
vue监听界面滚动高度-瘦子-瘦子Blog-瘦子LOG

vue监听界面滚动高度

在methods写一个函数 ChangeOpacity() { // 获取滚动像素 const scrollTop = document.body.scrollTop || document.documentElement.scrollTop // 获取屏幕高度 const vmHeight = window.innerH...
瘦子的头像-瘦子-瘦子Blog-瘦子LOG瘦子2年前
03241
NUXT路由锚点-瘦子-瘦子Blog-瘦子LOG

NUXT路由锚点

router: { middleware: 'i18n', scrollBehavior: async function(to, from, savedPosition) { if (savedPosition) { return savedPosition; } const findEl = async (hash, x = 0) => { retu...
瘦子的头像-瘦子-瘦子Blog-瘦子LOG瘦子2年前
02667
VUE自定义指令-瘦子-瘦子Blog-瘦子LOG

VUE自定义指令

<!DOCTYPE html> <html> <head> <meta charset='utf-8'> <title>Vue</title> <script src='../js/vue.js'></script> </head> <body> <div id='app'> <h2>{...
瘦子的头像-瘦子-瘦子Blog-瘦子LOG瘦子2年前
01540
查询天气API Ajax实例  POST请求-瘦子-瘦子Blog-瘦子LOG

查询天气API Ajax实例  POST请求

Aip地址 后端地址:http://wthrcdn.etouch.cn/WeatherApi 请求方法:POST或GET 接口参数:city:string xhr.open('POST', 'http://wthrcdn.etouch.cn/WeatherApi?city=' + document.querySelect...
瘦子的头像-瘦子-瘦子Blog-瘦子LOG瘦子2年前
013412
Vue监听关闭页面-瘦子-瘦子Blog-瘦子LOG

Vue监听关闭页面

Vue监听关闭页面
瘦子的头像-瘦子-瘦子Blog-瘦子LOG瘦子6个月前
0890
Nuxt.js使用 Animate.css-瘦子-瘦子Blog-瘦子LOG

Nuxt.js使用 Animate.css

安装Animate.css $ npm install animate.css --save $ yarn add animate.css 引入Animate.css <script> import 'animate.css'; </script> 使用Animate.css <h1 class='animate__...
瘦子的头像-瘦子-瘦子Blog-瘦子LOG瘦子1年前
0250
JSTL引入及报错-瘦子-瘦子Blog-瘦子LOG

JSTL引入及报错

jstl引入 tomcat8.5用jstl1.2 tomcat8.5以上用jstl2.0 JSTL下载地址 下载的jar放在lib tld放在tlds文件夹 web.xml <!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Applicati...
瘦子的头像-瘦子-瘦子Blog-瘦子LOG瘦子2年前
0170
纯css写虚线 控制虚线大小-瘦子-瘦子Blog-瘦子LOG

纯css写虚线 控制虚线大小

无法控制虚线的长度border: 1px dashe d#6785C1;通过背景颜色添加虚线background-image: linear-gradient(to right, #ccc 0%, #ccc 50%, transparent 50%); background-size: 8px 1px; backgrou...
瘦子的头像-瘦子-瘦子Blog-瘦子LOG瘦子11个月前
0120