简介

在当今世界的信息时代,图书馆对于人们的学习和研究具有举足轻重的地位。传统图书馆已经不能满足人们的需求,因此,构建一个有效、高效的图书馆数据库系统显得尤为必要。QT是一种流行的软件开发工具,它提供了良好的图形用户界面(UI)支持,并以跨平台易用性著名。本文将介绍使用QT如何构建一个图书馆数据库系统。

创建数据库

我们需要创建一个适当的数据库。使用SQL Server或MySql等关系数据库管理系统(RDBMS)。使用QT提供的 QSqlDatabase 类可以方便地连接数据库。在使用 QSqlDatabase 前,我们还应该选择合适的数据库驱动程序,该驱动程序必须能够与我们选择的 RDBMS 兼容。可以使用QSqlDatabase::drivers()函数来查询所有已安装的驱动程序。

例如,下面的代码创建了一个名为”library”的数据库并连接到其默认数据库中。可以在任何操作系统中使用该代码。我们将使用QT提供的 SQLite 驱动程序来连接这个数据库。

“`

#include

#include

QSqlDatabase db = QSqlDatabase::addDatabase(“QSQLITE”);

db.setDatabaseName(“library”);

if (!db.open()) {

qDebug()

}

“`

设计表结构

创建好数据库后,我们需要设计表结构。表结构是 RDBMS 中数据的逻辑组织形式,最终用于存储、操作并检索数据。一个典型的图书馆应该至少包含以下三张表:book、author和publisher。统计信息表或用户表也可以作为附加表。

“`

QSqlQuery query;

query.exec(“create table book (“

“id int primary key, “

“title varchar(255), “

“author_id int, “

“publisher_id int, “

“in varchar(20),”

“year int”

“)”);

query.exec(“create table author(“

“id int primary key, “

“name varchar(100)”

“)”);

query.exec(“create table publisher( “

“id int primary key, “

“name varchar(255)”

“)”);

“`

在本示例中,book 表保存图书的基本信息,包括题目、作者、出版商、ISBN 号和出版年份。作者和出版商表仅包含各自的ID和名称两个字段。

添加数据

当我们创建好表结构后,下一步就是添加数据。通过 QSqlQuery 类,我们可以添加和查询数据。例如,下面的代码将向图书表中添加一条记录:

“`

QSqlQuery query;

query.prepare(“insert into book (id, title, author_id, publisher_id, in, year) “

“values (:id, :title, :author_id, :publisher_id, :in, :year)”);

query.bindValue(“:id”, 1);

query.bindValue(“:title”, “The Great Gaty”);

query.bindValue(“:author_id”, 1);

query.bindValue(“:publisher_id”, 1);

query.bindValue(“:in”, “9780141182636”);

query.bindValue(“:year”, 1925);

query.exec();

“`

查询记录

我们可以使用 SQL 语句从数据库中查询数据。例如,下面的代码将返回图书表中的所有记录:

