GPU加速-黑猫博客
黑猫博客-原创文章-实用教程-资源下载平台- 旅行攻略-城市探店指南
  • 首页
  • 旅行攻略NEW
  • 资源合集
    • 网站美化
    • 网站源码
    • 4K影视
    • 游戏资源
      • 游戏资源答疑
    • 实用教程
    • 实用软件
  • 生活碎片
    • 随笔录
    • 情感短文
  • 抽奖
  • 活动线报
  • 本站主题折扣
  • 关于本站
    • 留言板
    • CC协议
    • 用户协议
    • 免责申明
    • 隐私政策
随便看看 投稿
投稿文章创建话题发布帖子
开通会员
VIP
VIP
VIP开通VIP
    • 全站资源每天10次下载
    • 全站资源不限速下载
    • 全站资源折扣购买
    • 部分内容免费阅读
    • 一对一技术指导
    • SVIP用户专属群
开通VIP
SVIP
SVIP
SVIP开通SVIP
  • 全站资源无限下载
  • 全站资源不限速下载
  • 全站资源免费购买
  • 全部内容免费阅读
  • 一对一技术指导
  • SVIP用户专属群
开通SVIP
简体中文 English 日本語 한국어 iệt Nam
    • 开通会员 尊享会员权益
      登录
      注册
      找回密码

      快速登录

      QQ登录微信登录
  • 首页
  • 旅行攻略NEW
  • 资源合集
    • 网站美化
    • 网站源码
    • 4K影视
    • 游戏资源
    • 实用教程
    • 实用软件
  • 生活碎片
    • 随笔录
    • 情感短文
  • 抽奖
  • 活动线报
  • 本站主题折扣
  • 关于本站
    • 留言板
    • CC协议
    • 用户协议
    • 免责申明
    • 隐私政策
开通会员 尊享会员权益
登录
注册
找回密码

快速登录

QQ登录微信登录

GPU加速共1篇

排序
    更新浏览点赞评论
Bili23-Downloader:开源高效的B站内容下载工具-黑猫博客实测 软件
Bili23-Downloader

Bili23-Downloader:开源高效的B站内容下载工具

Windows实用软件资源合集
079071959
2025- 07-06
activity activity
会员

会员

签到

签到

抽奖

抽奖

站长

站长

点击联系站长


                   

请登陆后在私信
在线时间
12:00 - 22:00

TOP

TOP

黑猫博客・WWW.520AK.COM

本站建站至今始终努力坚持搜集和分享各种网络知识以及IT科技,现如今本站已发展形成网站源码、建站程序、WordPress教程、CMS、旅游攻略、实用软件、经验教程、影视资源等各个领域的资源!

本次数据库查询:14次 页面加载耗时0.841 秒

关于我们

  • 用户协议
  • 免责声明
  • 隐私政策
  • 知识共享
  • 关于我们
  • 站点地图

特色功能

  • 问题反馈
  • 黑猫装备
  • 黑猫相册
  • 文章归档
  • 赞助黑猫
  • 用户禁封

用户中心

  • 加入VIP
  • 账号安全
  • 认证服务
  • 推广中心
  • 消息中心
  • 订单查询
  • 全网热搜

    聚合各大平台热门事件,瞬间了解世界大事

    黑猫博客全网热搜

  • 资源合集

    这里汇聚了海量优质资源,涵盖多个领域

    黑猫博客资源合集

  • 抽奖系统

    用户可以抽取会员、经验、积分、余额等奖励

    黑猫博客抽奖系统

175+

更多精品文章持续更新中...

    友情链接:黑猫导航 友链申请+

黑猫博客・All Rights Reserved.

黑猫博客-原创文章-实用教程-资源下载平台- 旅行攻略-城市探店指南
黑猫博客-原创文章-实用教程-资源下载平台- 旅行攻略-城市探店指南
登录
没有帐号?立即注册
邮箱
验证码
帐号密码登录
用户名/手机号/邮箱
登录密码
找回密码 | 免密登录

社交帐号登录

QQ登录微信登录
使用社交帐号登录即表示同意用户协议、隐私声明
注册
已有帐号,立即登录
设置用户名
邮箱
验证码
设置密码
邀请码(选填)
注册即表示同意用户协议、隐私声明
扫码登录
使用其它方式登录或注册扫码登录

扫码登录即表示同意用户协议、隐私声明

欢迎来访黑猫BLOG~

黑猫BLOG:探索知识与旅行的灵感栖息地

这里是融合「原创内容、实用技能、旅行探索」的多元分享平台,致力于为热爱学习与探索的你提供有温度的知识干货与旅行指南。

无论是想提升职场技能、寻找旅行灵感,还是获取免费实用资源,黑猫 BLOG 都期待成为你探索世界的窗口。

温馨提示:登录后弹窗通知不显示哟~
立即登录

一键注册登录,免费下载更多的资源教程

  • 热门旅行攻略
  • 精品源码资源
  • 投稿可参与现金分红
  • 关注黑猫你想要的这里都有
