text: Page({
    onShareAppMessage() {
      return {
        title: '振动',
        path: 'page/API/pages/vibrate/vibrate'
      }
    },
  
    vibrateShort() {
      qq.vibrateShort({
        success(res) {
          console.log(res)
        },
        fail(err) {
          console.error(err)
        },
        complete() {
          console.log('completed')
        }
      })
    },
  
    vibrateLong() {
      qq.vibrateLong({
        success(res) {
          console.log(res)
        },
        fail(err) {
          console.error(err)
        },
        complete() {
          console.log('completed')
        }
      })
    }
  })
  