const{createApp}=Vue const{createVuetify,useGoTo,useDisplay}=Vuetify var data={alert:{show:false,color:'success',text:'',timeout:0,},theme:{dark:false,},nav:{showDrawer:false,showTOC:true,tocPanel:0,tab:'account',post:{discussionId:4342,currentPage:1,targetPage:1,total:11,anchor:0,goToOptions:{container:null,duration:0,easing:'easeInOutCubic',offset:-100,},worker:null,task:[],active:[],apiLock:[],originLike:new Map([]),},related:{block:1,}},search:{width:80,text:null,loading:false,},tags:[{id:8,url:'/t/1600735c6a045c77687709772e28',name:'CloudCone',color:'#558B2F',icon:'mdi-server-network-outline',},],posts:[{id:48861,num:0,uid:1770,content:'\u003Cp\u003E圣诞节到期 无限流量 年付20刀,硬盘是纯SSD,CPU单核分数也比其他的高不少\u003Cbr\u003E\u003Cimg src\u003D\"https://telegraph-workers.520131412.xyz/1742250704922.png\" alt\u003D\"0\"\u003E\u003Cbr\u003E\u003Cimg src\u003D\"https://telegraph-workers.520131412.xyz/1742250734094.png\" alt\u003D\"0\"\u003E\u003C/p\u003E\u003Ccode\u003E--------------------- A Bench Script By spiritlhl ---------------------- 测评频道: https://t.me/vps_reviews VPS融合怪版本:2025.02.12Shell项目地址:https://github.com/spiritLHLS/ecsGo项目地址:https://github.com/oneclickvirt/ecs---------------------基础信息查询--感谢所有开源项目--------------------- CPU 型号 : Intel Xeon E312xx (Sandy Bridge, IBRS update) CPU 核心数 : 2 CPU 频率 : 2394.374 MHz CPU 缓存 : L1: 128.00 KB / L2: 8.00 MB / L3: 32.00 MB AES-NI指令集 : ✔ Enabled VM-x/AMD-V支持 : ❌ Disabled 内存 : 302.90 MiB / 964.21 MiB Swap : 50.49 MiB / 2.00 GiB 硬盘空间 : 2.19 GiB / 22.51 GiB 启动盘路径 : /dev/vda1 系统在线时间 : 51 days, 22 hour 39 min 负载 : 0.62, 0.25, 0.14 系统 : Debian GNU/Linux 11 (bullseye) (x86_64) 架构 : x86_64 (64 Bit) 内核 : 5.10.0-8-amd64 TCP加速方式 : bbr 虚拟化架构 : KVM NAT类型 : Full Cone IPV4 ASN : AS35916 MULTACOM CORPORATION IPV4 位置 : Los Angeles / California / US IPV6 ASN : AS35916 Multacom Corporation IPV6 位置 : Los Angeles / California / United States IPV6 子网掩码 : 128----------------------CPU测试--通过sysbench测试------------------------- -\u0026gt; CPU 测试中 (Fast Mode, 1-Pass @ 5sec) 1 线程测试(单核)得分: 948 Scores 2 线程测试(多核)得分: 1762 Scores---------------------内存测试--感谢lemonbench开源----------------------- -\u0026gt; 内存测试 Test (Fast Mode, 1-Pass @ 5sec) 单线程读测试: 16947.09 MB/s 单线程写测试: 9959.85 MB/s------------------磁盘dd读写测试--感谢lemonbench开源-------------------- -\u0026gt; 磁盘IO测试中 (4K Block/1M Block, Direct Mode) 测试操作 写速度 读速度 100MB-4K Block 34.1 MB/s (8321 IOPS, 3.08s) 33.1 MB/s (8073 IOPS, 3.17s) 1GB-1M Block 595 MB/s (568 IOPS, 1.76s) 1.9 GB/s (1801 IOPS, 0.56s)---------------------磁盘fio读写测试--感谢yabs开源----------------------Block Size | 4k (IOPS) | 64k (IOPS) ------ | --- ---- | ---- ---- Read | 83.36 MB/s (20.8k) | 414.92 MB/s (6.4k)Write | 83.58 MB/s (20.8k) | 417.11 MB/s (6.5k)Total | 166.95 MB/s (41.7k) | 832.03 MB/s (13.0k) | | Block Size | 512k (IOPS) | 1m (IOPS) ------ | --- ---- | ---- ---- Read | 366.76 MB/s (716) | 356.37 MB/s (348)Write | 386.25 MB/s (754) | 380.11 MB/s (371)Total | 753.01 MB/s (1.4k) | 736.48 MB/s (719)------------流媒体解锁--基于oneclickvirt/CommonMediaTests开源-----------以下测试的解锁地区是准确的,但是不是完整解锁的判断可能有误,这方面仅作参考使用----------------Netflix-----------------[IPV4]您的出口IP可以使用Netflix,但仅可看Netflix自制剧NF所识别的IP地域信息:美国[IPV6]您的出口IP可以使用Netflix,但仅可看Netflix自制剧NF所识别的IP地域信息:美国----------------Youtube-----------------[IPV4]连接方式: Youtube Video Server视频缓存节点地域: 美国 洛杉机(LAX31S13)[IPV6]连接方式: Youtube Video Server视频缓存节点地域: 美国 洛杉机(LAX31S13)---------------DisneyPlus---------------[IPV4]当前IPv4出口所在地区即将开通DisneyPlus[IPV6]当前IPv4出口所在地区即将开通DisneyPlus解锁Netflix,Youtube,DisneyPlus上面和下面进行比较,不同之处自行判断----------------流媒体解锁--感谢RegionRestrictionCheck开源-------------- 以下为IPV4网络测试,若无IPV4网络则无输出\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D[ Multination ]\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D Dazn: Failed (Error: ) Disney+: No (IP Banned By Disney+ 1) Netflix: Originals Only YouTube Premium: Yes (Region: US) Amazon Prime Video: Yes (Region: US) TVBAnywhere+: Yes Spotify Registration: No OneTrust Region: US [California] iQyi Oversea Region: US Bing Region: US (Risky) Apple Region: US YouTube CDN: Los Angeles, CA Netflix Preferred CDN: Los Angeles, CA ChatGPT: Yes Google Gemini: Yes (Region: USA) Claude: Yes Wikipedia Editability: No Google Play Store: United States Google Search CAPTCHA Free: Yes Steam Currency: USD ---Forum--- Reddit: No\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D 以下为IPV6网络测试,若无IPV6网络则无输出\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D[ Multination ]\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D Dazn: IPv6 Is Not Currently Supported Disney+: IPv6 Is Not Currently Supported Netflix: Originals Only YouTube Premium: Yes (Region: US) Amazon Prime Video: IPv6 Is Not Currently Supported TVBAnywhere+: IPv6 Is Not Currently Supported Spotify Registration: No OneTrust Region: US [California] iQyi Oversea Region: IPv6 Is Not Currently Supported Bing Region: US (Risky) Apple Region: US YouTube CDN: Los Angeles, CA Netflix Preferred CDN: Los Angeles, CA ChatGPT: Failed (Network Connection) Google Gemini: Yes (Region: USA) Claude: Yes Wikipedia Editability: No Google Play Store: United States Google Search CAPTCHA Free: Yes Steam Currency: IPv6 Is Not Currently Supported ---Forum--- Reddit: IPv6 Is Not Currently Supported\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D\u003D---------------TikTok解锁--感谢lmc999的源脚本及fscarmen PR-------------- Tiktok Region: 【US】-------------IP质量检测--基于oneclickvirt/securityCheck使用-------------数据仅作参考,不代表100%准确,如果和实际情况不一致请手动查询多个数据库比对以下为各数据库编号,输出结果后将自带数据库来源对应的编号ipinfo数据库 [0] | scamalytics数据库 [1] | virustotal数据库 [2] | abuseipdb数据库 [3] | ip2location数据库 [4]ip-api数据库 [5] | ipwhois数据库 [6] | ipregistry数据库 [7] | ipdata数据库 [8] | db-ip数据库 [9]ipapiis数据库 [A] | ipapicom数据库 [B] | bigdatacloud数据库 [C] | cheervision数据库 [D] | ipqualityscore数据库 [E]IPV4:安全得分:声誉(越高越好): 0 [2] 信任得分(越高越好): 0 [8] VPN得分(越低越好): 100 [8] 代理得分(越低越好): 100 [8] 社区投票-无害: 0 [2] 社区投票-恶意: 0 [2] 威胁得分(越低越好): 100 [8] 欺诈得分(越低越好): 41 [1] 65 [E]滥用得分(越低越好): 0 [3] 威胁级别: low [9] 黑名单记录统计:(有多少黑名单网站有记录):无害记录数: 0 [2] 恶意记录数: 0 [2] 可疑记录数: 0 [2] 无记录数: 94 [2] 安全信息:使用类型: DataCenter/WebHosting/Transit [3] corporate [9] hosting - moderate probability [C] hosting [0 7] business [8]公司类型: hosting [0 7] 是否云提供商: Yes [7 D] 是否数据中心: Yes [0 1 5 6] No [8 C]是否移动设备: Yes [E] No [5 C]是否代理: Yes [E] No [0 1 4 5 6 7 8 9 C D]是否VPN: No [0 1 6 7 C D] Yes [E]是否TorExit: No [1 7 D] 是否Tor出口: No [1 7 D] 是否网络爬虫: No [9 E] 是否匿名: No [1 6 7 8 D] 是否攻击者: No [7 8 D] 是否滥用者: No [7 8 C D E] 是否威胁: No [7 8 C D] 是否中继: No [0 7 8 C D] 是否Bogon: No [7 8 C D]是否机器人: No [E] DNS-黑名单: 313(Total_Check) 0(Clean) 6(Blacklisted) 19(Other) IPV6:安全得分:欺诈得分(越低越好): 25 [1] 滥用得分(越低越好): 0 [3]安全信息:使用类型: DataCenter/WebHosting/Transit [3] 是否云提供商: Yes [D] 是否数据中心: Yes [1] 是否代理: No [1 D] 是否VPN: No [1 D] 是否Tor: No [1 3 D] 是否Tor出口: No [1 D] 是否匿名: No [1 D] 是否攻击者: No [D] 是否滥用者: No [D] 是否威胁: No [D] 是否中继: No [D]是否Bogon: No [D] DNS-黑名单: 313(Total_Check) 0(Clean) 0(Blacklisted) 313(Other) Google搜索可行性:NO-------------邮件端口检测--基于oneclickvirt/portchecker开源-------------Platform SMTP SMTPS POP3 POP3S IMAP IMAPSLocalPort ✔ ✔ ✔ ✔ ✔ ✔ QQ ✔ ✔ ✔ ✘ ✔ ✘ 163 ✔ ✔ ✔ ✘ ✔ ✘ Sohu ✔ ✔ ✔ ✘ ✔ ✘ Yandex ✔ ✔ ✔ ✘ ✔ ✘ Gmail ✔ ✔ ✘ ✘ ✘ ✘ Outlook ✔ ✘ ✔ ✘ ✔ ✘ Office365 ✔ ✘ ✔ ✘ ✔ ✘ Yahoo ✔ ✔ ✘ ✘ ✘ ✘ MailCOM ✔ ✔ ✔ ✘ ✔ ✘ MailRU ✔ ✔ ✘ ✘ ✔ ✘ AOL ✔ ✔ ✘ ✘ ✘ ✘ GMX ✔ ✘ ✔ ✘ ✔ ✘ Sina ✔ ✔ ✔ ✘ ✔ ✘ Apple ✘ ✘ ✘ ✘ ✘ ✘ FastMail ✘ ✔ ✘ ✘ ✘ ✘ ProtonMail✘ ✘ ✘ ✘ ✘ ✘ MXRoute ✔ ✘ ✔ ✘ ✔ ✘ Namecrane ✔ ✔ ✔ ✘ ✔ ✘ XYAMail ✘ ✘ ✘ ✘ ✘ ✘ ZohoMail ✘ ✔ ✘ ✘ ✘ ✘ Inbox_eu ✔ ✔ ✔ ✘ ✘ ✘ Free_fr ✘ ✔ ✔ ✘ ✔ ✘ ----------------三网回程--基于oneclickvirt/backtrace开源----------------北京电信 219.141.140.10 检测不到回程路由节点的IP地址北京联通 202.106.195.68 联通4837 [普通线路] 北京移动 221.179.155.161 移动CMI [普通线路] 上海电信 202.96.209.133 电信163 [普通线路] 上海联通 210.22.97.1 联通4837 [普通线路] 上海移动 211.136.112.200 移动CMI [普通线路] 广州电信 58.60.188.222 电信163 [普通线路] 广州联通 210.21.196.6 联通4837 [普通线路] 广州移动 120.196.165.24 移动CMI [普通线路] 成都电信 61.139.2.69 电信163 [普通线路] 成都联通 119.6.6.6 联通4837 [普通线路] 成都移动 211.137.96.205 检测不到回程路由节点的IP地址准确线路自行查看详细路由,本测试结果仅作参考同一目标地址多个线路时,可能检测已越过汇聚层,除了第一个线路外,后续信息可能无效---------------------回程路由--感谢fscarmen开源及PR---------------------依次测试电信/联通/移动经过的地区及线路,核心程序来自nexttrace,请知悉!广州电信 58.60.188.2221.01 ms AS35916 美国 加利福尼亚 洛杉矶 multacom.com1.21 ms AS35916 美国 加利福尼亚 洛杉矶 multacom.com3.34 ms AS64050 [BCPL-SG] 新加坡 bgp.net9.01 ms AS4134 [CHINANET-US] 美国 加利福尼亚 洛杉矶 www.chinatelecom.com.cn 电信156.82 ms AS4134 [CHINANET-BB] 中国 广东 广州 www.chinatelecom.com.cn 电信162.13 ms AS134774 [CHINANET-GD] 中国 广东 深圳 chinatelecom.cn 电信161.73 ms AS4134 中国 广东 深圳 福田区 www.chinatelecom.com.cn 电信广州联通 210.21.196.60.96 ms AS35916 美国 加利福尼亚 洛杉矶 multacom.com0.90 ms AS35916 美国 加利福尼亚 洛杉矶 multacom.com0.73 ms AS2914 [NTTA-128] 美国 加利福尼亚 洛杉矶 gin.ntt.net1.73 ms AS2914 [NTT-BACKBONE] 美国 加利福尼亚 洛杉矶 gin.ntt.net0.74 ms AS2914 [NTT-BACKBONE] 美国 加利福尼亚 洛杉矶 gin.ntt.net199.95 ms AS701 [UUNETCUSTB40] 美国 加利福尼亚 洛杉矶 verizon.com188.55 ms AS4837 [CU169-BACKBONE] 中国 广东 广州 chinaunicom.cn 联通167.32 ms AS4837 [CU169-BACKBONE] 中国 广东 广州 chinaunicom.cn 联通191.01 ms AS17816 [UNICOM-GD] 中国 广东 深圳 chinaunicom.cn 联通216.59 ms AS17623 [APNIC-AP] 中国 广东 深圳 chinaunicom.cn 联通194.73 ms AS17623 中国 广东 深圳 宝安区 chinaunicom.cn 联通广州移动 120.196.165.240.80 ms AS35916 美国 加利福尼亚 洛杉矶 multacom.com1.34 ms AS35916 美国 加利福尼亚 洛杉矶 multacom.com0.62 ms AS64050 [BCPL-SG] 新加坡 bgp.net0.86 ms AS1299 [ARELION-NET] 美国 加利福尼亚 洛杉矶 arelion.com0.94 ms AS1299 [ARELION-NET] 美国 加利福尼亚 洛杉矶 arelion.com1.41 ms AS1299 [ARELION-NET] 美国 加利福尼亚 洛杉矶 arelion.com0.98 ms AS58453 [CMI-INT] 美国 加利福尼亚 洛杉矶 cmi.chinamobile.com 移动170.05 ms AS58453 [CMI-INT] 中国 广东 广州 cmi.chinamobile.com 移动175.00 ms AS9808 [CMNET] 中国 广东 广州 X-I chinamobileltd.com 移动167.09 ms AS9808 [CMNET] 中国 广东 广州 I-C chinamobileltd.com 移动169.14 ms AS9808 [CMNET] 中国 广东 广州 chinamobileltd.com 移动172.42 ms AS56040 [APNIC-AP] 中国 广东 深圳 gd.10086.cn 移动--------------------自动更新测速节点列表--本脚本原创--------------------位置 上传速度 下载速度 延迟 丢包率Speedtest.net 482.35 Mbps 483.46 Mbps 0.50 0.0%洛杉矶 482.37 Mbps 482.08 Mbps 0.63 0.0%日本东京 361.21 Mbps 131.08 Mbps 106.70 1.3%联通上海5G 344.56 Mbps 379.46 Mbps 176.80 0.0%电信Suzhou5G 248.67 Mbps 304.95 Mbps 158.91 NULL电信浙江 377.67 Mbps 50.36 Mbps 166.42 NULL移动Chengdu 283.57 Mbps 307.95 Mbps 216.44 NULL------------------------------------------------------------------------ 总共花费 : 6 分 52 秒 时间 : Mon Mar 17 22:21:54 UTC 2025------------------------------------------------------------------------ 短链: https://paste.spiritlhl.net/#/show/KmB09.txt http://hpaste.spiritlhl.net/#/show/KmB09.txt\u003C/code\u003E\u003Cp\u003E\u003Cimg src\u003D\"https://telegraph-workers.520131412.xyz/1742250776192.png\" alt\u003D\"0\"\u003E\u003C/p\u003E',ipRegion:'',updatedByUid:0,createdAt:'2025-03-18 06:35:42',updatedAt:'2025-03-18 21:18:08',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:48862,num:1,uid:3460,content:'\u003Cp\u003E这款溢价不了吧... 这款能溢价那我的9.5刀bug无限流量那不得溢上天了\u003C/p\u003E',ipRegion:'',updatedByUid:0,createdAt:'2025-03-18 06:39:11',updatedAt:'2025-03-18 21:18:08',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:48863,num:2,uid:3533,content:'\u003Cp\u003E剩余价值别人收不收都是另一回事了\u003C/p\u003E',ipRegion:'',updatedByUid:0,createdAt:'2025-03-18 06:42:13',updatedAt:'2025-03-18 21:18:08',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:48864,num:3,uid:1770,content:'\u003Cp\u003E圣诞节才到期 没有溢价多少,比那种下个月就到期的还溢价出的良心多了\u003C/p\u003E',ipRegion:'',updatedByUid:0,createdAt:'2025-03-18 07:12:36',updatedAt:'2025-03-18 21:18:08',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:48865,num:4,uid:6832,content:'\u003Cp\u003Ebd,续费有点贵\u003C/p\u003E',ipRegion:'',updatedByUid:0,createdAt:'2025-03-18 07:23:06',updatedAt:'2025-03-18 21:18:08',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:48866,num:5,uid:1393,content:'\u003Cp\u003E续费贵,溢价近70\u003C/p\u003E',ipRegion:'',updatedByUid:0,createdAt:'2025-03-18 07:44:05',updatedAt:'2025-03-18 21:18:08',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:48867,num:6,uid:2003,content:'\u003Cp\u003E有这么值吗\u003C/p\u003E',ipRegion:'',updatedByUid:0,createdAt:'2025-03-18 07:45:31',updatedAt:'2025-03-18 21:18:08',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:48868,num:7,uid:3460,content:'\u003Cp\u003E 剩余价值都难出 续费太贵了\u003C/p\u003E',ipRegion:'',updatedByUid:0,createdAt:'2025-03-18 07:54:26',updatedAt:'2025-03-18 21:18:08',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:48869,num:8,uid:10433,content:'\u003Cp\u003E内存能加到2g吗\u003C/p\u003E',ipRegion:'',updatedByUid:0,createdAt:'2025-03-18 07:56:01',updatedAt:'2025-03-18 21:18:08',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:48870,num:9,uid:10434,content:'\u003Cp\u003E年付20刀可太多选择了\u003C/p\u003E',ipRegion:'',updatedByUid:0,createdAt:'2025-03-18 07:58:26',updatedAt:'2025-03-18 21:18:08',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:48871,num:10,uid:1770,content:'\u003Cp\u003E老商家了,网络很稳,而且还是无限流量\u003C/p\u003E',ipRegion:'',updatedByUid:0,createdAt:'2025-03-18 08:03:49',updatedAt:'2025-03-18 21:18:08',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},],usersMap:new Map([[10434,{uid:10434,url:'/u/0a3c613c6a045d776469526f2500052b',avatar:'/a/0a3c613c6a045d776469526f2500052b',username:'gambia🤖',}],[1770,{uid:1770,url:'/u/2a045c376a045c76676d566f3f2d2502',avatar:'/a/2a045c376a045c76676d566f3f2d2502',username:'不是吧哥们🤖',}],[3460,{uid:3460,url:'/u/182359076a045c74646c566f2622362c',avatar:'/a/182359076a045c74646c566f2622362c',username:'鸡哥兄贵🤖',}],[6832,{uid:6832,url:'/u/2f7b67186a045c716869546f03131b24',avatar:'/a/2f7b67186a045c716869546f03131b24',username:'mrfa🤖',}],[1393,{uid:1393,url:'/u/6839501d6a045c766363556f44110308',avatar:'/a/6839501d6a045c766363556f44110308',username:'東方不败🤖',}],[3533,{uid:3533,url:'/u/31194a246a045c746569556f221a0715',avatar:'/a/31194a246a045c746569556f221a0715',username:'tiny🤖',}],[10433,{uid:10433,url:'/u/367a73176a045d776469556f16591600',avatar:'/a/367a73176a045d776469556f16591600',username:'maxmax🤖',}],[2003,{uid:2003,url:'/u/33017d086a045c75606a556f4350120d',avatar:'/a/33017d086a045c75606a556f4350120d',username:'kevinlaw🤖',}],]),related:[{title:'218出一台CC14刀140GDC2的中盘机非常稳IP段是大家喜欢的74段解锁较优秀CloudCone',url:'/d/6a2643046a045c77606a56754f58676a09080566',},{title:'出cloudcone 3C 2G 240G 24.99 情人节',url:'/d/0d78741d6a045c77606a56754750636a382d1f20',},{title:'出cloudcone 14$ 【已出】',url:'/d/352f0b1f6a045c77606a56774f5c6a6a1e153714',},{title:'大佬们,刚收邮件cloudcone这个咋样',url:'/d/1f1876016a045c77606a56774f5a606a2d743e00',},{title:'收一个剩余价值cloudcone 9.50刀/年 3T流量 DC1机房、有吃灰的佬求割爱。',url:'/d/0c0045226a045c77606a56774f5a626a5b0e3464',},{title:'【已出】cc cloudcone dc1 续费$14.49 /YR',url:'/d/2e3c7e3f6a045c77606a5677435a646a29052b1e',},{title:'慢收CC低价年付鸡',url:'/d/6e11025d6a045c77606a5677475a636a2f72236b',},{title:'【已出】10元出一个cloudcone,4C4G120G',url:'/d/1e03621c6a045c77606a56764e59626a07211023',},{title:'Cloudcone 24.99 240G测评',url:'/d/0e0e610b6a045c77606a5676445d636a24266516',},{title:'大家有买cc加的情人节出的鸡吗',url:'/d/0c05032c6a045c77606a56764550616a260a212b',},{title:'CC的DC1和DC2有什么区别',url:'/d/0a1b66026a045c77606a5676465f616a5d271c2a',},{title:'40收台 CC 9.5',url:'/d/340155156a045c77606a5671425e636a24006363',},{title:'CloudCone 未生成发票提前续费问题咨询',url:'/d/2a1f74196a045c77606a5671425d626a190b1b61',},{title:'建静态站,套cf,有啥便宜鸡推荐吗',url:'/d/197a54256a045c77606a5671455c6b6a2a333a3b',},{title:'出DMIT LAX Pro WEE(已出)和CloudCone CC9.5(已出))',url:'/d/3d0160546a045c77606a56714659666a1b086a2b',},{title:'推荐一个落地机吧 占用cloudcone中转',url:'/d/161f60356a045c77606a56704e5e656a552e601b',},{title:'180出个cloudcone sc2,年付20刀,2c/1g/25g,无限流量',url:'/d/6c2c58076a045c77606a5670415f6b6a5c360165',},{title:'收cc\u0026amp;rn7刀年付以下的机器!',url:'/d/231e043a6a045c77606a56704259676a02742533',},{title:'已出cloudcone sc2',url:'/d/093f45376a045c77606a56704451646a55076a2a',},{title:'【已秒】慢出CC低价小鸡',url:'/d/3d7e0b3c6a045c77606a567045516b6a5b301d1e',},],} const App={setup(){const goTo=useGoTo() const{mdAndUp}=useDisplay() return{goTo,mdAndUp}},data(){return data;},mounted(){const themeDark=localStorage.getItem("themeDark") if(themeDark!==null){this.theme.dark=JSON.parse(themeDark)} if(this.nav.post.total>(this.nav.post.currentPage-1)*100+20){let moreLen=100 if(this.nav.post.total({id:null,num:(this.nav.post.currentPage-1)*100+v,uid:null,content:null,ipRegion:null,updatedByUid:null,createdAt:null,updatedAt:null,mentionNum:null,mentionedBy:null,mentionUsers:null,likeUsers:null,})) this.posts.push(...morePosts.slice(20))} this.workerStart() const hash=window.location.hash const match=hash.match(/#(\d+)/) if(match){const n=parseInt(match[1],10) if(n>=(this.nav.post.currentPage-1)*100&&n{this.jumpTo(n)})}} this.$nextTick(()=>{this.addHeadingIds() tocbot.init({tocSelector:'.toc',contentSelector:'#post-content-0',headingSelector:'h2, h3, h4',headingsOffset:100,scrollSmoothOffset:-100,scrollSmooth:true,collapseDepth:6,onClick:function(e){setTimeout(()=>{history.replaceState(null,'',window.location.pathname+window.location.search)},0)},}) tocbot.refresh()});},beforeUnmount(){this.workerStop() if(this.quill){this.quill.destroy() this.quill=null}},computed:{dposts(){return this.posts.slice(20);},},created(){},methods:{successAlert(msg){this.alert={show:true,color:'success',text:msg,timeout:1500,}},failureAlert(msg){this.alert={show:true,color:'error',text:msg,timeout:5000,}},flipThemeDark(){this.theme.dark=!this.theme.dark localStorage.setItem("themeDark",JSON.stringify(this.theme.dark))},toSearch(){if(!this.search.text){this.failureAlert('搜索词不能为空') return} let keywords=this.search.text.trim() if(keywords.length<1){this.failureAlert('搜索词不能为空') return} if(keywords.length>100){this.failureAlert('搜索词过长') return} this.doSearch(keywords)},toReg(){window.location.href="/reg"},toLogin(){window.location.href="/login"},toPage(){let url=window.location.href url=url.replace(/(\/\d+)?(#[0-9]+)?$/,this.nav.post.targetPage>1?`/${this.nav.post.targetPage}`:'') window.location.href=url},toLoadRelated({done}){if(this.my&&this.my.uid){this.apiLoadRelated({done})}else{done('ok')}},workerStart(){this.nav.post.worker=setInterval(()=>{this.workerLoad()},500);},workerStop(){if(this.nav.post.worker){clearInterval(this.nav.post.worker);this.nav.post.worker=null;}},async jumpTo(num){const page=Math.floor(num/100)+1 const i=num-(page-1)*100 if(page===this.nav.post.currentPage){this.goTo("#post-"+num,this.nav.post.goToOptions) if(!this.posts[i].id){const block=Math.floor(num/20)+1 this.nav.post.apiLock[block]=true await this.apiLoadPosts(block) this.$nextTick(()=>{this.goTo("#post-"+num,this.nav.post.goToOptions)})}}else{let url=window.location.href url=url.replace(/(\/\d+)?(#[0-9]+)?$/,page>1?`/${page}`:'') url=url+"#"+num window.location.href=url}},postIntersect(num){return(isIntersecting,entries,observer)=>{if(isIntersecting){this.nav.post.task.push(num) this.nav.post.active.push(num) this.nav.post.active=this.nav.post.active.filter(item=>Math.abs(item-num)<=5) this.nav.post.active.sort((a,b)=>a-b)}else{this.nav.post.active=this.nav.post.active.filter(item=>item!==num)} if(this.nav.post.active[0]){this.nav.post.anchor=this.nav.post.active[0]}else{this.nav.post.anchor=0}}},async apiLoadPosts(block){try{const response=await axios.post('/fapi/v1/post/block/'+block,{discussionId:this.nav.post.discussionId,}) if(response.data.code===0){response.data.data.posts.forEach(post=>{const i=post.num%100 Object.assign(this.posts[i],post)}) response.data.data.users.forEach(user=>{this.usersMap.set(user.uid,user)})}else{this.failureAlert('回帖数据加载失败: '+response.data.msg)}}catch(error){this.failureAlert('回帖数据加载失败: '+error)} this.nav.post.apiLock[block]=false},workerLoad(){while(this.nav.post.task.length){const num=this.nav.post.task.pop() const i=num-(this.nav.post.currentPage-1)*100 if(!this.posts[i].id){const block=Math.floor(num/20)+1 if(!this.nav.post.apiLock[block]){this.nav.post.apiLock[block]=true this.apiLoadPosts(block)}}}},getTimeInfo(t){if(!t){return ""} const now=new Date();const then=new Date(t);const diff=now-then;const minute=60*1000;const hour=minute*60;const day=hour*24;const month=day*30;const year=month*12;if(diffpost.num===num) if(!post){return "#"+num} const uid=post.uid const username=this.usersMap.get(uid)?.username if(!username){return "#"+num} return username},getUsernameByPostId(id){const post=this.posts.find(post=>post.id===id) if(!post){return "#"+this.getPostNumByPostId(id)} const uid=post.uid const username=this.usersMap.get(uid).username if(!username){return "#"+this.getPostNumByPostId(id)} return username},getPostNumByPostId(id){const post=this.posts.find(post=>post.id===id) return post.num},getPostById(id){const post=this.posts.find(post=>post.id===id) return post},getPostByNum(num){const post=this.posts.find(post=>post.num===num) return post},getAvatarByUid(uid){const avatar=this.usersMap.get(uid)?.avatar if(!avatar){return this.getRandomAvatar()} return avatar},getAvatarByPostNum(num){const post=this.posts.find(post=>post.num===num) if(!post){return this.getRandomAvatar()} const uid=post.uid return this.getAvatarByUid(uid)},getRandomAvatar(){const num=Math.floor(Math.random()*100) return "https://randomuser.me/api/portraits/men/"+num+".jpg"},getUrlByUid(uid){const url=this.usersMap.get(uid)?.url if(!url){return ""} return url},getTextByPostNum(num){const post=this.posts.find(post=>post.num===num) if(!post||!post.content){return '点击跳转到#'+num+'查看'} const parser=new DOMParser() const doc=parser.parseFromString(post.content,'text/html') const text=doc.body.textContent||'' return text.slice(0,100)},addHeadingIds(){const content=document.getElementById('post-content-0') if(!content){this.nav.showTOC=false return} const headings=content.querySelectorAll('h2, h3, h4') headings.forEach((heading,index)=>{if(!heading.id){heading.id=`toc-nav-${index}`}}) if(headings.length==0){this.nav.showTOC=false}},async doSearch(keywords){this.search.loading=true try{const response=await axios.post('/fapi/v1/search',{keywords:keywords,}) if(response.data.code===0){if(response.data.data.hash&&response.data.data.hash.length===32){window.location.href="/s/"+response.data.data.hash}else{this.failureAlert('搜索失败: 搜索服务异常')}}else{this.failureAlert('搜索失败: '+response.data.msg)}}catch(error){this.failureAlert('搜索失败: '+error)} this.search.loading=false},debounce(fn,delay){let timer=null return function(...args){if(timer)clearTimeout(timer) timer=setTimeout(()=>{fn.apply(this,args)},delay);};},},watch:{'nav.post.targetPage':{handler:async function(newV,oldV){this.toPage()},immediate:false},},} const vuetify=createVuetify({defaults:{global:{ripple:true,},},}) const app=createApp(App) app.use(vuetify).mount("#app")