mirrored_repositories/zh_daily_report/lib
class Constants {
  static const String BASE_URL = "https://news-at.zhihu.com/api/4/";

  static const String HOME_TITLE = "知乎日报";

  //宽高常量
  static const double BANNER_HEIGHT = 200.0;
  static const double normalItemHeight = 100.0;
  static const double dateTimeItemHeight = 40.0;

  //字符串常量
  static const String todayHot = '今日热点';
  static const String themeTitle = '专题';
  static const String storyTitle = '详情';
  static const String tips =
      '本页应该由banner+html组成，由于Flutter对Html支持的问题，以及暂时没找到好的解决方案，暂缓该功能，怕忘记了，故保留该页面，作为优化\n请点击下面链接跳转到webview查看本文';

  //SharedPreferences key
  static const String spThemeCache = 'sp_theme_cache';
  static const String spThemeCacheHours = 'sp_theme_cache_hours';

  //time
  static const int oneDay = 24 * 60 * 60;

  //def headimg
  static const String defHeadimg =
      'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRb0V6OlKdbsP-45kue1bb3QsVF2vV6Ncm_Nw3OzSwdTmWstfzY';

  //comment pop
  static const String popReply = '回复';
  static const String popAgree = '赞同';
  static const String popCopy = '复制';
  static const String popReport = '举报';

  //def bg
  static const String defBg =
      'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1529724791909&di=02909c10c9d8ed553d070522f4c11b44&imgtype=0&src=http%3A%2F%2Fimg17.3lian.com%2Fd%2Ffile%2F201702%2F14%2Fbf13787b4f6a5c346c07b8f10466a682.jpg';
}
