mirror of
https://dl.bcrjl.com/ghg/HaoOuBa/Joe.git
synced 2026-02-17 13:10:05 +08:00
feat: 新增CDN资源切换
This commit is contained in:
66
leaving.php
Normal file → Executable file
66
leaving.php
Normal file → Executable file
@@ -13,45 +13,45 @@
|
||||
<html lang="zh-CN">
|
||||
|
||||
<head>
|
||||
<?php $this->need('public/include.php'); ?>
|
||||
<script src="https://fastly.jsdelivr.net/npm/draggabilly@2.3.0/dist/draggabilly.pkgd.js"></script>
|
||||
<script src="<?php $this->options->themeUrl('assets/js/joe.leaving.min.js'); ?>"></script>
|
||||
<?php $this->need('public/include.php'); ?>
|
||||
<script src="<?php _getAssets('assets/lib/draggabilly@3.0.0/draggabilly.min.js'); ?>"></script>
|
||||
<script src="<?php _getAssets('assets/js/joe.leaving.min.js'); ?>"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="Joe">
|
||||
<?php $this->need('public/header.php'); ?>
|
||||
<div class="joe_container">
|
||||
<div class="joe_main">
|
||||
<div class="joe_detail" data-cid="<?php echo $this->cid ?>">
|
||||
<?php $this->need('public/batten.php'); ?>
|
||||
<div class="joe_detail__leaving">
|
||||
<?php $this->comments()->to($comments); ?>
|
||||
<?php if ($comments->have()) : ?>
|
||||
<ul class="joe_detail__leaving-list">
|
||||
<?php while ($comments->next()) : ?>
|
||||
<li class="item">
|
||||
<div class="user">
|
||||
<img class="avatar lazyload" src="<?php _getAvatarLazyload(); ?>" data-src="<?php _getAvatarByMail($comments->mail) ?>" alt="用户头像" />
|
||||
<div class="nickname"><?php $comments->author(); ?></div>
|
||||
<div class="date"><?php $comments->date('Y/m/d'); ?></div>
|
||||
</div>
|
||||
<div class="wrapper">
|
||||
<div class="content"><?php _parseLeavingReply($comments->content); ?></div>
|
||||
</div>
|
||||
</li>
|
||||
<?php endwhile; ?>
|
||||
</ul>
|
||||
<?php else : ?>
|
||||
<div class="joe_detail__leaving-none">暂无留言,期待第一个脚印。</div>
|
||||
<?php endif; ?>
|
||||
<div id="Joe">
|
||||
<?php $this->need('public/header.php'); ?>
|
||||
<div class="joe_container">
|
||||
<div class="joe_main">
|
||||
<div class="joe_detail" data-cid="<?php echo $this->cid ?>">
|
||||
<?php $this->need('public/batten.php'); ?>
|
||||
<div class="joe_detail__leaving">
|
||||
<?php $this->comments()->to($comments); ?>
|
||||
<?php if ($comments->have()) : ?>
|
||||
<ul class="joe_detail__leaving-list">
|
||||
<?php while ($comments->next()) : ?>
|
||||
<li class="item">
|
||||
<div class="user">
|
||||
<img class="avatar lazyload" src="<?php _getAvatarLazyload(); ?>" data-src="<?php _getAvatarByMail($comments->mail) ?>" alt="用户头像" />
|
||||
<div class="nickname"><?php $comments->author(); ?></div>
|
||||
<div class="date"><?php $comments->date('Y/m/d'); ?></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php $this->need('public/comment.php'); ?>
|
||||
</div>
|
||||
<div class="wrapper">
|
||||
<div class="content"><?php _parseLeavingReply($comments->content); ?></div>
|
||||
</div>
|
||||
</li>
|
||||
<?php endwhile; ?>
|
||||
</ul>
|
||||
<?php else : ?>
|
||||
<div class="joe_detail__leaving-none">暂无留言,期待第一个脚印。</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php $this->need('public/footer.php'); ?>
|
||||
<?php $this->need('public/comment.php'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php $this->need('public/footer.php'); ?>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user