Logo white

wxd / MShopWeApp

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • MShopWeApp
  • components
  • userqy_pop_up
  • userqy_pop_up.js
  • 小程序秒杀规则优化
    c497c204
    yvan.ni authored
    2021-10-27 11:05:10 +0800  
    Browse Code »
userqy_pop_up.js 449 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 22 23 24 25 26 27 28 29 30 31
// components/userqy_pop_up/userqy_pop_up.js
Component({
  /**
   * 页面的初始数据
   */
  data: {
    control: 1
  },
  
  properties: {
  
  },
  ready: function () {
   
  },
 
  methods: {
 
 // 打开主键
    open: function (e) {
      var contents = e.content;
      this.setData({ control: 2, title: e.title, content: contents });
     
    },
    //关闭
    close: function () {
      this.setData({ control: 0 });
    },

  },
})