会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
zcl113366
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
2023年3月30日
微信小程序画布canvas的使用
摘要: wxml部分: <view class="container"> <canvas class="canvas1" id="myCanvas" type="2d" disable-scroll="true" bindtouchstart="canvasStart" bindtouchmove="can
阅读全文
posted @ 2023-03-30 17:36 新手上线
阅读(301)
评论(1)
推荐(0)
2023年3月21日
js中常见的字符串方法的用法
摘要: 1) concat() 连接两个或多个字符串,返回连接后的字符串 var Array= ["hello", "word"];var ArrayItem= ["java", "C++", "C#"];var ArrayData= ["name"];var children = Array.concat
阅读全文
posted @ 2023-03-21 14:43 新手上线
阅读(53)
评论(0)
推荐(0)
微信小程序封装API接口(2)
摘要: 先建一个api文件夹(叫什么都可以,但是为了规范化),在下面新建文件request.js // http // api URL const apiUrl = "https://接口地址:端口";// 公共的请求地址 // 封装微信请求方法 const request = (params) => {
阅读全文
posted @ 2023-03-21 10:18 新手上线
阅读(154)
评论(0)
推荐(0)
2023年3月20日
微信小程序封装API接口
摘要: (1)在api/index.js文件中创建ReqClient const API_HOST = 'https://xxx.xxx.com' //接口前缀 const ReqClient = (url, method, data) => { return new Promise((resolve, r
阅读全文
posted @ 2023-03-20 17:55 新手上线
阅读(176)
评论(0)
推荐(0)
上一页
1
2
公告