<view bindtap="change" data-index="{{index}}">哈哈</view> change(event){ const dataset = event.target.dataset; const index = dataset.index }