“`

QSqlQuery query;

query.exec(“select * from book”);

while (query.next()) {

int id = query.value(0).toInt();

QString title = query.value(1).toString();

int author_id = query.value(2).toInt();

int publisher_id = query.value(3).toInt();

QString in = query.value(4).toString();

int year = query.value(5).toInt();

qDebug() </p> <p>}</p> <p>“`</p> <p>使用 QT 特性进行图形界面设计</p> <p>QT 提供了大量用于创建图形界面的特性。其中包括:</p> <p>– QT Designer(图形用户界面设计器)</p> <p>– QT Creator(用于软件开发工具)</p> <p>– QT Widgets(提供编写 Qt 程序的默认库)</p> <p>QT Designer</p> <p>QT Designer 是一个跨平台的布局设计器,允许程序员在使用 QT 编写代码之前、完全可视化地创建私有部件窗口。创建窗口后,将UI文件用uic编译器进行编译,这将创建一个C++源文件(ui_XXX.h),供程序员使用。</p> <p>QT Creator</p> <p>QT Creator 是一个面向对象的跨平台 IDE,可以使用它来开发和调试QT应用程序。QT Creator 编辑器具有很多有用的功能,例如具有语法突出显示、自动完成、引用工具和符号浏览器等功能的代码编辑器。此外,还提供了一个调试器、一个项目管理器、一个版本控制系统和一个集成过程与版本控制系统的构建系统。</p> <p>QT Widgets</p> <p>QT Widgets 是 QT 框架的默认库,提供了一套丰富的基础用户界面组件,例如按钮、标签、文本编辑器等。QT Widgets 的界面组件具有类似的标识符、事件处理、信号发送,以及主题、可访问性和布局管理等特性。</p> <p>结论</p> <p class="cus_content_list"><strong>相关问题拓展阅读:</strong></p> <ul> <li><a href="https://www.npspro.top/wp-content/plugins/third-party-links/go.php/?url=aHR0cHM6Ly93d3cuZGJzNzI0LmNvbS8jcXRkZXNpZ25lcuaAjuS5iOS9v+eUqOaVsOaNruW6kw==" target="_blank" rel="nofollow" title="qtdesigner怎么使用数据库">qtdesigner怎么使用数据库</a></li> <li><a href="https://www.npspro.top/wp-content/plugins/third-party-links/go.php/?url=aHR0cHM6Ly93d3cuZGJzNzI0LmNvbS8jUVTmt7vliqDlm77niYfliLBteXNxbOaVsOaNruW6kw==" target="_blank" rel="nofollow" title="QT添加图片到mysql数据库">QT添加图片到mysql数据库</a></li> </ul> <div id="toc_container" class="toc_transparent no_bullets"><p class="toc_title">文章目录</p><ul class="toc_list"><li><a href="#qtdesigner"><span class="toc_number toc_depth_1">1</span> qtdesigner怎么使用数据库</a></li><li><a href="#QTmysql"><span class="toc_number toc_depth_1">2</span> QT添加图片到mysql数据库</a></li></ul></div> <h3 id="qtdesigner怎么使用数据库"><span id="qtdesigner">qtdesigner怎么使用数据库</span></h3> <p>qtdesigner使用数据库的方法是渣迹,数如皮并据库文件的创建和链接: bool bExist = QFile::exists(“my.db”); //判断数据库文件是否存在 m_dataBase = QSqlDatabase::addDatabase(“QSQLITE”握猜,”123”); //选择数据库驱动为SqlLite。</p> <h3 id="QT添加图片到mysql数据库"><span id="QTmysql">QT添加图片到mysql数据库</span></h3> <p>数腊悉滑据库存储图片名称,输轮腊出的陆斗时候添加路径就可以了。</p> <p>echo “img src=’./image/”.$img.”.jpg’ alt=””;</p> <p>qt图书馆数据库的介绍就聊到这里吧,感谢你花时间阅读本站内容,更多关于qt图书馆数据库,使用QT构建图书馆数据库系统,qtdesigner怎么使用数据库,QT添加图片到mysql数据库的信息别忘了在本站进行查找喔。</p> <div class='yarpp yarpp-related yarpp-related-website yarpp-related-none yarpp-template-list'> <p>无关联文章</p> </div> <div class="post-end"> <!--<span><a style="color:#F17B8F; border-bottom: 0px solid #999!important;">-------------------------此篇文章到此结束-------------------------</a></span>--> </div> <ul class="post-copyright"> <!--<li class="post-copyright-author"><strong>本文作者:</strong><a title="www.88531.cn资享网" href="https://www.npspro.top/author/admin">www.88531.cn资享网</a></li>--> <li class="post-copyright-link"><strong>本文来源链接地址:</strong> <a rel="bookmark" title="使用QT构建图书馆数据库系统 (qt图书馆数据库)" href="https://www.npspro.top/14129.html"> https://www.npspro.top/14129.html</a></li> <!--<li class="post-copyright-license"><strong>转载请注明来自:<a href="./" data-pjax-state="">www.88531.cn资享网</a></li>--> </ul> </div> <div id="pay-single-box"></div> <div class="article-copyright">www.npspro.top互联侠客<br/><a href="https://www.npspro.top">软师傅</a> » <a href="https://www.npspro.top/14129.html">使用QT构建图书馆数据库系统 (qt图书馆数据库)</a></div> <div class="ripro_gg_wrap pc"><a href='https://cloud.tencent.com/act/pro/Featured?from=24551&cps_key=e8dd943ef20bc89427528d2acd8b08d8' target="_blank"><img class="alignnone size-full wp-image-38236" src="/wp-content/uploads/txad/2.png" alt="" width="100%" /></a></div><div class="article-footer"> <div class="author-box"> <div class="author-image"> <img alt='' data-src='https://www.npspro.top/wp-content/themes/ripro/assets/images/avatar/1.png' class='lazyload avatar avatar-96 photo ' height='96' width='96' /> </div> <div class="author-info"> <h4 class="author-name"> <a target="_blank" href="javascript:;">Perfect″—完美</a> <span class="label label-warning"><i class="fa fa-diamond"></i> 钻石</span> </h4> </div> </div> <div class="xshare"> <span class="xshare-title">分享到:</span> <a href="javascript:;" title="收藏文章" etap="star" data-postid="14129" class="ripro-star"><i class="fa fa-star-o"></i></a> <a href="" etap="share" data-share="qq" class="share-qq"><i class="fa fa-qq"></i></a> <a href="" etap="share" data-share="weibo" class="share-weibo"><i class="fa fa-weibo"></i></a> </div> </div> </div> </div> </article> <div class="entry-navigation"> <nav class="article-nav"> <span class="article-nav-prev">上一篇<br><a href="https://www.npspro.top/12027.html" rel="prev">iOS应用程序下载数据库文件的打开指南 (ios app下载数据库文件怎么打开)</a></span> <span class="article-nav-next">下一篇<br><a href="https://www.npspro.top/16384.html" rel="next">微博遭遇数据库异常,用户数据安全受威胁? (微博数据库异常)</a></span> </nav> </div> </main> </div> </div> <div class="sidebar-column col-lg-3"> <aside class="widget-area"> <div id="block-16" class="widget widget_block">AD:【腾讯云服务器大降价】<a href='https://cloud.tencent.com/act/pro/Featured?from=24551&cps_key=e8dd943ef20bc89427528d2acd8b08d8' style='color:red;' target="_blank">2核4G222元/3年1核2G38元/年</a> <br> <div style="color:red;">100T热门网盘资源精选:<a href='https://link3.cc/88531cn' target="_blank"><点击查看></a></div></div> <div id="recent-posts-4" class="widget widget_recent_entries"> <h5 class="widget-title">近期文章</h5> <ul> <li> <a href="https://www.npspro.top/37932.html">PiliPlus 非常好用的开源软件第三方B站哔哩哔哩 v1.1.3.35</a> </li> <li> <a href="https://www.npspro.top/37931.html">就是加速v1.4.1合集版 阿里/夸克/uc网盘加速/解锁网盘限速</a> </li> <li> <a href="https://www.npspro.top/37926.html">wordpress ripro主题 防止篡改网站标题 通过禁止修改 wp_options 表中的 blogname 字段实现唯一能解决的方法</a> </li> <li> <a href="https://www.npspro.top/37925.html">免root虚拟定位器Fake Location可自定义位置 反检测</a> </li> <li> <a href="https://www.npspro.top/37924.html">安卓任我行会员版 v1.3.4.2 免root虚拟定位 路线模拟</a> </li> </ul> </div><div id="archives-7" class="widget widget_archive"><h5 class="widget-title">归档</h5> <label class="screen-reader-text" for="archives-dropdown-7">归档</label> <select id="archives-dropdown-7" name="archive-dropdown"> <option value="">选择月份</option> <option value='https://www.npspro.top/date/2025/05'> 2025 年 5 月  (132)</option> <option value='https://www.npspro.top/date/2025/04'> 2025 年 4 月  (121)</option> <option value='https://www.npspro.top/date/2025/03'> 2025 年 3 月  (128)</option> <option value='https://www.npspro.top/date/2025/02'> 2025 年 2 月  (63)</option> <option value='https://www.npspro.top/date/2025/01'> 2025 年 1 月  (39)</option> <option value='https://www.npspro.top/date/2024/12'> 2024 年 12 月  (36)</option> <option value='https://www.npspro.top/date/2024/11'> 2024 年 11 月  (32)</option> <option value='https://www.npspro.top/date/2024/10'> 2024 年 10 月  (24)</option> <option value='https://www.npspro.top/date/2024/09'> 2024 年 9 月  (48)</option> <option value='https://www.npspro.top/date/2024/08'> 2024 年 8 月  (20)</option> <option value='https://www.npspro.top/date/2024/07'> 2024 年 7 月  (45)</option> <option value='https://www.npspro.top/date/2024/06'> 2024 年 6 月  (54)</option> <option value='https://www.npspro.top/date/2024/05'> 2024 年 5 月  (181)</option> <option value='https://www.npspro.top/date/2024/04'> 2024 年 4 月  (199)</option> <option value='https://www.npspro.top/date/2024/03'> 2024 年 3 月  (201)</option> <option value='https://www.npspro.top/date/2024/02'> 2024 年 2 月  (153)</option> <option value='https://www.npspro.top/date/2024/01'> 2024 年 1 月  (159)</option> <option value='https://www.npspro.top/date/2023/12'> 2023 年 12 月  (159)</option> <option value='https://www.npspro.top/date/2023/11'> 2023 年 11 月  (252)</option> <option value='https://www.npspro.top/date/2023/10'> 2023 年 10 月  (246)</option> <option value='https://www.npspro.top/date/2023/09'> 2023 年 9 月  (8039)</option> <option value='https://www.npspro.top/date/2023/08'> 2023 年 8 月  (4637)</option> <option value='https://www.npspro.top/date/2023/07'> 2023 年 7 月  (40)</option> </select> <script type="text/javascript"> /* <![CDATA[ */ (function() { var dropdown = document.getElementById( "archives-dropdown-7" ); function onSelectChange() { if ( dropdown.options[ dropdown.selectedIndex ].value !== '' ) { document.location.href = this.options[ this.selectedIndex ].value; } } dropdown.onchange = onSelectChange; })(); /* ]]> */ </script> </div><div id="toc-widget-2" class="widget toc_widget"><h5 class="widget-title">文章目录</h5><ul class="toc_widget_list no_bullets"><li><a href="#qtdesigner"><span class="toc_number toc_depth_1">1</span> qtdesigner怎么使用数据库</a></li><li><a href="#QTmysql"><span class="toc_number toc_depth_1">2</span> QT添加图片到mysql数据库</a></li></ul></div></aside> </div> </div> </div> </div><!-- end sitecoent --> <div class="module parallax"> <img class="jarallax-img lazyload" data-srcset="https://www.npspro.top/wp-content/themes/ripro/assets/images/background/bg-1.jpg" data-sizes="auto" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt=""> <div class="container"> <h4 class="entry-title"> 最TOP的Docker,软路由,虚拟机等学习资料 </h4> <a target="_blank" class="button" href="/jpym">立即查看</a> <a target="_blank" class="button transparent" href="/jpym">了解详情</a> </div> </div> <footer class="site-footer"> <div class="container"> <div class="footer-widget"> <div class="row"> <div class="col-xs-12 col-sm-6 col-md-3 widget--about"> <div class="widget--content"> <div class="footer--logo mb-20"> <img class="tap-logo" src="https://www.npspro.top/wp-content/uploads/2025/02/1740583554-a87ff679a2f3e71.png" data-dark="https://www.npspro.top/wp-content/uploads/2025/02/1740583554-a87ff679a2f3e71.png" alt="软师傅"> </div> <p class="mb-10">软师傅,为你提供最TOP的Docker,软路由,虚拟机等学习资料</p> </div> </div> <!-- .col-md-2 end --> <div class="col-xs-12 col-sm-3 col-md-2 col-md-offset-1 widget--links"> <div class="widget--title"> <h5>本站导航</h5> </div> <div class="widget--content"> <ul class="list-unstyled mb-0"> </ul> </div> </div> <!-- .col-md-2 end --> <div class="col-xs-12 col-sm-3 col-md-2 widget--links"> <div class="widget--title"> <h5>友情链接</h5> </div> <div class="widget--content"> <ul class="list-unstyled mb-0"> </ul> </div> </div> <!-- .col-md-2 end --> <div class="col-xs-12 col-sm-12 col-md-4 widget--newsletter"> <div class="widget--title"> <h5>快速搜索</h5> </div> <div class="widget--content"> <form class="newsletter--form mb-30" action="https://www.npspro.top/" method="get"> <input type="text" class="form-control" name="s" placeholder="关键词"> <button type="submit"><i class="fa fa-arrow-right"></i></button> </form> <h6>特别声明:本站所有资源均来源于互联网,如有侵权请联系站长(181050043#qq.com),将第一时间删除,源码仅供参考学习,请勿商用或其它非法用途,否则一切后果用户自负!</h6> </div> </div> </div> </div> <div class="site-info"> © 2025Theme by - 软师傅www.npspro.top <a href="https://beian.miit.gov.cn" target="_blank" class="text" rel="noreferrer nofollow"> 陕ICP备2023008366号-4</a> <br> </div> </div> </footer> <div class="rollbar"> <div class="rollbar-item tap-dark" etap="tap-dark" title="夜间模式"><i class="mdi mdi-brightness-4"></i></div> <div class="rollbar-item tap-click-qiandao"><a class="click-qiandao" title="签到" href="javascript:;"><i class="fa fa-calendar-check-o"></i></a></div> <div class="rollbar-item tap-pencil"><a target="_blank" title="投稿赚钱" href="https://www.npspro.top/wp-admin/post-new.php"><i class="fa fa-pencil"></i></a></div> <div class="rollbar-item tap-qq" etap="tap-qq"><a target="_blank" title="QQ咨询" href="http://wpa.qq.com/msgrd?v=3&uin=181050043&site=qq&menu=yes"><i class="fa fa-qq"></i></a></div> <div class="rollbar-item tap-blog-style" etap="tap-blog-style" data-id="1" title="博客模式"><i class="fa fa-list"></i></div> <div class="rollbar-item" etap="to_full" title="全屏页面"><i class="fa fa-arrows-alt"></i></div> <div class="rollbar-item" etap="to_top" title="返回顶部"><i class="fa fa-angle-up"></i></div> </div> <div class="dimmer"></div> <div id="popup-signup" class="popup-signup fade" style="display: none;"> <div class="register-login-modal" role="document"> <div class="modal-content"> <div class="modal-body"> <img class="popup-logo" src="https://www.npspro.top/wp-content/uploads/2025/02/1740583554-a87ff679a2f3e71.png" data-dark="https://www.npspro.top/wp-content/uploads/2025/02/1740583554-a87ff679a2f3e71.png" alt="软师傅"> <!-- Nav tabs --> <ul class="nav nav-tabs"> <li class="active"><a href="#login" data-toggle="login">登录</a> </li> <li><a href="#signup" data-toggle="signup">注册</a> </li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane fade in active" id="login"> <div class="signup-form-container text-center"> <form class="mb-0"> <div class="form-group"> <input type="text" class="form-control" name="username" placeholder="*用户名或邮箱"> </div> <div class="form-group"> <input type="password" class="form-control" name="password" placeholder="*密码"> </div> <button type="button" class="go-login btn btn--primary btn--block"><i class="fa fa-bullseye"></i> 安全登录</button> <!-- <a href="#" class="forget-password">忘记密码?</a> --> </form> <!-- form end --> </div> <!-- .signup-form end --> </div> <div class="tab-pane fade in" id="signup"> <form class="mb-0"> <div class="form-group"> <input type="text" class="form-control" name="user_name" placeholder="输入英文用户名"> </div> <!-- .form-group end --> <div class="form-group"> <input type="email" class="form-control" name="user_email" placeholder="绑定邮箱"> </div> <!-- .form-group end --> <div class="form-group"> <input type="password" class="form-control" name="user_pass" placeholder="密码最小长度为6"> </div> <div class="form-group"> <input type="password" class="form-control" name="user_pass2" placeholder="再次输入密码"> </div> <div class="form-group"> <div class="input-group"> <input type="text" class="form-control" name="captcha" placeholder="邮箱验证码"> <span class="input-group-btn"> <button class="go-captcha_email btn btn--secondary" type="button">发送验证码</button> </span> </div> </div> <button type="button" class="go-register btn btn--primary btn--block"><i class="fa fa-bullseye"></i> 立即注册</button> </form> <!-- form end --> </div> </div> <a target="_blank" href="https://www.npspro.top/wp-login.php?action=lostpassword" class="rest-password">忘记密码?</a> </div> <!-- /.modal-content --> </div> <!-- /.modal-dialog --> </div> <!-- /.modal --> </div> <div class="off-canvas"> <div class="canvas-close"><i class="mdi mdi-close"></i></div> <div class="logo-wrapper"> <a href="https://www.npspro.top/"> <img class="logo regular" src="https://www.npspro.top/wp-content/uploads/2025/02/1740583554-a87ff679a2f3e71.png" alt="软师傅"> </a> </div> <div class="mobile-menu hidden-lg hidden-xl"></div> <aside class="widget-area"> <div id="recent-posts-3" class="widget widget_recent_entries"> <h5 class="widget-title">最近文章</h5> <ul> <li> <a href="https://www.npspro.top/37932.html">PiliPlus 非常好用的开源软件第三方B站哔哩哔哩 v1.1.3.35</a> <span class="post-date">2025年5月25日</span> </li> <li> <a href="https://www.npspro.top/37931.html">就是加速v1.4.1合集版 阿里/夸克/uc网盘加速/解锁网盘限速</a> <span class="post-date">2025年5月25日</span> </li> <li> <a href="https://www.npspro.top/37926.html">wordpress ripro主题 防止篡改网站标题 通过禁止修改 wp_options 表中的 blogname 字段实现唯一能解决的方法</a> <span class="post-date">2025年5月23日</span> </li> <li> <a href="https://www.npspro.top/37925.html">免root虚拟定位器Fake Location可自定义位置 反检测</a> <span class="post-date">2025年5月23日</span> </li> <li> <a href="https://www.npspro.top/37924.html">安卓任我行会员版 v1.3.4.2 免root虚拟定位 路线模拟</a> <span class="post-date">2025年5月23日</span> </li> </ul> </div><div id="calendar-3" class="widget widget_calendar"><h5 class="widget-title">日历</h5><div id="calendar_wrap" class="calendar_wrap"><table id="wp-calendar" class="wp-calendar-table"> <caption>2025 年 5 月</caption> <thead> <tr> <th scope="col" title="星期一">一</th> <th scope="col" title="星期二">二</th> <th scope="col" title="星期三">三</th> <th scope="col" title="星期四">四</th> <th scope="col" title="星期五">五</th> <th scope="col" title="星期六">六</th> <th scope="col" title="星期日">日</th> </tr> </thead> <tbody> <tr> <td colspan="2" class="pad"> </td><td><a href="https://www.npspro.top/date/2025/05/01" aria-label="2025 年 4 月 30 日 发布的文章">1</a></td><td><a href="https://www.npspro.top/date/2025/05/02" aria-label="2025 年 5 月 1 日 发布的文章">2</a></td><td>3</td><td>4</td><td>5</td> </tr> <tr> <td><a href="https://www.npspro.top/date/2025/05/06" aria-label="2025 年 5 月 5 日 发布的文章">6</a></td><td><a href="https://www.npspro.top/date/2025/05/07" aria-label="2025 年 5 月 6 日 发布的文章">7</a></td><td><a href="https://www.npspro.top/date/2025/05/08" aria-label="2025 年 5 月 7 日 发布的文章">8</a></td><td><a href="https://www.npspro.top/date/2025/05/09" aria-label="2025 年 5 月 8 日 发布的文章">9</a></td><td><a href="https://www.npspro.top/date/2025/05/10" aria-label="2025 年 5 月 9 日 发布的文章">10</a></td><td>11</td><td><a href="https://www.npspro.top/date/2025/05/12" aria-label="2025 年 5 月 11 日 发布的文章">12</a></td> </tr> <tr> <td><a href="https://www.npspro.top/date/2025/05/13" aria-label="2025 年 5 月 12 日 发布的文章">13</a></td><td><a href="https://www.npspro.top/date/2025/05/14" aria-label="2025 年 5 月 13 日 发布的文章">14</a></td><td><a href="https://www.npspro.top/date/2025/05/15" aria-label="2025 年 5 月 14 日 发布的文章">15</a></td><td><a href="https://www.npspro.top/date/2025/05/16" aria-label="2025 年 5 月 15 日 发布的文章">16</a></td><td><a href="https://www.npspro.top/date/2025/05/17" aria-label="2025 年 5 月 16 日 发布的文章">17</a></td><td><a href="https://www.npspro.top/date/2025/05/18" aria-label="2025 年 5 月 17 日 发布的文章">18</a></td><td><a href="https://www.npspro.top/date/2025/05/19" aria-label="2025 年 5 月 18 日 发布的文章">19</a></td> </tr> <tr> <td><a href="https://www.npspro.top/date/2025/05/20" aria-label="2025 年 5 月 19 日 发布的文章">20</a></td><td><a href="https://www.npspro.top/date/2025/05/21" aria-label="2025 年 5 月 20 日 发布的文章">21</a></td><td><a href="https://www.npspro.top/date/2025/05/22" aria-label="2025 年 5 月 21 日 发布的文章">22</a></td><td><a href="https://www.npspro.top/date/2025/05/23" aria-label="2025 年 5 月 22 日 发布的文章">23</a></td><td>24</td><td><a href="https://www.npspro.top/date/2025/05/25" aria-label="2025 年 5 月 24 日 发布的文章">25</a></td><td id="today">26</td> </tr> <tr> <td>27</td><td>28</td><td>29</td><td>30</td> <td class="pad" colspan="3"> </td> </tr> </tbody> </table><nav aria-label="上个月及下个月" class="wp-calendar-nav"> <span class="wp-calendar-nav-prev"><a href="https://www.npspro.top/date/2025/04">« 4 月</a></span> <span class="pad"> </span> <span class="wp-calendar-nav-next"> </span> </nav></div></div> </aside> </div> <script> console.log("SQL 请求数:57"); console.log("页面生成耗时: 1.22465"); </script> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?225297bceab00c11f86be5cf7eefe4ca"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <link rel='stylesheet' id='yarppRelatedCss-css' href='https://www.npspro.top/wp-content/plugins/yet-another-related-posts-plugin/style/related.css?ver=5.30.10' type='text/css' media='all' /> <script type="text/javascript" id="toc-front-js-extra"> /* <![CDATA[ */ var tocplus = {"visibility_show":"show","visibility_hide":"hide","width":"Auto"}; /* ]]> */ </script> <script type="text/javascript" src="https://www.npspro.top/wp-content/plugins/table-of-contents-plus/front.min.js?ver=2411.1" id="toc-front-js"></script> <script type="text/javascript" src="https://www.npspro.top/wp-content/themes/ripro/assets/js/plugins.js?ver=9.0(8.9新版修复解密增强版)" id="plugins-js"></script> <script type="text/javascript" id="app-js-extra"> /* <![CDATA[ */ var caozhuti = {"site_name":"\u8f6f\u5e08\u5085","home_url":"https:\/\/www.npspro.top","ajaxurl":"https:\/\/www.npspro.top\/wp-admin\/admin-ajax.php","is_singular":"1","tencent_captcha":{"is":"","appid":""},"infinite_load":"\u52a0\u8f7d\u66f4\u591a","infinite_loading":"<i class=\"fa fa-spinner fa-spin\"><\/i> \u52a0\u8f7d\u4e2d...","site_notice":{"is":"0","color":"rgb(33, 150, 243)","html":"<div class=\"notify-content\"><h3>\u6b22\u8fce\u6765\u5230\u8d44\u4eab\u7f51<\/h3><div>\u6211\u4eec\u4e3a\u4f60\u5206\u4eab\u6280\u672f\u548c\u8d44\u6e90<\/div><\/div>"},"pay_type_html":{"html":"<div class=\"pay-button-box\"><div class=\"pay-item\" id=\"alipay\" data-type=\"1\"><i class=\"alipay\"><\/i><span>\u652f\u4ed8\u5b9d<\/span><\/div><div class=\"pay-item\" id=\"weixinpay\" data-type=\"2\"><i class=\"weixinpay\"><\/i><span>\u5fae\u4fe1\u652f\u4ed8<\/span><\/div><\/div><p style=\"font-size: 13px; padding: 0; margin: 0;\">\u5f53\u524d\u4e3a\u6e38\u5ba2\u8d2d\u4e70\u6a21\u5f0f<\/p>","alipay":1,"weixinpay":2}}; /* ]]> */ </script> <script type="text/javascript" src="https://www.npspro.top/wp-content/themes/ripro/assets/js/app.js?ver=9.0(8.9新版修复解密增强版)" id="app-js"></script> <script type="text/javascript" src="https://www.npspro.top/wp-content/themes/ripro/assets/js/plugins/jquery.fancybox.min.js?ver=9.0(8.9新版修复解密增强版)" id="fancybox-js"></script> </body> </html>