// 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 : [
      {icon: '/image/bill/0.png'},
      {icon: '/image/bill/1.png'},
      {icon: '/image/bill/2.png'},
      {icon: '/image/bill/3.png'},
      {icon: '/image/bill/4.png'},
      {icon: '/image/bill/5.png'},
      {icon: '/image/bill/6.png'},
      {icon: '/image/bill/7.png'},
      {icon: '/image/bill/8.png'},
      {icon: '/image/bill/9.png'},
      {icon: '/image/bill/10.png'},
      {icon: '/image/bill/11.png'},
      {icon: '/image/bill/12.png'}
    ],
    accountIcon : [
      {icon: '/image/account/0.png'},
      {icon: '/image/account/1.png'},
      {icon: '/image/account/2.png'},
      {icon: '/image/account/3.png'},
      {icon: '/image/account/4.png'},
      {icon: '/image/account/5.png'},
      {icon: '/image/account/6.png'},
      {icon: '/image/account/7.png'},
      {icon: '/image/account/8.png'},
      {icon: '/image/account/9.png'},
      {icon: '/image/account/10.png'},
      {icon: '/image/account/11.png'}
    ]
  },
  $api: api,
  $utils: utils
})
