12.17 事件详情相关概念,概念中心增加下拉刷新,分页加载,增加新闻详情展示

This commit is contained in:
尚政杰
2025-12-17 17:42:24 +08:00
parent 13c783a0ad
commit e24b4000fb
106 changed files with 1583 additions and 1143 deletions

View File

@@ -31,7 +31,6 @@ const _sfc_main = {
title: "最新排序"
}
],
isRefreshing: false,
keywords: "",
//关键词
timeCategoryList: [],
@@ -45,7 +44,40 @@ const _sfc_main = {
secondScrollLeft: 0,
selectScreenCategory: 0,
//0时间筛选1行业筛选2事件等级3最新排序
quickTimeList: ["最新", "盘中", "午盘", "早盘", "今日全天", "昨日", "近一周", "近一月"],
quickTimeList: [
{
title: "最新",
key: "latest"
},
{
title: "盘中",
key: "intraday"
},
{
title: "早盘",
key: "morning"
},
{
title: "午盘",
key: "afternoon"
},
{
title: "今日全天",
key: "today"
},
{
title: "昨日",
key: "yesterday"
},
{
title: "近一周",
key: "week"
},
{
title: "近一月",
key: "month"
}
],
selectQuickTimeIndex: -1,
startDateStr: "",
//选择开始日期
@@ -61,14 +93,8 @@ const _sfc_main = {
//月份列表
dayList: [],
//日列表
hourList: [],
//时列表
minuteList: [],
//分列表
selectDateRangeIndex: -1,
//0开始时间1结束时间
startDateValue: [0, 0, 0, 0, 0],
endDateValue: [0, 0, 0, 0, 0],
startDateValue: [0, 0, 0],
endDateValue: [0, 0, 0],
industryCategoryList: [],
//行业分类数组
industryKeywords: "",
@@ -77,16 +103,18 @@ const _sfc_main = {
//行业分类搜索结果数组
selectIndustryTopCategory: 0,
//选中行业一级分类
selectIndustrySecondCategory: -1,
selectIndustrySecondCategory: 0,
//选中行业二级分类
selectIndustryThirdCategory: -1,
selectIndustryThirdCategory: 0,
//选中行业三级分类
selectIndustryForthCategory: -1,
//选中行业级分类
searchIndustryTopCategory: 0,
//搜索结果选中行业级分类
searchIndustrySecondCategory: 0,
//搜索结果选中行业二级分类
searchIndustryThirdCategory: 0,
//搜索结果选中行业三级分类
importanceList: [],
//重要性数组
selectImportanceIndex: 0,
//选择事件等级下标
sortTypeList: [],
selectSortKey: "",
//选中排序key
@@ -150,7 +178,10 @@ const _sfc_main = {
},
eventList: [],
page: 1,
isRefreshing: false,
//是否正在下拉刷新
loadAll: false,
//是否加载完毕
getRateStr: utils_util.getRateStr,
getRateUpOrDown: utils_util.getRateUpOrDown,
getLocaleTime: utils_util.getLocaleTime
@@ -185,8 +216,6 @@ const _sfc_main = {
let year = currentDate.getFullYear();
let month = currentDate.getMonth();
let day = currentDate.getDate();
let hour = currentDate.getHours();
let minute = currentDate.getMinutes();
let date = new Date(year, month + 1, 0);
let monthDays = date.getDate();
for (var i = 2e3; i < 2060; i++) {
@@ -198,16 +227,10 @@ const _sfc_main = {
for (var i = 0; i < monthDays * 60; i++) {
this.dayList.push(i % monthDays + 1);
}
for (var i = 0; i < 24 * 60; i++) {
this.hourList.push(i % 24);
}
for (var i = 0; i < 60 * 60; i++) {
this.minuteList.push(i % 60);
}
let that = this;
setTimeout(function() {
that.startDateValue = [year - 2e3, month + 12 * 30, day - 1 + monthDays * 30, hour + 24 * 30, minute + 60 * 30];
that.endDateValue = [year - 2e3, month + 12 * 30, day - 1 + monthDays * 30, hour + 24 * 30, minute + 60 * 30];
that.startDateValue = [year - 2e3, month + 12 * 30, day - 1 + monthDays * 30];
that.endDateValue = [year - 2e3, month + 12 * 30, day - 1 + monthDays * 30];
}, 100);
},
/**
@@ -223,7 +246,7 @@ const _sfc_main = {
loadMoreData() {
if (!this.loadAll) {
this.page++;
if (this.selectScreenCategory == 0) {
if (this.selectTimeCategory == 0) {
this.getEventListData();
} else
this.getHotEventListData();
@@ -237,6 +260,7 @@ const _sfc_main = {
* 点击搜索
*/
clickSearch() {
this.loadAll = false;
this.page = 1;
if (this.selectTimeCategory == 0) {
this.getEventListData();
@@ -250,10 +274,7 @@ const _sfc_main = {
clickTimeCategoryItem(index) {
if (this.selectTimeCategory != index) {
this.selectTimeCategory = index;
if (index == 0) {
this.getEventListData();
} else
this.getHotEventListData();
this.clickSearch();
}
},
/**
@@ -262,10 +283,7 @@ const _sfc_main = {
clickSortListItem(item) {
this.selectSortKey = item.key;
this.$refs["screenPopup"].close();
if (this.selectTimeCategory == 0) {
this.getEventListData();
} else
this.getHotEventListData();
this.clickSearch();
},
/**
* 点击筛选
@@ -285,26 +303,28 @@ const _sfc_main = {
*/
clickCertain() {
if (this.selectScreenCategory == 0) {
if (!this.startDateStr) {
common_vendor.index.showToast({
title: "请选择开始时间",
icon: "none"
});
return;
}
if (!this.endDateStr) {
common_vendor.index.showToast({
title: "请选择结束时间",
icon: "none"
});
return;
}
if (this.endTimeStamp < this.startTimeStamp) {
common_vendor.index.showToast({
title: "开始时间不能晚于结束时间",
icon: "none"
});
return;
if (this.selectQuickTimeIndex == -1) {
if (!this.startDateStr) {
common_vendor.index.showToast({
title: "请选择开始时间",
icon: "none"
});
return;
}
if (!this.endDateStr) {
common_vendor.index.showToast({
title: "请选择结束时间",
icon: "none"
});
return;
}
if (this.endTimeStamp < this.startTimeStamp) {
common_vendor.index.showToast({
title: "开始时间不能晚于结束时间",
icon: "none"
});
return;
}
}
}
this.clickCancel();
@@ -329,14 +349,8 @@ const _sfc_main = {
this.selectSecondCategory = 0;
let offsetLeft = event.currentTarget.offsetLeft;
this.topScrollLeft = offsetLeft - this.topScrollWidth / 2;
if (index == 0) {
this.listTop = this.contentTop + (22 + 80 + 72) / 750 * this.windowWidth;
} else
this.listTop = this.contentTop + (22 + 80 + 72 + 42 + 42) / 750 * this.windowWidth;
if (this.selectTimeCategory == 0) {
this.getEventListData();
} else
this.getHotEventListData();
this.listTop = this.contentTop + (22 + 80 + 72) / 750 * this.windowWidth;
this.clickSearch();
}
},
/**
@@ -348,81 +362,149 @@ const _sfc_main = {
this.selectSecondCategory = index;
let offsetLeft = event.currentTarget.offsetLeft;
this.secondScrollLeft = offsetLeft - this.secondScrollWidth / 2;
if (this.selectTimeCategory == 0) {
this.getEventListData();
} else
this.getHotEventListData();
this.clickSearch();
}
},
/**
* 点击选择快捷时间
*/
clickQuickTimeItem(index) {
this.selectDateRangeIndex = -1;
this.startDateStr = this.endDateStr = "";
if (this.selectQuickTimeIndex != index) {
this.selectQuickTimeIndex = index;
}
},
/**
* 点击选择开始时间或者结束时间
* @param {Object} index
*/
clickDateRangeItem(index) {
this.selectQuickTimeIndex = -1;
if (this.selectDateRangeIndex != index) {
this.selectDateRangeIndex = index;
}
},
/**
* 监听日期选择
* @param {Object} e
*/
dateChange(e) {
startDateChange(e) {
this.selectQuickTimeIndex = -1;
let value = e.detail.value;
if (this.selectDateRangeIndex == 0) {
if (value[1] != this.startDateValue[1]) {
let year2 = value[0] + 2e3;
let month2 = value[1] % 12;
let date2 = new Date(year2, month2 + 1, 0);
let monthDays2 = date2.getDate();
this.dayList = [];
for (var i = 0; i < monthDays2 * 60; i++) {
this.dayList.push(i % monthDays2 + 1);
if (value[1] != this.startDateValue[1]) {
let year2 = value[0] + 2e3;
let month2 = value[1] % 12;
let date2 = new Date(year2, month2 + 1, 0);
let monthDays2 = date2.getDate();
this.dayList = [];
for (var i = 0; i < monthDays2 * 60; i++) {
this.dayList.push(i % monthDays2 + 1);
}
}
this.startDateValue = e.detail.value;
let year = value[0] + 2e3;
let month = value[1] % 12 + 1;
let date = new Date(year, month, 0);
let monthDays = date.getDate();
let day = value[2] % monthDays + 1;
this.startDateStr = year + "-" + (month > 9 ? month : "0" + month) + "-" + (day > 9 ? day : "0" + day);
var startDateStr = this.startDateStr.replace(/-/g, "/") + " 00:00:00";
this.startTimeStamp = new Date(startDateStr).getTime();
},
/**
* 监听结束日期选择
* @param {Object} e
*/
endDateChange(e) {
this.selectQuickTimeIndex = -1;
let value = e.detail.value;
if (value[1] != this.endDateValue[1]) {
let year2 = value[0] + 2e3;
let month2 = value[1] % 12;
let date2 = new Date(year2, month2 + 1, 0);
let monthDays2 = date2.getDate();
this.dayList = [];
for (var i = 0; i < monthDays2 * 60; i++) {
this.dayList.push(i % monthDays2 + 1);
}
}
this.endDateValue = e.detail.value;
let year = value[0] + 2e3;
let month = value[1] % 12 + 1;
let date = new Date(year, month, 0);
let monthDays = date.getDate();
let day = value[2] % monthDays + 1;
this.endDateStr = year + "-" + (month > 9 ? month : "0" + month) + "-" + (day > 9 ? day : "0" + day);
var endDateStr = this.endDateStr.replace(/-/g, "/") + " 00:00:00";
this.endTimeStamp = new Date(endDateStr).getTime();
},
/**
* 行业分类搜索
*/
industrySearch(e) {
let keywords = e.detail.value;
this.industryKeywords = keywords;
if (keywords) {
let arr = [];
for (let item of this.industryCategoryList) {
let index = this.industryCategoryList.indexOf(item);
if (item.level1_sector.indexOf(keywords) > -1) {
item.index = index;
arr.push(item);
} else {
let arr1 = [];
for (let item1 of item.level2_sectors) {
let index1 = item.level2_sectors.indexOf(item1);
if (item1.level2_sector.indexOf(keywords) > -1) {
item1.index = index;
item1.index1 = index1;
arr1.push(item1);
} else {
let arr2 = [];
for (let item2 of item1.level3_sectors) {
let index2 = item1.level3_sectors.indexOf(item2);
if (item2.level3_sector.indexOf(keywords) > -1) {
item2.index = index;
item2.index1 = index1;
item2.index2 = index2;
arr2.push(item2);
}
}
if (arr2.length > 0) {
arr2.unshift({ level3_sector: "全部", index, index2: 0 });
arr1.push({ level2_sector: item1.level2_sector, level3_sectors: arr2, index, index1 });
}
}
}
if (arr1.length > 0) {
arr1.unshift({ level2_sector: "全部", level3_sectors: [{ level3_sector: "全部", level4_sectors: [] }], index, index1: 0 });
arr.push({ level1_sector: item.level1_sector, level2_sectors: arr1, index });
}
}
}
this.startDateValue = e.detail.value;
let year = value[0] + 2e3;
let month = value[1] % 12 + 1;
let date = new Date(year, month, 0);
let monthDays = date.getDate();
let day = value[2] % monthDays + 1;
let hour = value[3] % 24;
let minute = value[4] % 60;
this.startDateStr = year + "-" + (month > 9 ? month : "0" + month) + "-" + (day > 9 ? day : "0" + day) + " " + (hour > 9 ? hour : "0" + hour) + ":" + (minute > 9 ? minute : "0" + minute);
var startDateStr = this.startDateStr.replace(/-/g, "/") + ":00";
this.startTimeStamp = new Date(startDateStr).getTime();
} else if (this.selectDateRangeIndex == 1) {
if (value[1] != this.endDateValue[1]) {
let year2 = value[0] + 2e3;
let month2 = value[1] % 12;
let date2 = new Date(year2, month2 + 1, 0);
let monthDays2 = date2.getDate();
this.dayList = [];
for (var i = 0; i < monthDays2 * 60; i++) {
this.dayList.push(i % monthDays2 + 1);
}
}
this.endDateValue = e.detail.value;
let year = value[0] + 2e3;
let month = value[1] % 12 + 1;
let date = new Date(year, month, 0);
let monthDays = date.getDate();
let day = value[2] % monthDays + 1;
let hour = value[3] % 24;
let minute = value[4] % 60;
this.endDateStr = year + "-" + (month > 9 ? month : "0" + month) + "-" + (day > 9 ? day : "0" + day) + " " + (hour > 9 ? hour : "0" + hour) + ":" + (minute > 9 ? minute : "0" + minute);
var endDateStr = this.endDateStr.replace(/-/g, "/") + ":00";
this.endTimeStamp = new Date(endDateStr).getTime();
this.searchResultList = arr;
} else {
this.searchResultList = this.industryCategoryList;
this.searchIndustryTopCategory = this.searchIndustrySecondCategory = this.searchIndustryThirdCategory = 0;
}
},
/**
* 选择行业分类搜索结果一级分类
*/
clickSearchIndustryTopCategoryItem(index, item) {
if (this.searchIndustryTopCategory != index) {
this.searchIndustryTopCategory = index;
this.selectIndustryTopCategory = item.index;
this.searchIndustrySecondCategory = this.selectIndustrySecondCategory = 0;
}
},
/**
* 选择行业分类搜索结果二级分类
*/
clickSearchIndustrySecondCategoryItem(index, item) {
if (this.searchIndustrySecondCategory != index) {
this.searchIndustrySecondCategory = index;
this.selectIndustrySecondCategory = item.index1;
this.searchIndustryThirdCategory = this.selectIndustryThirdCategory = 0;
}
},
/**
* 选择行业分类搜索结果三级分类
*/
clickSearchIndustryThirdCategoryItem(index, item) {
if (this.searchIndustryThirdCategory != index) {
this.searchIndustryThirdCategory = index;
this.selectIndustryThirdCategory = item.index2;
}
},
/**
@@ -431,124 +513,45 @@ const _sfc_main = {
clickIndustryTopCategoryItem(index) {
if (this.selectIndustryTopCategory != index) {
this.selectIndustryTopCategory = index;
this.selectIndustrySecondCategory = 0;
}
},
/**
* 行业分类搜索
*/
industrySearch(e) {
let keywords = e.detail.value;
this.industryKeywords = keywords;
let arr = [];
for (let item of this.industryCategoryList) {
let index = this.industryCategoryList.indexOf(item);
for (let item1 of item.hierarchy) {
let index1 = item.hierarchy.indexOf(item1);
let arr1 = [];
if (item1.level1_sector.indexOf(keywords) > -1) {
arr1.push(item1);
arr.push({ classification_name: item.classification_name, hierarchy: arr1 });
}
for (let item2 of item1.level2_sectors) {
let index2 = item1.level2_sectors.indexOf(item2);
let arr2 = [];
if (item2.level2_sector.indexOf(keywords) > -1) {
arr2.push(item2);
arr1.push({ level1_sector: item1.level1_sector, level2_sectors: arr2 });
arr.push({ classification_name: item.classification_name, hierarchy: arr1 });
}
for (let item3 of item2.level3_sectors) {
let index3 = item2.level3_sectors.indexOf(item3);
let arr3 = [];
if (item3.level3_sector.indexOf(keywords) > -1) {
item3.index = index;
item3.index1 = index1;
item3.index2 = index2;
item3.index3 = index3;
arr3.push(item3);
arr2.push({ level2_sector: item2.level2_sector, level3_sectors: arr3 });
arr1.push({ level1_sector: item1.level1_sector, level2_sectors: arr2 });
arr.push({ classification_name: item.classification_name, hierarchy: arr1 });
}
}
}
}
}
this.searchResultList = arr;
},
/**
* 点击选择搜索结果
* @param {Object} item
*/
clickIndustrySearchItem(item) {
this.industryKeywords = "";
this.selectIndustryTopCategory = item.index;
this.selectIndustrySecondCategory = item.index1;
this.selectIndustryThirdCategory = item.index2;
this.selectIndustryForthCategory = item.index3;
},
/**
* 选择行业分类二级分类
*/
clickIndustrySecondCategoryItem(index) {
if (this.selectIndustrySecondCategory != index) {
this.selectIndustrySecondCategory = index;
this.selectIndustryThirdCategory = 0;
}
this.industryCategoryList[this.selectIndustryTopCategory].hierarchy[index].isSpread = !this.industryCategoryList[this.selectIndustryTopCategory].hierarchy[index].isSpread;
},
/**
* 选择行业分类三级分类
*/
clickIndustryThirdCategoryItem(sindex, index) {
if (this.selectIndustrySecondCategory != sindex) {
this.selectIndustrySecondCategory = sindex;
}
clickIndustryThirdCategoryItem(index) {
if (this.selectIndustryThirdCategory != index) {
this.selectIndustryThirdCategory = index;
}
this.industryCategoryList[this.selectIndustryTopCategory].hierarchy[sindex].level2_sectors[index].isSpread = !this.industryCategoryList[this.selectIndustryTopCategory].hierarchy[sindex].level2_sectors[index].isSpread;
},
/**
* 选择行业分类四级分类
*/
clickIndustryForthCategoryItem(sindex, tindex, index) {
if (this.selectIndustrySecondCategory != sindex) {
this.selectIndustrySecondCategory = sindex;
}
if (this.selectIndustryThirdCategory != tindex) {
this.selectIndustryThirdCategory = tindex;
}
if (this.selectIndustryForthCategory != index) {
this.selectIndustryForthCategory = index;
}
},
/**
* 删除选中的行业二级分类
*/
deleteIndustrySecondCategoryItem() {
this.selectIndustrySecondCategory = -1;
this.selectIndustryThirdCategory = -1;
this.selectIndustryForthCategory = -1;
},
/**
* 删除选中的行业三级分类
*/
deleteIndustryThirdCategoryItem() {
this.selectIndustryThirdCategory = -1;
this.selectIndustryForthCategory = -1;
},
/**
* 删除选中的行业四级分类
*/
deleteIndustryForthCategoryItem() {
this.selectIndustryForthCategory = -1;
},
/**
* 点击选择重要性
*/
clickImportanceItem(index) {
if (this.selectImportanceIndex != index) {
this.selectImportanceIndex = index;
clickImportanceItem(item) {
item.select = !item.select;
if (item.key == "all") {
if (item.select) {
for (let item1 of this.importanceList) {
if (item1.key != item.key) {
item1.select = false;
}
}
}
} else {
for (let item1 of this.importanceList) {
if (item1.key == "all") {
item1.select = false;
}
}
}
},
/**
@@ -638,7 +641,23 @@ const _sfc_main = {
getIndustryCategoryListData() {
return new Promise((resolve, reject) => {
request_api.industryCategoryList().then((res) => {
this.industryCategoryList = res.data;
let list = res.data[0].hierarchy;
list.unshift({ level1_sector: "全部", level2_sectors: [] });
for (let item of list) {
let index = list.indexOf(item);
item.index = index;
item.level2_sectors.unshift({ level2_sector: "全部", level3_sectors: [] });
for (let item1 of item.level2_sectors) {
let index1 = item.level2_sectors.indexOf(item1);
item1.index1 = index1;
item1.level3_sectors.unshift({ level3_sector: "全部", level4_sectors: [] });
for (let item2 of item1.level3_sectors) {
let index2 = item1.level3_sectors.indexOf(item2);
item2.index2 = index2;
}
}
}
this.industryCategoryList = list;
resolve(1);
}).catch((error) => {
reject(1);
@@ -681,35 +700,41 @@ const _sfc_main = {
if (this.selectSecondCategory > 0) {
param.secondary_sector = this.stockCategoryList[this.selectTopCategory].sub_sectors[this.selectSecondCategory];
}
if (this.selectQuickTimeIndex > -1) {
param.time_filter = this.quickTimeList[this.selectQuickTimeIndex].key;
}
if (this.startDateStr) {
param.start_date = this.startDateStr;
}
if (this.endDateStr) {
param.end_date = this.endDateStr;
}
if (this.selectImportanceIndex > 0) {
param.importance = this.importanceList[this.selectImportanceIndex].key;
if (this.selectIndustryThirdCategory > 0) {
param.industry_level = 4;
param.industry_classification = this.industryCategoryList[this.selectIndustryTopCategory].level2_sectors[this.selectIndustrySecondCategory].level3_sectors[this.selectIndustryThirdCategory].level3_sector;
} else {
if (this.selectIndustrySecondCategory > 0) {
param.industry_level = 3;
param.industry_classification = this.industryCategoryList[this.selectIndustryTopCategory].level2_sectors[this.selectIndustrySecondCategory].level2_sector;
} else {
if (this.selectIndustryTopCategory > 0) {
param.industry_level = 2;
param.industry_classification = this.industryCategoryList[this.selectIndustryTopCategory].level1_sector;
}
}
}
let arr = [];
for (let item of this.importanceList) {
if (item.select) {
arr.push(item.key);
}
}
if (arr.length > 0) {
param.importance = arr.join(",");
}
if (this.selectSortKey) {
param.sort = this.selectSortKey;
}
if (this.selectIndustryForthCategory > -1) {
param.industry_level = 4;
param.industry_classification = this.industryCategoryList[this.selectIndustryTopCategory].hierarchy[this.selectIndustrySecondCategory].level2_sectors[this.selectIndustryThirdCategory].level3_sectors[this.selectIndustryForthCategory].level3_sector;
} else {
if (this.selectIndustryThirdCategory > -1) {
param.industry_level = 3;
param.industry_classification = this.industryCategoryList[this.selectIndustryTopCategory].hierarchy[this.selectIndustrySecondCategory].level2_sectors[this.selectIndustryThirdCategory].level2_sector;
} else {
if (this.selectIndustrySecondCategory > -1) {
param.industry_level = 2;
param.industry_classification = this.industryCategoryList[this.selectIndustryTopCategory].hierarchy[this.selectIndustrySecondCategory].level1_sector;
} else {
param.industry_level = 1;
param.industry_classification = this.industryCategoryList[this.selectIndustryTopCategory].classification_name;
}
}
}
request_api.eventList(param).then((res) => {
this.isRefreshing = false;
if (res.success) {
@@ -734,14 +759,37 @@ const _sfc_main = {
if (this.selectSecondCategory > 0) {
param.secondary_sector = this.stockCategoryList[this.selectTopCategory].sub_sectors[this.selectSecondCategory];
}
if (this.selectQuickTimeIndex > -1) {
param.time_filter = this.quickTimeList[this.selectQuickTimeIndex].key;
}
if (this.startDateStr) {
param.start_date = this.startDateStr;
}
if (this.endDateStr) {
param.end_date = this.endDateStr;
}
if (this.selectImportanceIndex > 0) {
param.importance = this.importanceList[this.selectImportanceIndex].key;
if (this.selectIndustryThirdCategory > 0) {
param.industry_level = 4;
param.industry_classification = this.industryCategoryList[this.selectIndustryTopCategory].level2_sectors[this.selectIndustrySecondCategory].level3_sectors[this.selectIndustryThirdCategory].level3_sector;
} else {
if (this.selectIndustrySecondCategory > 0) {
param.industry_level = 3;
param.industry_classification = this.industryCategoryList[this.selectIndustryTopCategory].level2_sectors[this.selectIndustrySecondCategory].level2_sector;
} else {
if (this.selectIndustryTopCategory > 0) {
param.industry_level = 2;
param.industry_classification = this.industryCategoryList[this.selectIndustryTopCategory].level1_sector;
}
}
}
let arr = [];
for (let item of this.importanceList) {
if (item.select) {
arr.push(item.key);
}
}
if (arr.length > 0) {
param.importance = arr.join(",");
}
if (this.selectSortKey) {
param.sort = this.selectSortKey;
@@ -877,173 +925,152 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
x: common_assets._imports_3,
y: $data.selectScreenCategory == 0
}, $data.selectScreenCategory == 0 ? common_vendor.e({
z: common_assets._imports_9,
A: $data.startDateStr
z: common_vendor.f($data.quickTimeList, (item, index, i0) => {
return {
a: common_vendor.t(item.title),
b: common_vendor.n("item " + ($data.selectQuickTimeIndex == index ? "select" : "")),
c: index,
d: common_vendor.o(($event) => $options.clickQuickTimeItem(index, item), index)
};
}),
A: common_assets._imports_9,
B: $data.startDateStr
}, $data.startDateStr ? {
B: common_vendor.t($data.startDateStr)
C: common_vendor.t($data.startDateStr)
} : {}, {
C: common_vendor.n("dateC start flexCenter flex1 " + ($data.selectDateRangeIndex == 0 ? "select" : "")),
D: common_vendor.o(($event) => $options.clickDateRangeItem(0)),
E: common_assets._imports_9,
F: $data.endDateStr
D: common_assets._imports_9,
E: $data.endDateStr
}, $data.endDateStr ? {
G: common_vendor.t($data.endDateStr)
F: common_vendor.t($data.endDateStr)
} : {}, {
H: common_vendor.n("dateC end flexCenter flex1 " + ($data.selectDateRangeIndex == 1 ? "select" : "")),
I: common_vendor.o(($event) => $options.clickDateRangeItem(1)),
J: common_vendor.f($data.yearList, (item, index, i0) => {
G: common_vendor.f($data.yearList, (item, index, i0) => {
return {
a: common_vendor.t(item),
b: index
};
}),
K: common_vendor.f($data.monthList, (item, index, i0) => {
H: common_vendor.f($data.monthList, (item, index, i0) => {
return {
a: common_vendor.t(item),
b: index
};
}),
L: common_vendor.f($data.dayList, (item, index, i0) => {
I: common_vendor.f($data.dayList, (item, index, i0) => {
return {
a: common_vendor.t(item),
b: index
};
}),
M: common_vendor.f($data.hourList, (item, index, i0) => {
J: $data.startDateValue,
K: common_vendor.o((...args) => $options.startDateChange && $options.startDateChange(...args)),
L: common_vendor.f($data.yearList, (item, index, i0) => {
return {
a: common_vendor.t(item),
b: index
};
}),
N: common_vendor.f($data.minuteList, (item, index, i0) => {
M: common_vendor.f($data.monthList, (item, index, i0) => {
return {
a: common_vendor.t(item),
b: index
};
}),
O: $data.selectDateRangeIndex == 0 ? $data.startDateValue : $data.endDateValue,
P: common_vendor.o((...args) => $options.dateChange && $options.dateChange(...args))
N: common_vendor.f($data.dayList, (item, index, i0) => {
return {
a: common_vendor.t(item),
b: index
};
}),
O: $data.endDateValue,
P: common_vendor.o((...args) => $options.endDateChange && $options.endDateChange(...args))
}) : {}, {
Q: $data.selectScreenCategory == 1
}, $data.selectScreenCategory == 1 ? common_vendor.e({
R: common_vendor.f($data.industryCategoryList, (item, index, i0) => {
R: common_assets._imports_10,
S: common_vendor.o([($event) => $data.industryKeywords = $event.detail.value, (...args) => $options.industrySearch && $options.industrySearch(...args)]),
T: $data.industryKeywords,
U: $data.industryKeywords.length > 0
}, $data.industryKeywords.length > 0 ? common_vendor.e({
V: common_vendor.f($data.searchResultList, (item, index, i0) => {
return {
a: common_vendor.t(item.classification_name),
b: common_vendor.n("item " + ($data.selectIndustryTopCategory == index ? "select" : "")),
a: common_vendor.t(item.level1_sector),
b: common_vendor.n("item relative " + ($data.searchIndustryTopCategory == index ? "select" : "")),
c: index,
d: common_vendor.o(($event) => $options.clickSearchIndustryTopCategoryItem(index, item), index)
};
}),
W: common_vendor.f($data.searchResultList[$data.searchIndustryTopCategory].level2_sectors, (item, index, i0) => {
return {
a: common_vendor.t(item.level2_sector),
b: common_vendor.n("item relative " + ($data.searchIndustrySecondCategory == index ? "select" : "")),
c: index,
d: common_vendor.o(($event) => $options.clickSearchIndustrySecondCategoryItem(index, item), index)
};
}),
X: $data.searchResultList[$data.searchIndustryTopCategory].level2_sectors.length > 0
}, $data.searchResultList[$data.searchIndustryTopCategory].level2_sectors.length > 0 ? {
Y: common_vendor.f($data.searchResultList[$data.searchIndustryTopCategory].level2_sectors[$data.searchIndustrySecondCategory].level3_sectors, (item, index, i0) => {
return common_vendor.e({
a: common_vendor.t(item.level3_sector),
b: $data.searchIndustryThirdCategory == index
}, $data.searchIndustryThirdCategory == index ? {
c: common_assets._imports_11
} : {}, {
d: common_vendor.n("item flex relative " + ($data.searchIndustryThirdCategory == index ? "select" : "")),
e: index,
f: common_vendor.o(($event) => $options.clickSearchIndustryThirdCategoryItem(index, item), index)
});
})
} : {}) : common_vendor.e({
Z: common_vendor.f($data.industryCategoryList, (item, index, i0) => {
return {
a: common_vendor.t(item.level1_sector),
b: common_vendor.n("item relative " + ($data.selectIndustryTopCategory == index ? "select" : "")),
c: index,
d: common_vendor.o(($event) => $options.clickIndustryTopCategoryItem(index), index)
};
}),
S: common_assets._imports_10,
T: common_vendor.o([($event) => $data.industryKeywords = $event.detail.value, (...args) => $options.industrySearch && $options.industrySearch(...args)]),
U: $data.industryKeywords,
V: $data.industryKeywords.length > 0
}, $data.industryKeywords.length > 0 ? {
W: common_vendor.f($data.searchResultList, (item, index, i0) => {
aa: common_vendor.f($data.industryCategoryList[$data.selectIndustryTopCategory].level2_sectors, (item, index, i0) => {
return {
a: common_vendor.f(item.hierarchy, (sitem, sindex, i1) => {
return {
a: common_vendor.f(sitem.level2_sectors, (titem, tindex, i2) => {
return {
a: common_vendor.f(titem.level3_sectors, (fitem, findex, i3) => {
return {
a: common_vendor.f(fitem.level3_sector + "/" + titem.level2_sector + "/" + sitem.level1_sector, (citem, cindex, i4) => {
return {
a: common_vendor.t(citem),
b: common_vendor.n($data.industryKeywords.indexOf(citem) > -1 ? "key" : ""),
c: cindex
};
}),
b: common_vendor.o(($event) => $options.clickIndustrySearchItem(fitem), findex),
c: findex
};
}),
b: tindex
};
}),
b: sindex
};
}),
b: index
a: common_vendor.t(item.level2_sector),
b: common_vendor.n("item relative " + ($data.selectIndustrySecondCategory == index ? "select" : "")),
c: index,
d: common_vendor.o(($event) => $options.clickIndustrySecondCategoryItem(index), index)
};
})
} : common_vendor.e({
X: $data.selectIndustrySecondCategory > -1
}, $data.selectIndustrySecondCategory > -1 ? common_vendor.e({
Y: $data.selectIndustrySecondCategory > -1
}, $data.selectIndustrySecondCategory > -1 ? {
Z: common_vendor.t($data.industryCategoryList[$data.selectIndustryTopCategory].hierarchy[$data.selectIndustrySecondCategory].level1_sector),
aa: common_assets._imports_11,
ab: common_vendor.o(($event) => $options.deleteIndustrySecondCategoryItem())
} : {}, {
ac: $data.selectIndustryThirdCategory > -1
}, $data.selectIndustryThirdCategory > -1 ? {
ad: common_vendor.t($data.industryCategoryList[$data.selectIndustryTopCategory].hierarchy[$data.selectIndustrySecondCategory].level2_sectors[$data.selectIndustryThirdCategory].level2_sector),
ae: common_assets._imports_11,
af: common_vendor.o(($event) => $options.deleteIndustryThirdCategoryItem())
} : {}, {
ag: $data.selectIndustryForthCategory > -1
}, $data.selectIndustryForthCategory > -1 ? {
ah: common_vendor.t($data.industryCategoryList[$data.selectIndustryTopCategory].hierarchy[$data.selectIndustrySecondCategory].level2_sectors[$data.selectIndustryThirdCategory].level3_sectors[$data.selectIndustryForthCategory].level3_sector),
ai: common_assets._imports_11,
aj: common_vendor.o(($event) => $options.deleteIndustryForthCategoryItem())
} : {}) : {}, {
ak: common_vendor.t($data.industryCategoryList[$data.selectIndustryTopCategory].classification_name),
al: common_vendor.f($data.industryCategoryList[$data.selectIndustryTopCategory].hierarchy, (sitem, sindex, i0) => {
}),
ab: $data.industryCategoryList[$data.selectIndustryTopCategory].level2_sectors.length > 0
}, $data.industryCategoryList[$data.selectIndustryTopCategory].level2_sectors.length > 0 ? {
ac: common_vendor.f($data.industryCategoryList[$data.selectIndustryTopCategory].level2_sectors[$data.selectIndustrySecondCategory].level3_sectors, (item, index, i0) => {
return common_vendor.e({
a: common_vendor.t($data.selectIndustrySecondCategory == sindex && sitem.isSpread ? "-" : "+"),
b: common_vendor.t(sitem.level1_sector),
c: common_vendor.n("categoryC flex " + ($data.selectIndustrySecondCategory == sindex ? "select" : "")),
d: common_vendor.o(($event) => $options.clickIndustrySecondCategoryItem(sindex), sindex),
e: sitem.isSpread
}, sitem.isSpread ? {
f: common_vendor.f($data.industryCategoryList[$data.selectIndustryTopCategory].hierarchy[sindex].level2_sectors, (titem, tindex, i1) => {
return common_vendor.e({
a: common_vendor.t($data.selectIndustrySecondCategory == sindex && $data.selectIndustryThirdCategory == tindex && titem.isSpread ? "-" : "+"),
b: common_vendor.t(titem.level2_sector),
c: common_vendor.n("categoryC flex " + ($data.selectIndustrySecondCategory == sindex && $data.selectIndustryThirdCategory == tindex ? "select" : "")),
d: common_vendor.o(($event) => $options.clickIndustryThirdCategoryItem(sindex, tindex), tindex),
e: titem.isSpread
}, titem.isSpread ? {
f: common_vendor.f($data.industryCategoryList[$data.selectIndustryTopCategory].hierarchy[sindex].level2_sectors[tindex].level3_sectors, (fitem, findex, i2) => {
return common_vendor.e({
a: common_vendor.t(fitem.level3_sector),
b: $data.selectIndustrySecondCategory == sindex && $data.selectIndustryThirdCategory == tindex && $data.selectIndustryForthCategory == findex
}, $data.selectIndustrySecondCategory == sindex && $data.selectIndustryThirdCategory == tindex && $data.selectIndustryForthCategory == findex ? {
c: common_assets._imports_12
} : {}, {
d: common_vendor.n("categoryC flex " + ($data.selectIndustrySecondCategory == sindex && $data.selectIndustryThirdCategory == tindex && $data.selectIndustryForthCategory == findex ? "select" : "")),
e: common_vendor.o(($event) => $options.clickIndustryForthCategoryItem(sindex, tindex, findex), findex),
f: findex
});
})
} : {}, {
g: tindex
});
})
a: common_vendor.t(item.level3_sector),
b: $data.selectIndustryThirdCategory == index
}, $data.selectIndustryThirdCategory == index ? {
c: common_assets._imports_11
} : {}, {
g: sindex
d: common_vendor.n("item flex relative " + ($data.selectIndustryThirdCategory == index ? "select" : "")),
e: index,
f: common_vendor.o(($event) => $options.clickIndustryThirdCategoryItem(index), index)
});
})
})) : {}, {
am: $data.selectScreenCategory == 2
} : {})) : {}, {
ad: $data.selectScreenCategory == 2
}, $data.selectScreenCategory == 2 ? {
an: common_vendor.f($data.importanceList, (item, index, i0) => {
ae: common_vendor.f($data.importanceList, (item, index, i0) => {
return common_vendor.e({
a: common_vendor.t(item.name),
b: $data.selectImportanceIndex == index
}, $data.selectImportanceIndex == index ? {
c: common_assets._imports_13
b: item.select
}, item.select ? {
c: common_assets._imports_12
} : {}, {
d: common_vendor.n("item flex " + ($data.selectImportanceIndex == index ? "select" : "")),
d: common_vendor.n("item flex " + (item.select ? "select" : "")),
e: index,
f: common_vendor.o(($event) => $options.clickImportanceItem(index), index)
f: common_vendor.o(($event) => $options.clickImportanceItem(item), index)
});
})
} : {}, {
ao: $data.selectScreenCategory == 3
af: $data.selectScreenCategory == 3
}, $data.selectScreenCategory == 3 ? {
ap: common_vendor.f($data.sortTypeList, (item, index, i0) => {
ag: common_vendor.f($data.sortTypeList, (item, index, i0) => {
return {
a: item.icon,
b: common_vendor.t(item.name),
@@ -1053,14 +1080,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
};
})
} : {}, {
aq: $data.selectScreenCategory != 3
ah: $data.selectScreenCategory != 3
}, $data.selectScreenCategory != 3 ? {
ar: common_vendor.o(($event) => $options.clickCancel()),
as: common_vendor.o(($event) => $options.clickCertain())
ai: common_vendor.o(($event) => $options.clickCancel()),
aj: common_vendor.o(($event) => $options.clickCertain())
} : {}, {
at: common_vendor.s("padding-top:" + $data.menuTop + "px;"),
av: common_vendor.sr("screenPopup", "9dfd58d8-1"),
aw: common_vendor.p({
ak: common_vendor.s("padding-top:" + $data.menuTop + "px;"),
al: common_vendor.sr("screenPopup", "9dfd58d8-1"),
am: common_vendor.p({
type: "top"
})
});