1.28 更换echarts文件
This commit is contained in:
104
unpackage/dist/dev/mp-weixin/components/fzlc-view/fzlc-view.js
vendored
Normal file
104
unpackage/dist/dev/mp-weixin/components/fzlc-view/fzlc-view.js
vendored
Normal file
@@ -0,0 +1,104 @@
|
||||
"use strict";
|
||||
const utils_util = require("../../utils/util.js");
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
name: "fzlc-view",
|
||||
data() {
|
||||
return {
|
||||
getRateUpOrDown: utils_util.getRateUpOrDown
|
||||
};
|
||||
},
|
||||
props: {
|
||||
keyFactorsInfo: null,
|
||||
keyFactorsList: Array,
|
||||
//关键因素数组
|
||||
timelineInfo: null,
|
||||
timelineList: Array
|
||||
//发展时间线数组
|
||||
},
|
||||
methods: {
|
||||
clickAction() {
|
||||
this.$emit("detail");
|
||||
}
|
||||
}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: $props.keyFactorsInfo
|
||||
}, $props.keyFactorsInfo ? {
|
||||
b: common_vendor.t($props.keyFactorsInfo.total_factors)
|
||||
} : {}, {
|
||||
c: common_vendor.f($props.keyFactorsList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.category_name),
|
||||
b: common_vendor.t(item.factors.length),
|
||||
c: item.show
|
||||
}, item.show ? {
|
||||
d: common_assets._imports_0$7
|
||||
} : {
|
||||
e: common_assets._imports_1$18
|
||||
}, {
|
||||
f: item.show
|
||||
}, item.show ? {
|
||||
g: common_vendor.f(item.factors, (fitem, findex, i1) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(fitem.factor_name),
|
||||
b: fitem.impact_direction == "negative"
|
||||
}, fitem.impact_direction == "negative" ? {} : {}, {
|
||||
c: fitem.impact_direction == "neutral"
|
||||
}, fitem.impact_direction == "neutral" ? {} : {}, {
|
||||
d: fitem.impact_direction == "positive"
|
||||
}, fitem.impact_direction == "positive" ? {} : {}, {
|
||||
e: common_vendor.t(fitem.factor_value),
|
||||
f: common_vendor.t(fitem.factor_unit),
|
||||
g: common_vendor.n("value " + fitem.impact_direction),
|
||||
h: $data.getRateUpOrDown(fitem.year_on_year)
|
||||
}, $data.getRateUpOrDown(fitem.year_on_year) ? {
|
||||
i: common_assets._imports_2$12
|
||||
} : {
|
||||
j: common_assets._imports_3$12
|
||||
}, {
|
||||
k: common_vendor.t(fitem.year_on_year ? fitem.year_on_year : 0),
|
||||
l: common_vendor.n("chgC flex " + ($data.getRateUpOrDown(fitem.year_on_year) ? "down" : "up")),
|
||||
m: common_vendor.t(fitem.factor_desc),
|
||||
n: common_vendor.t(fitem.impact_weight),
|
||||
o: findex
|
||||
});
|
||||
})
|
||||
} : {}, {
|
||||
h: index,
|
||||
i: common_vendor.o(($event) => item.show = !item.show, index)
|
||||
});
|
||||
}),
|
||||
d: $props.timelineInfo
|
||||
}, $props.timelineInfo ? {
|
||||
e: common_vendor.t($props.timelineInfo.positive_events),
|
||||
f: common_vendor.t($props.timelineInfo.negative_events)
|
||||
} : {}, {
|
||||
g: common_vendor.f($props.timelineList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: item.impact_metrics.is_positive == 1
|
||||
}, item.impact_metrics.is_positive == 1 ? {
|
||||
b: common_assets._imports_4$11
|
||||
} : {
|
||||
c: common_assets._imports_5$7
|
||||
}, {
|
||||
d: common_vendor.n("line flex1 " + (item.impact_metrics.is_positive == 1 ? "up" : "down")),
|
||||
e: common_vendor.t(item.event_title),
|
||||
f: common_vendor.t(item.event_type),
|
||||
g: common_vendor.n("eventType " + (item.impact_metrics.is_positive == 1 ? "up" : "down")),
|
||||
h: common_vendor.t(item.event_date),
|
||||
i: common_vendor.t(item.event_desc),
|
||||
j: common_vendor.n("progress " + (item.impact_metrics.is_positive == 1 ? "up" : "down")),
|
||||
k: `${item.impact_metrics.impact_score}%`,
|
||||
l: common_vendor.t(item.impact_metrics.impact_score),
|
||||
m: index,
|
||||
n: common_vendor.o((...args) => $options.clickAction && $options.clickAction(...args), index)
|
||||
});
|
||||
})
|
||||
});
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/fzlc-view/fzlc-view.js.map
|
||||
Reference in New Issue
Block a user