"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 }; }, 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 */ clickInDepthAnalysisItem(index) { if (this.selectInDepthAnalysis != index) { this.selectInDepthAnalysis = index; } }, /** * 点击查看行业排名 */ clickIndustryRank() { this.$refs["industryRankPop"].open(); } } }; if (!Array) { const _easycom_navBar2 = common_vendor.resolveComponent("navBar"); 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_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$9, i: common_assets._imports_3$9, j: common_assets._imports_4$9, k: common_assets._imports_5$6, 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$2, r: common_assets._imports_7$3 } : {}, { s: $data.selectCompanyFiles == 2 }, $data.selectCompanyFiles == 2 ? { t: common_assets._imports_8$5 } : {}, { 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$5, A: common_assets._imports_9$3, B: common_vendor.o(($event) => $options.clickIndustryRank()), C: common_assets._imports_8$5 } : {}, { D: $data.selectInDepthAnalysis == 1 }, $data.selectInDepthAnalysis == 1 ? {} : {}) : {}, { E: common_vendor.s("top:" + $data.contentTop + "px;"), F: common_vendor.o(($event) => _ctx.sendEventComment()), G: _ctx.eventComment, H: common_vendor.o(($event) => _ctx.eventComment = $event.detail.value), I: common_assets._imports_10$4, J: common_assets._imports_11$3, K: common_vendor.o(($event) => _ctx.clickComment()), L: common_assets._imports_12$4, M: common_vendor.o(($event) => _ctx.clickFollow()), N: common_assets._imports_13$2, O: common_assets._imports_8$5, P: common_vendor.sr("industryRankPop", "817d6950-1"), Q: common_vendor.p({ type: "bottom" }) }); } const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]); wx.createPage(MiniProgramPage); //# sourceMappingURL=../../../.sourcemap/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.js.map