data.js 1.36 KB
/*
 * @Description: 基础数据
 * @Author: huyue
 * @Date: 2023-07-04 11:46:53
 * @LastEditors: huyue
 * @LastEditTime: 2023-08-16 14:33:14
 */
const DefaultData = {
  defaultLineHeight: '17.32',
  defaultPieHeight: '13.05',
  yearList: ['2023', '2022'],
  menuList: [
    {
      tabName: 'business',
      children: [
        {
          label: '业务数据 | 1.0太阳膜采购',
          tabName: 'business',
          value: 'm_1.0'
        },
        {
          label: '业务数据 | 1.1精品升级',
          tabName: 'business',
          value: 'm_1.1'
        },
        {
          label: '业务数据 | 1.3售后众筹',
          tabName: 'business',
          value: 'm_1.3'
        },
        {
          label: '业务数据 | 2.1会员权益',
          tabName: 'business',
          value: 'm_2.1'
        }
      ]
    },
    {
      label: '运营数据',
      tabName: 'operational',
      value: 'operational'
    },
    {
      label: '内部数据',
      tabName: 'interior',
      value: 'interior'
    }
  ],
  directionTimer: 3000,
  delayTimer: 3000
}

const RankColor = ['linear-gradient(180deg, #FFDA0B 0%, #FFBC24 100%)', 'linear-gradient(180deg, #EBE5D6 0%, #BDB4A6 100%)', 'linear-gradient(180deg, #EEC08E 0%, #B86E3A 100%)']

export default Object.freeze({
  DefaultData,
  RankColor
})