// packageA/member/order/cpsComponents/cpsOrderItem/cpsOrderItem.js
Component({
  properties: {
    orderData: {
      type: Object,
      value: {},
    },
    isCoupon: {
      type: Boolean,
      value: false
    },
  },
  data: {
    copy: false,
    coupon_info: {}
  },

  methods: {
    copyText ($event) {
      wx.setClipboardData({
        data: $event.currentTarget.dataset.text,
      });
    }
  }
});
