- 6.7.3.1340长按网页直接退出
6.7.3.1340版本Andriod,进入一个网页之后长按任意一处,都会直接退出网页,这个是新功能还是BUG啊?迷。。。
2018-09-19 - 下一个基础库版本中,取消支持position: sticky?
- 当前 Bug 的表现(可附上截图) [图片] - 预期表现 [图片] - 提供一个最简复现 Demo [代码]<!--moui.wxml-->[代码] [代码]<[代码][代码]template[代码] [代码]name[代码][代码]=[代码][代码]'Navbar'[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]'moui-navbar'[代码][代码] [代码][代码]style[代码][代码]=[代码][代码]'--activeIndex:{{activeIndex}};position:sticky;top:0;padding-top:{{statusBarHeight||"20"}}px;border:0'[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]block[代码] [代码]wx:for[代码][代码]=[代码][代码]'{{tabs}}'[代码] [代码]wx:key[代码][代码]=[代码][代码]'*this'[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]id[代码][代码]=[代码][代码]'{{index}}'[代码] [代码]style[代码][代码]=[代码][代码]'width:144rpx;{{textStyle||""}}'[代码] [代码]bindtap[代码][代码]=[代码][代码]'{{bindtap}}'[代码][代码] [代码][代码]class[代码][代码]=[代码][代码]'moui-navbar__item {{activeIndex==index?"active":""}}'[代码][代码]>[代码][代码] [代码][代码]{{item}}[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]block[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]wx:if[代码][代码]=[代码][代码]"{{reload}}"[代码] [代码]bindtap[代码][代码]=[代码][代码]'confirmReload'[代码] [代码]hover-class[代码][代码]=[代码][代码]'card-hover'[代码][代码] [代码][代码]style[代码][代码]=[代码][代码]'width:22px;height:22px;padding:10px;border-radius:50%'[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]'icon-reload'[代码] [代码]style[代码][代码]=[代码][代码]'width:22px;height:22px'[代码] [代码]/>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]'moui-navbar__slider'[代码][代码] [代码][代码]style[代码][代码]=[代码][代码]'width:32px;height:2px;left:calc((var(--activeIndex) + 0.5) * 144rpx - 16px)'[代码][代码]/>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码]</[代码][代码]template[代码][代码]>[代码] [代码]<!--page-->[代码] [代码]<[代码][代码]import[代码] [代码]src[代码][代码]=[代码][代码]'./path/to/moui.wxml'[代码] [代码]/>[代码][代码]<[代码][代码]template[代码] [代码]is[代码][代码]=[代码][代码]'Navbar'[代码] [代码]data[代码][代码]=[代码][代码]'{{...Navbar}}'[代码] [代码]/>[代码] [代码]// page.js[代码] [代码]Page({[代码] [代码] [代码][代码]data: {[代码][代码] [代码][代码]Navbar: {[代码][代码] [代码][代码]activeIndex: 0,[代码][代码] [代码][代码]...appData.systemInfo,[代码][代码] [代码][代码]tabs: [[代码][代码]'问卷'[代码][代码], [代码][代码]'收藏'[代码][代码]],[代码][代码] [代码][代码]bindtap: [代码][代码]'bindChangeIndex'[代码][代码],[代码][代码] [代码][代码]textStyle: [代码][代码]'transition:none;-webkit-transition:none'[代码][代码],[代码][代码] [代码][代码]},[代码][代码] [代码][代码]},[代码][代码] [代码][代码]bindChangeIndex: [代码][代码]function[代码] [代码]({ currentTarget: { id }, detail: { current, source } } = {}) {[代码][代码] [代码][代码]if[代码] [代码](id.toString() || source === [代码][代码]'touch'[代码][代码]) {[代码][代码] [代码][代码]let activeIndex = id.toString() || current;[代码][代码] [代码][代码]if[代码] [代码](parseInt(activeIndex) !== [代码][代码]this[代码][代码].data.Navbar.activeIndex) {[代码][代码] [代码][代码]this[代码][代码].setData({ [[代码][代码]'Navbar.activeIndex'[代码][代码]]: parseInt(activeIndex) });[代码][代码] [代码][代码]}[代码][代码] [代码][代码]}[代码][代码] [代码][代码]},[代码][代码]});[代码] [代码]/** app.wxss **/[代码][代码]@import [代码][代码]'style/moui.wxss'[代码][代码];[代码][代码]/** https://github.com/mofong/moUI **/[代码]
2018-09-15 - wx.scancode()返回结果客户端与开发者工具不一致
扫同一个小程序码,返回的scanType开发者工具与客户端不一致 [图片] [图片]
2018-05-15