Files
data_manage/bin/const/CommonVariables.dart
2026-01-20 09:26:55 +08:00

64 lines
2.3 KiB
Dart
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
class CommonVariables {
static bool isNetWorkOn = false;
static String supabaseUrl = "https://zhmht.swes.com.cn:3443";
// 企业微信客服拉起的url地址
// static String wxKfUrl = "https://work.weixin.qq.com/kfid/kfcab6a07e8aac68945";
static String wxKfUrl = "https://work.weixin.qq.com/kfid/kfc7d2337b9c07b1269";
// 企业微信ID
// static String wxCorpId = "wwc17348c75dbde1dc";
static String wxCorpId = "ww51feda6026280cd0";
//ICP备案号
static String ICPRightCode = "皖ICP备2024068219号-1A";
//公司名称
static String enterpriseName = "合肥眠花糖家具有限责任公司";
//备案时间
static String ICPTime = "2019-2029";
static String shoph5Url = "https://zhmht.swes.com.cn:1443";
static Map<String, Function(dynamic)> callMap = {};
static const String weather_apiKey =
'40e23445cf0a29561af2b5b7d506a38b'; // 替换为你的 API 密钥
static String shareText = "您的朋友邀请您使用《智慧眠花糖》APP请复制后面链接在浏览器中打开 " +
shoph5Url +
"/#/pages/download/download";
//容器圆角
static double filter_selector_border_radius = 50;
static double slider_container_border_radius = 10;
static double dialog_selector_border_radius = 6;
//列表数据(X秒内为刚刚数据)
static int recent_data_time = 60 * 5;
//表格间距
static int form_padding_small = 1;
static int form_padding_medium = 5;
static int form_padding_large = 8;
//内容容器最小高度百分比
static double text_height_small_percent = 0.036; //注释
static double text_height_medium_percent = 0.037; //正文
static double text_height_large_percent = 0.046; //标题/搜索栏
static double text_height_more_large_percent = 0.074; //菜单
static double icon_height_medium_percent = 0.014; //icon
static int default_page = 1;
static int default_limit_max = 999999;
static int default_limit = 10;
//下拉最大高度
static double dropdown_max_height = 200;
//详情弹窗左边字段显示宽度百分比
static double dialog_attribute_width_percent = 0.15;
static String default_gender = "1";
static bool default_vibrate = true;
static int default_weight = 65;
static int default_age = 30;
static String default_phone = "18612345678";
static int default_height = 170;
static String default_username = "眠眠";
}