This commit is contained in:
JenniferW 2025-12-22 14:28:19 +08:00
parent f3b289d16c
commit 6ff32be2bb
6 changed files with 24427 additions and 29579 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -359,7 +359,14 @@
@dragover.prevent
@drop="onHeaderDrop(index)"
>
<span v-if="item.isLatest" class="new-tag">
<span
v-if="
item.isLatest &&
displayCompareList &&
displayCompareList.length > 1
"
class="new-tag"
>
<img
src="/images/cars/new.png"
alt="最新品号"
@ -1358,7 +1365,7 @@ const handleInput = (value, options = {}) => {
// 使
parsedConditions.value = parseConditions(newValue);
//
if (preciseConditions.value.length > 0) {
//
@ -1463,7 +1470,7 @@ const handleInput = (value, options = {}) => {
// parsedConditions tag
const newConditions = parseConditions(normalizedValue);
parsedConditions.value = newConditions;
//
if (preciseConditions.value.length > 0) {
preciseConditions.value = preciseConditions.value.filter((preciseCond) => {
@ -1477,7 +1484,7 @@ const handleInput = (value, options = {}) => {
return exists;
});
}
//
syncPreciseConditionsIndex();
@ -1510,16 +1517,14 @@ const fetchSearchHints = async (keyword) => {
//
let conditionsToProcess = [...parsedConditions.value];
let reorderedInputWord = currentInput.value.trim();
if (activeIndex >= 0 && activeIndex < conditionsToProcess.length - 1) {
//
const [editedCondition] = conditionsToProcess.splice(activeIndex, 1);
conditionsToProcess.push(editedCondition);
// inputWord
const reorderedParts = parts
.map((p) => p.trim())
.filter((p) => p);
const reorderedParts = parts.map((p) => p.trim()).filter((p) => p);
if (activeIndex < reorderedParts.length) {
const [editedPart] = reorderedParts.splice(activeIndex, 1);
reorderedParts.push(editedPart);
@ -1560,7 +1565,7 @@ const fetchSearchHints = async (keyword) => {
const isValueFromSuggestion = allValues.value.some(
(item) => String(item.value) === String(condition.value)
);
if (isValueFromSuggestion) {
// fieldValue
return {

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff