Skip to content

v1.1 #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions spzac/css/swiper.min.css

Large diffs are not rendered by default.

Binary file added spzac/fonts/blockdole.eot
Binary file not shown.
Binary file added spzac/fonts/blockdole.woff
Binary file not shown.
Binary file added spzac/fonts/blockdole.woff2
Binary file not shown.
593 changes: 593 additions & 0 deletions spzac/fonts/iconfont.css

Large diffs are not rendered by default.

Binary file added spzac/fonts/iconfont.eot
Binary file not shown.
458 changes: 458 additions & 0 deletions spzac/fonts/iconfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added spzac/fonts/iconfont.ttf
Binary file not shown.
Binary file added spzac/fonts/iconfont.woff
Binary file not shown.
Binary file added spzac/fonts/iconfont.woff2
Binary file not shown.
77 changes: 77 additions & 0 deletions spzac/index - hpian.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<link rel="stylesheet" href="<?php $this->options->themeUrl('css/swiper.min.css'); ?>">
<style>
.Swiper_bl{
background-color: white;
padding: 15px;
margin-bottom: 20px;
border-radius: 4px;
border: 1px solid rgba(133,153,171,0.2);
-webkit-box-shadow: 0 2px 26px 0 rgba(133,153,171,0.1);
box-shadow: 0 2px 26px 0 rgba(133,153,171,0.1);

}
.swiper-container {
width: 100%;
height: 100%;
margin-left: auto;
margin-right: auto;

}
.swiper-slide {
text-align: center;
font-size: 18px;
background: #fff;

/* Center slide text vertically */
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
}
@media screen and (max-width: 767px){
.swiper-slide img{object-fit: cover; width: 100%; height: 100%;}
}

</style>
<!-- Swiper -->
<div class="col-md-12 Swiper_bl">
<div class="swiper-container ">
<div class="swiper-wrapper">

<div class="swiper-slide"><a href="https://love2wind.cn/archives/2166.html" ><img src="https://imgsrc.xyz/images/2020/10/12/288469565478a7e6ed82cb898cb4ffc3.jpg"></a></div>
<div class="swiper-slide"><a href="https://love2wind.cn/archives/1908.html" ><img src="https://imgsrc.xyz/images/2019/spimes2.jpg"></a></div>
<div class="swiper-slide"><a href="https://love2wind.cn/archives/6.html" ><img src="https://imgsrc.xyz/images/2019/spimes3.jpg"></a></div>

</div>
<!-- Add Pagination -->
<div class="swiper-pagination"></div>
<!-- Add Arrows -->
<div class="swiper-button-next"></div>
<div class="swiper-button-prev"></div>
</div>
</div>

<!-- Swiper JS -->

<script src="<?php $this->options->themeUrl('js/swiper.min.js'); ?>"></script>

<!-- Initialize Swiper -->
<script>
var swiper = new Swiper('.swiper-container', {
pagination: '.swiper-pagination',
nextButton: '.swiper-button-next',
prevButton: '.swiper-button-prev',
slidesPerView: 1,
paginationClickable: true,
spaceBetween: 10,
loop: true
});
</script>
54 changes: 34 additions & 20 deletions spzac/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@
<?php if($this->is('index') && $this->_currentPage == 1): ?>
<!-- swiper -->
<div class="col-12 col-md-7 col-lg-8 col-xl-9">
<div class="row pagecontent">
<?php $this->need('index - hpian.php'); ?>
<div class="row pagecontent">


<?php
Expand Down Expand Up @@ -85,7 +86,7 @@
</div>
<div class="profile__actions">
<div class="post__location">
<i class="icon ion-ios-navigate"></i>
<i class="icon iconfont icon-ic_repost_line"></i>
<span>'.$jis->fields->leix.'</span>
</div><div class="post__actions">
'.$slei.'
Expand All @@ -103,11 +104,6 @@
</div>
<!-- end swiper -->
<?php endif; ?>






<?php if($this->is('index') && $this->_currentPage == 1): ?>
<!-- user -ping -->
Expand Down Expand Up @@ -147,23 +143,41 @@

<div class="main__box">
<h3 class="main__box-title">About</h3>
<p class="main__box-text">在浏览设计,运营,优化,建站等资料文章时,感觉到很多新手都碰到各种各样的问题,同时网上真正分享经验比较少。我何不一边学习,一边分享我积累的经验呢。
所以建立了这个网站。
See you in BLOG…
</p>
<p class="main__box-text">When browsing design, operation, optimization, website building and other materials and articles, I feel that many novices are confronted with various problems, at the same time, there is less real experience sharing online. Why don't I share my experience while learning.

So we set up this website.

See you in BLOG…</p>
<p class="main__box-text">本站是一群志同道合的小伙们发起并成立的一个致力于EPUB电子书排版制作的平台,我们的宗旨是让每个人都能读到精致、美观的电子书,让阅读成为一种享受,欢迎广大书友加入我们。</p>
<p class="main__box-text">This site is a platform dedicated to EPUB e-book layout and production initiated and established by a group of like-minded guys. Our aim is to allow everyone to read exquisite and beautiful e-books and make reading a pleasure. Welcome Book friends join us.</p>
</div>



