12.25 UI调整

This commit is contained in:
尚政杰
2025-12-25 16:07:01 +08:00
parent e24b4000fb
commit 091c1372fd
52 changed files with 350 additions and 328 deletions

View File

@@ -189,8 +189,7 @@ const _sfc_main = {
},
onLoad() {
this.contentTop = this.navH + (70 + 74) / 750 * this.windowWidth;
this.listTop = this.contentTop + (22 + 80 + 72) / 750 * this.windowWidth;
this.sortListTop = this.navH + (22 + 80 + 80) / 750 * this.windowWidth;
this.listTop = this.contentTop + (22 + 72) / 750 * this.windowWidth;
this.generateDateListData();
Promise.all([this.getEventFilterListData(), this.getIndustryCategoryListData(), this.getStockCategoryListData()]).then((res) => {
this.getEventListData();
@@ -198,14 +197,6 @@ const _sfc_main = {
});
},
onReady() {
common_vendor.index.createSelectorQuery().select("#topCategory").boundingClientRect((rect) => {
this.topScrollWidth = Math.round(rect.width);
}).exec();
common_vendor.index.createSelectorQuery().select("#secondCategory").boundingClientRect((rect) => {
if (rect) {
this.secondScrollWidth = Math.round(rect.width);
}
}).exec();
},
methods: {
/**
@@ -829,9 +820,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
hideBack: true
}),
c: common_assets._imports_1,
d: $data.keywords,
e: common_vendor.o(($event) => $data.keywords = $event.detail.value),
f: common_vendor.f($data.screenCategoryList, (item, index, i0) => {
d: common_vendor.o(($event) => $options.clickSearch()),
e: $data.keywords,
f: common_vendor.o(($event) => $data.keywords = $event.detail.value),
g: common_vendor.f($data.screenCategoryList, (item, index, i0) => {
return common_vendor.e({
a: item.icon,
b: common_vendor.t(item.title),
@@ -842,8 +834,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
f: index
});
}),
g: common_assets._imports_3,
h: common_vendor.f($data.timeCategoryList, (item, index, i0) => {
h: common_assets._imports_3,
i: common_vendor.f($data.timeCategoryList, (item, index, i0) => {
return {
a: common_vendor.t(item.name),
b: common_vendor.n("item " + ($data.selectTimeCategory == index ? "select" : "")),
@@ -851,17 +843,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
d: common_vendor.o(($event) => $options.clickTimeCategoryItem(index), index)
};
}),
i: common_vendor.f($data.stockCategoryList, (item, index, i0) => {
return {
a: common_vendor.t(item.primary_sector),
b: common_vendor.n("item relative " + ($data.selectTopCategory == index ? "select" : "")),
c: index,
d: common_vendor.o(($event) => $options.clickTopCategoryItem($event, index), index)
};
}),
j: $data.topScrollLeft,
k: common_vendor.s("top:" + $data.navH + "px;"),
l: common_vendor.f($data.eventList, (item, index, i0) => {
j: common_vendor.s("top:" + $data.navH + "px;"),
k: common_vendor.f($data.eventList, (item, index, i0) => {
return common_vendor.e({
a: common_vendor.t(item.importance),
b: common_vendor.n("level " + item.importance),
@@ -902,16 +885,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
C: index
});
}),
m: common_assets._imports_3$1,
n: common_assets._imports_4,
o: common_assets._imports_10$1,
p: common_vendor.s("top:" + $data.listTop + "px"),
q: $data.isRefreshing,
r: common_vendor.o(($event) => $options.pullDownRefresh()),
s: common_vendor.o(($event) => $options.loadMoreData()),
t: common_assets._imports_2,
v: common_vendor.s("height:" + $data.menuH + "px;"),
w: common_vendor.f($data.screenCategoryList, (item, index, i0) => {
l: common_assets._imports_3$1,
m: common_assets._imports_4,
n: common_assets._imports_10$1,
o: common_vendor.s("top:" + $data.listTop + "px"),
p: $data.isRefreshing,
q: common_vendor.o(($event) => $options.pullDownRefresh()),
r: common_vendor.o(($event) => $options.loadMoreData()),
s: common_assets._imports_2,
t: common_vendor.s("height:" + $data.menuH + "px;"),
v: common_vendor.f($data.screenCategoryList, (item, index, i0) => {
return common_vendor.e({
a: item.icon,
b: common_vendor.t(item.title),
@@ -922,10 +905,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
f: index
});
}),
x: common_assets._imports_3,
y: $data.selectScreenCategory == 0
w: common_assets._imports_3,
x: $data.selectScreenCategory == 0
}, $data.selectScreenCategory == 0 ? common_vendor.e({
z: common_vendor.f($data.quickTimeList, (item, index, i0) => {
y: common_vendor.f($data.quickTimeList, (item, index, i0) => {
return {
a: common_vendor.t(item.title),
b: common_vendor.n("item " + ($data.selectQuickTimeIndex == index ? "select" : "")),
@@ -933,65 +916,65 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
d: common_vendor.o(($event) => $options.clickQuickTimeItem(index, item), index)
};
}),
A: common_assets._imports_9,
B: $data.startDateStr
z: common_assets._imports_9,
A: $data.startDateStr
}, $data.startDateStr ? {
C: common_vendor.t($data.startDateStr)
B: common_vendor.t($data.startDateStr)
} : {}, {
D: common_assets._imports_9,
E: $data.endDateStr
C: common_assets._imports_9,
D: $data.endDateStr
}, $data.endDateStr ? {
F: common_vendor.t($data.endDateStr)
E: common_vendor.t($data.endDateStr)
} : {}, {
G: common_vendor.f($data.yearList, (item, index, i0) => {
F: common_vendor.f($data.yearList, (item, index, i0) => {
return {
a: common_vendor.t(item),
b: index
};
}),
H: common_vendor.f($data.monthList, (item, index, i0) => {
G: common_vendor.f($data.monthList, (item, index, i0) => {
return {
a: common_vendor.t(item),
b: index
};
}),
I: common_vendor.f($data.dayList, (item, index, i0) => {
H: common_vendor.f($data.dayList, (item, index, i0) => {
return {
a: common_vendor.t(item),
b: index
};
}),
J: $data.startDateValue,
K: common_vendor.o((...args) => $options.startDateChange && $options.startDateChange(...args)),
L: common_vendor.f($data.yearList, (item, index, i0) => {
I: $data.startDateValue,
J: common_vendor.o((...args) => $options.startDateChange && $options.startDateChange(...args)),
K: common_vendor.f($data.yearList, (item, index, i0) => {
return {
a: common_vendor.t(item),
b: index
};
}),
M: common_vendor.f($data.monthList, (item, index, i0) => {
L: common_vendor.f($data.monthList, (item, index, i0) => {
return {
a: common_vendor.t(item),
b: index
};
}),
N: common_vendor.f($data.dayList, (item, index, i0) => {
M: 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))
N: $data.endDateValue,
O: common_vendor.o((...args) => $options.endDateChange && $options.endDateChange(...args))
}) : {}, {
Q: $data.selectScreenCategory == 1
P: $data.selectScreenCategory == 1
}, $data.selectScreenCategory == 1 ? common_vendor.e({
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
Q: common_assets._imports_10,
R: common_vendor.o([($event) => $data.industryKeywords = $event.detail.value, (...args) => $options.industrySearch && $options.industrySearch(...args)]),
S: $data.industryKeywords,
T: $data.industryKeywords.length > 0
}, $data.industryKeywords.length > 0 ? common_vendor.e({
V: common_vendor.f($data.searchResultList, (item, index, i0) => {
U: common_vendor.f($data.searchResultList, (item, index, i0) => {
return {
a: common_vendor.t(item.level1_sector),
b: common_vendor.n("item relative " + ($data.searchIndustryTopCategory == index ? "select" : "")),
@@ -999,7 +982,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
d: common_vendor.o(($event) => $options.clickSearchIndustryTopCategoryItem(index, item), index)
};
}),
W: common_vendor.f($data.searchResultList[$data.searchIndustryTopCategory].level2_sectors, (item, index, i0) => {
V: 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" : "")),
@@ -1007,9 +990,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
d: common_vendor.o(($event) => $options.clickSearchIndustrySecondCategoryItem(index, item), index)
};
}),
X: $data.searchResultList[$data.searchIndustryTopCategory].level2_sectors.length > 0
W: $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) => {
X: 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
@@ -1022,7 +1005,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
});
})
} : {}) : common_vendor.e({
Z: common_vendor.f($data.industryCategoryList, (item, index, i0) => {
Y: 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" : "")),
@@ -1030,7 +1013,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
d: common_vendor.o(($event) => $options.clickIndustryTopCategoryItem(index), index)
};
}),
aa: common_vendor.f($data.industryCategoryList[$data.selectIndustryTopCategory].level2_sectors, (item, index, i0) => {
Z: common_vendor.f($data.industryCategoryList[$data.selectIndustryTopCategory].level2_sectors, (item, index, i0) => {
return {
a: common_vendor.t(item.level2_sector),
b: common_vendor.n("item relative " + ($data.selectIndustrySecondCategory == index ? "select" : "")),
@@ -1038,9 +1021,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
d: common_vendor.o(($event) => $options.clickIndustrySecondCategoryItem(index), index)
};
}),
ab: $data.industryCategoryList[$data.selectIndustryTopCategory].level2_sectors.length > 0
aa: $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) => {
ab: common_vendor.f($data.industryCategoryList[$data.selectIndustryTopCategory].level2_sectors[$data.selectIndustrySecondCategory].level3_sectors, (item, index, i0) => {
return common_vendor.e({
a: common_vendor.t(item.level3_sector),
b: $data.selectIndustryThirdCategory == index
@@ -1053,9 +1036,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
});
})
} : {})) : {}, {
ad: $data.selectScreenCategory == 2
ac: $data.selectScreenCategory == 2
}, $data.selectScreenCategory == 2 ? {
ae: common_vendor.f($data.importanceList, (item, index, i0) => {
ad: common_vendor.f($data.importanceList, (item, index, i0) => {
return common_vendor.e({
a: common_vendor.t(item.name),
b: item.select
@@ -1068,9 +1051,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
});
})
} : {}, {
af: $data.selectScreenCategory == 3
ae: $data.selectScreenCategory == 3
}, $data.selectScreenCategory == 3 ? {
ag: common_vendor.f($data.sortTypeList, (item, index, i0) => {
af: common_vendor.f($data.sortTypeList, (item, index, i0) => {
return {
a: item.icon,
b: common_vendor.t(item.name),
@@ -1080,14 +1063,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
};
})
} : {}, {
ah: $data.selectScreenCategory != 3
ag: $data.selectScreenCategory != 3
}, $data.selectScreenCategory != 3 ? {
ai: common_vendor.o(($event) => $options.clickCancel()),
aj: common_vendor.o(($event) => $options.clickCertain())
ah: common_vendor.o(($event) => $options.clickCancel()),
ai: common_vendor.o(($event) => $options.clickCertain())
} : {}, {
ak: common_vendor.s("padding-top:" + $data.menuTop + "px;"),
al: common_vendor.sr("screenPopup", "9dfd58d8-1"),
am: common_vendor.p({
aj: common_vendor.s("padding-top:" + $data.menuTop + "px;"),
ak: common_vendor.sr("screenPopup", "9dfd58d8-1"),
al: common_vendor.p({
type: "top"
})
});