指令如下:
卡片背景采用点阵尾纹 增加复古虚线边框和纸张投影”* 根据关键词“月嫂公司怎么选?五大关键点帮你避坑”写一个小红书笔记,从第二屏开始,内容丰富,有具体细节 我的月嫂公司:皇帝月嫂,优势,亲民价格, 内容以小红书卡片风格生成HTML代码,如果内容太拥挤,请分多个html,要求: 竖版适配手机屏幕 顶部渐变标题 文字自动分段带Emoji符号 重点关键词高亮 卡片背景与边框,根据内容主题设计(手机边框) 此指令可生成带自适应布局的响应式代码 每一屏的高度一致,内容不足用空格填补 在PC端也能够看到移动排版效果(内容居中) 图片插入其中 给每个屏底部提供下载功能,点下载就可以保存图片 t
腾讯元宝deep推理过程:
直接看结果:
利用腾讯元宝ai生成的小红书图片,这种方式,还可以根据关键词生成不同内容。
详细代码:
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>月嫂公司选择指南 | 皇帝月嫂</title> <script src="https://html2canvas.hertzen.com/dist/html2canvas.min.js"></script> <style> * { margin: 0; padding: 0; box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; } body { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(135deg, #fff9e6 0%, #e6f3ff 100%); padding: 20px; } .container { max-width: 1000px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 30px; margin: 20px 0; } .card { width: 100%; max-width: 375px; min-height: 667px; background: radial-gradient(circle at 5px 5px, rgba(200,200,200,0.1) 1px, transparent 2px), #fffaf0; background-size: 20px 20px; border-radius: 15px; padding: 15px; position: relative; box-shadow: 0 8px 32px rgba(0,0,0,0.1); overflow: hidden; } /* 复古虚线边框效果 */ .card::before { content: ""; position: absolute; top: 5px; left: 5px; right: 5px; bottom: 5px; border: 1px dashed #c8a951; border-radius: 12px; pointer-events: none; z-index: 1; } /* 纸张投影效果 */ .card::after { content: ""; position: absolute; top: 5px; left: 5px; right: 5px; bottom: 5px; box-shadow: inset 0 0 20px rgba(200,169,81,0.1), inset 0 0 10px rgba(200,169,81,0.05); border-radius: 12px; pointer-events: none; } .header { background: linear-gradient(90deg, #ff9a9e 0%, #fad0c4 100%); color: white; padding: 15px 20px; border-radius: 12px; text-align: center; margin-bottom: 20px; box-shadow: 0 4px 10px rgba(255,154,158,0.3); } .header h1 { font-size: 20px; font-weight: 700; margin-bottom: 5px; letter-spacing: 1px; } .header p { font-size: 14px; opacity: 0.9; } .content { padding: 0 10px; } .section-title { position: relative; font-size: 17px; font-weight: 700; margin: 20px 0 15px; padding-bottom: 8px; color: #ff6b6b; } .section-title::after { content: ""; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: linear-gradient(90deg, #ff9a9e, #fad0c4); border-radius: 3px; } .point-card { background: rgba(255, 250, 240, 0.8); border-radius: 10px; padding: 12px; margin-bottom: 15px; box-shadow: 0 3px 10px rgba(0,0,0,0.03); border: 1px solid rgba(200,169,81,0.1); } .point-header { display: flex; align-items: center; margin-bottom: 8px; } .point-emoji { font-size: 24px; margin-right: 10px; } .point-title { font-weight: 600; font-size: 16px; color: #ff6b6b; } .point-content { font-size: 14px; line-height: 1.6; color: #666; } .highlight { background: linear-gradient(120deg, rgba(255,218,185,0.6), rgba(255,218,185,0.3)); padding: 0 4px; border-radius: 2px; font-weight: 600; } .company-highlight { margin-top: 20px; background: linear-gradient(90deg, #ffecd2, #fcb69f); padding: 15px; border-radius: 10px; text-align: center; position: relative; overflow: hidden; } .company-highlight::before { content: "★"; position: absolute; font-size: 100px; opacity: 0.05; color: #ff6b6b; top: -25px; right: -25px; transform: rotate(30deg); } .company-highlight h3 { color: #ff6b6b; font-size: 18px; margin-bottom: 8px; } .price-tag { font-size: 28px; font-weight: 700; color: #ff5252; text-shadow: 1px 1px 2px rgba(0,0,0,0.1); margin: 10px 0; } .company-desc { font-size: 14px; line-height: 1.6; margin-top: 8px; } .img-placeholder { height: 120px; background: linear-gradient(90deg, #fff1eb 0%, #ace0f9 100%); border-radius: 8px; margin: 15px 0; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; } .img-placeholder::before { content: "📸 真实月嫂服务照片"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: rgba(255,255,255,0.7); font-size: 16px; text-align: center; } .img-placeholder::after { content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%; background: linear-gradient(45deg, rgba(255,255,255,0.2), transparent); top: -50px; left: -50px; } .divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(200,169,81,0.5), transparent); margin: 25px 0; width: 80%; position: relative; left: 10%; } .footer { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; display: flex; justify-content: center; } .download-btn { background: linear-gradient(90deg, #ff9a9e, #fad0c4); color: white; border: none; padding: 10px 25px; border-radius: 25px; font-weight: 600; font-size: 14px; cursor: pointer; box-shadow: 0 4px 10px rgba(255,154,158,0.4); transition: all 0.3s; } .download-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 12px rgba(255,154,158,0.5); } .signature { position: absolute; bottom: 70px; right: 25px; font-size: 12px; color: rgba(200,169,81,0.7); font-style: italic; } .flex-grow { flex-grow: 1; } @media (min-width: 768px) { .container { flex-direction: row; justify-content: center; flex-wrap: wrap; } } </style> </head> <body> <div class="container"> <!-- 第一屏 --> <div class="card" id="card1"> <div class="header"> <h1>月嫂公司怎么选?</h1> <p>五大关键点帮你避坑</p> </div> <div class="content"> <div class="img-placeholder"></div> <div class="point-card"> <div class="point-header"> <div class="point-emoji">🔍</div> <div class="point-title">专业资质认证</div> </div> <div class="point-content"> 查看公司是否有合法注册和经营资质,<span class="highlight">月嫂持证上岗</span>非常重要! 正规公司应具备育婴师证、健康证等必备证件,服务前要仔细核查。 </div> </div> <div class="point-card"> <div class="point-header"> <div class="point-emoji">💪</div> <div class="point-title">技能专业培训</div> </div> <div class="point-content"> 了解月嫂技能培训体系和<span class="highlight">专业能力覆盖范围</span>,包含: ✅ 新生儿护理技巧 ✅ 产妇护理知识 ✅ 科学营养膳食 ✅ 产康基础知识 ✅ 心理疏导能力 </div> </div> <div class="divider"></div> <div class="company-highlight"> <h3>皇帝月嫂推荐</h3> <div class="price-tag">亲民价格</div> <div class="company-desc"> 所有月嫂均持证上岗,<span class="highlight">专业培训体系</span>,保证服务质量同时让价格更亲民,是性价比首选! </div> </div> </div> <div class="flex-grow"></div> <div class="signature">— 真实备孕经验分享 —</div> <div class="footer"> <button class="download-btn" onclick="downloadCard('card1')">保存卡片</button> </div> </div> <!-- 第二屏 --> <div class="card" id="card2"> <div class="header"> <h1>月嫂公司对比技巧</h1> <p>选对月嫂月子更舒心</p> </div> <div class="content"> <div class="section-title">服务内容需全面</div> <div class="point-card"> <div class="point-header"> <div class="point-emoji">🤱</div> <div class="point-title">新生儿护理</div> </div> <div class="point-content"> 确认是否包含:黄疸监测、脐部护理、洗澡抚触、 睡眠调整、早期启蒙等专业服务。 <span class="highlight">24小时全天候服务</span>是必备项! </div> </div> <div class="point-card"> <div class="point-header"> <div class="point-emoji">👩</div> <div class="point-title">产妇护理</div> </div> <div class="point-content"> 重点包括:产后修复指导、乳房护理、月子餐制作、 情绪疏导、生活起居照料。优秀的月嫂是<span class="highlight">半个产后康复师</span>! </div> </div> <div class="section-title">服务流程要规范</div> <div class="point-card"> <div class="point-header"> <div class="point-emoji">📋</div> <div class="point-title">服务流程透明</div> </div> <div class="point-content"> 要求公司提供清晰服务流程表:<br> ⚡️ 签约前人员匹配流程<br> ⚡️ 服务期间工作安排<br> ⚡️ 问题反馈处理机制<br> ⚡️ 应急替换保障措施 </div> </div> <div class="img-placeholder"></div> </div> <div class="flex-grow"></div> <div class="footer"> <button class="download-btn" onclick="downloadCard('card2')">保存卡片</button> </div> </div> <!-- 第三屏 --> <div class="card" id="card3"> <div class="header"> <h1>皇帝月嫂特别优势</h1> <p>高性价比专业服务</p> </div> <div class="content"> <div class="section-title">选择五大优势</div> <div class="point-card"> <div class="point-header"> <div class="point-emoji">💰</div> <div class="point-title">亲民价格</div> </div> <div class="point-content"> 直接省去中介费:<span class="highlight">28天服务仅¥10800起</span> 行业内同样服务质量价格平均低15-25% </div> </div> <div class="point-card"> <div class="point-header"> <div class="point-emoji">🛡️</div> <div class="point-title">安全保障</div> </div> <div class="point-content"> ✅ 全员背景核查 ✅ 全额服务保险<br> ✅ 健康月月检查 ✅ 严格保密协议 </div> </div> <div class="point-card"> <div class="point-header"> <div class="point-emoji">🔄</div> <div class="point-title">灵活服务</div> </div> <div class="point-content"> ⏱️ 最短可签7天服务<br> 🌙 夜间专项陪护可选<br> 👶 双胞胎护理经验丰富<br> 👵 科学长辈带娃指导 </div> </div> <div class="company-highlight"> <h3>真实用户体验</h3> <div class="price-tag">98% 满意度</div> <div class="company-desc"> 宝妈们一致评价:<span class="highlight">"专业度高、细心体贴、月子餐美味"</span><br> 老客户转介绍率超过45% </div> </div> <div class="img-placeholder"></div> </div> <div class="flex-grow"></div> <div class="footer"> <button class="download-btn" onclick="downloadCard('card3')">保存卡片</button> </div> </div> </div> <script> function downloadCard(cardId) { html2canvas(document.getElementById(cardId)).then(canvas => { const link = document.createElement('a'); link.download = '月嫂选择指南-' + cardId + '.png'; link.href = canvas.toDataURL('image/png'); link.click(); }); } </script> </body> </html>