<div class="main__box">
<h3 class="main__box-title">持续的过程</h3>
<p class="main__box-text">我认为学习是一个持续的过程 ,不可能一劳永逸,所以总会做出一些新鲜东西给你看。</p>
<p class="main__box-text">I think learning is a continuous process, it can't be once and for all, so there will always be something new to show you.</p>
<h3 class="main__box-title">关注我们</h3>
<div style="align:center;"><table style="text-align:center;border: 0;padding: 0;margin:0;">
<tbody border: 0;>
<tr>
<td style="text-align:center;border: 0;padding: 0 5px;">
<img src="https://nicepub.top/wp-content/uploads/2019/11/weixin_big.png"
alt="我的微信" style="width:150px;">
<p style="text-align:center;">
我的微信
</p>
</td>
<td style="text-align:center;border: 0;padding: 0 5px;">
<img src="https://nicepub.top/wp-content/uploads/2019/11/gongzhonghao.png"
alt="我的公众号" style="width:150px;">
<p style="text-align:center;">
我的公众号
</p>
</td>
<td style="text-align:center;border: 0;padding: 0 5px;">
<img src="https://nicepub.top/wp-content/uploads/2019/11/M_weibo_big.png"
alt="官方微博" style="width:150px;">
<p style="text-align:center;">
官方微博
</p>
</td>
</tr>
</tbody>
</table></div>
</div>


Expand Down Expand Up @@ -219,7 +233,7 @@ function checkform(){
</div>

<div class="col-12">
<button class="form__btn" type="submit" name="dosubmit"><span>Send</span></button>
<button class="form__btn" type="submit" name="dosubmit"><span>发送</span></button>
</div>
</div>
</form>
Expand Down
19 changes: 19 additions & 0 deletions spzac/js/swiper.min.js

Large diffs are not rendered by default.

85 changes: 85 additions & 0 deletions spzac/page.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
<?php
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$this->need('header.php');
?>
<!-- main content -->
<main class="main main--breadcrumb">
<!-- breadcrumb -->
<?php $this->need('assets/post - link.php'); ?>
<!-- end breadcrumb -->
<div class="container">
<div class="row">
<div class="col-12 col-md-7 col-lg-8 col-xl-9">
<!-- post -->
<?php if ($this->options->txtadimg): ?>
<div class="post post-ad"><?php $this->options->txtadimg(); ?></div>
<?php endif; ?>
<div class="post c_con">
<div class="post__head c_head">
<a href="<?php $this->permalink(); ?>" class="post__head-img">
<?php $email=$this->author->mail; $imgUrl = getGravatar($email);echo '<img src="'.$imgUrl.'" srcset="'.$imgUrl.'" class="avatar avatar-140 photo" height="46" width="46">'; ?>
</a>
<div class="post__head-title">
<h5><a href="#"><?php $this->author->screenName(); ?></a></h5>
<p><span class="autlv aut-4 vs">V</span><?php $this->date('F j, Y'); ?></p>
</div>
<div class="post__dropdown">
<?php if ($this->is('post')) : ?><?php if ($this->fields->img): ?>
<a class="post__actions-btn post__actions-btn--red comiis_poster_a" href="javascript:;">
<i class="icon iconfont icon-ic_camera_line"></i>
</a>
<?php endif; ?><?php endif; ?>
</div>
</div>
<?php if (($this->fields->videourl)&&($this->options->pdmapi)):?>
<?php $this->need('dmplay/post - dmplay.php'); ?>
<?php endif; ?>
<h2 class="post__title"><?php $this->title(); ?></h2>
<div class="post__description conts">
<?php $str=$this->content; echo costcn($this->cid,$this->remember('mail',true),$str,$this->user->hasLogin()); ?> <div class="donate-panel" style="text-align:center;margin-top:5px;"><?php Typecho_Plugin::factory('rootvip.cn.Donate')->Donate(); ?></div>
</div>
<?php if ($this->fields->Copyrightnew =='0'):?>
<div class="Copyrightnew">原创文章,作者:<?php $this->author->screenName(); ?>,如若转载,请注明出处:<?php $this->permalink() ?></div>
<?php elseif($this->fields->Copyrightnew =='2') : ?>
<div class="Copyrightnew">本文经授权后发布,本文观点不代表立场,转载请联系原作者。</div>
<?php else : ?>
<div class="Copyrightnew">本文来自投稿,不代表本站立场,如若转载,请注明出处:<?php $this->permalink() ?></div>
<?php endif; ?>
<div class="downmoi"></div>
<div class="post__tags">
<?php $this->tags(' ', true, ''); ?>
</div>
<div class="post__stats">
<div>
<a class="post__comments" data-toggle="collapse" href="#collapse3" role="button" aria-expanded="false" aria-controls="collapse3"><i class="icon iconfont icon-ic_talk_line"></i> <span><?php $this->commentsNum('0 评论', '1 条评论', '%d 条评论'); ?></span></a>
</div>
<div class="post__views">
<i class="icon iconfont icon-ic_visible"></i> <span><?php Postviews($this); ?></span>
</div>
</div>
</div>
<!-- end post -->
<?php if ($this->options->txtaddown): ?>
<div class="post post-ad"><?php $this->options->txtaddown(); ?></div>
<?php endif; ?>
<!-- comments -->
<h3 class="main__title"><?php _e('发表评论'); ?></h3>
<?php $this->need('comments.php'); ?>
<!-- end comments -->
</div>

<?php if ($this->fields->down): ?>
<?php $this->need('down - sider.php'); ?>
<?php else: ?>
<?php $this->need('info - sider.php'); ?>
<?php endif; ?>

</div>
</div>
</main>
<!-- end main content -->

<!-- footer -->
<?php $this->need('footer.php'); ?>
<!-- end footer -->