"use strict"; const utils_util = require("../../utils/util.js"); const common_vendor = require("../../common/vendor.js"); const _sfc_main = { name: "ywjg-view", data() { return { getRateUpOrDown: utils_util.getRateUpOrDown }; }, props: { businessStructureList: Array, //业务结构分析 businessSegmentList: Array //业务板块详情 } }; function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return { a: common_vendor.f($props.businessStructureList, (item, index, i0) => { return common_vendor.e({ a: common_vendor.t(item.business_name), b: item.is_hexin }, item.is_hexin ? {} : {}, { c: common_vendor.t(item.financial_metrics.revenue_ratio), d: item.financial_metrics.gross_margin }, item.financial_metrics.gross_margin ? { e: common_vendor.t(item.financial_metrics.gross_margin) } : {}, { f: common_vendor.t(item.revenue), g: common_vendor.t(item.revenue_unit), h: item.growth_metrics.revenue_growth }, item.growth_metrics.revenue_growth ? { i: common_vendor.t(item.growth_metrics.revenue_growth), j: common_vendor.n("growthRate " + ($data.getRateUpOrDown(item.growth_metrics.revenue_growth) ? "down" : "up")) } : {}, { k: index }); }), b: common_vendor.f($props.businessSegmentList, (item, index, i0) => { return { a: common_vendor.t(item.segment_name), b: common_vendor.t(item.segment_description), c: common_vendor.t(item.competitive_position), d: common_vendor.t(item.future_potential), e: index }; }) }; } const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]); wx.createComponent(Component); //# sourceMappingURL=../../../.sourcemap/mp-weixin/components/ywjg-view/ywjg-view.js.map