export const JCZQ_PLAY_TYPES = {
  'spf_odds':{
    title: '胜平负',
    shortTitle:'胜平负',
    options:['win','draw','loss'],
    win:'胜',
    draw: '平',
    loss:'负'
  },
  'rq_odds': {
    title: '让球胜平负',
    shortTitle: '让球',
    options:['win','draw','loss'],
    win:'让胜',
    draw: '让平',
    loss:'让负'
  },
  'bf_odds': {
    title: '比分',
    shortTitle: '比分',
    options:['w','d','l'],
    w: '胜',
    d:'平',
    l:'负',
    'wh1a0':'1:0',
    'wh2a0':'2:0',
    'wh2a1':'2:1',
    'wh3a0':'3:0',
    'wh3a1':'3:1',
    'wh3a2':'3:2',
    'wh4a0':'4:0',
    'wh4a1':'4:1',
    'wh4a2':'4:2',
    'wh5a0':'5:0',
    'wh5a1':'5:1',
    'wh5a2':'5:2',
    'wx':'胜其他',
    'dh0a0':'0:0',
    'dh1a1':'1:1',
    'dh2a2':'2:2',
    'dh3a3':'3:3',
    'dx':'平其他',
    'lh0a1':'0:1',
    'lh0a2':'0:2',
    'lh1a2':'1:2',
    'lh0a3':'0:3',
    'lh1a3':'1:3',
    'lh2a3':'2:3',
    'lh0a4':'0:4',
    'lh1a4':'1:4',
    'lh2a4':'2:4',
    'lh0a5':'0:5',
    'lh1a5':'1:5',
    'lh2a5':'2:5',
    'lx':'负其他'
  },
  'jq_odds': {
    title: '进球',
    shortTitle: '进球',
    options: ['g0','g1','g2','g3','g4','g5','g6','g7m'],
    g0:'0',
    g1:'1',
    g2:'2',
    g3:'3',
    g4:'4',
    g5:'5',
    g6:'6',
    g7m:'7+'
  },
  'bqc_odds': {
    title: '半全场',
    shortTitle: '半全场',
    options:['ww','wd','wl','dw','dd','dl','lw','ld','ll'],
    'ww':'胜胜',
    'wd':'胜平',
    'wl':'胜负',
    'dw':'平胜',
    'dd':'平平',
    'dl':'平负',
    'lw':'负胜',
    'ld':'负平',
    'll':'负负'
  }
}
export const JCLQ_PLAY_TYPES = {
 'sf_odds':{
  title: '胜负',
  shortTitle:'胜负',
  color: 'bg-deep-purple',
  options:['loss','win'],
  win:'主胜',
  loss:'客胜',
 },
 'rf_odds':{
  title: '让分',
  shortTitle:'让分',
  color: 'bg-indigo',
  options:['loss','win'],
  win:'主胜',
  loss:'客胜',
 },
 'dxf_odds':{
  title: '大小分',
  shortTitle:'大小分',
  options:['big','small'],
  big:'大于',
  small:'小于',
 },
 'sfc_odds':{
  title:'胜分差',
  shortTitle:'胜分差',
  title:'胜分差',
  options:['w1','w2','w3','w4','w5','w6','l1','l2','l3','l4','l5','l6'],
  'w1' : '主胜1-5',//主胜
  'w2' : '主胜6-10',
  'w3' : '主胜11-15',
  'w4' : '主胜16-20',
  'w5' : '主胜21-25',
  'w6' : '主胜26+',
  'l1' : '客胜1-5', //客胜
  'l2' : '客胜6-10', //客胜
  'l3' : '客胜11-15', //客胜
  'l4' : '客胜16-20', //客胜
  'l5' : '客胜21-25', //客胜
  'l6' : '客胜26+',//客胜
 }

}

export const CTZQ_SFC_PLAY_TYPES = {
  odds:{
    // title: '主',
    // shortTitle:'主',
    options:['3','1','0'],
    3:'胜',
    1: '平',
    0:'负'
    // options:[0,1,2],
    // 0:'胜',
    // 1: '平',
    // 2:'负'
  }
}
export const CTZQ_JQC_PLAY_TYPES = {
  home_odds:{
    title: '主',
    shortTitle:'主',
    options: [0,1,2,3],
    0:'0',
    1:'1',
    2:'2',
    3:'3+'
  },
  away_odds:{
    title: '客',
    shortTitle:'客',
    options: [0,1,2,3],
    0:'0',
    1:'1',
    2:'2',
    3:'3+'
  }
}
export const BJDC_PLAY_TYPES = {
  ...JCZQ_PLAY_TYPES,
  sxpds_odds:{
    title: '大小单双',
    shortTitle: '大小单双',
    options:['sd','ss','xd','xs'],
    'sd':'上单',
    'ss':'上双',
    'xd':'下单',
    'xs':'下双'
  },
  sfgg_odds:{
    title: '胜负过关',
    shortTitle: '胜负过关',
    options:['win','loss'],
    'win':'主胜',
    'loss':'客胜',
  },

}
export const PLAY_TYPES = {
  jczq: JCZQ_PLAY_TYPES,
  jclq: JCLQ_PLAY_TYPES,
  ctzq_jqc: CTZQ_JQC_PLAY_TYPES,
  bjdc:BJDC_PLAY_TYPES,
  bjdc_sfgg: BJDC_PLAY_TYPES,
  ctzq_sfc9:CTZQ_SFC_PLAY_TYPES,
  ctzq_sfc14:CTZQ_SFC_PLAY_TYPES
}
export const LOTTERY_STATE = {
  0: '未支付',// 下单未支付,无
  1: '中奖',
  2: '未中奖',
  3: '待开奖', //待开，已出票
  4: '待出票',// 待出票，出票中
  5: '待接单',// 待接单，未出票
  6: '撤销订单',
  7: '已派奖',
  21: '已流单'
}

export const SELL_STATE = {
  'selling': '销售中',
  'stopSelling': '停售'
}

export const ORDER_TYPE = {
  1: '投注',
  2: '发单',
  3: '合买',
  4: '跟单'
}

export const TYPE_MODE = {
1:'截止公开',
2: '完全公开',
3: '认购可见'
}
// 判断是否为数字彩票
export function isNumberTottery(type){
  return ['dlt','qxc','pls','plw'].indexOf(type)>=0
}
// 判断是否为竞技彩票
export function isVieTottery(type){
  return ['jczq','jclq'].indexOf(type)>=0
}

export const PAY_TYPES = {
  1:{name:'支付宝',id:1},'2':{name:'银行卡',id:2}
}

export const MATCH_STATUS = {
  0:"未开始", 1:"比赛中", 2:"已结束", 3:"延期", 4:"中断", 5:"取消",6:'中场休息'
}

export const PAY_CHANNEL_STATE = {
  0:'未开通',
  1:'已开通',
  2: '申请失败',
  3: '审核中'
}

export const AUTH_STATE = {
  0:'未认证',
  1:'已认证',
  2: '审核失败',
  3: '审核中'
}

export const WITHDRAW_STATE = {
  1:'待处理',2:'已提现',3:'提现失败'
}

export const OPTIMIZE_TYPE = {
  1: '平均优化',
  2: '博热优化',
  3: '博冷优化'
}
