一、输入框类型的值

  使用事件对象  e.detail.value

 

二、html5标签属性data-*

  使用e.currentTarget.dataset

 

三、页面加载时,onLoad函数中获取其他页面传过来的参数

  使用 options

相关文章: