Files
frontend-app/unpackage/dist/dev/mp-weixin/pages/finance/finance.js
T
2025-08-06 20:25:41 +08:00

124 lines
3.2 KiB
JavaScript

"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {
data() {
return {
type: 1,
equityStructureData: [
{
color: "#FC5E05",
title: "市场股东",
zb: "61%"
},
{
color: "#FCC139",
title: "原始股东",
zb: "22%"
},
{
color: "#BC52FD",
title: "团队激励",
zb: "10%"
},
{
color: "#0474E0",
title: "机构投资",
zb: "7%"
}
],
// 股权架构
revenueData: [
{
color: "#FC5E05",
title: "股东分红",
zb: "2514.71"
},
{
color: "#FCC139",
title: "运营支撑",
zb: "1508.83"
},
{
color: "#BC52FD",
title: "市场品牌推广",
zb: "502.94"
},
{
color: "#0474E0",
title: "基金投资",
zb: "502.94"
}
]
// 营收数据
};
},
methods: {
jumpMine() {
common_vendor.index.switchTab({ url: "/pages/mine/mine" });
}
}
};
if (!Array) {
const _easycom_up_image2 = common_vendor.resolveComponent("up-image");
_easycom_up_image2();
}
const _easycom_up_image = () => "../../uni_modules/uview-plus/components/u-image/u-image.js";
if (!Math) {
_easycom_up_image();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
a: common_vendor.o($options.jumpMine),
b: common_vendor.p({
src: "/static/common/left.png",
width: "20",
height: "20",
bgColor: "#f1f6ff00"
}),
c: common_vendor.n($data.type === 1 ? "finance_header_item_warp finance_header_item_sel_warp" : "finance_header_item_warp"),
d: common_vendor.o(($event) => $data.type = 1),
e: common_vendor.n($data.type === 2 ? "finance_header_item_warp finance_header_item_sel_warp" : "finance_header_item_warp"),
f: common_vendor.o(($event) => $data.type = 2),
g: $data.type === 1
}, $data.type === 1 ? {
h: common_vendor.o($options.jumpMine),
i: common_vendor.p({
src: "/static/finance/gqjg.png",
width: "310",
height: "310",
bgColor: "#f1f6ff00"
}),
j: common_vendor.f($data.equityStructureData, (item, index, i0) => {
return {
a: item.color,
b: common_vendor.t(item.title),
c: common_vendor.t(item.zb),
d: item.color,
e: index
};
})
} : {}, {
k: $data.type === 2
}, $data.type === 2 ? {
l: common_vendor.o($options.jumpMine),
m: common_vendor.p({
src: "/static/finance/yssj.png",
width: "332",
height: "280",
bgColor: "#f1f6ff00"
}),
n: common_vendor.f($data.revenueData, (item, index, i0) => {
return {
a: item.color,
b: common_vendor.t(item.title),
c: common_vendor.t(item.zb),
d: item.color,
e: index
};
})
} : {});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-4b81bd5b"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/finance/finance.js.map