上一页 1 ··· 11 12 13 14 15
摘要: 微信小程序进行操作后返回之前页面并刷新列表的方法。 let pages = getCurrentPages(); let beforePage = pages[pages.length 2]; // 2 是上一个页面, 3是上上个页面以此类推。 beforePage.getList(参数); wx. 阅读全文
posted @ 2019-11-13 13:56 Li_pk 阅读(2473) 评论(0) 推荐(0) 编辑
摘要: 如何用node简单的爬取网页上的内容: 1.安装express以及生成器 express官网: "http://www.expressjs.com.cn/" npm install express save npm install express generator g 2.用生成器创建新Expre 阅读全文
posted @ 2019-11-07 13:55 Li_pk 阅读(738) 评论(0) 推荐(0) 编辑
摘要: 1.尽量使用缩写 使用缩写语句,如下面所示的 margin 声明,可以从根本上减小 CSS 文件的大小。在 google 上搜索 CSS Shorthand 可以找到许多其他的速记形式。 p { margin top: 1px; margin right: 2px; margin bottom: 3 阅读全文
posted @ 2019-11-06 11:45 Li_pk 阅读(769) 评论(0) 推荐(0) 编辑
摘要: 1.首先在app.json中的window项设置:"navigationStyle": "custom"开启导航栏自定义。 2.components中创建相应文件: .wxml {{title}} showBack表示是否显示左上角返回箭头图标 下方的navigator表示如果是首页则左上角显示自定 阅读全文
posted @ 2019-11-06 11:25 Li_pk 阅读(784) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15