当前位置: 首页 > news >正文

最新版电子发票样式html+css--普通发票+增值发票

网页预览如下:

html代码如下:

<!DOCTYPE html>
<html lang="en"><head><meta charset="UTF-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><title>电子发票(普通发票)</title><style>* {padding: 0;margin: 0;}ul,ul li {list-style: none;margin: 0;padding: 0;}body {font-family: "KaiTi";font-weight: 500;}label {color: #902020;}span{font-family: 'SimSun', 'STSong', 'Songti SC', '宋体', sans-serif;}.rmb {font-family: Arial, Helvetica, sans-serif;}.c-red {color: #ff3133;}.c-black {color: #000;}.c-black-big{color: #000;font-size: 18px;}.f-big {font-size: 14px;font-family: "Courier New", monospace;}.f-small {font-size: 12px;}.invoiceMain {box-sizing: border-box;width: 794px;margin: 0 auto;font-size: 12px;color: #000;padding: 20px;border: 1px solid #000;}.invoiceHeader {display: flex;justify-content: space-between;}.headerLeft {width: 210px;display: flex;}.headerLeft .tag{width: 105px;height: 75px;text-align: center;line-height: 75px;}.headerLeft div:nth-child(1) {line-height: 26px;}.headerLeft div p {line-height: 26px;}.headerLeft div:nth-child(2) p.c-red {width: 170px;height: 46px;text-align: center;line-height: 42px;font-size: 24px;letter-spacing: 2px;}.headerLeft div p.c span {font-size: 18px;letter-spacing: 1px;}.headerRight {margin-top: 14px;width: 206px;}.headerRight p {text-align: left;margin-bottom: 11px;}.headerMiddle {text-align: center;width: 360px;display: flex;flex-direction: column;/* justify-items: center; */align-items: center;}.headerMiddle h1 {font-size: 26px;font-weight: 500;color: #902020;padding-bottom: 10px;}.total .rmb {font-size: 14px;font-family: "Courier New", Courier, monospace;}.line {width: 300px;height: 3px;border-top: #902020 1px solid;border-bottom: #902020 1px solid;margin-bottom: 40px;}.invoiceBody {border: 1px solid #902020;position: relative;}.line-yellow, .line-red{position: absolute;right: -2px;width: 2px;height: 178px;z-index: -1;}.line-yellow{background-color: rgb(246, 237, 225);top: -1px;}.line-red{background-color: rgb(118, 89, 84);bottom: -1px;}.userInfo {width: 100%;display: flex;align-items: center;height: 83px;border-bottom: 1px solid #902020;}.userInfo ul {width: 50%;padding: 0;}.userInfo ul li {line-height: 36px;}.userInfo ul li:nth-child(2) .f-big {/* letter-spacing: 2px; */}.userInfo ul li:nth-child(3) {position: relative;}.buy {width: 20px;border-right: 1px solid #902020;padding: 0 2px;text-align: center;height: 100%;display: flex;align-items: center;color: #902020;line-height: 14px;}.sell {width: 20px;border-right: 1px solid #902020;border-left: 1px solid #902020;padding: 0 2px;text-align: center;height: 100%;display: flex;align-items: center;color: #902020;line-height: 14px;}.GoodsTable {width: 100%;border-collapse: collapse;table-layout: fixed;}.GoodsTable td {color: #902020;}.item-title{padding-right: 10px;}.invoice-list {overflow: hidden;line-height: 18px;}.invoice-list td {color: #000;vertical-align: top;}.invoice-list td:nth-child(3) {text-align: center;}.invoice-list td:nth-child(4),.invoice-list td:nth-child(5),.invoice-list td:nth-child(6),.invoice-list td:nth-child(7),.invoice-list td:nth-child(8),.total td:nth-child(5),.total td:nth-child(6),.total td:nth-child(7),.total td:nth-child(8) {text-align: right;}.invoice-list tr td {height: 21px;}.GoodsTable thead tr {height: 24px;text-align: center;}.GoodsTotal {height: 30px;border-top: 1px solid #902020;border-bottom: 1px solid #902020;}.total td {color: #000;}.total td:nth-child(1) {text-align: center;color: #902020;}.total td:nth-child(6),.total td:nth-child(8) {}.remark {display: flex;height: 75px;}.remark-title {width: 20px;height: 100%;border-right: 1px solid #902020;padding: 0 5px;text-align: center;display: flex;align-items: center;color: #902020;line-height: 14px;}.remark-content {font-family: 'SimSun', 'STSong', 'Songti SC', '宋体', sans-serif;word-break: break-all;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;overflow-y: hidden;line-height: 13px;}.invoiceFooter {padding-top: 20px;padding-left: 60px;display: flex;justify-content: space-between;}.invoiceFooter li {width: 25%;}</style>
</head><body><div class="invoiceMain"><div class="invoiceHeader"><div class="headerLeft"><div style="margin-right: 5px"><!-- 二维码占位 --><img src="qrcode.png" width="75" height="75" alt="" /></div><div class="tag">差额征税-差额开票</div></div><div class="headerMiddle"><h1>电子发票(普通发票)</h1><div class="line"></div></div><div class="headerRight"><p><label>发票号码:</label><span>39472000000164594029</span></p><p><label>开票日期:</label><span>2024年09月17日</span></p></div></div><div class="invoiceBody"><div class="userInfo"><div class="buy">购买方信息</div><ul><li><label>名称:</label><span>山东某某网络技术有限公司</span></li><li><label>统一社会信用代码/纳税人识别号:</label></li></ul><div class="sell">销售方信息</div><ul><li><label>名称:</label><span>山东阿里医院管理有限公司</span></li><li><label>统一社会信用代码/纳税人识别号:</label><span class="f-big">9178884MA300FT9XQ</span></li></ul></div><div><div style="height:150px"><table class="GoodsTable" cellpadding="0" cellspacing="0"><thead><tr><td style="width: 20%">项目名称</td><td style="width: 10%; text-align: left">规格型号</td><td style="width: 7%">单 位</td><td style="width: 12%; text-align: right">数 量</td><td style="width: 13%; text-align: right">单 价</td><td style="width: 13%; text-align: right">金 额</td><td style="width: 13%; text-align: center;">税率/征收率</td><td style="text-align: right; border-right: none">税 额</td></tr></thead><tbody class="invoice-list"><!-- 表格数据-遍历 --><tr><td><span class="item-title">*企业管理服务*网络服务费</span></td><td><span>无</span></td><td><span>无</span></td><td><span>5</span></td><td><span>2.364</span></td><td><span>11.82</span></td><td style="text-align: center;"><span>1%</span></td><td><span>1.18</span></td></tr><tr><td><span class="item-title">*企业管理服务*网络服务费</span></td><td><span>无</span></td><td><span>无</span></td><td><span>5</span></td><td><span>2.364</span></td><td><span>11.82</span></td><td style="text-align: center;"><span>1%</span></td><td><span>1.18</span></td></tr></tbody></table></div><table class="GoodsTable" cellpadding="0" cellspacing="0"><tr class="total"><td style="width: 26%; text-align: center;">合 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;计</td><td style="width: 36%"></td><td style="width: 13%; text-align: right;"><span class="rmb">¥</span><span>8575.47</span></td><td style=" text-align: right;"><span class="rmb">¥</span><span>2.36</span></td></tr><tr class="GoodsTotal"><td style="text-align: center; border-right: 1px solid #902020;">价税合计(大写)</td><td colspan="3"><div style="width: 100%; display: flex"><div type="text" style="width: 60%;"><span class="c-black" style="padding-left: 5px;"><span style="font-size: 18px;">⊗</span>壹万叁仟元整</span></div><div type="text" style="width: 30%">(小写)<span class="c-black"><span class="rmb">¥</span><span style="font-size: 14px;">13000.00</span></span></div></div></td></tr></table></div><div class="remark"><div class="remark-title">备注</div><div class="remark-content"><p>购买方地址:</p><p>方开户银行:</p><p>销售方地址:</p><p>方开户银行: </p><p><Br>收款人:  复核人: </p></div></div><div class="line-yellow"></div><div class="line-red"></div></div><ul class="invoiceFooter"><li><label>开票人:</label><span>路人甲</span></li></ul></div>
</body></html>

