122 lines
3.4 KiB
JavaScript
122 lines
3.4 KiB
JavaScript
"use strict";
|
|
const common_vendor = require("../../common/vendor.js");
|
|
const common_assets = require("../../common/assets.js");
|
|
const _sfc_main = {
|
|
name: "cwfx-view",
|
|
data() {
|
|
return {
|
|
option1: {
|
|
legend: {
|
|
show: true,
|
|
data: ["ROE", "同比(右)"]
|
|
},
|
|
grid: {
|
|
left: "2%",
|
|
right: "2%",
|
|
top: "5%",
|
|
bottom: "30%"
|
|
},
|
|
xAxis: {
|
|
type: "category",
|
|
data: [],
|
|
axisLabel: {
|
|
// interval:0
|
|
}
|
|
},
|
|
yAxis: [
|
|
{
|
|
type: "value",
|
|
name: "(%)",
|
|
position: "left",
|
|
alignTicks: true,
|
|
axisLine: {
|
|
onZero: false
|
|
}
|
|
},
|
|
{
|
|
type: "value",
|
|
name: "(%)",
|
|
position: "right",
|
|
alignTicks: true,
|
|
axisLine: {
|
|
onZero: false
|
|
}
|
|
}
|
|
],
|
|
dataZoom: [{
|
|
type: "slider"
|
|
}],
|
|
series: [
|
|
{
|
|
type: "bar",
|
|
name: "营业收入",
|
|
data: [],
|
|
yAxisIndex: 0
|
|
},
|
|
{
|
|
type: "line",
|
|
name: "净利润",
|
|
data: [],
|
|
yAxisIndex: 1
|
|
}
|
|
]
|
|
}
|
|
};
|
|
},
|
|
props: {
|
|
barCategoryList1: Array,
|
|
barList1: Array,
|
|
lineList: Array,
|
|
//折线图数据
|
|
barCategoryList1: Array,
|
|
barList1: Array
|
|
},
|
|
methods: {
|
|
clickProfitabilityIndicators(item) {
|
|
}
|
|
}
|
|
};
|
|
if (!Array) {
|
|
const _easycom_l_echart2 = common_vendor.resolveComponent("l-echart");
|
|
_easycom_l_echart2();
|
|
}
|
|
const _easycom_l_echart = () => "../../uni_modules/lime-echart/components/l-echart/l-echart.js";
|
|
if (!Math) {
|
|
_easycom_l_echart();
|
|
}
|
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
return {
|
|
a: common_assets._imports_0$8,
|
|
b: common_assets._imports_1$2,
|
|
c: common_vendor.f(["净资产收益率(ROE)%", "净资产收益率(扣非)%", "净资产收益率(加权)%", "总资产报酬率(ROA)%", "毛利率%", "净利率%", "营业利润率%", "成本费用利润率%"], (item, index, i0) => {
|
|
return {
|
|
a: common_vendor.t(item),
|
|
b: index == 0 ? "#BB8520" : "#999999",
|
|
c: `1rpx solid ${index == 0 ? "#F2C369" : "#D2D2D2"}`,
|
|
d: index == 0 ? "#FFFAF1" : "#FFFFFF",
|
|
e: index
|
|
};
|
|
}),
|
|
d: common_assets._imports_2$14,
|
|
e: common_assets._imports_3$13,
|
|
f: common_vendor.sr("chartRef1", "3746da36-0"),
|
|
g: common_assets._imports_4$12,
|
|
h: common_assets._imports_1$2,
|
|
i: common_vendor.f(["每股收益(EPS)", "基本每股收益", "稀释每股收益", "扣非每股收益", "每股净资产", "每股经营现金流", "每股资本公积", "每股未分配利润"], (item, index, i0) => {
|
|
return {
|
|
a: common_vendor.t(item),
|
|
b: index == 0 ? "#BB8520" : "#999999",
|
|
c: `1rpx solid ${index == 0 ? "#F2C369" : "#D2D2D2"}`,
|
|
d: index == 0 ? "#FFFAF1" : "#FFFFFF",
|
|
e: index
|
|
};
|
|
}),
|
|
j: common_assets._imports_2$14,
|
|
k: common_assets._imports_3$13,
|
|
l: common_vendor.sr("chartRef2", "3746da36-1")
|
|
};
|
|
}
|
|
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
wx.createComponent(Component);
|
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/cwfx-view/cwfx-view.js.map
|