Skip to content
  • This project
    • Loading...
  • Sign in

dev / zhiliang-light-mp

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • zhiliang-light-mp
  • src
  • pages
  • address-management
  • address-management.js
  • simon's avatar
    no message · c631d055
    c631d055 Browse Directory
    simon committed 2019-08-08 23:24:54 +0800
address-management.js 417 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
let app = getApp();
Page({
  data: {
    authorizeVisible: false,
  },
  onShareAppMessage() {},
  showAuth() {
    this.setData({
      authorizeVisible: true
    })
  },
  onLoad(options) {},
  // 编辑收货地址
  onAddressEditHandler() {
    app.router.push({
      path: "addressEdit"
    })
  },
  // 添加收货地址
  onAddressAddHandler() {
    app.router.push({
      path: "addressEdit"
    })
  }
})