lactic-v2-ch0-category.js 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. // ==============================================================================
  2. // 乳酸菌 v2 · Ch0 品类全景 · 肠道用药大盘(Step 1)
  3. // ==============================================================================
  4. // 0.1 微生态制剂 × 肠炎止泻 × 润肠通便 · 三大品类扫描
  5. // 0.2 各品类人群需求标签 × 解决问题矩阵
  6. // 0.3 TAM→SAM→SOM · 市场漏斗与乳酸菌素片区间
  7. // ==============================================================================
  8. const LA = require('./lactic-analyze.js');
  9. const C = require('./lactic-components.js');
  10. const { BRAND, esc, renderSectionHead, renderVocGrid, renderStatStrip,
  11. renderBarChart, renderCompareTable, renderInsightHero,
  12. renderFindingCard, renderDecisionList } = C;
  13. // ============================================================
  14. // 0.1 三大品类扫描
  15. // ============================================================
  16. function renderSub1({ chapter: c, subIdx, sub, slideNum, slideTotal, data, meta }) {
  17. const items = data?.items || [];
  18. // 按品类关键词分组统计
  19. const categories = [
  20. { name: '微生态制剂(益生菌+乳酸菌素片)', color: BRAND.LACTIC_MINT,
  21. keywords: ['益生菌', '乳酸菌素片', '妈咪爱', '合生元', '万益蓝', '金双岐', '亿活', '宝乐安', '拜奥', 'lifespace', 'inne', '小胖瓶', '康萃乐'],
  22. examples: '妈咪爱、合生元、万益蓝、金双岐、亿活、宝乐安、拜奥、lifespace',
  23. desc: '活菌/灭活菌制剂,通过补充或调节肠道菌群恢复微生态平衡',
  24. regulation: '药品(妈咪爱/亿活)、保健品(合生元)、食品(万益蓝)三种身份并存' },
  25. { name: '肠炎止泻药', color: BRAND.CORAL,
  26. keywords: ['腹泻', '拉肚子', '蒙脱石', '肠炎宁'],
  27. examples: '蒙脱石散、肠炎宁、诺氟沙星',
  28. desc: '针对急性/慢性腹泻的对症治疗,止泻为主要功效',
  29. regulation: '以处方药和 OTC 为主,家长自行购买意愿低' },
  30. { name: '润肠通便药', color: BRAND.WARM_ORANGE,
  31. keywords: ['便秘', '通便', '开塞露', '乳果糖'],
  32. examples: '开塞露、乳果糖、常润茶、纤维素',
  33. desc: '针对便秘的对症治疗,通便/软化大便为主要功效',
  34. regulation: 'OTC + 食品级双轨,儿童场景以开塞露/乳果糖为主' },
  35. ];
  36. const catStats = categories.map(cat => {
  37. const count = items.filter(it => {
  38. const c = `${it.content || ''} ${it.keyword || ''} ${it.product || ''}`.toLowerCase();
  39. return cat.keywords.some(k => c.includes(k.toLowerCase()));
  40. }).length;
  41. return { ...cat, count };
  42. });
  43. return `<section class="report-section" id="${c.key}-${subIdx}" data-tone="${c.tone}" data-slide-num="${slideNum}/${slideTotal}">
  44. <div class="section-inner">
  45. ${renderSectionHead({
  46. eyebrow: `${c.num}.${subIdx} · CATEGORY SCAN`,
  47. title: sub,
  48. subtitle: '王总要求:"从整个肠道品类入手,不是从乳酸菌素片入手"——先看大盘,再聚焦。',
  49. color: c.color,
  50. })}
  51. ${renderInsightHero({
  52. eyebrow: 'STEP 1 · 品类入口',
  53. title: '肠道用药三大品类:<strong>微生态制剂</strong>(调理)、<strong>肠炎止泻</strong>(治疗)、<strong>润肠通便</strong>(对症)',
  54. subtitle: '乳酸菌素片属于微生态制剂品类,但用户的肠道需求横跨三个品类——理解全景才能找到定位空间。',
  55. color: c.color,
  56. })}
  57. <div style="display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; margin-top:24px;">
  58. ${catStats.map(cat => `
  59. <div style="padding:22px; background:${cat.color}08; border:1px solid ${cat.color}33; border-radius:var(--radius-md); border-top:3px solid ${cat.color};">
  60. <div class="text-mono text-xs" style="color:${cat.color}; letter-spacing:0.12em; font-weight:700; margin-bottom:10px;">${esc(cat.name)}</div>
  61. <div style="font-family:var(--font-head); font-size:2.2rem; font-weight:800; color:${cat.color}; margin-bottom:6px;">${cat.count}</div>
  62. <div style="color:var(--text-3); font-size:0.72rem; margin-bottom:12px;">条相关 VOC</div>
  63. <div style="color:var(--text-1); font-size:0.86rem; line-height:1.6; margin-bottom:10px;">${esc(cat.desc)}</div>
  64. <div style="color:var(--text-2); font-size:0.78rem; line-height:1.5; padding-top:10px; border-top:1px dashed ${cat.color}33;">
  65. <strong>代表产品</strong>:${esc(cat.examples)}<br/>
  66. <strong>监管身份</strong>:${esc(cat.regulation)}
  67. </div>
  68. </div>`).join('')}
  69. </div>
  70. ${renderFindingCard({
  71. icon: '💡',
  72. title: '关键发现:三品类边界模糊,用户按症状而非品类选择',
  73. body: '家长搜索"宝宝拉肚子"时,会同时看到蒙脱石散(止泻药)、妈咪爱(微生态)、合生元(食品级益生菌)——<strong>品类边界在用户端不存在</strong>。乳酸菌素片的机会在于覆盖"调理"这个中间地带:不是急性治疗,不是单纯通便,而是<strong>日常肠道养护</strong>。',
  74. accent: c.color,
  75. })}
  76. </div>
  77. </section>`;
  78. }
  79. // ============================================================
  80. // 0.2 各品类人群需求标签 × 解决问题矩阵
  81. // ============================================================
  82. function renderSub2({ chapter: c, subIdx, sub, slideNum, slideTotal, data, meta }) {
  83. return `<section class="report-section" id="${c.key}-${subIdx}" data-tone="${c.tone}" data-slide-num="${slideNum}/${slideTotal}">
  84. <div class="section-inner">
  85. ${renderSectionHead({
  86. eyebrow: `${c.num}.${subIdx} · DEMAND MATRIX`,
  87. title: sub,
  88. subtitle: '从会议分享的胃肠脾产品矩阵出发,拆解各品类人群需求。',
  89. color: c.color,
  90. })}
  91. ${renderCompareTable({
  92. title: '肠道品类 × 人群需求 × 解决问题 矩阵',
  93. headers: ['品类/方向', '目标人群', '核心需求标签', '解决的问题', '乳酸菌素片机会'],
  94. rows: [
  95. ['微生态制剂·药品', '急性腹泻/菌群失调儿童', '快速止泻、医生推荐', '急性肠道感染', { html: '<span style="color:' + BRAND.CORAL + ';">低</span>(处方主导)', color: BRAND.CORAL }],
  96. ['微生态制剂·食品', '日常调理/预防型家长', '安全、长期吃、口味好', '菌群平衡/预防', { html: '<strong style="color:' + BRAND.JIANG_GREEN + ';">高 ★★★</strong>', color: BRAND.JIANG_GREEN }],
  97. ['肠炎止泻', '急性腹泻患儿', '快速见效、安全', '止泻', { html: '<span style="color:' + BRAND.CORAL + ';">低</span>(场景不符)', color: BRAND.CORAL }],
  98. ['润肠通便', '便秘儿童家长', '温和、不依赖', '排便困难', { html: '<strong style="color:' + BRAND.WARM_ORANGE + ';">中 ★★</strong>(可延伸)', color: BRAND.WARM_ORANGE }],
  99. ['脾虚调理', '消化不好/光吃不长', '健脾、促吸收', '营养吸收差', { html: '<strong style="color:' + BRAND.JIANG_GREEN + ';">高 ★★★</strong>', color: BRAND.JIANG_GREEN }],
  100. ['营养补剂替代', '"瓶瓶罐罐"焦虑家长', '减少补剂、靠饮食', '自身吸收能力', { html: '<strong style="color:' + BRAND.JIANG_GREEN + ';">高 ★★★</strong>(杨老师洞察)', color: BRAND.JIANG_GREEN }],
  101. ],
  102. accent: c.color,
  103. })}
  104. <div style="margin-top:24px; padding:20px 24px; background:${BRAND.PURPLE}08; border-left:3px solid ${BRAND.PURPLE}; border-radius:6px;">
  105. <div class="text-mono text-xs" style="color:${BRAND.PURPLE}; letter-spacing:0.15em; margin-bottom:10px; font-weight:700;">会议图示关键洞察</div>
  106. <div style="color:var(--text-1); font-size:0.92rem; line-height:1.72;">
  107. <strong style="color:${BRAND.PURPLE};">脾虚 = 消化不好 + 大便不好</strong>,与肠道问题高度重叠。<br/>
  108. 王总确认(24:44):"如果是肠道的养护,肠道的吸收的话,确实有这样的机会。"<br/>
  109. → 乳酸菌素片需要同时打 <strong>肠 + 脾</strong> 两条线,覆盖"调理+吸收"双需求。
  110. </div>
  111. </div>
  112. ${renderDecisionList([
  113. '乳酸菌素片的<strong>高机会区</strong>:微生态食品级调理 + 脾虚营养吸收 + "瓶瓶罐罐"替代',
  114. '低机会区:急性止泻(处方主导)、急性肠炎(场景不符)',
  115. '中间地带:便秘调理可延伸,但非主打方向',
  116. '核心人群标签:<strong>"日常调理型"家长 + "减少补剂型"家长</strong>',
  117. ], { accent: c.color, title: 'INSIGHT · 品类机会判断' })}
  118. </div>
  119. </section>`;
  120. }
  121. // ============================================================
  122. // 0.3 TAM→SAM→SOM 漏斗
  123. // ============================================================
  124. function renderSub3({ chapter: c, subIdx, sub, slideNum, slideTotal, data, meta }) {
  125. return `<section class="report-section" id="${c.key}-${subIdx}" data-tone="${c.tone}" data-slide-num="${slideNum}/${slideTotal}">
  126. <div class="section-inner">
  127. ${renderSectionHead({
  128. eyebrow: `${c.num}.${subIdx} · TAM → SAM → SOM`,
  129. title: sub,
  130. subtitle: '总经理习惯的思维框架:全中国多少人→发病率→转化率→吃什么药。',
  131. color: c.color,
  132. })}
  133. <div style="max-width:800px; margin:0 auto;">
  134. <!-- TAM -->
  135. <div style="background:${BRAND.TECH_BLUE}10; border:2px solid ${BRAND.TECH_BLUE}44; border-radius:var(--radius-md); padding:28px 32px; margin-bottom:16px; position:relative;">
  136. <div class="text-mono text-xs" style="color:${BRAND.TECH_BLUE}; letter-spacing:0.2em; font-weight:700; margin-bottom:8px;">TAM · 品类全市场</div>
  137. <div style="font-family:var(--font-head); font-size:2.4rem; font-weight:800; color:${BRAND.TECH_BLUE};">~130 亿</div>
  138. <div style="color:var(--text-1); font-size:0.92rem; line-height:1.7; margin-top:8px;">
  139. 微生态制剂 <strong>~60 亿</strong>(药品益生菌 + OTC 乳酸菌素片)+
  140. 食品级益生菌 <strong>~50 亿</strong>(合生元/万益蓝等)+
  141. 儿童营养补剂中肠道相关 <strong>~20 亿</strong>
  142. </div>
  143. <div style="color:var(--text-3); font-size:0.78rem; margin-top:6px;">含成人 + 儿童全部肠道调理相关产品</div>
  144. </div>
  145. <!-- SAM -->
  146. <div style="background:${BRAND.JIANG_GREEN}10; border:2px solid ${BRAND.JIANG_GREEN}44; border-radius:var(--radius-md); padding:28px 32px; margin-bottom:16px; margin-left:40px; margin-right:40px;">
  147. <div class="text-mono text-xs" style="color:${BRAND.JIANG_GREEN}; letter-spacing:0.2em; font-weight:700; margin-bottom:8px;">SAM · 可服务市场</div>
  148. <div style="font-family:var(--font-head); font-size:2.4rem; font-weight:800; color:${BRAND.JIANG_GREEN};">~25 亿</div>
  149. <div style="color:var(--text-1); font-size:0.92rem; line-height:1.7; margin-top:8px;">
  150. 儿童(3-12 岁)肠道调理市场:<br/>
  151. 药品级 <strong>~6 亿</strong>(妈咪爱/亿活/宝乐安)+
  152. 食品级 <strong>~12 亿</strong>(合生元/万益蓝)+
  153. OTC 乳酸菌素片 <strong>~3 亿</strong> +
  154. 营养吸收关联 <strong>~4 亿</strong>
  155. </div>
  156. <div style="color:var(--text-3); font-size:0.78rem; margin-top:6px;">锁定 3-12 岁 · 咀嚼片可覆盖年龄段</div>
  157. </div>
  158. <!-- SOM -->
  159. <div style="background:${BRAND.LACTIC_MINT}10; border:2px solid ${BRAND.LACTIC_MINT}44; border-radius:var(--radius-md); padding:28px 32px; margin-left:80px; margin-right:80px;">
  160. <div class="text-mono text-xs" style="color:${BRAND.LACTIC_MINT}; letter-spacing:0.2em; font-weight:700; margin-bottom:8px;">SOM · 可获取市场</div>
  161. <div style="font-family:var(--font-head); font-size:2.4rem; font-weight:800; color:${BRAND.LACTIC_MINT};">6000 万 → 10 亿</div>
  162. <div style="color:var(--text-1); font-size:0.92rem; line-height:1.7; margin-top:8px;">
  163. 当前:<strong style="color:${BRAND.WARM_ORANGE};">6000 万</strong>(OTC 乳酸菌素片儿童版单品)<br/>
  164. 目标:<strong style="color:${BRAND.JIANG_GREEN};">10 亿 / 3 年</strong>(药店 + 电商 + 新渠道)<br/>
  165. 路径:品类重定位 → 从"乳酸菌素片"升级到"儿童肠道日常养护第一品牌"
  166. </div>
  167. </div>
  168. </div>
  169. ${renderFindingCard({
  170. icon: '🎯',
  171. title: '漏斗关键结论',
  172. body: '从 130 亿 TAM 到 25 亿 SAM,乳酸菌素片儿童版当前仅占 <strong>0.46%</strong> 市场份额。10 亿目标意味着在 SAM 中占到 <strong>4%</strong>——<strong>可行但需要品类重定位</strong>,不能继续在"乳酸菌素片"这个狭窄品类里打。',
  173. accent: BRAND.JIANG_GREEN,
  174. })}
  175. </div>
  176. </section>`;
  177. }
  178. module.exports = { renderSub1, renderSub2, renderSub3 };