上一页 1 ··· 137 138 139 140 141 142 143 144 145 ··· 199 下一页
摘要: 一,开发环境中对接口跨域的配置 manifest.json中添加 "h5" : { "devServer" : { "https" : false, "disableHostCheck" : true, "proxy" : { "/api" : { "target" : "http://base.l 阅读全文
posted @ 2023-03-09 18:38 刘宏缔的架构森林 阅读(789) 评论(0) 推荐(0)
摘要: 一,项目中启用session 1,app/middleware.php 添加如下一行 //Session初始化 \think\middleware\SessionInit::class 2,注意给runtime目录加入写权限: 例: liuhongdi@lhdpc:/data/php/admapi$ 阅读全文
posted @ 2023-02-28 16:15 刘宏缔的架构森林 阅读(634) 评论(0) 推荐(0)
摘要: 一,代码: 在微信小程序中,字体文件不允许使用本地文件 @font-face { font-family: "kaiti"; src: url("https://spkf-zsxn-prod.s3.cn-north-1.amazonaws.com.cn/pic/livecenter/kaiti.tt 阅读全文
posted @ 2023-02-26 14:37 刘宏缔的架构森林 阅读(1061) 评论(0) 推荐(0)
摘要: 一,官网地址: https://www.iconfont.cn/ 如图: 说明:刘宏缔的架构森林是一个专注架构的博客,地址:https://chuna2.787528.xyz/architectforest 对应的源码可以访问这里获取: https://github.com/liuhongdi/ 或:  阅读全文
posted @ 2023-02-26 10:42 刘宏缔的架构森林 阅读(163) 评论(0) 推荐(0)
摘要: 一,官方文档地址: https://uniapp.dcloud.net.cn/api/system/info.html# 说明:刘宏缔的架构森林是一个专注架构的博客, 网站:https://blog.imgtouch.com原文: https://blog.imgtouch.com/index.ph 阅读全文
posted @ 2023-02-25 22:04 刘宏缔的架构森林 阅读(600) 评论(0) 推荐(0)
摘要: 一,代码: 1,页面代码: <template> <view> <web-view :fullscreen="true" :style="{height:height+'px'}" :webview-styles="webviewStyles" :src='websrc' allow></web-v 阅读全文
posted @ 2023-02-25 14:11 刘宏缔的架构森林 阅读(819) 评论(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-25 08:56 刘宏缔的架构森林 阅读(2247) 评论(0) 推荐(0)
摘要: 一,代码: 说明:我们使整个顶部导航栏透明,只保留一个退回上一页的按钮 模板 <!-- 自定义导航栏 --> <view class="navBarBox" style="position: fixed;top:0;z-index: 1000;"> <!-- 状态栏占位 --> <view clas 阅读全文
posted @ 2023-02-24 18:45 刘宏缔的架构森林 阅读(1443) 评论(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 刘宏缔的架构森林 阅读(2413) 评论(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 刘宏缔的架构森林 阅读(1420) 评论(0) 推荐(0)
上一页 1 ··· 137 138 139 140 141 142 143 144 145 ··· 199 下一页