2.4 组件结构调整,调整会员权限判断

This commit is contained in:
尚政杰
2026-02-04 17:43:41 +08:00
parent eeca65538c
commit 995ee7f220
274 changed files with 7191 additions and 2186 deletions

View File

@@ -1,5 +1,6 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const request_http = require("../../request/http.js");
const common_assets = require("../../common/assets.js");
const _sfc_main = {
data() {
@@ -7,85 +8,85 @@ const _sfc_main = {
navH: common_vendor.inject("navHeight"),
contentTop: "",
activeIndex: 0,
bkList: [
{
title: "存储芯片",
count: 8
},
{
title: "存储芯片",
count: 8
},
{
title: "存储芯片",
count: 8
},
{
title: "存储芯片",
count: 8
},
{
title: "存储芯片",
count: 8
},
{
title: "存储芯片",
count: 8
},
{
title: "存储芯片",
count: 8
},
{
title: "存储芯片",
count: 8
},
{
title: "存储芯片",
count: 8
},
{
title: "存储芯片",
count: 8
},
{
title: "存储芯片",
count: 8
},
{
title: "存储芯片",
count: 8
},
{
title: "存储芯片",
count: 8
},
{
title: "存储芯片",
count: 8
},
{
title: "存储芯片",
count: 8
},
{
title: "存储芯片",
count: 8
}
],
bkList: [],
bkFilters: [
"按涨幅",
"按连板数",
"只看龙头"
],
filterIndex: 0
filterIndex: 0,
selectedFullDate: ""
// 年-月-日
};
},
onLoad(e) {
this.activeIndex = e.index;
this.selectedFullDate = e.data;
this.contentTop = this.navH + 20 / 750 * common_vendor.inject("windowWidth");
this.fetchData();
},
methods: {}
methods: {
getPreviousDayDate(dateStr) {
if (!/^\d{4}-\d{2}-\d{2}$/.test(dateStr)) {
common_vendor.index.__f__("error", "at pagesStock/stockCenterDetails/bkydmx.vue:104", "日期格式错误,请传入 YYYY-MM-DD 格式的日期");
return "";
}
const [year, month, day] = dateStr.split("-").map(Number);
const date = new Date(year, month - 1, day);
date.setDate(date.getDate() - 2);
const prevYear = date.getFullYear();
const prevMonth = String(date.getMonth() + 1).padStart(2, "0");
const prevDay = String(date.getDate()).padStart(2, "0");
return `${prevYear}${prevMonth}${prevDay}`;
},
/**
* 请求接口数据(优化:动态日期+自动时间戳)
*/
async fetchData() {
try {
const timestamp = (/* @__PURE__ */ new Date()).getTime();
const formattedDate = this.getPreviousDayDate(this.selectedFullDate);
const baseURL = request_http.getBaseURL1();
const requestUrl = `${baseURL}/data/zt/daily/${formattedDate}.json?t=${timestamp}`;
common_vendor.index.__f__("log", "at pagesStock/stockCenterDetails/bkydmx.vue:137", "请求URL", requestUrl);
const res = await common_vendor.index.request({
url: requestUrl,
method: "GET"
});
if (res.statusCode === 200 && res.data) {
this.originData = res.data;
const chartData = this.originData.chart_data || {};
const labels = chartData.labels || [];
const counts = chartData.counts || [];
const maxCount = counts.length > 0 ? Math.max(...counts) : 0;
let bkList = [];
const maxLen = Math.min(labels.length, counts.length);
for (let i = 0; i < maxLen; i++) {
const title = labels[i];
const count = counts[i] || 0;
bkList.push({
title,
// 板块名称
count
// 数量
});
}
this.bkList = bkList;
} else {
common_vendor.index.showToast({
title: "数据请求失败",
icon: "none"
});
}
} catch (error) {
common_vendor.index.__f__("error", "at pagesStock/stockCenterDetails/bkydmx.vue:178", "请求异常:", error);
common_vendor.index.showToast({
title: "网络异常",
icon: "none"
});
}
}
}
};
if (!Array) {
const _easycom_navBar2 = common_vendor.resolveComponent("navBar");
@@ -136,7 +137,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
a: index % 2 == 0 ? "#fff" : "#FAFAFC"
};
}),
h: common_assets._imports_1$11,
h: common_assets._imports_1$12,
i: common_vendor.s("top:" + $data.contentTop + "px;")
};
}

View File

