|
|
@@ -4,6 +4,8 @@
|
|
|
$rawPaperId = $paper->paper_id ?? 'unknown';
|
|
|
preg_match('/paper_(\d{15})/', $rawPaperId, $matches);
|
|
|
$gradingCode = $matches[1] ?? preg_replace('/[^0-9]/', '', $rawPaperId);
|
|
|
+ // 生成日期(格式:1月24日)
|
|
|
+ $generateDate = now()->locale('zh_CN')->isoFormat('M月D日');
|
|
|
@endphp
|
|
|
<!DOCTYPE html>
|
|
|
<html lang="zh-CN">
|
|
|
@@ -16,7 +18,7 @@
|
|
|
size: A4;
|
|
|
margin: 2cm 2cm 2.5cm 2cm;
|
|
|
@top-left {
|
|
|
- content: "知了数学";
|
|
|
+ content: "知了数学·{{ $generateDate }}";
|
|
|
font-size: 12px;
|
|
|
color: #666;
|
|
|
}
|