• This project
    • Loading...
  • Sign in

xt / xcx-book · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • xcx-book
  • miniprogram
  • pack-book
  • components
  • book
  • smsbatch
  • service.js
  • 短信测试
    81c7ef61
    by Yolanda
    2021-03-30 11:17:33 +0800  
    Browse Files
service.js 433 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
// components/book/smsbatch/service.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {},

  /**
   * 组件的初始数据
   */
  data: {},

  /**
   * 组件的方法列表
   */
  methods: {
    showAs(){
      this.selectComponent('#as').show()
    },
    click(e){
      console.log(e);
      if(e.detail.value){
        wx.makePhoneCall({
          phoneNumber:e.detail.value
        })
      }
    }
  }
})