313 lines
9.6 KiB
JavaScript
313 lines
9.6 KiB
JavaScript
"use strict";
|
|
const common_vendor = require("../../common/vendor.js");
|
|
const common_assets = require("../../common/assets.js");
|
|
const _sfc_main = {
|
|
data() {
|
|
return {
|
|
navH: common_vendor.inject("navHeight"),
|
|
keywords: "",
|
|
contentTop: "",
|
|
tabList: [
|
|
{
|
|
title: "公司档案"
|
|
},
|
|
{
|
|
title: "深度分析"
|
|
},
|
|
// {
|
|
// title:'股票行情'
|
|
// },
|
|
{
|
|
title: "财务全景"
|
|
},
|
|
// {
|
|
// title:'盈利预测'
|
|
// },
|
|
{
|
|
title: "动态跟踪"
|
|
}
|
|
],
|
|
selectTab: 0,
|
|
companyFilesList: [
|
|
{
|
|
title: "股权结构"
|
|
},
|
|
{
|
|
title: "管理团队"
|
|
},
|
|
{
|
|
title: "分支机构"
|
|
},
|
|
{
|
|
title: "工商信息"
|
|
}
|
|
],
|
|
//公司档案分类
|
|
selectCompanyFiles: 0,
|
|
inDepthAnalysisList: [
|
|
{
|
|
title: "战略分析"
|
|
},
|
|
{
|
|
title: "业务结构"
|
|
},
|
|
{
|
|
title: "产业链"
|
|
},
|
|
{
|
|
title: "发展历程"
|
|
}
|
|
],
|
|
//深度分析分类
|
|
selectInDepthAnalysis: 0,
|
|
caiWuList: [
|
|
{
|
|
title: "主营数据"
|
|
},
|
|
{
|
|
title: "财务分析"
|
|
},
|
|
{
|
|
title: "财务数据"
|
|
}
|
|
],
|
|
//深度分析分类
|
|
selectCaiwu: 0,
|
|
dongTaiList: [
|
|
{
|
|
title: "新闻动态"
|
|
},
|
|
{
|
|
title: "公司公告"
|
|
}
|
|
],
|
|
//深度分析分类
|
|
selectDongtai: 0
|
|
};
|
|
},
|
|
onLoad() {
|
|
this.contentTop = this.navH + (20 + 70 + 30) / 750 * common_vendor.inject("windowWidth");
|
|
},
|
|
methods: {
|
|
/**
|
|
* @param {Object} index
|
|
*/
|
|
clickTabItem(index) {
|
|
if (this.selectTab != index) {
|
|
this.selectTab = index;
|
|
}
|
|
},
|
|
/**
|
|
* 点击选择公司档案分类
|
|
* @param {Object} index
|
|
*/
|
|
clickCompanyFilesItem(index) {
|
|
if (this.selectCompanyFiles != index) {
|
|
this.selectCompanyFiles = index;
|
|
}
|
|
},
|
|
/**
|
|
* 点击选择动态分类
|
|
* @param {Object} index
|
|
*/
|
|
clickDongTaiItem(index) {
|
|
if (this.selectDongtai != index) {
|
|
this.selectDongtai = index;
|
|
}
|
|
},
|
|
/**
|
|
* 点击选择财务分类
|
|
* @param {Object} index
|
|
*/
|
|
clickCaiWuItem(index) {
|
|
if (this.selectCaiwu != index) {
|
|
this.selectCaiwu = index;
|
|
}
|
|
},
|
|
/**
|
|
* 点击选择深度分析分类
|
|
* @param {Object} index
|
|
*/
|
|
clickInDepthAnalysisItem(index) {
|
|
if (this.selectInDepthAnalysis != index) {
|
|
this.selectInDepthAnalysis = index;
|
|
}
|
|
},
|
|
/**
|
|
* 点击查看行业排名
|
|
*/
|
|
clickIndustryRank() {
|
|
this.$refs["industryRankPop"].open();
|
|
},
|
|
detailShow(type) {
|
|
if (type == 0) {
|
|
this.$refs["detailPopup"].open();
|
|
} else {
|
|
this.$refs["detailInfoPopup"].open();
|
|
}
|
|
}
|
|
}
|
|
};
|
|
if (!Array) {
|
|
const _easycom_navBar2 = common_vendor.resolveComponent("navBar");
|
|
const _easycom_gqjg_view2 = common_vendor.resolveComponent("gqjg-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_news_view2 = common_vendor.resolveComponent("news-view");
|
|
const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup");
|
|
(_easycom_navBar2 + _easycom_gqjg_view2 + _easycom_ywjg_view2 + _easycom_cyl_view2 + _easycom_fzlc_view2 + _easycom_zysj_view2 + _easycom_news_view2 + _easycom_uni_popup2)();
|
|
}
|
|
const _easycom_navBar = () => "../../components/navBar/navBar.js";
|
|
const _easycom_gqjg_view = () => "../../components/gqjg-view/gqjg-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_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_ywjg_view + _easycom_cyl_view + _easycom_fzlc_view + _easycom_zysj_view + _easycom_news_view + _easycom_uni_popup)();
|
|
}
|
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
return common_vendor.e({
|
|
a: common_vendor.p({
|
|
leftText: "平安银行(000001)",
|
|
hideNavBg: true
|
|
}),
|
|
b: common_assets._imports_0,
|
|
c: common_assets._imports_1,
|
|
d: common_vendor.o(($event) => _ctx.clickSearch()),
|
|
e: $data.keywords,
|
|
f: common_vendor.o(($event) => $data.keywords = $event.detail.value),
|
|
g: common_vendor.s("top:" + $data.navH + "px;"),
|
|
h: common_assets._imports_2$10,
|
|
i: common_assets._imports_3$8,
|
|
j: common_assets._imports_4$9,
|
|
k: common_assets._imports_5$3,
|
|
l: 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,
|
|
d: common_vendor.o(($event) => $options.clickTabItem(index), index)
|
|
};
|
|
}),
|
|
m: $data.selectTab == 0
|
|
}, $data.selectTab == 0 ? common_vendor.e({
|
|
n: common_vendor.f($data.companyFilesList, (item, index, i0) => {
|
|
return {
|
|
a: common_vendor.t(item.title),
|
|
b: common_vendor.n("item " + ($data.selectCompanyFiles == index ? "select" : "")),
|
|
c: index,
|
|
d: common_vendor.o(($event) => $options.clickCompanyFilesItem(index), index)
|
|
};
|
|
}),
|
|
o: $data.selectCompanyFiles == 0
|
|
}, $data.selectCompanyFiles == 0 ? {} : {}, {
|
|
p: $data.selectCompanyFiles == 1
|
|
}, $data.selectCompanyFiles == 1 ? {
|
|
q: common_assets._imports_6$1,
|
|
r: common_assets._imports_7$2
|
|
} : {}, {
|
|
s: $data.selectCompanyFiles == 2
|
|
}, $data.selectCompanyFiles == 2 ? {
|
|
t: common_assets._imports_8$2
|
|
} : {}, {
|
|
v: $data.selectCompanyFiles == 3
|
|
}, $data.selectCompanyFiles == 3 ? {} : {}) : {}, {
|
|
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: common_assets._imports_8$2,
|
|
A: common_assets._imports_9$3,
|
|
B: common_vendor.o(($event) => $options.clickIndustryRank()),
|
|
C: common_assets._imports_8$2
|
|
} : {}, {
|
|
D: $data.selectInDepthAnalysis == 1
|
|
}, $data.selectInDepthAnalysis == 1 ? {} : {}, {
|
|
E: $data.selectInDepthAnalysis == 2
|
|
}, $data.selectInDepthAnalysis == 2 ? {
|
|
F: common_vendor.o(($event) => $options.detailShow(0))
|
|
} : {}, {
|
|
G: $data.selectInDepthAnalysis == 3
|
|
}, $data.selectInDepthAnalysis == 3 ? {
|
|
H: common_vendor.o(($event) => $options.detailShow(1))
|
|
} : {}) : {}, {
|
|
I: $data.selectTab == 2
|
|
}, $data.selectTab == 2 ? {
|
|
J: common_vendor.f($data.caiWuList, (item, index, i0) => {
|
|
return {
|
|
a: common_vendor.t(item.title),
|
|
b: common_vendor.n("item " + ($data.selectCaiwu == index ? "select" : "")),
|
|
c: index,
|
|
d: common_vendor.o(($event) => $options.clickCaiWuItem(index), index)
|
|
};
|
|
}),
|
|
K: common_vendor.p({
|
|
type: $data.selectCaiwu
|
|
})
|
|
} : {}, {
|
|
L: $data.selectTab == 3
|
|
}, $data.selectTab == 3 ? {
|
|
M: common_vendor.f($data.dongTaiList, (item, index, i0) => {
|
|
return {
|
|
a: common_vendor.t(item.title),
|
|
b: common_vendor.n("item " + ($data.selectDongtai == index ? "select" : "")),
|
|
c: index,
|
|
d: common_vendor.o(($event) => $options.clickDongTaiItem(index), index)
|
|
};
|
|
}),
|
|
N: common_vendor.p({
|
|
type: $data.selectDongtai
|
|
})
|
|
} : {}, {
|
|
O: common_vendor.s("top:" + $data.contentTop + "px;"),
|
|
P: common_vendor.o(($event) => _ctx.sendEventComment()),
|
|
Q: _ctx.eventComment,
|
|
R: common_vendor.o(($event) => _ctx.eventComment = $event.detail.value),
|
|
S: common_assets._imports_2$9,
|
|
T: common_assets._imports_3$7,
|
|
U: common_vendor.o(($event) => _ctx.clickComment()),
|
|
V: common_assets._imports_4$8,
|
|
W: common_vendor.o(($event) => _ctx.clickFollow()),
|
|
X: common_assets._imports_13$1,
|
|
Y: common_assets._imports_8$2,
|
|
Z: common_vendor.sr("industryRankPop", "63a6c98e-7"),
|
|
aa: common_vendor.p({
|
|
type: "bottom"
|
|
}),
|
|
ab: common_assets._imports_13$1,
|
|
ac: common_vendor.f(3, (item, index, i0) => {
|
|
return {
|
|
a: index
|
|
};
|
|
}),
|
|
ad: common_assets._imports_14$1,
|
|
ae: common_vendor.sr("detailPopup", "63a6c98e-8"),
|
|
af: common_vendor.p({
|
|
type: "bottom",
|
|
safeArea: false
|
|
}),
|
|
ag: common_assets._imports_13$1,
|
|
ah: common_vendor.sr("detailInfoPopup", "63a6c98e-9"),
|
|
ai: common_vendor.p({
|
|
type: "bottom",
|
|
safeArea: false
|
|
})
|
|
});
|
|
}
|
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
wx.createPage(MiniProgramPage);
|
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/stockCenterDetails/stockCenterDetails.js.map
|