bindtap事件获取元素自身的宽度
没找到,请大神帮忙
元素的 id 在回调函数中可以用 e.currentTarget.id 的方式获取到
https://developers.weixin.qq.com/miniprogram/dev/framework/view/wxml/event.html
createSelectorQuery 可以用来获取元素的大小
https://developers.weixin.qq.com/miniprogram/dev/api/wx.createSelectorQuery.html