批量更新
| @ -1,83 +1,52 @@ | ||||
| <footer class="footer"> | ||||
| <footer class="footer" style="background-image: url(__IMAGES__/footer-bg-1.png)"> | ||||
|     <div class="container"> | ||||
|         <div class="footer-content"> | ||||
|             <div class="footer-logo"> | ||||
|                 <h3>{$config['admin_name']}</h3> | ||||
|         <div class="row" style="width: 100%;"> | ||||
|             <div class="row-main"> | ||||
|                 <div class="mr-20"> | ||||
|                     <img src="__IMAGES__/logo-l-w.png" alt="" height="70"> | ||||
|                     <p class="text-white-50 my-4 f18" style="width: 400px;">美天智能科技,这里是介绍!</p> | ||||
|                 </div> | ||||
|             <div class="footer-links"> | ||||
|                 <ul> | ||||
|                     <li><a href="/">首页</a></li> | ||||
|                     <li><a href="/about">关于我们</a></li> | ||||
|                     <li><a href="/contact">联系我们</a></li> | ||||
|                     <li><a href="/service">服务条款</a></li> | ||||
|                 <div style="display: flex; justify-content: space-between;width: 100%;margin-right: 200px;"> | ||||
|                     <div> | ||||
|                         <h4 class="text-white f-20 font-weight-normal mb-3">关于我们</h4> | ||||
|                         <ul class="list-unstyled footer-sub-menu"> | ||||
|                             <li><a href="#" class="footer-link">概况</a></li> | ||||
|                             <li><a href="#" class="footer-link">资讯</a></li> | ||||
|                             <li><a href="#" class="footer-link">加入我们</a></li> | ||||
|                             <li><a href="#" class="footer-link">联系我们</a></li> | ||||
|                         </ul> | ||||
|                     </div> | ||||
|             <div class="footer-contact"> | ||||
|                 <p>电话:{$config['phone'] ?? '暂无'}</p> | ||||
|                 <p>邮箱:{$config['email'] ?? 'admin@example.com'}</p> | ||||
|                 <p>地址:{$config['address'] ?? '暂无地址信息'}</p> | ||||
|                     <div> | ||||
|                         <h4 class="text-white f-20 font-weight-normal mb-3">商务合作</h4> | ||||
|                         <ul class="list-unstyled footer-sub-menu"> | ||||
|                             <li><a href="#" class="footer-link">商务合作</a></li> | ||||
|                         </ul> | ||||
|                     </div> | ||||
|                     <div> | ||||
|                         <h4 class="text-white f-20 font-weight-normal mb-3">服务支持</h4> | ||||
|                         <ul class="list-unstyled footer-sub-menu"> | ||||
|                             <li><a href="#" class="footer-link">常见问答</a></li> | ||||
|                             <li><a href="#" class="footer-link">软件下载</a></li> | ||||
|                             <li><a href="#" class="footer-link">服务政策</a></li> | ||||
|                             <li><a href="#" class="footer-link">投诉建议</a></li> | ||||
|                         </ul> | ||||
|                     </div> | ||||
|                 </div> | ||||
| 
 | ||||
|                 <div> | ||||
|                     <div class="text-center"> | ||||
|                         <img src="__IMAGES__/code.png" alt="微信二维码" class="img-fluid" style="max-width: 150px;"> | ||||
|                         <p class="text-white-50 mt-2">微信公众号</p> | ||||
|                     </div> | ||||
|                 </div> | ||||
|             </div> | ||||
|         <div class="footer-bottom"> | ||||
|             <p>版权所有 © {date('Y')} {$config['admin_name']} - 保留所有权利</p> | ||||
|         </div> | ||||
|     </div> | ||||
| </footer> | ||||
| 
 | ||||
| <style> | ||||
| .footer { | ||||
|     background-color: #333;
 | ||||
|     color: #fff;
 | ||||
|     padding: 30px 0; | ||||
|     margin-top: 30px; | ||||
| } | ||||
| .container { | ||||
|     max-width: 1200px; | ||||
|     margin: 0 auto; | ||||
|     padding: 0 15px; | ||||
| } | ||||
| .footer-content { | ||||
|     display: flex; | ||||
|     flex-wrap: wrap; | ||||
|     justify-content: space-between; | ||||
|     margin-bottom: 20px; | ||||
| } | ||||
| .footer-logo h3 { | ||||
|     margin: 0; | ||||
|     font-size: 24px; | ||||
|     color: #fff;
 | ||||
| } | ||||
| .footer-links ul { | ||||
|     list-style: none; | ||||
|     padding: 0; | ||||
|     margin: 0; | ||||
| } | ||||
| .footer-links li { | ||||
|     margin-bottom: 10px; | ||||
| } | ||||
| .footer-links a { | ||||
|     color: #ccc;
 | ||||
|     text-decoration: none; | ||||
|     transition: color 0.3s; | ||||
| } | ||||
| .footer-links a:hover { | ||||
|     color: #fff;
 | ||||
| } | ||||
| .footer-contact p { | ||||
|     margin: 5px 0; | ||||
|     color: #ccc;
 | ||||
| } | ||||
| .footer-bottom { | ||||
|     text-align: center; | ||||
|     padding-top: 20px; | ||||
|     border-top: 1px solid #444;
 | ||||
| } | ||||
| @media (max-width: 768px) { | ||||
|     .footer-content { | ||||
|         flex-direction: column; | ||||
|     } | ||||
|     .footer-logo, .footer-links, .footer-contact { | ||||
|         margin-bottom: 20px; | ||||
|     } | ||||
| } | ||||
| </style> | ||||
| <section class="copyright text-center"> | ||||
|     <div class="container wow fadeInUp animated" data-wow-delay="400ms" | ||||
|         style="visibility: visible; animation-delay: 400ms; animation-name: fadeInUp;"> | ||||
|         <p class="copyright__text">Copyright <span class="dynamic-year">2025</span> | All Rights By <a | ||||
|                 href="http://www.yunzer.cn">Yunzer</a></p> | ||||
|     </div> | ||||
| </section> | ||||
| @ -1,22 +1,158 @@ | ||||
| <header class="site-header"> | ||||
|     <div class="logo"> | ||||
|         <a href="/">网站名称</a> | ||||
|     </div> | ||||
|     <nav class="main-nav"> | ||||
|         <ul> | ||||
|             <li><a href="/">首页</a></li> | ||||
|             <li><a href="/about">关于我们</a></li> | ||||
|             <li><a href="/services">服务</a></li> | ||||
|             <li><a href="/contact">联系我们</a></li> | ||||
| <div style="display: flex;flex-direction: column;"> | ||||
|     <div class="topbar-one"> | ||||
|         <div class="container"> | ||||
|             <div style="width: 70%;"> | ||||
|                 <ul class="list-unstyled topbar-one__info"> | ||||
|                     <li class="topbar-one__info__item"><span class="topbar-one__info__icon fas fa-phone-alt"></span><a | ||||
|                             href="tel:629-555-0129">(629) 555-0129</a></li> | ||||
|                     <li class="topbar-one__info__item"><span class="topbar-one__info__icon fas fa-envelope"></span><a | ||||
|                             href="mailto:info@example.com">info@example.com</a></li> | ||||
|                 </ul> | ||||
|     </nav> | ||||
|     <div class="user-actions"> | ||||
|         <?php if(isset($_SESSION['user_id'])): ?>
 | ||||
|             <a href="/user/profile">个人中心</a> | ||||
|             <a href="/user/logout">退出登录</a> | ||||
|         <?php else: ?>
 | ||||
|             <a href="/user/login">登录</a> | ||||
|             <a href="/user/register">注册</a> | ||||
|         <?php endif; ?>
 | ||||
|             </div> | ||||
| </header> | ||||
|             <div class="topbar-one__social" style="width: 30%;"> | ||||
|                 <a href="https://facebook.com"><i class="fab fa-facebook-f"></i></a> | ||||
|                 <a href="https://twitter.com"><i class="fab fa-twitter"></i></a> | ||||
|                 <a href="https://instagram.com"><i class="fab fa-instagram"></i></a> | ||||
|                 <a href="https://www.youtube.com/"><i class="fab fa-linkedin"></i></a> | ||||
|             </div> | ||||
|         </div> | ||||
|     </div> | ||||
|     <!-- 导航栏 --> | ||||
|     <div class="main-menu"> | ||||
|         <div class="container"> | ||||
|             <div class="main-menu__logo"> | ||||
|                 <a href="index.html"><img src="__IMAGES__/logo.png" width="186" alt="Logo"></a> | ||||
|             </div> | ||||
|             <div class="main-menu__nav"> | ||||
|                 <ul class="main-menu__list"> | ||||
|                     <li><a href="index.html">首页</a></li> | ||||
|                     <li><a href="about.html">关于我们</a></li> | ||||
|                     <li><a href="products.html">产品服务</a></li> | ||||
|                     <li><a href="contact.html">联系我们</a></li> | ||||
|                 </ul> | ||||
|             </div> | ||||
|             <div class="main-menu__right"> | ||||
|                 <a href="#" class="main-menu__search"><i class="layui-icon layui-icon-search"></i></a> | ||||
|                 <a href="login.html" class="main-menu__login"><i class="layui-icon layui-icon-username"></i></a> | ||||
|             </div> | ||||
|         </div> | ||||
|     </div> | ||||
|     <div class="main-header"> | ||||
|         <!-- Banner轮播 --> | ||||
|         <div class="layui-carousel" id="test10" lay-filter="test10"> | ||||
|             <div carousel-item=""> | ||||
|                 <div> | ||||
|                     <div class="banner-content"> | ||||
|                         <span class="banner-title">智能科技 引领未来</span> | ||||
|                         <span class="banner-desc">打造智能化解决方案,助力企业数字化转型,打造智能化解决方案,助力企业数字化转型,打造智能化解决方案,助力企业数字化转型</span> | ||||
|                         <a href="#" class="btn btn-primary" style="margin-top: 20px;width:150px">了解更多</a> | ||||
|                     </div> | ||||
|                     <a href="#" class="banner-slide"> | ||||
|                         <img src="__IMAGES__/banner/banner1.jpg" alt="Banner 1"> | ||||
|                     </a> | ||||
|                 </div> | ||||
|                 <div> | ||||
|                     <div class="banner-content"> | ||||
|                         <span class="banner-title">创新技术 卓越服务</span> | ||||
|                         <spanp class="banner-desc">以创新科技为核心,为客户提供优质服务</spanp> | ||||
|                     </div> | ||||
|                     <a href="#" class="banner-slide"> | ||||
|                         <img src="__IMAGES__/banner/banner2.jpg" alt="Banner 2"> | ||||
|                     </a> | ||||
|                 </div> | ||||
|                 <div> | ||||
|                     <div class="banner-content"> | ||||
|                         <span class="banner-title">专业团队 值得信赖</span> | ||||
|                         <spanp class="banner-desc">资深专家团队,为您提供专业的技术支持</spanp> | ||||
|                     </div> | ||||
|                     <a href="#" class="banner-slide"> | ||||
|                         <img src="__IMAGES__/banner/banner3.jpg" alt="Banner 3"> | ||||
|                     </a> | ||||
|                 </div> | ||||
|                 <div> | ||||
|                     <div class="banner-content"> | ||||
|                         <span class="banner-title">全球视野 本地服务</span> | ||||
|                         <span class="banner-desc">立足本地,放眼全球,打造国际化服务</span> | ||||
|                     </div> | ||||
|                     <a href="#" class="banner-slide"> | ||||
|                         <img src="__IMAGES__/banner/banner4.jpg" alt="Banner 4"> | ||||
|                     </a> | ||||
|                 </div> | ||||
|             </div> | ||||
|         </div> | ||||
|     </div> | ||||
| </div> | ||||
| 
 | ||||
| <!-- 固定导航 --> | ||||
| <div class="sticky-nav" style="display: none;"> | ||||
|     <div class="container"> | ||||
|         <div class="sticky-nav__logo"> | ||||
|             <a href="index.html"><img src="__IMAGES__/logo.png" width="150" alt="Logo"></a> | ||||
|         </div> | ||||
|         <div class="sticky-nav__menu"> | ||||
|             <ul> | ||||
|                 <li><a href="index.html">首页</a></li> | ||||
|                 <li><a href="about.html">关于我们</a></li> | ||||
|                 <li><a href="products.html">产品服务</a></li> | ||||
|                 <li><a href="contact.html">联系我们</a></li> | ||||
|             </ul> | ||||
|         </div> | ||||
|         <div class="sticky-nav__right"> | ||||
|             <a href="#" class="main-menu__search"><i class="layui-icon layui-icon-search"></i></a> | ||||
|             <a href="login.html" class="main-menu__login"><i class="layui-icon layui-icon-username"></i></a> | ||||
|         </div> | ||||
|     </div> | ||||
| </div> | ||||
| 
 | ||||
