1.26 个股详情业务结构,发展历程模块完善

This commit is contained in:
尚政杰
2026-01-26 17:53:08 +08:00
parent f296e005b3
commit 67a673cd4d
508 changed files with 44334 additions and 305 deletions

View File

@@ -0,0 +1,49 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {
name: "ywjg-view",
data() {
return {};
},
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 {
a: index
};
}),
b: common_vendor.t(_ctx.item.title),
c: common_vendor.f(_ctx.item.list, (child, row, i0) => {
return common_vendor.e({
a: common_vendor.t(child.title),
b: child.is_hexin
}, child.is_hexin ? {} : {}, {
c: common_vendor.t(child.yszb),
d: common_vendor.t(child.mlv),
e: common_vendor.t(child.yysr > 1e4 ? child.yysr / 1e4 + "亿" : child.yysr + "万"),
f: common_vendor.t(child.zz > 0 ? "+" + child.zz : child.zz),
g: child.zz > 0 ? "#EC3440" : "#345423",
h: row
});
}),
d: 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: item
};
})
};
}
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

View File

@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="ywjg_list"><view><block wx:for="{{a}}" wx:for-item="item" wx:key="a"></block><view style="margin:25rpx 20rpx;color:#2B2B2B;font-size:28rpx;font-weight:bold">{{b}}</view><view wx:for="{{c}}" wx:for-item="child" wx:key="h" class="ywjg_item_1"><view style="display:flex;align-items:center"><view style="font-size:28rpx;font-weight:bold;margin-right:10rpx">{{child.a}}</view><view wx:if="{{child.b}}" style="background-color:#F2C369;border-radius:5rpx;font-size:20rpx;padding:0 5rpx"> 核心业务</view></view><view style="display:flex;align-items:center;justify-content:space-between;font-weight:500"><view style="display:flex;align-items:center;color:#F2C369;font-size:20rpx"><view style="border:1rpx solid #F2C369;border-radius:5rpx;padding:0 5rpx"> 营收占比:{{child.c}}%</view><view style="border:1rpx solid #F2C369;border-radius:5rpx;padding:0 5rpx;margin-left:10rpx"> 毛利率:{{child.d}}%</view></view><view><view style="color:#999999;font-size:24rpx">营业收入</view><view style="font-weight:bold;font-size:30rpx;color:#BB8520;margin-top:10rpx">{{child.e}}元 </view></view></view><view style="display:flex"><view style="{{'color:white;display:flex;align-items:center;justify-content:center;padding:5rpx 10rpx;font-size:20rpx;border-radius:5rpx' + ';' + ('background-color:' + child.g)}}">增长: {{child.f}}% </view></view></view><view style="font-weight:500"><view wx:for="{{d}}" wx:for-item="item" wx:key="e" style="background-color:#FAFAFC;color:#2B2B2B;font-size:22rpx;margin:20rpx;border-radius:10rpx;padding:25rpx 20rpx"><view style="font-size:24rpx">{{item.a}}</view><view style="color:#BB8520;font-weight:bold;margin:10rpx 0">业务描述</view><view style="color:#71675D">{{item.b}}</view><view style="color:#BB8520;font-weight:bold;margin:10rpx 0">竞争地位</view><view style="color:#71675D">{{item.c}}</view><view style="color:#BB8520;font-weight:bold;margin:10rpx 0">未来潜力</view><view style="color:#71675D">{{item.d}}</view></view></view></view></view>

View File

@@ -0,0 +1,15 @@
.ywjg_list {
color: #2B2B2B;
}
.ywjg_list .title {
font-size: 28rpx;
font-weight: bold;
}
.ywjg_list .ywjg_item_1 {
font-weight: 500;
margin: 20rpx;
background-color: #FAFAFC;
border-radius: 10rpx;
padding: 25rpx 20rpx;
box-sizing: border-box;
}