摘要: 一,代码: 说明:我们使整个顶部导航栏透明,只保留一个退回上一页的按钮 模板 <!-- 自定义导航栏 --> <view class="navBarBox" style="position: fixed;top:0;z-index: 1000;"> <!-- 状态栏占位 --> <view clas 阅读全文
posted @ 2023-02-24 18:45 刘宏缔的架构森林 阅读(1379) 评论(0) 推荐(0)
摘要: 一,代码: <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 刘宏缔的架构森林 阅读(2309) 评论(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 刘宏缔的架构森林 阅读(1362) 评论(0) 推荐(0)
摘要: 一,getlocation时报错: 代码: <template> <view> <button style="width:710rpx;height:80rpx;" @click="openMap">打开地图</button> </view> </template> <script> export 阅读全文
posted @ 2023-02-24 14:23 刘宏缔的架构森林 阅读(886) 评论(0) 推荐(0)
摘要: 一,打开调试模式 如果没有在微信后台配置业务域名, 在真机测试时不能正常访问接口站, 则可以做如下配置: 打开调试后,非业务域名的接口也可以访问了 说明:刘宏缔的架构森林是一个专注架构的博客, 网站:https://blog.imgtouch.com原文: https://blog.imgtouch 阅读全文
posted @ 2023-02-24 10:52 刘宏缔的架构森林 阅读(237) 评论(0) 推荐(0)