企业展示网站用云服务器搭建,选腾讯云还是阿里云更划算?

云服务器特惠活动

2025年09月更新

腾讯云

新老用户均有优惠,续费同价更划算

  • 限时秒杀:2核2G3M 38元/年【直达
  • 新人专享:2核2G3M 68元/年【直达
  • 续费同价:2核2G4M 99元/年【直达
  • 三年特惠:2核4G6M 3年528元【直达
  • 买一年送三个月:2核2G4M 128元【直达
  • 部署AI模型:8核32G Gpu服务器502元/月【直达

阿里云

新人特惠力度大,企业用户专享折扣

  • 限时秒杀:2核2G200M 38元/年【直达
  • 新人限时:2核2G200M 68元/年【直达
  • 续费同价:2核2G3M 99元/年【直达
  • 企业专享:2核4G5M 199元/年【直达
  • 部署AI应用:77.52元/月起【直达
  • 通义千问API:免费调用资源包【直达
优惠活动有时间限制,以官网最新信息为准

我们今天不讲模板建站,也不谈备案流程,只聚焦一个核心问题:如果你打算自己动手搭建一个企业展示型网站,并希望拥有完全的控制权和未来扩展能力,那么从零开始基于云服务器部署,到底该怎么选平台、怎么起步、怎么省钱?

为什么企业展示网站值得用云服务器自建?

很多企业主第一反应是“用模板平台不是更快吗?”确实,但如果你考虑长期品牌独立性、SEO优化深度、内容管理自由度以及后期功能扩展(比如接入CRM、API接口等),基于云服务器的自建方案优势明显。

  • 完全掌控数据与代码:你的网站文件、数据库都在你名下服务器中,不受第三方平台规则限制。
  • SEO友好度更高:你可以自由配置URL结构、meta标签、robots.txt,甚至部署CDN和SSL证书,这些对搜索引擎收录至关重要。
  • 可扩展性强:未来想加博客系统、会员中心、预约系统?直接在服务器上部署即可,无需依赖建站平台是否支持。
  • 成本可控且长期更低:虽然初期投入略高,但避免了年费订阅模式下的持续支出,尤其适合稳定运营的企业官网。

腾讯云 vs 阿里云:企业级云服务器核心参数对比

作为国内两大主流云服务商,腾讯云和阿里云都提供了面向中小企业用户的入门级云服务器产品。以下是基于当前市场主流配置的客观对比分析:

对比维度 腾讯云 阿里云
新用户优惠力度 新用户可享首年大幅折扣,部分配置低至1折起,性价比突出 新用户专享轻量应用服务器套餐,价格极具竞争力,常有限时秒杀
基础配置(典型入门款) 2核2G/3M带宽/60GB SSD,适合中小型展示站稳定运行 2核2G/3M带宽/50GB ESSD,性能稳定,I/O读写表现优异
网络质量 BGP多线接入,全国访问延迟低,尤其在华南地区节点覆盖强 自研飞天架构,网络稳定性高,华东节点资源丰富
安全防护 内置基础DDoS防护、云防火墙,支持免费SSL证书申请 提供WAF、安骑士等多重防护机制,安全体系成熟
控制台体验 界面简洁直观,操作逻辑清晰,适合新手快速上手 功能全面,文档体系完善,适合有一定技术背景的用户
技术支持响应 工单响应速度快,社区活跃,常见问题解决方案丰富 7x24小时技术支持,企业级客户可享专属服务通道

两者在稳定性、安全性、生态支持方面都达到了企业级标准。选择哪一个,更多取决于你当前的实际需求和预算策略。

从零开始搭建企业展示网站的关键步骤

