上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 15 下一页
摘要: killall php-pfm启动php-pfm 一般 service php-fpm restart 阅读全文
posted @ 2019-01-15 15:49 chenlw101 阅读(4378) 评论(0) 推荐(0) 编辑
摘要: $json_string = json_encode($object, JSON_FORCE_OBJECT); json_encode($object); //结果:"[{"aa":"bb","cc":"dd"}]" json_encode($object,JSON_FORCE_OBJECT); //结果:"{"aa":"bb","cc":"dd"}" 阅读全文
posted @ 2019-01-12 13:50 chenlw101 阅读(12828) 评论(0) 推荐(0) 编辑
摘要: 一使用SELECT子句进行多表查询 SELECT 字段名 FROM 表1,表2 … WHERE 表1.字段 = 表2.字段 AND 其它查询条件 SELECT a.id,a.name,a.address,a.date,b.math,b.english,b.chinese FROM tb_demo065_tel AS b,tb_demo065 AS a WHERE a.id=b.id 注:在上面... 阅读全文
posted @ 2019-01-11 17:00 chenlw101 阅读(128) 评论(0) 推荐(0) 编辑
摘要: overflow: hidden; text-overflow:ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;/*超出2行显示省略号*/ 阅读全文
posted @ 2018-12-29 16:57 chenlw101 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 需要在对应的json文件或者app.json下面加上 如果看不见加载动画,在app.json下面加上 下拉刷新需要在页面上执行,而不是组件 阅读全文
posted @ 2018-12-06 19:24 chenlw101 阅读(756) 评论(0) 推荐(0) 编辑
摘要: change(e){ clearTimeout(this.timer); this.timer=setTimeout(()=>{ let val = e.detail.value this.keyWord = val; if(!val || val ==''){ this.searchBox = f 阅读全文
posted @ 2018-12-04 15:34 chenlw101 阅读(753) 评论(0) 推荐(0) 编辑
摘要: 这样使用,后台就可以接受到值了 阅读全文
posted @ 2018-11-21 14:34 chenlw101 阅读(821) 评论(0) 推荐(0) 编辑
摘要: winpty vue.cmd create admin 这样创建就可以了 阅读全文
posted @ 2018-11-21 11:09 chenlw101 阅读(567) 评论(0) 推荐(0) 编辑
摘要: /** get 请求 * @param {接口地址} url * @param {请求参数} params */ get(url,params){ return new Promise((resolve,reject) => { wx.request({ url:url, data:params, 阅读全文
posted @ 2018-11-13 18:05 chenlw101 阅读(329) 评论(0) 推荐(0) 编辑
摘要: wx.downloadFile({ url:"https://xxxxxx.pdf", success(res){ console.log(res) let data = res.tempFilePath; wx.openDocument({ filePath:data, ... 阅读全文
posted @ 2018-11-08 17:28 chenlw101 阅读(2049) 评论(2) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 15 下一页