2026-01-13 15:29:22 +08:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
|
<html lang="zh-CN">
|
|
|
|
|
|
<head>
|
|
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
|
|
<style>
|
|
|
|
|
|
body {
|
|
|
|
|
|
font-family: "sun-exta";
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
color: #333;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.card {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
border: 1px solid #e5e5e5;
|
|
|
|
|
|
padding: 20px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.row {
|
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.label {
|
|
|
|
|
|
display: inline-block;
|
|
|
|
|
|
width: 100px;
|
|
|
|
|
|
color: #666;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.qrcode-wrap {
|
|
|
|
|
|
margin-top: 20px;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.qrcode-wrap img {
|
|
|
|
|
|
width: 120px;
|
|
|
|
|
|
height: 120px;
|
|
|
|
|
|
margin-top: 5px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tip {
|
|
|
|
|
|
margin-top: 20px;
|
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
|
color: #999;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
</style>
|
|
|
|
|
|
</head>
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
2026-01-14 18:37:15 +08:00
|
|
|
|
<h2><?= $contactField['title'] ?></h2>
|
2026-01-13 15:29:22 +08:00
|
|
|
|
|
|
|
|
|
|
<div class="card">
|
|
|
|
|
|
<?php if (!empty($user['name'])): ?>
|
2026-01-14 18:37:15 +08:00
|
|
|
|
<div class="row"><span class="label"><?= $contactField['name'] ?>:</span><?= $user['name'] ?></div>
|
2026-01-13 15:29:22 +08:00
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
<?php if (!empty($user['email'])): ?>
|
2026-01-19 13:11:32 +08:00
|
|
|
|
<div class="row"><span class="label"><?= $contactField['email'] ?>:</span><?= $user['email'] ?></div>
|
2026-01-13 15:29:22 +08:00
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
<?php if (!empty($user['phone'])): ?>
|
2026-01-19 13:11:32 +08:00
|
|
|
|
<div class="row"><span class="label"><?= $contactField['phone'] ?>:</span><?= $user['phone'] ?></div>
|
2026-01-13 15:29:22 +08:00
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
<?php if (!empty($user['whatsapp'])): ?>
|
|
|
|
|
|
<div class="row"><span class="label">WhatsApp:</span><?= $user['whatsapp'] ?></div>
|
|
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
|
|
|
|
|
|
<?php if (!empty($user['social']) && !empty($user['social_code'])): ?>
|
|
|
|
|
|
<div class="qrcode-wrap">
|
2026-01-14 18:37:15 +08:00
|
|
|
|
<div><?= $contactField['code'] ?></div>
|
2026-01-13 15:29:22 +08:00
|
|
|
|
<img style = "width: 270px;height: 270px;margin-top: 30px;" src="<?= $user['social_code'] ?>">
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="tip">
|
2026-01-15 10:30:48 +08:00
|
|
|
|
<?= $contactField['left'] ?> | <?= $contactField['right'] ?>
|
2026-01-13 15:29:22 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
</html>
|