- 调用wx.getVideoInfo接口需要本地安装ffmpeg了吗?
前几天调用wx.getVideoInfo接口的时候还好好的呢!今天怎么就一直提示需要本地安装ffmpeg了? [图片] [图片] 自己安装了 ffmpeg 后 问题解决了, https://developers.weixin.qq.com/miniprogram/dev/devtools/ffmpeg.html
2021-10-20 - 骨架屏无法覆盖外部字体图标?
https://developers.weixin.qq.com/miniprogram/dev/devtools/skeleton.html
2021-07-20 - 骨架屏无法覆盖外部字体图标?
我用的是阿里巴巴矢量图标库的图标,<text class="iconfont class"></text> 在开发工具中生成了骨架屏 开发工具中显示如下 [图片] 在手机上(iphone11)显示如下 [图片] 字体图标无法覆盖,这个问题怎么解决?
2021-07-20 - input隐藏的时候,placeholder仍然显示的问题?
我在使用input的时候,点击input,隐藏表单,显示搜索。但是在搜索页里面input的placeholder没有隐藏,这种情况是很大几率发生的,安卓系统,微信最新版本。 [图片] [图片]
2020-10-12 - Searchbar组件搜索的值?
[图片]官方是text和value,我返回的格式是 { "code": "000000", "msg": "成功", "data": [{ "number": "2017", "name": "胜利路-白沙路口" }, { "number": "2016", "name": "白沙路-长风路口" }, { "number": "2014", "name": "白沙路-锦绣路口" }, { "number": "2005", "name": "白沙路-三桥西" }, { "number": "", "name": "柳太路-白露桥底" }, { "number": "3014", "name": "燎原路-白云路口" }, { "number": "", "name": "白露路三" }, { "number": "2027", "name": "白沙路-跃进东三巷路口" }, { "number": "2037", "name": "北外环-白露桥头北" }, { "number": "", "name": "白露路四" }, { "number": "", "name": "白露路二" }, { "number": "", "name": "白露大道东昌瓦厂" }, { "number": "", "name": "白沙路-白沙村委路口" }, { "number": "", "name": "白露路五" }, { "number": "", "name": "白露路六" }, { "number": "", "name": "白莲路-柳江大道" }, { "number": "", "name": "沿江路-白沙桥底" }, { "number": "", "name": "白沙路-白沙桥底" }, { "number": "", "name": "白莲大道-陈家村" }, { "number": "", "name": "白莲大道-空军部队(后门)" }, { "number": "", "name": "白莲大道-空军部队(前门)" }, { "number": "", "name": "白沙路-兴白路口" }], "desc": null, "timestamp": "2020-09-30 12:05:58" } 我必须按照官方示例那样的格式返回吗?
2020-09-30 - 开发工具稳定版1.03.2009140真的稳定吗?
开发工具稳定版,版本如题所示,操作系统win10,调试器的wxml基本上就不出来了 [图片]重启后出来,保存编译后立马又不出来了?有没有优化的办法?
2020-09-23 - 微信小程序如何调用springboot提供的restful参数绑定到路径的接口?
小程序的请求都被封装在api.js 里面,类似与vue那样的 const GET = 'GET'; const POST = 'POST'; const PUT = 'PUT'; const FORM = 'FORM'; const DELETE = 'DELETE'; const baseUrl = 'http://xxxjt/xcx/'; var HEADER = { token: '', 'content-type': 'application/json', } function request(method, url, data) { return new Promise(function(resolve, reject) { wx.request({ url: baseUrl + url, method: method, data: method === POST ? JSON.stringify(data) : data, header: HEADER, success(res) { //请求成功 //判断状态码---errCode状态根据后端定义来判断 if (res.data.code == '000000') { resolve(res); } else { //其他异常 wx.showToast({ title: res.data.desc, icon: 'none', duration: 1500 }) reject('运行时错误,请稍后再试'); } }, fail(err) { //请求失败 reject(err) } }) }) } const API = { loginAPI: (data) => request(POST, 'user-info/login', data), getListRwo: (data) => request(POST, 'rwo/getList-rwo', data), getEnumsValueByCode: (data) => request(GET, 'dic-enums/getList-ev', data), addRwo: (data) => request(POST, 'rwo/add-rwo', data), getDetail: (data) => request(GET, 'rwo/getDetail-rwo', data), getRepairPeople: (data) => request(GET, 'user-info/getUI', data), assign: (data) => request(POST, 'rwo/assign-rwo', data), repair: (data) => request(POST,'rwo/finish-rwo',data), check: (data) => request(POST,'rwo/check-rwo',data) } module.exports = { API: API, HEADER: HEADER } 我想请求这个getListRwo接口的时候,怎么把参数动态绑定到url上呢?
2020-07-01