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

智慧职教刷课

GitHub地址 下载地址 使用前请务必关闭VPN 智慧职教登录接口:https://www.icve.com.cn/portal/Register/Login_New[User-Agent][{'userName': ,'pwd': ,'verifycode': }] 智慧职教验证码接口...
瘦子的头像-瘦子-瘦子Blog-瘦子LOG瘦子2年前
06040
使用Canvas播放视频-瘦子-瘦子Blog-瘦子LOG

使用Canvas播放视频

<video class='video' autoplay playsinline webkit-playsinline loop muted x5-video-player-type='h5' x5-playsinlin='true' v-show='false' id='video1' > <source src='@/assets/mp4/...
瘦子的头像-瘦子-瘦子Blog-瘦子LOG瘦子2年前
34650
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个月前
0880
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年前
0230