export const userTypes = [
  {
    label: "全部用户",
    value: "all",
  },
  {
    label: "非会员用户",
    value: "non_vip",
  },
  {
    label: "仅会员用户",
    value: "vip",
  },
];

// 新版菜单
export const newMenus = [
  {
    name: '顾客中心',
    intro: '以顾客为核心统一管理',
    childrenList: [
      {
        name: "超级会员",
        icon: "cjhy",
        pathName: "superVip",
        intro: "用户会员管理设置"
      },
    ]
  },
  {
    name: '拉新拓客',
    intro: '协助商家拉来新客户，拓展客户群体',
    childrenList: [
      {
        name: "全民股东",
        icon: "zhcz",
        pathName: "distribution_page",
        intro: "用户成为股东，可促进消费"
      },
      {
        name: "套餐推广",
        icon: "tctg",
        pathName: "package_popularize",
        intro: "下单通过用户邀请好友减免金额的方式裂变宣传套餐加购",
      },
      {
        name: "新客立减",
        icon: "xklj",
        pathName: "newUserDiscount",
        intro: "首单下单减免金额"
      },
      {
        name: "商品拼团",
        icon: "sppt",
        pathName: "group_booking",
        intro: "拼团"
      },
      {
        name: "分享配置",
        icon: "fxpz",
        pathName: "share_setting",
        intro: "商家可配置用户分享后可获得的奖励"
      },
    ]
  },
  {
    name: '拉高客单价',
    intro: '提高每一位顾客单次购买的金额',
    childrenList: [
      {
        name: "满减活动",
        icon: "mjhd", pathName: "discount_activity",
        intro: "达到指定支付金额享受减价"
      },
      {
        name: "点餐智能推荐",
        icon: "dczntj",
        pathName: "order_recommendation",
        intro: "进入点单页X秒未点自动推荐商品，此推荐设置启用即生效",
      },
      {
        name: "限时折扣",
        icon: "xszk",
        pathName: "discount_limit",
        intro: "批量设置商品折扣"
      },
      {
        name: "弹窗广告",
        icon: "tcgg",
        pathName: "advertisement",
        intro: "设置弹窗广告"
      },
    ]
  },
  {
    name: '提升复购率',
    intro: '提升客户再次购买的概率和频次',
    childrenList: [
      {
        name: "积分锁客",
        icon: "jfsk",
        pathName: "point_manage",
        intro: "设置充值消费的N倍，当前订单立即免单",
      },
      {
        name: "消费返现",
        icon: "xffx",
        pathName: "cashback",
        intro: "用户下单后返现一定的金额到余额，可促进复购",
      },
      {
        name: "消费赠券",
        icon: "xfzq",
        pathName: "consume_ticket",
        intro: "达到指定消费金额赠送优惠券",
      },
      {
        name: "私域引流",
        icon: "syyl",
        pathName: "drainage",
        intro: "可设置用户下单成功后的群二维码",
      },
      {
        name: "生日有礼",
        icon: "sryl",
        pathName: "birthdayGift",
        intro: "用户生日管理设置"
      },
      // {
      //   name: "推送活动消息",
      //   icon: "tshdxx",
      //   pathName: "",
      //   intro: "给用户推送服务通知"
      // }
    ]
  },
  {
    name: '增加现金流',
    intro: '增加商家特定时期内实际可支配的现金流入',
    childrenList: [
      {
        name: "霸王餐",
        icon: "bwc",
        pathName: "king_dine",
        intro: "设置充值消费的N倍，当前订单立即免单",
      },
      {
        name: "智慧充值",
        icon: "zhcz",
        pathName: "wisdom_recharge",
        intro: "允许客户充值并使用余额支付",
      },
      {
        name: "充值兑换码",
        icon: "czdhm",
        pathName: "recharge_exchange",
        intro: "兑换码直充余额，可当作礼品赠送",
      },
      {
        name: "券兑换码",
        icon: "qdhm",
        pathName: "coupon_exchange_code",
        intro: "可添加多券组合兑换"
      },
    ]
  },
  {
    name: '优惠券体系',
    intro: '完整且系统化的优惠体系',
    childrenList: [
      {
        name: "折扣券",
        icon: "zkq",
        pathName: "rebate_coupon",
        intro: "下单享折扣但折扣的金额将在券中抵扣。",
      },
      {
        name: "满减券",
        icon: "mjq",
        pathName: "discount_coupon",
        intro:
          "用户满足指定金额后，可使用优惠券立减相应金额，如：设置满100-50券，符合要求的订单满100元后，立减50元。",
      },
      {
        name: "商品兑换券",
        icon: "spdhq",
        pathName: "product_redemption",
        intro: "设置可兑换成商品的券",
      },
      {
        name: "买一送一券",
        icon: "myzy",
        pathName: "buy_one",
        intro: "针对营销活动买一送一设置券品",
      },
      {
        name: "第二件半价券",
        icon: "dejbjq",
        pathName: "half_price",
        intro: "设置第二件半价券",
      },
      {
        name: "免配送费券",
        icon: "mfpsq",
        pathName: "",
        intro: "可设置一张免除订单配送费的券",
      },
      {
        name: "固定价格券",
        icon: "gdjkq",
        pathName: "",
        intro:
          "设置该券后，允许用户以固定价格兑换指定商品，如：设置一个固定价格9.9的券，商品20元，用户使用券后只需要9.9元兑换该商品。",
      },
      {
        name: "超值券包",
        icon: "czqb",
        pathName: "",
        intro: "下单加购"
      },
    ]
  },
  {
    name: '消息推送功能',
    intro: '推送商家/平台优惠活动消息的方式',
    childrenList: [
      {
        name: "短信推送",
        icon: "dxts",
        pathName: "note_push",
        intro: "给用户推送服务通知"
      },
      {
        name: "微信公众号",
        icon: "wxgzh",
        pathName: "official_accounts",
        intro:
          "授权微信公众号后，让你能够在后台查看和维护公众号的粉丝；同时你的店铺也有出现关注公众号的入口。",
      },
    ]
  }
]

export const returnUserType = (type) => {
  return userTypes.find((item) => item.value === type)?.label;
};
