1、vue点击事件传参(day)的写法:
<view @click="process(day)"></view>2、微信小程序写法 (1)事件传参
<view bindtap="process" data-day="{{day}}"></view>(2)获取参数day
process(e){
console.log(e.currentTarget.dataset.day)
}3、总结:微信小程序不支持事件传参,可以通过把参数绑定在元素上,通过currentTarget.dataset获取参数。

 
  
  
  
 
 
  
 
 
 