优化首页展示,添加动画效果

This commit is contained in:
hdm 2022-06-05 17:49:39 +08:00
parent c7940e2cb3
commit c1d8c383ad
7 changed files with 79 additions and 53 deletions

View File

@ -1,25 +1,26 @@
{extend name="common/base"/}
{block name="style"}
<link rel="stylesheet" href="{__CSS__}/index.css?v={:get_system_config('web','version')}">
<link rel="stylesheet" href="{__JS__}/aos/aos.css" />
{/block}
<!-- 主体 -->
{block name="body"}
{include file="common/header" nav='info' /}
<div class="index">
<div class="intro">
<div class="intro-box">
<div class="intro-info">
<div class="container">
<div class="intro-info" data-aos="fade-down">
<div class="intro-title">勾股CMS让WEB开发更简单</div>
<div class="intro-text">勾股CMS是一套基于ThinkPHP6 + Layui + MySql打造的轻量级、高性能极速后台开发框架。<br/>系统后台各管理模块,一目了然,操作简单,通用型的后台权限管理框架,干净不臃肿、极易上手、开箱即用。<br/>系统设计思想很简单,以简洁为原则,结构清晰,易于功能扩展,代码维护,非常容易定制和二次开发,帮助开发者简单高效降低二次开发成本。</div>
<div class="intro-text">勾股CMS是一套基于ThinkPHP6 + Layui + MySql打造的轻量级、高性能极速后台开发框架。<br/>系统各管理模块,一目了然,操作简单,通用型的后台权限管理框架,干净不臃肿、极易上手、开箱即用。<br/>系统以简洁为原则,结构清晰,易于功能扩展,代码维护,非常容易定制和二次开发,帮助开发者简单高效降低二次开发成本。</div>
</div>
<div class="intro-ops">
<div class="intro-ops" data-aos="fade-up" data-aos-delay="300">
<div class="cms-download">
<a href="/home/index/down.html" target="_blank">立即下载</a>
<a href="/home/index/down.html" target="_blank">开源免费下载</a>
</div>
<div class="cms-version">
<span>当前版本:<i>v{:CMS_VERSION}</i></span>
<span><a href="/home/index/logs.html" rel="nofollow" target="_blank">更新日志</a></span>
<span><a href="https://www.bt.cn/?invite_code=MV9zbG93ank=" rel="nofollow" target="_blank">推荐使用宝塔面板部署</a></span>
<a href="/home/index/logs.html" rel="nofollow" target="_blank">更新日志</a>
<a href="https://www.bt.cn/?invite_code=MV9zbG93ank=" rel="nofollow" target="_blank">推荐使用宝塔面板部署</a>
</div>
<div class="cms-other">
<a href="https://gitee.com/gougucms/gougucms" target="_blank" rel="nofollow" class="site-fork">
@ -28,15 +29,16 @@
</div>
</div>
</div>
<div class="intro-img">
<div class="intro-img" data-aos="fade-up" data-aos-delay="600">
<img src="{__IMG__}/banner_bg.png" />
</div>
</div>
<div class="advantage">
<div class="advantage-title">系统特色</div>
<div class="advantage-sub-title">完全免费开源,系统易于功能扩展,代码维护,非常容易定制和二次开发。</div>
<div class="container">
<div class="advantage-title" data-aos="fade-up">系统特色</div>
<div class="advantage-sub-title" data-aos="fade-up">完全免费开源,系统易于功能扩展,代码维护,非常容易定制和二次开发。</div>
<div class="item-wrap">
<div class="advantage-item">
<div class="advantage-item" data-aos="fade-up" data-aos-delay="200">
<div class="feature">
<div class="part-icon"><img src="{__IMG__}/code.png"></div>
<div class="part-text">
@ -45,7 +47,7 @@
</div>
</div>
</div>
<div class="advantage-item">
<div class="advantage-item" data-aos="fade-up" data-aos-delay="300">
<div class="feature">
<div class="part-icon"><img src="{__IMG__}/auth.png"></div>
<div class="part-text">
@ -54,7 +56,7 @@
</div>
</div>
</div>
<div class="advantage-item">
<div class="advantage-item" data-aos="fade-up" data-aos-delay="400">
<div class="feature">
<div class="part-icon"><img src="{__IMG__}/log.png"></div>
<div class="part-text">
@ -63,24 +65,25 @@
</div>
</div>
</div>
<div class="advantage-item">
<div class="advantage-item" data-aos="fade-up" data-aos-delay="500">
<div class="feature">
<div class="part-icon"><img src="{__IMG__}/bak.png"></div>
<div class="part-text">
<h3>安全的数据备份</h3>
<p>支持在线自由备份、恢复数据库,提供优化表、修复表的功能,无惧数据丢失及人为损坏。</p>
<p>支持在线自由备份、下载数据、恢复数据库,提供优化表、修复表的功能,无惧数据丢失及人为损坏。</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="cms-banner">
<div class="blog">
<div class="container">
<img src="https://blog.gougucms.com/static/admin/images/login_logo.png">
<span>轻巧的博客系统</span>
<span>开源的博客系统</span>
<ul>
<li>● 基于勾股CMS二次开发,一脉相承</li>
<li>● 简约、易用、轻快、内存低等特点</li>
<li>● 基于勾股CMS开发一脉相承</li>
<li>● 简约、易用、轻快等特点</li>
</ul>
<ul>
<li>● 集成文章、动态、归档、访问统计等功能</li>
@ -90,14 +93,15 @@
</div>
</div>
<div class="function">
<div class="function-title">功能矩阵</div>
<div class="function-sub-title">系统后台集成了主流的通用功能登录验证、系统配置、操作日志管理、角色权限、功能模块、功能节点、导航设置、网站地图、轮播广告、友情链接、TAG关键字管理、搜索关键字管理、文件上传、数据备份/还原、文章功能、商品功能、用户等级、用户管理、用户操作日志、用户注册/登录、 API接口等。更多的个性化功能可以基于当前系统便捷做二次开发。</div>
<div class="function-wrap">
<div class="container">
<div class="function-title" data-aos="fade-down">功能矩阵</div>
<div class="function-sub-title" data-aos="fade-down">系统后台集成了主流的通用功能登录验证、系统配置、操作日志管理、角色权限、功能模块、功能节点、导航设置、网站地图、轮播广告、友情链接、TAG关键字管理、搜索关键字管理、文件上传、数据备份/还原、文章功能、商品功能、单页面管理、用户等级、用户管理、用户操作日志、用户注册/登录、 API接口等。更多的个性化功能可以基于当前系统便捷做二次开发。</div>
<div class="function-wrap" data-aos="fade-up">
<div class="function-img">
<img src="{__IMG__}/function.png">
</div>
<div class="function-main">
<div class="function-item">
<div class="function-item" data-aos="fade-up" data-aos-delay="200">
<div class="item-box">
<img src="{__IMG__}/system.png">
<h3>系统管理</h3>
@ -114,7 +118,7 @@
<li><span></span>数据还原</li>
</ul>
</div>
<div class="function-item">
<div class="function-item" data-aos="fade-up" data-aos-delay="300">
<div class="item-box">
<img src="{__IMG__}/data.png">
<h3>基础数据</h3>
@ -125,10 +129,10 @@
<li><span></span>轮播广告</li>
<li><span></span>友情链接</li>
<li><span></span>SEO关键字</li>
<li><span></span>搜索关键</li>
<li><span></span>搜索词</li>
</ul>
</div>
<div class="function-item">
<div class="function-item" data-aos="fade-up" data-aos-delay="400">
<div class="item-box">
<img src="{__IMG__}/user.png">
<h3>平台用户</h3>
@ -140,7 +144,7 @@
<li><span></span>操作日志</li>
</ul>
</div>
<div class="function-item">
<div class="function-item" data-aos="fade-up" data-aos-delay="500">
<div class="item-box">
<img src="{__IMG__}/actrcle.png">
<h3>资讯中心</h3>
@ -150,7 +154,7 @@
<li><span></span>文章列表</li>
</ul>
</div>
<div class="function-item">
<div class="function-item" data-aos="fade-up" data-aos-delay="600">
<div class="item-box">
<img src="{__IMG__}/goods.png">
<h3>商品中心</h3>
@ -161,16 +165,24 @@
</ul>
</div>
</div>
</div>
</div>
<div style="text-align:center; width: 1200px; margin: 30px auto 0; background-color: #fff;padding:10px;border-radius: 10px; box-shadow: 0 0 10px rgb(0 0 0 / 10%);">
<div class="container">
<div style="text-align:center; width: 100%; margin: 30px auto 0; background-color: #fff; padding:10px; box-sizing: border-box; border-radius: 10px; box-shadow: 0 0 10px rgb(0 0 0 / 10%);">
<a href="https://curl.qcloud.com/xeKz2noI" target="_blank"><img src="https://www.gougucms.com/storage/image/1200x90.jpg" style="width:100%;border-radius: 6px;"></a>
</div>
</div>
</div>
{/block}
<!-- /主体 -->
<!-- 脚本 -->
{block name="script"}
<script src="{__JS__}/aos/aos.js"></script>
<script>
AOS.init({
easing: 'ease-in-out-sine'
});
</script>
{/block}
<!-- /脚本 -->

