devMixin.js 906 Bytes
module.exports = Behavior({
  data: {
     devList: [{
      order: 0,
      appId: 'wx0c181d09a93d5982',
      path: 'pages/tab/ctrl',
      text: '智能香氛等离子健康舒适系统'
    }, {
      order:1,
      appId: 'wx9e9c52dfbcc5c8a0',
      path: 'pages/lamplight/lamplight',
      text: '豪车智控氛围灯'
    },{
      order:2,
      appId:'wx51feceda9f533228',
      path:'pages/home/index',
      text:'小云记录仪'
    },{
      order: 3,
      appId:'wx0c17d7f15dad5e6d',
      path:'pages/index/index',
      text:'智能车钥匙'
    },{
      order: 4,
      text:'行车记录仪'
    }]
  },
  methods:{
    jumpDev(e) {
      let {item} = e.currentTarget.dataset
      if(item.appId)
      wx.navigateToMiniProgram(item)
      else {
        wx.p.router.go('/packageMine/pages/device/tachograph/tachograph', {
          notIntercept: true
        })
      }
    }
  }
})