摘要: //1. 创建一个变量 var ref = ""; //2. 定时刷新调用的方法 function consoleLog(){ console.log("a"); } //3. 设置定时刷新 ref = setInterval(function(){ consoleLog(); },2000); / 阅读全文
posted @ 2020-10-16 15:16 非凡云 阅读(105) 评论(0) 推荐(0)
摘要: $(".friendship").on({ mouseover: function () { //鼠标移入回调 $(".link").show(); }, mouseout: function () { //鼠标移出回调 $(".link").hide(); } }); 阅读全文
posted @ 2020-10-16 15:14 非凡云 阅读(3335) 评论(0) 推荐(0)
摘要: $.ajax({ type: "post",//请求方式 url: "http://www.baidu.com",//请求地址 data: { "id":"1" },//请求参数 cache: false, async : true, dataType: "json",//返回数据为json suc 阅读全文
posted @ 2020-10-16 15:11 非凡云 阅读(105) 评论(0) 推荐(0)
摘要: hhtml, body, div, ul, li, h1, h2, h3, h4, h5, h6, p, dl, dt, dd, ol, form, input, textarea, th, td, select { margin: 0; padding: 0; color: #333; } * { 阅读全文
posted @ 2020-10-16 15:07 非凡云 阅读(2971) 评论(0) 推荐(0)
摘要: 初始 容器设置:display:flex 行内元素设置:display-inline:flex 容器属性 排列方向: flex-direction:row | row-reverse | column | colimn-reverse row(默认值):主轴为水平方向,起点在左端。 row-reve 阅读全文
posted @ 2020-10-16 15:03 非凡云 阅读(395) 评论(0) 推荐(0)
摘要: 首先安装node.js 下载最新版node.js 安装node.js https://nodejs.org/en/ 判断node.js和npm是否安装正常 node -v npm -v 安装ApiDoc,最好使用git安装 npm install apidoc -g 查看ApiDoc是否安装成功 a 阅读全文
posted @ 2020-10-16 15:02 非凡云 阅读(1475) 评论(0) 推荐(1)
摘要: 前端 $(".jxs_sq_div_list img").on('click',function () { takePicture(this) }); function takePicture(e) { wx.chooseImage({ count: 1, needResult: 1, sizeTy 阅读全文
posted @ 2020-10-16 14:54 非凡云 阅读(477) 评论(0) 推荐(0)
摘要: 滚动条提供了以下样式: ::-webkit-scrollbar 滚动条整体部分,可以设置宽度啥的 ::-webkit-scrollbar-button 滚动条两端的按钮 ::-webkit-scrollbar-track 外层轨道 ::-webkit-scrollbar-track-piece 内层 阅读全文
posted @ 2020-10-16 14:45 非凡云 阅读(292) 评论(0) 推荐(0)