Live demos

Enable JavaScript to use the live demos.

Your browser is too old for this page. Please use the latest Chrome, Edge, Firefox, or Safari.

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.

77 - Store service rating

A4 store service rating: store/customer info, star criteria, overall score, and comments.

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:56px;width:340px;height:32px;box-sizing:border-box;overflow:hidden;font-size:22px;font-weight:700;color:#0F172A;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">门店服务评价表</div>
<div style="position:absolute;left:400px;top:58px;width:2px;height:38px;box-sizing:border-box;overflow:hidden;background:#F59E0B"></div>
<div style="position:absolute;left:420px;top:58px;width:326px;height:22px;box-sizing:border-box;overflow:hidden;font-size:14px;font-weight:700;color:#0F172A;text-align:right;display:flex;align-items:center;justify-content:flex-end;white-space:pre-wrap">文一西路店</div>
<div style="position:absolute;left:420px;top:88px;width:326px;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:48px;top:94px;width:340px;height:14px;box-sizing:border-box;overflow:hidden;font-size:8px;color:#94A3B8;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">STORE SERVICE EVALUATION</div>
<div style="position:absolute;left:88px;top:123px;width:150px;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:332px;top:123px;width:130px;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:126px;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:268px;top:126px;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:500px;top:126px;width:246px;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">评分:5 非常满意 · 1 非常不满意</div>
<div style="position:absolute;left:88px;top:143px;width:150px;height:1px;box-sizing:border-box;overflow:hidden;background:#CBD5E1"></div>
<div style="position:absolute;left:332px;top:143px;width:130px;height:1px;box-sizing:border-box;overflow:hidden;background:#CBD5E1"></div>
<div style="position:absolute;left:48px;top:176px;width:698px;height:370px;box-sizing:border-box;overflow:hidden;overflow:hidden"><table style="width:100%;max-width:100%;border-collapse:collapse;table-layout:fixed;box-sizing:border-box"><thead><tr><th style="width:42.9799%;box-sizing:border-box;border:1px solid #E2E8F0;padding:0 6px;height:34px;background:#FEF3C7;color:#0F172A;font-size:9px;font-weight:600;text-align:left">服务环节</th><th style="width:31.5186%;box-sizing:border-box;border:1px solid #E2E8F0;padding:0 6px;height:34px;background:#FEF3C7;color:#0F172A;font-size:9px;font-weight:600;text-align:center">评分(请圈选)</th><th style="width:25.5014%;box-sizing:border-box;border:1px solid #E2E8F0;padding:0 6px;height:34px;background:#FEF3C7;color:#0F172A;font-size:9px;font-weight:600;text-align:left">具体意见</th></tr></thead><tbody><tr><td style="box-sizing:border-box;border:1px solid #E2E8F0;padding:0 6px;height:56px;font-size:9.5px;color:#0F172A;text-align:left;vertical-align:middle">进店时是否有员工主动迎接</td><td style="box-sizing:border-box;border:1px solid #E2E8F0;padding:0 6px;height:56px;font-size:9.5px;color:#0F172A;text-align:center;vertical-align:middle">☆ ☆ ☆ ☆ ☆</td><td style="box-sizing:border-box;border:1px solid #E2E8F0;padding:0 6px;height:56px;font-size:9.5px;color:#0F172A;text-align:left;vertical-align:middle"></td></tr><tr><td style="box-sizing:border-box;border:1px solid #E2E8F0;padding:0 6px;height:56px;font-size:9.5px;color:#0F172A;text-align:left;vertical-align:middle">员工对商品知识的掌握程度</td><td style="box-sizing:border-box;border:1px solid #E2E8F0;padding:0 6px;height:56px;font-size:9.5px;color:#0F172A;text-align:center;vertical-align:middle">☆ ☆ ☆ ☆ ☆</td><td style="box-sizing:border-box;border:1px solid #E2E8F0;padding:0 6px;height:56px;font-size:9.5px;color:#0F172A;text-align:left;vertical-align:middle"></td></tr><tr><td style="box-sizing:border-box;border:1px solid #E2E8F0;padding:0 6px;height:56px;font-size:9.5px;color:#0F172A;text-align:left;vertical-align:middle">商品陈列与店内环境</td><td style="box-sizing:border-box;border:1px solid #E2E8F0;padding:0 6px;height:56px;font-size:9.5px;color:#0F172A;text-align:center;vertical-align:middle">☆ ☆ ☆ ☆ ☆</td><td style="box-sizing:border-box;border:1px solid #E2E8F0;padding:0 6px;height:56px;font-size:9.5px;color:#0F172A;text-align:left;vertical-align:middle"></td></tr><tr><td style="box-sizing:border-box;border:1px solid #E2E8F0;padding:0 6px;height:56px;font-size:9.5px;color:#0F172A;text-align:left;vertical-align:middle">结账效率与支付方式便捷度</td><td style="box-sizing:border-box;border:1px solid #E2E8F0;padding:0 6px;height:56px;font-size:9.5px;color:#0F172A;text-align:center;vertical-align:middle">☆ ☆ ☆ ☆ ☆</td><td style="box-sizing:border-box;border:1px solid #E2E8F0;padding:0 6px;height:56px;font-size:9.5px;color:#0F172A;text-align:left;vertical-align:middle"></td></tr><tr><td style="box-sizing:border-box;border:
// …

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.
Download client free View npm package