上一页 1 ··· 125 126 127 128 129 130 131 132 133 ··· 186 下一页
摘要: 一,代码: <template> <view> <view style="margin-left: 20rpx;margin-top: 20rpx; width:710rpx;height:710rpx;background: gray;"> <image class="banner" mode=" 阅读全文
posted @ 2023-02-24 16:35 刘宏缔的架构森林 阅读(2375) 评论(0) 推荐(0)
摘要: 一,代码: <template> <view> <button style="width:710rpx;height:80rpx;" @click="getSetting">打开地图</button> </view> </template> <script> export default { dat 阅读全文
posted @ 2023-02-24 14:39 刘宏缔的架构森林 阅读(1400) 评论(0) 推荐(0)
摘要: 一,getlocation时报错: 代码: <template> <view> <button style="width:710rpx;height:80rpx;" @click="openMap">打开地图</button> </view> </template> <script> export 阅读全文
posted @ 2023-02-24 14:23 刘宏缔的架构森林 阅读(908) 评论(0) 推荐(0)
摘要: 一,打开调试模式 如果没有在微信后台配置业务域名, 在真机测试时不能正常访问接口站, 则可以做如下配置: 打开调试后,非业务域名的接口也可以访问了 说明:刘宏缔的架构森林是一个专注架构的博客, 网站:https://blog.imgtouch.com原文: https://blog.imgtouch 阅读全文
posted @ 2023-02-24 10:52 刘宏缔的架构森林 阅读(247) 评论(0) 推荐(0)
摘要: 一,代码: 说明:xcxuserinfo是服务端得到用户信息的接口, 我们用code作为参数传递给服务端,由服务端得到openid再得到用户信息然后返回 <template> <view> <button class="login-wxpng" open-type="getUserInfo" @ge 阅读全文
posted @ 2023-02-23 18:35 刘宏缔的架构森林 阅读(807) 评论(0) 推荐(0)
摘要: 一,代码: 1,login.nvue <template> <view> <view style="margin-right: 60rpx;margin-left: 60rpx;margin-top: 60rpx;"> <uni-forms ref="form" :modelValue="formD 阅读全文
posted @ 2023-02-23 10:56 刘宏缔的架构森林 阅读(410) 评论(0) 推荐(0)
摘要: 一,安装firebase/php-jwt扩展: 1,命令: liuhongdi@lhdpc:/data/php/admapi$ composer require firebase/php-jwt 2,安装成功后的位置: 3,查看firebase/php-jwt的版本: liuhongdi@lhdpc 阅读全文
posted @ 2023-02-23 10:31 刘宏缔的架构森林 阅读(536) 评论(0) 推荐(0)
摘要: 一,代码: 说明:向markers数组中push数据或直接修改数组中的数据都不会引起map的刷新, 注意使用这个方法: this.markers = [...markers]; <template> <view> <map class="map" :latitude="latitude" :long 阅读全文
posted @ 2023-02-22 16:20 刘宏缔的架构森林 阅读(956) 评论(0) 推荐(0)
摘要: 一,代码: 1,缓存写入:在被打开页面的onLoad事件中写入把打开的年级和学期写入缓存 //加载时访问接口得到数据 onLoad(options) { // 页面创建时执行 console.log("页面加载");//记录最新访问的列表 let gradeName = getApp().$util 阅读全文
posted @ 2023-02-22 14:40 刘宏缔的架构森林 阅读(325) 评论(0) 推荐(0)
摘要: 一,运行 运行->运行到小程序模拟器->微信开发者工具 出现报错: 15:41:27.814 [微信小程序开发者工具] [error] IDE service port disabled. To use CLI Call, please enter y to confirm enabling CLI 阅读全文
posted @ 2023-02-22 14:26 刘宏缔的架构森林 阅读(1025) 评论(0) 推荐(0)
上一页 1 ··· 125 126 127 128 129 130 131 132 133 ··· 186 下一页