Logo white

wxd / MShopWeApp

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • MShopWeApp
  • components
  • diy_title
  • diy_title.js
  • 首次上传
    6341715b
    后端研发-田富滉 authored
    2019-08-29 11:19:23 +0800  
    Browse Code »
diy_title.js 394 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Component({
  properties: {
    // 这里定义了innerText属性,属性值可以在组件使用时指定
    object:{
      type: Object,
      value:null
    },

  },
  data: {
    // 这里是一些组件内部数据
    someData: {}
  },
  methods: {
     //--智能跳转--
     go_url:function (e) {
        var url=e.currentTarget.dataset.url;
        getApp().goto(url);
     }
  }
})