CaiWuXiTong/resources/views/business/pdf/courier-credential.blade.php

35 lines
1.8 KiB
PHP
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<style>
@font-face { font-family: CredentialChinese; font-weight: 400; src: url('file://{{ $fontPath }}') format('truetype'); }
@font-face { font-family: CredentialChinese; font-weight: 700; src: url('file://{{ $fontPath }}') format('truetype'); }
@page { margin: 36pt; }
body { font-family: CredentialChinese, sans-serif; font-size: 11pt; color: #171717; }
h1 { font-size: 16pt; text-align: center; margin: 0 0 16pt; }
.meta { font-size: 9pt; color: #595959; margin-bottom: 14pt; }
.latin { font-family: DejaVu Sans, sans-serif; }
.picture { text-align: center; margin-bottom: 14pt; }
.label { margin-bottom: 6pt; }
.sign { position: fixed; left: 0; right: 0; top: 630pt; height: 125pt; border: 1pt dashed #856632; }
.sign-label { margin: 12pt; font-size: 11pt; }
.sign-hint { margin: 12pt; font-size: 9pt; color: #595959; }
</style>
</head>
<body>
<h1>{{ $title }}</h1>
<div class="meta">合作方:{{ $signature->courier_name }} 任务编号:<span class="latin">{{ $signature->business_no }}</span></div>
@foreach ($pictures as $picture)
<div class="picture">
<div class="label">{{ $picture['label'] }}</div>
<img src="{{ $picture['uri'] }}" style="width: {{ $picture['width'] }}pt; height: {{ $picture['height'] }}pt" alt="{{ $picture['label'] }}">
</div>
@endforeach
<div class="sign">
<div class="sign-label">@if ($stampOnly)盖章确认@else签字 <span class="latin">/</span> 盖章确认@endif</div>
<div class="sign-hint">本页资料一并确认,仅需{{ $stampOnly ? '盖章' : '签字或盖章' }}一次。</div>
</div>
</body>
</html>