chore: 优化系统功能与界面体验
- 升级系统版本至1.0.100 - 新增订单详情页物流、资质等信息展示 - 优化师傅报价页收益计算与显示 - 新增企业资质管理模块 - 优化后台标签页管理与交互 - 修复标签解析与地址脱敏问题 - 优化预约时段选择逻辑 - 调整服务类型配置界面布局
这个提交包含在:
@@ -75,10 +75,19 @@ class Config extends Backend
|
||||
}
|
||||
$siteList[$v['group']]['list'][] = $value;
|
||||
}
|
||||
$index = 0;
|
||||
$hasActive = false;
|
||||
foreach ($siteList as $k => &$v) {
|
||||
$v['active'] = !$index ? true : false;
|
||||
$index++;
|
||||
if (!$hasActive && !empty($v['list'])) {
|
||||
$v['active'] = true;
|
||||
$hasActive = true;
|
||||
} else {
|
||||
$v['active'] = false;
|
||||
}
|
||||
}
|
||||
unset($v);
|
||||
if (!$hasActive && !empty($siteList)) {
|
||||
$firstKey = array_key_first($siteList);
|
||||
$siteList[$firstKey]['active'] = true;
|
||||
}
|
||||
$this->view->assign('siteList', $siteList);
|
||||
$this->view->assign('typeList', ConfigModel::getTypeList());
|
||||
|
||||
在新工单中引用
屏蔽一个用户