export const pkgOption = JSON.parse(window.localStorage.getItem("pkgOption"));

export const payTypeList = [
  {
    value: 'alipay',
    label: '支付宝'
  },
  {
    value: 'weixin',
    label: '微信'
  }
]

export const sourceOption = [{
  value: 'common',
  label: '默认'
}, {
  value: 'toutiao',
  label: '头条'
}, {
  value: 'kuaishou',
  label: '快手'
}, {
  value: 'oppo',
  label: 'oppo'
}, {
  value: 'youmi',
  label: '有米'
}, {
  value: 'vivo',
  label: 'vivo'
}, {
  value: 'qutoutiao',
  label: '趣头条'
}, {
  value: 'xiaomi',
  label: '小米'
}, {
  value: '_360',
  label: '_360'
}, {
  value: 'dsp',
  label: 'dsp'
}, {
  value: 'yyb',
  label: '应用宝'
}, {
  value: 'meizu',
  label: '魅族'
}]

export const gobackRemarkOption = [{
  value: '提现绑定微信未进行实名认证',
  label: '提现绑定微信未进行实名认证'
}]

export const rejectRemarkOption = [{
  value: '系统判定有作弊行为',
  label: '系统判定有作弊行为'
}]

export const cashOption = [{
  value: '0.3',
  label: '0.3'
}, {
  value: '0.36',
  label: '0.36'
}, {
  value: '1',
  label: '1'
}, {
  value: '2',
  label: '2'
}, {
  value: '5',
  label: '5'
}, {
  value: '10',
  label: '10'
}, {
  value: '20',
  label: '20'
}, {
  value: '50',
  label: '50'
}]

export const adPlatformOption = [{
  value: 'chuanshanjia',
  label: '穿山甲'
}, {
  value: 'guangdiantong',
  label: '广点通'
}, {
  value: 'baidu',
  label: '百度'
}, {
  value: 'kuaishou',
  label: '快手'
}, {
  value: 'feima',
  label: '飞马'
}, {
  value: 'sogou',
  label: '搜狗'
}, {
  value: 'xunfei',
  label: '讯飞'
}, {
  value: 'baihui',
  label: '百汇'
}, {
  value: 'self_dsp',
  label: '非sdk联盟广告'
}]

export const pageOption = [{
  value: '首页',
  label: '首页'
}, {
  value: '内文页',
  label: '内文页'
}]

export const adIdOption = [
  {
    value: '118',
    label: '穿山甲大图广告'
  }, {
    value: '1934',
    label: '穿山甲激励视频'
  }, {
    value: '2086',
    label: '穿山甲全屏视频'
  }, {
    value: '141',
    label: '广点通大图广告'
  }, {
    value: '2046',
    label: '广点通激励视频'
  }, {
    value: '2112',
    label: '快手API大图广告'
  }, {
    value: '2232',
    label: '快手SDK大图广告'
  }, {
    value: '2039',
    label: '快手激励视频'
  }, {
    value: '2156',
    label: '快手全屏视频'
  }, {
    value: '2176',
    label: '飞马激励视频'
  }, {
    value: '2230',
    label: '搜狗大图广告'
  }, {
    value: '2239',
    label: '讯飞大图广告'
  }, {
    value: '2240',
    label: '讯飞激励视频'
  }, {
    value: '2263',
    label: '百汇激励视频'
  }, {
    value: '2264',
    label: '百汇全屏视频'
  }]

export const adTypeOption = [
  {
    value: '信息流广告',
    label: '信息流广告'
  }, {
    value: '开屏广告',
    label: '开屏广告'
  }, {
    value: '激励视频广告',
    label: '激励视频广告'
  }, {
    value: '非SDK联盟广告',
    label: '非SDK联盟广告'
  }]

export const sdkRenderTypeOption = [
  {
    value: 1,
    label: '自渲染'
  }, {
    value: 2,
    label: '模板渲染'
  }]


// ----------广告投放配置--------------------

// 匹配ID类型
export const matchIdType = [
  { label: '广告主', value: 1, id: 1 },
  { label: '广告组', value: 2, id: 2 },
  { label: '计划', value: 3, id: 3 },
  { label: '包', value: 4, id: 4 },
]

// 上报类型
export const reportType = [
  // { label: '激活', value: 'active', id: 1 },
  { label: '关键行为', value: 'keyword', id: 2 },
  { label: '付费', value: 'pay', id: 3 },
  { label: '次留', value: 'retain', id: 4 },
  { label: '注册', value: 'register', id: 5 },
]

// 统计方式
export const statMethod = [
  { label: '事件累计', value: 'accumulate', id: 1 },
  { label: 'ecpm', value: 'cpm', id: 2 },
  { label: '混合', value: 'mix', id: 3 },
]

// 上报时间
export const reportTimeMethod = [
  { label: '自然天', value: 'day', id: 1 },
  { label: '顺延小时', value: 'nextHour', id: 2 },
]

// 激活统计方式
export const activeStatMethod = [
  { label: '默认', value: 'default', id: 1 },
  { label: '事件累计', value: 'accumulate', id: 2 },
  { label: 'ecpm', value: 'cpm', id: 3 },
  { label: '混合', value: 'mix', id: 4 },
]

// ------------------------------------------