@@ -60,7 +60,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
};
}),
f: `repeat(${$data.filterList.length}, 110rpx)`,
g: common_assets._imports_1$14,
g: common_assets._imports_4$10,
h: common_vendor.s("top:" + $data.contentTop + "px;"),
i: common_vendor.f($data.leftList, (item, index, i0) => {
return {
@@ -84,10 +84,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
l: common_vendor.o(($event) => _ctx.sendEventComment()),
m: _ctx.eventComment,
n: common_vendor.o(($event) => _ctx.eventComment = $event.detail.value),
o: common_assets._imports_2$10,
p: common_assets._imports_3$10,
o: common_assets._imports_2$12,
p: common_assets._imports_3$11,
q: common_vendor.o(($event) => _ctx.clickComment()),
r: common_assets._imports_4$9,
r: common_assets._imports_4$11,
s: common_vendor.o(($event) => _ctx.clickFollow())
};
}

View File

@@ -30,22 +30,26 @@ const _sfc_main = {
//是否展开公司简介
tabList: [
{
title: "公司档案"
title: "公司档案",
show: true
},
{
title: "深度分析"
title: "深度分析",
show: true
},
// {
// title:'股票行情'
// },
{
title: "财务全景"
title: "财务全景",
show: true
},
// {
// title:'盈利预测'
// },
{
title: "动态跟踪"
title: "动态跟踪",
show: true
}
],
selectTab: 0,
@@ -74,6 +78,8 @@ const _sfc_main = {
//十大流通股东列表
managementList: [],
//管理团队列表
isManagementEmpty: false,
//管理团队数据是否为空
branchList: [],
//分支机构列表
selectCompanyFiles: 0,
@@ -232,8 +238,10 @@ const _sfc_main = {
getLocalDate: utils_util.getLocalDate,
getRateUpOrDown: utils_util.getRateUpOrDown,
//判断涨跌
getNumStr: utils_util.getNumStr
getNumStr: utils_util.getNumStr,
//获取数字展示万或亿
isData: false
//是否请求完了数据
};
},
onLoad(e) {
@@ -273,20 +281,52 @@ const _sfc_main = {
this.searchShow = false;
this.getStockBasicInfoData();
this.getQuoteDetailsData();
if (this.selectTab == 0) {
if (this.selectCompanyFiles == 0) {
this.getActualControlData();
this.getOwnershipConcentration();
this.getTopShareholdersData();
this.getTopCirculatingShareholdersData();
} else if (this.selectCompanyFiles == 1) {
this.isData = false;
this.getManagementTeamData();
} else if (this.selectCompanyFiles == 2) {
this.isData = false;
this.getBranchListData();
}
} else if (this.selectTab == 1) {
if (this.selectInDepthAnalysis == 0) {
this.getComprehensiveAnalysisData();
this.getIndustryRankListData();
}
} else if (this.selectTab == 2) {
this.getFinancialStockInfoData();
this.getFinancialComparisonData();
this.getFinancialMetricsData();
this.getFinancialMainBussinessData();
} else if (this.selectTab == 3) {
this.getNewsListData();
}
},
/**
* 获取买入百分比
*/
getBuyPercent() {
let ratio = this.quoteDetailsInfo.net_active_buy_ratio;
return Math.round(utils_util.accAdd(50, utils_util.accDiv(ratio, 2)));
if (ratio) {
return Math.round(utils_util.accAdd(50, utils_util.accDiv(ratio, 2)));
} else
return 0;
},
/**
* 获取卖出百分比
*/
getSellPercent() {
let ratio = this.quoteDetailsInfo.net_active_buy_ratio;
return Math.round(utils_util.accSub(50, utils_util.accDiv(ratio, 2)));
if (ratio) {
return Math.round(utils_util.accSub(50, utils_util.accDiv(ratio, 2)));
} else
return 0;
},
/**
* 点击查看官网
@@ -418,6 +458,42 @@ const _sfc_main = {
clickCloseValueChainPopup() {
this.$refs["valueChainPopup"].close();
},
/**
* 新闻动态搜索
* @param {Object} keywords
*/
clickNewsSearch(keywords) {
this.newsKeywords = keywords;
this.getNewsListData();
},
/**
* 查看新闻动态详情
*/
clickNewsDetail(item) {
common_vendor.index.navigateTo({
url: "/pages/index/eventDetails/eventDetails?id=" + item.id
});
},
/**
* 查看公司公告详情
*/
clickAnnouncementDetail(item) {
common_vendor.wx$1.showLoading({
title: "下载中"
});
common_vendor.wx$1.downloadFile({
url: item.url,
success(res) {
common_vendor.wx$1.openDocument({
filePath: res.tempFilePath,
showMenu: true,
success(res2) {
common_vendor.wx$1.hideLoading();
}
});
}
});
},
/**
* 点击自选
*/
@@ -554,7 +630,14 @@ const _sfc_main = {
;
return acc;
}, list);
var count = 0;
for (let item of this.managementList) {
count += item.list.length;
}
this.isManagementEmpty = count == 0;
this.isData = true;
}).catch((error) => {
this.isData = true;
});
},
/**
@@ -567,7 +650,9 @@ const _sfc_main = {
}
request_api.branchesList(code).then((res) => {
this.branchList = res.data;
this.isData = true;
}).catch((error) => {
this.isData = true;
});
},
/**
@@ -741,7 +826,7 @@ const _sfc_main = {
if (this.selectSearchStockInfo) {
code = this.selectSearchStockInfo.stock_code;
}
let param = { limit: 8 };
let param = { limit: 16 };
request_api.financialBalanceSheet(code, param).then((res) => {
this.financialBalanceList = res.data;
}).catch((error) => {
@@ -755,7 +840,7 @@ const _sfc_main = {
if (this.selectSearchStockInfo) {
code = this.selectSearchStockInfo.stock_code;
}
let param = { limit: 8 };
let param = { limit: 16 };
request_api.cashflowSheet(code, param).then((res) => {
this.cashFlowList = res.data;
}).catch((error) => {
@@ -769,7 +854,7 @@ const _sfc_main = {
if (this.selectSearchStockInfo) {
code = this.selectSearchStockInfo.stock_code;
}
let param = { limit: 8 };
let param = { limit: 16 };
request_api.incomeStatementSheet(code, param).then((res) => {
this.incomeStatementList = res.data;
}).catch((error) => {
@@ -807,37 +892,25 @@ const _sfc_main = {
};
if (!Array) {
const _easycom_navBar2 = common_vendor.resolveComponent("navBar");
const _easycom_gqjg_view2 = common_vendor.resolveComponent("gqjg-view");
const _easycom_gltd_view2 = common_vendor.resolveComponent("gltd-view");
const _easycom_fzjg_view2 = common_vendor.resolveComponent("fzjg-view");
const _easycom_gsxx_view2 = common_vendor.resolveComponent("gsxx-view");
const _easycom_zlfx_view2 = common_vendor.resolveComponent("zlfx-view");
const _easycom_ywjg_view2 = common_vendor.resolveComponent("ywjg-view");
const _easycom_cyl_view2 = common_vendor.resolveComponent("cyl-view");
const _easycom_fzlc_view2 = common_vendor.resolveComponent("fzlc-view");
const _easycom_zysj_view2 = common_vendor.resolveComponent("zysj-view");
const _easycom_cwfx_view2 = common_vendor.resolveComponent("cwfx-view");
const _easycom_cwsj_view2 = common_vendor.resolveComponent("cwsj-view");
const _easycom_news_view2 = common_vendor.resolveComponent("news-view");
const _component_gqjg_view = common_vendor.resolveComponent("gqjg-view");
const _component_gltd_view = common_vendor.resolveComponent("gltd-view");
const _component_fzjg_view = common_vendor.resolveComponent("fzjg-view");
const _component_gsxx_view = common_vendor.resolveComponent("gsxx-view");
const _component_zlfx_view = common_vendor.resolveComponent("zlfx-view");
const _component_ywjg_view = common_vendor.resolveComponent("ywjg-view");
const _component_cyl_view = common_vendor.resolveComponent("cyl-view");
const _component_fzlc_view = common_vendor.resolveComponent("fzlc-view");
const _component_zysj_view = common_vendor.resolveComponent("zysj-view");
const _component_cwfx_view = common_vendor.resolveComponent("cwfx-view");
const _component_cwsj_view = common_vendor.resolveComponent("cwsj-view");
const _component_news_view = common_vendor.resolveComponent("news-view");
const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup");
(_easycom_navBar2 + _easycom_gqjg_view2 + _easycom_gltd_view2 + _easycom_fzjg_view2 + _easycom_gsxx_view2 + _easycom_zlfx_view2 + _easycom_ywjg_view2 + _easycom_cyl_view2 + _easycom_fzlc_view2 + _easycom_zysj_view2 + _easycom_cwfx_view2 + _easycom_cwsj_view2 + _easycom_news_view2 + _easycom_uni_popup2)();
(_easycom_navBar2 + _component_gqjg_view + _component_gltd_view + _component_fzjg_view + _component_gsxx_view + _component_zlfx_view + _component_ywjg_view + _component_cyl_view + _component_fzlc_view + _component_zysj_view + _component_cwfx_view + _component_cwsj_view + _component_news_view + _easycom_uni_popup2)();
}
const _easycom_navBar = () => "../../components/navBar/navBar.js";
const _easycom_gqjg_view = () => "../../components/gqjg-view/gqjg-view.js";
const _easycom_gltd_view = () => "../../components/gltd-view/gltd-view.js";
const _easycom_fzjg_view = () => "../../components/fzjg-view/fzjg-view.js";
const _easycom_gsxx_view = () => "../../components/gsxx-view/gsxx-view.js";
const _easycom_zlfx_view = () => "../../components/zlfx-view/zlfx-view.js";
const _easycom_ywjg_view = () => "../../components/ywjg-view/ywjg-view.js";
const _easycom_cyl_view = () => "../../components/cyl-view/cyl-view.js";
const _easycom_fzlc_view = () => "../../components/fzlc-view/fzlc-view.js";
const _easycom_zysj_view = () => "../../components/zysj-view/zysj-view.js";
const _easycom_cwfx_view = () => "../../components/cwfx-view/cwfx-view.js";
const _easycom_cwsj_view = () => "../../components/cwsj-view/cwsj-view.js";
const _easycom_news_view = () => "../../components/news-view/news-view.js";
const _easycom_uni_popup = () => "../../uni_modules/uni-popup/components/uni-popup/uni-popup.js";
if (!Math) {
(_easycom_navBar + _easycom_gqjg_view + _easycom_gltd_view + _easycom_fzjg_view + _easycom_gsxx_view + _easycom_zlfx_view + _easycom_ywjg_view + _easycom_cyl_view + _easycom_fzlc_view + _easycom_zysj_view + _easycom_cwfx_view + _easycom_cwsj_view + _easycom_news_view + _easycom_uni_popup)();
(_easycom_navBar + _easycom_uni_popup)();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
@@ -905,9 +978,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
} : {}, {
O: common_assets._imports_2$11,
P: common_vendor.t($data.getLocalDate($data.stockBasicInfo.establish_date)),
Q: common_assets._imports_3$11,
Q: common_assets._imports_3$10,
R: common_vendor.t($data.stockBasicInfo.reg_capital),
S: common_assets._imports_4$10,
S: common_assets._imports_4$9,
T: common_vendor.t($data.stockBasicInfo.province),
U: common_vendor.t($data.stockBasicInfo.city),
V: common_vendor.o(($event) => $options.clickOfficialWebsite()),
@@ -920,12 +993,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
ab: common_vendor.n("info relative flex1 " + ($data.isExpandIntro ? "" : "retract"))
}) : {}, {
ac: common_vendor.f($data.tabList, (item, index, i0) => {
return {
a: common_vendor.t(item.title),
b: common_vendor.n("item " + ($data.selectTab == index ? "select" : "")),
c: index,
return common_vendor.e({
a: item.show
}, item.show ? {
b: common_vendor.t(item.title),
c: common_vendor.n("item " + ($data.selectTab == index ? "select" : "")),
d: common_vendor.o(($event) => $options.clickTabItem(index), index)
};
} : {}, {
e: index
});
}),
ad: $data.selectTab == 0
}, $data.selectTab == 0 ? common_vendor.e({
@@ -947,26 +1023,38 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
})
} : {}, {
ah: $data.selectCompanyFiles == 1
}, $data.selectCompanyFiles == 1 ? {
}, $data.selectCompanyFiles == 1 ? common_vendor.e({
ai: common_vendor.p({
managementList: $data.managementList
})
} : {}, {
aj: $data.selectCompanyFiles == 2
}, $data.selectCompanyFiles == 2 ? {
ak: common_vendor.p({
branchList: $data.branchList
})
} : {}, {
al: $data.selectCompanyFiles == 3
}, $data.selectCompanyFiles == 3 ? {
}),
aj: $data.isData && $data.isManagementEmpty
}, $data.isData && $data.isManagementEmpty ? {
ak: common_assets._imports_5$5
} : {}) : {}, {
al: $data.selectCompanyFiles == 2
}, $data.selectCompanyFiles == 2 ? common_vendor.e({
am: common_vendor.p({
branchList: $data.branchList
}),
an: $data.isData && $data.branchList.length == 0
}, $data.isData && $data.branchList.length == 0 ? {
ao: common_assets._imports_5$5
} : {}) : {}, {
ap: $data.selectCompanyFiles == 3
}, $data.selectCompanyFiles == 3 ? common_vendor.e({
aq: $data.stockBasicInfo
}, $data.stockBasicInfo ? {
ar: common_vendor.p({
stockBasicInfo: $data.stockBasicInfo
})
} : {}) : {}, {
an: $data.selectTab == 1
} : {}, {
as: $data.isData && !$data.stockBasicInfo
}, $data.isData && !$data.stockBasicInfo ? {
at: common_assets._imports_5$5
} : {}) : {}) : {}, {
av: $data.selectTab == 1
}, $data.selectTab == 1 ? common_vendor.e({
ao: common_vendor.f($data.inDepthAnalysisList, (item, index, i0) => {
aw: common_vendor.f($data.inDepthAnalysisList, (item, index, i0) => {
return {
a: common_vendor.t(item.title),
b: common_vendor.n("item " + ($data.selectInDepthAnalysis == index ? "select" : "")),
@@ -974,10 +1062,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
d: common_vendor.o(($event) => $options.clickInDepthAnalysisItem(index), index)
};
}),
ap: $data.selectInDepthAnalysis == 0
ax: $data.selectInDepthAnalysis == 0
}, $data.selectInDepthAnalysis == 0 ? {
aq: common_vendor.o(($event) => $options.clickIndustryRank()),
ar: common_vendor.p({
ay: common_vendor.o(($event) => $options.clickIndustryRank()),
az: common_vendor.p({
qualitativeAnalysisInfo: $data.qualitativeAnalysisInfo,
competitivePositionInfo: $data.competitivePositionInfo,
industryRankInfo: $data.industryRankInfo,
@@ -986,17 +1074,17 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
data: $data.chartData2
})
} : {}, {
as: $data.selectInDepthAnalysis == 1
aA: $data.selectInDepthAnalysis == 1
}, $data.selectInDepthAnalysis == 1 ? {
at: common_vendor.p({
aB: common_vendor.p({
businessStructureList: $data.businessStructureList,
businessSegmentList: $data.businessSegmentList
})
} : {}, {
av: $data.selectInDepthAnalysis == 2
aC: $data.selectInDepthAnalysis == 2
}, $data.selectInDepthAnalysis == 2 ? {
aw: common_vendor.o($options.clickValueChainDetail),
ax: common_vendor.p({
aD: common_vendor.o($options.clickValueChainDetail),
aE: common_vendor.p({
valueChainAnalysisInfo: $data.valueChainAnalysisInfo,
totalNodes: $data.totalNodes,
upstreamList: $data.upstreamList,
@@ -1005,19 +1093,19 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
valueChainFlowsList: $data.valueChainFlowsList
})
} : {}, {
ay: $data.selectInDepthAnalysis == 3
aF: $data.selectInDepthAnalysis == 3
}, $data.selectInDepthAnalysis == 3 ? {
az: common_vendor.o($options.clickDevelopmentTimelineDetail),
aA: common_vendor.p({
aG: common_vendor.o($options.clickDevelopmentTimelineDetail),
aH: common_vendor.p({
keyFactorsInfo: $data.keyFactorsInfo,
keyFactorsList: $data.keyFactorsList,
timelineInfo: $data.timelineInfo,
timelineList: $data.timelineList
})
} : {}) : {}, {
aB: $data.selectTab == 2
aI: $data.selectTab == 2
}, $data.selectTab == 2 ? common_vendor.e({
aC: common_vendor.f($data.caiWuList, (item, index, i0) => {
aJ: common_vendor.f($data.caiWuList, (item, index, i0) => {
return {
a: common_vendor.t(item.title),
b: common_vendor.n("item " + ($data.selectCaiwu == index ? "select" : "")),
@@ -1025,9 +1113,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
d: common_vendor.o(($event) => $options.clickCaiWuItem(index), index)
};
}),
aD: $data.selectCaiwu == 0
aK: $data.selectCaiwu == 0
}, $data.selectCaiwu == 0 ? {
aE: common_vendor.p({
aL: common_vendor.p({
stockInfo: $data.financialStockInfo,
barCategoryList: $data.mainBussinessBarCategoryList,
barList: $data.mainBussinessBarList,
@@ -1036,23 +1124,23 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
financialMetricsInfo: $data.financialMetricsList[0]
})
} : {}, {
aF: $data.selectCaiwu == 1
aM: $data.selectCaiwu == 1
}, $data.selectCaiwu == 1 ? {
aG: common_vendor.p({
aN: common_vendor.p({
dataList: $data.financialMetricsList
})
} : {}, {
aH: $data.selectCaiwu == 2
aO: $data.selectCaiwu == 2
}, $data.selectCaiwu == 2 ? {
aI: common_vendor.p({
aP: common_vendor.p({
financialBalanceList: $data.financialBalanceList,
cashFlowList: $data.cashFlowList,
incomeStatementList: $data.incomeStatementList
})
} : {}) : {}, {
aJ: $data.selectTab == 3
aQ: $data.selectTab == 3
}, $data.selectTab == 3 ? {
aK: common_vendor.f($data.dongTaiList, (item, index, i0) => {
aR: common_vendor.f($data.dongTaiList, (item, index, i0) => {
return {
a: common_vendor.t(item.title),
b: common_vendor.n("item " + ($data.selectDongtai == index ? "select" : "")),
@@ -1060,24 +1148,19 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
d: common_vendor.o(($event) => $options.clickDongTaiItem(index), index)
};
}),
aL: common_vendor.p({
aS: common_vendor.o($options.clickNewsSearch),
aT: common_vendor.o($options.clickNewsDetail),
aU: common_vendor.o($options.clickAnnouncementDetail),
aV: common_vendor.p({
type: $data.selectDongtai,
newsList: $data.newsList,
announcementList: $data.companyAnnouncementList
})
} : {}, {
aM: common_vendor.s("top:" + $data.contentTop + "px;"),
aN: common_vendor.o(($event) => _ctx.sendEventComment()),
aO: _ctx.eventComment,
aP: common_vendor.o(($event) => _ctx.eventComment = $event.detail.value),
aQ: common_assets._imports_2$10,
aR: common_assets._imports_3$10,
aS: common_vendor.o(($event) => $options.clickOptional()),
aT: common_assets._imports_4$9,
aU: common_vendor.o(($event) => $options.clickShare()),
aV: common_assets._imports_8,
aW: common_vendor.o(($event) => $options.clickCloseIndustryRankPop()),
aX: common_vendor.f($data.industryRankList, (item, index, i0) => {
aW: common_vendor.s("top:" + $data.contentTop + "px;"),
aX: common_assets._imports_6$1,
aY: common_vendor.o(($event) => $options.clickCloseIndustryRankPop()),
aZ: common_vendor.f($data.industryRankList, (item, index, i0) => {
return {
a: common_vendor.f(item.rankings, (ritem, rindex, i1) => {
return common_vendor.e({
@@ -1174,68 +1257,68 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
c: index
};
}),
aY: common_assets._imports_1$13,
aZ: common_vendor.sr("industryRankPop", "817d6950-13"),
ba: common_vendor.p({
ba: common_assets._imports_1$11,
bb: common_vendor.sr("industryRankPop", "817d6950-13"),
bc: common_vendor.p({
type: "bottom"
}),
bb: common_assets._imports_8,
bc: common_vendor.o(($event) => $options.clickCloseValueChainPopup()),
bd: $data.selectValueChainInfo
bd: common_assets._imports_6$1,
be: common_vendor.o(($event) => $options.clickCloseValueChainPopup()),
bf: $data.selectValueChainInfo
}, $data.selectValueChainInfo ? common_vendor.e({
be: common_vendor.t($data.selectValueChainInfo.node_name),
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.node_type)
} : {}, {
bg: common_vendor.t($data.selectValueChainInfo.node_name),
bh: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1
}, $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 ? {
bi: common_vendor.t($data.selectValueChainInfo.market_share)
bi: common_vendor.t($data.selectValueChainInfo.node_type)
} : {}, {
bj: $data.selectValueChainInfo.node_level == 0
}, $data.selectValueChainInfo.node_level == 0 ? {
bk: common_vendor.t($data.selectValueChainInfo.node_type)
bj: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1
}, $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 ? {
bk: common_vendor.t($data.selectValueChainInfo.market_share)
} : {}, {
bl: $data.selectValueChainInfo.node_level == 0
}, $data.selectValueChainInfo.node_level == 0 ? {
bm: common_vendor.t($data.selectValueChainInfo.market_share)
bm: common_vendor.t($data.selectValueChainInfo.node_type)
} : {}, {
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.node_type)
bn: $data.selectValueChainInfo.node_level == 0
}, $data.selectValueChainInfo.node_level == 0 ? {
bo: common_vendor.t($data.selectValueChainInfo.market_share)
} : {}, {
bp: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2
}, $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2 ? {
bq: common_vendor.t($data.selectValueChainInfo.market_share)
bq: common_vendor.t($data.selectValueChainInfo.node_type)
} : {}, {
br: common_vendor.t($data.selectValueChainInfo.node_description),
bs: common_vendor.t($data.selectValueChainInfo.importance_score),
bt: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1
}, $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 ? {
bv: common_vendor.s("width:" + ($data.selectValueChainInfo.importance_score ? $data.selectValueChainInfo.importance_score : 0) + "%;")
} : {}, {
bw: $data.selectValueChainInfo.node_level == 0
}, $data.selectValueChainInfo.node_level == 0 ? {
bx: common_vendor.s("width:" + $data.selectValueChainInfo.importance_score + "%;")
} : {}, {
by: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2
br: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2
}, $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2 ? {
bs: common_vendor.t($data.selectValueChainInfo.market_share)
} : {}, {
bt: common_vendor.t($data.selectValueChainInfo.node_description),
bv: common_vendor.t($data.selectValueChainInfo.importance_score),
bw: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1
}, $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 ? {
bx: common_vendor.s("width:" + ($data.selectValueChainInfo.importance_score ? $data.selectValueChainInfo.importance_score : 0) + "%;")
} : {}, {
by: $data.selectValueChainInfo.node_level == 0
}, $data.selectValueChainInfo.node_level == 0 ? {
bz: common_vendor.s("width:" + $data.selectValueChainInfo.importance_score + "%;")
} : {}, {
bA: common_vendor.t($data.selectValueChainInfo.dependency_degree),
bB: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1
}, $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 ? {
bC: common_vendor.s("width:" + ($data.selectValueChainInfo.dependency_degree ? $data.selectValueChainInfo.dependency_degree : 0) + "%;")
bA: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2
}, $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2 ? {
bB: common_vendor.s("width:" + $data.selectValueChainInfo.importance_score + "%;")
} : {}, {
bD: $data.selectValueChainInfo.node_level == 0
}, $data.selectValueChainInfo.node_level == 0 ? {
bC: common_vendor.t($data.selectValueChainInfo.dependency_degree),
bD: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1
}, $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 ? {
bE: common_vendor.s("width:" + ($data.selectValueChainInfo.dependency_degree ? $data.selectValueChainInfo.dependency_degree : 0) + "%;")
} : {}, {
bF: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2
}, $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2 ? {
bF: $data.selectValueChainInfo.node_level == 0
}, $data.selectValueChainInfo.node_level == 0 ? {
bG: common_vendor.s("width:" + ($data.selectValueChainInfo.dependency_degree ? $data.selectValueChainInfo.dependency_degree : 0) + "%;")
} : {}, {
bH: common_vendor.f($data.relatedCompanyList, (item, index, i0) => {
bH: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2
}, $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2 ? {
bI: common_vendor.s("width:" + ($data.selectValueChainInfo.dependency_degree ? $data.selectValueChainInfo.dependency_degree : 0) + "%;")
} : {}, {
bJ: 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),
@@ -1243,34 +1326,34 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
d: common_vendor.t(item.node_info.node_description),
e: item.relationships.length > 0
}, item.relationships.length > 0 ? {
f: common_assets._imports_10$3,
f: common_assets._imports_8$4,
g: common_vendor.t(item.relationships[0].connected_node)
} : {}, {
h: index
});
})
}) : {}, {
bI: common_vendor.sr("valueChainPopup", "817d6950-14"),
bJ: common_vendor.p({
bK: common_vendor.sr("valueChainPopup", "817d6950-14"),
bL: common_vendor.p({
type: "bottom",
safeArea: false
}),
bK: common_assets._imports_8,
bL: common_vendor.o(($event) => $options.clickCloseDevelopmentTimelinePopup()),
bM: $data.selectDevelopmentTimelineInfo
bM: common_assets._imports_6$1,
bN: common_vendor.o(($event) => $options.clickCloseDevelopmentTimelinePopup()),
bO: $data.selectDevelopmentTimelineInfo
}, $data.selectDevelopmentTimelineInfo ? {
bN: common_vendor.t($data.selectDevelopmentTimelineInfo.event_title),
bO: common_vendor.t($data.selectDevelopmentTimelineInfo.event_type),
bP: common_vendor.n("eventType " + ($data.selectDevelopmentTimelineInfo.impact_metrics.is_positive == 1 ? "positive" : "negative")),
bQ: common_vendor.t($data.selectDevelopmentTimelineInfo.event_date),
bR: common_vendor.t($data.selectDevelopmentTimelineInfo.event_desc),
bS: common_vendor.t($data.selectDevelopmentTimelineInfo.related_info.financial_impact),
bT: common_vendor.n("progress " + ($data.selectDevelopmentTimelineInfo.impact_metrics.is_positive == 1 ? "positive" : "negative")),
bU: common_vendor.s("width: " + $data.selectDevelopmentTimelineInfo.impact_metrics.impact_score + "%;"),
bV: common_vendor.t($data.selectDevelopmentTimelineInfo.impact_metrics.impact_score)
bP: common_vendor.t($data.selectDevelopmentTimelineInfo.event_title),
bQ: common_vendor.t($data.selectDevelopmentTimelineInfo.event_type),
bR: common_vendor.n("eventType " + ($data.selectDevelopmentTimelineInfo.impact_metrics.is_positive == 1 ? "positive" : "negative")),
bS: common_vendor.t($data.selectDevelopmentTimelineInfo.event_date),
bT: common_vendor.t($data.selectDevelopmentTimelineInfo.event_desc),
bU: common_vendor.t($data.selectDevelopmentTimelineInfo.related_info.financial_impact),
bV: common_vendor.n("progress " + ($data.selectDevelopmentTimelineInfo.impact_metrics.is_positive == 1 ? "positive" : "negative")),
bW: common_vendor.s("width: " + $data.selectDevelopmentTimelineInfo.impact_metrics.impact_score + "%;"),
bX: common_vendor.t($data.selectDevelopmentTimelineInfo.impact_metrics.impact_score)
} : {}, {
bW: common_vendor.sr("developmentTimelinePopup", "817d6950-15"),
bX: common_vendor.p({
bY: common_vendor.sr("developmentTimelinePopup", "817d6950-15"),
bZ: common_vendor.p({
type: "bottom",
safeArea: false
})

View File

@@ -1,19 +1,19 @@
{
"navigationBarTitleText": "",
"usingComponents": {
"cwfx-view": "../components/cwfx-view/cwfx-view",
"cwsj-view": "../components/cwsj-view/cwsj-view",
"cyl-view": "../components/cyl-view/cyl-view",
"fzjg-view": "../components/fzjg-view/fzjg-view",
"fzlc-view": "../components/fzlc-view/fzlc-view",
"gltd-view": "../components/gltd-view/gltd-view",
"gqjg-view": "../components/gqjg-view/gqjg-view",
"gsxx-view": "../components/gsxx-view/gsxx-view",
"news-view": "../components/news-view/news-view",
"ywjg-view": "../components/ywjg-view/ywjg-view",
"zlfx-view": "../components/zlfx-view/zlfx-view",
"zysj-view": "../components/zysj-view/zysj-view",
"nav-bar": "../../components/navBar/navBar",
"gqjg-view": "../../components/gqjg-view/gqjg-view",
"gltd-view": "../../components/gltd-view/gltd-view",
"fzjg-view": "../../components/fzjg-view/fzjg-view",
"gsxx-view": "../../components/gsxx-view/gsxx-view",
"zlfx-view": "../../components/zlfx-view/zlfx-view",
"ywjg-view": "../../components/ywjg-view/ywjg-view",
"cyl-view": "../../components/cyl-view/cyl-view",
"fzlc-view": "../../components/fzlc-view/fzlc-view",
"zysj-view": "../../components/zysj-view/zysj-view",
"cwfx-view": "../../components/cwfx-view/cwfx-view",
"cwsj-view": "../../components/cwsj-view/cwsj-view",
"news-view": "../../components/news-view/news-view",
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
}
}

File diff suppressed because one or more lines are too long

View File

@@ -49,7 +49,7 @@ page {
.stockDetailsC {
left: 0;
right: 0;
bottom: calc(20rpx + 70rpx + 20rpx + env(safe-area-inset-bottom));
bottom: 0;
}
.stockDetailsC .basicInfoC {
background-color: white;
@@ -257,6 +257,17 @@ page {
padding: 25rpx 20rpx;
box-sizing: border-box;
}
.stockDetailsC .otherInfoC .noDataC {
padding: 50rpx 0;
}
.stockDetailsC .otherInfoC .noDataC .icon {
width: 500rpx;
height: auto;
}
.stockDetailsC .otherInfoC .noDataC .title {
font-size: 28rpx;
color: #666;
}
.bottomC {
background-color: black;
padding: 20rpx 25rpx calc(20rpx + env(safe-area-inset-bottom));

View File

@@ -125,8 +125,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
hideNavBg: true
}),
b: common_assets._imports_0,
c: common_assets._imports_1$10,
d: common_assets._imports_2$8,
c: common_assets._imports_1$9,
d: common_assets._imports_2$9,
e: common_vendor.f($data.tabTypes, (item, index, i0) => {
return common_vendor.e({
a: common_vendor.t(item.data),
@@ -161,9 +161,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
a: index
};
}),
k: common_assets._imports_1$11,
l: common_assets._imports_5$4,
m: common_assets._imports_5$4,
k: common_assets._imports_1$12,
l: common_assets._imports_5$6,
m: common_assets._imports_5$6,
n: common_vendor.s("top:" + $data.contentTop + "px;")
};
}