token币属于什么的

来源:网络时间:2025-05-08 17:05:03

Token币属于什么?一文看懂区块链生态中的数字资产</strong></h3> <p>在<a href="https://www.duote.com/zt/azapp1762/" target="_blank"><strong class="keylink">区块链</strong></a>技术蓬勃发展的背景下,Token(代币)作为数字经济的重要载体,正逐渐成为<a href="https://www.duote.com/zt/zxcv853/" target="_blank"><strong class="keylink">投资</strong></a>者和开发者关注的焦点。那么,Token币到底属于什么?它与常见的<a href="https://www.duote.com/zt/soft1527/" target="_blank"><strong class="keylink">加密</strong></a>货币(如<a href="https://www.4399btc.com/coin/bitcoin/index.html" target="_blank"><strong class="keylink">比特币</strong></a>)有何区别?本文将为您揭开谜底。</p><p style="text-align:center;"><img src="https://img4.runjiapp.com/duoteimg/dtnew_techup_img/202505/20250508174601_11670.jpg" alt="token币属于什么的"></p> <h3 style="height: 36px;line-height: 36px;background-color: #f5f5f5;color: #0af;display: inline-block;padding: 0 20px;font-size: 16px;margin-bottom: 20px;position: relative;border-left: 4px #0af solid;"><strong style="color:#222">1. Token的本质属性</strong></h3> <p>Token本质上是一种基于区块链技术发行的数字权益凭证。根据[文档1]和[文档2]的描述,它不具备法定货币地位,但能在特定生态系统中实现价值流通。例如:</p> <p>- 实用型Token:如Filecoin(IPFS生态中的存储<a href="https://www.duote.com/zt/azapp717/" target="_blank"><strong class="keylink">支付</strong></a>工具)</p> <p>- 治理型Token:如Uniswap的UNI代币(用于协议治理<a href="https://www.duote.com/zt/azapp933/" target="_blank"><strong class="keylink">投票</strong></a>)</p> <p>- <a href="https://www.duote.com/zt/soft2121/" target="_blank"><strong class="keylink">证券</strong></a>型Token:代表现实世界资产的所有权(如房地产碎片化投资)</p> <p>与传统金融工具不同,Token的价值与其底层协议或生态系统的活跃度紧密相关。</p><p style="text-align:center;"><img src="https://img4.runjiapp.com/duoteimg/dtnew_techup_img/202505/20250508174602_17366.jpg" alt="token币属于什么的"></p> <h3 style="height: 36px;line-height: 36px;background-color: #f5f5f5;color: #0af;display: inline-block;padding: 0 20px;font-size: 16px;margin-bottom: 20px;position: relative;border-left: 4px #0af solid;"><strong style="color:#222">2. Token与Coin的核心差异</strong></h3> <p>虽然Token常被笼统称为"加密货币",但其与Coin存在本质区别(参考[文档3]):</p> <p>| 维度 | Token | Coin(如比特币) |</p> <p>|-------------|----------------------------------|-------------------------------|</p> <p>| 底层技术 | 依附于现有区块链(如ERC-20标准) | 基于自有独立区块链 |</p> <p>| 功能<a href="https://www.duote.com/zt/azapp1439/" target="_blank"><strong class="keylink">定位</strong></a> | 生态系统权益凭证 | 点对点电子现金系统 |</p> <p>| 发行机制 | 智能合约自动执行 | 通过<a href="https://www.duote.com/zt/soft445/" target="_blank"><strong class="keylink">挖矿</strong></a>或共识机制生成 |</p> <p>| 典型代表 | Dai(稳定币)、LINK(预言机代币)| BTC、ETH |</p> <p>简单来说,Coin是区块链网络的"原生货币",而Token更像是构建在这些网络上的"应用通行证"。</p><p style="text-align:center;"><img src="https://img4.runjiapp.com/duoteimg/dtnew_techup_img/202505/20250508174603_51757.jpg" alt="token币属于什么的"></p> <h3 style="height: 36px;line-height: 36px;background-color: #f5f5f5;color: #0af;display: inline-block;padding: 0 20px;font-size: 16px;margin-bottom: 20px;position: relative;border-left: 4px #0af solid;"><strong style="color:#222">3. Token的现实应用场景</strong></h3> <p>Token的创新性在于其应用场景的多样性,以下是几个典型案例:</p> <p>- DeFi领域:MakerDAO的DAI稳定币通过抵押ETH生成,支撑着数十亿美元的去中心化<a href="https://www.duote.com/zt/azapp1198/" target="_blank"><strong class="keylink">借贷</strong></a>市场</p> <p>- NFT生态:Axie Infinity的SLP代币既是游戏内货币,也是玩家赚取收益的载体</p> <p>- 跨链互通:Wrapped Bitcoin(WBTC)将比特币引入以太坊生态,实现资产跨链流动</p> <p>值得注意的是,[文档4]提到的TOKEN币(如TokenFi)这类项目,往往通过高波动性吸引短期投机资金,投资者需警惕"炒作泡沫"。</p> <h3 style="height: 36px;line-height: 36px;background-color: #f5f5f5;color: #0af;display: inline-block;padding: 0 20px;font-size: 16px;margin-bottom: 20px;position: relative;border-left: 4px #0af solid;"><strong style="color:#222">4. 投资Token的风险提示</strong></h3> <p>尽管Token市场充满机遇,但以下风险不容忽视:</p> <p>1. 监管不确定性:全球监管机构对证券型Token的合规认定仍在摸索中</p> <p>2. 技术<a href="https://www.duote.com/zt/soft630/" target="_blank"><strong class="keylink">漏洞</strong></a>风险:2023年数据显示,约15%的智能合约漏洞事件与Token发行相关</p> <p>3. 市场波动剧烈:[文档4]记录的TOKEN币24小时暴跌19%的现象并非孤例</p> <p>建议投资者遵循"先研究后投资"原则,重点关注项目团队背景、技术白皮书可行性和社区活跃度等指标。</p> <p><strong>小编建议</strong></p> <p>Token作为区块链技术的创新应用载体,正在重塑数字时代的权益分配模式。无论是参与DeFi协议、持有治理代币,还是投资资产挂钩型Token,都需要建立对底层技术原理的基本认知。在享受技术红利的同时,保持理性判断仍是数字资产投资的第一要务。</p> <p><strong>Token币属于什么类型的数字资产?</strong></p> <p>Token是一种基于区块链技术的可转让数字资产,通常代表对特定商品、服务或权益的所有权或访问权限。它分为多种类型:</p> <p>1. 实用型Token:用于购买平台内的服务或功能(如以太坊上的DApp代币)。</p> <p>2. 治理型Token:赋予持有者对项目决策的投票权(如UNI、SNX)。</p> <p>3. 支付型Token:用于区块链网络内的<a href="https://www.duote.com/zt/soft86/" target="_blank"><strong class="keylink">交易</strong></a>结算(如GAS费用)。</p> <p>4. 证券型Token:与现实资产(如<a href="https://www.duote.com/zt/soft6051/" target="_blank"><strong class="keylink">股票</strong></a>、债券)挂钩,需符合金融监管要求。</p> <p><strong>Token与加密货币(如比特币)有何本质区别?</strong></p> <p>Token依赖现有区块链平台(如以太坊)发行,不拥有独立区块链;而Coin(如比特币、以太坊本身)是独立区块链的原生货币,拥有自己的网络和共识机制。例如:</p> <p>- 以太坊(ETH)是Coin,而基于以太坊发行的USDT是Token。</p> <p>- Token的价值通常与发行方的项目或资产挂钩,而Coin的价值更多由市场供需决定。</p> <p><strong>如何购买和使用Token?主要用途是什么?</strong></p> <p>1. 购买方式:通过合规的<a href="https://www.duote.com/zt/soft2928/" target="_blank"><strong class="keylink">数字货币</strong></a>交易平台(如Coi<a href="https://www.duote.com/zt/nbayx/" target="_blank"><strong class="keylink">nba</strong></a>se、火币)用法币或主流加密货币兑换。需选择具备监管资质的平台以保障<a href="https://www.duote.com/zt/soft150/" target="_blank"><strong class="keylink">安全</strong></a>。</p> <p>2. 主要用途:</p> <p>- 激励机制:参与挖矿或质押获取Token奖励。</p> <p>- 生态应用:在特定平台支付服务费用(如DeFi借贷、NFT交易)。</p> <p>- 权益证明:参与项目治理或分红(如治理型Token)。</p> <p>- 投资标的:部分Token因项目潜力被用作投机或长期持有。</p> <p>(注:具体Token价格和交易数据需以实时市场行情为准,投资需谨慎。)</p> </div> <div class="page"> <a class="prev" onclick="countPoint('gw3_1','')" href="/tech/202505/855230.html" target="_blank" title=""><<span>上一篇:Timestope币是否已上主网?最新进展深</span></a> <a class="next" onclick="countPoint('gw3_2','')" href="javascript:" target="_self"><span>已经是最后一篇</span> ></a> </div> <div class="tip">文章内容来源于网络,不代表本站立场,若侵犯到您的权益,可联系我们删除。(本站为非盈利性质网站) 联系邮箱:rjfawu@163.com</div> <div class="recommend"> <div>相关推荐</div> <section> <a href="/android/492355.html" target="_blank" title="puc token"> <div class="img-shell"> <img src="https://img3.runjiapp.com/duoteimg/dtnew_softup_img/202012/08cc17460daad153.jpeg" alt="puc token"> </div> <div class="info"> <h2 class="ell">puc token</h2> <div> <span>金融理财</span>|<span>60MB</span> </div> </div> </a> <a href="/android/545616.html" target="_blank" title="Token Elf"> <div class="img-shell"> <img src="https://img1.runjiapp.com/duoteimg/dtnew_softup_img/202101/374e08caf6924fdb.png" alt="Token Elf"> </div> <div class="info"> <h2 class="ell">Token Elf</h2> <div> <span>金融理财</span>|<span>12.9MB</span> </div> </div> </a> <a href="/android/480360.html" target="_blank" title="sum token"> <div class="img-shell"> <img src="https://img5.runjiapp.com/duoteimg/dtnew_softup_img/202012/162e20b569243d1c.jpeg" alt="sum token"> </div> <div class="info"> <h2 class="ell">sum token</h2> <div> <span>金融理财</span>|<span>28.4MB</span> </div> </div> </a> <a href="/android/481763.html" target="_blank" title="plus token"> <div class="img-shell"> <img src="https://img1.runjiapp.com/duoteimg/dtnew_softup_img/202012/dfcd5bf275f97504.png" alt="plus token"> </div> <div class="info"> <h2 class="ell">plus token</h2> <div> <span>金融理财</span>|<span>24.6MB</span> </div> </div> </a> <a href="/android/472179.html" target="_blank" title="世界属于丧尸"> <div class="img-shell"> <img src="https://img2.runjiapp.com/duoteimg/dtnew_softup_img/202012/ef34a48d2ccee9a0.png" alt="世界属于丧尸"> </div> <div class="info"> <h2 class="ell">世界属于丧尸</h2> <div> <span>角色扮演</span>|<span>264.6MB</span> </div> </div> </a> <a href="/game/756555.html" target="_blank" title="天堂将属于我"> <div class="img-shell"> <img src="https://img3.runjiapp.com/duoteimg/dtnew_softup_img/202108/20210821010355_64220.png" alt="天堂将属于我"> </div> <div class="info"> <h2 class="ell">天堂将属于我</h2> <div> <span>冒险解谜</span>|<span>284MB</span> </div> </div> </a> <a href="/android/486678.html" target="_blank" title="属于我的头部"> <div class="img-shell"> <img src="https://img4.runjiapp.com/duoteimg/dtnew_softup_img/202012/8685507172286a5a.png" alt="属于我的头部"> </div> <div class="info"> <h2 class="ell">属于我的头部</h2> <div> <span>休闲益智</span>|<span>18.8MB</span> </div> </div> </a> <a href="/android/500038.html" target="_blank" title="属于你的海域"> <div class="img-shell"> <img src="https://img1.runjiapp.com/duoteimg/images/soft/no_thumb_show.png" alt="属于你的海域"> </div> <div class="info"> <h2 class="ell">属于你的海域</h2> <div> <span>休闲益智</span>|<span>46.5MB</span> </div> </div> </a> <a href="/android/546187.html" target="_blank" title="不属于这个世界"> <div class="img-shell"> <img src="https://img3.runjiapp.com/duoteimg/dtnew_softup_img/202101/8d1265fc0c0e671c.png" alt="不属于这个世界"> </div> <div class="info"> <h2 class="ell">不属于这个世界</h2> <div> <span>休闲益智</span>|<span>22.8MB</span> </div> </div> </a> <a href="/android/550180.html" target="_blank" title="这个月亮属于你"> <div class="img-shell"> <img src="https://img4.runjiapp.com/duoteimg/dtnew_softup_img/202101/5f06e8faa03d8f93.png" alt="这个月亮属于你"> </div> <div class="info"> <h2 class="ell">这个月亮属于你</h2> <div> <span>休闲益智</span>|<span>87.2MB</span> </div> </div> </a> <a href="/android/628548.html" target="_blank" title="它属于博物馆"> <div class="img-shell"> <img src="https://img3.runjiapp.com/duoteimg/dtnew_softup_img/202102/7bc9c43bfc92cb39.png" alt="它属于博物馆"> </div> <div class="info"> <h2 class="ell">它属于博物馆</h2> <div> <span>模拟经营</span>|<span>24.8MB</span> </div> </div> </a> <a href="/game/1063965.html" target="_blank" title="心跳回忆:永远属于"> <div class="img-shell"> <img src="https://img3.runjiapp.com/duoteimg/dtnew_softup_img/202302/20230203130221_43318.jpg" alt="心跳回忆:永远属于"> </div> <div class="info"> <h2 class="ell">心跳回忆:永远属于</h2> <div> <span>模拟经营</span>|<span>584.60MB</span> </div> </div> </a> </section> </div> <!-- 评论区域 --> <div class="comment"> <form action="https://duote.runjiapp.com/techcomment/add" method="post"> <input type="hidden" id="data_id" name="data_id" value="855231"> <input type="hidden" id="add_good_url" name="add_good_url" value="/techcomment/CommentPingjia/"> <input type="hidden" id="data_time" name="data_time" value="0"> <div class="comment-content"> <div class="comment-textarea" contenteditable="true"></div> <div class="publish"> <a class="expression" href="javascript:;"> 添加表情 <div class="biaoq_ico" style="display: none;" > <span> <img height="24" width="24" src="https://img1.runjiapp.com/duoteimg/zhuanti/comment/images/1.gif" sn="0"> <img height="24" width="24" src="https://img1.runjiapp.com/duoteimg/zhuanti/comment/images/2.gif" sn="0"> <img height="24" width="24" src="https://img1.runjiapp.com/duoteimg/zhuanti/comment/images/3.gif" sn="0"> <img height="24" width="24" src="https://img1.runjiapp.com/duoteimg/zhuanti/comment/images/4.gif" sn="0"> <img height="24" width="24" src="https://img1.runjiapp.com/duoteimg/zhuanti/comment/images/5.gif" sn="0"> <img height="24" width="24" src="https://img1.runjiapp.com/duoteimg/zhuanti/comment/images/6.gif" sn="0"> <img height="24" width="24" src="https://img1.runjiapp.com/duoteimg/zhuanti/comment/images/7.gif" sn="0"> <img height="24" width="24" src="https://img1.runjiapp.com/duoteimg/zhuanti/comment/images/8.gif" sn="0"> <img height="24" width="24" src="https://img1.runjiapp.com/duoteimg/zhuanti/comment/images/9.gif" sn="0"> <img height="24" width="24" src="https://img1.runjiapp.com/duoteimg/zhuanti/comment/images/10.gif" sn="0"> <img height="24" width="24" src="https://img1.runjiapp.com/duoteimg/zhuanti/comment/images/11.gif" sn="0"> <img height="24" width="24" src="https://img1.runjiapp.com/duoteimg/zhuanti/comment/images/12.gif" sn="0"> </span> <i></i> </div> </a> <input type="button" value="发表评论" class="comm-btn" name="cmtbtn" onclick="subComment(this)"> </div> </div> </form> </div> </div> <div class="model2-box"> <div class="model3"> <a href="https://www.duote.com/download/specialdoload/1021065" onclick="softCount('1021065');countPoint('jc_tj_soft','');" target="_blank" class="left"> <div class="img-shell"> <img src="https://img1.runjiapp.com/duoteimg/dtnew_softup_img/202402/20240202170321_53016.jpg" alt="欧意交易所app官方版"> </div> <div class="info"> <h2 class="ell">欧意交易所app官方版</h2> <object> <a href="https://www.duote.com/download/specialdoload/1021065" target="_blank" class="down">下载</a> </object> </div> </a> </div> <div class="model2"> <div class="model-title model-title2"> <img src="https://img4.runjiapp.com/duoteimg/dtnew_assets/pcRewrite/imgs/gonglue/xggl.png" alt=""> <span>相关攻略</span> </div> <div class="list"> <a target="_blank" href="/tech/202404/556585.html"> <i>1</i><span class="ell">token币属于什么的,Token:区块链世界的数字资产</span> </a> <a target="_blank" href="/tech/202312/521024.html"> <i>2</i><span class="ell">社区工会是做什么的,社区工会属于什么单位</span> </a> <a target="_blank" href="/tech/202404/556582.html"> <i>3</i><span class="ell">token币前景如何,技术革新:Token币的基石稳固</span> </a> <a target="_blank" href="/tech/202404/554660.html"> <i>4</i><span class="ell">TOKEN币有投资价值吗,TOKEN币的内在价值解析</span> </a> <a target="_blank" href="/tech/202404/558059.html"> <i>5</i><span class="ell">虚拟币是干什么的,虚拟币:何方神圣?</span> </a> <a target="_blank" href="/tech/202404/558536.html"> <i>6</i><span class="ell">DAV币DAV Token是什么?,DAV Token:何方神圣?</span> </a> <a target="_blank" href="/tech/202404/556583.html"> <i>7</i><span class="ell">token中文是什么币,Token的多元身份——不只是“币”那么简单</span> </a> <a target="_blank" href="/tech/202312/527504.html"> <i>8</i><span class="ell">c币钱包是干什么的,c币钱包是什么</span> </a> <a target="_blank" href="/tech/202312/527831.html"> <i>9</i><span class="ell">usdt属于什么币种?合法吗(usdt属于什么币种)</span> </a> <a target="_blank" href="/tech/202404/580564.html"> <i>10</i><span class="ell">4TOKEN币有希望吗,4TOKEN币:潜力无限,未来可期吗?</span> </a> </div> </div> <div class="model2"> <div class="model-title model-title2"> <img src="https://img4.runjiapp.com/duoteimg/dtnew_assets/pcRewrite/imgs/gonglue/jqrd.png" alt=""> <span>近期热点</span> </div> <div class="list"> <a target="_blank" href="/tech/202504/844951.html"> <i>1</i><span class="ell">跨越创意障碍:5大AI助写工具,激发你的无限创作潜能</span> </a> <a target="_blank" href="/tech/202504/844961.html"> <i>2</i><span class="ell">探索理想阅读体验:适合沉浸式阅读小说的浏览器工具推荐</span> </a> <a target="_blank" href="/tech/202504/844876.html"> <i>3</i><span class="ell">2025年顶级鼠标指针定制工具前五名:为你的每一次点击增添魔幻色彩</span> </a> <a target="_blank" href="/tech/202504/845438.html"> <i>4</i><span class="ell">探索豆包AI:原创与转载内容的智能识别之旅 - 深入解析豆包的高级搜索机制</span> </a> <a target="_blank" href="/tech/202504/845293.html"> <i>5</i><span class="ell">立即保存!全球十大票房巨作观影指南:探索最佳观影平台</span> </a> <a target="_blank" href="/tech/202504/845194.html"> <i>6</i><span class="ell">探索云游新天地:抖音PC端的云游戏之旅 —— 已解锁游戏清单</span> </a> <a target="_blank" href="/tech/202504/844982.html"> <i>7</i><span class="ell">探索全面版权音乐平台:免费与授权音乐软件排名解读</span> </a> <a target="_blank" href="/tech/202504/845037.html"> <i>8</i><span class="ell">顶级五款智能输入法:免费高效,引领输入新风尚</span> </a> <a target="_blank" href="/tech/202504/844973.html"> <i>9</i><span class="ell">探索最佳内置翻译功能的浏览器:5大AI驱动浏览器评测</span> </a> <a target="_blank" href="/tech/202504/844962.html"> <i>10</i><span class="ell">探索文字抓取新境界:5大内置OCR功能的浏览器推荐</span> </a> </div> </div> <div class="model2"> <div class="model-title model-title2"> <img src="https://img4.runjiapp.com/duoteimg/dtnew_assets/pcRewrite/imgs/gonglue/zxgl.png" alt=""> <span>最新攻略</span> </div> <div class="list"> <a target="_blank" href="/tech/202504/853880.html"> <i>1</i><span class="ell">MOODENG币近期涨幅显著,市场热度持续攀升</span> </a> <a target="_blank" href="/tech/202504/853879.html"> <i>2</i><span class="ell">Monad代币预售情况及参与指南</span> </a> <a target="_blank" href="/tech/202504/853878.html"> <i>3</i><span class="ell">Monad上交易所预估价格分析:技术优势与市场潜力</span> </a> <a target="_blank" href="/tech/202504/853877.html"> <i>4</i><span class="ell">Minima提币教程:安全提取代币的详细步骤与注意事项</span> </a> <a target="_blank" href="/tech/202504/853876.html"> <i>5</i><span class="ell">Minidoge币能否涨至10美元?多维度分析其潜在价值与挑战</span> </a> <a target="_blank" href="/tech/202504/853875.html"> <i>6</i><span class="ell">MilkyWay空投现已开放领取,前2000名milkTIA持有者优先享有资格</span> </a> <a target="_blank" href="/tech/202504/853874.html"> <i>7</i><span class="ell">Mew币潜力能到1元吗?深度解析其前景与风险</span> </a> <a target="_blank" href="/tech/202504/853873.html"> <i>8</i><span class="ell">Mew币团队所属国家解析</span> </a> <a target="_blank" href="/tech/202504/853872.html"> <i>9</i><span class="ell">MENGO币是哪个国家的?深度解析其背景与定位</span> </a> <a target="_blank" href="/tech/202504/853871.html"> <i>10</i><span class="ell">MENGO币价格走势分析:会一直跌到5元吗?</span> </a> <a target="_blank" href="/tech/202504/853870.html"> <i>11</i><span class="ell">Memo币的合法性解析:中国视角与全球监管趋势</span> </a> <a target="_blank" href="/tech/202504/853869.html"> <i>12</i><span class="ell">MEMO币会涨到128美金吗?分析与市场逻辑解读</span> </a> </div> </div> </div> </div> </div> </div> <div class="footer df fdc aic"> <ul class="df m-b-20 f16"> <li><a href="https://www.duote.com/about.html" target="_blank">关于我们</a></li> <li><a href="https://www.duote.com/bd.html" target="_blank">商务合作</a></li> <li><a href="https://www.duote.com/help.html" target="_blank">下载帮助</a></li> <li><a href="https://submit.duote.com/" target="_blank">软件发布</a></li> <li><a href="https://www.duote.com/sitemap.html" target="_blank">站点地图</a></li> <li><a href="https://www.duote.com/feedback/index" target="_blank">意见反馈</a></li> </ul> <p class="f16 c999 m-b-2">不良信息举报电话:021-50375955 不良信息举报邮箱:rjfawu@163.com</p> <p class="f16 c999">版权归多特软件所有 工信部备案号:沪ICP备2021013683号-10</p> </div> <script type="text/javascript" src="https://img2.runjiapp.com/duoteimg/js/newjs/clickdown_stat_ajax.js"></script> <script src="https://img4.runjiapp.com/duoteimg/dtnew_assets/pcRewrite/js/comment.js"></script> <script src="https://img4.runjiapp.com/duoteimg/dtnew_assets/pcRewrite/js/swiper-3.4.2.min.js"></script> <script type="text/javascript" src="https://img3.runjiapp.com/duoteimg/dtnew_assets/pc/js/searchCode/transcoding.js"></script> <script type="text/javascript" src="https://img2.runjiapp.com/duoteimg/dtnew_assets/pc/js/soft/auto_complete_game.js"></script> <script type="text/javascript" src="https://img1.runjiapp.com/duoteimg/dtnew_recom_img/duoteself/game_search_new.js"></script> <script> $(function() { var swiper = new Swiper('.swiper-container', { nextButton: '.swiper-button-next', prevButton: '.swiper-button-prev', slidesPerView: 1, paginationClickable: true, spaceBetween: 30, loop: true, autoplay: 3000, }); // 加入收藏 function addBookmark() { var title = document.title; var url = window.location.href; if (window.sidebar) { try { window.sidebar.addPanel(title, url, ''); } catch (e) { alert("您的浏览器不支持该功能,请使用Ctrl+D收藏本页"); } } else { try { window.external.AddFavorite(url, title); } catch (e) { alert("您的浏览器不支持该功能,请使用Ctrl+D收藏本页"); } } } }) // 提交评论 function subComment(that) { var dataId = $("#data_id").val(); var commContent = $(that).parent().siblings(".comment-textarea").html(); var commContentTxt = $(that).parent().siblings(".comment-textarea").text(); var commentId = $(that) .parent(".publish") .parent(".reply-commert") .parent(".re-reply-lists") .siblings(".replay-head") .attr("netid"); commentId = typeof commentId === "undefined" ? 0 : commentId; var url = $("#data_id").parent().attr("action"); if (commContentTxt == "" && commContent != "") { alert("纯表情会让人误以为您是表情帝,还是说点实在的吧!"); return; } if (commContentTxt == "" || commContentTxt.length < 5 || commContentTxt.length > 500) { alert("评论内容长度为5~500个字!"); return; } if ($("#data_time").val() == "1") { setTimeout(function () { $("#data_time").val("0"); }, 60000); alert("水也不是这么灌的,请您休息一分钟再发表评论!"); return; } if (getCookie("timeC" + dataId) == "succ") { alert("不好意思,您已经评价了!"); return; } $.post( url, { data_id: dataId, commcontent: commContent, comment_id: commentId, }, function (data) { if (data.code == 0) { alert("评论添加成功,请等待审核"); $("#data_time").val("1"); setCookie("timeC" + dataId, "succ"); $(that).parent().siblings(".comment-textarea").html(""); } else { alert(data.msg); return false; } }, "json" ); } function setCookie(c_name, value, expiredays) { var exdate = new Date(); exdate.setDate(exdate.getDate() + expiredays); document.cookie = c_name + "=" + escape(value) + (expiredays == null ? "" : ";expires=" + exdate.toGMTString()); } function getCookie(name) { var arr, reg = new RegExp("(^| )" + name + "=([^;]*)(;|$)"); if ((arr = document.cookie.match(reg))) { return arr[2]; } else { return null; } } function subGameForm() { var keywords = $("#bdcs-search-form-input").val() var base = new Base64() var result = base.encode(keywords) var searchType = $("#search-type").val() if (searchType == 1){ window.open('http://s.runjiapp.com/searchall/allindex/?keywords=' + result + '') } else { window.open('http://s.runjiapp.com/searchArticle/index/?keywords=' + result + '') } } function entersearch() { var event = window.event || arguments.callee.caller.arguments[0]; if (event.keyCode == 13) { subGameForm() } } </script> </body> </html>