1.28 更换echarts文件
This commit is contained in:
53
unpackage/dist/dev/mp-weixin/components/ywjg-view/ywjg-view.js
vendored
Normal file
53
unpackage/dist/dev/mp-weixin/components/ywjg-view/ywjg-view.js
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
"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
|
||||
Reference in New Issue
Block a user