立即登录
#wniui-popup-window { min-width: 300px; max-width: 500px; bottom: 20px; right: 20px; position: fixed; z-index: 1002; color: #363636; padding: 8px 16px; border-radius: 12px; transition: opacity 0.3s ease, transform 0.3s ease; background-color: rgba(255, 255, 255, 0.85); border: 1px solid #e3e8f7; max-height: 300px; opacity: 0; transform: translateY(20px); display: flex; flex-direction: column; justify-content: flex-start; transition: .3s; cursor: pointer; } #wniui-popup-window:hover { border: 1px solid #425AEF; transition: .3s; } #wniui-popup-window.wniui-show { opacity: 1; transform: translateY(0); } .wniui-popup-header { position: relative; display: flex; align-items: center; } .wniui-popup-title { font-size: 14px; font-weight: bold; background: #363636; color: #fff; padding: 4px 8px; border-radius: 4px; margin-right: 8px; transition: .3s; } .wniui-popup-title:hover { background-color: #423AEF; transition: .3s; } .wniui-popup-author { font-size: 14px; font-weight: 600; color: #363636; display: flex; justify-content: flex-start; align-items: center; cursor: pointer; } .wniui-popup-avatar { width: 25px; height: 25px; border-radius: 50%; margin-right: 6px; background-color: #f5f6f7; } .wniui-popup-window-divider { width: 100%; height: 1px; background: #e3e8f7; margin: 5px 0; } .wniui-popup-window-content { font-size: 15px; word-wrap: break-word; max-width: 450px; white-space: normal; text-overflow: ellipsis; } .wniui-popup-window-content p { margin: 0; padding: 0; line-height: 1.5; } @media screen and (max-width: 768px) { #wniui-popup-window { display: none !important; } } .wniui-popup-author span:hover{ color:#425AEF; transition: .3s; } svg#popup-link:hover path { fill: #425AEF; transition: .3s; }
热评
class CommentPopup { constructor(config) { this.config = { displayTime: 5000, fadeTime: 300, retryInterval: 3000, apiUrl: 'https://www.520ak.com/wp-json/myapi/v1/hot-comments', emojiPath: 'https://www.520ak.comm/wp-content/themes/zibll/img/smilies/', defaultAvatar: 'https://www.520ak.com/wp-content/themes/zibll/img/avatar-default.png', ...config }; this.popupTimer = null; this.retryTimer = null; this.commentData = []; this.currentCommentUrl = ''; this.popup = document.getElementById('wniui-popup-window'); this.bindEvents(); } async init() { try { await this.fetchComments(); this.showRandomComment(); } catch (error) { console.error('Failed to fetch comments:', error); this.scheduleRetry(); } } async fetchComments() { const response = await fetch(this.config.apiUrl); if (!response.ok) { throw new Error(`HTTP error! status: ${response.status}`); } this.commentData = await response.json(); } scheduleRetry() { this.retryTimer = setTimeout(() => this.init(), this.config.retryInterval); } showRandomComment() { if (this.commentData.length === 0) return; const post = this.commentData[Math.floor(Math.random() * this.commentData.length)]; const content = this.sanitizeContent(decodeURIComponent(post.content)); if (!content) return; const data = { avatar: post.avatar || this.config.defaultAvatar, author: post.author, content, postUrl: post.url, commentUrl: post.comment_url, authorUrl: post.user_url || '#' }; this.updatePopup(data); } sanitizeContent(content) { return content.replace(/ { this.renderPopupContent(data); this.popup.classList.add('wniui-show'); this.scheduleNextComment(); }, this.config.fadeTime); } renderPopupContent(data) { const authorElement = this.popup.querySelector('.wniui-popup-author'); authorElement.innerHTML = ` avatar ${data.author} `; this.popup.querySelector('.wniui-popup-window-content').innerHTML = `

${data.content}

`; } scheduleNextComment() { this.popupTimer = setTimeout(() => { this.hidePopup(); this.showRandomComment(); }, this.config.displayTime); } hidePopup() { this.popup.classList.remove('wniui-show'); } handlePopupClick = (event) => { if (event.target.closest('svg#popup-link') || !event.target.closest('.wniui-popup-author')) { if (this.currentCommentUrl) { window.location.href = this.currentCommentUrl; } } } bindEvents() { this.popup.addEventListener('click', this.handlePopupClick); let touchStartY = 0; this.popup.addEventListener('touchstart', (e) => { touchStartY = e.touches[0].clientY; }); this.popup.addEventListener('touchmove', (e) => { const touchDiff = e.touches[0].clientY - touchStartY; if (touchDiff > 50) { this.hidePopup(); } }); } destroy() { clearTimeout(this.popupTimer); clearTimeout(this.retryTimer); this.popup.removeEventListener('click', this.handlePopupClick); } } const commentPopup = new CommentPopup({ displayTime: 5000, fadeTime: 300, retryInterval: 3000 }); commentPopup.init(); window.addEventListener('unload', () => { commentPopup.destroy(); });