![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
apicloud
seven_north
出来混,总是要还的
个人git地址:https://github.com/sevenorth
展开
-
使用 apicloud 连接自己的服务器
apicloud 实现的是前后端的分离,前端主要通过ajax和后台进行数据操作。 文件结构:apiDemo(前端)+db.php+index.php [index.php]<?php include 'db.php'; $result = $_POST; $code = $result['code'];//1注册 0登陆 $username ...原创 2018-04-04 14:19:29 · 3806 阅读 · 1 评论 -
apicloud监听物理返回键
双击退出function exitApp(){ api.addEventListener({ name: 'keyback' }, function(ret, err){ api.toast({ msg: '再次点击返回键退出APP', duration:2000, location...转载 2018-12-06 11:59:22 · 2722 阅读 · 0 评论 -
apicloud 打开高德地图进行导航
function openmap(lon,lat){ var location = $api.getStorage('location'); if(location){ var mylon = location.lon; var mylat = location.lat; } else { $.alert('请允许程序获取当前位...原创 2019-01-27 11:48:16 · 3261 阅读 · 0 评论 -
apicloud地图导航
//百度导航 //同步返回结果: function baiduditu(){ var systemType = api.systemType; var buttons = new Array(); va...原创 2019-03-19 09:41:17 · 955 阅读 · 0 评论 -
apicloud分享设置
function share(){ var qrcode_imgurl = $('.codete').attr('src'); if(qrcode_imgurl){ api.download({ url: qrcode_imgurl, savePath: 'fs://qrcodeshare.png', report: true,...原创 2019-03-19 09:43:09 · 450 阅读 · 0 评论