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

dev / marubi-wish-list-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
  • marubi-wish-list-mp
  • src
  • pages
  • create-wish
  • create-wish.js
  • simon's avatar
    版本提交 · d1f8bfaf
    d1f8bfaf Browse Directory
    simon committed 2019-07-29 11:23:34 +0800
create-wish.js 439 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 30
let app = getApp();
Page({
  data: {
    // ruleTipsVisible: true,
  },
  onShareAppMessage() {},
  onLoad(options) {},
  // 子组件事件
  evtcomp(evt) {
    let {
      name,
      data
    } = evt.detail;
    switch (name) {

      case "_evt_hide_rule_tips":
        this.setData({
          ruleTipsVisible: false
        })
        break;

      default:
        break;
    }
  },
  // 提交心愿单
  onWishHandler() {

  }
})