12.25 UI调整
This commit is contained in:
@@ -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"
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user