订单优化
This commit is contained in:
parent
2e1ce5cb57
commit
3d57e6cce1
|
|
@ -1,46 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
return array (
|
|
||||||
'name' => '神帝',
|
|
||||||
'beian' => '2',
|
|
||||||
'cdnurl' => '',
|
|
||||||
'version' => '1.0.2',
|
|
||||||
'timezone' => 'Asia/Shanghai',
|
|
||||||
'forbiddenip' => '',
|
|
||||||
'languages' =>
|
|
||||||
array (
|
|
||||||
'backend' => 'zh-cn',
|
|
||||||
'frontend' => 'zh-cn',
|
|
||||||
),
|
|
||||||
'fixedpage' => 'dashboard',
|
|
||||||
'categorytype' =>
|
|
||||||
array (
|
|
||||||
'default' => 'Default',
|
|
||||||
'page' => 'Page',
|
|
||||||
'article' => 'Article',
|
|
||||||
'test' => 'Test',
|
|
||||||
),
|
|
||||||
'configgroup' =>
|
|
||||||
array (
|
|
||||||
'basic' => 'Basic',
|
|
||||||
'email' => 'Email',
|
|
||||||
'dictionary' => 'Dictionary',
|
|
||||||
'user' => 'User',
|
|
||||||
'example' => 'Example',
|
|
||||||
),
|
|
||||||
'mail_type' => '1',
|
|
||||||
'mail_smtp_host' => 'smtp.qq.com',
|
|
||||||
'mail_smtp_port' => '465',
|
|
||||||
'mail_smtp_user' => '',
|
|
||||||
'mail_smtp_pass' => '',
|
|
||||||
'mail_verify_type' => '2',
|
|
||||||
'mail_from' => '',
|
|
||||||
'attachmentcategory' =>
|
|
||||||
array (
|
|
||||||
'category1' => 'Category1',
|
|
||||||
'category2' => 'Category2',
|
|
||||||
'custom' => 'Custom',
|
|
||||||
),
|
|
||||||
'ip_check' => '0',
|
|
||||||
'allowip' => '',
|
|
||||||
);
|
|
||||||
|
|
@ -648,9 +648,14 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'cascader'], function
|
||||||
}, 300))
|
}, 300))
|
||||||
.on('blur', function () {
|
.on('blur', function () {
|
||||||
// 如果还没有选择地址,且列表中有内容,则默认选择第一个
|
// 如果还没有选择地址,且列表中有内容,则默认选择第一个
|
||||||
if (!addressSelected) {
|
|
||||||
|
// 如果还没有选择地址,且列表中有内容,则默认选择第一个
|
||||||
|
if (!addressSelected && $('#suggestionList li').length > 0) {
|
||||||
|
$('#suggestionList li').first().trigger('mousedown');
|
||||||
|
}
|
||||||
|
|
||||||
$('#suggestionList').hide();
|
$('#suggestionList').hide();
|
||||||
}})
|
})
|
||||||
.on('focus', function () {
|
.on('focus', function () {
|
||||||
// 如果还没有选择地址,且列表中有内容,则默认选择第一个
|
// 如果还没有选择地址,且列表中有内容,则默认选择第一个
|
||||||
$('#suggestionList').show();
|
$('#suggestionList').show();
|
||||||
|
|
@ -744,12 +749,12 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'cascader'], function
|
||||||
const name = $(this).data('name');
|
const name = $(this).data('name');
|
||||||
const location = $(this).data('location'); // "经度,纬度"
|
const location = $(this).data('location'); // "经度,纬度"
|
||||||
const [lng, lat] = location.split(',');
|
const [lng, lat] = location.split(',');
|
||||||
// console.log('click');
|
console.log('click');
|
||||||
$('#c-address').val(name);
|
// $('#c-address').val(name);
|
||||||
$('#lng').val(lng);
|
$('#lng').val(lng);
|
||||||
$('#lat').val(lat);
|
$('#lat').val(lat);
|
||||||
// 隐藏提示列表
|
// 隐藏提示列表
|
||||||
$('#suggestionList').empty().hide();
|
$('#suggestionList').hide();
|
||||||
selectedIndex = -1;
|
selectedIndex = -1;
|
||||||
addressSelected = true;
|
addressSelected = true;
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user