按钮的使用和底层逻辑的实现(暂未成功)
WXML:
<button class="bth1"type="primary" >按钮</button>
JS:
// index.js
// 获取应用实例
//const app = getApp()
Page({
  /*bthTapHandler(e){//按钮的tap事件处理
      console.log(e)//时间参数对象e
  }*/ 
  bthTapHandle(e){
    console.log(e)
  }
})
效果图:




