无论你最终选择腾讯云还是阿里云,搭建流程基本一致。以下是经过验证的高效路径:

  1. 注册账号并领取新用户优惠:这是降低成本的第一步。新用户通常能享受远低于原价的首年费用。建议直接点击以下链接查看当前活动:
    点击领取腾讯云新用户专属优惠

    点击获取阿里云限时特价服务器
  2. 选购适合企业展示的云服务器配置:对于静态内容为主的企业官网(如公司简介、产品展示、新闻动态),推荐选择:

    • CPU:2核
    • 内存:2GB
    • 硬盘:60GB SSD及以上
    • 带宽:3Mbps起步,保障图片加载速度
    • 操作系统:CentOS 7.9 或 Ubuntu 20.04 LTS(稳定、社区支持好)
  3. 远程连接服务器并部署运行环境:通过SSH工具(如Xshell、Putty)连接到你的云服务器,安装LAMP或LNMP环境。以LNMP为例,执行命令:
    wget http://soft.vpser.net/lnmp/lnmp1.9-full.tar.gz -cO lnmp1.9-full.tar.gz && tar zxf lnmp1.9-full.tar.gz && cd lnmp1.9-full && ./install.sh lnmp
    此脚本将自动安装Nginx、MySQL、PHP等组件。
  4. 上传网站文件并绑定域名:将你设计好的/CMS系统文件上传至/home/wwwroot/default目录(LNMP默认路径)。然后在云服务商控制台完成域名解析,将A记录指向服务器公网IP。
  5. 配置HTTPS安全访问:现在几乎所有浏览器都优先展示HTTPS站点。可在腾讯云或阿里云免费申请DV型SSL证书,并在Nginx配置中启用HTTPS。
    server { listen 443 ssl; ssl_certificate /path/to/fullchain.pem; ssl_certificate_key /path/to/privkey.pem; ... }
  6. 优化网站性能与SEO基础设置:启用Gzip压缩、浏览器缓存、图片懒加载等前端优化手段。同时设置合理的标签、meta description、alt属性,为搜索引擎抓取做好准备。 </li> </ol> <h2>如何最大化利用云服务器优惠活动降低建站成本?</h2> <p>云服务商经常推出限时促销,掌握规律可以大幅节省开支。</p> <ul> <li><strong>紧盯新用户专享价</strong>:这是最划算的机会。一旦错过,后续续费价格可能翻倍。建议注册后立即下单,锁定低价。</li> <li><strong>关注大促节点</strong>:618、双11、双12、年终特惠等活动期间,云服务器常有历史低价。提前收藏活动页面,设置提醒。</li> <li><strong>选择轻量应用服务器而非ECS裸机</strong>:对于企业展示站,轻量服务器已完全够用,且价格更低,管理更简单。腾讯云和阿里云均有此类产品线。</li> <li><strong>按年付费比月付更便宜</strong>:虽然一次性支付压力略大,但年付通常比月付总成本低15%-25%。</li> <li><strong>组合购买更优惠</strong>:部分套餐包含域名+服务器+SSL证书,打包购买比单项累加更划算。</li> </ul> <p>例如,目前腾讯云针对新用户推出的轻量服务器套餐,2核2G配置配合3M带宽,价格非常具有吸引力。如果你想快速体验,<a rel="noreferrer" href="https://curl.qcloud.com/jEVGu7kK" target="_blank">点击直达腾讯云优惠页面,查看实时特价</a>。同样,阿里云也针对中小企业推出了高性价比入门款,<a rel="noreferrer" href="https://www.aliyun.com/minisite/goods?userCode=5ql52pjx" target="_blank">点击进入阿里云活动专区,抢购限时特价机</a>。</p> <h2>技术选型建议:静态页 vs CMS系统</h2> <p>企业展示网站的技术实现方式直接影响维护成本和SEO效果。</p> <table> <thead> <tr> <th>方案类型</th> <th>适用场景</th> <th>维护难度</th> <th>SEO能力</th> <th>推荐指数</th> </tr> </thead> <tbody> <tr> <td><strong>纯静态</strong></td> <td>内容极少变动,仅用于品牌展示</td> <td>高(每次修改需手动编辑代码)</td> <td>中(需手动优化每个页面)</td> <td>★★★☆☆</td> </tr> <tr> <td><strong>WordPress</strong></td> <td>需要频繁更新新闻、产品、案例</td> <td>低(后台可视化编辑)</td> <td>高(插件丰富,SEO友好)</td> <td>★★★★★</td> </tr> <tr> <td><strong>Typecho / Halo</strong></td> <td>轻量级需求,追求简洁与速度</td> <td>中(轻量CMS,资源占用少)</td> <td>中高(支持自定义SEO)</td> <td>★★★★☆</td> </tr> </tbody> </table> <p>如果你计划长期运营网站,建议直接部署WordPress。它在SEO、插件生态、主题资源方面优势巨大,且对服务器资源要求不高,在2核2G配置上运行流畅。</p> <section> <h2>常见问题解答(FAQ)</h2> <table> <tr> <td><strong>Q: 腾讯云和阿里云哪个更适合企业官网?</strong></td> <td>A: 两者均可。腾讯云在新用户优惠上更激进,阿里云在企业服务生态上更成熟。根据当前活动选择性价比更高的即可。</td> </tr> <tr> <td><strong>Q: 云服务器需要多少带宽才够用?</strong></td> <td>A: 对于日均访问量在1000以内的企业展示站,3Mbps带宽足够支撑图片加载和页面浏览,用户体验良好。</td> </tr> <tr> <td><strong>Q: 自建网站会不会很贵?</strong></td> <td>A: 不一定。利用新用户优惠,一台基础配置的云服务器首年成本可能低于千元,远低于定制开发费用。</td> </tr> <tr> <td><strong>Q: 如何确保服务器安全?</strong></td> <td>A: 启用防火墙、定期更新系统补丁、设置强密码、安装安全插件(如Wordfence),并定期备份数据。</td> </tr> <tr> <td><strong>Q: 域名必须和服务器买同一家吗?</strong></td> <td>A: 不需要。只要在域名服务商处正确设置DNS解析,指向云服务器IP即可实现绑定。</td> </tr> </table> </section> <div class="ai-identifier"> <p>本文由人工智能技术生成,仅供参考,需辨别文章内容信息真实有效</p> </div> <div style="margin: 30px 0 0; padding-top: 20px; border-top: 1px solid #e9ecef;"><div class="related-posts-section"><h3 class="related-title">你可能也喜欢</h3><ul class="related-posts-list"><li><a href="https://www.xymww.com/a-li-yun-xin-yong-hu-ru-he-kuai-su-ling-dao-yun-fu-wu-qi.html" title="阿里云新用户如何快速领到云服务器代金券?">阿里云新用户如何快速领到云服务器代金券?</a></li><li><a href="https://www.xymww.com/xue-sheng-yong-yun-fu-wu-qi-mei-yue-10-yuan-neng-chang-qi.html" title="学生用云服务器每月10元能长期使用吗?阿里云腾讯云低价套餐真相">学生用云服务器每月10元能长期使用吗?阿里云腾讯云低价套餐真相</a></li><li><a href="https://www.xymww.com/teng-xun-yun-qing-liang-ying-yong-fu-wu-qi-di-jia-tao-can.html" title="腾讯云轻量应用服务器低价套餐怎么选?这3个坑90%的人都踩过">腾讯云轻量应用服务器低价套餐怎么选?这3个坑90%的人都踩过</a></li><li><a href="https://www.xymww.com/yun-fu-wu-qi-da-jian-bo-ke-wang-zhan-ka-zai-an-quan-zu-pei.html" title="云服务器搭建博客网站卡在安全组配置?CentOS 7.4与宝塔面板协同部署避坑指南">云服务器搭建博客网站卡在安全组配置?CentOS 7.4与宝塔面板协同部署避坑指南</a></li><li><a href="https://www.xymww.com/jing-dong-yun-dai-jin-quan-zen-me-die-jia-yong-xin-yong-hu.html" title="京东云代金券怎么叠加用?新用户买服务器如何省更多?">京东云代金券怎么叠加用?新用户买服务器如何省更多?</a></li></ul></div></div> <!-- 友情链接区域 --> <div class="friend-links"> <ul class="friend-links-list"> <li><a href="https://yun.xymww.com/" target="_blank">云服务器</a></li> <li><a href="https://yun.xymww.com" target="_blank">云服务器推荐</a></li> <li><a href="https://yun.xymww.com/" target="_blank">低价服务器</a></li> <li><a href="https://yun.xymww.com/" target="_blank">服务器</a></li> <li><a href="https://yun.xymww.com/" target="_blank">服务器推荐</a></li> <li><a href="https://yun.xymww.com/" target="_blank">服务器购买</a></li> </ul> </div> <!-- 内联样式(也可放入主题的 main.css 或 style.css 中) --> <style> .friend-links { margin: 15px 0; padding: 10px 0; border-top: 1px dashed #e0e0e0; border-bottom: 1px dashed #e0e0e0; text-align: center; } .friend-links-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; /* 链接之间的间距 */ } .friend-links-list li { display: inline-block; white-space: nowrap; /* 防止链接文字换行 */ } .friend-links-list a { color: #0073aa; font-size: 14px; text-decoration: none; padding: 2px 6px; border-radius: 3px; transition: all 0.3s; } .friend-links-list a:hover { color: #fff; background-color: #0073aa; text-decoration: none; } </style> <div id="custom-message"></div> <aside class="main-left isIndex" id="navigator"> <!-- 文章底部 --> <footer> <div class="article-footer"> <!--版权--> <!--赞赏--> <!--标签--> <div class="label"> <i class="iconfont icon-biaoqian"></i> <ul> <li>暂无标签</li> </ul> </div> </div> <div class="footer-nav"> <div class="to"> <span class="text">上一篇</span> <a href="https://www.xymww.com/2025-nian-zuo-kua-jing-dian-shang-xuan-na-jia-yun-fu-wu-qi.html" title="2025年做跨境电商选哪家云服务器更划算?">2025年做跨境电商选哪家云服务器更划算?</a> </div> <div class="to right"> <span class="text">下一篇</span> <a href="https://www.xymww.com/da-jian-ge-ren-wang-zhan-hou-ru-he-you-hua-seo-zhei-xie-fu.html" title="搭建个人网站后如何优化SEO?这些服务器配置和推广策略你必须知道">搭建个人网站后如何优化SEO?这些服务器配置和推广策略你必须知道</a> </div> </div> </footer> </article> <!-- 文章评论 --> </div> <!-- 右边相关信息 --> <div id="fixed"> <aside class="main-right" id="right"> <section id="custom_html-4" class="widget_text widget widget_custom_html"><div class="textwidget custom-html-widget"><div class="ad-banner-top" style=" background: linear-gradient(135deg, #f9f9ff 0%, #fff5f5 100%); border: 1px solid #e0e0e0; border-radius: 12px; padding: 15px; margin: 15px 0; box-shadow: 0 4px 12px rgba(0,0,0,0.05); font-family: 'Microsoft YaHei', sans-serif; max-width: 100%; box-sizing: border-box; "> <!-- 主标题 --> <h3 style="color: #333; margin: 0 0 12px; font-size: 16px; text-align: center; line-height: 1.3;"> 🔥 云服务器限时特惠 </h3> <!-- 优惠项目容器 --> <div style="display: flex; flex-direction: column; gap: 8px;"> <!-- 腾讯云轻量服务器 --> <div style=" background: #f0f7ff; border: 1px solid #bee5eb; border-radius: 8px; padding: 10px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; "> <div style="flex: 1; min-width: 0;"> <strong style="color: #007bff;">腾讯云轻量服务器</strong><br> <span style="display: block; margin: 3px 0; color: #666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">2核2G,3M带宽,40G SSD 系统盘</span> <span style="color: #d9534f; font-weight: bold;">38元/年</span> <small style="color: #999; text-decoration: line-through; margin-left: 5px;">新用户专享价</small> </div> <a href="https://www.xymww.com/tencent" target="_blank" style=" background: #007bff; color: white; padding: 6px 10px; text-decoration: none; border-radius: 4px; font-weight: bold; white-space: nowrap; margin-left: 8px; font-size: 12px; transition: background 0.2s; " onmouseover="this.style.background='#0056b3'" onmouseout="this.style.background='#007bff'">抢购</a> </div> <!-- 阿里云轻量服务器 --> <div style=" background: #fff9f0; border: 1px solid #ffe5b0; border-radius: 8px; padding: 10px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; "> <div style="flex: 1; min-width: 0;"> <strong style="color: #f80;">阿里云轻量服务器</strong><br> <span style="display: block; margin: 3px 0; color: #666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">2核2G,3M带宽,40G系统盘</span> <span style="color: #d9534f; font-weight: bold;">38元/年</span> <small style="color: #999; margin-left: 5px;">新用户专享价</small> </div> <a href="https://www.xymww.com/aliyun" target="_blank" style=" background: #f80; color: white; padding: 6px 10px; text-decoration: none; border-radius: 4px; font-weight: bold; white-space: nowrap; margin-left: 8px; font-size: 12px; transition: background 0.2s; " onmouseover="this.style.background='#e07000'" onmouseout="this.style.background='#f80'">领取</a> </div> <!-- 腾讯云CVM --> <div style=" background: #f0f7ff; border: 1px solid #bee5eb; border-radius: 8px; padding: 10px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; "> <div style="flex: 1; min-width: 0;"> <strong style="color: #007bff;">腾讯云轻量应用服务器</strong><br> <span style="display: block; margin: 3px 0; color: #666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">2核4G,6M带宽</span> <span style="color: #d9534f; font-weight: bold;">528元/3年</span> </div> <a href="https://www.xymww.com/tencent" target="_blank" style=" background: #007bff; color: white; padding: 6px 10px; text-decoration: none; border-radius: 4px; font-weight: bold; white-space: nowrap; margin-left: 8px; font-size: 12px; transition: background 0.2s; " onmouseover="this.style.background='#0056b3'" onmouseout="this.style.background='#007bff'">抢购</a> </div> <!-- 腾讯云CVM --> <div style=" background: #f0f7ff; border: 1px solid #bee5eb; border-radius: 8px; padding: 10px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; "> <div style="flex: 1; min-width: 0;"> <strong style="color: #007bff;">腾讯云轻量应用服务器</strong><br> <span style="display: block; margin: 3px 0; color: #666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">2核2G,4M带宽</span> <span style="color: #d9534f; font-weight: bold;">99元/年</span> <small style="color: #999; margin-left: 5px;">续费同价</small> </div> <a href="https://www.xymww.com/tencent" target="_blank" style=" background: #007bff; color: white; padding: 6px 10px; text-decoration: none; border-radius: 4px; font-weight: bold; white-space: nowrap; margin-left: 8px; font-size: 12px; transition: background 0.2s; " onmouseover="this.style.background='#0056b3'" onmouseout="this.style.background='#007bff'">抢购</a> </div> <!-- 阿里云ECS --> <div style=" background: #fff9f0; border: 1px solid #ffe5b0; border-radius: 8px; padding: 10px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; "> <div style="flex: 1; min-width: 0;"> <strong style="color: #f80;">阿里云ECS经济型</strong><br> <span style="display: block; margin: 3px 0; color: #666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">2核2G,3M带宽,40G云盘</span> <span style="color: #d9534f; font-weight: bold;">99元/年</span> <small style="color: #999; margin-left: 5px;">续费同价</small> </div> <a href="https://www.xymww.com/aliyun" target="_blank" style=" background: #f80; color: white; padding: 6px 10px; text-decoration: none; border-radius: 4px; font-weight: bold; white-space: nowrap; margin-left: 8px; font-size: 12px; transition: background 0.2s; " onmouseover="this.style.background='#e07000'" onmouseout="this.style.background='#f80'">购买</a> </div> <!-- GPU服务器标题 --> <div style="display: flex; align-items: center; margin: 12px 0 5px;"> <h4 style="color: #333; margin: 0; font-size: 14px; font-weight: 600;"> GPU服务器推荐(AI训练/推理专用) </h4> </div> <!-- 阿里云GPU实例 --> <div style=" background: #f8f0ff; border: 1px solid #e6d4ff; border-radius: 8px; padding: 10px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; "> <div style="flex: 1; min-width: 0;"> <strong style="color: #8a2be2;">阿里云GPU实例</strong><br> <span style="display: block; margin: 3px 0; color: #666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">16核60G + 1张A10(24G显存)</span> <span style="color: #d9534f; font-weight: bold;">1.9元/小时起</span> <small style="color: #999; margin-left: 5px;">最长100小时享1折</small> </div> <a href="https://www.xymww.com/aliyun" target="_blank" style=" background: #8a2be2; color: white; padding: 6px 10px; text-decoration: none; border-radius: 4px; font-weight: bold; white-space: nowrap; margin-left: 8px; font-size: 12px; transition: background 0.2s; " onmouseover="this.style.background='#7020c0'" onmouseout="this.style.background='#8a2be2'">部署</a> </div> <!-- 腾讯云GPU实例 --> <div style=" background: #f8f0ff; border: 1px solid #e6d4ff; border-radius: 8px; padding: 10px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; "> <div style="flex: 1; min-width: 0;"> <strong style="color: #8a2be2;">腾讯云GPU实例</strong><br> <span style="display: block; margin: 3px 0; color: #666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">32核64G GPU推理服务器</span> <span style="color: #d9534f; font-weight: bold;">691元/月</span> <small style="color: #999; margin-left: 5px; font-size: 11px;">快速实现大模型训练与推理</small> </div> <a href="https://www.xymww.com/tencent" target="_blank" style=" background: #8a2be2; color: white; padding: 6px 10px; text-decoration: none; border-radius: 4px; font-weight: bold; white-space: nowrap; margin-left: 8px; font-size: 12px; transition: background 0.2s; " onmouseover="this.style.background='#7020c0'" onmouseout="this.style.background='#8a2be2'">购买</a> </div> </div> </div> </div></section> <div class="div-info "> <div class="header"> <ul> <li class="active"><div class="mark"></div>热门文章</li> <!-- <li>修改记录</li>--> </ul> </div> <ul class="ul"> <li> <div class="title"> <a href="https://www.xymww.com/xue-sheng-ru-he-an-quan-pei-zhi-mian-fei-yun-zhu-ji-zhei.html" title="学生如何安全配置免费云主机?这些防护策略能有效防黑"><i class="iconfont icon-xiangxiazhankai1"></i>学生如何安全配置免费云主机?这些防护策略能有效防黑</a> </div> </li><li> <div class="title"> <a href="https://www.xymww.com/2025-nian-a-li-yun-teng-xun-yun-hua-wei-yun-fu-wu-qi-zen-me.html" title="2025年阿里云腾讯云华为云服务器怎么选才不踩坑?"><i class="iconfont icon-xiangxiazhankai1"></i>2025年阿里云腾讯云华为云服务器怎么选才不踩坑?</a> </div> </li><li> <div class="title"> <a href="https://www.xymww.com/xue-sheng-dang-ru-he-xuan-fu-wu-qi-pei-zhi-da-bo-ke-he-lian.html" title="学生党如何选服务器配置?搭博客和练Linux该看哪些参数"><i class="iconfont icon-xiangxiazhankai1"></i>学生党如何选服务器配置?搭博客和练Linux该看哪些参数</a> </div> </li><li> <div class="title"> <a href="https://www.xymww.com/an-xiao-shi-zu-gpu-fu-wu-qi-zhen-hua-suan-ma-a100-yu-t4.html" title="按小时租GPU服务器真划算吗?A100与T4成本对比揭秘"><i class="iconfont icon-xiangxiazhankai1"></i>按小时租GPU服务器真划算吗?A100与T4成本对比揭秘</a> </div> </li><li> <div class="title"> <a href="https://www.xymww.com/yun-fu-wu-qi-gang-da-hao-an-quan-zu-he-fang-huo-qiang-zen.html" title="云服务器刚搭好,安全组和防火墙怎么配才既安全又不锁死自己?"><i class="iconfont icon-xiangxiazhankai1"></i>云服务器刚搭好,安全组和防火墙怎么配才既安全又不锁死自己?</a> </div> </li> </ul> </div> </aside> </div> </main> <!--角标--> <div class="main-bottom"> <style> .footer { background: #ffffff; border-top: 1px solid #eaeaea; padding: 40px 0; margin-top: 50px; font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; box-shadow: 0 -2px 10px rgba(0,0,0,0.03); } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; } .footer-section { margin-bottom: 0; } .footer-title { color: #2c3e50; font-size: 1.1rem; margin-bottom: 15px; font-weight: 600; } .footer-links a, .footer-text { color: #4a5568; font-size: 0.95rem; line-height: 1.8; transition: all 0.3s; display: block; } .footer-links a:hover { color: #3498db; transform: translateX(5px); } .footer-divider { border: 0; height: 1px; background: #f0f0f0; margin: 30px 0; } .footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-top: 20px; } .footer-legal { color: #718096; font-size: 0.85rem; } .footer-legal a { color: #718096; margin-right: 15px; } .footer-legal a:hover { color: #3498db; } /* 响应式调整 */ @media (max-width: 768px) { .footer-container { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; gap: 15px; } } </style> <footer class="footer"> <div class="footer-container"> <!-- 关于我们 --> <div class="footer-section"> <div class="footer-text"> </div> </div> <!-- 快速链接 --> <div class="footer-section"> <h3 class="footer-title">快速链接</h3> <div class="footer-links"> <a href="https://www.xymww.com">网站首页</a> <a href="/wp-sitemap.xml">网站地图</a> </div> </div> </div> <div class="footer-container"> <hr class="footer-divider"> <div class="footer-bottom"> <div class="footer-legal"> Copyright © 2025 www.xymww.com. All Rights Reserved. </div> <div class="footer-legal"> <a href="http://beian.miit.gov.cn/" target="_blank" rel="nofollow">渝ICP备2024048343号-1</a> <a href="https://beian.mps.gov.cn/#/query/webSearch?code=50010502504446" rel="noreferrer nofollow" target="_blank"> <img loading="lazy" src="/logo01.6189a29f.png" style="width: 16px; height: 16px; margin-right: 5px; vertical-align: middle;" alt="公安备案"> 渝公网安备50010502504446号 </a> </div> </div> </div> </footer></div> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?f524c6b5acaa142f0451ea6e0e36fc3d"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script><script type="speculationrules"> {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"\/*"},{"not":{"href_matches":["\/wp-*.php","\/wp-admin\/*","\/wp-content\/uploads\/*","\/wp-content\/*","\/wp-content\/plugins\/*","\/wp-content\/themes\/theme-document-master\/*","\/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} </script> <script type="text/javascript" id="ai-interaction-script-js-extra"> /* <![CDATA[ */ var aiInteractionParams = {"ajaxUrl":"https:\/\/www.xymww.com\/wp-admin\/admin-ajax.php"}; /* ]]> */ </script> <script type="text/javascript" src="https://www.xymww.com/wp-content/plugins/LinkreateWPAI正式版/includes/js/ai-interaction.js" id="ai-interaction-script-js"></script> </body> </html>