上一页 1 ··· 14 15 16 17 18
2022年4月10日
摘要: 1 function jsonp(url, data, callback,callBackName='call') { 2 let s = document.createElement('script'); 3 //parameter 4 let arr = []; 5 for(let name i 阅读全文
posted @ 2022-04-10 14:35 laremehpe 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 1 //调用方式: 2 ajax( 3 'http://www.baidu.com', 4 {name:'json'} 5 ).then((res)=>{ 6 console.log(res); 7 }) function ajax(url,data) { return new Promise((r 阅读全文
posted @ 2022-04-10 14:26 laremehpe 阅读(133) 评论(0) 推荐(0) 编辑
摘要: template <class T>int dichotomy(T arr, int len, int com){ int start = 0; int end = len; int index = len / 2; while (start <= end) { if (arr[index] > c 阅读全文
posted @ 2022-04-10 13:50 laremehpe 阅读(45) 评论(0) 推荐(0) 编辑
2022年3月26日
摘要: //无提示-->如果没有拨打电话请到应用中开启相关权限并且重新打包自定义调试基座 var Intent = plus.android.importClass("android.content.Intent"); var Uri = plus.android.importClass("android. 阅读全文
posted @ 2022-03-26 15:06 laremehpe 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 打开微信开放平台 不是小程序的平台:开启app跳转小程序功能 注意:应用打包时候的package name要和平台相同 微信开放平台管理中心绑定小程序 若要绑定不同主体下小程序,需认证 配置微信分享:分享id填写微信开放平台获得的id 跳转方法: jump(){ plus.share.getServ 阅读全文
posted @ 2022-03-26 09:02 laremehpe 阅读(1469) 评论(0) 推荐(0) 编辑
2022年3月25日
摘要: 找到Manifest -> sourceview (源码视图) app-plus --> distribute --> android 添加 "schemes" : [ "xxx" ], 例如 App-plus{ "distribute" : { "android" : { "schemes" : 阅读全文
posted @ 2022-03-25 12:41 laremehpe 阅读(293) 评论(0) 推荐(0) 编辑
摘要: 安装Android studio 找到目录下面的路径=> C:\Program Files (x86)\Android\android-sdk\platform-tools 选择Path点击编辑 点击新建 阅读全文
posted @ 2022-03-25 11:53 laremehpe 阅读(28) 评论(0) 推荐(0) 编辑
2022年3月24日
摘要: 简介: npm install uview-ui main.js页面=> import uView from "uview-ui"; Vue.use(uView); uni.scss页面=> @import 'uview-ui/theme.scss'; App.vue页面=> @import 'no 阅读全文
posted @ 2022-03-24 12:53 laremehpe 阅读(817) 评论(0) 推荐(0) 编辑
2021年10月29日
摘要: 注意:开通的阿里oss需要允许跨域访问 在项目根目录下创建common文件夹 在创建的common文件下创建bundle.js文件,把下面的代码复制进去 //bundle.js var base64map = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqr 阅读全文
posted @ 2021-10-29 00:18 laremehpe 阅读(2028) 评论(2) 推荐(1) 编辑
上一页 1 ··· 14 15 16 17 18