上一页 1 ··· 117 118 119 120 121 122 123 124 125 ··· 179 下一页
摘要: 一,js代码: <template> <view> <image mode="aspectFit" :src="imageSrc" @tap="chooseImage" style="background: gray; width:200rpx;height:200rpx;margin-left: 阅读全文
posted @ 2023-03-15 15:33 刘宏缔的架构森林 阅读(390) 评论(0) 推荐(0)
摘要: 一,js代码: <template> <view> <button class="login-wxpng" open-type="getUserInfo" @getuserinfo="xcxWxLogin"> 微信小程序登录 </button> </view> </template> <script 阅读全文
posted @ 2023-03-14 15:37 刘宏缔的架构森林 阅读(421) 评论(0) 推荐(0)
摘要: 一,微信小程序:wx.login时报错 返回的code值为:the code is a mock one 如图: 说明:刘宏缔的架构森林是一个专注架构的博客, 网站:https://blog.imgtouch.com原文: https://blog.imgtouch.com/index.php/20 阅读全文
posted @ 2023-03-14 15:18 刘宏缔的架构森林 阅读(3416) 评论(0) 推荐(0)
摘要: 一,开发环境中对接口跨域的配置 manifest.json中添加 "h5" : { "devServer" : { "https" : false, "disableHostCheck" : true, "proxy" : { "/api" : { "target" : "http://base.l 阅读全文
posted @ 2023-03-09 18:38 刘宏缔的架构森林 阅读(746) 评论(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 刘宏缔的架构森林 阅读(607) 评论(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 刘宏缔的架构森林 阅读(1047) 评论(0) 推荐(0)
摘要: 一,官网地址: https://www.iconfont.cn/ 如图: 说明:刘宏缔的架构森林是一个专注架构的博客,地址:https://www.cnblogs.com/architectforest 对应的源码可以访问这里获取: https://github.com/liuhongdi/ 或:  阅读全文
posted @ 2023-02-26 10:42 刘宏缔的架构森林 阅读(140) 评论(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 刘宏缔的架构森林 阅读(578) 评论(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 刘宏缔的架构森林 阅读(785) 评论(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 刘宏缔的架构森林 阅读(2190) 评论(0) 推荐(0)
上一页 1 ··· 117 118 119 120 121 122 123 124 125 ··· 179 下一页