这个不建议你用 swiper 去实现,很费性能
大佬们,帮忙优化一下swiper组件代码吧?https://developers.weixin.qq.com/s/vImftcmw7mHo,这个看起来非常不丝滑,想达到丝滑滚动的效果
2023-05-17这个微信肯定不会开放,如果开放了那还得了,所有提供技术的第三方平台然后能把其他客户的应用用户收集起来
因业务特殊希望能开放平台能增加绑定非相同主体小程序的上限数量?由于我使用的程序SaaS系统,每个客户都必须同步前后端两个小程序的用户ID,也就意味着我们要让每一个客户都用他们的主体去申请开放平台,这样操作太复杂了,技术方说是微信未提供相关接口,无法单独开发一款批量管理用户ID同步的中间系统,只能使用开放平台进行ID绑定同步。因此希望能开放平台能增加绑定非相同主体小程序的上限数量。
2023-05-17已经修复了
微信小程序签约问题,跳转签约页面提示暂无法开通此服务,系统繁忙,怎么处理?[图片]
2023-05-10getPhoneNumber 只有经过认证的小程序才能使用这个功能,不是每个小程序账号都能随便使用的
getPhoneNumber预览模式下为什么没效果?在预览模式下调用getPhoneNumber为什么不生效 要打开调试模式或者真机调试才生效 发布到测试版本也不生效 小程序已经认证过了
2023-05-10右上角选择重新进入小程序就是加载当前小程序的首页,这个设计就是这样的
BUG:小程序跳转wx.navigateToMiniProgram小程序A跳转到小程序B的页面C,点击右上角选择重新进入小程序,结果小程序B加载了默认页面而不是页面C
2023-05-09版本回退到 1.06.2209190 已恢复正常 [图片]
关于微信开发工具 1.06.2301040 版本 canvas 绘制白屏问题?系统:windows11 开发工具:1.06.2301040 没有更新微信开发工具最新版一切正常,昨天突然弹出一个更新窗更新完毕后 Canvas 预览效果是白屏 [图片] 但是点击保存海报却能把图片整个保存下来 [图片] 上传使用手机预览没有任何问题 [图片]
2023-02-01这是因为微信很早以前就改过 wxml 获取 wx:for 变量的规则,比如以下代码 // js const list = [ { id: '111', text: '111' }, { id: '222', text: '222' } ] // wxml // bad <block wx:for="{{ list }}" wx:key="{{ item.id }}"> </block> // foo // wx:key 如果想设置为 item.id 则不能使用双花括号方式,直接使用字符串加属性名即可 <block wx:for="{{ list }}" wx:key="id"> </block>
利用模板来做小程序,我是小白,求大哥来解救下面出了什么问题?VM189:22 WXMLRT_$gwx:./common/template/list.wxml:view:2:4: wx:key="{{index}}" does not look like a valid key name (did you mean wx:key="index" ?) _wp @ VM189:22 d_.<computed>.list @ VM189:1280 m8 @ VM189:1396 (anonymous) @ VM189:1613 y @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 u.create @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 O.prepare @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 xt @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 It @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 Nt.emit @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 emit @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 c @ asdebug.js:10 u @ asdebug.js:10 (anonymous) @ asdebug.js:1 f @ asdebug.js:1 g @ asdebug.js:1 (anonymous) @ asdebug.js:1 _ws.onmessage @ asdebug.js:1 [WXML Runtime warning] ./pages/register/register.wxml wx:key="{{item.id}}" does not look like a valid key name (did you mean wx:key="id" ?) 42 | <view class="text"> 43 | <radio-group class="radio-group"> > 44 | <label wx:for="{{sex}}" wx:for-item="item" wx:key="{{item.id}}"> | ^ 45 | <radio value="{{item.value}}" checked="{{item.checked}}" /> {{item.name}} 46 | </label> 47 | </radio-group> [WXML Runtime warning] ./pages/register/register.wxml wx:key="{{index}}" does not look like a valid key name (did you mean wx:key="index" ?) 148 | </view> 149 | <view class="study-wrap"> > 150 | <view class="addstudy delestudy" bind:tap="goAdd" wx:for="{{studyInfo}}" wx:key="{{index}}"> | ^ 151 | <text class="add delete" catch:tap="deleAdd" data-index="{{index}}">x</text> 152 | <text class="school">{{item.school}}</text> 153 | <text class="zye">{{item.zye}}</text> [WXML Runtime warning] ./pages/register/register.wxml wx:key="{{index}}" does not look like a valid key name (did you mean wx:key="index" ?) 165 | </view> 166 | <view class="study-wrap"> > 167 | <view class="addstudy delestudy" bind:tap="goAddwork" wx:for="{{workInfo}}" wx:key="{{index}}"> | ^ 168 | <text class="add delete" catch:tap="deleAddwork" data-index="{{index}}">x</text> 169 | <text class="school">{{item.name}}</text> 170 | <text class="zye">{{item.zwei}}</text> register.js? [sm]:101 {type: "tap", timeStamp: 107257, target: {…}, currentTarget: {…}, detail: {…}, …} register.js? [sm]:101 {type: "tap", timeStamp: 108054, target: {…}, currentTarget: {…}, detail: {…}, …} register.js? [sm]:116 {type: "tap", timeStamp: 109601, target: {…}, currentTarget: {…}, detail: {…}, …} register.js? [sm]:116 {type: "tap", timeStamp: 110188, target: {…}, currentTarget: {…}, detail: {…}, …} register.js? [sm]:131 form发生了submit事件,携带数据为: {} register.js? [sm]:131 form发生了submit事件,携带数据为: {} DevTools: CPU profile parser is fixing 4 missing samples. register.js? [sm]:95 {type: "tap", timeStamp: 218265, target: {…}, currentTarget: {…}, detail: {…}, …} register.js? [sm]:88 picker发送选择改变,携带值为 1980-07-05 register.js? [sm]:131 form发生了submit事件,携带数据为: {} register.js? [sm]:131 form发生了submit事件,携带数据为: {} register.js? [sm]:131 form发生了submit事件,携带数据为: {} register.js? [sm]:131 form发生了submit事件,携带数据为: {} register.js? [sm]:131 form发生了submit事件,携带数据为: {} register.js? [sm]:131 form发生了submit事件,携带数据为: {} register.js? [sm]:131 form发生了submit事件,携带数据为: {} register.js? [sm]:131 form发生了submit事件,携带数据为: {} [WXML Runtime warning] ./common/template/list.wxml wx:key="{{index}}" does not look like a valid key name (did you mean wx:key="index" ?) 1 | <template name="list"> > 2 | <view class="list" wx:for="{{list}}" wx:key="{{index}}" > | ^ 3 | <view class="check-box" wx:if="{{isDelete}}"> 4 | <checkbox-group bind:change="checkboxChange" data-id="{{item.ID}}"> 5 | <label class="checkbox"> asdebug.js:10 POST http://127.0.0.1wx/index/init net::ERR_NAME_NOT_RESOLVED(env: Windows,mp,1.06.2301040; lib: 2.6.0) v @ asdebug.js:10 createRequestTask @ asdebug.js:10 invoke @ asdebug.js:10 r @ asdebug.js:10 invoke @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 X @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 ji @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 i @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 t @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 value @ apihook.js?t=wechat&s=1675004718479&v=0cffbba9918afb1342c18e2fdfb25ef5:1 getAtrList @ index.js? [sm]:235 onLoad @ index.js? [sm]:65 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 p.__callPageLifeTime__ @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 Ct @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 It @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 Nt.emit @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 emit @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 c @ asdebug.js:10 u @ asdebug.js:10 (anonymous) @ asdebug.js:1 f @ asdebug.js:1 g @ asdebug.js:1 (anonymous) @ asdebug.js:1 _ws.onmessage @ asdebug.js:1 Show 7 more frames asdebug.js:10 POST http://127.0.0.1wx/hits/add net::ERR_NAME_NOT_RESOLVED(env: Windows,mp,1.06.2301040; lib: 2.6.0) v @ asdebug.js:10 createRequestTask @ asdebug.js:10 invoke @ asdebug.js:10 r @ asdebug.js:10 invoke @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 X @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 ji @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 i @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 t @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 value @ apihook.js?t=wechat&s=1675004718479&v=0cffbba9918afb1342c18e2fdfb25ef5:1 addhits @ util.js? [sm]:101 onLoad @ index.js? [sm]:66 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 p.__callPageLifeTime__ @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 Ct @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 It @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 Nt.emit @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 emit @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 c @ asdebug.js:10 u @ asdebug.js:10 (anonymous) @ asdebug.js:1 f @ asdebug.js:1 g @ asdebug.js:1 (anonymous) @ asdebug.js:1 _ws.onmessage @ asdebug.js:1 Show 7 more frames WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 request:fail (env: Windows,mp,1.06.2301040; lib: 2.6.0) Xe @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 Nt.emit @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 Wi @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 c @ asdebug.js:10 (anonymous) @ asdebug.js:10 a.emit @ asdebug.js:1 callback @ asdebug.js:10 (anonymous) @ asdebug.js:10 setTimeout (async) h @ asdebug.js:10 O.onerror @ asdebug.js:10 error (async) v @ asdebug.js:10 createRequestTask @ asdebug.js:10 invoke @ asdebug.js:10 r @ asdebug.js:10 invoke @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 X @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 ji @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 i @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 t @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 value @ apihook.js?t=wechat&s=1675004718479&v=0cffbba9918afb1342c18e2fdfb25ef5:1 getAtrList @ index.js? [sm]:235 onLoad @ index.js? [sm]:65 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 p.__callPageLifeTime__ @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 Ct @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 It @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 Nt.emit @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 emit @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 c @ asdebug.js:10 u @ asdebug.js:10 (anonymous) @ asdebug.js:1 f @ asdebug.js:1 g @ asdebug.js:1 (anonymous) @ asdebug.js:1 _ws.onmessage @ asdebug.js:1 Show 20 more frames WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 request:fail (env: Windows,mp,1.06.2301040; lib: 2.6.0) Xe @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 Nt.emit @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 Wi @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 c @ asdebug.js:10 (anonymous) @ asdebug.js:10 a.emit @ asdebug.js:1 callback @ asdebug.js:10 (anonymous) @ asdebug.js:10 setTimeout (async) h @ asdebug.js:10 O.onerror @ asdebug.js:10 error (async) v @ asdebug.js:10 createRequestTask @ asdebug.js:10 invoke @ asdebug.js:10 r @ asdebug.js:10 invoke @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 X @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 ji @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 i @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 t @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 value @ apihook.js?t=wechat&s=1675004718479&v=0cffbba9918afb1342c18e2fdfb25ef5:1 addhits @ util.js? [sm]:101 onLoad @ index.js? [sm]:66 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 p.__callPageLifeTime__ @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 Ct @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 It @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 Nt.emit @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 emit @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 (anonymous) @ WAService.js?t=wechat&s=1675004718479&v=2.6.0:1 c @ asdebug.js:10 u @ asdebug.js:10 (anonymous) @ asdebug.js:1 f @ asdebug.js:1 g @ asdebug.js:1 (anonymous) @ asdebug.js:1 _ws.onmessage @ asdebug.js:1 Show 20 more frames
2023-02-01已经排查到问题所在了,搞了半天是第三方插件问题(网易七鱼客服系统),如果有人遇到过这个问题,首先进行以下步骤去排查: 把本地编译后的 js 代码全部搜索一下看看有没有 ES6 语法(如果原生用 ES6 开发并依赖小程序的 ES6 转 ES5 模块,排除这一步),node_modules 可以不用管,直接看 miniprogram_npm 下面的如果没有则勾选小程序的 ES6 转 ES5 模块,然后上传到小程序如果有问题,则需要去掉一些引入的第三方插件(在 app.json 的 plugins 去掉,它会把插件代码打包到小程序代码中)
IOS11进入小程序白屏,Unexpected token '...'报错信息:Unexpected token '...'. Expected a property name 机型:iPhone 8 Plus (GSM+CDMA)<iPhone10;2>、iPhone 7 Plus<iPhone9;2>、iPhone 7<iPhone9;1> 微信版本:8.0.13 [图片]
2022-08-25请问解决了吗?我现在也遇到了
ios10.3.3 小程序进入白屏ios10.3.3 小程序进入白屏,appid: wxa184df7a4a6860c8 报错 thirdScriptError SyntaxError at line:12995,column:96577,SyntaxError: Unexpected token '...'. Expected a property name. Stack: (native code) at evaluateScriptFile (WAServiceMainContext.js:2:96577) at value (WAServiceMainContext.js:2:137383) at (WAServiceMainContext.js:2:139421) at (WAServiceMainContext.js:2:134988) at (WAServiceMainContext.js:2:225318) at (WAServiceMainContext.js:2:224286) at forEach (native code) at (WAServiceMainContext.js:2:224250) at (WAServiceMainContext.js:2:225318) at _ (WAServiceMainContext.js:2:77637) global code
2022-08-24真鸡儿逗,腾讯视频 2.x 的重构版本没有加上投屏功能,不支持为什么还在新文档写出来
腾讯视频插件的投屏为什么用不了?[图片] [图片] 第一个视频是腾讯视频,设置了相应属性没有看到投屏按钮出来 第二个视频是使用 `video` 标签的视频,按钮可以显示出来
2021-12-07