会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ladybug7
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
11
12
13
14
15
16
下一页
2020年2月13日
vue动画钩子
摘要: <template> <div class="hello"> <div class="toggle" @click="fullScreen = !fullScreen" v-show="fullScreen">toggle</div> <transition name="normal" @enter
阅读全文
posted @ 2020-02-13 17:31 ladybug7
阅读(150)
评论(0)
推荐(0)
2020年2月11日
vue中 el [$el] 的理解
摘要: <template> <div class="a"> <div class="basic" ref="ba">基本元素</div> <chil ref="ccd"></chil> </div> </template> <script> import Chil from '.../chil.vue'
阅读全文
posted @ 2020-02-11 10:39 ladybug7
阅读(3689)
评论(0)
推荐(0)
2020年2月10日
axios发送post请求[body-parser]--['Content-type': 'application/x-www-form-urlencoded']
摘要: const express = require('express') const axios = require('axios') const bodyParser = require('body-parser') const app = express() const apiRoutes = ex
阅读全文
posted @ 2020-02-10 20:21 ladybug7
阅读(616)
评论(0)
推荐(0)
2020年2月9日
图片的onload事件与better-scroll结合[ 当fastclick插件和better-scroll发生冲突导致点击事件失效时,可以给需要点击的元素加一个class="needsclick"]
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>图片的onload
阅读全文
posted @ 2020-02-09 11:41 ladybug7
阅读(234)
评论(0)
推荐(0)
2020年2月8日
vue-router重定向redirect
摘要:
阅读全文
posted @ 2020-02-08 14:41 ladybug7
阅读(906)
评论(0)
推荐(0)
2020年2月6日
vue基础语法摘要
摘要: 1. 2. 3. 4. 5. 6. 7.“动态路由”和“编程式路由”参数的接收方式:路由的参数 页面之间跳转的参数
阅读全文
posted @ 2020-02-06 19:53 ladybug7
阅读(256)
评论(0)
推荐(0)
vue-router
摘要:
阅读全文
posted @ 2020-02-06 14:52 ladybug7
阅读(97)
评论(0)
推荐(0)
2020年2月5日
函数节流
摘要: 使用setTimeout将touchmove等事件延时,可以提高性能。 在搜索功能中也可以使用函数节流 export function debounce(func, delay = 200) { let timer return function (...args) { if (timer) { c
阅读全文
posted @ 2020-02-05 14:29 ladybug7
阅读(126)
评论(0)
推荐(0)
webpack的配置文件[webpack.config.js]
摘要: 如果项目里没有webpack.config.js这个文件,webpack会使用它本身内置在源码里的配置项。 webpack.config.js这个配置名称可以通过指令修改 npx webpack --config xxx.js 或者 npm webpack --config xxx.js
阅读全文
posted @ 2020-02-05 14:28 ladybug7
阅读(250)
评论(0)
推荐(0)
2020年2月4日
webpack配置文件里loader的执行顺序:从下到上,从右到左; css-loader开启css模块化modules: true,
摘要: 注释: options:{ importLoaders: 2 } 解决样式文件里使用@import 'xxx.xxx' 的问题 module: { rules: [{ test: /\.scss$/, use: [ 'style-loader', { loader: 'css-loader', op
阅读全文
posted @ 2020-02-04 16:11 ladybug7
阅读(2345)
评论(0)
推荐(0)
上一页
1
···
11
12
13
14
15
16
下一页
公告