text: import {playMode} from 'common/js/config'
  import {loadSearch, loadPlay, loadFavorite} from 'common/js/cache'
  
  const state = {
    singer: {},
    playing: false, // 播放还是暂停 默认暂停
    fullScreen: false, // 播放器展开还是收起
    playlist: [], // 当前播放列表
    sequenceList: [], // 顺序列表
    mode: playMode.sequence, // 播放模式
    currentIndex: -1, // 当前播放索引
    disc: {}, // 歌单对象
    topList: {},
    searchHistory: loadSearch(),
    playHistory: loadPlay(),
    favoriteList: loadFavorite()
  }
  
  export default state
  