chore: 优化系统功能与界面体验
- 升级系统版本至1.0.100 - 新增订单详情页物流、资质等信息展示 - 优化师傅报价页收益计算与显示 - 新增企业资质管理模块 - 优化后台标签页管理与交互 - 修复标签解析与地址脱敏问题 - 优化预约时段选择逻辑 - 调整服务类型配置界面布局
这个提交包含在:
@@ -526,22 +526,26 @@
|
||||
|
||||
{include file="common/script" /}
|
||||
<script type="text/javascript">
|
||||
// 确保在 RequireJS 加载完成后安全绑定,避免全局 $ 未定义
|
||||
if (typeof require === 'function') {
|
||||
require(['jquery'], function ($) {
|
||||
$(document).ajaxComplete(function (event, xhr, settings) {
|
||||
if (settings && settings.url && settings.url.indexOf('login') !== -1) {
|
||||
try {
|
||||
var json = JSON.parse(xhr.responseText);
|
||||
if (json && json.code === 0) {
|
||||
var img = document.querySelector(".captcha-badge-box img");
|
||||
if (img) img.click();
|
||||
}
|
||||
} catch (e) {}
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
// 等待 require-backend.js 完成 RequireJS 配置并挂载 jQuery,避免提前 require(['jquery']) 触发 404
|
||||
(function bindLoginCaptchaRefresh() {
|
||||
var timer = setInterval(function () {
|
||||
if (window.jQuery) {
|
||||
clearInterval(timer);
|
||||
window.jQuery(document).ajaxComplete(function (event, xhr, settings) {
|
||||
if (settings && settings.url && settings.url.indexOf('login') !== -1) {
|
||||
try {
|
||||
var json = JSON.parse(xhr.responseText);
|
||||
if (json && json.code === 0) {
|
||||
var img = document.querySelector(".captcha-badge-box img");
|
||||
if (img) img.click();
|
||||
}
|
||||
} catch (e) {}
|
||||
}
|
||||
});
|
||||
}
|
||||
}, 50);
|
||||
setTimeout(function () { clearInterval(timer); }, 10000);
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
在新工单中引用
屏蔽一个用户