上一页 1 ··· 3 4 5 6 7
摘要: <swiper bindanimationfinish="Functionr" > 1 function:function(e){ 2 this.setData({ 3 swiperCurrent: e.detail.current 4 }) 5 } 将 bindChange 更换为 bindani 阅读全文
posted @ 2020-04-21 14:20 letleon 阅读(811) 评论(0) 推荐(0)
摘要: <scroll-view bindscrolltolower="YourFunction" lower-threshold="50"></scroll-view> 1 YoourFunction(){ 2 console.log("触底了"); 3 wx.showToast({ 4 title: ' 阅读全文
posted @ 2020-04-21 14:11 letleon 阅读(3580) 评论(0) 推荐(0)
摘要: app.json "sitemapLocation": "sitemap.json", "style": "v2", 删掉 "style": "v2", 即可使用 css来定义小程序按钮样式了 真是无F可说! 阅读全文
posted @ 2020-04-15 14:35 letleon 阅读(507) 评论(0) 推荐(0)
摘要: 1 data{ 2 DBID: 'dbname' 3 } 4 getdb(){ 5 db.collection(this.data.DBID).get() 6 .then(res =>{ 7 console.log(res.data) 8 }) 9 } 1 data{ 2 DBID: 'dbname 阅读全文
posted @ 2020-04-14 20:21 letleon 阅读(2170) 评论(0) 推荐(0)
摘要: 借(抄)鉴(袭)Thor UI 的!!! index.js 1 Page({ 2 data: { 3 banner: [ 4 "http://gw.alicdn.com/tfscom/i2/27574552/TB2LLz8ugJkpuFjSszcXXXfsFXa_!!27574552.jpg", 5 阅读全文
posted @ 2020-04-07 16:40 letleon 阅读(442) 评论(0) 推荐(0)
摘要: 模块化:https://developers.weixin.qq.com/miniprogram/dev/framework/app-service/module.html MD5.JS 1 function md5(string) { 2 function md5_RotateLeft(lValu 阅读全文
posted @ 2020-04-04 16:00 letleon 阅读(1245) 评论(0) 推荐(1)
摘要: 方法一 1.首先数据表 typecho_contents 中新建一个 test_url 字段,类型可为字符串。 2.后台模板文件 admin/write-post.php 表单中插入: <p class="mono url-slug"> <label for="slug" class="sr-onl 阅读全文
posted @ 2020-04-01 21:53 letleon 阅读(909) 评论(0) 推荐(0)
摘要: 最近有个需求~ 想使用一套鼠标键盘控制桌上的另一台电脑~ 最开始使用的 Share Mouse 感觉挺不错的~有点贵~ 最后找到了微软出的 无界鼠标-Mouse without Borders 稳定好用~有时间看看能不能汉化了~ - -! https://www.microsoft.com/en-u 阅读全文
posted @ 2020-03-06 17:05 letleon 阅读(479) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7