1.9 个股中心模块搭建

This commit is contained in:
尚政杰
2026-01-09 17:43:20 +08:00
parent f6086bcf7d
commit 27dc03940b
19 changed files with 768 additions and 53 deletions

View File

@@ -39,7 +39,24 @@ const _sfc_main = {
title: "工商信息"
}
],
selectCompanyFiles: 0
//公司档案分类
selectCompanyFiles: 0,
inDepthAnalysisList: [
{
title: "战略分析"
},
{
title: "业务结构"
},
{
title: "产业链"
},
{
title: "发展历程"
}
],
//深度分析分类
selectInDepthAnalysis: 0
};
},
onLoad() {
@@ -62,16 +79,26 @@ const _sfc_main = {
if (this.selectCompanyFiles != index) {
this.selectCompanyFiles = index;
}
},
/**
* @param {Object} index
*/
clickInDepthAnalysisItem(index) {
if (this.selectInDepthAnalysis != index) {
this.selectInDepthAnalysis = index;
}
}
}
};
if (!Array) {
const _easycom_navBar2 = common_vendor.resolveComponent("navBar");
_easycom_navBar2();
const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup");
(_easycom_navBar2 + _easycom_uni_popup2)();
}
const _easycom_navBar = () => "../../components/navBar/navBar.js";
const _easycom_uni_popup = () => "../../uni_modules/uni-popup/components/uni-popup/uni-popup.js";
if (!Math) {
_easycom_navBar();
(_easycom_navBar + _easycom_uni_popup)();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
@@ -107,19 +134,46 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
d: common_vendor.o(($event) => $options.clickCompanyFilesItem(index), index)
};
}),
o: $data.selectCompanyFiles == 2
}, $data.selectCompanyFiles == 2 ? {} : {}, {
p: $data.selectCompanyFiles == 3
o: $data.selectCompanyFiles == 0
}, $data.selectCompanyFiles == 0 ? {} : {}, {
p: $data.selectCompanyFiles == 1
}, $data.selectCompanyFiles == 1 ? {
q: common_assets._imports_6$2,
r: common_assets._imports_7$2
} : {}, {
s: $data.selectCompanyFiles == 2
}, $data.selectCompanyFiles == 2 ? {
t: common_assets._imports_8$5
} : {}, {
v: $data.selectCompanyFiles == 3
}, $data.selectCompanyFiles == 3 ? {} : {}) : {}, {
q: common_vendor.s("top:" + $data.contentTop + "px;"),
r: common_vendor.o(($event) => _ctx.sendEventComment()),
s: _ctx.eventComment,
t: common_vendor.o(($event) => _ctx.eventComment = $event.detail.value),
v: common_assets._imports_6$2,
w: common_assets._imports_7$2,
x: common_vendor.o(($event) => _ctx.clickComment()),
y: common_assets._imports_8$5,
z: common_vendor.o(($event) => _ctx.clickFollow())
w: $data.selectTab == 1
}, $data.selectTab == 1 ? common_vendor.e({
x: common_vendor.f($data.inDepthAnalysisList, (item, index, i0) => {
return {
a: common_vendor.t(item.title),
b: common_vendor.n("item " + ($data.selectInDepthAnalysis == index ? "select" : "")),
c: index,
d: common_vendor.o(($event) => $options.clickInDepthAnalysisItem(index), index)
};
}),
y: $data.selectInDepthAnalysis == 0
}, $data.selectInDepthAnalysis == 0 ? {} : {}, {
z: $data.selectInDepthAnalysis == 1
}, $data.selectInDepthAnalysis == 1 ? {} : {}) : {}, {
A: common_vendor.s("top:" + $data.contentTop + "px;"),
B: common_vendor.o(($event) => _ctx.sendEventComment()),
C: _ctx.eventComment,
D: common_vendor.o(($event) => _ctx.eventComment = $event.detail.value),
E: common_assets._imports_9$3,
F: common_assets._imports_10$4,
G: common_vendor.o(($event) => _ctx.clickComment()),
H: common_assets._imports_11$4,
I: common_vendor.o(($event) => _ctx.clickFollow()),
J: common_vendor.sr("industryRank", "817d6950-1"),
K: common_vendor.p({
type: "bottom"
})
});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);