摘要: vue-axios配置token,上传图片 阅读全文
posted @ 2017-07-29 15:19 阿狸很酷 阅读(548) 评论(0) 推荐(0) 编辑
摘要: 1.安装环境 cordova 2.创建 cordova 项目 3.为项目添加平台 4.安装创建插件手脚架 测试 5.创建插件 6.为插件添加平台 7.在插件目录下创建package.json文件 8.插件plugin.xml配置说明 9.为cordova项目安装插件 10.测试cordova下的ww 阅读全文
posted @ 2018-05-30 09:55 阿狸很酷 阅读(1200) 评论(0) 推荐(0) 编辑
摘要: 安装 main.js中引入 在组建中引入 在data()中初始化 界面显示 观察子元素的变化,以便于点击外部按钮直接切换子元素 点击切换子元素 阅读全文
posted @ 2018-03-13 14:58 阿狸很酷 阅读(416) 评论(0) 推荐(0) 编辑
摘要: cordova-plugin-statusbar状态栏设置整理 cordova plugin add cordova-plugin-statusbar https://segmentfault.com/a/1190000012023145 阅读全文
posted @ 2018-03-13 11:31 阿狸很酷 阅读(110) 评论(0) 推荐(0) 编辑
摘要: cordova plugin add cordova-plugin-network-information mounted(){ this.checkConnection() document.addEventListener("offline", this.onOffline(), false); } checkConnection (){ ... 阅读全文
posted @ 2017-11-27 17:15 阿狸很酷 阅读(1189) 评论(1) 推荐(0) 编辑
摘要: 判断平台 如果是ios,直接跳到苹果商店相应的位置就好 安卓 阅读全文
posted @ 2017-11-27 17:11 阿狸很酷 阅读(157) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/fd214333890/article/details/43702931 阅读全文
posted @ 2017-11-17 15:04 阿狸很酷 阅读(132) 评论(0) 推荐(0) 编辑
摘要: cordova-plugin-external-extension cordova.plugins.externalExtension.openMobileQQChat(qqNum) https://www.npmjs.com/package/cordova-plugin-external-extension 阅读全文
posted @ 2017-11-17 11:13 阿狸很酷 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 1.拍照 先拿到base64图片,然后将base64转成file上传 2.定位 3.商户协议 4.打开通讯录 5.支付宝 6.QQ分享 7.微博分享 8.微信 微信支付 微信分享 9.启动页 10.极光推送 设置用户别名,唯一 调用 阅读全文
posted @ 2017-11-17 10:34 阿狸很酷 阅读(947) 评论(0) 推荐(0) 编辑
摘要: //请求拦截器axios.interceptors.request.use( config => { Vue.$vux.loading.show({ text: '请求中' }) let Token = sessionStorage.getItem('token')==""? "":sessionStorage.getItem('token');//判断是... 阅读全文
posted @ 2017-09-08 17:40 阿狸很酷 阅读(1038) 评论(0) 推荐(0) 编辑
摘要: 安装 全局配置在main.js中配置 使用 阅读全文
posted @ 2017-09-08 15:02 阿狸很酷 阅读(695) 评论(0) 推荐(0) 编辑