// app.js
import api from './utils/api.js';
import utils from './utils/util.js';
App({
  onLaunch() {
  },
  globalData: {
    /**
     * 图标设置
     */
    INCOME_SETTING: 'INCOME_SETTING',
    EXPEND_SETTING: 'EXPEND_SETTING',
    CASH_SETTING: 'CASH_SETTING',
    OWE_SETTING: 'OWE_SETTING',
    /**
     * 账单类型
     */
    INCOME: 'INCOME',
    EXPEND: 'EXPEND',
    TRANSFER: 'TRANSFER',
    REPAYMENT: 'REPAYMENT',
    billIcon : [
      {label: '度假', icon: '/image/bill/0.png'},
      {label: '电影', icon: '/image/bill/1.png'},
      {label: '聚餐', icon: '/image/bill/2.png'},
      {label: '网购', icon: '/image/bill/3.png'},
      {label: '医疗', icon: '/image/bill/4.png'},
      {label: '游戏', icon: '/image/bill/5.png'},
      {label: '孩子', icon: '/image/bill/6.png'},
      {label: '化妆品', icon: '/image/bill/7.png'},
      {label: '生日', icon: '/image/bill/8.png'},
      {label: '车票', icon: '/image/bill/9.png'},
      {label: '水果', icon: '/image/bill/10.png'},
      {label: '红包', icon: '/image/bill/11.png'},
      {label: '借钱', icon: '/image/bill/11.png'}
    ],
    accountIcon : [
      {label: '工商银行', icon: '/image/account/0.png'},
      {label: '基金', icon: '/image/account/1.png'},
      {label: '交通银行', icon: '/image/account/2.png'},
      {label: '农信社', icon: '/image/account/3.png'},
      {label: '农业银行', icon: '/image/account/4.png'},
      {label: '建设银行', icon: '/image/account/5.png'},
      {label: '招商银行', icon: '/image/account/6.png'},
      {label: '中国银行', icon: '/image/account/7.png'},
      {label: '现金', icon: '/image/account/8.png'},
      {label: '微信', icon: '/image/account/9.png'},
      {label: '负债', icon: '/image/account/10.png'},
      {label: '支付宝', icon: '/image/account/11.png'}
    ]
  },
  $api: api,
  $utils: utils
})
