03 2019 档案

摘要:1,使用  (注意后面要加分号!) 页面就可以显示空格 2,使用全角空格,全角空格会被解析成汉字处理 3,如果后端传递来得数据个别数据需要单条数据加空格,前端代码通过css样式控制:white-space:pre 属性值为pre空白会被浏览器保留 详细的有关此属性的属性值 http://w 阅读全文
posted @ 2019-03-19 19:45 塞巴斯酱 阅读(2263) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-03-11 15:37 塞巴斯酱 阅读(127) 评论(0) 推荐(0) 编辑
摘要:很好用的数字滚动插件 vue-countTo npm 安装 npm i vue-count-to 使用 <template> <countTo :startVal="startVal" :endVal="endVal" :duration="3000"></countTo> </template> 阅读全文
posted @ 2019-03-11 11:33 塞巴斯酱 阅读(3426) 评论(0) 推荐(0) 编辑
摘要:从npm安装 >vue文件中使用有详细的说明 | | | V 强烈推荐此博主的 https://blog.csdn.net/weixin_37861326/article/details/80775326 阅读全文
posted @ 2019-03-08 14:31 塞巴斯酱 阅读(179) 评论(0) 推荐(0) 编辑
摘要:安装vue-happy-scroll npm install vue-happy-scroll --save-dev 注册组件 在main.js文件中引入 // 滚动条 import 'vue-happy-scroll/docs/happy-scroll.css' import HappyScrol 阅读全文
posted @ 2019-03-08 14:24 塞巴斯酱 阅读(679) 评论(0) 推荐(0) 编辑
摘要:Object.assign(目标对象,源对象)用于将所有可枚举属性的值从一个或多个源对象复制到目标对象,返回目标对象 const target = { a: 1, b: 2 }; const source = { b: 4, c: 5 }; const returnedTarget = Object 阅读全文
posted @ 2019-03-05 13:39 塞巴斯酱 阅读(158) 评论(0) 推荐(0) 编辑
摘要:图表自适应chart.resize() 话不多说上代码,搞了好久 npm npm install echarts --save 引入echarts main.js中// echarts import Echarts from 'echarts' import 'echarts/theme/macar 阅读全文
posted @ 2019-03-04 11:32 塞巴斯酱 阅读(1493) 评论(0) 推荐(0) 编辑
摘要:在已经设置好背影颜色上加上 background-color:transparent; 背景图片固定不随滚动条滚动 background-attachment:fixed; 阅读全文
posted @ 2019-03-02 18:44 塞巴斯酱 阅读(10196) 评论(0) 推荐(0) 编辑
摘要:一,自定义代码片段补全配置,vscode中【文件】-【首选项】-【用户代码片段】-【新建全局代码片段文件】 二,安装vscode插件类名代码提示,插件名:IntelliSense for CSS class names in HTML(安装后记得次重启编辑器) 【注意:如果是.vue .php类的文 阅读全文
posted @ 2019-03-02 15:28 塞巴斯酱 阅读(60265) 评论(0) 推荐(3) 编辑

点击右上角即可分享
微信分享提示