...
|
...
|
@@ -173,7 +173,7 @@ function fetchInitialData(evt, config, level) { |
|
|
|
|
|
$('<span class="check-icon iconfont"></span>').appendTo(liElement);
|
|
|
$('<span/>', {
|
|
|
class: 'dist-name',
|
|
|
'class': 'dist-name', // eslint-disable-line
|
|
|
title: item.text,
|
|
|
text: item.text,
|
|
|
id: 'area_' + item.value
|
...
|
...
|
@@ -254,7 +254,7 @@ function setAddress(evt, config, level, areaId) { |
|
|
|
|
|
$('<span class="check-icon iconfont" style="display: inline;"></span>').appendTo(liElement);
|
|
|
$('<span/>', {
|
|
|
class: 'dist-name checked',
|
|
|
'class': 'dist-name checked', // eslint-disable-line
|
|
|
title: label,
|
|
|
text: label,
|
|
|
id: 'area_' + item.value
|
...
|
...
|
@@ -262,7 +262,7 @@ function setAddress(evt, config, level, areaId) { |
|
|
} else {
|
|
|
$('<span class="check-icon iconfont"></span>').appendTo(liElement);
|
|
|
$('<span/>', {
|
|
|
class: 'dist-name',
|
|
|
'class': 'dist-name', // eslint-disable-line
|
|
|
title: item.text,
|
|
|
text: item.text,
|
|
|
id: 'area_' + item.value
|
...
|
...
|
@@ -356,12 +356,12 @@ CascadingAddress.prototype.init = function() { |
|
|
|
|
|
// div element
|
|
|
distItem = $('<div></div>', {
|
|
|
class: 'dist-item closed'
|
|
|
'class': 'dist-item closed' // eslint-disable-line
|
|
|
});
|
|
|
|
|
|
// 标签
|
|
|
$('<span/>', {
|
|
|
class: 'indicator-name',
|
|
|
'class': 'indicator-name', // eslint-disable-line
|
|
|
text: indicatorName
|
|
|
}).appendTo(distItem);
|
|
|
|
...
|
...
|
@@ -381,7 +381,7 @@ CascadingAddress.prototype.init = function() { |
|
|
|
|
|
// 省份城市区县选择panel
|
|
|
distPanel = $('<div/>', {
|
|
|
class: 'items-panel empty',
|
|
|
'class': 'items-panel empty', // eslint-disable-line
|
|
|
id: 'level_' + levels + '_panel',
|
|
|
text: config.defaultDes
|
|
|
});
|
...
|
...
|
|