会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
javascript9527
博客园
首页
新随笔
联系
管理
上一页
1
2
3
4
5
6
7
8
9
···
24
下一页
2021年6月2日
从0-1 搭建一个vue移动端项目
摘要: $router.back() 返回上一页面 @click.prevent 阻止冒泡 从0-1 搭建一个vue移动端项目 vue_cli初始化后,删除不需要的路由和页面, 01 创建api文件夹,用来存放所有的请求 02 创建utils文件夹,存放工具模块,如request.js 等 03 创建 st
阅读全文
posted @ 2021-06-02 16:18 javascript9527
阅读(352)
评论(0)
推荐(0)
2021年6月1日
移动端 REM 适配
摘要: Vant 中的样式默认使用 px 作为单位,如果需要使用 rem 单位,推荐使用以下两个工具: postcss-pxtorem 是一款 postcss 插件,用于将 px 单位转化为 rem lib-flexible 用于设置 rem 基准值 (1)使用 lib-flexible 动态设置 REM
阅读全文
posted @ 2021-06-01 13:51 javascript9527
阅读(316)
评论(0)
推荐(0)
2021年5月29日
移动端适配
摘要: postcss-px-to-viewport
阅读全文
posted @ 2021-05-29 18:28 javascript9527
阅读(64)
评论(0)
推荐(0)
2021年5月22日
react 学习笔记
摘要: react路由: 两种: HashRouter BrowerRouter 对应的vue的hash,history 模式 路由跳转 1 vue: 2 <router-link to="/user">页面</router-link> 3 4 react: 5 <link to="/user">页面</l
阅读全文
posted @ 2021-05-22 11:07 javascript9527
阅读(77)
评论(0)
推荐(0)
2021年5月19日
原生可拖动表格
摘要: <!DOCTYPE html> <html> <head> <meta charset="gbk"> <title>table</title> </head> <body> <table id="tb_3" cellspacing="0" cellpadding="2" width="100%" b
阅读全文
posted @ 2021-05-19 16:40 javascript9527
阅读(108)
评论(0)
推荐(0)
2021年5月7日
clientWidth clientHeight offsetWidth offsetHeight
摘要: <!--一 :不包含border大小clientWidth width + padding 元素的宽度 + 左右padding的宽度(不包含border)clientHeight height + padding 元素的高度 + 上下padding的高度(不包含border)clientLeft b
阅读全文
posted @ 2021-05-07 16:12 javascript9527
阅读(84)
评论(0)
推荐(0)
2021年5月1日
文字抽烟效果
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv
阅读全文
posted @ 2021-05-01 22:50 javascript9527
阅读(83)
评论(0)
推荐(0)
2021年4月26日
一个很厉害的前端动画库
摘要: http://guowc.github.io/animastore/
阅读全文
posted @ 2021-04-26 15:31 javascript9527
阅读(141)
评论(0)
推荐(0)
2021年4月22日
quill 富文本编辑器的使用。。。
摘要: 官方地址: https://quilljs.com/docs/download/ <!-- "quill": "^1.3.6", --> <template> <div> <el-button @click="save">保 存</el-button> <div id="editor"> </div
阅读全文
posted @ 2021-04-22 10:49 javascript9527
阅读(321)
评论(0)
推荐(0)
2021年4月12日
控制台输出 特殊字体
摘要: 效果如下 1 vscode 安装插件 ASCIIDecorator 2 新建一个文件text文件 输入需要转化的字体, ctr+ship +p>lorem ipsum 选择字体样式>font Selector 使用字体 console.log(`%c , , ,--, ,--,,--.' | ,--
阅读全文
posted @ 2021-04-12 11:16 javascript9527
阅读(470)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
24
下一页
公告