摘要: 基本的demo: 阅读全文
posted @ 2018-05-29 22:51 cyany_blue 阅读(120) 评论(0) 推荐(0)
摘要: 引入cdn文件 初始化vue实例 基本demo: 指令: v if 当true的时候显示,当false的时候不显示,但是不是隐藏,而是没有渲染到页面的! v show:当true的时候显示,但是false的时候是被隐藏了,加了display:none的样式 v else :必须紧跟着v if,要不然 阅读全文
posted @ 2018-05-29 22:08 cyany_blue 阅读(133) 评论(0) 推荐(0)
摘要: webpack.config.js file conofigure / === dont forget to import scss to main.js file === / / === import './main.scss'; 阅读全文
posted @ 2018-05-29 15:24 cyany_blue 阅读(100) 评论(0) 推荐(0)
摘要: 今天做项目的时候发现,如果元素是浮动元素的话,用hover事件会产生闪动效果,不仅仅是hover事件,就连使用mouseover事件等都会出现闪动 所以注意元素不要使用浮动,换成flex布局 完美解决 阅读全文
posted @ 2018-05-29 10:57 cyany_blue 阅读(1533) 评论(0) 推荐(0)
摘要: reference:http://echarts.baidu.com/examples/ develop:https://www.w3cschool.cn/echarts_tutorial/echarts_tutorial mec528xa.html 阅读全文
posted @ 2018-05-26 15:04 cyany_blue 阅读(2054) 评论(0) 推荐(0)
摘要: 显示折线图的每个点的具体数据 饼图的每个面积背景颜色 echart图表的位置 阅读全文
posted @ 2018-05-26 15:00 cyany_blue 阅读(119) 评论(0) 推荐(0)
摘要: reference: https://github.com/apache/incubator echarts/tree/master/extension/bmap baidumap的github嵌入文本 cdn:http://www.bootcdn.cn/echarts/ echart3.8.5 : 阅读全文
posted @ 2018-05-26 14:48 cyany_blue 阅读(259) 评论(0) 推荐(0)
摘要: ``` .container 类 @media (min-width: 1200px) .container { max-width: 1140px; } @media (min-width: 992px) .container { max-width: 960px; } @media (min-width: 768px) .container { max-width: ... 阅读全文
posted @ 2018-03-23 18:07 cyany_blue 阅读(781) 评论(0) 推荐(0)
摘要: 要点:$xmlarr = simplexml_load_string($result_str)这个可以将xml字符串格式转为对象形式 js变量传给php,可以通过ajax发送参数的形式发给后台接收; 也可以在js中进行cookie的存储,在php文件中调用$_COOKIE全局变量进行获取 php 变 阅读全文
posted @ 2018-03-16 17:00 cyany_blue 阅读(266) 评论(0) 推荐(0)
摘要: ``` var xmlhttp = new XMLHttpRequest(); xmlhttp.open("GET","connectDatabase.php",true); xmlhttp.send(); xmlhttp.onreadystatechange= function(){ if(xmlhttp.readyState ==4 && xmlhttp.status ==200... 阅读全文
posted @ 2018-02-24 14:50 cyany_blue 阅读(133) 评论(0) 推荐(0)