Live demos
Browse the sample list on the left and preview layouts plus sample code on the right. Run a demo to print silently or preview PDF via web-print-pdf and the local client. Install and launch the client first.
Client
If results look wrong, install the latest Web Print Expert client from our site first (older builds may cause layout drift).
Layout
Preview and print follow standard HTML/CSS only—no hidden tricks. What you style is what you get.
78 - After-sales visit record
A4 after-sales visit log: ticket info, timeline checkpoints, conclusion, and notes.
Layout preview
Sample code
const html = `<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<title>售后回访记录表</title>
<style>
html, body { margin: 0; padding: 0; }
.biz-sheet {
position: relative;
width: 794px;
height: 1123px;
box-sizing: border-box;
background: #fff;
font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
color: #0F172A;
overflow: hidden;
}
</style>
</head>
<body>
<div class="biz-sheet">
<div style="position:absolute;left:48px;top:48px;width:698px;height:96px;box-sizing:border-box;overflow:hidden;background:#155E75"></div>
<div style="position:absolute;left:526px;top:62px;width:200px;height:22px;box-sizing:border-box;overflow:hidden;font-size:12px;font-weight:700;color:#FFFFFF;text-align:right;display:flex;align-items:center;justify-content:flex-end;white-space:pre-wrap">AS-20261027-015</div>
<div style="position:absolute;left:68px;top:64px;width:300px;height:30px;box-sizing:border-box;overflow:hidden;font-size:22px;font-weight:700;color:#FFFFFF;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">售后回访记录表</div>
<div style="position:absolute;left:440px;top:66px;width:80px;height:14px;box-sizing:border-box;overflow:hidden;font-size:8px;color:#A5F3FC;text-align:right;display:flex;align-items:center;justify-content:flex-end;white-space:pre-wrap">服务单号</div>
<div style="position:absolute;left:526px;top:90px;width:200px;height:18px;box-sizing:border-box;overflow:hidden;font-size:10px;color:#E0F2FE;text-align:right;display:flex;align-items:center;justify-content:flex-end;white-space:pre-wrap">上门维修</div>
<div style="position:absolute;left:440px;top:92px;width:80px;height:14px;box-sizing:border-box;overflow:hidden;font-size:8px;color:#A5F3FC;text-align:right;display:flex;align-items:center;justify-content:flex-end;white-space:pre-wrap">服务类型</div>
<div style="position:absolute;left:68px;top:98px;width:300px;height:12px;box-sizing:border-box;overflow:hidden;font-size:8px;color:#A5F3FC;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">AFTER-SALES FOLLOW-UP RECORD</div>
<div style="position:absolute;left:88px;top:163px;width:180px;height:20px;box-sizing:border-box;overflow:hidden;font-size:10px;color:#0F172A;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">孙立</div>
<div style="position:absolute;left:352px;top:163px;width:200px;height:20px;box-sizing:border-box;overflow:hidden;font-size:10px;color:#0F172A;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">137 0013 7000</div>
<div style="position:absolute;left:48px;top:166px;width:36px;height:14px;box-sizing:border-box;overflow:hidden;font-size:8.5px;color:#64748B;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">客户</div>
<div style="position:absolute;left:288px;top:166px;width:60px;height:14px;box-sizing:border-box;overflow:hidden;font-size:8.5px;color:#64748B;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">联系电话</div>
<div style="position:absolute;left:584px;top:166px;width:162px;height:14px;box-sizing:border-box;overflow:hidden;font-size:8px;color:#94A3B8;text-align:right;display:flex;align-items:center;justify-content:flex-end;white-space:pre-wrap">回访记录 · 客服部</div>
<div style="position:absolute;left:88px;top:183px;width:180px;height:1px;box-sizing:border-box;overflow:hidden;background:#CBD5E1"></div>
<div style="position:absolute;left:352px;top:183px;width:200px;height:1px;box-sizing:border-box;overflow:hidden;background:#CBD5E1"></div>
<div style="position:absolute;left:100px;top:195px;width:160px;height:20px;box-sizing:border-box;overflow:hidden;font-size:10px;color:#0F172A;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">周强</div>
<div style="position:absolute;left:352px;top:195px;width:160px;height:20px;box-sizing:border-box;overflow:hidden;font-size:10px;color:#0F172A;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">2026-10-27</div>
<div style="position:absolute;left:48px;top:198px;width:48px;height:14px;box-sizing:border-box;overflow:hidden;font-size:8.5px;color:#64748B;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">工程师</div>
<div style="position:absolute;left:288px;top:198px;width:60px;height:14px;box-sizing:border-box;overflow:hidden;font-size:8.5px;color:#64748B;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">回访日期</div>
<div style="position:absolute;left:100px;top:215px;width:160px;height:1px;box-sizing:border-box;overflow:hidden;background:#CBD5E1"></div>
<div style="position:absolute;left:352px;top:215px;width:160px;height:1px;box-sizing:border-box;overflow:hidden;background:#CBD5E1"></div>
<div style="position:absolute;left:64px;top:232px;width:2px;height:500px;box-sizing:border-box;overflow:hidden;background:#CBD5E1"></div>
<div style="position:absolute;left:92px;top:240px;width:500px;height:16px;box-sizing:border-box;overflow:hidden;font-size:10px;color:#0F172A;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">01 工程师是否按约定时间上门?</div>
<div style="position:absolute;left:58px;top:244px;width:14px;height:14px;box-sizing:border-box;overflow:hidden;background:#0E7490"></div>
<div style="position:absolute;left:92px;top:262px;width:600px;height:14px;box-sizing:border-box;overflow:hidden;font-size:8.5px;color:#475569;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">○ 准时 ○ 略微延迟 ○ 延迟较多 ○ 未上门</div>
<div style="position:absolute;left:92px;top:326px;width:500px;height:16px;box-sizing:border-box;overflow:hidden;font-size:10px;color:#0F172A;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">02 报修问题的描述是否准确?</div>
<div style="position:absolute;left:58px;top:330px;width:14px;height:14px;box-sizing:border-box;overflow:hidden;background:#0E7490"></div>
<div style="position:absolut
// …
Result
- If printing fails or the client cannot connect, see Local print works—production does not? (common on HTTP deployments).
- The client’s built-in Run examples page has more editable demos; this page complements it.
- Utility demos (connection, printer list) return JSON only—no print job.