12.25 UI调整
This commit is contained in:
@@ -527,6 +527,10 @@ const _sfc_main = {
|
||||
* 获取会员状态
|
||||
*/
|
||||
getMemberStatusData() {
|
||||
let token = common_vendor.index.getStorageSync("token");
|
||||
if (!token) {
|
||||
return;
|
||||
}
|
||||
request_api.membershipStatus().then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.memberInfo = res.data;
|
||||
|
||||
@@ -30,6 +30,7 @@ page {
|
||||
.topC .searchRankC .searchC input {
|
||||
font-size: 22rpx;
|
||||
font-weight: 500;
|
||||
color: white;
|
||||
}
|
||||
.topC .searchRankC .rank {
|
||||
padding: 0 14rpx;
|
||||
|
||||
@@ -115,6 +115,19 @@ const _sfc_main = {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
/**
|
||||
* 复制标题
|
||||
*/
|
||||
copyEventTitle() {
|
||||
common_vendor.index.setClipboardData({
|
||||
data: this.eventDetails.event_title,
|
||||
success() {
|
||||
common_vendor.index.showToast({
|
||||
title: "复制成功"
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
async init() {
|
||||
let that = this;
|
||||
setTimeout(function() {
|
||||
@@ -432,9 +445,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}, $data.eventDetails ? common_vendor.e({
|
||||
d: common_vendor.t($data.eventDetails.event_type),
|
||||
e: common_vendor.t($data.eventDetails.event_title),
|
||||
f: common_vendor.t($data.eventDetails.event_created_at.substr(0, 16)),
|
||||
g: common_vendor.t($data.eventDetails.event_desc),
|
||||
h: common_vendor.f($data.categoryList, (item, index, i0) => {
|
||||
f: common_vendor.o(($event) => $options.copyEventTitle()),
|
||||
g: common_vendor.t($data.eventDetails.event_created_at.substr(0, 16)),
|
||||
h: common_vendor.t($data.eventDetails.event_desc),
|
||||
i: common_vendor.f($data.categoryList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item),
|
||||
b: $data.selectCategory == index
|
||||
@@ -444,18 +458,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
e: common_vendor.o(($event) => $options.clickCategoryItem(index), index)
|
||||
});
|
||||
}),
|
||||
i: $data.selectCategory == 0
|
||||
j: $data.selectCategory == 0
|
||||
}, $data.selectCategory == 0 ? {
|
||||
j: common_vendor.f($data.headingList, (item, index, i0) => {
|
||||
k: common_vendor.f($data.headingList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: index
|
||||
};
|
||||
})
|
||||
} : {}, {
|
||||
k: $data.selectCategory == 0
|
||||
l: $data.selectCategory == 0
|
||||
}, $data.selectCategory == 0 ? {
|
||||
l: common_vendor.f($data.targetList, (item, index, i0) => {
|
||||
m: common_vendor.f($data.targetList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.stock_name),
|
||||
b: common_vendor.t(item.stock_code),
|
||||
@@ -474,9 +488,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
};
|
||||
})
|
||||
} : {}, {
|
||||
m: $data.selectCategory == 1
|
||||
n: $data.selectCategory == 1
|
||||
}, $data.selectCategory == 1 ? {
|
||||
n: common_vendor.f($data.conceptList, (item, index, i0) => {
|
||||
o: common_vendor.f($data.conceptList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.concept),
|
||||
b: item.price_info
|
||||
@@ -510,16 +524,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
r: common_vendor.o(($event) => $options.clickConceptItem(item.concept), index)
|
||||
});
|
||||
}),
|
||||
o: $data.memberInfo && $data.memberInfo.is_member && $data.memberInfo.subscription_type == "pro",
|
||||
p: common_assets._imports_1$2
|
||||
p: $data.memberInfo && $data.memberInfo.is_member && $data.memberInfo.subscription_type == "pro",
|
||||
q: common_assets._imports_1$2
|
||||
} : {}, {
|
||||
q: $data.selectCategory == 2
|
||||
r: $data.selectCategory == 2
|
||||
}, $data.selectCategory == 2 ? {
|
||||
r: common_assets._imports_3$4,
|
||||
s: common_vendor.t($data.expectScore),
|
||||
t: common_assets._imports_4$5,
|
||||
v: common_vendor.o(($event) => $options.clickExpectScore($event)),
|
||||
w: common_vendor.f($data.historyEventList, (item, index, i0) => {
|
||||
s: common_assets._imports_3$4,
|
||||
t: common_vendor.t($data.expectScore),
|
||||
v: common_assets._imports_4$5,
|
||||
w: common_vendor.o(($event) => $options.clickExpectScore($event)),
|
||||
x: common_vendor.f($data.historyEventList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.title),
|
||||
b: common_vendor.t(item.relevance * 10),
|
||||
@@ -545,29 +559,29 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
p: index
|
||||
});
|
||||
}),
|
||||
x: common_assets._imports_5$2,
|
||||
y: common_assets._imports_3$4
|
||||
y: common_assets._imports_5$2,
|
||||
z: common_assets._imports_3$4
|
||||
} : {}, {
|
||||
z: common_vendor.s("top:" + $data.navH + "px;"),
|
||||
A: common_vendor.o(($event) => $options.loadMoreData())
|
||||
A: common_vendor.s("top:" + $data.navH + "px;"),
|
||||
B: common_vendor.o(($event) => $options.loadMoreData())
|
||||
}) : {}, {
|
||||
B: $data.eventDetails
|
||||
C: $data.eventDetails
|
||||
}, $data.eventDetails ? {
|
||||
C: common_vendor.o(($event) => $options.sendEventComment()),
|
||||
D: $data.eventComment,
|
||||
E: common_vendor.o(($event) => $data.eventComment = $event.detail.value),
|
||||
F: common_assets._imports_3$1,
|
||||
G: common_vendor.t($data.eventDetails.view_count),
|
||||
H: common_assets._imports_4,
|
||||
I: common_vendor.t($data.eventDetails.post_count),
|
||||
J: common_vendor.o(($event) => $options.clickComment()),
|
||||
K: common_assets._imports_10$1,
|
||||
L: common_vendor.t($data.eventDetails.follower_count),
|
||||
M: common_vendor.o(($event) => $options.clickFollow())
|
||||
D: common_vendor.o(($event) => $options.sendEventComment()),
|
||||
E: $data.eventComment,
|
||||
F: common_vendor.o(($event) => $data.eventComment = $event.detail.value),
|
||||
G: common_assets._imports_3$1,
|
||||
H: common_vendor.t($data.eventDetails.view_count),
|
||||
I: common_assets._imports_4,
|
||||
J: common_vendor.t($data.eventDetails.post_count),
|
||||
K: common_vendor.o(($event) => $options.clickComment()),
|
||||
L: common_assets._imports_10$1,
|
||||
M: common_vendor.t($data.eventDetails.follower_count),
|
||||
N: common_vendor.o(($event) => $options.clickFollow())
|
||||
} : {}, {
|
||||
N: common_assets._imports_11$1,
|
||||
O: common_vendor.o(($event) => $options.closeCommentPopup()),
|
||||
P: common_vendor.f($data.commentList, (item, index, i0) => {
|
||||
O: common_assets._imports_11$1,
|
||||
P: common_vendor.o(($event) => $options.closeCommentPopup()),
|
||||
Q: common_vendor.f($data.commentList, (item, index, i0) => {
|
||||
return {
|
||||
a: item.user.avatar_url,
|
||||
b: common_vendor.t(item.user.username),
|
||||
@@ -579,25 +593,26 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
h: index
|
||||
};
|
||||
}),
|
||||
Q: common_assets._imports_12$2,
|
||||
R: $data.isFocus,
|
||||
S: common_vendor.o(($event) => $options.sendReplyComment()),
|
||||
T: $data.replyComment,
|
||||
U: common_vendor.o(($event) => $data.replyComment = $event.detail.value),
|
||||
V: common_vendor.sr("popup", "6e1a61f1-2"),
|
||||
W: common_vendor.p({
|
||||
R: common_assets._imports_12$2,
|
||||
S: $data.isFocus,
|
||||
T: common_vendor.o(($event) => $options.sendReplyComment()),
|
||||
U: $data.replyComment,
|
||||
V: common_vendor.o(($event) => $data.replyComment = $event.detail.value),
|
||||
W: common_vendor.sr("popup", "6e1a61f1-2"),
|
||||
X: common_vendor.p({
|
||||
type: "bottom"
|
||||
}),
|
||||
X: common_assets._imports_13,
|
||||
Y: common_vendor.s("margin-top:" + $data.scoreTop + "px;"),
|
||||
Z: common_vendor.sr("expectScorePopup", "6e1a61f1-3"),
|
||||
aa: common_vendor.p({
|
||||
Y: common_assets._imports_13,
|
||||
Z: common_vendor.s("margin-top:" + $data.scoreTop + "px;"),
|
||||
aa: common_vendor.sr("expectScorePopup", "6e1a61f1-3"),
|
||||
ab: common_vendor.p({
|
||||
type: "top",
|
||||
["mask-background-color"]: "transparent"
|
||||
["mask-background-color"]: "transparent",
|
||||
animation: false
|
||||
}),
|
||||
ab: common_assets._imports_11$1,
|
||||
ac: common_vendor.o(($event) => $options.closeRelatedStockPopup()),
|
||||
ad: common_vendor.f($data.historyEventRelatedStockList, (item, index, i0) => {
|
||||
ac: common_assets._imports_11$1,
|
||||
ad: common_vendor.o(($event) => $options.closeRelatedStockPopup()),
|
||||
ae: common_vendor.f($data.historyEventRelatedStockList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.stock_name + "(" + item.stock_code + ")"),
|
||||
b: common_vendor.t(item.correlation * 100),
|
||||
@@ -615,21 +630,21 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
k: common_vendor.o(($event) => $options.clickStockItem(item.stock_code), index)
|
||||
});
|
||||
}),
|
||||
ae: common_vendor.sr("stockPopup", "6e1a61f1-4"),
|
||||
af: common_vendor.p({
|
||||
af: common_vendor.sr("stockPopup", "6e1a61f1-4"),
|
||||
ag: common_vendor.p({
|
||||
type: "bottom"
|
||||
}),
|
||||
ag: common_assets._imports_14,
|
||||
ah: common_assets._imports_15,
|
||||
ai: common_assets._imports_16,
|
||||
ah: common_assets._imports_14,
|
||||
ai: common_assets._imports_15,
|
||||
aj: common_assets._imports_16,
|
||||
ak: common_assets._imports_17,
|
||||
ak: common_assets._imports_16,
|
||||
al: common_assets._imports_17,
|
||||
am: common_assets._imports_17,
|
||||
an: common_vendor.o(($event) => $options.clickLater()),
|
||||
ao: common_vendor.o(($event) => $options.clickUpgradeAtOnce()),
|
||||
ap: common_vendor.sr("vipPopup", "6e1a61f1-5"),
|
||||
aq: common_vendor.p({
|
||||
an: common_assets._imports_17,
|
||||
ao: common_vendor.o(($event) => $options.clickLater()),
|
||||
ap: common_vendor.o(($event) => $options.clickUpgradeAtOnce()),
|
||||
aq: common_vendor.sr("vipPopup", "6e1a61f1-5"),
|
||||
ar: common_vendor.p({
|
||||
type: "center"
|
||||
})
|
||||
});
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -49,6 +49,7 @@ page {
|
||||
}
|
||||
.eventDetailsC .eventIntroC .eventContent {
|
||||
margin: 18rpx 27rpx 0;
|
||||
word-break: break-all;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
color: #71675D;
|
||||
@@ -129,7 +130,7 @@ page {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
.eventDetailsC .targetList .item .content .ai {
|
||||
color: #EC3440;
|
||||
color: #CCCDD1;
|
||||
}
|
||||
.eventDetailsC .conceptList .conceptItem {
|
||||
background: linear-gradient(-30deg, #FFF6F0 0%, #FEFEFE 100%);
|
||||
|
||||
139
unpackage/dist/dev/mp-weixin/pages/index/index.js
vendored
139
unpackage/dist/dev/mp-weixin/pages/index/index.js
vendored
@@ -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"
|
||||
})
|
||||
});
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -27,6 +27,7 @@ page {
|
||||
}
|
||||
.topC .searchC input {
|
||||
height: 100%;
|
||||
color: white;
|
||||
}
|
||||
.topC .screenC {
|
||||
margin: 0 25rpx;
|
||||
|
||||
@@ -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"
|
||||
})
|
||||
});
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -26,6 +26,7 @@ page {
|
||||
}
|
||||
.searchC input {
|
||||
height: 100%;
|
||||
color: white;
|
||||
}
|
||||
.searchC .line {
|
||||
background-color: #E1E1E1;
|
||||
@@ -54,7 +55,7 @@ page {
|
||||
.contentC .calendarC .todayC .todayDateC {
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
color: #CCCDD1;
|
||||
color: #3D3D3D;
|
||||
}
|
||||
.contentC .calendarC .todayC .todayDateC .icon {
|
||||
margin-left: 16rpx;
|
||||
|
||||
@@ -15,7 +15,7 @@ const _sfc_main = {
|
||||
selectInvestIndex: -1,
|
||||
stockYearList: ["新手入门", "1年以内", "1-3年", "3-5年", "5-10年", "10年以上"],
|
||||
selectYearIndex: -1,
|
||||
riskPreferenceList: ["保守型", "稳健型", "保守型"],
|
||||
riskPreferenceList: ["保守型", "稳健型", "积极型"],
|
||||
selectRiskIndex: -1,
|
||||
investmentScaleList: ["50万以下", "50-100万", "100万以上"],
|
||||
selectScaleIndex: -1,
|
||||
|
||||
19
unpackage/dist/dev/mp-weixin/pages/mine/mine.js
vendored
19
unpackage/dist/dev/mp-weixin/pages/mine/mine.js
vendored
@@ -158,7 +158,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
c: $data.userInfo
|
||||
}, $data.userInfo ? common_vendor.e({
|
||||
d: $data.userInfo.basic_info.avatar_url,
|
||||
e: common_vendor.t($data.userInfo.basic_info.username),
|
||||
e: common_vendor.t($data.userInfo.basic_info.nickname),
|
||||
f: common_vendor.t($data.userInfo.basic_info.phone),
|
||||
g: $data.memberInfo && $data.memberInfo.is_member
|
||||
}, $data.memberInfo && $data.memberInfo.is_member ? {
|
||||
@@ -177,9 +177,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
q: common_vendor.t($data.userInfo.statistics.likes_count),
|
||||
r: common_vendor.o(($event) => $options.clickNumItem(2))
|
||||
} : {}, {
|
||||
s: common_assets._imports_2$4,
|
||||
t: common_vendor.o(($event) => $options.clickVip()),
|
||||
v: common_vendor.f($data.menuList, (item, index, i0) => {
|
||||
s: $data.memberInfo && !$data.memberInfo.is_member
|
||||
}, $data.memberInfo && !$data.memberInfo.is_member ? {
|
||||
t: common_assets._imports_2$4,
|
||||
v: common_vendor.o(($event) => $options.clickVip())
|
||||
} : {}, {
|
||||
w: common_vendor.f($data.menuList, (item, index, i0) => {
|
||||
return {
|
||||
a: item.icon,
|
||||
b: common_vendor.t(item.title),
|
||||
@@ -187,10 +190,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
d: common_vendor.o(($event) => $options.clickMenuItem(item.url, index), index)
|
||||
};
|
||||
}),
|
||||
w: common_assets._imports_3$3,
|
||||
x: common_assets._imports_4$4,
|
||||
y: common_vendor.sr("popup", "dd5840e4-0"),
|
||||
z: common_vendor.p({
|
||||
x: common_assets._imports_3$3,
|
||||
y: common_assets._imports_4$4,
|
||||
z: common_vendor.sr("popup", "dd5840e4-0"),
|
||||
A: common_vendor.p({
|
||||
type: "center"
|
||||
})
|
||||
});
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view><image class="topBg absolute" src="{{a}}" mode="widthFix"></image><view class="navTitle fixed" style="{{b}}">个人中心</view><view wx:if="{{c}}" class="personalInfoC relative flex" style="{{j}}" bindtap="{{k}}"><image class="avatar" src="{{d}}" mode="aspectFill"></image><view class="flex1"><view class="nickname">{{e}}</view><view class="mobile">手机号:{{f}}</view><view wx:if="{{g}}" class="mobile">{{h}}会员</view></view><image class="arrow" src="{{i}}" mode="widthFix"></image></view><view wx:if="{{l}}" class="numList relative flex"><view class="item flex1 flexColumnCenter" bindtap="{{n}}"><view class="num">{{m}}</view><view class="title">评论回复</view></view><view class="item flex1 flexColumnCenter" bindtap="{{p}}"><view class="num">{{o}}</view><view class="title">关注收藏</view></view><view class="item flex1 flexColumnCenter" bindtap="{{r}}"><view class="num">{{q}}</view><view class="title">我的点赞</view></view></view><view class="vipC relative" bindtap="{{t}}"><image class="icon" src="{{s}}" mode="widthFix"></image></view><view class="menuList relative"><view class="list"><view wx:for="{{v}}" wx:for-item="item" wx:key="c" class="item relative flex" bindtap="{{item.d}}"><image class="icon" src="{{item.a}}" mode="aspectFit"></image><view class="title flex1">{{item.b}}</view><image class="arrow" src="{{w}}" mode="widthFix"></image></view></view></view><uni-popup wx:if="{{z}}" class="r" u-s="{{['d']}}" u-r="popup" u-i="dd5840e4-0" bind:__l="__l" u-p="{{z}}"><view class="popup"><image class="icon" src="{{x}}" mode="widthFix" show-menu-by-longpress></image><view class="title">企业二维码</view></view></uni-popup></view>
|
||||
<view><image class="topBg absolute" src="{{a}}" mode="widthFix"></image><view class="navTitle fixed" style="{{b}}">个人中心</view><view wx:if="{{c}}" class="personalInfoC relative flex" style="{{j}}" bindtap="{{k}}"><image class="avatar" src="{{d}}" mode="aspectFill"></image><view class="flex1"><view class="nickname">{{e}}</view><view class="mobile">手机号:{{f}}</view><view wx:if="{{g}}" class="mobile">{{h}}会员</view></view><image class="arrow" src="{{i}}" mode="widthFix"></image></view><view wx:if="{{l}}" class="numList relative flex"><view class="item flex1 flexColumnCenter" bindtap="{{n}}"><view class="num">{{m}}</view><view class="title">评论回复</view></view><view class="item flex1 flexColumnCenter" bindtap="{{p}}"><view class="num">{{o}}</view><view class="title">关注收藏</view></view><view class="item flex1 flexColumnCenter" bindtap="{{r}}"><view class="num">{{q}}</view><view class="title">我的点赞</view></view></view><view wx:if="{{s}}" class="vipC relative" bindtap="{{v}}"><image class="icon" src="{{t}}" mode="widthFix"></image></view><view class="menuList relative"><view class="list"><view wx:for="{{w}}" wx:for-item="item" wx:key="c" class="item relative flex" bindtap="{{item.d}}"><image class="icon" src="{{item.a}}" mode="aspectFit"></image><view class="title flex1">{{item.b}}</view><image class="arrow" src="{{x}}" mode="widthFix"></image></view></view></view><uni-popup wx:if="{{A}}" class="r" u-s="{{['d']}}" u-r="popup" u-i="dd5840e4-0" bind:__l="__l" u-p="{{A}}"><view class="popup"><image class="icon" src="{{y}}" mode="widthFix" show-menu-by-longpress></image><view class="title">企业二维码</view></view></uni-popup></view>
|
||||
Reference in New Issue
Block a user