| <script> | ||||
| layui.use(['carousel', 'form'], function(){ | ||||
|   var carousel = layui.carousel | ||||
|   ,form = layui.form; | ||||
|    | ||||
|   //图片轮播
 | ||||
|   carousel.render({ | ||||
|     elem: '#test10' | ||||
|     ,width: '100%' | ||||
|     ,height: '86vh' | ||||
|     ,interval: 4000 | ||||
|   }); | ||||
|    | ||||
|   var $ = layui.$, active = { | ||||
|     set: function(othis){ | ||||
|       var THIS = 'layui-bg-normal' | ||||
|       ,key = othis.data('key') | ||||
|       ,options = {}; | ||||
|        | ||||
|       othis.css('background-color', '#5FB878').siblings().removeAttr('style');  | ||||
|       options[key] = othis.data('value'); | ||||
|       ins3.reload(options); | ||||
|     } | ||||
|   }; | ||||
|    | ||||
|   //监听开关
 | ||||
|   form.on('switch(autoplay)', function(){ | ||||
|     ins3.reload({ | ||||
|       autoplay: this.checked | ||||
|     }); | ||||
|   }); | ||||
|    | ||||
|   $('.demoSet').on('keyup', function(){ | ||||
|     var value = this.value | ||||
|     ,options = {}; | ||||
|     if(!/^\d+$/.test(value)) return; | ||||
|      | ||||
|     options[this.name] = value; | ||||
|     ins3.reload(options); | ||||
|   }); | ||||
|    | ||||
|   // 监听滚动事件
 | ||||
|   $(window).scroll(function() { | ||||
|     var scrollTop = $(window).scrollTop(); | ||||
|     if (scrollTop > 150) { // 当滚动超过150px时显示固定导航
 | ||||
|       $('.sticky-nav').fadeIn(); | ||||
|     } else { | ||||
|       $('.sticky-nav').fadeOut(); | ||||
|     } | ||||
|   }); | ||||
| }); | ||||
| </script> | ||||
|  | ||||
| @ -1,410 +1,190 @@ | ||||
| <main class="main-content"> | ||||
|     <div class="container"> | ||||
|         <section class="hero-section"> | ||||
|             <div class="hero-content"> | ||||
|                 <h1>欢迎来到我们的网站</h1> | ||||
|                 <p>我们提供专业的服务和优质的产品</p> | ||||
|                 <a href="#" class="btn btn-primary">了解更多</a> | ||||
|         <!-- 文章模块 --> | ||||
|         <div class="core-block core-module" id="opencourse" style="order: 3;"> | ||||
|             <div class="module-header"> | ||||
|                 <div> | ||||
|                     <div class="ModuleTitle_titleWrapper"> | ||||
|                         <h3 class="ModuleTitle_title">站点新闻</h3> | ||||
|                         <div class="ModuleTitle_subtitle">新鲜资讯 尽在掌握</div> | ||||
|                     </div> | ||||
|                 </div> | ||||
|                 <div class="more-btn">更多</div> | ||||
|             </div> | ||||
|             <div class="product-list"> | ||||
|                 <div class="opencourse product-item"> | ||||
|                     <div class="video"><img data-v-4477fdbc="" | ||||
|                             src="https://static001.geekbang.org/resource/image/ff/b8/ff18d73bec1040abf3d7bc7bffb532b8.jpg?x-oss-process=image/resize,w_423,h_238/format,webp" | ||||
|                             alt="" class="cover"><!----></div> | ||||
|                     <div class="introduction"> | ||||
|                         <div class="title">闪客 · 怎么理解 AI?</div> | ||||
|                         <div class="subtitle">闪客 | B 站知名科普 UP 主</div> | ||||
|                     </div> | ||||
|                     <div class="bottom"> | ||||
|                         <div class="desc">1025人学过</div> | ||||
|                         <!-- <div class="btn">观看: 123人</div> --> | ||||
|                     </div> | ||||
|                 </div> | ||||
|                 <div class="opencourse product-item"> | ||||
|                     <div class="video"><img data-v-4477fdbc="" | ||||
|                             src="https://static001.geekbang.org/resource/image/76/cd/762ee7f34a76fbff61d20aae313833cd.jpg?x-oss-process=image/resize,w_423,h_238/format,webp" | ||||
|                             alt="" class="cover"> | ||||
|                     </div> | ||||
|                     <div class="introduction"> | ||||
|                         <div class="title">多模态对话引擎实战</div> | ||||
|                         <div class="subtitle">吴桐 | 网易云信音视频技术负责人,流媒体首席架构师</div> | ||||
|                     </div> | ||||
|                     <div class="bottom"> | ||||
|                         <div class="desc">380人学过</div> | ||||
|                         <!-- <div class="btn">观看: 123人</div> --> | ||||
|                     </div> | ||||
|                 </div> | ||||
|                 <div class="opencourse product-item"> | ||||
|                     <div class="video"><img data-v-4477fdbc="" | ||||
|                             src="https://static001.geekbang.org/resource/image/4y/da/4yyfb232bfbfbdcc6ed827c16b04a9da.jpg?x-oss-process=image/resize,w_423,h_238/format,webp" | ||||
|                             alt="" class="cover"><!----></div> | ||||
|                     <div class="introduction"> | ||||
|                         <div class="title">极客视点</div> | ||||
|                         <div class="subtitle">极客时间 | 编辑部</div> | ||||
|                     </div> | ||||
|                     <div class="bottom"> | ||||
|                         <div class="desc">12.4w人学过</div> | ||||
|                         <!-- <div class="btn">观看: 123人</div> --> | ||||
|                     </div> | ||||
|                 </div> | ||||
|                 <div class="opencourse product-item"> | ||||
|                     <div class="video"><img data-v-4477fdbc="" | ||||
|                             src="https://static001.geekbang.org/resource/image/0f/69/0f95b62cf7yy6d6yy674f090d063b669.jpg?x-oss-process=image/resize,w_423,h_238/format,webp" | ||||
|                             alt="" class="cover"><!----></div> | ||||
|                     <div class="introduction"> | ||||
|                         <div class="title">周志明的软件架构课</div> | ||||
|                         <div class="subtitle">周志明 | 博士,远光软件研究院院长,《深入理解Java虚拟机》《凤凰架构》等书作者</div> | ||||
|                     </div> | ||||
|                     <div class="bottom"> | ||||
|                         <div class="desc">6.0w人学过</div> | ||||
|                         <!-- <div class="btn">观看: 123人</div>d --> | ||||
|                     </div> | ||||
|                 </div> | ||||
|             </div> | ||||
|             <div class="hero-image"> | ||||
|                 <img src="__STATIC__/images/hero.jpg" alt="欢迎图片"> | ||||
|         </div> | ||||
|         </section> | ||||
| 
 | ||||
|         <section class="features-section"> | ||||
|             <h2 class="section-title">我们的特色</h2> | ||||
|             <div class="features-grid"> | ||||
|                 <div class="feature-card"> | ||||
|                     <div class="feature-icon"> | ||||
|                         <i class="layui-icon layui-icon-star"></i> | ||||
|                     </div> | ||||
|                     <h3>高品质服务</h3> | ||||
|                     <p>我们致力于提供最优质的服务,满足客户的各种需求。</p> | ||||
|                 </div> | ||||
|                 <div class="feature-card"> | ||||
|                     <div class="feature-icon"> | ||||
|                         <i class="layui-icon layui-icon-diamond"></i> | ||||
|                     </div> | ||||
|                     <h3>专业团队</h3> | ||||
|                     <p>我们拥有经验丰富的专业团队,为您提供最佳解决方案。</p> | ||||
|                 </div> | ||||
|                 <div class="feature-card"> | ||||
|                     <div class="feature-icon"> | ||||
|                         <i class="layui-icon layui-icon-heart"></i> | ||||
|                     </div> | ||||
|                     <h3>客户至上</h3> | ||||
|                     <p>以客户需求为中心,提供个性化的服务和支持。</p> | ||||
|         <!-- 文章模块 --> | ||||
|         <div class="core-block core-module" id="opencourse" style="order: 3;"> | ||||
|             <div class="module-header"> | ||||
|                 <div> | ||||
|                     <div class="ModuleTitle_titleWrapper"> | ||||
|                         <h3 class="ModuleTitle_title">公开课</h3> | ||||
|                         <div class="tab-container"> | ||||
|                             <div class="tab-header"> | ||||
|                                 <div class="tab-item active" data-tab="all">全部</div> | ||||
|                                 <div class="tab-item" data-tab="frontend">前端</div> | ||||
|                                 <div class="tab-item" data-tab="backend">后端</div> | ||||
|                                 <div class="tab-item" data-tab="mobile">移动端</div> | ||||
|                             </div> | ||||
|                         </div> | ||||
|         </section> | ||||
|                     </div> | ||||
|                 </div> | ||||
|                 <div class="more-btn">更多</div> | ||||
|             </div> | ||||
|             <div class="product-list"> | ||||
|                 <!-- 全部课程 --> | ||||
|                 <div class="tab-content active" data-tab="all"> | ||||
|                     <!-- 原有的课程列表内容 --> | ||||
|                     <div class="opencourse product-item"> | ||||
|                         <!-- ... 原有内容 ... --> | ||||
|                     </div> | ||||
|                     <!-- ... 其他课程项 ... --> | ||||
|                 </div> | ||||
| 
 | ||||
|         <section class="about-section"> | ||||
|             <div class="about-content"> | ||||
|                 <h2 class="section-title">关于我们</h2> | ||||
|                 <p>我们是一家专注于提供高质量服务的公司,成立于2010年。多年来,我们不断创新和发展,已经成为行业内的领先企业。</p> | ||||
|                 <p>我们的使命是通过卓越的产品和服务,帮助客户实现他们的目标和愿景。</p> | ||||
|                 <a href="#" class="btn btn-secondary">查看更多</a> | ||||
|                 <!-- 前端课程 --> | ||||
|                 <div class="tab-content" data-tab="frontend"> | ||||
|                     <div class="opencourse product-item"> | ||||
|                         <div class="video"> | ||||
|                             <img src="https://static001.geekbang.org/resource/image/ff/b8/ff18d73bec1040abf3d7bc7bffb532b8.jpg?x-oss-process=image/resize,w_423,h_238/format,webp" | ||||
|                                 alt="" class="cover"> | ||||
|                         </div> | ||||
|             <div class="about-image"> | ||||
|                 <img src="__STATIC__/images/about.jpg" alt="关于我们"> | ||||
|                         <div class="introduction"> | ||||
|                             <div class="title">Vue.js 实战教程</div> | ||||
|                             <div class="subtitle">张老师 | 资深前端工程师</div> | ||||
|                         </div> | ||||
|                         <div class="bottom"> | ||||
|                             <div class="desc">2.5w人学过</div> | ||||
|                         </div> | ||||
|                     </div> | ||||
|                     <!-- 可以添加更多前端课程 --> | ||||
|                 </div> | ||||
|         </section> | ||||
| 
 | ||||
