- 一直显示域名不合法??
我都添加了域名了,还是显示不合法??? [图片]
2018-10-24 - view控件的margin-top属性影响audio子控件的播放点击位置
- 当前 Bug 的表现(可附上截图) audio控件的外包view控件的margin-top属性会使得audio的播放点击位置上移,如图红点所示。margin-top值越大,表现越明显。 微信客户端使用正常,开发工具有问题。 [图片] - 预期表现 - 复现路径 - 提供一个最简复现 Demo /*index.js*/ Page({ data: { current: { poster: 'http://y.gtimg.cn/music/photo_new/T002R300x300M000003rsKF44GyaSk.jpg?max_age=2592000', name: '此时此刻', author: '许巍', src: 'http://ws.stream.qqmusic.qq.com/M500001VfvsJ21xFqb.mp3?guid=ffffffff82def4af4b12b3cd9337d5e7&uin=346897220&vkey=6292F51E1E384E06DCBDC9AB7C49FD713D632D313AC4858BACB8DDD29067D3C601481D36E62053BF8DFEAF74C0A5CCFADD6471160CAF3E6A&fromtag=46', }, audioAction: { method: 'pause' } }, audioPlayed: function (e) { console.log('audio is played') }, audioTimeUpdated: function (e) { this.duration = e.detail.duration; } }) <view class="musicview"> <view> <audio src="{{current.src}}" poster="{{current.poster}}" name="{{current.name}}" author="{{current.author}}" action="{{audioAction}}" bindplay="audioPlayed" bindtimeupdate="audioTimeUpdated" controls="false"></audio> </view> </view> .musicview { flex: 1; margin-top: 100px; margin-bottom: 10px; text-align:center; }
2018-10-07