茶叶发票模板
```html
body {
fontfamily: Arial, sansserif;
}
.container {
maxwidth: 600px;
margin: 0 auto;
padding: 20px;
border: 1px solid ccc;
borderradius: 5px;
}
.header {
textalign: center;
marginbottom: 20px;
}
.header h1 {
fontsize: 24px;
margin: 0;
}
.customerinfo {
marginbottom: 20px;
}
.customerinfo p {
margin: 5px 0;
}
.itemstable {
width: 100%;
bordercollapse: collapse;
marginbottom: 20px;
}
.itemstable th,
.itemstable td {
border: 1px solid ddd;
padding: 8px;
textalign: left;
}
.itemstable th {
backgroundcolor: f2f2f2;
}
.total {
textalign: right;
fontweight: bold;
}
茶叶购物小票
日期: April 21, 2024
订单号: TEA123456789
客户姓名: 张三
联系电话: 1234567890

产品名称 | 数量 | 单价 | 总价 |
---|---|---|---|
龙井绿茶 | 2 | $20 | $40 |
铁观音 | 1 | $30 | $30 |
总计: $70