![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Html
文章平均质量分 81
frankxixu
这个作者很懒,什么都没留下…
展开
-
小程序 构建 npm
根目录需要在 miniprogram之内 https://segmentfault.com/a/1190000018732825原创 2019-10-31 22:06:34 · 167 阅读 · 0 评论 -
Swift和Javascript交互调用
随着Hybrid APP的流行,需要我们研究下各类native和html页面互相调用的问题。网上OC的例子很多了,但是Swift的调用案例非常少,在这里写了一下。 一、首先,让我们写一个html页面 index.html script> function helloWorld(msg){ document.getElementById原创 2015-02-28 15:56:10 · 1289 阅读 · 0 评论 -
微信小程序异步转同步的实现
一、参考文档 https://blog.csdn.net/Cpath/article/details/79525893 二、login等原生方法转同步 (1)引入库 bluebird.js 文件地址 https://cdn.jsdelivr.net/bluebird/latest/bluebird.min.js (2)util.js var Promise = require('blu...原创 2019-02-19 12:27:20 · 5649 阅读 · 0 评论 -
jquery mobile popup弹窗经验
1、popup弹窗事件的监听方法: $("#myPopupDialog").bind('popupbeforeposition',function(){ console.log("打开之前") }); $("#myPopupDialog").bind('popupafterclose',function(){ console.log("关闭之后") }); 2、p...原创 2019-04-08 15:12:54 · 841 阅读 · 0 评论 -
v for centos
http://ju.outofmemory.cn/entry/254600 1、系统环境 (1)CentOS6.9 64位 2、运行脚本: root 用户登录后,运行以下命令: wget --no-check-certificate https://raw.githubusercontent.com/teddysun/across/master/l2tp.sh chmod +x l...原创 2019-07-10 15:00:14 · 116 阅读 · 0 评论