04 2023 档案

摘要:直接上代码 /** * @param $lat1 * @param $lng1 * @param $lat2 * @param $lng2 * @return int */ function getDistance($lat1, $lng1, $lat2, $lng2){ // 将角度转为狐度 $r 阅读全文
posted @ 2023-04-28 19:21 79524795 阅读(53) 评论(0) 推荐(0) 编辑
摘要:uniapp JSON.stringify JSON.parse 阅读全文
posted @ 2023-04-28 17:53 79524795 阅读(607) 评论(0) 推荐(0) 编辑
摘要:直接上代码 onLoad(option) { this.$refs.video.play() }, 相关资料 https://blog.csdn.net/m0_48571414/article/details/129128523 阅读全文
posted @ 2023-04-27 17:40 79524795 阅读(1236) 评论(0) 推荐(0) 编辑
摘要:直接上代码 // display: flex; // flex-direction: column; // align-items: center; // justify-content: center; 阅读全文
posted @ 2023-04-26 11:51 79524795 阅读(343) 评论(0) 推荐(0) 编辑
摘要:没问题的 直接上代码 class Character { public function groupByInitials(array $data, $targetKey = 'name') { $data = array_map(function ($item) use ($targetKey) { 阅读全文
posted @ 2023-04-23 20:16 79524795 阅读(26) 评论(0) 推荐(0) 编辑
摘要:PHP内置函数 array_reverse() 阅读全文
posted @ 2023-04-20 18:04 79524795 阅读(15) 评论(0) 推荐(0) 编辑
摘要:直接用PHP内置函数 使用array_merge()函数 阅读全文
posted @ 2023-04-20 14:19 79524795 阅读(17) 评论(0) 推荐(0) 编辑
摘要:这几天修改niusop,遇到niushop APP端头像无法上传问题,以下是解决方案; niushop版本 4.1.12 后台修改: . /app/api/controller/Member.php中 modifyheadimg()方法 修改成: /** * 修改会员头像 * @return str 阅读全文
posted @ 2023-04-19 16:20 79524795 阅读(18) 评论(0) 推荐(0) 编辑
摘要:直接上代码 <view id="index0" v-for="(item, index) in value.list" :key="index" class="text-item" style="background-color: #fee3b3" :style="{ width: 'calc(10 阅读全文
posted @ 2023-04-18 16:19 79524795 阅读(68) 评论(0) 推荐(0) 编辑
摘要:命令 composer require topthink/think-filesystem 1.0.1 阅读全文
posted @ 2023-04-12 16:06 79524795 阅读(2004) 评论(0) 推荐(0) 编辑
摘要:直接上代码 .img1a{ position: relative; width: 100%; height: 100%; } .video-open{ margin-left: 45%; margin-top: 45%; position: absolute; z-index: 9999; widt 阅读全文
posted @ 2023-04-01 16:21 79524795 阅读(189) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示