2022年11月14日
摘要: 重启命令: nginx -s stop && start nginx nginx -s reload 关闭: nginx -s stop 启动: start nginx window下无法关闭或重启nginx时候可以使用taskkill强制关闭: taskkill /IM nginx.exe /F 阅读全文
posted @ 2022-11-14 10:52 laremehpe 阅读(35) 评论(0) 推荐(0) 编辑
2022年11月12日
摘要: import fs from "fs"; import path from "path"; const find = ( folder: string, keyword: string[], callback: (val: string[]) => void ) => { type entryUni 阅读全文
posted @ 2022-11-12 11:10 laremehpe 阅读(249) 评论(0) 推荐(0) 编辑
2022年11月10日
摘要: 随便一个页面添加 bounce:none "app-plus": { "bounce": "none" } 注意只有任意的一个页面和全局页面同时添加才能去除! 阅读全文
posted @ 2022-11-10 11:33 laremehpe 阅读(83) 评论(0) 推荐(0) 编辑
2022年11月1日
摘要: 添加属性:style=“display:contents” <view class="box"> <button class="button" open-type="share"></button> </view> .box{ position:relative; height:50rpx; wid 阅读全文
posted @ 2022-11-01 14:04 laremehpe 阅读(205) 评论(0) 推荐(0) 编辑
2022年10月20日
摘要: //分享到朋友圈 onShareTimeline() { return { title: '鸣火', path: "pages/tabbar/tabbar?share=微信会把分享到朋友圈的参数去掉,别想了!", imageUrl: "../../static/logo.png", }; }, // 阅读全文
posted @ 2022-10-20 17:34 laremehpe 阅读(880) 评论(0) 推荐(0) 编辑
摘要: let applePayMethods = { data() { return { iap: {}, } }, onShow() { if (uni.getStorageSync('applePayParam')) { uni.showLoading({ mask:true, message:'验证 阅读全文
posted @ 2022-10-20 16:06 laremehpe 阅读(898) 评论(0) 推荐(0) 编辑
2022年10月11日
摘要: "permission" : { "scope.userFuzzyLocation": { "desc": "你的位置信息将用于小程序位置接口的效果展示" } }, "requiredPrivateInfos": [ "getFuzzyLocation" ] //获取定位 wx.authorize( 阅读全文
posted @ 2022-10-11 15:57 laremehpe 阅读(1226) 评论(0) 推荐(0) 编辑
2022年10月10日
摘要: public static String upload(String url, File file) throws IOException { OkHttpClient client = new OkHttpClient(); RequestBody formBody = new Multipart 阅读全文
posted @ 2022-10-10 17:48 laremehpe 阅读(22) 评论(0) 推荐(0) 编辑
2022年10月6日
摘要: //创建普通通知 String channelId = "测试渠道"; if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.O) { Notification notification = new Notifi 阅读全文
posted @ 2022-10-06 14:47 laremehpe 阅读(28) 评论(0) 推荐(0) 编辑
2022年9月27日
摘要: 安装vetur(vue) 和 prettier 两个插件第一步:先打开vscode软件,左下角点击设置 》打开设置》唤出快速搜索条界面。第二步:接下来先设定自动保存文件,搜索框贴入files.autoSave筛出设置项,并把设置项属性选择为onFocuschange。第三步:设定编辑器默认代码格式化 阅读全文
posted @ 2022-09-27 11:56 laremehpe 阅读(278) 评论(0) 推荐(0) 编辑