note/月报template.md
2025-11-19 10:16:05 +08:00

110 lines
5.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 定义变量
1. 当前月报期数:{currentIssue}
2. 当前月报的年份:{currentYear}
3. 当前月报的月份:{CurrentMonth}
4. 当前月报的总期数:{currentAllIssues}
5. 当前月报的编制日期:{currentReportDate}
6. 下一期月报的总期数:{nextAllIssues}
7. 下一期月报的截止日期:{nextStopDate}
---
8. 寒山闻钟正文: {content_1}
9. 12345便民平台正文 {content_2}
10. 公众监督平台正文: {content_3}
11. 信箱来信来件正文: {content_4}
12. 央巡件、省巡件正文: {content_5}
13. 中心来电来访正文: {content_6}
14. 本月热点汇总: {content_7}
## 模板
```html
<!DOCTYPE html>
<html lang="zh-CN" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta charset="UTF-8">
<title>第{currentIssue}期教育惠民之声{currentYear}年{CurrentMonth}月刊</title>
<!--[if gte mso 9]>
<xml>
<w:WordDocument>
<w:View>Print</w:View>
<w:Zoom>100</w:Zoom>
<w:DoNotOptimizeForBrowser/>
</w:WordDocument>
</xml>
<![endif]-->
<style>
/*
* 这一部分是专门写给Word看的CSS
* 它定义了页面的大小和边距从而让Word默认以“页面视图”打开
*/
@page WordSection1 {
size: 21cm 29.7cm; /* A4纸张大小 */
margin: 2.54cm 2.54cm 3.18cm 3.18cm; /* A4标准页边距 (1英寸) */
mso-header-margin: 1.5cm;
mso-footer-margin: 1.75cm;
mso-paper-source: 0;
}
div.WordSection1 {
page: WordSection1;
}
</style>
</head>
<body>
<div class="WordSection1">
<h6 style="font-family: '黑体'; font-size: 16pt; text-align: left; font-weight: normal; line-height: 1.5; margin: 0 0 10px 0;">
内部资料 请勿外传
</h6>
<h1 style="text-align:center; font-family: '方正公文小标宋'; font-weight: normal;font-size: 22pt; color: red;">教 育 惠 民 之 声</h1>
<h2 style="text-align:center; font-family:'宋体'; font-size: 16pt;font-weight: bold;color: red; ">{currentYear}年第{currentIssue}期,总第{currentAllIssues}期)</h2>
<h3 style="text-align:center; font-family:'宋体';font-size: 16pt; ">
苏州市教育惠民服务中心编制&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;{currentReportDate}</h3>
<p style="text-align: center; font-weight: bold;color: red;font-weight: bold; font-size: 18px;">━━━━━━━━━━━━━━━━━━━━━━━</p>
<h4 style="font-family: '黑体';text-align: left; font-size: 16pt;font-weight: normal; text-indent: 3.1em;">一、“寒山闻钟”论坛</h4>
<!-- 正文内容开始 -->
<p style="font-family: '仿宋'; font-size: 16pt;text-align: left;text-indent: 3.1em;">{content_1}</p>
<!-- 正文内容结束 -->
<br>
<h4 style="font-family: '黑体';text-align: left; font-size: 16pt;font-weight: normal; text-indent: 3.1em;">二、“12345”便民平台</h4>
<!-- 正文内容开始 -->
<p style="font-family: '仿宋'; font-size: 16pt;text-align: left;text-indent: 3.1em;">{content_2}</p>
<!-- 正文内容结束 -->
<br>
<h4 style="font-family: '黑体';text-align: left; font-size: 16pt;font-weight: normal; text-indent: 3.1em;">三、“公众监督”平台</h4>
<!-- 正文内容开始 -->
<p style="font-family: '仿宋'; font-size: 16pt;text-align: left;text-indent: 3.1em;">{content_3}</p>
<!-- 正文内容结束 -->
<br>
<h4 style="font-family: '黑体';text-align: left; font-size: 16pt;font-weight: normal; text-indent: 3.1em;">四、信箱来信来件</h4>
<!-- 正文内容开始 -->
<p style="font-family: '仿宋'; font-size: 16pt;text-align: left;text-indent: 3.1em;">{content_4}</p>
<!-- 正文内容结束 -->
<br>
<h4 style="font-family: '黑体';text-align: left; font-size: 16pt;font-weight: normal; text-indent: 3.1em;">五、央巡件、省巡件</h4>
<!-- 正文内容开始 -->
<p style="font-family: '仿宋'; font-size: 16pt;text-align: left;text-indent: 3.1em;">{content_5}</p>
<!-- 正文内容结束 -->
<br>
<h4 style="font-family: '黑体';text-align: left; font-size: 16pt;font-weight: normal; text-indent: 3.1em;">六、中心来电来访</h4>
<!-- 正文内容开始 -->
<p style="font-family: '仿宋'; font-size: 16pt;text-align: left;text-indent: 3.1em;">{content_6}</p>
<!-- 正文内容结束 -->
<br>
<h4 style="font-family: '黑体';text-align: left; font-size: 16pt;font-weight: normal; text-indent: 3.1em;">七、本月热点汇总</h4>
<!-- 正文内容开始 -->
<p style="font-family: '仿宋'; font-size: 16pt;text-align: left;text-indent: 3.1em;">{content_7}</p>
<!-- 正文内容结束 -->
<br>
<br><br><br><br>
<p style="font-family: '仿宋'; font-size: 16pt;text-align: left;text-indent: 3.1em;"></p>
<p style="font-family: '仿宋'; font-size: 16pt;text-align: left;text-indent: 3.1em;"></p>
<p style="font-family: '仿宋'; font-size: 16pt;text-align: left;font-weight: bold;text-indent: 3.1em;">征稿方式</p>
<p style="font-family: '仿宋'; font-size: 16pt;text-align: left;text-indent: 3.1em;">1.第{nextAllIssues}期《教育惠民之声》投稿截止时间:{nextStopDate}</p>
<p style="font-family: '仿宋'; font-size: 16pt;text-align: left;text-indent: 3.1em;">2.投稿邮箱405682238@qq.com</p>
<p style="font-family: '仿宋'; font-size: 16pt;text-align: left;text-indent: 3.1em;">3.联系电话0512-65225216</p>
<p style="font-family: '仿宋'; font-size: 16pt;text-align: left;text-indent: 3.1em;">4.联系人:吕晓棠、张肖平、李文骏</p>
<p style="text-align: center; font-weight: bold;color: red;font-weight: bold; font-size: 18px;">━━━━━━━━━━━━━━━━━━━━━━━</p>
<!--固定结束语结束 -->
</div>
</body>
</html>
```