上一页 1 2 3 4 5 6 7 8 9 ··· 24 下一页
摘要: $router.back() 返回上一页面 @click.prevent 阻止冒泡 从0-1 搭建一个vue移动端项目 vue_cli初始化后,删除不需要的路由和页面, 01 创建api文件夹,用来存放所有的请求 02 创建utils文件夹,存放工具模块,如request.js 等 03 创建 st 阅读全文
posted @ 2021-06-02 16:18 javascript9527 阅读(317) 评论(0) 推荐(0) 编辑
摘要: Vant 中的样式默认使用 px 作为单位,如果需要使用 rem 单位,推荐使用以下两个工具: postcss-pxtorem 是一款 postcss 插件,用于将 px 单位转化为 rem lib-flexible 用于设置 rem 基准值 (1)使用 lib-flexible 动态设置 REM 阅读全文
posted @ 2021-06-01 13:51 javascript9527 阅读(298) 评论(0) 推荐(0) 编辑
摘要: postcss-px-to-viewport 阅读全文
posted @ 2021-05-29 18:28 javascript9527 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(55) 评论(0) 推荐(0) 编辑
摘要: <!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 阅读(78) 评论(0) 推荐(0) 编辑
摘要: <!--一 :不包含border大小clientWidth width + padding 元素的宽度 + 左右padding的宽度(不包含border)clientHeight height + padding 元素的高度 + 上下padding的高度(不包含border)clientLeft b 阅读全文
posted @ 2021-05-07 16:12 javascript9527 阅读(60) 评论(0) 推荐(0) 编辑
摘要: <!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 阅读(56) 评论(0) 推荐(0) 编辑
摘要: http://guowc.github.io/animastore/ 阅读全文
posted @ 2021-04-26 15:31 javascript9527 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 官方地址: 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 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 效果如下 1 vscode 安装插件 ASCIIDecorator 2 新建一个文件text文件 输入需要转化的字体, ctr+ship +p>lorem ipsum 选择字体样式>font Selector 使用字体 console.log(`%c , , ,--, ,--,,--.' | ,-- 阅读全文
posted @ 2021-04-12 11:16 javascript9527 阅读(417) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 24 下一页