Compare commits

...

6 Commits

Author SHA1 Message Date
邹景立
30e99a3768 Update admin.js 2022-05-09 14:59:09 +08:00
邹景立
a1ea804c23 Update app.php 2022-05-09 14:44:37 +08:00
邹景立
0e7de7944b Update app.php 2022-05-09 14:42:11 +08:00
邹景立
90bafcebf8 Update app.php 2022-05-09 14:40:37 +08:00
邹景立
cb20345b8a Update area.php 2022-05-09 10:37:04 +08:00
邹景立
c8f88aeb19 Update truck_form.html 2022-05-09 10:18:34 +08:00
4 changed files with 7 additions and 6 deletions

View File

@ -79,9 +79,8 @@
new PCAS("form_province", "form_city", "form_area", prov, city, area);
refresh(), form.on('select(form_province)', refresh), form.on('select(form_city)', refresh), form.on('select(form_area)', refresh);
})('{$vo.address_province|default=""}', '{$vo.address_city|default=""}', '{$vo.address_area|default=""}', function (data) {
(data && $(data.elem).trigger('change')), setTimeout(function () {
layui.form.render();
}, 100);
$('select:not([lay-ignore])').nextAll('div.layui-form-select').remove();
data && data.elem && $(data.elem).trigger('change'), layui.form.render('select');
});
});

View File

@ -29,10 +29,8 @@ return [
'app_map' => [],
// 域名绑定(自动多应用模式有效)
'domain_bind' => [],
// 禁止URL访问的应用列表(自动多应用模式有效)
// 禁止访问(自动多应用模式有效)
'deny_app_list' => [],
// 非调试模式时显示错误的消息
'error_message' => '页面错误!请稍后再试~',
// CORS 自动配置跨域
'cors_auto' => true,
// CORS 配置跨域域名
@ -41,6 +39,8 @@ return [
'cors_methods' => 'GET,PUT,POST,PATCH,DELETE',
// CORS 跨域头部字段
'cors_headers' => 'Api-Type,Api-Name,Api-Uuid,Api-Token,User-Form-Token,User-Token,Token',
// 显示错误的消息,仅产品模式有效
'error_message' => '页面错误!请稍后再试~',
// 异常模板路径配置,仅开发模式有效
'exception_tmpl' => app()->getAppPath() . 'admin/view/error.php',
// 异常状态模板配置,仅生产模式有效

View File

@ -1034,6 +1034,7 @@ $(function () {
event.items.push({src: this.dataset.tipsImage || this.dataset.lazySrc || this.src});
}) && layer.photos({
anim: 5, closeBtn: 1, photos: {start: event.$imgs.index(this), data: event.items}, tab: function (pic, $ele) {
$ele.find('img').attr('referrer-policy', 'no-referrer');
$ele.find('.layui-layer-close').css({top: '20px', right: '20px', position: 'fixed'});
}
});

View File

@ -49,6 +49,7 @@ foreach ($items as &$prov) {
$data[] = $prov['fullname'] . '$' . join('|', $lines);
}
// 数据写入文件
$jsonFile = __DIR__ . '/data.json';
$scriptFile = dirname(__DIR__) . '/pcasunzips.js';
$jsonContent = json_encode($items, JSON_UNESCAPED_UNICODE);