风险提示:理性看待区块链,提高风险意识!
  • 全部 数字货币专题 区块链专题 钱包专题 空投专题
    加密货币空投趋势分析:2024年五大空投项目的机遇与挑战​
    来源: @yiboyun6
    时间: 2025-04-11 16:46
    关注
    摘要
    2024年,加密货币空投成为开发者吸引用户的利器,其成功与否取决于代币分配策略及市场环境。 例如,Jupiter向早期用户空投了10亿JUP,推动了Solana生态的繁荣。 Starknet向130万个地址分发数亿美元,但STRK代币全年价格下跌75%,暴露出L2项目投资机会的饱和和缺乏杀手级应用的问题。 这些案例展现了代币分配策略对项目成败的关键作用,也反映了加密市场瞬息万变的特点。
    </div> <!-- <div class="special_scoring"> <div class="scoring_title">告诉我们您有多喜欢这篇文章!</div> <div class="scoring_img_box f-c-c"> <img src="/web-v2/img/special/difference.png" alt=""> <img src="/web-v2/img/special/commonly.png" alt=""> <img src="/web-v2/img/special/good.png" alt=""> <img src="/web-v2/img/special/better.png" alt=""> <img src="/web-v2/img/special/nice.png" alt=""> </div> <div class="scoring_vote_num">投票数:147</div> </div> --> <div class="special_option f-c-c"> <div class="option_item f-c-c option_collect" onclick="collectArt()"> <img src="/web-v2/img/special/start.png" alt=""> <div class="option_txt">收藏</div> <div class="collect_num num">0</div> </div> <div class="option_item f-c-c option_like" onclick="likeArt()"> <img src="/web-v2/img/special/like.png" alt=""> <div class="option_txt">点赞</div> <div class="like_num num">0</div> </div> </div> <div class="special_button_box f-sb-c"> <a href="/zhuanti/13410427.html" target="_blank"> <div class="special_button"> <div class="special_button_head f-fs-c"> <img src="/web-v2/img/special/book.png" class="book_icon"> <div class="special_button_txt">你即将了解 <span> 空投专题 </span> 的知识 </div> </div> <div class="special_button_title"> 深度解析:FDV和代币经济学如何影响空投代币价格 </div> <div class="button_box">上一篇</div> </div> </a> <a href="/zhuanti/13410444.html" target="_blank"> <div class="special_button"> <div class="special_button_head f-fs-c"> <img src="/web-v2/img/special/book.png" class="book_icon"> <div class="special_button_txt">你即将了解 <span> 空投专题 </span> 的知识 </div> </div> <div class="special_button_title"> 空投数据全解析:DeFi、L2、NFT项目空投金额占比曝光​ </div> <div class="button_box">下一篇</div> </div> </a> </div> <!-- <div class="comment_box"> <div class="comment_head f-fs-c"> <div class="comment_head_title">评论</div> <div class="comment_total_num">已发布<span id="commentTotalNum"></span>条</div> </div> <div class="comment_push_box login_status_box"> <div class="comment_push_head f-fs-fs"> <img src="" class="comment_push_adv" id="userAdv"> <textarea id="pushText" class="comment_textarea" placeholder="说点什么~"></textarea> </div> <div class="f-fe-fs"> <div class="comment_push_btn" onclick="pushComment();">发布评论</div> </div> </div> <div class="comment_push_box nologin_status_box" style="display: none;"> <div class="comment_push_head f-fs-fs"> <img class="default_avd_box" src="/web-v2/img/user.png"></img> <div class="comment_login_box f-c-c"> <div class="comment_login_btn" onclick="showLogin()">登录</div> <div class="comment_login_tips">评论你的想法~</div> </div> </div> <div class="f-fe-fs"> <div class="comment_push_btn">发布评论</div> </div> </div> <div class="comment_list_box" id="commentList"></div> <div class="comment_nocomment_box">成为第一个评论的人</div> <div class="comment_more_box f-c-c" onclick="moreCommentList()"> 查看更多评论<img src="/web-v2/img/special/arrow_down.png" class="comment_more_icon"> </div> <div class="comment_nomore_box">没有更多评论了</div> </div> --> </div> <!-- 右边部分 --> <div class="details_right_box"> <!-- 推荐专题 --> <div class="recommended_articles"> <div class="details_right_title">推荐专题</div> <div class="recommented_articles_list"> <a href="/zhuanti/13411751.html" target="_blank"> <div class="recomment_art_item f-fs-c"> <div class="recomment_art_num"> 1 </div> <img src="http://img.528btc.com.cn/uploadfile/2026-02-03/f0598967bc51212f307b902fbb9dfa01.jpg" alt="" class="recomment_art_cover"> <div class="recomment_art_info"> <div class="recomment_art_title"> 什么是birb?单日暴涨72%逆势吸金:深度复盘什么是birb背后的空头猎杀与Meme狂欢 </div> <div class="recomment_art_tab"> 空投专题 </div> </div> </div> </a> <a href="/zhuanti/13411731.html" target="_blank"> <div class="recomment_art_item f-fs-c"> <div class="recomment_art_num"> 2 </div> <img src="http://img.528btc.com.cn/uploadfile/2026-01-29/bdff82e2ffc0e190b7306ec3cbc21c1f.jpg" alt="" class="recomment_art_cover"> <div class="recomment_art_info"> <div class="recomment_art_title"> 什么是zama币?深度解析:全同态加密(FHE)龙头,从0.04美元看Web3隐私赛道的终局 </div> <div class="recomment_art_tab"> 空投专题 </div> </div> </div> </a> <a href="/zhuanti/13411715.html" target="_blank"> <div class="recomment_art_item f-fs-c"> <div class="recomment_art_num"> 3 </div> <img src="http://img.528btc.com.cn/uploadfile/2026-01-28/5a0cd76117797df46a00485b35e23b60.png" alt="" class="recomment_art_cover"> <div class="recomment_art_info"> <div class="recomment_art_title"> | 预测市场 Kelshi (Kalshi) 是什么?2026年合规巨头:如何用 USDC 挑战 Polymarket 的霸主地位? </div> <div class="recomment_art_tab"> 空投专题 </div> </div> </div> </a> <a href="/zhuanti/13411682.html" target="_blank"> <div class="recomment_art_item f-fs-c"> <div class="recomment_art_num"> 4 </div> <img src="http://img.528btc.com.cn/uploadfile/2026-01-22/3bf632ba1b4d5122dec5c93e6d41ebc5.jpg" alt="" class="recomment_art_cover"> <div class="recomment_art_info"> <div class="recomment_art_title"> 2026 Paradex深度解析:Paradigm亲儿子的野望——Starknet上的流动性怪兽,如何重新定义机构级DeFi? </div> <div class="recomment_art_tab"> 空投专题 </div> </div> </div> </a> <a href="/zhuanti/13411678.html" target="_blank"> <div class="recomment_art_item f-fs-c"> <div class="recomment_art_num"> 5 </div> <img src="http://img.528btc.com.cn/uploadfile/2026-01-22/f4d8b31371abc16b7159204c541be690.jpg" alt="" class="recomment_art_cover"> <div class="recomment_art_info"> <div class="recomment_art_title"> 2026 Polymarket 深度解析:当“下注”取代“投票”——在后大选时代,预测市场如何成为全球最大的真相引擎? </div> <div class="recomment_art_tab"> 空投专题 </div> </div> </div> </a> </div> </div> <!-- 最新文章 --> <div class="latest_articles"> <div class="details_right_title">最新文章</div> <div class="latest_art_box"> <div class="swiper-container latest_art_container"> <div class="swiper-wrapper"> <a class="latest_art_item swiper-slide" href="/news/129372330.html"> <img src="http://img.528btc.com.cn/pro/2026-02-04/img/1770174020450hxj652c2hb00x38jj8075ac3197b8c32.jpg" class="latest_art_img"> <div class="latest_art_title"> 比特币ETF损失达70亿美元,价格面临6.5万美元的风险,MSTR提供缓冲。 </div> </a> <a class="latest_art_item swiper-slide" href="/news/116372329.html"> <img src="http://img.528btc.com.cn/pro/2026-02-04/img/17701734094484c667xjj2axc4669bc2a6c88x7h15bjx.jpg" class="latest_art_img"> <div class="latest_art_title"> 随着加密货币市场持续低迷,Ark Invest增持Bitmine和Circle股票。 </div> </a> <a class="latest_art_item swiper-slide" href="/news/116372328.html"> <img src="http://img.528btc.com.cn/pro/2026-02-04/img/1770172816485jb3bxa8655x15xa3h6h0794608xx2908.jpg" class="latest_art_img"> <div class="latest_art_title"> 2月4日加密货币市场:WLFI上涨6%,LIT下跌6.5%,Tria走势稳定 </div> </a> </div> </div> <div class="swiper-pagination"></div> </div> </div> </div> </div> <!-- 阅读更多专题 --> <div class="more_special"> <div class="more_special_title">阅读更多专题</div> <!-- 展示的四篇文章 --> <div class="more_special_box"> <a class="more_special_item extend_special" href="/zhuanti/13411751.html"> <!-- 封面 --> <img src="http://img.528btc.com.cn/uploadfile/2026-02-03/f0598967bc51212f307b902fbb9dfa01.jpg" alt="什么是birb?单日暴涨72%逆势吸金:深度复盘什么是birb背后的空头猎杀与Meme狂欢" class="special_cover"> <!-- 标题 --> <div class="special_title"> 什么是birb?单日暴涨72%逆势吸金:深度复盘什么是birb背后的空头猎杀与Meme狂欢 </div> <!-- 文章 --> <div class="special_content"> 在主流币种普遍疲软的市场环境下,什么是birb成为了资金关注的焦点。根据Coinglass最新数据,Moonbirds(BIRB)代币在24小时内录得了惊人的72.18%涨幅,成交量激增至4.69亿美元。什么是birb?它不仅仅是一个NFT项目的代币化身,更是今日市场上最凶残的“空头收割机”。本文将用2000字的篇幅,结合链上爆仓数据与持仓博弈,深度解析什么是birb暴涨背后的底层逻辑,以及投资者在追涨什么是birb时必须注意的巨大风险。 </div> <!-- 作者 --> <div class="special_bottom f-sb-c"> <div class="special_list_author"> 2026-02-03 17:29 </div> <div class="special_list_tab"> 空投专题 </div> </div> </a> <a class="more_special_item extend_special" href="/zhuanti/13411731.html"> <!-- 封面 --> <img src="http://img.528btc.com.cn/uploadfile/2026-01-29/bdff82e2ffc0e190b7306ec3cbc21c1f.jpg" alt="什么是zama币?深度解析:全同态加密(FHE)龙头,从0.04美元看Web3隐私赛道的终局" class="special_cover"> <!-- 标题 --> <div class="special_title"> 什么是zama币?深度解析:全同态加密(FHE)龙头,从0.04美元看Web3隐私赛道的终局 </div> <!-- 文章 --> <div class="special_content"> 在2026年的加密技术前沿,什么是zama币 是一个绕不开的话题。作为全同态加密(Fully Homomorphic Encryption, FHE)领域的领军者,Zama 旨在解决区块链最大的痛点——“数据裸奔”。它允许开发者在不解密数据的情况下进行计算,从而实现真正保密的智能合约。根据最新的实盘数据,ZAMA 代币目前报价 0.0419 USDT,正处于深度回调后的筑底阶段。本文将结合技术原理与盘面走势,为您深度拆解这个隐私赛道的“英伟达”。 </div> <!-- 作者 --> <div class="special_bottom f-sb-c"> <div class="special_list_author"> 2026-01-29 16:03 </div> <div class="special_list_tab"> 空投专题 </div> </div> </a> <a class="more_special_item extend_special" href="/zhuanti/13411715.html"> <!-- 封面 --> <img src="http://img.528btc.com.cn/uploadfile/2026-01-28/5a0cd76117797df46a00485b35e23b60.png" alt="| 预测市场 Kelshi (Kalshi) 是什么?2026年合规巨头:如何用 USDC 挑战 Polymarket 的霸主地位?" class="special_cover"> <!-- 标题 --> <div class="special_title"> | 预测市场 Kelshi (Kalshi) 是什么?2026年合规巨头:如何用 USDC 挑战 Polymarket 的霸主地位? </div> <!-- 文章 --> <div class="special_content"> 在2026年的全球金融市场中,预测市场 Kelshi (Kalshi) 已经成长为唯一能与 Polymarket 分庭抗礼的合规巨头。作为在美国商品期货交易委员会(CFTC)监管下运营的衍生品交易所,Kalshi 在赢得了针对监管机构的关键诉讼后,彻底打开了“事件合约”的合法大门。不同于纯链上的竞争对手,Kalshi 走出了一条独特的“Web2 体验 + Web3 支付”的混合路线,支持美元与 USDC 的无缝入金。本文将以全景式的视角,深度解析 预测市场 Kelshi (Kalshi) 的崛起逻辑、核心优势以及投资者如何利用它来对冲宏观风险。 </div> <!-- 作者 --> <div class="special_bottom f-sb-c"> <div class="special_list_author"> 2026-01-28 11:08 </div> <div class="special_list_tab"> 空投专题 </div> </div> </a> <a class="more_special_item extend_special" href="/zhuanti/13411661.html"> <!-- 封面 --> <img src="http://img.528btc.com.cn/uploadfile/2026-01-20/1bc294807ad17c90f5cc10ae5ba1592d.jpg" alt="StandX全景解析:2026年的掌上合约之王——从极客工具到消费级入口,如何重新定义散户的杠杆博弈" class="special_cover"> <!-- 标题 --> <div class="special_title"> StandX全景解析:2026年的掌上合约之王——从极客工具到消费级入口,如何重新定义散户的杠杆博弈 </div> <!-- 文章 --> <div class="special_content"> 2026年 StandX 的核心定位是什么? StandX 是 2026 年增长最快的消费级永续合约交易所 (Consumer Perp DEX)。与 dYdX 或 Hyperliquid 追求极致的 API 性能不同,StandX 专注于移动端体验与社交博弈。它利用账户抽象 (Account Abstraction) 技术实现了 FaceID 一键交易,彻底消除了私钥门槛。StandX 是 Meme 币合约和长尾资产杠杆交易的首选阵地,被誉为“链上的 Robinhood”。 </div> <!-- 作者 --> <div class="special_bottom f-sb-c"> <div class="special_list_author"> 2026-01-20 18:00 </div> <div class="special_list_tab"> 空投专题 </div> </div> </a> <a class="more_special_item extend_special" href="/zhuanti/13411444.html"> <!-- 封面 --> <img src="http://img.528btc.com.cn/uploadfile/2025-11-24/4b0581252be227327588251083d7b2c1.jpg" alt="什么是Zama:是否是2026年最确定的隐私基础设施" class="special_cover"> <!-- 标题 --> <div class="special_title"> 什么是Zama:是否是2026年最确定的隐私基础设施 </div> <!-- 文章 --> <div class="special_content"> 距离 Zama 主网正式上线仅剩最后几个关键里程碑。在全市场为隐私叙事疯狂追逐、却始终找不到可落地的技术路径时,一个由法国顶尖密码学家团队打造、已累计融资超 1.5 亿美元、最新估值突破 10 亿美元的 FHE(完全同态加密)独角兽,正以开源协议 + 硬件加速 + 全栈开发者工具链的组合拳,悄然成为 2025-2026 年最确定性的基础设施级机会。它就是 Zama——被 Multicoin Capital 称为密码学的圣杯,被 Binance Labs 列为下一代隐私基础层的终极玩家。 </div> <!-- 作者 --> <div class="special_bottom f-sb-c"> <div class="special_list_author"> 2025-11-24 17:21 </div> <div class="special_list_tab"> 空投专题 </div> </div> </a> <a class="more_special_item extend_special" href="/zhuanti/13411432.html"> <!-- 封面 --> <img src="http://img.528btc.com.cn/uploadfile/2025-11-21/114a3ea64ae6e23c4465f05c9788591a.jpg" alt="MSX:2025年RWA赛道最后的低市值确定性Alpha" class="special_cover"> <!-- 标题 --> <div class="special_title"> MSX:2025年RWA赛道最后的低市值确定性Alpha </div> <!-- 文章 --> <div class="special_content"> 2025年11月21日,MSX(MyStonks Exchange)以1.01亿美元FDV、2.5亿美元TVL,在RWA赛道形成极端估值洼地(P/TVL仅0.4倍,远低于Ondo的8-12倍)。平台已实现美股代币化现货+100x合约+自动分红+抵押借贷+Pendle收益拆分的全栈闭环,产品力对标“链上投行”。S1积分赛季(11.5-12.2)将40%社区代币(4亿枚$MSX)100%空投,权重交易量60%+持仓30%+盈亏10%,实测1000U对冲交易净损耗2.4-3U可获2000+M Bean,ROI 3-4倍,前1万名保守200-500美元,团队前100轻松千美元以上。 </div> <!-- 作者 --> <div class="special_bottom f-sb-c"> <div class="special_list_author"> 2025-11-21 15:16 </div> <div class="special_list_tab"> 空投专题 </div> </div> </a> <a class="more_special_item extend_special" href="/zhuanti/13411397.html"> <!-- 封面 --> <img src="http://img.528btc.com.cn/uploadfile/2025-11-18/836ed3529a2082db9aec68f965dc49ce.png" alt="空投在即,Sentient:去中心化AGI的野心与2025年最受瞩目的AI×Crypto项目" class="special_cover"> <!-- 标题 --> <div class="special_title"> 空投在即,Sentient:去中心化AGI的野心与2025年最受瞩目的AI×Crypto项目 </div> <!-- 文章 --> <div class="special_content"> Sentient 是2025年AI×Crypto赛道最受机构认可的去中心化AGI项目,目标将算力、数据、模型与治理全面开源社区化,用区块链对抗中心化AI巨头垄断。核心产品为Dobby V2多模态大模型(日查询超120万次)与THE GRID分布式算力网络。2025年7月获Peter Thiel旗下Founders Fund领投8500万美元种子轮,投后估值约4.5亿美元。 </div> <!-- 作者 --> <div class="special_bottom f-sb-c"> <div class="special_list_author"> 2025-11-18 11:29 </div> <div class="special_list_tab"> 空投专题 </div> </div> </a> <a class="more_special_item extend_special" href="/zhuanti/13411199.html"> <!-- 封面 --> <img src="http://img.528btc.com.cn/uploadfile/2025-10-21/c3e9d5dd8ebb7c7abf3bddebaa7eb69b.png" alt="Base 巨额空投在即:详解 Base空投模式与潜伏机会" class="special_cover"> <!-- 标题 --> <div class="special_title"> Base 巨额空投在即:详解 Base空投模式与潜伏机会 </div> <!-- 文章 --> <div class="special_content"> Coinbase 旗下的 Layer-2 解决方案 Base,长期以来坚持“无原生代币”的理念,专注于实用性和分厘级的 Gas 费。这种策略使其月活跃用户在 2025 年中期达到 2080 万,超越了多数竞争对手 L2。然而,随着网络活动的激增和高达 90% 的运营亏损率,协议的可持续性面临挑战。 2025 年 9 月在 BaseCamp 活动中,创始人 Jesse Pollak 宣布,协议正在探索网络代币,以加强去中心化和开发者激励。这一战略转变,加上 Coinbase CEO Brian Armstrong 的支持性评论,正式开启了 Base 潜在的巨额空投倒计时。对于用户而言,代币的发行不仅是为了序列器质押和治理,更是为了通过空投奖励有机活动,注入流动性。 </div> <!-- 作者 --> <div class="special_bottom f-sb-c"> <div class="special_list_author"> 2025-10-21 17:53 </div> <div class="special_list_tab"> 空投专题 </div> </div> </a> </div> <div class="more_recommendations">还有 8134篇更精彩 </div> <div class="more_recommendations_btn">继续阅读更多专题</div> </div> <!-- 底部固定按钮 --> <div class="special_bottom_box"> <div class="special_bottom_item op_b_like" onclick="likeArt()"> <img src="/web-v2/img/special/liked.png" alt="" class="op_bottom_icon"> <div class="op_bottom_num op_like">0</div> </div> <div class="special_bottom_item op_b_collect" onclick="collectArt()"> <img src="/web-v2/img/special/start_ed.png" alt="" class="op_bottom_icon"> <div class="op_bottom_num op_collect">0</div> </div> <div class="special_bottom_item op_b_comment"> <img src="/web-v2/img/special/message.png" alt="" class="op_bottom_icon"> <div class="op_bottom_num">0</div> </div> <div class="special_bottom_item" id="dropdown-content"> <img src="/web-v2/img/special/export_black.png" alt="" class="op_bottom_icon"> <div class="op_bottom_num">分享</div> <link rel="stylesheet" href="/share/dist/css/share.min.css?v=5"> <script src="/share/dist/js/social-share.min.js"></script> </div> <div class="special_bottom_item share_box"> <img src="/web-v2/img/special/arrow_up.png" alt="" class="op_bottom_icon"> </div> </div> </div> <link rel="stylesheet" href="/web-v2/css/footer.css" /> <!-- 底部 --> <footer class="footer_bj"> <div class="BJ_main"> <div class="footer_text"> 免责声明:本网站、超链接、相关应用程序、论坛、博客等媒体账户以及其他平台和用户发布的所有内容均来源于第三方平台及平台用户。币界网对于网站及其内容不作任何类型的保证,网站所有区块链相关数据以及其他内容资料仅供用户学习及研究之用,不构成任何投资、法律等其他领域的建议和依据。币界网用户以及其他第三方平台在本网站发布的任何内容均由其个人负责,与币界网无关。币界网不对任何因使用本网站信息而导致的任何损失负责。您需谨慎使用相关数据及内容,并自行承担所带来的一切风险。强烈建议您独自对内容进行研究、审查、分析和验证。 </div> <div class="footer_box"> <div class="footer_ul"> <div class="li"> <a target="_blank" href="/aboutus.html">关于我们</a> </div> <div class="li"> <a target="_blank" href="/contact.html">联系我们</a> </div> <div class="li"> <a target="_blank" href="/joinus.html">加入我们</a> </div> <div class="li"> <a target="_blank" href="/statement.html">免责声明</a> </div> <div class="li"> <a target="_blank" href="/sitemap.html">网站地图</a> </div> </div> <script src="/web-v2/js/disseminate/footerLink.js"></script> </div> <div class="footer_detail"> <script src="/web-v2/js/disseminate/beian.js"></script> <div> 友情链接: <a href="https://www.528btc.com/coin/3008.html" target="_blank">比特币价格</a>| <a href="https://www.528btc.com/coin/3007.html" target="_blank">以太坊价格</a>| <a href="https://www.528btc.com/coin/5987.html" target="_blank">OKB币价格</a>| <a href="https://www.528btc.com/coin/32677.html" target="_blank">BNB币价格</a>| </div> </div> </div> </footer> <script src="/web-v2/js/lltj.js" charset="utf-8"></script> </body> <!-- AI速看 --> <script> let $uid; var localUserInfo = JSON.parse(localStorage.getItem("userInfo")); if (localUserInfo) { let data = localUserInfo.data $uid = data.member.id; //登录id } </script> <script> document.addEventListener('DOMContentLoaded', () => { // 选择必要的 DOM 元素 const aiBtn = document.querySelector('.ai_btn'); // 速看按钮 const aiContent = document.querySelector('.ai_content'); // 包含内容的容器 const titleRight = document.querySelector('.ai_title_right'); // 收起按钮 const aiDetails = document.querySelector('#ai-details'); // 动态插入内容的容器 const smallText = `[!--ai_intro--]`; // console.log(smallText, 'smallText'); // 摘要 const tempElement = document.createElement('div'); // 清理和提取 smallText 中的纯文本 tempElement.innerHTML = smallText; const cleanText = tempElement.textContent.trim(); // 去掉首尾空格 const specialDetailsAI = document.querySelector('.special_details_ai'); // 特殊内容容器 let animationCompleted = false; // 标记动画是否完成 // 隐藏 special_details_ai 如果 smallText 为空 if (!smallText) { if (specialDetailsAI) { specialDetailsAI.style.display = 'none'; } } // 检查关键 DOM 元素是否存在 if (!aiBtn || !aiContent || !titleRight || !aiDetails) { // console.error("必要的 DOM 元素未找到!"); return; } // 逐字动画函数 function typeWriterEffect(content, element, callback) { element.innerHTML = ""; // 清空内容 let index = 0; // 设置定时器逐字显示内容 const interval = setInterval(() => { if (index < content.length) { element.innerHTML += content[index++]; // 逐字插入到元素中 } else { clearInterval(interval); // 停止动画 animationCompleted = true; // 标记动画完成 titleRight.style.pointerEvents = 'auto'; // 启用收起按钮 if (callback) callback(); // 动画完成后的回调 } }, 50); // 每50ms显示一个字符 } // 点击“速看”按钮 - 显示内容 aiBtn.addEventListener('click', () => { aiContent.style.display = 'block'; // 显示 ai_content if (!animationCompleted) { // 禁用所有按钮以防止干扰动画 aiBtn.style.pointerEvents = 'none'; titleRight.style.pointerEvents = 'none'; // 动画效果 typeWriterEffect(cleanText, aiDetails, () => { // 动画完成后启用按钮 aiBtn.style.pointerEvents = 'auto'; // 启用速看按钮 }); } else { aiDetails.innerHTML = cleanText; // 如果动画已完成,直接显示内容 titleRight.style.pointerEvents = 'auto'; // 启用收起按钮 } }); // 点击“收起”按钮 - 隐藏内容 titleRight.addEventListener('click', () => { if (animationCompleted) { aiContent.style.display = 'none'; // 隐藏 ai_content aiBtn.style.display = 'block'; // 恢复速看按钮 } }); }); </script> <!-- <script> document.addEventListener('DOMContentLoaded', () => { const aiBtn = document.querySelector('.ai_btn'); // 速看按钮 const aiContent = document.querySelector('.ai_content'); // 包含内容的容器 const titleRight = document.querySelector('.ai_title_right'); // 收起按钮 const aiDetails = document.querySelector('#ai-details'); // 动态插入内容的容器 const smallText = "这是动态插入的内容,用于展示速看功能。"; //摘要 const tempElement = document.createElement('div'); tempElement.innerHTML = smallText; const cleanText = tempElement.textContent.trim(); // 清理空格 let animationCompleted = false; // 标记动画是否完成 const userId = localStorage.getItem('user_id'); // 从本地存储获取用户ID // 隐藏 special_details_ai 如果smallText为空 if (!cleanText) { aiContent.style.display = 'none'; // 如果没有内容,隐藏 } // 逐字动画函数 function typeWriterEffect(content, element, callback) { element.innerHTML = ""; // 清空内容 let index = 0; const interval = setInterval(() => { if (index < content.length) { element.innerHTML += content[index++]; // 逐字插入到元素中 } else { clearInterval(interval); // 停止动画 animationCompleted = true; // 标记动画完成 titleRight.style.pointerEvents = 'auto'; // 启用收起按钮 if (callback) callback(); // 动画完成后的回调 } }, 50); // 每50ms显示一个字符 } // 点击“速看”按钮 aiBtn.addEventListener('click', () => { aiContent.style.display = 'block'; // 显示 ai_content if (!animationCompleted) { if (userId === 'unique_user_id') { // 检查用户ID,使用固定的示例ID aiDetails.innerHTML = cleanText; // 用户已登录,直接显示内容 animationCompleted = true; // 模拟动画已完成 titleRight.style.pointerEvents = 'auto'; // 启用收起按钮 } else { // 禁用所有按钮以防止干扰动画 aiBtn.style.pointerEvents = 'none'; titleRight.style.pointerEvents = 'none'; // 动画效果 typeWriterEffect(cleanText, aiDetails, () => { // 动画完成后启用按钮 aiBtn.style.pointerEvents = 'auto'; // 启用速看按钮 }); } } else { aiDetails.innerHTML = cleanText; // 再次显示内容,不启动动画效果 titleRight.style.pointerEvents = 'auto'; // 启用收起按钮 } }); // 点击“收起”按钮 titleRight.addEventListener('click', () => { if (animationCompleted) { aiContent.style.display = 'none'; // 隐藏 ai_content aiBtn.style.display = 'block'; // 恢复速看按钮 } }); }); </script> --> <!-- 公共 --> <script> let commentLoginStatus = false; let commentList = $('#commentList'); function isLogin() { let url = '/e/extend/api/index.php?m=v2&c=app' $.ajax({ url: url, data: { action: "getUserInfo", data: {}, }, type: 'POST', success: function (res) { let resData = JSON.parse(res) commentLoginStatus = resData.data != ""; if (commentLoginStatus) { $('.login_status_box').show(); $('.nologin_status_box').hide(); $('#userAdv').attr('src', resData.data.header); getFollowStatus(); } else { $('.login_status_box').hide(); $('.nologin_status_box').show(); } }, error: function (e) { console.log('resdata e', e); } }) } $(document).ready(function () { isLogin(); }); var myArtSwiper = new Swiper('.latest_art_container', { // 设置指示器 pagination: { el: '.swiper-pagination', clickable: true, // 允许点击小点进行切换 }, }); $(".special_bottom_box .share_box").click(function () { $("html, body").animate({ scrollTop: 0 }, 500); }) </script> <!-- 关注作者 --> <script> let followStatus = false; function getFollowStatus() { let id = 114 ; $.ajax({ url: "/e/extend/api/index.php?m=user&c=followStatus", type: 'post', data: JSON.stringify({ ids: [id], }), success: function (res) { if (res.code === 200) { followStatus = res.data[id].status; if (followStatus) { $('.special_follow_btn').hide(); $('.special_unfollow_btn').show(); } else { $('.special_follow_btn').show(); $('.special_unfollow_btn').hide(); } } }, error: function (err) { console.error("请求失败:", err); }, }); } function followAuthor() { let id = 114 ; $.ajax({ url: "/e/extend/api/index.php?m=user&c=follow", type: 'post', data: JSON.stringify({ id: id, status: !followStatus, }), success: function (res) { if (res.code === 200) { followStatus = !followStatus if (followStatus) { $('.special_follow_btn').hide(); $('.special_unfollow_btn').show(); } else { $('.special_follow_btn').show(); $('.special_unfollow_btn').hide(); } layer.msg('操作成功', { icon: 1 }) } }, error: function (err) { console.error("请求失败:", err); }, }); } </script> <!-- 文章详情相关 --> <script> // 点赞收藏状态数量 let specialLikeSatus = false; let specialCollected = false; let collectNum = 0; let likeNum = 0; requestOptions(); function requestOptions() { let id = '10443'; $.ajax({ url: "/e/extend/api/index.php?m=news&c=listData", type: 'post', data: JSON.stringify({ ids: [id], type: 4 }), success: function (res) { if (res.code === 200) { listData = res.data[id]; $('.special_option .collect_num').html(listData.collectCount) $('.special_option .like_num').html(listData.likeCount) $('.special_bottom_box .op_like').html( `${listData.likeCount > 99 ? '99+' : listData.likeCount}`) $('.special_bottom_box .op_collect').html( `${listData.collectCount > 99 ? '99+' : listData.collectCount}`) specialLikeSatus = listData.isLiked; specialCollected = listData.isCollected; collectNum = listData.collectCount; likeNum = listData.likeCount; if (listData.isCollected) { $('.special_option .option_collect').addClass('active'); $('.special_bottom_box .op_b_collect').addClass('active'); } else { $('.special_option .option_collect').removeClass('active'); $('.special_bottom_box .op_b_collect').removeClass('active'); } if (listData.isLiked) { $('.special_option .option_like').addClass('active'); $('.special_bottom_box .op_b_like').addClass('active'); } else { $('.special_option .option_like').removeClass('active'); $('.special_bottom_box .op_b_like').removeClass('active'); } } }, error: function (err) { console.error("请求失败:", err); }, }); } // 收藏 function collectArt() { let id = '10443'; $.ajax({ url: "/e/extend/api/index.php?m=user&c=collect", type: 'post', data: JSON.stringify({ id: id, status: !specialCollected, type: 4 }), success: function (res) { if (res.code == 200) { specialCollected = !specialCollected; let currentNum = specialCollected ? collectNum + 1 : collectNum - 1; collectNum = currentNum; $('.special_option .collect_num').html(currentNum); $('.special_bottom_box .op_collect').html(`${currentNum > 99 ? '99+' : currentNum}`); if (specialCollected) { $('.special_option .option_collect').addClass('active'); $('.special_bottom_box .op_b_collect').addClass('active'); } else { $('.special_option .option_collect').removeClass('active'); $('.special_bottom_box .op_b_collect').removeClass('active'); } layer.msg('操作成功', { icon: 1 }) } }, error: function (err) { console.error("请求失败:", err); }, }); } // 点赞 function likeArt() { let id = '10443'; $.ajax({ url: "/e/extend/api/index.php?m=user&c=like", type: 'post', data: JSON.stringify({ id: id, status: !specialLikeSatus, type: 4 }), success: function (res) { if (res.code == 200) { specialLikeSatus = !specialLikeSatus; let currentNum = specialLikeSatus ? likeNum + 1 : likeNum - 1; likeNum = currentNum; $('.special_option .like_num').html(currentNum); $('.special_bottom_box .op_like').html(`${currentNum > 99 ? '99+' : currentNum}`); if (specialLikeSatus) { $('.special_option .option_like').addClass('active'); $('.special_bottom_box .op_b_like').addClass('active'); } else { $('.special_option .option_like').removeClass('active'); $('.special_bottom_box .op_b_like').removeClass('active'); } layer.msg('操作成功', { icon: 1 }) } }, error: function (err) { console.error("请求失败:", err); }, }); } </script> <!-- 分享 --> <script> layui.use(["dropdown"], function () { const dropdown = layui.dropdown; dropdown.render({ elem: '#dropdown-content', align: 'center', content: `<div class="social-share"></div>`, className: 'demo-dropdown-tabs', style: 'width: 262px;padding: 10px;box-shadow: 1px 1px 30px rgb(0 0 0 / 12%);border-radius:8px;', ready: dropdownReady }); function dropdownReady() { const $config = { //sites : ['qzone', 'qq', 'weibo','wechat', 'douban','linkedin'], // 启用的站点 disabled: ['google', 'facebook', 'twitter'], // 禁用的站点 url: window.location.href, title: '加密货币空投趋势分析:2024年五大空投项目的机遇与挑战​', // 标题 description: `2024年,加密货币空投成为开发者吸引用户的利器,其成功与否取决于代币分配策略及市场环境。 例如,Jupiter向早期用户空投了10亿JUP,推动了Solana生态的繁荣。 Starknet向130万个地址分发数亿美元,但STRK代币全年价格下跌75%,暴露出L2项目投资机会的饱和和缺乏杀手级应用的问题。 这些案例展现了代币分配策略对项目成败的关键作用,也反映了加密市场瞬息万变的特点。`, // 描述 image: '', weiboUrl: window.location.href, wechatQrcodeTitle: "请打开微信扫一扫", // 微信二维码提示文字 wechatQrcodeHelper: '<p>微信里点“发现”,扫一下</p><p>二维码便可将本文分享至朋友圈。</p>' }; socialShare('.social-share', $config); } }); </script> <!-- 评论相关 --> <script> // 获取评论列表 let commentPage = 0; let pid; let commentTotal = 0; let allCommentConut = 0; let allCommentList = []; let pageSize = 5; getCommentList(); function getCommentList() { $('.comment_nomore_box').hide(); $('.comment_more_box').hide(); let id = '10443'; commentPage++; $.ajax({ url: `/e/extend/api/index.php?m=comment&c=list&id=${id}&pageSize=${pageSize}&page=${commentPage}&type=4`, type: 'GET', success: function (res) { if (res.code === 200) { commentTotal = res.data.total; allCommentConut = res.data.count; $('#commentTotalNum').html(allCommentConut); $('.op_b_comment .op_bottom_num').html(allCommentConut); if (commentPage == 1) { //首次加载判断有没有评论 if (res.data.list.length > 0) { commentList.show(); $('.comment_nocomment_box').hide(); commentListShow(res.data.list); } else { commentList.hide(); $('.comment_nocomment_box').show(); } //首次加载判断有没有更多 if (res.data.total > 5) { $('.comment_more_box').css('display', 'flex'); } else if (res.data.total > 0 && res.data.total < 5) { $('.comment_nomore_box').show(); } else { $('.comment_more_box').hide(); $('.comment_nomore_box').hide(); } } else { commentListShow(res.data.list); } } }, error: function (err) { console.error("请求失败:", err); }, }); } //处理评论列表逻辑 function commentListShow(list) { // console.log(list) if (commentPage == 1) { commentList.empty(); } $.each(list, function (index, item) { allCommentList.push(item); let html = ` <div class="comment_list_item f-fs-fs" data-id="${item.id}"> <img src="${item.avatar}" class="comment_list_adv"> <div class="comment_item" id="CommentList_${item.id}"> <div class="comment_item_head f-fs-c"> <div class="comment_username f-fs-c"> <div class="username">${item.username}</div> <div class="comment_author" style="display:${item.isAuthor ? 'bolck' : 'none'}">作者</div> </div> <div class="comment_item_time">${item.created_at}</div> </div> <div class="comment_item_content"> ${item.content} </div> <div class="comment_item_bottom f-sb-c"> <div class="comment_reply father_reply">回复</div> <div class="comment_option_box f-fs-c"> <img src="/web-v2/img/special/${item.isLiked ? 'comment_like' : 'like_comment'}.png" class="comment_like_icon fatherlike" data-status="${item.isLiked}"> <div class="comment_likenum">${item.likeCount}</div> </div> </div> <div class="reply_comment_box"> <textarea class="replay_textarea" placeholder="回复:" ></textarea> <div class="reply_btn_box f-fe-fs"> <div class="ready_btn">回复</div> </div> </div> <div class="comment_subitem_list" style="display:${item.sub.total ? 'bolck' : 'none'}" id="subCommentList_${item.id}"> </div> </div> </div> ` commentList.append(html); if (item.sub.list && item.sub.list.length > 0) { let list = item.sub.list; $.each(list, function (subIdx, subItem) { let html = ` <div class="subitem_box f-fs-fs" data-id="${subItem.id}"> <img src="${subItem.avatar}" class="subitem_adv"> <div class="comment_subitem"> <div class="comment_subitem_head f-fs-c"> <div class="subitem_username f-fs-c"> <div class="username">${subItem.username}</div> <div class="subitem_author" style="display:${subItem.isAuthor ? 'block' : 'none'}">作者</div> <div class="reply" style="display:${subItem.commentTo ? 'block' : 'none'}">回复</div> <div class="username" style="display:${subItem.commentTo ? 'block' : 'none'}">${subItem.commentTo}</div> </div> <div class="comment_subitem_time">${subItem.created_at}</div> </div> <div class="comment_subitem_content"> ${subItem.content} </div> <div class="comment_item_bottom f-sb-c"> <div class="comment_reply sub_replay">回复</div> <div class="comment_option_box f-fs-c"> <img src="/web-v2/img/special/${subItem.isLiked ? 'comment_like' : 'like_comment'}.png" class="comment_like_icon sublike" data-status="${subItem.isLiked}"> <div class="comment_likenum">${subItem.likeCount}</div> </div> </div> <div class="subreply_comment_box"> <textarea class="subreplay_textarea" placeholder="回复:" ></textarea> <div class="subreply_btn_box f-fe-fs"> <div class="subready_btn">回复</div> </div> </div> </div> </div> ` $(`#subCommentList_${item.id}`).append(html); }) } if (item.sub.total > 5) { let moreHtml = ` <div class="show_more_btn">展开更多评论</div>` $(`#CommentList_${item.id}`).append(moreHtml); } }) if (commentPage > 1) { if (commentTotal == allCommentList.length) { $('.comment_more_box').hide(); $('.comment_nomore_box').show(); } else { $('.comment_more_box').css('display', 'flex'); $('.comment_nomore_box').hide(); } } } //时间戳处理 function timeAgo(timestamp) { const now = new Date().getTime(); const then = new Date(timestamp).getTime(); const diff = now - then; const seconds = Math.floor(diff / 1000); const minutes = Math.floor(seconds / 60); const hours = Math.floor(minutes / 60); const days = Math.floor(hours / 24); if (seconds < 60) { return '刚刚'; } else if (minutes < 60) { return `${minutes}分钟前`; } else if (hours < 24) { return `${hours}小时前`; } else { const date = new Date(timestamp); const year = date.getFullYear(); const month = String(date.getMonth() + 1).padStart(2, '0'); const day = String(date.getDate()).padStart(2, '0'); return `${year}-${month}-${day}`; } } //展开更多回复 let pageListMap = new Map(); $(document).on("click", ".show_more_btn", function () { const parentComment = $(this).closest(".comment_list_item"); // 获取当前评论项 pid = parentComment.data("id"); // 获取评论的ID let _this = $(this); //存入每一个评论的子回复页数 let page; if (!pageListMap.get(pid)) { page = 1; pageListMap.set(pid, page); } else { page = pageListMap.get(pid); } let id = '10443'; page++; pageListMap.set(pid, page); $.ajax({ url: `/e/extend/api/index.php?m=comment&c=list&pid=${pid}&subpageSize=5&page=${page}&type=4`, type: 'GET', success: function (res) { let list = res.data.list; let maxPage = Math.ceil(res.data.total / 5); $.each(list, function (subIdx, subItem) { let html = ` <div class="subitem_box f-fs-fs" data-id="${subItem.id}"> <img src="${subItem.avatar}" class="subitem_adv"> <div class="comment_subitem"> <div class="comment_subitem_head f-fs-c"> <div class="subitem_username f-fs-c"> <div class="username">${subItem.username}</div> <div class="subitem_author" style="display:${subItem.isAuthor ? 'block' : 'none'}">作者</div> <div class="reply" style="display:${subItem.commentTo ? 'block' : 'none'}">回复</div> <div class="username" style="display:${subItem.commentTo ? 'block' : 'none'}">${subItem.commentTo}</div> </div> <div class="comment_subitem_time">${subItem.created_at}</div> </div> <div class="comment_subitem_content"> ${subItem.content} </div> <div class="comment_item_bottom f-sb-c"> <div class="comment_reply sub_replay f-c-c">回复</div> <div class="comment_option_box f-fs-c"> <img src="/web-v2/img/special/${subItem.isLiked ? 'comment_like' : 'like_comment'}.png" class="comment_like_icon sublike" data-status="${subItem.isLiked}"> <div class="comment_likenum">${subItem.likeCount}</div> </div> </div> <div class="subreply_comment_box"> <textarea class="subreplay_textarea" placeholder="回复:" ></textarea> <div class="subreply_btn_box f-fe-fs"> <div class="subready_btn">回复</div> </div> </div> </div> </div> ` $(`#subCommentList_${pid}`).append(html); }) if (page >= maxPage) { _this.remove(); } }, error: function (err) { console.error("请求失败:", err); }, }) console.log(pid) }); //发表评论 function pushComment() { const commentText = $("#pushText").val(); if (!commentText) { layer.msg('请输入内容', { icon: 2 }); return; } let id = '10443'; $.ajax({ url: "/e/extend/api/index.php?m=comment&c=add", type: 'post', data: JSON.stringify({ id: id, type: 4, content: commentText, }), success: function (res) { if (res.code === 200) { commentPage = 0; allCommentList = []; commentList.empty(); $("#pushText").val('') layer.msg('评论成功', { icon: 1 }) getCommentList(); } }, error: function (err) { console.error("请求失败:", err); }, }); } //点击评论按钮 $(document).on("click", ".father_reply", function () { if (!commentLoginStatus) { showLogin(); return; } const parentComment = $(this).closest(".comment_list_item"); // 获取当前评论项 parentComment.find(".reply_comment_box").show(); const replyUsername = parentComment.find(".comment_item_head .username").text(); // 获取主评论的用户名 parentComment.find(".replay_textarea").attr('placeholder', `回复 ${replyUsername}:`); pid = parentComment.data("id"); // 获取评论的ID }); function subPushComment(commentText, commentPid) { $.ajax({ url: "/e/extend/api/index.php?m=comment&c=add", type: 'post', data: JSON.stringify({ pid: commentPid, type: 4, content: commentText, }), success: function (res) { if (res.code === 200) { pageSize = allCommentList.length < 5 ? 5 : allCommentList.length; allCommentList = []; commentPage = 0; layer.msg('评论成功', { icon: 1 }) pageListMap.clear(); getCommentList(); } }, error: function (err) { console.error("请求失败:", err); }, }); } //回复一级评论 $(document).on("click", ".ready_btn", function () { if (!commentLoginStatus) { showLogin(); return; } const parentComment = $(this).closest(".comment_list_item"); // 获取当前评论项 let commentPid = parentComment.data("id"); // 获取评论的ID const commentText = parentComment.find(".replay_textarea").val(); // 获取评论内容 console.log('commentText', commentText) if (!commentText) { layer.msg('请输入内容', { icon: 2 }); return; } subPushComment(commentText, commentPid) }); //二级评论按钮 $(document).on("click", ".sub_replay", function () { if (!commentLoginStatus) { showLogin(); return; } const parentComment = $(this).closest(".subitem_box"); // 获取当前评论项 parentComment.find(".subreply_comment_box").show(); const replyUsername = parentComment.find(".comment_subitem_head .username:first").text(); // 获取主评论的用户名 parentComment.find(".subreplay_textarea").attr('placeholder', `回复 ${replyUsername}:`); }); //回复二级评论 $(document).on("click", ".subready_btn", function () { if (!commentLoginStatus) { showLogin(); return; } const parentComment = $(this).closest(".subitem_box"); // 获取当前评论项 let commentPid = parentComment.data("id"); // 获取评论的ID const commentText = parentComment.find(".subreplay_textarea").val(); // 获取评论内容 console.log('commentText', commentText) if (!commentText) { layer.msg('请输入内容', { icon: 2 }); return; } subPushComment(commentText, commentPid) }); // 点赞 function likeCommentOption(id, status) { $.ajax({ url: "/e/extend/api/index.php?m=comment&c=like", type: 'post', data: JSON.stringify({ id: id, status: !status, }), success: function (res) { if (res.code === 200) { allCommentList.length < 5 ? 5 : allCommentList.length; allCommentList = []; commentPage = 0; layer.msg('操作成功', { icon: 1 }) pageListMap.clear(); getCommentList(); } }, error: function (err) { console.error("请求失败:", err); }, }); } //一级评论点赞 $(document).on("click", ".fatherlike", function () { if (!commentLoginStatus) { showLogin(); return; } const parentComment = $(this).closest(".comment_list_item"); // 获取当前评论项 let commentPid = parentComment.data("id"); // 获取评论的ID let status = $(this).data('status'); likeCommentOption(commentPid, status); }); //二级评论点赞 $(document).on("click", ".sublike", function () { if (!commentLoginStatus) { showLogin(); return; } const parentComment = $(this).closest(".subitem_box"); // 获取当前评论项 let commentPid = parentComment.data("id"); // 获取评论的ID let status = $(this).data('status'); likeCommentOption(commentPid, status) }); //获取更多评论 function moreCommentList() { // pageSize = 5; getCommentList(); } </script> <!-- 跳转更多专题 --> <script> let firstSumbit = true; $('.more_recommendations_btn').click(function () { if (firstSumbit) { firstSumbit = false; $('.more_special_item').removeClass('extend_special'); $('.more_recommendations_btn').html('返回专题首页') $('.more_recommendations').html('百万币友都在看') } else { window.open('/zhuanti/'); } }) </script> </html>