// subPackage/page/pages/scanCoupon/scanCoupon.js
const wxService = require('../../../../utils/wxService')

wxService.page({
  /**
   * 页面的初始数据
   */
  data: {
    proData: [
      {
        "id": "636202018767245312",
        "classifyId": "621357257015300096",
        "headline": "2222",
        "type": 0,
        "memberPrice": 57700,
        "plusPrice": 32550,
        "transmitSum": 0,
        "index": 0,
        "url": "https://img3.bigaka.com/test/1001/201910/20191022/10015eb58657-67ec-43c2-9344-c277e0032742.jpg",
        "currentType": 1,
        "explain": "测试文案001/测试文案002/测试文案003"
      },
      {
        "id": "636201959732416512",
        "classifyId": "621357257015300096",
        "headline": "2222",
        "type": 0,
        "memberPrice": 548,
        "plusPrice": 220,
        "transmitSum": 0,
        "index": 0,
        "url": "https://img3.bigaka.com/test/1001/201910/20191022/1001ccee65c3-cced-4518-bbad-16412d671075.png",
        "currentType": 1,
        "explain": "Bigaka Bigaka 玫瑰金皮带腕表"
      }
    ]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})