摘要: Git的模式如图: git - 简明指南 http://rogerdudler.github.io/git-guide/index.zh.html Git权威指南 http://www.worldhello.net/gotgit/index.html Workspace:工作区 Index / St 阅读全文
posted @ 2018-07-09 16:57 甘林梦 阅读(490) 评论(0) 推荐(0) 编辑
摘要: 一、设置状态栏为透明1、屏蔽.fitsSystemWindows(true) <?xml version="1.0" encoding="utf-8"?> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http 阅读全文
posted @ 2024-01-26 14:03 甘林梦 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 需求:最近公司要做推送,用的是uni-app,这里备注一下 App.vue里这样操作: 分别是iOS 和Android的在线创建推送,以及点击事件的处理,这里点击事件存储一下,然后发送消息在首页处理推送。 如果在这里处理,会有先跳转推送页再返回首页的问题。 plus.push.addEventLis 阅读全文
posted @ 2024-01-14 13:22 甘林梦 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 问题: App内,rect首次无效 const query = uni.createSelectorQuery().in(getCurrentInstance().proxy); query .select('#botEnter') .boundingClientRect(rect => { }) 阅读全文
posted @ 2024-01-14 13:11 甘林梦 阅读(142) 评论(0) 推荐(0) 编辑
摘要: uniapp-vue项目中需要播放视频,uniapp的video组件在层级太高,无法遮挡,所以使用原生dom的video标签在APP中播放视频,可以被其他元素进行覆盖、遮挡,页面具有更高的定制性 <!-- eslint-disable --> <template> <view v-html="vid 阅读全文
posted @ 2024-01-14 13:07 甘林梦 阅读(432) 评论(0) 推荐(0) 编辑
摘要: Android 隐藏导航栏 <item name="android:windowFullscreen">true</item> public void setStatusBarFullTransparent() { if (Build.VERSION.SDK_INT >= 21) {//21表示5. 阅读全文
posted @ 2023-10-17 20:44 甘林梦 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 多彩计算器用户注册协议 一、提示条款 在接受本协议之前,应当认真阅读本协议。请用户务必审慎阅读、充分理解各条款内容,特别是免除或限制责任的条款、法律适用、和争议解决条款。免除或限制责任的条款将以粗体下划线标识,应重点阅读。 二、定义 1、多彩计算器:系指杭州煜鑫网络科技有限公司运营的APP、网站、移 阅读全文
posted @ 2023-08-11 13:43 甘林梦 阅读(17) 评论(0) 推荐(0) 编辑
摘要: vue学习备忘 vue中!!、!=、== 、!==、 判断符号的用法等 !可将变量转换成boolean类型,null、undefined和空字符串取反都为false,其余都为true。 可以总结出来,“!”是逻辑与运算,并且可以与任何变量进行逻辑与将其转化为布尔值,“!!”则是逻辑与的取反运算,尤其 阅读全文
posted @ 2023-04-13 14:42 甘林梦 阅读(13) 评论(0) 推荐(0) 编辑
摘要: import MediaPlayer func setNowPlayingInfo() { // .开启远程交互,只有开启这个才能进行远程操控 UIApplication.shared.beginReceivingRemoteControlEvents() // 获取锁屏中心 MPRemoteCom 阅读全文
posted @ 2023-03-30 15:02 甘林梦 阅读(318) 评论(0) 推荐(0) 编辑
摘要: uni APP 怎么打开支付宝小程序,直接上代码 // #ifdef APP-PLUS uni.getSystemInfo({ success(res) { if (res.platform == 'android') { var info = `alipays://platformapi/star 阅读全文
posted @ 2023-03-21 09:36 甘林梦 阅读(385) 评论(0) 推荐(0) 编辑
摘要: uni-app webview 安卓机 title显示链接地址问题 操作步骤: 任一外链地址,在安卓机上 预期结果: 希望不显示url 实际结果: 显示url bug描述: webview 头部title在安卓上显示html得title,并且再加载得过程中title显示得是url 最后好方案,web 阅读全文
posted @ 2023-03-16 16:37 甘林梦 阅读(766) 评论(0) 推荐(0) 编辑
摘要: { "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/index/index", "style": { "app-plus": { "titleNView": 阅读全文
posted @ 2023-03-06 09:44 甘林梦 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 安卓开发入门基础 基础:https://blog.csdn.net/qq_42242452/article/details/124719180 Android中ConstraintLayout约束布局的最全详细解析 http://www.45fan.com/article.php?aid=1D8sw 阅读全文
posted @ 2023-01-12 09:31 甘林梦 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 安装HBuilderX和运行uni-app的哪些坑 资料:uni-app入门学习https://blog.csdn.net/li520_fei/article/details/124028433 问题:遇到HBuilderX弹窗没有node_modules 先了解npm是什么 npm(node pa 阅读全文
posted @ 2022-11-05 20:14 甘林梦 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 报错:Build input file cannot be found: '.../Build/Products/Debug-iphoneos/NotificationService.appex/NotificationService' 解决的办法: 1、选择扩展Targets - Build Se 阅读全文
posted @ 2022-08-23 11:28 甘林梦 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 问题:iOS 推送证书无法导出P12文件,选择导出后文件格式内"P12"是无法选中 解决办法:把所在默认钥匙串-登录的目标证书,复制(command+c),然后选择 系统钥匙串-系统-粘贴(command+v),然后再次信任导出就可以了。 阅读全文
posted @ 2022-08-23 10:49 甘林梦 阅读(496) 评论(0) 推荐(0) 编辑
摘要: 一、将Unity导出的文件导入到xcode工程中 1、获取unity导出的unity项目后,在项目XXXX.xcworkspace加入unity项目,如图: 二、编译unity项目,产出UnityFramework 2.1、选中unity的Data,设置右侧的Target Membership,选中 阅读全文
posted @ 2022-07-03 15:35 甘林梦 阅读(1946) 评论(6) 推荐(0) 编辑
摘要: Upcoming Requirement Reminder Note: This is a support message regarding upcoming requirements that may be relevant for your app. Starting June 30, 202 阅读全文
posted @ 2022-05-28 07:20 甘林梦 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 一、相机扫码跳转到手机官方浏览器打开网页 https://www.pgyer.com/tools/udid?sl=Jf4V 二、点击获取UDID 三、下载描述文件 四、下载完点击关闭 五、去设置点击已下载描述文件(没有请重新再来一遍) 六、点击蒲公英的描述文件 七、点击安装 八、设置密码的手机会让输 阅读全文
posted @ 2022-03-31 23:40 甘林梦 阅读(4619) 评论(0) 推荐(0) 编辑
摘要: UIScrollView 的特殊之处就在于当它遇到了AutoLayout之后其contentSize 的计算规则有些特殊。contentSize是根据子视图的leading/trailing/top/bottom进行确定的 所以避免我们手动去设置 contentSize,我们必须迎合它的规则去设置 阅读全文
posted @ 2022-03-25 23:17 甘林梦 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 今天在提交应用新版本到App Store时,按要求增加了个png格式的1024*1024的Icon,但是在提交的时候报错: Invalid App Store Icon - The App Store Icon in the asset catalog in 'xxxxxxxx.app' can't 阅读全文
posted @ 2022-03-11 09:27 甘林梦 阅读(783) 评论(0) 推荐(0) 编辑