摘要: 1 function get(){ 2 axios.get('../php/axios.php', 3 {params:{do:1,name:'李白'}}) //也可以直接拼接在url 4 .then(function(rs){ 5 console.log(rs) 6 document.quer... 阅读全文
posted @ 2019-06-03 10:02 倾昀 阅读(117) 评论(0) 推荐(0)
摘要: SELECT DISTINCT a,b FROM table select a,b,c,min(id) AS id from table WHERE 1=1 group by a,b,c 阅读全文
posted @ 2019-01-29 15:44 倾昀 阅读(151) 评论(0) 推荐(0)
摘要: 1 <div class="bdsharebuttonbox" data-url="{url}" data-title="{title}"> 2 <a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a> 3 <a href 阅读全文
posted @ 2017-05-04 15:19 倾昀 阅读(258) 评论(0) 推荐(0)
摘要: 1.开启定时器 2.关闭定时器 clearTimeout同上 数字时钟 0.png~9.png 为0~9的数字图片 附加:获取时间方法 3.延时提示框 4.无缝滚动 阅读全文
posted @ 2016-06-02 15:09 倾昀 阅读(171) 评论(0) 推荐(0)
摘要: 1. 子元素选择器 > p > span 选择作为p元素子元素的p元素 2. 相邻兄弟选择器 + h1 + p 选择紧接在h1元素后出现的p元素 3. 属性选择器 [] E[attr] E[attr="value"] E[attr~="value"] 根据部分属性值选择 p[class~="impo 阅读全文
posted @ 2016-05-31 09:36 倾昀 阅读(87) 评论(0) 推荐(0)
摘要: 1.一列固定宽度width:300px,一列自适应 <div class="content clearfix"> <div class="left">左侧宽度固定</div> <div class="right">右侧宽度自适应</div> </div> .left,.right{float:lef 阅读全文
posted @ 2016-05-30 20:18 倾昀 阅读(101) 评论(0) 推荐(0)