|         <section class="products-section"> | ||||
|             <h2 class="section-title">热门产品</h2> | ||||
|             <div class="products-grid"> | ||||
|                 <div class="product-card"> | ||||
|                     <img src="__STATIC__/images/product1.jpg" alt="产品1"> | ||||
|                     <h3>产品一</h3> | ||||
|                     <p>产品描述信息,介绍产品的特点和优势。</p> | ||||
|                     <a href="#" class="btn btn-small">查看详情</a> | ||||
|                 <!-- 后端课程 --> | ||||
|                 <div class="tab-content" data-tab="backend"> | ||||
|                     <div class="opencourse product-item"> | ||||
|                         <div class="video"> | ||||
|                             <img src="https://static001.geekbang.org/resource/image/76/cd/762ee7f34a76fbff61d20aae313833cd.jpg?x-oss-process=image/resize,w_423,h_238/format,webp" | ||||
|                                 alt="" class="cover"> | ||||
|                         </div> | ||||
|                 <div class="product-card"> | ||||
|                     <img src="__STATIC__/images/product2.jpg" alt="产品2"> | ||||
|                     <h3>产品二</h3> | ||||
|                     <p>产品描述信息,介绍产品的特点和优势。</p> | ||||
|                     <a href="#" class="btn btn-small">查看详情</a> | ||||
|                         <div class="introduction"> | ||||
|                             <div class="title">PHP高级开发实战</div> | ||||
|                             <div class="subtitle">李老师 | 资深后端工程师</div> | ||||
|                         </div> | ||||
|                 <div class="product-card"> | ||||
|                     <img src="__STATIC__/images/product3.jpg" alt="产品3"> | ||||
|                     <h3>产品三</h3> | ||||
|                     <p>产品描述信息,介绍产品的特点和优势。</p> | ||||
|                     <a href="#" class="btn btn-small">查看详情</a> | ||||
|                 </div> | ||||
|                 <div class="product-card"> | ||||
|                     <img src="__STATIC__/images/product4.jpg" alt="产品4"> | ||||
|                     <h3>产品四</h3> | ||||
|                     <p>产品描述信息,介绍产品的特点和优势。</p> | ||||
|                     <a href="#" class="btn btn-small">查看详情</a> | ||||
|                         <div class="bottom"> | ||||
|                             <div class="desc">1.8w人学过</div> | ||||
|                         </div> | ||||
|                     </div> | ||||
|         </section> | ||||
|                     <!-- 可以添加更多后端课程 --> | ||||
|                 </div> | ||||
| 
 | ||||
|         <section class="contact-section"> | ||||
|             <h2 class="section-title">联系我们</h2> | ||||
|             <div class="contact-container"> | ||||
|                 <div class="contact-info"> | ||||
|                     <div class="contact-item"> | ||||
|                         <i class="layui-icon layui-icon-location"></i> | ||||
|                         <p>地址:中国上海市浦东新区张江高科技园区</p> | ||||
|                 <!-- 移动端课程 --> | ||||
|                 <div class="tab-content" data-tab="mobile"> | ||||
|                     <div class="opencourse product-item"> | ||||
|                         <div class="video"> | ||||
|                             <img src="https://static001.geekbang.org/resource/image/0f/69/0f95b62cf7yy6d6yy674f090d063b669.jpg?x-oss-process=image/resize,w_423,h_238/format,webp" | ||||
|                                 alt="" class="cover"> | ||||
|                         </div> | ||||
|                     <div class="contact-item"> | ||||
|                         <i class="layui-icon layui-icon-cellphone"></i> | ||||
|                         <p>电话:400-123-4567</p> | ||||
|                         <div class="introduction"> | ||||
|                             <div class="title">Flutter跨平台开发</div> | ||||
|                             <div class="subtitle">王老师 | 移动端架构师</div> | ||||
|                         </div> | ||||
|                     <div class="contact-item"> | ||||
|                         <i class="layui-icon layui-icon-email"></i> | ||||
|                         <p>邮箱:info@example.com</p> | ||||
|                         <div class="bottom"> | ||||
|                             <div class="desc">1.2w人学过</div> | ||||
|                         </div> | ||||
|                     </div> | ||||
|                 <div class="contact-form"> | ||||
|                     <form action="#" method="post"> | ||||
|                         <div class="form-group"> | ||||
|                             <input type="text" name="name" placeholder="您的姓名"> | ||||
|                         </div> | ||||
|                         <div class="form-group"> | ||||
|                             <input type="email" name="email" placeholder="您的邮箱"> | ||||
|                         </div> | ||||
|                         <div class="form-group"> | ||||
|                             <textarea name="message" placeholder="您的留言"></textarea> | ||||
|                         </div> | ||||
|                         <button type="submit" class="btn btn-primary">提交</button> | ||||
|                     </form> | ||||
|                     <!-- 可以添加更多移动端课程 --> | ||||
|                 </div> | ||||
|             </div> | ||||
|         </section> | ||||
|         </div> | ||||
| 
 | ||||
|     </div> | ||||
| </main> | ||||
| 
 | ||||