相关文章:

  • 北京网站建设多少钱?
  • 辽宁网页制作哪家好_网站建设
  • 高端品牌网站建设_汉中网站制作
  • Java+Spring Cloud +UniApp 智慧工地源码,用户PC端、移动端数据同步,支持多端展示
  • Recorder录音插件使用日记
  • 【linux进程】深度理解进程--什么是进程什么是pcb进程创建
  • 【Python 基础学习笔记】文件的基础操作
  • cmake查看 编译信息里面的详细的gcc/g++的编译参数
  • 在Gin框架中实现Token令牌认证
  • CSS的盒子模型(Box Model)
  • 2024百度的组织架构和产品分布
  • SegFormer网络结构的学习和重构
  • LCR 029
  • [Web安全 网络安全]-CSRF跨站请求伪造
  • 面试经典 150 题:力扣88. 合并两个有序数组
  • 普通本科生也能成为AI高手:人工智能学习指南
  • 嵌入式 开发技巧和经验分享
  • 桌面专业版【修改主机名和更改计算机显示名称】方法介绍
  • 深入了解以太坊
  • docker容器内的网络抓包
  • GDB 调试 Mysql 实战(三)优先队列排序算法中的行记录长度统计是怎么来的(上)...
  • HTTP--网络协议分层,http历史(二)
  • Lsb图片隐写
  • SegmentFault 技术周刊 Vol.27 - Git 学习宝典:程序员走江湖必备
  • Spark RDD学习: aggregate函数
  • Swift 中的尾递归和蹦床
  • VUE es6技巧写法(持续更新中~~~)
  • Vue UI框架库开发介绍
  • windows下使用nginx调试简介
  • 入口文件开始,分析Vue源码实现
  • 入职第二天:使用koa搭建node server是种怎样的体验
  • 使用Maven插件构建SpringBoot项目,生成Docker镜像push到DockerHub上
  • 树莓派 - 使用须知
  • 消息队列系列二(IOT中消息队列的应用)
  • 小程序开发中的那些坑
  • 交换综合实验一
  • 新年再起“裁员潮”,“钢铁侠”马斯克要一举裁掉SpaceX 600余名员工 ...
  • ​html.parser --- 简单的 HTML 和 XHTML 解析器​
  • ​iOS安全加固方法及实现
  • ​Linux Ubuntu环境下使用docker构建spark运行环境(超级详细)
  • ​zookeeper集群配置与启动
  • ​马来语翻译中文去哪比较好?
  • "无招胜有招"nbsp;史上最全的互…
  • # Kafka_深入探秘者(2):kafka 生产者
  • #免费 苹果M系芯片Macbook电脑MacOS使用Bash脚本写入(读写)NTFS硬盘教程
  • #在 README.md 中生成项目目录结构
  • (19)夹钳(用于送货)
  • (八)Spring源码解析:Spring MVC
  • (附源码)springboot 个人网页的网站 毕业设计031623
  • (南京观海微电子)——示波器使用介绍
  • (三)Kafka离线安装 - ZooKeeper开机自启
  • (四)汇编语言——简单程序
  • (学习日记)2024.04.10:UCOSIII第三十八节:事件实验
  • (转) ns2/nam与nam实现相关的文件
  • (转载)OpenStack Hacker养成指南
  • (最新)华为 2024 届秋招-硬件技术工程师-单板硬件开发—机试题—(共12套)(每套四十题)
  • .NET gRPC 和RESTful简单对比
  • .NET 的程序集加载上下文