摘要: 广告 -> 使用WinGet安装所有VC++运行库 当在Windows系统中运行某软件后, 提示 因为计算机中丢失MSVCP90.dll , 就说明系统中缺少相应的运行时组件(Runtime)!!! >什么是运行时组件? 使用户能够在未安装 Visual C++ 的计算机上运行使用 Visual C 阅读全文
posted @ 2020-05-25 18:26 letleon 阅读(7998) 评论(0) 推荐(0) 编辑
摘要: 阮一峰的网络日志: http://www.ruanyifeng.com/blog/2015/07/flex-grammar.html 采用Flex布局的元素 称之为Flex容器 它的所有子元素自动成为容器成员 称为 flex item 容器默认存在两根轴 水平的主轴,垂直的交叉轴 容器的属性 fle 阅读全文
posted @ 2020-05-12 16:27 letleon 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 作者:李留白 原文:微信小程序 setData 的坑 遇到的问题: 1 this.setData({ 2 Data[0].name:"喵喵" 3 }) 解决办法: 1 var param = {}; 2 var string = "Data["+变量+"].name; 3 param[string] 阅读全文
posted @ 2020-04-23 17:24 letleon 阅读(4539) 评论(0) 推荐(0) 编辑
摘要: <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 阅读(733) 评论(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 阅读(3455) 评论(0) 推荐(0) 编辑
摘要: app.json "sitemapLocation": "sitemap.json", "style": "v2", 删掉 "style": "v2", 即可使用 css来定义小程序按钮样式了 真是无F可说! 阅读全文
posted @ 2020-04-15 14:35 letleon 阅读(501) 评论(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 阅读(2065) 评论(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 阅读(410) 评论(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 阅读(1018) 评论(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 阅读(759) 评论(0) 推荐(0) 编辑