View File

@ -1,7 +1,7 @@
{extend name="common/base"/}
<!-- 样式 -->
{block name="style"}
<link rel="stylesheet" href="/static/layui/css/layui.css?v=1.0.2">
<link rel="stylesheet" href="/static/assets/layui/css/layui.css?v=1.0.2">
{/block}
<!-- /样式 -->
<!-- 主体 -->

View File

@ -1,6 +1,6 @@
{extend name="common/base"/}
{block name="style"}
<link rel="stylesheet" href="https://www.gougucms.com/static/home/dev/aos.css" />
<link rel="stylesheet" href="{__JS__}/aos/aos.css" />
<link rel="stylesheet" href="https://www.gougucms.com/static/home/dev/dev.css" />
{/block}
{block name="title"}
@ -190,7 +190,7 @@
</section>
{/block}
{block name="script"}
<script src="https://www.gougucms.com/static/home/dev/aos.js"></script>
<script src="{__JS__}/aos/aos.js"></script>
<script src="https://www.gougucms.com/static/home/js/layer/layer.js"></script>
<script>
AOS.init({

View File

@ -1,6 +1,6 @@
{extend name="common/base"/}
{block name="style"}
<link rel="stylesheet" href="https://www.gougucms.com/static/home/dev/aos.css" />
<link rel="stylesheet" href="{__JS__}/aos/aos.css" />
<link rel="stylesheet" href="https://www.gougucms.com/static/home/oa/oa.css" />
{/block}
{block name="title"}
@ -258,7 +258,7 @@
{/block}
{block name="script"}
<script src="https://www.gougucms.com/static/home/dev/aos.js"></script>
<script src="{__JS__}/aos/aos.js"></script>
<script src="https://www.gougucms.com/static/home/js/layer/layer.js"></script>
<script>
AOS.init({

View File

@ -1,17 +1,16 @@
.container{width:1220px; height:100%; margin:0 auto; position:relative;}
.index{width:100%;margin-top: 60px;}
.intro{ width:100%; height:660px; position: relative; background: url(../images/banner_1.png) no-repeat center 0;}
.intro-box{ width: 1226px; margin: 0 auto;padding: 60px 0; font-size: 18px; color: #fff; font-weight: 100;}
.intro{ width:100%; height:660px; position: relative; background: url(../images/banner_1.png) no-repeat center 0; font-size: 18px; color: #fff; font-weight: 100;}
.intro-img{width: 518px; position: absolute; bottom:0; left:0;}
.intro-img img{width: 100%;}
.intro-info{ line-height: 2.4;}
.intro-info{ line-height: 2.4; padding-top: 60px;}
.intro-title{font-size: 42px;color: #fff; margin: 10px 0;}
.intro-ops{text-align: center;padding: 60px 0;}
.cms-download a{width: 268px; line-height: 66px; font-size: 20px; display: inline-block; background-color: #EB4336; color: #fff; border-radius: 4px;}
.cms-download a{width: 200px; line-height: 66px; font-size: 20px; display: inline-block; background-color: #EB4336; color: #fff; border-radius: 4px;}
.cms-download a:hover{opacity: .9;}
.cms-version{padding: 32px 0; font-size: 14px;}
.cms-version a{color:#fff; margin: 0 10px;}
.cms-other a{border: 1px solid #77a5e8; color:#b6d5ff; font-size: 14px; padding: 6px 20px; margin: 0 20px; border-radius: 3px;}
.cms-version a{color:#fff; margin-left: 16px;}
.cms-other a{border: 1px solid #77a5e8; color:#b6d5ff; font-size: 14px; padding: 6px 20px; border-radius: 3px;}
.cms-other a:hover{color: #fff; border-color: #fff;}
.advantage {background:#f2f2f2; width: 100%; text-align: center; padding: 80px 0; font-weight: 100;}
@ -33,27 +32,40 @@
.part-icon img { width: 60px;height: 60px;}
.cms-banner{width:100%; height:120px; background-color:#4385F5}
.blog {width: 1220px;margin: auto; padding: 30px 0; color: rgba(255,255,255,0.9);overflow: hidden;}
.blog img {display: block; float: left; height: 60px; margin-right: 2px;}
.blog span { display: block; float: left; line-height: 60px; margin-right:45px; font-size: 28px; font-weight: 100;}
.blog ul { overflow: hidden; float: left; margin-right:45px;}
.blog ul li {font-size: 16px; padding: 5px 0;font-weight: 100;}
.blog a {float: right;display: block; margin-top: 12px; padding: 6px 24px 7px; border: solid 2px #ed5d18; border-radius: 100px; background: #ed5d18; color: #fff; font-size: 16px; }
.cms-banner .container {padding: 30px 0; color: rgba(255,255,255,0.9); overflow: hidden;}
.cms-banner img {display: block; float: left; height: 60px; margin-right: 2px;}
.cms-banner span { display: block; float: left; line-height: 60px; margin-right:36px; font-size: 24px; font-weight: 100;}
.cms-banner ul { overflow: hidden; float: left; margin-right:36px;}
.cms-banner ul li {font-size: 16px; padding: 5px 0;font-weight: 100;}
.cms-banner a {float: right;display: block; margin-top: 12px; padding: 6px 24px 7px; border: solid 2px #ed5d18; border-radius: 100px; background: #ed5d18; color: #fff; font-size: 16px; }
.function {background:#f2f2f2; width: 100%; text-align: center; padding: 80px 0;}
.function-title{font-size: 42px; font-weight: 500; text-align: center; font-weight: 100;}
.function-sub-title{font-size: 18px; padding: 20px 0 160px; line-height:1.8; font-weight: 100; text-align: left; width:1220px; margin:0 auto;}
.function-wrap{width:1220px;position: relative; margin:0 auto; background-color: #fff; padding:180px 0 30px; border-radius: 10px; box-shadow: 0 0 10px rgb(0 0 0 / 10%);}
.function-sub-title{font-size: 18px; padding: 20px 0 160px; line-height:1.8; font-weight: 100; text-align: left;}
.function-wrap{width:100%;position: relative; margin:0 auto; background-color: #fff; padding:180px 0 30px; border-radius: 10px; box-shadow: 0 0 10px rgb(0 0 0 / 10%);}
.function-img{width: 100%;position: absolute; top: -96px;}
.function-main{display: flex; justify-content: center; padding: 30px;
.function-main{display: flex; justify-content: center; padding: 24px;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
}
.function-item { width: 282px; font-size: 15px; line-height: 1.5; margin:0 12px; word-wrap: break-word;}
.function-item { width: 220px; font-size: 15px; line-height: 1.5; margin:0 12px; word-wrap: break-word;}
.item-box{padding: 20px 0; background-color: #4385F5; background: linear-gradient(to left, #4385F5, #00aaff); border-radius: 8px; color: #fff;margin-bottom: 10px;}
.function-item ul li { width: 44%; float: left; padding:5px 3%; text-align: left; font-weight: 100;}
.function-item ul li span{font-size: 16px; color: #4385F5; font-weight: 800; margin-right: 3px;}
.item-box h3{font-size: 18px; font-weight: 100; padding-top:10px;}
.item-box img{height:80px;}
.item-box img{height:80px;}
@media (max-width: 1280px) {
.container{width:1026px;}
.intro-img{width: 390px; }
.cms-banner img{height:50px;}
.cms-banner span{font-size: 22px; line-height: 50px;}
.cms-banner ul li {font-size: 14px;}
.function-sub-title{ padding: 20px 0 120px;}
.function-img{top: -66px;}
.function-img img{width: 360px;}
.function-item {font-size: 13px;}
.function-item ul li span{font-size: 14px; margin-right: 1px;}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long