12.12 页面风格改版,增加事件详情相关概念网页跳转,增加绑定手机号功能
This commit is contained in:
@@ -19,13 +19,13 @@ const _sfc_main = {
|
||||
{
|
||||
title: "全部股票",
|
||||
num: 0,
|
||||
bgColor: "#C00000",
|
||||
bgColor: "#D82A2A",
|
||||
color: "white"
|
||||
},
|
||||
{
|
||||
title: "大周期",
|
||||
num: 0,
|
||||
bgColor: "#305496",
|
||||
bgColor: "#3A5D9C",
|
||||
color: "white"
|
||||
},
|
||||
{
|
||||
@@ -113,18 +113,17 @@ if (!Math) {
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.p({
|
||||
leftText: "详情"
|
||||
leftText: "事件详情",
|
||||
hideNavBg: true
|
||||
}),
|
||||
b: common_assets._imports_0,
|
||||
c: common_vendor.f($data.categoryList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: $data.selectCategory == index
|
||||
}, $data.selectCategory == index ? {} : {}, {
|
||||
c: common_vendor.n("item relative " + ($data.selectCategory == index ? "select" : "")),
|
||||
d: index,
|
||||
e: common_vendor.o(($event) => $options.clickCategoryItem(index), index)
|
||||
});
|
||||
b: common_vendor.n("item relative " + ($data.selectCategory == index ? "select" : "")),
|
||||
c: index,
|
||||
d: common_vendor.o(($event) => $options.clickCategoryItem(index), index)
|
||||
};
|
||||
}),
|
||||
d: common_vendor.s("top:" + $data.navH + "px;"),
|
||||
e: $data.investDetails
|
||||
@@ -165,19 +164,38 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
});
|
||||
})
|
||||
} : {}, {
|
||||
m: $data.selectCategory == 4
|
||||
}, $data.selectCategory == 4 ? {
|
||||
n: common_vendor.f($data.investDetails.extracted_concepts, (item, index, i0) => {
|
||||
return {
|
||||
a: item.first_image,
|
||||
b: common_vendor.t(item.name),
|
||||
c: common_vendor.t(item.reason),
|
||||
d: index,
|
||||
e: common_vendor.o(($event) => _ctx.clickConceptItem(), index)
|
||||
};
|
||||
})
|
||||
m: $data.selectCategory == 3
|
||||
}, $data.selectCategory == 3 ? {
|
||||
n: common_vendor.f(_ctx.conceptList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.concept),
|
||||
b: item.price_info
|
||||
}, item.price_info ? {
|
||||
c: common_vendor.t(_ctx.getChgRateStr(item.price_info.avg_change_pct)),
|
||||
d: common_vendor.n("chg " + (_ctx.getRateUpOrDown(item.price_info.avg_change_pct) ? "down" : "up"))
|
||||
} : {}, {
|
||||
e: item.price_info
|
||||
}, item.price_info ? {
|
||||
f: common_vendor.t(item.stock_count),
|
||||
g: common_vendor.n("stockNum " + (_ctx.getRateUpOrDown(item.price_info.avg_change_pct) ? "down" : "up"))
|
||||
} : {}, {
|
||||
h: common_vendor.t(item.description),
|
||||
i: common_vendor.f(item.stocks.slice(0, 3), (sitem, sindex, i1) => {
|
||||
return {
|
||||
a: common_vendor.t(sitem.stock_name),
|
||||
b: sindex
|
||||
};
|
||||
}),
|
||||
j: common_vendor.t(item.stock_count - 3),
|
||||
k: common_vendor.o(($event) => _ctx.clickStockMore(item), index),
|
||||
l: common_vendor.t(item.price_info ? item.price_info.trade_date : ""),
|
||||
m: common_vendor.o(($event) => _ctx.clickHistoricalTimeline(item), index),
|
||||
n: index
|
||||
});
|
||||
}),
|
||||
o: common_assets._imports_1$2
|
||||
} : {}, {
|
||||
o: common_vendor.s("top:" + $data.contentTop + "px;")
|
||||
p: common_vendor.s("top:" + $data.contentTop + "px;")
|
||||
}) : {});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
|
||||
Reference in New Issue
Block a user