// packageD/member/myOrder/refund/components/returnTypePop/returnTypePop.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    refundTypes:{
      type:Array,
      value:[]
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
    popShow:false,
    returnTypeIcons: ["icon-fontclass-daizhifu", "icon-fontclass-daishouhuo", "icon-fontclass-daifahuo"],
  },

  /**
   * 组件的方法列表
   */
  methods: {
    setPopShow(){
      this.setData({
        popShow:!this.data.popShow
      });
    },
    sendBtn(evt){
      let item = evt.currentTarget.dataset.item;
      this.triggerEvent("confirm",{item});
      this.setPopShow();
    }
  }
});
