1.29 财务分析模块完善
This commit is contained in:
@@ -3,14 +3,23 @@ const common_vendor = require("../../common/vendor.js");
|
||||
const request_api = require("../../request/api.js");
|
||||
const utils_util = require("../../utils/util.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
require("../../uni_modules/lime-echart/static/echarts.min.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
navH: common_vendor.inject("navHeight"),
|
||||
navTitle: "",
|
||||
//标题
|
||||
searchResultTop: "",
|
||||
//搜索结果
|
||||
contentTop: "",
|
||||
keywords: "",
|
||||
//搜索关键字
|
||||
searchShow: false,
|
||||
//是否展示搜索结果
|
||||
searchResultList: [],
|
||||
//搜索结果
|
||||
selectSearchStockInfo: null,
|
||||
//选中的搜索股票信息
|
||||
stockCode: "300700",
|
||||
//股票代码 600759 000009 002004 300700
|
||||
stockBasicInfo: null,
|
||||
@@ -184,6 +193,8 @@ const _sfc_main = {
|
||||
],
|
||||
//财务全景分类
|
||||
selectCaiwu: 0,
|
||||
financialMetricsList: [],
|
||||
//财务分析列表数据
|
||||
financialStockInfo: null,
|
||||
mainBussinessBarCategoryList: [],
|
||||
//主营业务柱状图,折线图分类
|
||||
@@ -216,8 +227,12 @@ const _sfc_main = {
|
||||
//获取数字展示万或亿
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
this.contentTop = this.navH + (20 + 70 + 30) / 750 * common_vendor.inject("windowWidth");
|
||||
onLoad(e) {
|
||||
this.searchResultTop = this.navH + (20 + 70) / 750 * common_vendor.inject("windowWidth");
|
||||
this.contentTop = this.searchResultTop + 30 / 750 * common_vendor.inject("windowWidth");
|
||||
if (e.code) {
|
||||
this.stockCode = e.code;
|
||||
}
|
||||
this.getStockBasicInfoData();
|
||||
this.getQuoteDetailsData();
|
||||
this.getActualControlData();
|
||||
@@ -230,6 +245,23 @@ const _sfc_main = {
|
||||
* 点击搜索
|
||||
*/
|
||||
clickSearch() {
|
||||
if (this.keywords) {
|
||||
this.getSearchStockInfoListData();
|
||||
} else
|
||||
this.selectSearchStockInfo = null;
|
||||
},
|
||||
/**
|
||||
* 点击搜索结果背景
|
||||
*/
|
||||
clickSearchResultBg() {
|
||||
this.searchShow = false;
|
||||
},
|
||||
/**
|
||||
* 点击搜索结果列表项
|
||||
*/
|
||||
clickSearchResultListItem(item) {
|
||||
this.selectSearchStockInfo = item;
|
||||
this.searchShow = false;
|
||||
this.getStockBasicInfoData();
|
||||
this.getQuoteDetailsData();
|
||||
},
|
||||
@@ -294,6 +326,9 @@ const _sfc_main = {
|
||||
clickCaiWuItem(index) {
|
||||
if (this.selectCaiwu != index) {
|
||||
this.selectCaiwu = index;
|
||||
if (index == 1) {
|
||||
this.getFinancialMetricsData();
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
@@ -343,16 +378,38 @@ const _sfc_main = {
|
||||
clickCloseValueChainPop() {
|
||||
this.$refs["valueChainPopup"].close();
|
||||
},
|
||||
/**
|
||||
* 点击自选
|
||||
*/
|
||||
clickOptional() {
|
||||
},
|
||||
/**
|
||||
* 点击分享
|
||||
*/
|
||||
clickShare() {
|
||||
},
|
||||
/**
|
||||
* 根据输入内容获取搜索列表项
|
||||
*/
|
||||
getSearchStockInfoListData() {
|
||||
let param = { q: this.keywords, limit: 10 };
|
||||
request_api.searchStockInfo(param).then((res) => {
|
||||
this.searchResultList = res.data;
|
||||
this.searchShow = this.searchResultList.length > 0;
|
||||
}).catch((error) => {
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取股票基本信息
|
||||
*/
|
||||
getStockBasicInfoData() {
|
||||
let code = this.stockCode;
|
||||
if (this.keywords) {
|
||||
code = this.keywords;
|
||||
if (this.selectSearchStockInfo) {
|
||||
code = this.selectSearchStockInfo.stock_code;
|
||||
}
|
||||
request_api.stockBasicInfo(code).then((res) => {
|
||||
this.stockBasicInfo = res.data;
|
||||
this.navTitle = res.data.SECNAME + "(" + res.data.SECCODE + ")";
|
||||
}).catch((error) => {
|
||||
});
|
||||
},
|
||||
@@ -361,8 +418,8 @@ const _sfc_main = {
|
||||
*/
|
||||
getQuoteDetailsData() {
|
||||
let code = this.stockCode;
|
||||
if (this.keywords) {
|
||||
code = this.keywords;
|
||||
if (this.selectSearchStockInfo) {
|
||||
code = this.selectSearchStockInfo.stock_code;
|
||||
}
|
||||
request_api.quoteDetailsInfo(code).then((res) => {
|
||||
this.quoteDetailsInfo = res.data;
|
||||
@@ -374,8 +431,8 @@ const _sfc_main = {
|
||||
*/
|
||||
getActualControlData() {
|
||||
let code = this.stockCode;
|
||||
if (this.keywords) {
|
||||
code = this.keywords;
|
||||
if (this.selectSearchStockInfo) {
|
||||
code = this.selectSearchStockInfo.stock_code;
|
||||
}
|
||||
request_api.actualControl(code).then((res) => {
|
||||
this.actualControlInfo = res.data[0];
|
||||
@@ -387,8 +444,8 @@ const _sfc_main = {
|
||||
*/
|
||||
getOwnershipConcentration() {
|
||||
let code = this.stockCode;
|
||||
if (this.keywords) {
|
||||
code = this.keywords;
|
||||
if (this.selectSearchStockInfo) {
|
||||
code = this.selectSearchStockInfo.stock_code;
|
||||
}
|
||||
request_api.ownershipConcentration(code).then((res) => {
|
||||
this.concentrationList = res.data.slice(0, 8);
|
||||
@@ -400,8 +457,8 @@ const _sfc_main = {
|
||||
*/
|
||||
getTopShareholdersData() {
|
||||
let code = this.stockCode;
|
||||
if (this.keywords) {
|
||||
code = this.keywords;
|
||||
if (this.selectSearchStockInfo) {
|
||||
code = this.selectSearchStockInfo.stock_code;
|
||||
}
|
||||
request_api.topShareholdersList(code, { "limit": 10 }).then((res) => {
|
||||
this.topShareholdersList = res.data;
|
||||
@@ -413,8 +470,8 @@ const _sfc_main = {
|
||||
*/
|
||||
getTopCirculatingShareholdersData() {
|
||||
let code = this.stockCode;
|
||||
if (this.keywords) {
|
||||
code = this.keywords;
|
||||
if (this.selectSearchStockInfo) {
|
||||
code = this.selectSearchStockInfo.stock_code;
|
||||
}
|
||||
request_api.topCirculatingShareholdersList(code, { "limit": 10 }).then((res) => {
|
||||
this.topCirculatingShareholdersList = res.data;
|
||||
@@ -426,8 +483,8 @@ const _sfc_main = {
|
||||
*/
|
||||
getManagementTeamData() {
|
||||
let code = this.stockCode;
|
||||
if (this.keywords) {
|
||||
code = this.keywords;
|
||||
if (this.selectSearchStockInfo) {
|
||||
code = this.selectSearchStockInfo.stock_code;
|
||||
}
|
||||
request_api.managementTeam(code, { active_only: true }).then((res) => {
|
||||
let data = res.data;
|
||||
@@ -465,8 +522,8 @@ const _sfc_main = {
|
||||
*/
|
||||
getBranchListData() {
|
||||
let code = this.stockCode;
|
||||
if (this.keywords) {
|
||||
code = this.keywords;
|
||||
if (this.selectSearchStockInfo) {
|
||||
code = this.selectSearchStockInfo.stock_code;
|
||||
}
|
||||
request_api.branchesList(code).then((res) => {
|
||||
this.branchList = res.data;
|
||||
@@ -478,8 +535,8 @@ const _sfc_main = {
|
||||
*/
|
||||
getComprehensiveAnalysisData() {
|
||||
let code = this.stockCode;
|
||||
if (this.keywords) {
|
||||
code = this.keywords;
|
||||
if (this.selectSearchStockInfo) {
|
||||
code = this.selectSearchStockInfo.stock_code;
|
||||
}
|
||||
request_api.comprehensiveAnalysis(code).then((res) => {
|
||||
this.qualitativeAnalysisInfo = res.data.qualitative_analysis;
|
||||
@@ -513,8 +570,8 @@ const _sfc_main = {
|
||||
*/
|
||||
getIndustryRankListData() {
|
||||
let code = this.stockCode;
|
||||
if (this.keywords) {
|
||||
code = this.keywords;
|
||||
if (this.selectSearchStockInfo) {
|
||||
code = this.selectSearchStockInfo.stock_code;
|
||||
}
|
||||
request_api.industryRankList(code).then((res) => {
|
||||
this.industryRankList = res.data;
|
||||
@@ -526,8 +583,8 @@ const _sfc_main = {
|
||||
*/
|
||||
getValueChainAnalysisData() {
|
||||
let code = this.stockCode;
|
||||
if (this.keywords) {
|
||||
code = this.keywords;
|
||||
if (this.selectSearchStockInfo) {
|
||||
code = this.selectSearchStockInfo.stock_code;
|
||||
}
|
||||
request_api.valueChainAnalysis(code).then((res) => {
|
||||
this.valueChainAnalysisInfo = res.data.analysis_summary;
|
||||
@@ -557,8 +614,8 @@ const _sfc_main = {
|
||||
*/
|
||||
getKeyFactorsTimelineData() {
|
||||
let code = this.stockCode;
|
||||
if (this.keywords) {
|
||||
code = this.keywords;
|
||||
if (this.selectSearchStockInfo) {
|
||||
code = this.selectSearchStockInfo.stock_code;
|
||||
}
|
||||
request_api.keyFactorsTimeline(code).then((res) => {
|
||||
this.keyFactorsInfo = res.data.key_factors;
|
||||
@@ -573,16 +630,36 @@ const _sfc_main = {
|
||||
*/
|
||||
getFinancialStockInfoData() {
|
||||
let code = this.stockCode;
|
||||
if (this.selectSearchStockInfo) {
|
||||
code = this.selectSearchStockInfo.stock_code;
|
||||
}
|
||||
request_api.financialStockInfo(code).then((res) => {
|
||||
this.financialStockInfo = res.data;
|
||||
}).catch((error) => {
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取财务指标数据
|
||||
*/
|
||||
getFinancialMetricsData() {
|
||||
let code = this.stockCode;
|
||||
if (this.selectSearchStockInfo) {
|
||||
code = this.selectSearchStockInfo.stock_code;
|
||||
}
|
||||
let param = { limit: 8 };
|
||||
request_api.financialMetrics(code, param).then((res) => {
|
||||
this.financialMetricsList = res.data;
|
||||
}).catch((error) => {
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取财务比较数据
|
||||
*/
|
||||
getFinancialComparisonData() {
|
||||
let code = this.stockCode;
|
||||
if (this.selectSearchStockInfo) {
|
||||
code = this.selectSearchStockInfo.stock_code;
|
||||
}
|
||||
let param = { periods: 8 };
|
||||
request_api.financialComparison(code, param).then((res) => {
|
||||
let data = res.data;
|
||||
@@ -590,7 +667,11 @@ const _sfc_main = {
|
||||
this.mainBussinessBarList = [];
|
||||
this.mainBussinessLineList = [];
|
||||
for (let item of data) {
|
||||
this.mainBussinessBarCategoryList.unshift(item.report_type.replace("三季报", "Q3"));
|
||||
let type = item.report_type;
|
||||
type = type.replace("年三季报", "Q3");
|
||||
type = type.replace("年中报", "中报");
|
||||
type = type.replace("年年报", "年报");
|
||||
this.mainBussinessBarCategoryList.unshift(type);
|
||||
this.mainBussinessBarList.unshift((parseFloat(item.performance.revenue) / 1e8).toFixed(2));
|
||||
this.mainBussinessLineList.unshift((parseFloat(item.performance.net_profit) / 1e8).toFixed(2));
|
||||
}
|
||||
@@ -602,6 +683,9 @@ const _sfc_main = {
|
||||
*/
|
||||
getFinancialMainBussinessData() {
|
||||
let code = this.stockCode;
|
||||
if (this.selectSearchStockInfo) {
|
||||
code = this.selectSearchStockInfo.stock_code;
|
||||
}
|
||||
let param = { periods: 4 };
|
||||
request_api.financialMainBusiness(code, param).then((res) => {
|
||||
this.productClassificationList = res.data.product_classification;
|
||||
@@ -627,8 +711,8 @@ const _sfc_main = {
|
||||
*/
|
||||
getCompanyAnnouncementsData() {
|
||||
let code = this.stockCode;
|
||||
if (this.keywords) {
|
||||
code = this.keywords;
|
||||
if (this.selectSearchStockInfo) {
|
||||
code = this.selectSearchStockInfo.stock_code;
|
||||
}
|
||||
let param = { limit: 20 };
|
||||
request_api.companyAnnouncementsList(code, param).then((res) => {
|
||||
@@ -675,74 +759,86 @@ if (!Math) {
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.p({
|
||||
leftText: "平安银行(000001)",
|
||||
leftText: $data.navTitle,
|
||||
hideNavBg: true
|
||||
}),
|
||||
b: common_assets._imports_0,
|
||||
c: common_assets._imports_1,
|
||||
d: common_vendor.o(($event) => $options.clickSearch()),
|
||||
d: common_vendor.o([($event) => $data.keywords = $event.detail.value, ($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: $data.stockBasicInfo
|
||||
f: common_vendor.s("top:" + $data.navH + "px;"),
|
||||
g: $data.searchShow
|
||||
}, $data.searchShow ? {
|
||||
h: common_vendor.f($data.searchResultList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.stock_code),
|
||||
b: common_vendor.t(item.stock_name),
|
||||
c: index,
|
||||
d: common_vendor.o(($event) => $options.clickSearchResultListItem(item), index)
|
||||
};
|
||||
}),
|
||||
i: common_vendor.s("top:" + $data.searchResultTop + "px;"),
|
||||
j: common_vendor.o(($event) => $options.clickSearchResultBg())
|
||||
} : {}, {
|
||||
k: $data.stockBasicInfo
|
||||
}, $data.stockBasicInfo ? common_vendor.e({
|
||||
i: common_vendor.t($data.stockBasicInfo.industry_l1),
|
||||
j: common_vendor.t($data.stockBasicInfo.sw_industry_l2),
|
||||
k: $data.quoteDetailsInfo
|
||||
l: common_vendor.t($data.stockBasicInfo.industry_l1),
|
||||
m: common_vendor.t($data.stockBasicInfo.sw_industry_l2),
|
||||
n: $data.quoteDetailsInfo
|
||||
}, $data.quoteDetailsInfo ? {
|
||||
l: common_vendor.t($data.quoteDetailsInfo.current_price),
|
||||
m: common_vendor.n("current " + ($data.getRateUpOrDown($data.quoteDetailsInfo.change_percent) ? "down" : "up")),
|
||||
n: common_vendor.t($data.quoteDetailsInfo.change_percent),
|
||||
o: common_vendor.n("chg " + ($data.getRateUpOrDown($data.quoteDetailsInfo.change_percent) ? "down" : "up")),
|
||||
p: common_vendor.t($data.quoteDetailsInfo.today_open),
|
||||
q: common_vendor.t($data.quoteDetailsInfo.yesterday_close),
|
||||
r: common_vendor.t($data.quoteDetailsInfo.today_high),
|
||||
s: common_vendor.t($data.quoteDetailsInfo.today_low)
|
||||
o: common_vendor.t($data.quoteDetailsInfo.current_price),
|
||||
p: common_vendor.n("current " + ($data.getRateUpOrDown($data.quoteDetailsInfo.change_percent) ? "down" : "up")),
|
||||
q: common_vendor.t($data.quoteDetailsInfo.change_percent),
|
||||
r: common_vendor.n("chg " + ($data.getRateUpOrDown($data.quoteDetailsInfo.change_percent) ? "down" : "up")),
|
||||
s: common_vendor.t($data.quoteDetailsInfo.today_open),
|
||||
t: common_vendor.t($data.quoteDetailsInfo.yesterday_close),
|
||||
v: common_vendor.t($data.quoteDetailsInfo.today_high),
|
||||
w: common_vendor.t($data.quoteDetailsInfo.today_low)
|
||||
} : {}, {
|
||||
t: $data.quoteDetailsInfo
|
||||
x: $data.quoteDetailsInfo
|
||||
}, $data.quoteDetailsInfo ? common_vendor.e({
|
||||
v: common_vendor.t($data.quoteDetailsInfo.pe ? $data.quoteDetailsInfo.pe : "-"),
|
||||
w: $data.quoteDetailsInfo.float_shares
|
||||
y: common_vendor.t($data.quoteDetailsInfo.pe ? $data.quoteDetailsInfo.pe : "-"),
|
||||
z: $data.quoteDetailsInfo.float_shares
|
||||
}, $data.quoteDetailsInfo.float_shares ? {
|
||||
x: common_vendor.t($data.quoteDetailsInfo.float_shares)
|
||||
A: common_vendor.t($data.quoteDetailsInfo.float_shares)
|
||||
} : {}) : {}, {
|
||||
y: $data.quoteDetailsInfo
|
||||
}, $data.quoteDetailsInfo ? {
|
||||
z: common_vendor.t($data.quoteDetailsInfo.market_cap),
|
||||
A: common_vendor.t($data.quoteDetailsInfo.turnover_rate)
|
||||
} : {}, {
|
||||
B: $data.quoteDetailsInfo
|
||||
}, $data.quoteDetailsInfo ? common_vendor.e({
|
||||
C: $data.quoteDetailsInfo.total_shares
|
||||
}, $data.quoteDetailsInfo.total_shares ? {
|
||||
D: common_vendor.t($data.quoteDetailsInfo.total_shares)
|
||||
} : {}, {
|
||||
E: common_vendor.t($data.quoteDetailsInfo.week52_low),
|
||||
F: common_vendor.t($data.quoteDetailsInfo.week52_high)
|
||||
}) : {}, {
|
||||
G: $data.quoteDetailsInfo
|
||||
}, $data.quoteDetailsInfo ? {
|
||||
H: common_vendor.t($data.getRateUpOrDown($data.quoteDetailsInfo.net_inflow) ? "" : "+"),
|
||||
I: common_vendor.t($data.getNumStr($data.quoteDetailsInfo.net_inflow)),
|
||||
J: common_vendor.n("content flex1 marginR " + ($data.getRateUpOrDown($data.quoteDetailsInfo.net_inflow) ? "down" : "up"))
|
||||
C: common_vendor.t($data.quoteDetailsInfo.market_cap),
|
||||
D: common_vendor.t($data.quoteDetailsInfo.turnover_rate)
|
||||
} : {}, {
|
||||
K: common_assets._imports_2$11,
|
||||
L: common_vendor.t($data.getLocalDate($data.stockBasicInfo.establish_date)),
|
||||
M: common_assets._imports_3$11,
|
||||
N: common_vendor.t($data.stockBasicInfo.reg_capital),
|
||||
O: common_assets._imports_4$10,
|
||||
P: common_vendor.t($data.stockBasicInfo.province),
|
||||
Q: common_vendor.t($data.stockBasicInfo.city),
|
||||
R: common_assets._imports_5$6,
|
||||
S: common_vendor.t($data.stockBasicInfo.company_intro),
|
||||
T: !$data.isExpandIntro
|
||||
}, !$data.isExpandIntro ? {} : {}, {
|
||||
U: common_vendor.t($data.isExpandIntro ? "收起" : "展开全文"),
|
||||
V: common_vendor.n("expand " + ($data.isExpandIntro ? "" : "absolute")),
|
||||
W: common_vendor.o(($event) => $options.clickExpandOrRetractCompanyIntro()),
|
||||
X: common_vendor.n("info relative flex1 " + ($data.isExpandIntro ? "" : "retract"))
|
||||
E: $data.quoteDetailsInfo
|
||||
}, $data.quoteDetailsInfo ? common_vendor.e({
|
||||
F: $data.quoteDetailsInfo.total_shares
|
||||
}, $data.quoteDetailsInfo.total_shares ? {
|
||||
G: common_vendor.t($data.quoteDetailsInfo.total_shares)
|
||||
} : {}, {
|
||||
H: common_vendor.t($data.quoteDetailsInfo.week52_low),
|
||||
I: common_vendor.t($data.quoteDetailsInfo.week52_high)
|
||||
}) : {}, {
|
||||
Y: common_vendor.f($data.tabList, (item, index, i0) => {
|
||||
J: $data.quoteDetailsInfo
|
||||
}, $data.quoteDetailsInfo ? {
|
||||
K: common_vendor.t($data.getRateUpOrDown($data.quoteDetailsInfo.net_inflow) ? "" : "+"),
|
||||
L: common_vendor.t($data.getNumStr($data.quoteDetailsInfo.net_inflow)),
|
||||
M: common_vendor.n("content flex1 marginR " + ($data.getRateUpOrDown($data.quoteDetailsInfo.net_inflow) ? "down" : "up"))
|
||||
} : {}, {
|
||||
N: common_assets._imports_2$11,
|
||||
O: common_vendor.t($data.getLocalDate($data.stockBasicInfo.establish_date)),
|
||||
P: common_assets._imports_3$11,
|
||||
Q: common_vendor.t($data.stockBasicInfo.reg_capital),
|
||||
R: common_assets._imports_4$10,
|
||||
S: common_vendor.t($data.stockBasicInfo.province),
|
||||
T: common_vendor.t($data.stockBasicInfo.city),
|
||||
U: common_assets._imports_5$6,
|
||||
V: common_vendor.t($data.stockBasicInfo.company_intro),
|
||||
W: !$data.isExpandIntro
|
||||
}, !$data.isExpandIntro ? {} : {}, {
|
||||
X: common_vendor.t($data.isExpandIntro ? "收起" : "展开全文"),
|
||||
Y: common_vendor.n("expand " + ($data.isExpandIntro ? "" : "absolute")),
|
||||
Z: common_vendor.o(($event) => $options.clickExpandOrRetractCompanyIntro()),
|
||||
aa: common_vendor.n("info relative flex1 " + ($data.isExpandIntro ? "" : "retract"))
|
||||
}) : {}, {
|
||||
ab: common_vendor.f($data.tabList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.title),
|
||||
b: common_vendor.n("item " + ($data.selectTab == index ? "select" : "")),
|
||||
@@ -750,9 +846,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
d: common_vendor.o(($event) => $options.clickTabItem(index), index)
|
||||
};
|
||||
}),
|
||||
Z: $data.selectTab == 0
|
||||
ac: $data.selectTab == 0
|
||||
}, $data.selectTab == 0 ? common_vendor.e({
|
||||
aa: common_vendor.f($data.companyFilesList, (item, index, i0) => {
|
||||
ad: common_vendor.f($data.companyFilesList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.title),
|
||||
b: common_vendor.n("item " + ($data.selectCompanyFiles == index ? "select" : "")),
|
||||
@@ -760,36 +856,36 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
d: common_vendor.o(($event) => $options.clickCompanyFilesItem(index), index)
|
||||
};
|
||||
}),
|
||||
ab: $data.selectCompanyFiles == 0
|
||||
ae: $data.selectCompanyFiles == 0
|
||||
}, $data.selectCompanyFiles == 0 ? {
|
||||
ac: common_vendor.p({
|
||||
af: common_vendor.p({
|
||||
actualControlInfo: $data.actualControlInfo,
|
||||
concentrationList: $data.concentrationList,
|
||||
shareholdersList: $data.topShareholdersList,
|
||||
circulatingShareholdersList: $data.topCirculatingShareholdersList
|
||||
})
|
||||
} : {}, {
|
||||
ad: $data.selectCompanyFiles == 1
|
||||
ag: $data.selectCompanyFiles == 1
|
||||
}, $data.selectCompanyFiles == 1 ? {
|
||||
ae: common_vendor.p({
|
||||
ah: common_vendor.p({
|
||||
managementList: $data.managementList
|
||||
})
|
||||
} : {}, {
|
||||
af: $data.selectCompanyFiles == 2
|
||||
ai: $data.selectCompanyFiles == 2
|
||||
}, $data.selectCompanyFiles == 2 ? {
|
||||
ag: common_vendor.p({
|
||||
aj: common_vendor.p({
|
||||
branchList: $data.branchList
|
||||
})
|
||||
} : {}, {
|
||||
ah: $data.selectCompanyFiles == 3
|
||||
ak: $data.selectCompanyFiles == 3
|
||||
}, $data.selectCompanyFiles == 3 ? {
|
||||
ai: common_vendor.p({
|
||||
al: common_vendor.p({
|
||||
stockBasicInfo: $data.stockBasicInfo
|
||||
})
|
||||
} : {}) : {}, {
|
||||
aj: $data.selectTab == 1
|
||||
am: $data.selectTab == 1
|
||||
}, $data.selectTab == 1 ? common_vendor.e({
|
||||
ak: common_vendor.f($data.inDepthAnalysisList, (item, index, i0) => {
|
||||
an: common_vendor.f($data.inDepthAnalysisList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.title),
|
||||
b: common_vendor.n("item " + ($data.selectInDepthAnalysis == index ? "select" : "")),
|
||||
@@ -797,10 +893,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
d: common_vendor.o(($event) => $options.clickInDepthAnalysisItem(index), index)
|
||||
};
|
||||
}),
|
||||
al: $data.selectInDepthAnalysis == 0
|
||||
ao: $data.selectInDepthAnalysis == 0
|
||||
}, $data.selectInDepthAnalysis == 0 ? {
|
||||
am: common_vendor.o(($event) => $options.clickIndustryRank()),
|
||||
an: common_vendor.p({
|
||||
ap: common_vendor.o(($event) => $options.clickIndustryRank()),
|
||||
aq: common_vendor.p({
|
||||
qualitativeAnalysisInfo: $data.qualitativeAnalysisInfo,
|
||||
competitivePositionInfo: $data.competitivePositionInfo,
|
||||
industryRankInfo: $data.industryRankInfo,
|
||||
@@ -809,17 +905,17 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
data: $data.chartData2
|
||||
})
|
||||
} : {}, {
|
||||
ao: $data.selectInDepthAnalysis == 1
|
||||
ar: $data.selectInDepthAnalysis == 1
|
||||
}, $data.selectInDepthAnalysis == 1 ? {
|
||||
ap: common_vendor.p({
|
||||
as: common_vendor.p({
|
||||
businessStructureList: $data.businessStructureList,
|
||||
businessSegmentList: $data.businessSegmentList
|
||||
})
|
||||
} : {}, {
|
||||
aq: $data.selectInDepthAnalysis == 2
|
||||
at: $data.selectInDepthAnalysis == 2
|
||||
}, $data.selectInDepthAnalysis == 2 ? {
|
||||
ar: common_vendor.o($options.clickValueChainDetail),
|
||||
as: common_vendor.p({
|
||||
av: common_vendor.o($options.clickValueChainDetail),
|
||||
aw: common_vendor.p({
|
||||
valueChainAnalysisInfo: $data.valueChainAnalysisInfo,
|
||||
totalNodes: $data.totalNodes,
|
||||
upstreamList: $data.upstreamList,
|
||||
@@ -827,19 +923,19 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
downstreamList: $data.downstreamList
|
||||
})
|
||||
} : {}, {
|
||||
at: $data.selectInDepthAnalysis == 3
|
||||
ax: $data.selectInDepthAnalysis == 3
|
||||
}, $data.selectInDepthAnalysis == 3 ? {
|
||||
av: common_vendor.o(($event) => $options.detailShow(1)),
|
||||
aw: common_vendor.p({
|
||||
ay: common_vendor.o(($event) => $options.detailShow(1)),
|
||||
az: common_vendor.p({
|
||||
keyFactorsInfo: $data.keyFactorsInfo,
|
||||
keyFactorsList: $data.keyFactorsList,
|
||||
timelineInfo: $data.timelineInfo,
|
||||
timelineList: $data.timelineList
|
||||
})
|
||||
} : {}) : {}, {
|
||||
ax: $data.selectTab == 2
|
||||
aA: $data.selectTab == 2
|
||||
}, $data.selectTab == 2 ? common_vendor.e({
|
||||
ay: common_vendor.f($data.caiWuList, (item, index, i0) => {
|
||||
aB: common_vendor.f($data.caiWuList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.title),
|
||||
b: common_vendor.n("item " + ($data.selectCaiwu == index ? "select" : "")),
|
||||
@@ -847,9 +943,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
d: common_vendor.o(($event) => $options.clickCaiWuItem(index), index)
|
||||
};
|
||||
}),
|
||||
az: $data.selectCaiwu == 0
|
||||
aC: $data.selectCaiwu == 0
|
||||
}, $data.selectCaiwu == 0 ? {
|
||||
aA: common_vendor.p({
|
||||
aD: common_vendor.p({
|
||||
stockInfo: $data.financialStockInfo,
|
||||
barCategoryList: $data.mainBussinessBarCategoryList,
|
||||
barList: $data.mainBussinessBarList,
|
||||
@@ -857,13 +953,17 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
productClassificationList: $data.productClassificationList
|
||||
})
|
||||
} : {}, {
|
||||
aB: $data.selectCaiwu == 1
|
||||
}, $data.selectCaiwu == 1 ? {} : {}, {
|
||||
aC: $data.selectCaiwu == 2
|
||||
aE: $data.selectCaiwu == 1
|
||||
}, $data.selectCaiwu == 1 ? {
|
||||
aF: common_vendor.p({
|
||||
dataList: $data.financialMetricsList
|
||||
})
|
||||
} : {}, {
|
||||
aG: $data.selectCaiwu == 2
|
||||
}, $data.selectCaiwu == 2 ? {} : {}) : {}, {
|
||||
aD: $data.selectTab == 3
|
||||
aH: $data.selectTab == 3
|
||||
}, $data.selectTab == 3 ? {
|
||||
aE: common_vendor.f($data.dongTaiList, (item, index, i0) => {
|
||||
aI: common_vendor.f($data.dongTaiList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.title),
|
||||
b: common_vendor.n("item " + ($data.selectDongtai == index ? "select" : "")),
|
||||
@@ -871,24 +971,24 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
d: common_vendor.o(($event) => $options.clickDongTaiItem(index), index)
|
||||
};
|
||||
}),
|
||||
aF: common_vendor.p({
|
||||
aJ: common_vendor.p({
|
||||
type: $data.selectDongtai,
|
||||
newsList: $data.newsList,
|
||||
announcementList: $data.companyAnnouncementList
|
||||
})
|
||||
} : {}, {
|
||||
aG: common_vendor.s("top:" + $data.contentTop + "px;"),
|
||||
aH: common_vendor.o(($event) => _ctx.sendEventComment()),
|
||||
aI: _ctx.eventComment,
|
||||
aJ: common_vendor.o(($event) => _ctx.eventComment = $event.detail.value),
|
||||
aK: common_assets._imports_2$10,
|
||||
aL: common_assets._imports_3$10,
|
||||
aM: common_vendor.o(($event) => _ctx.clickComment()),
|
||||
aN: common_assets._imports_4$9,
|
||||
aO: common_vendor.o(($event) => _ctx.clickFollow()),
|
||||
aP: common_assets._imports_9$1,
|
||||
aQ: common_vendor.o(($event) => $options.clickCloseIndustryRankPop()),
|
||||
aR: common_vendor.f($data.industryRankList, (item, index, i0) => {
|
||||
aK: common_vendor.s("top:" + $data.contentTop + "px;"),
|
||||
aL: common_vendor.o(($event) => _ctx.sendEventComment()),
|
||||
aM: _ctx.eventComment,
|
||||
aN: common_vendor.o(($event) => _ctx.eventComment = $event.detail.value),
|
||||
aO: common_assets._imports_2$10,
|
||||
aP: common_assets._imports_3$10,
|
||||
aQ: common_vendor.o(($event) => $options.clickOptional()),
|
||||
aR: common_assets._imports_4$9,
|
||||
aS: common_vendor.o(($event) => $options.clickShare()),
|
||||
aT: common_assets._imports_9$1,
|
||||
aU: common_vendor.o(($event) => $options.clickCloseIndustryRankPop()),
|
||||
aV: common_vendor.f($data.industryRankList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.f(item.rankings, (ritem, rindex, i1) => {
|
||||
return common_vendor.e({
|
||||
@@ -985,68 +1085,68 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
c: index
|
||||
};
|
||||
}),
|
||||
aS: common_assets._imports_1$13,
|
||||
aT: common_vendor.sr("industryRankPop", "817d6950-13"),
|
||||
aU: common_vendor.p({
|
||||
aW: common_assets._imports_1$13,
|
||||
aX: common_vendor.sr("industryRankPop", "817d6950-13"),
|
||||
aY: common_vendor.p({
|
||||
type: "bottom"
|
||||
}),
|
||||
aV: common_assets._imports_9$1,
|
||||
aW: common_vendor.o(($event) => $options.clickCloseValueChainPop()),
|
||||
aX: $data.selectValueChainInfo
|
||||
aZ: common_assets._imports_9$1,
|
||||
ba: common_vendor.o(($event) => $options.clickCloseValueChainPop()),
|
||||
bb: $data.selectValueChainInfo
|
||||
}, $data.selectValueChainInfo ? common_vendor.e({
|
||||
aY: common_vendor.t($data.selectValueChainInfo.node_name),
|
||||
aZ: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1
|
||||
bc: common_vendor.t($data.selectValueChainInfo.node_name),
|
||||
bd: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1
|
||||
}, $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 ? {
|
||||
ba: common_vendor.t($data.selectValueChainInfo.node_type)
|
||||
} : {}, {
|
||||
bb: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1
|
||||
}, $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 ? {
|
||||
bc: common_vendor.t($data.selectValueChainInfo.market_share)
|
||||
} : {}, {
|
||||
bd: $data.selectValueChainInfo.node_level == 0
|
||||
}, $data.selectValueChainInfo.node_level == 0 ? {
|
||||
be: common_vendor.t($data.selectValueChainInfo.node_type)
|
||||
} : {}, {
|
||||
bf: $data.selectValueChainInfo.node_level == 0
|
||||
}, $data.selectValueChainInfo.node_level == 0 ? {
|
||||
bf: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1
|
||||
}, $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 ? {
|
||||
bg: common_vendor.t($data.selectValueChainInfo.market_share)
|
||||
} : {}, {
|
||||
bh: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2
|
||||
}, $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2 ? {
|
||||
bh: $data.selectValueChainInfo.node_level == 0
|
||||
}, $data.selectValueChainInfo.node_level == 0 ? {
|
||||
bi: common_vendor.t($data.selectValueChainInfo.node_type)
|
||||
} : {}, {
|
||||
bj: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2
|
||||
}, $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2 ? {
|
||||
bj: $data.selectValueChainInfo.node_level == 0
|
||||
}, $data.selectValueChainInfo.node_level == 0 ? {
|
||||
bk: common_vendor.t($data.selectValueChainInfo.market_share)
|
||||
} : {}, {
|
||||
bl: common_vendor.t($data.selectValueChainInfo.node_description),
|
||||
bm: common_vendor.t($data.selectValueChainInfo.importance_score),
|
||||
bn: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1
|
||||
}, $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 ? {
|
||||
bo: common_vendor.s("width:" + ($data.selectValueChainInfo.importance_score ? $data.selectValueChainInfo.importance_score : 0) + "%;")
|
||||
} : {}, {
|
||||
bp: $data.selectValueChainInfo.node_level == 0
|
||||
}, $data.selectValueChainInfo.node_level == 0 ? {
|
||||
bq: common_vendor.s("width:" + $data.selectValueChainInfo.importance_score + "%;")
|
||||
} : {}, {
|
||||
br: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2
|
||||
bl: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2
|
||||
}, $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2 ? {
|
||||
bs: common_vendor.s("width:" + $data.selectValueChainInfo.importance_score + "%;")
|
||||
bm: common_vendor.t($data.selectValueChainInfo.node_type)
|
||||
} : {}, {
|
||||
bt: common_vendor.t($data.selectValueChainInfo.dependency_degree),
|
||||
bv: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1
|
||||
}, $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 ? {
|
||||
bw: common_vendor.s("width:" + ($data.selectValueChainInfo.dependency_degree ? $data.selectValueChainInfo.dependency_degree : 0) + "%;")
|
||||
} : {}, {
|
||||
bx: $data.selectValueChainInfo.node_level == 0
|
||||
}, $data.selectValueChainInfo.node_level == 0 ? {
|
||||
by: common_vendor.s("width:" + ($data.selectValueChainInfo.dependency_degree ? $data.selectValueChainInfo.dependency_degree : 0) + "%;")
|
||||
} : {}, {
|
||||
bz: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2
|
||||
bn: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2
|
||||
}, $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2 ? {
|
||||
bo: common_vendor.t($data.selectValueChainInfo.market_share)
|
||||
} : {}, {
|
||||
bp: common_vendor.t($data.selectValueChainInfo.node_description),
|
||||
bq: common_vendor.t($data.selectValueChainInfo.importance_score),
|
||||
br: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1
|
||||
}, $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 ? {
|
||||
bs: common_vendor.s("width:" + ($data.selectValueChainInfo.importance_score ? $data.selectValueChainInfo.importance_score : 0) + "%;")
|
||||
} : {}, {
|
||||
bt: $data.selectValueChainInfo.node_level == 0
|
||||
}, $data.selectValueChainInfo.node_level == 0 ? {
|
||||
bv: common_vendor.s("width:" + $data.selectValueChainInfo.importance_score + "%;")
|
||||
} : {}, {
|
||||
bw: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2
|
||||
}, $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2 ? {
|
||||
bx: common_vendor.s("width:" + $data.selectValueChainInfo.importance_score + "%;")
|
||||
} : {}, {
|
||||
by: common_vendor.t($data.selectValueChainInfo.dependency_degree),
|
||||
bz: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1
|
||||
}, $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 ? {
|
||||
bA: common_vendor.s("width:" + ($data.selectValueChainInfo.dependency_degree ? $data.selectValueChainInfo.dependency_degree : 0) + "%;")
|
||||
} : {}, {
|
||||
bB: common_vendor.f($data.relatedCompanyList, (item, index, i0) => {
|
||||
bB: $data.selectValueChainInfo.node_level == 0
|
||||
}, $data.selectValueChainInfo.node_level == 0 ? {
|
||||
bC: common_vendor.s("width:" + ($data.selectValueChainInfo.dependency_degree ? $data.selectValueChainInfo.dependency_degree : 0) + "%;")
|
||||
} : {}, {
|
||||
bD: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2
|
||||
}, $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2 ? {
|
||||
bE: common_vendor.s("width:" + ($data.selectValueChainInfo.dependency_degree ? $data.selectValueChainInfo.dependency_degree : 0) + "%;")
|
||||
} : {}, {
|
||||
bF: common_vendor.f($data.relatedCompanyList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.stock_name),
|
||||
b: common_vendor.t(item.stock_code),
|
||||
@@ -1061,14 +1161,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
});
|
||||
})
|
||||
}) : {}, {
|
||||
bC: common_vendor.sr("valueChainPopup", "817d6950-14"),
|
||||
bD: common_vendor.p({
|
||||
bG: common_vendor.sr("valueChainPopup", "817d6950-14"),
|
||||
bH: common_vendor.p({
|
||||
type: "bottom",
|
||||
safeArea: false
|
||||
}),
|
||||
bE: common_assets._imports_9$1,
|
||||
bF: common_vendor.sr("detailInfoPopup", "817d6950-15"),
|
||||
bG: common_vendor.p({
|
||||
bI: common_assets._imports_9$1,
|
||||
bJ: common_vendor.sr("detailInfoPopup", "817d6950-15"),
|
||||
bK: common_vendor.p({
|
||||
type: "bottom",
|
||||
safeArea: false
|
||||
})
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -27,6 +27,25 @@ page {
|
||||
height: 100%;
|
||||
color: white;
|
||||
}
|
||||
.searchResultList {
|
||||
background-color: #00000080;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
padding: 0 25rpx;
|
||||
z-index: 20;
|
||||
}
|
||||
.searchResultList .list {
|
||||
background-color: white;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.searchResultList .list .item {
|
||||
padding: 0 42rpx;
|
||||
line-height: 60rpx;
|
||||
font-size: 22rpx;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
}
|
||||
.stockDetailsC {
|
||||
left: 0;
|
||||
right: 0;
|
||||
|
||||
Reference in New Issue
Block a user