| <style> | ||||
| .main-content { | ||||
|     padding: 50px 0; | ||||
|     background-color: #f8f9fa;
 | ||||
| 
 | ||||
| <script> | ||||
|     document.addEventListener('DOMContentLoaded', function () { | ||||
|         // 获取所有tab项和内容
 | ||||
|         const tabItems = document.querySelectorAll('.tab-item'); | ||||
|         const tabContents = document.querySelectorAll('.tab-content'); | ||||
| 
 | ||||
|         // 为每个tab项添加点击事件
 | ||||
|         tabItems.forEach(tab => { | ||||
|             tab.addEventListener('click', function () { | ||||
|                 // 移除所有active类
 | ||||
|                 tabItems.forEach(item => item.classList.remove('active')); | ||||
|                 tabContents.forEach(content => content.classList.remove('active')); | ||||
| 
 | ||||
|                 // 添加active类到当前点击的tab
 | ||||
|                 this.classList.add('active'); | ||||
| 
 | ||||
|                 // 显示对应的内容
 | ||||
|                 const tabName = this.getAttribute('data-tab'); | ||||
|                 const activeContent = document.querySelector(`.tab-content[data-tab="${tabName}"]`); | ||||
|                 if (activeContent) { | ||||
|                     activeContent.classList.add('active'); | ||||
|                 } | ||||
| 
 | ||||
| .container { | ||||
|     max-width: 1200px; | ||||
|     margin: 0 auto; | ||||
|     padding: 0 15px; | ||||
| } | ||||
| 
 | ||||
| .section-title { | ||||
|     text-align: center; | ||||
|     margin-bottom: 40px; | ||||
|     font-size: 32px; | ||||
|     color: #333;
 | ||||
| } | ||||
| 
 | ||||
| /* 英雄区域样式 */ | ||||
| .hero-section { | ||||
|     display: flex; | ||||
|     align-items: center; | ||||
|     justify-content: space-between; | ||||
|     margin-bottom: 80px; | ||||
| } | ||||
| 
 | ||||
| .hero-content { | ||||
|     flex: 1; | ||||
|     padding-right: 50px; | ||||
| } | ||||
| 
 | ||||
| .hero-content h1 { | ||||
|     font-size: 48px; | ||||
|     margin-bottom: 20px; | ||||
|     color: #333;
 | ||||
| } | ||||
| 
 | ||||
| .hero-content p { | ||||
|     font-size: 18px; | ||||
|     margin-bottom: 30px; | ||||
|     color: #666;
 | ||||
| } | ||||
| 
 | ||||
| .hero-image { | ||||
|     flex: 1; | ||||
| } | ||||
| 
 | ||||
| .hero-image img { | ||||
|     max-width: 100%; | ||||
|     border-radius: 10px; | ||||
|     box-shadow: 0 5px 15px rgba(0,0,0,0.1); | ||||
| } | ||||
| 
 | ||||
| /* 按钮样式 */ | ||||
| .btn { | ||||
|     display: inline-block; | ||||
|     padding: 12px 30px; | ||||
|     border-radius: 5px; | ||||
|     text-decoration: none; | ||||
|     font-weight: bold; | ||||
|     transition: all 0.3s ease; | ||||
| } | ||||
| 
 | ||||
| .btn-primary { | ||||
|     background-color: #3492ED;
 | ||||
|     color: white; | ||||
| } | ||||
| 
 | ||||
| .btn-primary:hover { | ||||
|     background-color: #2a7fd9;
 | ||||
| } | ||||
| 
 | ||||
| .btn-secondary { | ||||
|     background-color: #6c757d;
 | ||||
|     color: white; | ||||
| } | ||||
| 
 | ||||
| .btn-secondary:hover { | ||||
|     background-color: #5a6268;
 | ||||
| } | ||||
| 
 | ||||
| .btn-small { | ||||
|     padding: 8px 15px; | ||||
|     font-size: 14px; | ||||
| } | ||||
| 
 | ||||
| /* 特色部分样式 */ | ||||
| .features-section { | ||||
|     margin-bottom: 80px; | ||||
| } | ||||
| 
 | ||||
| .features-grid { | ||||
|     display: grid; | ||||
|     grid-template-columns: repeat(3, 1fr); | ||||
|     gap: 30px; | ||||
| } | ||||
| 
 | ||||
| .feature-card { | ||||
|     background-color: white; | ||||
|     padding: 30px; | ||||
|     border-radius: 10px; | ||||
|     box-shadow: 0 5px 15px rgba(0,0,0,0.05); | ||||
|     text-align: center; | ||||
|     transition: transform 0.3s ease; | ||||
| } | ||||
| 
 | ||||
| .feature-card:hover { | ||||
|     transform: translateY(-10px); | ||||
| } | ||||
| 
 | ||||
| .feature-icon { | ||||
|     font-size: 48px; | ||||
|     color: #3492ED;
 | ||||
|     margin-bottom: 20px; | ||||
| } | ||||
| 
 | ||||
| .feature-card h3 { | ||||
|     margin-bottom: 15px; | ||||
|     color: #333;
 | ||||
| } | ||||
| 
 | ||||
| .feature-card p { | ||||
|     color: #666;
 | ||||
| } | ||||
| 
 | ||||
| /* 关于我们部分样式 */ | ||||
| .about-section { | ||||
|     display: flex; | ||||
|     align-items: center; | ||||
|     margin-bottom: 80px; | ||||
| } | ||||
| 
 | ||||
| .about-content { | ||||
|     flex: 1; | ||||
|     padding-right: 50px; | ||||
| } | ||||
| 
 | ||||
| .about-content h2 { | ||||
|     text-align: left; | ||||
| } | ||||
| 
 | ||||
| .about-content p { | ||||
|     margin-bottom: 20px; | ||||
|     color: #666;
 | ||||
|     line-height: 1.6; | ||||
| } | ||||
| 
 | ||||
| .about-image { | ||||
|     flex: 1; | ||||
| } | ||||
| 
 | ||||
| .about-image img { | ||||
|     max-width: 100%; | ||||
|     border-radius: 10px; | ||||
|     box-shadow: 0 5px 15px rgba(0,0,0,0.1); | ||||
| } | ||||
| 
 | ||||
| /* 产品部分样式 */ | ||||
| .products-section { | ||||
|     margin-bottom: 80px; | ||||
| } | ||||
| 
 | ||||
| .products-grid { | ||||
|     display: grid; | ||||
|     grid-template-columns: repeat(4, 1fr); | ||||
|     gap: 20px; | ||||
| } | ||||
| 
 | ||||
| .product-card { | ||||
|     background-color: white; | ||||
|     border-radius: 10px; | ||||
|     overflow: hidden; | ||||
|     box-shadow: 0 5px 15px rgba(0,0,0,0.05); | ||||
|     transition: transform 0.3s ease; | ||||
| } | ||||
| 
 | ||||
| .product-card:hover { | ||||
|     transform: translateY(-10px); | ||||
| } | ||||
| 
 | ||||
| .product-card img { | ||||
|     width: 100%; | ||||
|     height: 200px; | ||||
|     object-fit: cover; | ||||
| } | ||||
| 
 | ||||
| .product-card h3 { | ||||
|     padding: 15px 15px 5px; | ||||
|     color: #333;
 | ||||
| } | ||||
| 
 | ||||
| .product-card p { | ||||
|     padding: 0 15px 15px; | ||||
|     color: #666;
 | ||||
| } | ||||
| 
 | ||||
| .product-card .btn { | ||||
|     margin: 0 15px 15px; | ||||
| } | ||||
| 
 | ||||
| /* 联系我们部分样式 */ | ||||
| .contact-section { | ||||
|     margin-bottom: 50px; | ||||
| } | ||||
| 
 | ||||
| .contact-container { | ||||
|     display: flex; | ||||
|     background-color: white; | ||||
|     border-radius: 10px; | ||||
|     overflow: hidden; | ||||
|     box-shadow: 0 5px 15px rgba(0,0,0,0.05); | ||||
| } | ||||
| 
 | ||||
| .contact-info { | ||||
|     flex: 1; | ||||
|     padding: 40px; | ||||
|     background-color: #3492ED;
 | ||||
|     color: white; | ||||
| } | ||||
| 
 | ||||
| .contact-item { | ||||
|     display: flex; | ||||
|     align-items: center; | ||||
|     margin-bottom: 20px; | ||||
| } | ||||
| 
 | ||||
| .contact-item i { | ||||
|     font-size: 24px; | ||||
|     margin-right: 15px; | ||||
| } | ||||
| 
 | ||||
| .contact-form { | ||||
|     flex: 2; | ||||
|     padding: 40px; | ||||
| } | ||||
| 
 | ||||
| .form-group { | ||||
|     margin-bottom: 20px; | ||||
| } | ||||
| 
 | ||||
| .form-group input, | ||||
| .form-group textarea { | ||||
|     width: 100%; | ||||
|     padding: 12px; | ||||
|     border: 1px solid #ddd;
 | ||||
|     border-radius: 5px; | ||||
|     font-size: 16px; | ||||
| } | ||||
| 
 | ||||
| .form-group textarea { | ||||
|     height: 150px; | ||||
|     resize: vertical; | ||||
| } | ||||
| 
 | ||||
| /* 响应式设计 */ | ||||
| @media (max-width: 992px) { | ||||
|     .hero-section, | ||||
|     .about-section { | ||||
|         flex-direction: column; | ||||
|     } | ||||
|      | ||||
|     .hero-content, | ||||
|     .about-content { | ||||
|         padding-right: 0; | ||||
|         margin-bottom: 30px; | ||||
|     } | ||||
|      | ||||
|     .features-grid { | ||||
|         grid-template-columns: repeat(2, 1fr); | ||||
|     } | ||||
|      | ||||
|     .products-grid { | ||||
|         grid-template-columns: repeat(2, 1fr); | ||||
|     } | ||||
|      | ||||
|     .contact-container { | ||||
|         flex-direction: column; | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| @media (max-width: 576px) { | ||||
|     .features-grid, | ||||
|     .products-grid { | ||||
|         grid-template-columns: 1fr; | ||||
|     } | ||||
|      | ||||
|     .hero-content h1 { | ||||
|         font-size: 36px; | ||||
|     } | ||||
| } | ||||
| </style> | ||||
|                 // 添加切换动画效果
 | ||||
|                 activeContent.style.opacity = '0'; | ||||
|                 setTimeout(() => { | ||||
|                     activeContent.style.opacity = '1'; | ||||
|                 }, 50); | ||||
|             }); | ||||
|         }); | ||||
|     }); | ||||
| </script> | ||||
| @ -1,15 +1,21 @@ | ||||
| <!DOCTYPE html> | ||||
| <html> | ||||
| 
 | ||||
| <head> | ||||
|     <meta charset="utf-8"> | ||||
|     <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||
|     <title>{$config['admin_name']}</title> | ||||
|     <link rel="stylesheet" href="__LAYUI__/css/layui.css"> | ||||
|     <link rel="stylesheet" href="__CSS__/style.css"> | ||||
|     <link rel="stylesheet" href="__CSS__/bootstrap.min.css"> | ||||
|     <script src="__LAYUI__/layui.js" charset="utf-8"></script> | ||||
| </head> | ||||
| 
 | ||||
| <body> | ||||
|     {include file="component/header" /} | ||||
|     {include file="component/main" /} | ||||
|     {include file="component/footer" /} | ||||
| 
 | ||||
| </body> | ||||
| 
 | ||||
| </html> | ||||
| @ -26,7 +26,9 @@ return [ | ||||
|     'tpl_replace_string' => [ | ||||
|         '__STATIC__' => '/static', | ||||
|         '__ADMIN__' => '/static/admin', | ||||
|         '__IMAGES__' => '/static/images', | ||||
|         '__CSS__' => '/static/css', | ||||
|         '__LAYUI__' => '/static/layui', | ||||
|         '__JS__' => '/static/js', | ||||
|     ], | ||||
|     // 是否开启模板编译缓存,设为false则每次都会重新编译
 | ||||
|  | ||||
							
								
								
									
										9377
									
								
								public/static/css/bootstrap.min.css
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						| @ -0,0 +1,487 @@ | ||||
| /* 基础样式 */ | ||||
| body { | ||||
|   font-family: "Muli", sans-serif; | ||||
|   color: rgb(52, 58, 64); | ||||
| } | ||||
| 
 | ||||
| /* 字体大小类 */ | ||||
| .f20, | ||||
| .f-20 { | ||||
|   font-size: 20px; | ||||
| } | ||||
| 
 | ||||
| .f18, | ||||
| .f-18 { | ||||
|   font-size: 18px; | ||||
| } | ||||
| 
 | ||||
| .f16, | ||||
| .f-16 { | ||||
|   font-size: 16px; | ||||
| } | ||||
| 
 | ||||
| .f14, | ||||
| .f-14 { | ||||
|   font-size: 14px; | ||||
| } | ||||
| 
 | ||||
| .f12, | ||||
| .f-12 { | ||||
|   font-size: 12px; | ||||
| } | ||||
| 
 | ||||
| .mr-20 { | ||||
|   margin-right: 20px; | ||||
| } | ||||
| 
 | ||||
| .mr-10 { | ||||
|   margin-right: 10px; | ||||
| } | ||||
| 
 | ||||
| /* 页脚样式 */ | ||||
| .footer { | ||||
|   margin-top: 200px; | ||||
|   padding: 80px 0; | ||||
|   position: relative; | ||||
|   background-color: #2a254d; | ||||
| } | ||||
| 
 | ||||
| .footer .container { | ||||
|   display: flex; | ||||
|   justify-content: center; | ||||
| } | ||||
| 
 | ||||
| .row-main { | ||||
|   display: flex; | ||||
|   justify-content: space-between; | ||||
|   width: 100%; | ||||
| } | ||||
| 
 | ||||
| .footer-sub-menu li { | ||||
|   font-size: 16px; | ||||
|   margin-bottom: 5px; | ||||
| } | ||||
| 
 | ||||
| .footer-sub-menu li a:hover { | ||||
|   color: #f57005; | ||||
|   text-decoration: none; | ||||
|   transition: all 0.3s ease; | ||||
| } | ||||
| 
 | ||||
| .main-footer { | ||||
|   background-color: var(--eduact-black); | ||||
|   position: relative; | ||||
|   padding: 132px 0 120px; | ||||
| } | ||||
| 
 | ||||
| .copyright { | ||||
|   position: relative; | ||||
|   background-color: #1f1944; | ||||
|   padding: 27px 0 28px; | ||||
| } | ||||
| 
 | ||||
| .copyright__text { | ||||
|   color: #697585; | ||||
|   margin: 0; | ||||
|   font-family: var(--eduact-font); | ||||
|   font-size: 16px; | ||||
|   line-height: 25px; | ||||
|   font-weight: 400; | ||||
| } | ||||
| 
 | ||||
| .copyright__text a { | ||||
|   color: #f57005; | ||||
| } | ||||
| 
 | ||||
| .copyright__text a:hover { | ||||
|   color: #f57005; | ||||
| } | ||||
| 
 | ||||
| /* 响应式容器 */ | ||||
| @media (min-width: 1400px) { | ||||
|   .container { | ||||
|     padding: 0 18px; | ||||
|     max-width: 1356px; | ||||
|   } | ||||
| } | ||||
| 
 | ||||
| /* 头部样式 */ | ||||
| .main-header { | ||||
|   position: relative; | ||||
|   width: 100%; | ||||
|   /* height: 800px; */ | ||||
| } | ||||
| 
 | ||||
| /* 主导航菜单 */ | ||||
| .main-menu { | ||||
|   background: #f8f9fa; | ||||
|   width: 100%; | ||||
| } | ||||
| 
 | ||||
| .main-menu .container { | ||||
|   height: 100px; | ||||
|   display: flex; | ||||
|   align-items: center; | ||||
|   justify-content: space-between; | ||||
|   position: relative; | ||||
| } | ||||
| 
 | ||||
| .main-menu__logo { | ||||
|   display: flex; | ||||
|   align-items: center; | ||||
|   position: relative; | ||||
| } | ||||
| 
 | ||||
| .main-menu__list { | ||||
|   display: flex; | ||||
|   justify-content: center; | ||||
|   gap: 35px; | ||||
|   margin: 0; | ||||
|   padding: 0; | ||||
|   list-style: none; | ||||
| } | ||||
| 
 | ||||
| .main-menu__list a { | ||||
|   color: #2c3e50; | ||||
|   font-size: 16px; | ||||
|   font-weight: 500; | ||||
|   text-decoration: none; | ||||
|   padding: 16px 30px; | ||||
|   border-radius: 6px; | ||||
|   transition: all 0.3s ease; | ||||
|   position: relative; | ||||
| } | ||||
| 
 | ||||
| .main-menu__list a:hover { | ||||
|   color: #fff; | ||||
|   background-color: #3498db; | ||||
|   box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3); | ||||
|   transform: translateY(-2px); | ||||
|   text-decoration: none; | ||||
| } | ||||
| 
 | ||||
| .main-menu__list a::after { | ||||
|   content: ""; | ||||
|   position: absolute; | ||||
|   bottom: 0; | ||||
|   left: 50%; | ||||
|   width: 0; | ||||
|   height: 2px; | ||||
|   background-color: #3498db; | ||||
|   transition: all 0.3s ease; | ||||
|   transform: translateX(-50%); | ||||
| } | ||||
| 
 | ||||
| .main-menu__list a:hover::after { | ||||
|   width: 80%; | ||||
| } | ||||
| 
 | ||||
| /* 轮播图样式 */ | ||||
| .banner-content { | ||||
|   position: absolute; | ||||
|   top: 65%; | ||||
|   left: 35%; | ||||
|   transform: translate(-50%, -50%); | ||||
|   color: #fff; | ||||
|   display: flex; | ||||
|   flex-direction: column; | ||||
| } | ||||
| 
 | ||||
| .banner-title { | ||||
|   font-size: 4em; | ||||
|   font-weight: 600; | ||||
|   margin-bottom: 10px; | ||||
| } | ||||
| 
 | ||||
| .banner-desc { | ||||
|   font-size: 2em; | ||||
|   font-weight: 400; | ||||
|   width: 750px; | ||||
| } | ||||
| 
 | ||||
| .banner-slider { | ||||
|   width: 100%; | ||||
|   height: 86vh; | ||||
|   overflow: hidden; | ||||
|   position: relative; | ||||
| } | ||||
| 
 | ||||
| .banner-container { | ||||
|   width: 100%; | ||||
|   height: 100%; | ||||
| } | ||||
| 
 | ||||
| .banner-slide { | ||||
|   display: block; | ||||
|   width: 100%; | ||||
|   height: 100%; | ||||
| } | ||||
| 
 | ||||
| .banner-slide img { | ||||
|   width: 100%; | ||||
|   height: 100%; | ||||
|   object-fit: cover; | ||||
|   /* 关键:等比缩放并铺满 */ | ||||
|   display: block; | ||||
| } | ||||
| 
 | ||||
| /* 固定导航 */ | ||||
| .sticky-nav { | ||||
|   position: fixed; | ||||
|   top: 0; | ||||
|   left: 0; | ||||
|   right: 0; | ||||
|   background: #fff; | ||||
|   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); | ||||
|   z-index: 1000; | ||||
|   padding: 10px 0; | ||||
| } | ||||
| 
 | ||||
| .sticky-nav .container { | ||||
|   display: flex; | ||||
|   align-items: center; | ||||
|   justify-content: space-between; | ||||
| } | ||||
| 
 | ||||
| .sticky-nav__logo { | ||||
|   display: flex; | ||||
|   align-items: center; | ||||
|   position: relative; | ||||
| } | ||||
| 
 | ||||
| .sticky-nav__menu ul { | ||||
|   display: flex; | ||||
|   justify-content: center; | ||||
|   gap: 30px; | ||||
|   margin: 0; | ||||
|   padding: 0; | ||||
|   list-style: none; | ||||
| } | ||||
| 
 | ||||
| .sticky-nav__menu ul li a { | ||||
|   text-decoration: none; | ||||
|   font-size: 16px; | ||||
|   transition: color 0.3s; | ||||
| } | ||||
| 
 | ||||
| /* 轮播动画 */ | ||||
| @keyframes slide { | ||||
|   0%, | ||||
|   33% { | ||||
|     transform: translateX(0); | ||||
|   } | ||||
| 
 | ||||
|   34%, | ||||
|   66% { | ||||
|     transform: translateX(-33.33%); | ||||
|   } | ||||
| 
 | ||||
|   67%, | ||||
|   100% { | ||||
|     transform: translateX(-66.66%); | ||||
|   } | ||||
| } | ||||
| 
 | ||||
| /* 顶部栏 */ | ||||
| .topbar-one { | ||||
|   background: #3492ed; | ||||
| } | ||||
| 
 | ||||
| .topbar-one .container { | ||||
|   width: 100%; | ||||
|   display: flex; | ||||
|   align-items: center; | ||||
|   justify-content: space-between; | ||||
| } | ||||
| 
 | ||||
| .topbar-one .container a { | ||||
|   color: #fff; | ||||
| } | ||||
| 
 | ||||
| .topbar-one .container .topbar-one__info { | ||||
|   display: flex; | ||||
|   align-items: center; | ||||
|   gap: 20px; | ||||
| } | ||||
| 
 | ||||
| .topbar-one .container ul { | ||||
|   display: flex; | ||||
|   align-items: center; | ||||
|   margin: 10px 0; | ||||
|   padding: 0; | ||||
| } | ||||
| 
 | ||||
| .topbar-one .container ul li { | ||||
|   margin-right: 10px; | ||||
| } | ||||
| 
 | ||||
| /* 主要内容区 */ | ||||
| .main-content { | ||||
|   max-width: 1250px; | ||||
|   margin: 0 auto; | ||||
|   padding: 0 15px; | ||||
| } | ||||
| 
 | ||||
| .core-block { | ||||
|   margin-top: 80px; | ||||
| } | ||||
| 
 | ||||
| .module-header { | ||||
|   display: flex; | ||||
|   justify-content: space-between; | ||||
|   border-bottom: 1px solid #efefef; | ||||
|   margin-bottom: 20px; | ||||
|   padding-bottom: 15px; | ||||
| } | ||||
| 
 | ||||
| .ModuleTitle_titleWrapper { | ||||
|   display: flex; | ||||
| } | ||||
| 
 | ||||
| .ModuleTitle_title { | ||||
|   margin-right: 24px; | ||||
|   font-size: 22px; | ||||
|   font-weight: 600; | ||||
|   color: #404040; | ||||
| } | ||||
| 
 | ||||
| .tab-header { | ||||
|   display: flex; | ||||
|   align-items: center; | ||||
|   gap: 10px; | ||||
| } | ||||
| 
 | ||||
| .tab-header .active { | ||||
|   color: #f57005; | ||||
| } | ||||
| 
 | ||||
| .tab-content { | ||||
|   display: none; | ||||
|   opacity: 0; | ||||
|   transition: opacity 0.3s ease; | ||||
| } | ||||
| 
 | ||||
| .tab-content.active { | ||||
|   display: block; | ||||
|   opacity: 1; | ||||
| } | ||||
| .tab-item { | ||||
|   cursor: pointer; | ||||
| } | ||||
| 
 | ||||
| .product-item { | ||||
|   transition: transform 0.3s ease; | ||||
| } | ||||
| 
 | ||||
| .product-item:hover { | ||||
|   transform: translateY(-5px); | ||||
|   transition: transform 0.5s ease; | ||||
| } | ||||
| 
 | ||||
| .ModuleTitle_subtitle { | ||||
|   font-size: 16px; | ||||
|   color: #888; | ||||
| } | ||||
| 
 | ||||
| .more-btn { | ||||
|   padding: 3px 15px; | ||||
|   font-size: 14px; | ||||
|   color: #7f848c; | ||||
|   line-height: 30px; | ||||
|   cursor: pointer; | ||||
| } | ||||
| 
 | ||||
| .product-list { | ||||
|   display: flex; | ||||
|   flex-wrap: wrap; | ||||
|   gap: 20px; | ||||
|   justify-content: flex-start; | ||||
| } | ||||
| 
 | ||||
| .product-item { | ||||
|   cursor: pointer; | ||||
| } | ||||
| 
 | ||||
| .opencourse { | ||||
|   width: 280px; | ||||
|   height: 300px; | ||||
|   background: #fff; | ||||
|   box-shadow: 0 4px 30px 0 rgba(238, 242, 245, 0.8); | ||||
|   border-radius: 8px; | ||||
|   cursor: pointer; | ||||
|   transition: box-shadow 0.2s linear; | ||||
|   padding: 15px; | ||||
|   overflow: hidden; | ||||
| } | ||||
| 
 | ||||
| .opencourse:hover .title { | ||||
|   color: #fa8919; | ||||
| } | ||||
| 
 | ||||
| .video { | ||||
|   position: relative; | ||||
|   background: #eee; | ||||
|   border-radius: 8px; | ||||
|   overflow: hidden; | ||||
| } | ||||
| 
 | ||||
| .video img { | ||||
|   width: 100%; | ||||
|   object-fit: cover; | ||||
| } | ||||
| 
 | ||||
| .introduction { | ||||
|   margin: 12px 12px 0 10px; | ||||
| } | ||||
| 
 | ||||
| .bottom { | ||||
|   display: flex; | ||||
|   align-items: center; | ||||
|   justify-content: space-between; | ||||
|   margin: 16px 12px 0 10px; | ||||
| } | ||||
| 
 | ||||
| .bottom .desc { | ||||
|   font-weight: 400; | ||||
|   color: #b2b2b2; | ||||
|   font-size: 14px; | ||||
|   line-height: 20px; | ||||
| } | ||||
| 
 | ||||
| .bottom .btn { | ||||
|   display: flex; | ||||
|   justify-content: center; | ||||
|   align-items: center; | ||||
|   width: 92px; | ||||
|   height: 28px; | ||||
|   background: #fbf5ee; | ||||
|   border-radius: 14px; | ||||
|   font-weight: 500; | ||||
|   color: #fa8919; | ||||
|   cursor: pointer; | ||||
|   font-size: 14px; | ||||
|   line-height: 20px; | ||||
| } | ||||
| 
 | ||||
| .introduction .title { | ||||
|   font-size: 17px; | ||||
|   font-weight: 500; | ||||
|   color: #404040; | ||||
|   line-height: 25px; | ||||
|   transition: color 0.2s ease; | ||||
|   text-overflow: ellipsis; | ||||
|   overflow: hidden; | ||||
|   white-space: nowrap; | ||||
| } | ||||
| 
 | ||||
| .introduction .subtitle { | ||||
|   height: 45px; | ||||
|   margin-top: 4px; | ||||
|   font-size: 15px; | ||||
|   font-weight: 400; | ||||
|   color: #888; | ||||
|   overflow: hidden; | ||||
|   display: -webkit-box; | ||||
|   -webkit-line-clamp: 2; | ||||
|   -webkit-box-orient: vertical; | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								public/static/images/article1.webp
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 25 KiB | 
							
								
								
									
										
											BIN
										
									
								
								public/static/images/banner/banner1.JPG
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 1.3 MiB | 
							
								
								
									
										
											BIN
										
									
								
								public/static/images/banner/banner1.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 907 KiB | 
							
								
								
									
										
											BIN
										
									
								
								public/static/images/banner/banner2.JPG
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 1.4 MiB | 
							
								
								
									
										
											BIN
										
									
								
								public/static/images/banner/banner2.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 888 KiB | 
							
								
								
									
										
											BIN
										
									
								
								public/static/images/banner/banner3.JPG
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 1.3 MiB | 
							
								
								
									
										
											BIN
										
									
								
								public/static/images/banner/banner3.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 972 KiB | 
							
								
								
									
										
											BIN
										
									
								
								public/static/images/banner/banner4.JPG
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 1.2 MiB | 
							
								
								
									
										
											BIN
										
									
								
								public/static/images/code.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 14 KiB | 
							
								
								
									
										
											BIN
										
									
								
								public/static/images/footer-bg-1.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 10 KiB | 
							
								
								
									
										
											BIN
										
									
								
								public/static/images/hero-1-bg-img.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 25 KiB | 
							
								
								
									
										
											BIN
										
									
								
								public/static/images/logo-light.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 6.7 KiB | 
| Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 7.8 KiB | 
| @ -1,531 +1,420 @@ | ||||
| <?php /*a:4:{s:59:"E:\Demos\DemoOwns\PHP\yunzer\app\index\view\index\index.php";i:1746007477;s:64:"E:\Demos\DemoOwns\PHP\yunzer\app\index\view\component\header.php";i:1746004822;s:62:"E:\Demos\DemoOwns\PHP\yunzer\app\index\view\component\main.php";i:1746007578;s:64:"E:\Demos\DemoOwns\PHP\yunzer\app\index\view\component\footer.php";i:1746007524;}*/ ?>
 | ||||
| <?php /*a:4:{s:59:"E:\Demos\DemoOwns\PHP\yunzer\app\index\view\index\index.php";i:1746503955;s:64:"E:\Demos\DemoOwns\PHP\yunzer\app\index\view\component\header.php";i:1746516246;s:62:"E:\Demos\DemoOwns\PHP\yunzer\app\index\view\component\main.php";i:1746522874;s:64:"E:\Demos\DemoOwns\PHP\yunzer\app\index\view\component\footer.php";i:1746515097;}*/ ?>
 | ||||
| <!DOCTYPE html> | ||||
| <html> | ||||
| 
 | ||||
| <head> | ||||
|     <meta charset="utf-8"> | ||||
|     <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||
|     <title><?php echo htmlentities((string) $config['admin_name']); ?></title>
 | ||||
|     <link rel="stylesheet" href="/static/layui/css/layui.css"> | ||||
|     <link rel="stylesheet" href="/static/css/style.css"> | ||||
|     <link rel="stylesheet" href="/static/css/bootstrap.min.css"> | ||||
|     <script src="/static/layui/layui.js" charset="utf-8"></script> | ||||
| </head> | ||||
| 
 | ||||
| <body> | ||||
|     <header class="site-header"> | ||||
|     <div class="logo"> | ||||
|         <a href="/">网站名称</a> | ||||
|     </div> | ||||
|     <nav class="main-nav"> | ||||
|         <ul> | ||||
|             <li><a href="/">首页</a></li> | ||||
|             <li><a href="/about">关于我们</a></li> | ||||
|             <li><a href="/services">服务</a></li> | ||||
|             <li><a href="/contact">联系我们</a></li> | ||||
|     <div style="display: flex;flex-direction: column;"> | ||||
|     <div class="topbar-one"> | ||||
|         <div class="container"> | ||||
|             <div style="width: 70%;"> | ||||
|                 <ul class="list-unstyled topbar-one__info"> | ||||
|                     <li class="topbar-one__info__item"><span class="topbar-one__info__icon fas fa-phone-alt"></span><a | ||||
|                             href="tel:629-555-0129">(629) 555-0129</a></li> | ||||
|                     <li class="topbar-one__info__item"><span class="topbar-one__info__icon fas fa-envelope"></span><a | ||||
|                             href="mailto:info@example.com">info@example.com</a></li> | ||||
|                 </ul> | ||||
|     </nav> | ||||
|     <div class="user-actions"> | ||||
|         <?php if(isset($_SESSION['user_id'])): ?>
 | ||||
|             <a href="/user/profile">个人中心</a> | ||||
|             <a href="/user/logout">退出登录</a> | ||||
|         <?php else: ?>
 | ||||
|             <a href="/user/login">登录</a> | ||||
|             <a href="/user/register">注册</a> | ||||
|         <?php endif; ?>
 | ||||
|             </div> | ||||
| </header> | ||||
|             <div class="topbar-one__social" style="width: 30%;"> | ||||
|                 <a href="https://facebook.com"><i class="fab fa-facebook-f"></i></a> | ||||
|                 <a href="https://twitter.com"><i class="fab fa-twitter"></i></a> | ||||
|                 <a href="https://instagram.com"><i class="fab fa-instagram"></i></a> | ||||
|                 <a href="https://www.youtube.com/"><i class="fab fa-linkedin"></i></a> | ||||
|             </div> | ||||
|         </div> | ||||
|     </div> | ||||
|     <!-- 导航栏 --> | ||||
|     <div class="main-menu"> | ||||
|         <div class="container"> | ||||
|             <div class="main-menu__logo"> | ||||
|                 <a href="index.html"><img src="/static/images/logo.png" width="186" alt="Logo"></a> | ||||
|             </div> | ||||
|             <div class="main-menu__nav"> | ||||
|                 <ul class="main-menu__list"> | ||||
|                     <li><a href="index.html">首页</a></li> | ||||
|                     <li><a href="about.html">关于我们</a></li> | ||||
|                     <li><a href="products.html">产品服务</a></li> | ||||
|                     <li><a href="contact.html">联系我们</a></li> | ||||
|                 </ul> | ||||
|             </div> | ||||
|             <div class="main-menu__right"> | ||||
|                 <a href="#" class="main-menu__search"><i class="layui-icon layui-icon-search"></i></a> | ||||
|                 <a href="login.html" class="main-menu__login"><i class="layui-icon layui-icon-username"></i></a> | ||||
|             </div> | ||||
|         </div> | ||||
|     </div> | ||||
|     <div class="main-header"> | ||||
|         <!-- Banner轮播 --> | ||||
|         <div class="layui-carousel" id="test10" lay-filter="test10"> | ||||
|             <div carousel-item=""> | ||||
|                 <div> | ||||
|                     <div class="banner-content"> | ||||
|                         <span class="banner-title">智能科技 引领未来</span> | ||||
|                         <span class="banner-desc">打造智能化解决方案,助力企业数字化转型,打造智能化解决方案,助力企业数字化转型,打造智能化解决方案,助力企业数字化转型</span> | ||||
|                         <a href="#" class="btn btn-primary" style="margin-top: 20px;width:150px">了解更多</a> | ||||
|                     </div> | ||||
|                     <a href="#" class="banner-slide"> | ||||
|                         <img src="/static/images/banner/banner1.jpg" alt="Banner 1"> | ||||
|                     </a> | ||||
|                 </div> | ||||
|                 <div> | ||||
|                     <div class="banner-content"> | ||||
|                         <span class="banner-title">创新技术 卓越服务</span> | ||||
|                         <spanp class="banner-desc">以创新科技为核心,为客户提供优质服务</spanp> | ||||
|                     </div> | ||||
|                     <a href="#" class="banner-slide"> | ||||
|                         <img src="/static/images/banner/banner2.jpg" alt="Banner 2"> | ||||
|                     </a> | ||||
|                 </div> | ||||
|                 <div> | ||||
|                     <div class="banner-content"> | ||||
|                         <span class="banner-title">专业团队 值得信赖</span> | ||||
|                         <spanp class="banner-desc">资深专家团队,为您提供专业的技术支持</spanp> | ||||
|                     </div> | ||||
|                     <a href="#" class="banner-slide"> | ||||
|                         <img src="/static/images/banner/banner3.jpg" alt="Banner 3"> | ||||
|                     </a> | ||||
|                 </div> | ||||
|                 <div> | ||||
|                     <div class="banner-content"> | ||||
|                         <span class="banner-title">全球视野 本地服务</span> | ||||
|                         <span class="banner-desc">立足本地,放眼全球,打造国际化服务</span> | ||||
|                     </div> | ||||
|                     <a href="#" class="banner-slide"> | ||||
|                         <img src="/static/images/banner/banner4.jpg" alt="Banner 4"> | ||||
|                     </a> | ||||
|                 </div> | ||||
|             </div> | ||||
|         </div> | ||||
|     </div> | ||||
| </div> | ||||
| 
 | ||||
| <!-- 固定导航 --> | ||||
| <div class="sticky-nav" style="display: none;"> | ||||
|     <div class="container"> | ||||
|         <div class="sticky-nav__logo"> | ||||
|             <a href="index.html"><img src="/static/images/logo.png" width="150" alt="Logo"></a> | ||||
|         </div> | ||||
|         <div class="sticky-nav__menu"> | ||||
|             <ul> | ||||
|                 <li><a href="index.html">首页</a></li> | ||||
|                 <li><a href="about.html">关于我们</a></li> | ||||
|                 <li><a href="products.html">产品服务</a></li> | ||||
|                 <li><a href="contact.html">联系我们</a></li> | ||||
|             </ul> | ||||
|         </div> | ||||
|         <div class="sticky-nav__right"> | ||||
|             <a href="#" class="main-menu__search"><i class="layui-icon layui-icon-search"></i></a> | ||||
|             <a href="login.html" class="main-menu__login"><i class="layui-icon layui-icon-username"></i></a> | ||||
|         </div> | ||||
|     </div> | ||||
| </div> | ||||
| 
 | ||||
| <script> | ||||
| layui.use(['carousel', 'form'], function(){ | ||||
|   var carousel = layui.carousel | ||||
|   ,form = layui.form; | ||||
|    | ||||
|   //图片轮播
 | ||||
|   carousel.render({ | ||||
|     elem: '#test10' | ||||
|     ,width: '100%' | ||||
|     ,height: '86vh' | ||||
|     ,interval: 4000 | ||||
|   }); | ||||
|    | ||||
|   var $ = layui.$, active = { | ||||
|     set: function(othis){ | ||||
|       var THIS = 'layui-bg-normal' | ||||
|       ,key = othis.data('key') | ||||
|       ,options = {}; | ||||
|        | ||||
|       othis.css('background-color', '#5FB878').siblings().removeAttr('style');  | ||||
|       options[key] = othis.data('value'); | ||||
|       ins3.reload(options); | ||||
|     } | ||||
|   }; | ||||
|    | ||||
|   //监听开关
 | ||||
|   form.on('switch(autoplay)', function(){ | ||||
|     ins3.reload({ | ||||
|       autoplay: this.checked | ||||
|     }); | ||||
|   }); | ||||
|    | ||||
|   $('.demoSet').on('keyup', function(){ | ||||
|     var value = this.value | ||||
|     ,options = {}; | ||||
|     if(!/^\d+$/.test(value)) return; | ||||
|      | ||||
|     options[this.name] = value; | ||||
|     ins3.reload(options); | ||||
|   }); | ||||
|    | ||||
|   // 监听滚动事件
 | ||||
|   $(window).scroll(function() { | ||||
|     var scrollTop = $(window).scrollTop(); | ||||
|     if (scrollTop > 150) { // 当滚动超过150px时显示固定导航
 | ||||
|       $('.sticky-nav').fadeIn(); | ||||
|     } else { | ||||
|       $('.sticky-nav').fadeOut(); | ||||
|     } | ||||
|   }); | ||||
| }); | ||||
| </script> | ||||
| 
 | ||||
|     <main class="main-content"> | ||||
|     <div class="container"> | ||||
|         <section class="hero-section"> | ||||
|             <div class="hero-content"> | ||||
|                 <h1>欢迎来到我们的网站</h1> | ||||
|                 <p>我们提供专业的服务和优质的产品</p> | ||||
|                 <a href="#" class="btn btn-primary">了解更多</a> | ||||
|         <!-- 文章模块 --> | ||||
|         <div class="core-block core-module" id="opencourse" style="order: 3;"> | ||||
|             <div class="module-header"> | ||||
|                 <div> | ||||
|                     <div class="ModuleTitle_titleWrapper"> | ||||
|                         <h3 class="ModuleTitle_title">站点新闻</h3> | ||||
|                         <div class="ModuleTitle_subtitle">新鲜资讯 尽在掌握</div> | ||||
|                     </div> | ||||
|                 </div> | ||||
|                 <div class="more-btn">更多</div> | ||||
|             </div> | ||||
|             <div class="product-list"> | ||||
|                 <div class="opencourse product-item"> | ||||
|                     <div class="video"><img data-v-4477fdbc="" | ||||
|                             src="https://static001.geekbang.org/resource/image/ff/b8/ff18d73bec1040abf3d7bc7bffb532b8.jpg?x-oss-process=image/resize,w_423,h_238/format,webp" | ||||
|                             alt="" class="cover"><!----></div> | ||||
|                     <div class="introduction"> | ||||
|                         <div class="title">闪客 · 怎么理解 AI?</div> | ||||
|                         <div class="subtitle">闪客 | B 站知名科普 UP 主</div> | ||||
|                     </div> | ||||
|                     <div class="bottom"> | ||||
|                         <div class="desc">1025人学过</div> | ||||
|                         <!-- <div class="btn">观看: 123人</div> --> | ||||
|                     </div> | ||||
|                 </div> | ||||
|                 <div class="opencourse product-item"> | ||||
|                     <div class="video"><img data-v-4477fdbc="" | ||||
|                             src="https://static001.geekbang.org/resource/image/76/cd/762ee7f34a76fbff61d20aae313833cd.jpg?x-oss-process=image/resize,w_423,h_238/format,webp" | ||||
|                             alt="" class="cover"> | ||||
|                     </div> | ||||
|                     <div class="introduction"> | ||||
|                         <div class="title">多模态对话引擎实战</div> | ||||
|                         <div class="subtitle">吴桐 | 网易云信音视频技术负责人,流媒体首席架构师</div> | ||||
|                     </div> | ||||
|                     <div class="bottom"> | ||||
|                         <div class="desc">380人学过</div> | ||||
|                         <!-- <div class="btn">观看: 123人</div> --> | ||||
|                     </div> | ||||
|                 </div> | ||||
|                 <div class="opencourse product-item"> | ||||
|                     <div class="video"><img data-v-4477fdbc="" | ||||
|                             src="https://static001.geekbang.org/resource/image/4y/da/4yyfb232bfbfbdcc6ed827c16b04a9da.jpg?x-oss-process=image/resize,w_423,h_238/format,webp" | ||||
|                             alt="" class="cover"><!----></div> | ||||
|                     <div class="introduction"> | ||||
|                         <div class="title">极客视点</div> | ||||
|                         <div class="subtitle">极客时间 | 编辑部</div> | ||||
|                     </div> | ||||
|                     <div class="bottom"> | ||||
|                         <div class="desc">12.4w人学过</div> | ||||
|                         <!-- <div class="btn">观看: 123人</div> --> | ||||
|                     </div> | ||||
|                 </div> | ||||
|                 <div class="opencourse product-item"> | ||||
|                     <div class="video"><img data-v-4477fdbc="" | ||||
|                             src="https://static001.geekbang.org/resource/image/0f/69/0f95b62cf7yy6d6yy674f090d063b669.jpg?x-oss-process=image/resize,w_423,h_238/format,webp" | ||||
|                             alt="" class="cover"><!----></div> | ||||
|                     <div class="introduction"> | ||||
|                         <div class="title">周志明的软件架构课</div> | ||||
|                         <div class="subtitle">周志明 | 博士,远光软件研究院院长,《深入理解Java虚拟机》《凤凰架构》等书作者</div> | ||||
|                     </div> | ||||
|                     <div class="bottom"> | ||||
|                         <div class="desc">6.0w人学过</div> | ||||
|                         <!-- <div class="btn">观看: 123人</div>d --> | ||||
|                     </div> | ||||
|                 </div> | ||||
|             </div> | ||||
|             <div class="hero-image"> | ||||
|                 <img src="/static/images/hero.jpg" alt="欢迎图片"> | ||||
|         </div> | ||||
|         </section> | ||||
| 
 | ||||
|         <section class="features-section"> | ||||
|             <h2 class="section-title">我们的特色</h2> | ||||
|             <div class="features-grid"> | ||||
|                 <div class="feature-card"> | ||||
|                     <div class="feature-icon"> | ||||
|                         <i class="layui-icon layui-icon-star"></i> | ||||
|                     </div> | ||||
|                     <h3>高品质服务</h3> | ||||
|                     <p>我们致力于提供最优质的服务,满足客户的各种需求。</p> | ||||
|                 </div> | ||||
|                 <div class="feature-card"> | ||||
|                     <div class="feature-icon"> | ||||
|                         <i class="layui-icon layui-icon-diamond"></i> | ||||
|                     </div> | ||||
|                     <h3>专业团队</h3> | ||||
|                     <p>我们拥有经验丰富的专业团队,为您提供最佳解决方案。</p> | ||||
|                 </div> | ||||
|                 <div class="feature-card"> | ||||
|                     <div class="feature-icon"> | ||||
|                         <i class="layui-icon layui-icon-heart"></i> | ||||
|                     </div> | ||||
|                     <h3>客户至上</h3> | ||||
|                     <p>以客户需求为中心,提供个性化的服务和支持。</p> | ||||
|         <!-- 文章模块 --> | ||||
|         <div class="core-block core-module" id="opencourse" style="order: 3;"> | ||||
|             <div class="module-header"> | ||||
|                 <div> | ||||
|                     <div class="ModuleTitle_titleWrapper"> | ||||
|                         <h3 class="ModuleTitle_title">公开课</h3> | ||||
|                         <div class="tab-container"> | ||||
|                             <div class="tab-header"> | ||||
|                                 <div class="tab-item active" data-tab="all">全部</div> | ||||
|                                 <div class="tab-item" data-tab="frontend">前端</div> | ||||
|                                 <div class="tab-item" data-tab="backend">后端</div> | ||||
|                                 <div class="tab-item" data-tab="mobile">移动端</div> | ||||
|                             </div> | ||||
|                         </div> | ||||
|         </section> | ||||
|                     </div> | ||||
|                 </div> | ||||
|                 <div class="more-btn">更多</div> | ||||
|             </div> | ||||
|             <div class="product-list"> | ||||
|                 <!-- 全部课程 --> | ||||
|                 <div class="tab-content active" data-tab="all"> | ||||
|                     <!-- 原有的课程列表内容 --> | ||||
|                     <div class="opencourse product-item"> | ||||
|                         <!-- ... 原有内容 ... --> | ||||
|                     </div> | ||||
|                     <!-- ... 其他课程项 ... --> | ||||
|                 </div> | ||||
| 
 | ||||
|         <section class="about-section"> | ||||
|             <div class="about-content"> | ||||
|                 <h2 class="section-title">关于我们</h2> | ||||
|                 <p>我们是一家专注于提供高质量服务的公司,成立于2010年。多年来,我们不断创新和发展,已经成为行业内的领先企业。</p> | ||||
|                 <p>我们的使命是通过卓越的产品和服务,帮助客户实现他们的目标和愿景。</p> | ||||
|                 <a href="#" class="btn btn-secondary">查看更多</a> | ||||
|                 <!-- 前端课程 --> | ||||
|                 <div class="tab-content" data-tab="frontend"> | ||||
|                     <div class="opencourse product-item"> | ||||
|                         <div class="video"> | ||||
|                             <img src="https://static001.geekbang.org/resource/image/ff/b8/ff18d73bec1040abf3d7bc7bffb532b8.jpg?x-oss-process=image/resize,w_423,h_238/format,webp" | ||||
|                                 alt="" class="cover"> | ||||
|                         </div> | ||||
|             <div class="about-image"> | ||||
|                 <img src="/static/images/about.jpg" alt="关于我们"> | ||||
|                         <div class="introduction"> | ||||
|                             <div class="title">Vue.js 实战教程</div> | ||||
|                             <div class="subtitle">张老师 | 资深前端工程师</div> | ||||
|                         </div> | ||||
|                         <div class="bottom"> | ||||
|                             <div class="desc">2.5w人学过</div> | ||||
|                         </div> | ||||
|                     </div> | ||||
|                     <!-- 可以添加更多前端课程 --> | ||||
|                 </div> | ||||
|         </section> | ||||
| 
 | ||||
|         <section class="products-section"> | ||||
|             <h2 class="section-title">热门产品</h2> | ||||
|             <div class="products-grid"> | ||||
|                 <div class="product-card"> | ||||
|                     <img src="/static/images/product1.jpg" alt="产品1"> | ||||
|                     <h3>产品一</h3> | ||||
|                     <p>产品描述信息,介绍产品的特点和优势。</p> | ||||
|                     <a href="#" class="btn btn-small">查看详情</a> | ||||
|                 <!-- 后端课程 --> | ||||
|                 <div class="tab-content" data-tab="backend"> | ||||
|                     <div class="opencourse product-item"> | ||||
|                         <div class="video"> | ||||
|                             <img src="https://static001.geekbang.org/resource/image/76/cd/762ee7f34a76fbff61d20aae313833cd.jpg?x-oss-process=image/resize,w_423,h_238/format,webp" | ||||
|                                 alt="" class="cover"> | ||||
|                         </div> | ||||
|                 <div class="product-card"> | ||||
|                     <img src="/static/images/product2.jpg" alt="产品2"> | ||||
|                     <h3>产品二</h3> | ||||
|                     <p>产品描述信息,介绍产品的特点和优势。</p> | ||||
|                     <a href="#" class="btn btn-small">查看详情</a> | ||||
|                         <div class="introduction"> | ||||
|                             <div class="title">PHP高级开发实战</div> | ||||
|                             <div class="subtitle">李老师 | 资深后端工程师</div> | ||||
|                         </div> | ||||
|                 <div class="product-card"> | ||||
|                     <img src="/static/images/product3.jpg" alt="产品3"> | ||||
|                     <h3>产品三</h3> | ||||
|                     <p>产品描述信息,介绍产品的特点和优势。</p> | ||||
|                     <a href="#" class="btn btn-small">查看详情</a> | ||||
|                 </div> | ||||
|                 <div class="product-card"> | ||||
|                     <img src="/static/images/product4.jpg" alt="产品4"> | ||||
|                     <h3>产品四</h3> | ||||
|                     <p>产品描述信息,介绍产品的特点和优势。</p> | ||||
|                     <a href="#" class="btn btn-small">查看详情</a> | ||||
|                         <div class="bottom"> | ||||
|                             <div class="desc">1.8w人学过</div> | ||||
|                         </div> | ||||
|                     </div> | ||||
|         </section> | ||||
|                     <!-- 可以添加更多后端课程 --> | ||||
|                 </div> | ||||
| 
 | ||||
|         <section class="contact-section"> | ||||
|             <h2 class="section-title">联系我们</h2> | ||||
|             <div class="contact-container"> | ||||
|                 <div class="contact-info"> | ||||
|                     <div class="contact-item"> | ||||
|                         <i class="layui-icon layui-icon-location"></i> | ||||
|                         <p>地址:中国上海市浦东新区张江高科技园区</p> | ||||
|                 <!-- 移动端课程 --> | ||||
|                 <div class="tab-content" data-tab="mobile"> | ||||
|                     <div class="opencourse product-item"> | ||||
|                         <div class="video"> | ||||
|                             <img src="https://static001.geekbang.org/resource/image/0f/69/0f95b62cf7yy6d6yy674f090d063b669.jpg?x-oss-process=image/resize,w_423,h_238/format,webp" | ||||
|                                 alt="" class="cover"> | ||||
|                         </div> | ||||
|                     <div class="contact-item"> | ||||
|                         <i class="layui-icon layui-icon-cellphone"></i> | ||||
|                         <p>电话:400-123-4567</p> | ||||
|                         <div class="introduction"> | ||||
|                             <div class="title">Flutter跨平台开发</div> | ||||
|                             <div class="subtitle">王老师 | 移动端架构师</div> | ||||
|                         </div> | ||||
|                     <div class="contact-item"> | ||||
|                         <i class="layui-icon layui-icon-email"></i> | ||||
|                         <p>邮箱:info@example.com</p> | ||||
|                         <div class="bottom"> | ||||
|                             <div class="desc">1.2w人学过</div> | ||||
|                         </div> | ||||
|                     </div> | ||||
|                 <div class="contact-form"> | ||||
|                     <form action="#" method="post"> | ||||
|                         <div class="form-group"> | ||||
|                             <input type="text" name="name" placeholder="您的姓名"> | ||||
|                         </div> | ||||
|                         <div class="form-group"> | ||||
|                             <input type="email" name="email" placeholder="您的邮箱"> | ||||
|                         </div> | ||||
|                         <div class="form-group"> | ||||
|                             <textarea name="message" placeholder="您的留言"></textarea> | ||||
|                         </div> | ||||
|                         <button type="submit" class="btn btn-primary">提交</button> | ||||
|                     </form> | ||||
|                     <!-- 可以添加更多移动端课程 --> | ||||
|                 </div> | ||||
|             </div> | ||||
|         </section> | ||||
|         </div> | ||||
| 
 | ||||
|     </div> | ||||
| </main> | ||||
| 
 | ||||
| <style> | ||||
| .main-content { | ||||
|     padding: 50px 0; | ||||
|     background-color: #f8f9fa;
 | ||||
| 
 | ||||
| <script> | ||||
|     document.addEventListener('DOMContentLoaded', function () { | ||||
|         // 获取所有tab项和内容
 | ||||
|         const tabItems = document.querySelectorAll('.tab-item'); | ||||
|         const tabContents = document.querySelectorAll('.tab-content'); | ||||
| 
 | ||||
|         // 为每个tab项添加点击事件
 | ||||
|         tabItems.forEach(tab => { | ||||
|             tab.addEventListener('click', function () { | ||||
|                 // 移除所有active类
 | ||||
|                 tabItems.forEach(item => item.classList.remove('active')); | ||||
|                 tabContents.forEach(content => content.classList.remove('active')); | ||||
| 
 | ||||
|                 // 添加active类到当前点击的tab
 | ||||
|                 this.classList.add('active'); | ||||
| 
 | ||||
|                 // 显示对应的内容
 | ||||
|                 const tabName = this.getAttribute('data-tab'); | ||||
|                 const activeContent = document.querySelector(`.tab-content[data-tab="${tabName}"]`); | ||||
|                 if (activeContent) { | ||||
|                     activeContent.classList.add('active'); | ||||
|                 } | ||||
| 
 | ||||
| .container { | ||||
|     max-width: 1200px; | ||||
|     margin: 0 auto; | ||||
|     padding: 0 15px; | ||||
| } | ||||
| 
 | ||||
| .section-title { | ||||
|     text-align: center; | ||||
|     margin-bottom: 40px; | ||||
|     font-size: 32px; | ||||
|     color: #333;
 | ||||
| } | ||||
| 
 | ||||
| /* 英雄区域样式 */ | ||||
| .hero-section { | ||||
|     display: flex; | ||||
|     align-items: center; | ||||
|     justify-content: space-between; | ||||
|     margin-bottom: 80px; | ||||
| } | ||||
| 
 | ||||
| .hero-content { | ||||
|     flex: 1; | ||||
|     padding-right: 50px; | ||||
| } | ||||
| 
 | ||||
| .hero-content h1 { | ||||
|     font-size: 48px; | ||||
|     margin-bottom: 20px; | ||||
|     color: #333;
 | ||||
| } | ||||
| 
 | ||||
| .hero-content p { | ||||
|     font-size: 18px; | ||||
|     margin-bottom: 30px; | ||||
|     color: #666;
 | ||||
| } | ||||
| 
 | ||||
| .hero-image { | ||||
|     flex: 1; | ||||
| } | ||||
| 
 | ||||
| .hero-image img { | ||||
|     max-width: 100%; | ||||
|     border-radius: 10px; | ||||
|     box-shadow: 0 5px 15px rgba(0,0,0,0.1); | ||||
| } | ||||
| 
 | ||||
| /* 按钮样式 */ | ||||
| .btn { | ||||
|     display: inline-block; | ||||
|     padding: 12px 30px; | ||||
|     border-radius: 5px; | ||||
|     text-decoration: none; | ||||
|     font-weight: bold; | ||||
|     transition: all 0.3s ease; | ||||
| } | ||||
| 
 | ||||
| .btn-primary { | ||||
|     background-color: #3492ED;
 | ||||
|     color: white; | ||||
| } | ||||
| 
 | ||||
| .btn-primary:hover { | ||||
|     background-color: #2a7fd9;
 | ||||
| } | ||||
| 
 | ||||
| .btn-secondary { | ||||
|     background-color: #6c757d;
 | ||||
|     color: white; | ||||
| } | ||||
| 
 | ||||
| .btn-secondary:hover { | ||||
|     background-color: #5a6268;
 | ||||
| } | ||||
| 
 | ||||
| .btn-small { | ||||
|     padding: 8px 15px; | ||||
|     font-size: 14px; | ||||
| } | ||||
| 
 | ||||
| /* 特色部分样式 */ | ||||
| .features-section { | ||||
|     margin-bottom: 80px; | ||||
| } | ||||
| 
 | ||||
| .features-grid { | ||||
|     display: grid; | ||||
|     grid-template-columns: repeat(3, 1fr); | ||||
|     gap: 30px; | ||||
| } | ||||
| 
 | ||||
| .feature-card { | ||||
|     background-color: white; | ||||
|     padding: 30px; | ||||
|     border-radius: 10px; | ||||
|     box-shadow: 0 5px 15px rgba(0,0,0,0.05); | ||||
|     text-align: center; | ||||
|     transition: transform 0.3s ease; | ||||
| } | ||||
| 
 | ||||
| .feature-card:hover { | ||||
|     transform: translateY(-10px); | ||||
| } | ||||
| 
 | ||||
| .feature-icon { | ||||
|     font-size: 48px; | ||||
|     color: #3492ED;
 | ||||
|     margin-bottom: 20px; | ||||
| } | ||||
| 
 | ||||
| .feature-card h3 { | ||||
|     margin-bottom: 15px; | ||||
|     color: #333;
 | ||||
| } | ||||
| 
 | ||||
| .feature-card p { | ||||
|     color: #666;
 | ||||
| } | ||||
| 
 | ||||
| /* 关于我们部分样式 */ | ||||
| .about-section { | ||||
|     display: flex; | ||||
|     align-items: center; | ||||
|     margin-bottom: 80px; | ||||
| } | ||||
| 
 | ||||
| .about-content { | ||||
|     flex: 1; | ||||
|     padding-right: 50px; | ||||
| } | ||||
| 
 | ||||
| .about-content h2 { | ||||
|     text-align: left; | ||||
| } | ||||
| 
 | ||||
| .about-content p { | ||||
|     margin-bottom: 20px; | ||||
|     color: #666;
 | ||||
|     line-height: 1.6; | ||||
| } | ||||
| 
 | ||||
| .about-image { | ||||
|     flex: 1; | ||||
| } | ||||
| 
 | ||||
| .about-image img { | ||||
|     max-width: 100%; | ||||
|     border-radius: 10px; | ||||
|     box-shadow: 0 5px 15px rgba(0,0,0,0.1); | ||||
| } | ||||
| 
 | ||||
| /* 产品部分样式 */ | ||||
| .products-section { | ||||
|     margin-bottom: 80px; | ||||
| } | ||||
| 
 | ||||
| .products-grid { | ||||
|     display: grid; | ||||
|     grid-template-columns: repeat(4, 1fr); | ||||
|     gap: 20px; | ||||
| } | ||||
| 
 | ||||
| .product-card { | ||||
|     background-color: white; | ||||
|     border-radius: 10px; | ||||
|     overflow: hidden; | ||||
|     box-shadow: 0 5px 15px rgba(0,0,0,0.05); | ||||
|     transition: transform 0.3s ease; | ||||
| } | ||||
| 
 | ||||
| .product-card:hover { | ||||
|     transform: translateY(-10px); | ||||
| } | ||||
| 
 | ||||
| .product-card img { | ||||
|     width: 100%; | ||||
|     height: 200px; | ||||
|     object-fit: cover; | ||||
| } | ||||
| 
 | ||||
| .product-card h3 { | ||||
|     padding: 15px 15px 5px; | ||||
|     color: #333;
 | ||||
| } | ||||
| 
 | ||||
| .product-card p { | ||||
|     padding: 0 15px 15px; | ||||
|     color: #666;
 | ||||
| } | ||||
| 
 | ||||
| .product-card .btn { | ||||
|     margin: 0 15px 15px; | ||||
| } | ||||
| 
 | ||||
| /* 联系我们部分样式 */ | ||||
| .contact-section { | ||||
|     margin-bottom: 50px; | ||||
| } | ||||
| 
 | ||||
| .contact-container { | ||||
|     display: flex; | ||||
|     background-color: white; | ||||
|     border-radius: 10px; | ||||
|     overflow: hidden; | ||||
|     box-shadow: 0 5px 15px rgba(0,0,0,0.05); | ||||
| } | ||||
| 
 | ||||
| .contact-info { | ||||
|     flex: 1; | ||||
|     padding: 40px; | ||||
|     background-color: #3492ED;
 | ||||
|     color: white; | ||||
| } | ||||
| 
 | ||||
| .contact-item { | ||||
|     display: flex; | ||||
|     align-items: center; | ||||
|     margin-bottom: 20px; | ||||
| } | ||||
| 
 | ||||
| .contact-item i { | ||||
|     font-size: 24px; | ||||
|     margin-right: 15px; | ||||
| } | ||||
| 
 | ||||
| .contact-form { | ||||
|     flex: 2; | ||||
|     padding: 40px; | ||||
| } | ||||
| 
 | ||||
| .form-group { | ||||
|     margin-bottom: 20px; | ||||
| } | ||||
| 
 | ||||
| .form-group input, | ||||
| .form-group textarea { | ||||
|     width: 100%; | ||||
|     padding: 12px; | ||||
|     border: 1px solid #ddd;
 | ||||
|     border-radius: 5px; | ||||
|     font-size: 16px; | ||||
| } | ||||
| 
 | ||||
| .form-group textarea { | ||||
|     height: 150px; | ||||
|     resize: vertical; | ||||
| } | ||||
| 
 | ||||
| /* 响应式设计 */ | ||||
| @media (max-width: 992px) { | ||||
|     .hero-section, | ||||
|     .about-section { | ||||
|         flex-direction: column; | ||||
|     } | ||||
|      | ||||
|     .hero-content, | ||||
|     .about-content { | ||||
|         padding-right: 0; | ||||
|         margin-bottom: 30px; | ||||
|     } | ||||
|      | ||||
|     .features-grid { | ||||
|         grid-template-columns: repeat(2, 1fr); | ||||
|     } | ||||
|      | ||||
|     .products-grid { | ||||
|         grid-template-columns: repeat(2, 1fr); | ||||
|     } | ||||
|      | ||||
|     .contact-container { | ||||
|         flex-direction: column; | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| @media (max-width: 576px) { | ||||
|     .features-grid, | ||||
|     .products-grid { | ||||
|         grid-template-columns: 1fr; | ||||
|     } | ||||
|      | ||||
|     .hero-content h1 { | ||||
|         font-size: 36px; | ||||
|     } | ||||
| } | ||||
| </style> | ||||
| 
 | ||||
|     <footer class="footer"> | ||||
|                 // 添加切换动画效果
 | ||||
|                 activeContent.style.opacity = '0'; | ||||
|                 setTimeout(() => { | ||||
|                     activeContent.style.opacity = '1'; | ||||
|                 }, 50); | ||||
|             }); | ||||
|         }); | ||||
|     }); | ||||
| </script> | ||||
|     <footer class="footer" style="background-image: url(/static/images/footer-bg-1.png)"> | ||||
|     <div class="container"> | ||||
|         <div class="footer-content"> | ||||
|             <div class="footer-logo"> | ||||
|                 <h3><?php echo htmlentities((string) $config['admin_name']); ?></h3>
 | ||||
|         <div class="row" style="width: 100%;"> | ||||
|             <div class="row-main"> | ||||
|                 <div class="mr-20"> | ||||
|                     <img src="/static/images/logo-l-w.png" alt="" height="70"> | ||||
|                     <p class="text-white-50 my-4 f18" style="width: 400px;">美天智能科技,这里是介绍!</p> | ||||
|                 </div> | ||||
|             <div class="footer-links"> | ||||
|                 <ul> | ||||
|                     <li><a href="/">首页</a></li> | ||||
|                     <li><a href="/about">关于我们</a></li> | ||||
|                     <li><a href="/contact">联系我们</a></li> | ||||
|                     <li><a href="/service">服务条款</a></li> | ||||
|                 <div style="display: flex; justify-content: space-between;width: 100%;margin-right: 200px;"> | ||||
|                     <div> | ||||
|                         <h4 class="text-white f-20 font-weight-normal mb-3">关于我们</h4> | ||||
|                         <ul class="list-unstyled footer-sub-menu"> | ||||
|                             <li><a href="#" class="footer-link">概况</a></li> | ||||
|                             <li><a href="#" class="footer-link">资讯</a></li> | ||||
|                             <li><a href="#" class="footer-link">加入我们</a></li> | ||||
|                             <li><a href="#" class="footer-link">联系我们</a></li> | ||||
|                         </ul> | ||||
|                     </div> | ||||
|             <div class="footer-contact"> | ||||
|                 <p>电话:<?php echo isset($config['phone']) ? htmlentities((string) $config['phone']) : '暂无'; ?></p>
 | ||||
|                 <p>邮箱:<?php echo isset($config['email']) ? htmlentities((string) $config['email']) : 'admin@example.com'; ?></p>
 | ||||
|                 <p>地址:<?php echo isset($config['address']) ? htmlentities((string) $config['address']) : '暂无地址信息'; ?></p>
 | ||||
|                     <div> | ||||
|                         <h4 class="text-white f-20 font-weight-normal mb-3">商务合作</h4> | ||||
|                         <ul class="list-unstyled footer-sub-menu"> | ||||
|                             <li><a href="#" class="footer-link">商务合作</a></li> | ||||
|                         </ul> | ||||
|                     </div> | ||||
|                     <div> | ||||
|                         <h4 class="text-white f-20 font-weight-normal mb-3">服务支持</h4> | ||||
|                         <ul class="list-unstyled footer-sub-menu"> | ||||
|                             <li><a href="#" class="footer-link">常见问答</a></li> | ||||
|                             <li><a href="#" class="footer-link">软件下载</a></li> | ||||
|                             <li><a href="#" class="footer-link">服务政策</a></li> | ||||
|                             <li><a href="#" class="footer-link">投诉建议</a></li> | ||||
|                         </ul> | ||||
|                     </div> | ||||
|                 </div> | ||||
| 
 | ||||
|                 <div> | ||||
|                     <div class="text-center"> | ||||
|                         <img src="/static/images/code.png" alt="微信二维码" class="img-fluid" style="max-width: 150px;"> | ||||
|                         <p class="text-white-50 mt-2">微信公众号</p> | ||||
|                     </div> | ||||
|                 </div> | ||||
|             </div> | ||||
|         <div class="footer-bottom"> | ||||
|             <p>版权所有 © {date('Y')} <?php echo htmlentities((string) $config['admin_name']); ?> - 保留所有权利</p>
 | ||||
|         </div> | ||||
|     </div> | ||||
| </footer> | ||||
| 
 | ||||
| <style> | ||||
| .footer { | ||||
|     background-color: #333;
 | ||||
|     color: #fff;
 | ||||
|     padding: 30px 0; | ||||
|     margin-top: 30px; | ||||
| } | ||||
| .container { | ||||
|     max-width: 1200px; | ||||
|     margin: 0 auto; | ||||
|     padding: 0 15px; | ||||
| } | ||||
| .footer-content { | ||||
|     display: flex; | ||||
|     flex-wrap: wrap; | ||||
|     justify-content: space-between; | ||||
|     margin-bottom: 20px; | ||||
| } | ||||
| .footer-logo h3 { | ||||
|     margin: 0; | ||||
|     font-size: 24px; | ||||
|     color: #fff;
 | ||||
| } | ||||
| .footer-links ul { | ||||
|     list-style: none; | ||||
|     padding: 0; | ||||
|     margin: 0; | ||||
| } | ||||
| .footer-links li { | ||||
|     margin-bottom: 10px; | ||||
| } | ||||
| .footer-links a { | ||||
|     color: #ccc;
 | ||||
|     text-decoration: none; | ||||
|     transition: color 0.3s; | ||||
| } | ||||
| .footer-links a:hover { | ||||
|     color: #fff;
 | ||||
| } | ||||
| .footer-contact p { | ||||
|     margin: 5px 0; | ||||
|     color: #ccc;
 | ||||
| } | ||||
| .footer-bottom { | ||||
|     text-align: center; | ||||
|     padding-top: 20px; | ||||
|     border-top: 1px solid #444;
 | ||||
| } | ||||
| @media (max-width: 768px) { | ||||
|     .footer-content { | ||||
|         flex-direction: column; | ||||
|     } | ||||
|     .footer-logo, .footer-links, .footer-contact { | ||||
|         margin-bottom: 20px; | ||||
|     } | ||||
| } | ||||
| </style> | ||||
| 
 | ||||
| <section class="copyright text-center"> | ||||
|     <div class="container wow fadeInUp animated" data-wow-delay="400ms" | ||||
|         style="visibility: visible; animation-delay: 400ms; animation-name: fadeInUp;"> | ||||
|         <p class="copyright__text">Copyright <span class="dynamic-year">2025</span> | All Rights By <a | ||||
|                 href="http://www.yunzer.cn">Yunzer</a></p> | ||||
|     </div> | ||||
| </section> | ||||
| 
 | ||||
| </body> | ||||
| 
 | ||||
| </html> | ||||
| @ -1 +0,0 @@ | ||||
| a:1:{s:7:"captcha";a:1:{s:3:"key";s:60:"$2y$10$yZU4JApcw3QRNuzXTn6wX.J4OqqMv2Km319/ufwZH3HNzjowPtqzq";}} | ||||