1 Star 0 Fork 14

风吹的我喘不过气/jpress-perfree-simple

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
photo.html 2.59 KB
一键复制 编辑 原始数据 按行查看 历史
#include("./_inc/_layout.html")
#@layout()
#define content()
<div class="layui-col-xs12 layui-col-sm7 layui-col-md8 perfree-content-left">
<link rel="stylesheet" href="static/css/article.css" media="all">
<link rel="stylesheet" href="static/css/photo.css" media="all">
<div class="layui-card">
<div class="layui-card-body photo-card" style="padding: 8px">
#perfreePhoto()
#if(perfreePhoto.isEncrypt == 1)
<div class="perfree-article-content check-form">
<form class="layui-form" action="">
<input type="hidden" name="id" value="#(perfreePhoto.id)" id="photoId">
<div class="layui-form-item" style="width: 248px;width: 248px;margin: auto;margin-top: 50px;margin-bottom: 50px;">
<blockquote class="layui-elem-quote">该相册已加密,需要输入密码访问哦~</blockquote>
<input type="password" name="password" id="photoPassword" placeholder="请输入相册密码" class="layui-input" style="width: 180px;float: left;">
<button class="layui-btn" lay-submit lay-filter="checkPhoto" style="width: 66px;text-align: center;">提交</button>
</div>
</form>
</div>
#else
<div class="layui-card-header article-title">
<h2>#(perfreePhoto.name)</h2>
<p>
<span><i class="fa fa-user-o"></i> #(perfreePhoto.nickname)</span>
<span>&nbsp;&nbsp;<i class="fa fa-clock-o"></i> #date(perfreePhoto.createTime, "yyyy-MM-dd HH:mm:ss")</span>
</p>
</div>
<div class="layui-card-body article-body">
<div class="perfree-article-content">
<div class="perfree-img-parent">
#for(photo : perfreePhoto.photos)
<div class="photo-box">
<img src="#(photo)">
</div>
#end
</div>
</div>
</div>
#end
#end
</div>
<script src="static/js/photo.js"></script>
</div>
</div>
#end
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
HTML
1
https://gitee.com/xxxx21234/jpress-perfree-simple.git
git@gitee.com:xxxx21234/jpress-perfree-simple.git
xxxx21234
jpress-perfree-simple
jpress-perfree-simple
master

搜索帮助