export type settingItem = {
  /* 版本 */
  version: string
  /* 协议政策 */
  agreement: {
    user_agreement: string
    privacy_agreement: string
    about_us_agreement: string
  }
  upload_setting: AnyObject
  cdn_url: string
  h5_domain: string
  sync_delivery: boolean
}

/**
 * 首页轮播图类型
 */
export type bannerItem = {
  //商品ID
  id: number
  image: string
  //是否跳转
  jump: boolean
  //跳转商品ID
  goods_id: string
  linkurl:string
  target:string
}

export type menuItem = {
	background: string
	img:string
	name:string
	url: string
}

export type categoryPanelItem = {
  /** 图标路径 */
  icon: string
  /** id */
  id: number
  /** 分类名称 */
  name: string
}

export type goodsListItem = {
  id: number
  name: string
  images: string[]
  price: string
}

export type noticeBarItem = {
  id: number
  title: string
  content: string
}

export type hotRecommendItem = {
  id: number
  title: string
  sub_title?: string
  tags: string[]
  image: string
  classify_id: string
  goods_id: number
}
