12.25 UI调整
This commit is contained in:
@@ -46,7 +46,8 @@ const _sfc_main = {
|
||||
page: 1,
|
||||
loadAll: false,
|
||||
getLocaleHourMinute: utils_util.getLocaleHourMinute,
|
||||
replaceAnswerLabel: utils_util.replaceAnswerLabel
|
||||
replaceAnswerLabel: utils_util.replaceAnswerLabel,
|
||||
accMul: utils_util.accMul
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
@@ -124,7 +125,7 @@ const _sfc_main = {
|
||||
}
|
||||
this.calendarDateList = calendarDateList;
|
||||
this.monthDateList = calendarDateList[this.selectMonthIndex];
|
||||
this.listTop = this.contentTop + (68 + 40 + 96 + 74 + 70 + 74 + 22) / 750 * common_vendor.inject("windowWidth");
|
||||
this.listTop = this.contentTop + (68 + 40 + 96 + 74 + 70 + 22) / 750 * common_vendor.inject("windowWidth");
|
||||
Promise.all([this.getStockCategoryListData(), this.getCurrentMonthEventCountData()]).then((res) => {
|
||||
this.getEventListData();
|
||||
}).catch((error) => {
|
||||
@@ -383,11 +384,11 @@ 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.s("top:" + $data.navH + "px;"),
|
||||
g: common_vendor.t($data.selectDate),
|
||||
h: common_assets._imports_2$2,
|
||||
d: common_vendor.o(($event) => $options.clickSearch()),
|
||||
e: $data.keywords,
|
||||
f: common_vendor.o(($event) => $data.keywords = $event.detail.value),
|
||||
g: common_vendor.s("top:" + $data.navH + "px;"),
|
||||
h: common_vendor.t($data.selectDate),
|
||||
i: common_vendor.o(($event) => $options.clickSelectMonth()),
|
||||
j: common_vendor.o(($event) => $options.clickTodayDate()),
|
||||
k: common_vendor.f($data.weekList, (item, index, i0) => {
|
||||
@@ -480,9 +481,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
o: common_vendor.t($data.isExpand ? "收起" : "展开"),
|
||||
p: $data.isExpand
|
||||
}, $data.isExpand ? {
|
||||
q: common_assets._imports_3$2
|
||||
q: common_assets._imports_2$2
|
||||
} : {
|
||||
r: common_assets._imports_4$1
|
||||
r: common_assets._imports_3$2
|
||||
}, {
|
||||
s: common_vendor.o(($event) => $options.clickExpandOrRetract()),
|
||||
t: common_vendor.f($data.tabList, (item, index, i0) => {
|
||||
@@ -493,19 +494,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
d: common_vendor.o(($event) => $options.clickTabItem(index), index)
|
||||
};
|
||||
}),
|
||||
v: common_vendor.f($data.stockCategoryList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.primary_sector),
|
||||
b: $data.selectTopCategory == index
|
||||
}, $data.selectTopCategory == index ? {} : {}, {
|
||||
c: common_vendor.n("item relative " + ($data.selectTopCategory == index ? "select" : "")),
|
||||
d: index,
|
||||
e: common_vendor.o(($event) => $options.clickTopCategoryItem(index), index)
|
||||
});
|
||||
}),
|
||||
w: $data.selectTab == 0
|
||||
v: $data.selectTab == 0
|
||||
}, $data.selectTab == 0 ? {
|
||||
x: common_vendor.f($data.eventList, (item, index, i0) => {
|
||||
w: common_vendor.f($data.eventList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t($data.getLocaleHourMinute(item.start_time)),
|
||||
b: common_vendor.f(5, (sitem, sindex, i1) => {
|
||||
@@ -525,7 +516,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
i: common_vendor.f(item.related_concepts, (citem, cindex, i1) => {
|
||||
return {
|
||||
a: common_vendor.t(citem.name),
|
||||
b: common_vendor.t(citem.score * 100),
|
||||
b: common_vendor.t($data.accMul(citem.score, 100)),
|
||||
c: "2cf1ca64-2-" + i0 + "-" + i1,
|
||||
d: common_vendor.p({
|
||||
position: citem.score,
|
||||
@@ -543,9 +534,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
});
|
||||
})
|
||||
} : {}, {
|
||||
y: $data.selectTab == 1
|
||||
x: $data.selectTab == 1
|
||||
}, $data.selectTab == 1 ? {
|
||||
z: common_vendor.f($data.dataList, (item, index, i0) => {
|
||||
y: common_vendor.f($data.dataList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t($data.getLocaleHourMinute(item.created_at)),
|
||||
b: common_vendor.f(5, (sitem, sindex, i1) => {
|
||||
@@ -562,22 +553,22 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
};
|
||||
})
|
||||
} : {}, {
|
||||
A: common_vendor.s("top:" + $data.contentTop + "px;"),
|
||||
B: $data.isRefreshing,
|
||||
C: common_vendor.o(($event) => $options.pullDownRefresh()),
|
||||
D: common_vendor.o(($event) => $options.loadMoreData()),
|
||||
E: common_assets._imports_5,
|
||||
F: common_vendor.o(($event) => $options.clickPreMonth()),
|
||||
G: common_vendor.t($data.selectMonth),
|
||||
H: common_assets._imports_6,
|
||||
I: common_vendor.o(($event) => $options.clickNextMonth()),
|
||||
J: common_vendor.f($data.weekList, (item, index, i0) => {
|
||||
z: common_vendor.s("top:" + $data.contentTop + "px;"),
|
||||
A: $data.isRefreshing,
|
||||
B: common_vendor.o(($event) => $options.pullDownRefresh()),
|
||||
C: common_vendor.o(($event) => $options.loadMoreData()),
|
||||
D: common_assets._imports_4$1,
|
||||
E: common_vendor.o(($event) => $options.clickPreMonth()),
|
||||
F: common_vendor.t($data.selectMonth),
|
||||
G: common_assets._imports_5,
|
||||
H: common_vendor.o(($event) => $options.clickNextMonth()),
|
||||
I: common_vendor.f($data.weekList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: index
|
||||
};
|
||||
}),
|
||||
K: common_vendor.f($data.calendarDateList[$data.selectMonthIndex], (item, index, i0) => {
|
||||
J: common_vendor.f($data.calendarDateList[$data.selectMonthIndex], (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: item.isToday || item.date == $data.selectDate
|
||||
}, item.isToday || item.date == $data.selectDate ? {
|
||||
@@ -593,9 +584,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
g: common_vendor.o(($event) => $options.clickSelectDate(item), index)
|
||||
});
|
||||
}),
|
||||
L: common_vendor.s("margin-top:" + $data.navH + "px;"),
|
||||
M: common_vendor.sr("popup", "2cf1ca64-3"),
|
||||
N: common_vendor.p({
|
||||
K: common_vendor.s("margin-top:" + $data.navH + "px;"),
|
||||
L: common_vendor.sr("popup", "2cf1ca64-3"),
|
||||
M: common_vendor.p({
|
||||
type: "top"
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user