{"id":93,"date":"2025-04-17T17:55:38","date_gmt":"2025-04-17T09:55:38","guid":{"rendered":"https:\/\/www.yorushi.com\/?p=93"},"modified":"2026-02-24T08:52:37","modified_gmt":"2026-02-24T00:52:37","slug":"%e5%a6%82%e4%bd%95%e8%87%aa%e5%b7%b1%e5%8a%a8%e6%89%8b%e5%88%b6%e4%bd%9c%e4%b8%80%e4%b8%aa%e5%9c%b0%e9%9c%87%e5%88%97%e8%a1%a8%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/blog.yorushi.top\/index.php\/2025\/04\/17\/%e5%a6%82%e4%bd%95%e8%87%aa%e5%b7%b1%e5%8a%a8%e6%89%8b%e5%88%b6%e4%bd%9c%e4%b8%80%e4%b8%aa%e5%9c%b0%e9%9c%87%e5%88%97%e8%a1%a8%ef%bc%9f\/","title":{"rendered":"\u5982\u4f55\u81ea\u5df1\u52a8\u624b\u5236\u4f5c\u4e00\u4e2a\u5730\u9707\u5217\u8868\uff1f"},"content":{"rendered":"\n<p>\u56e0\u4e3a\u6700\u8fd1\u4e00\u4e9b\u4e8b\u4ef6\u53ef\u80fd\u89c9\u5f97\u81ea\u5df1\u65f6\u65e5\u4e0d\u591a\u4e86\uff08bus\uff09\uff0c\u8fd8\u662f\u8981\u7c7b\u4f3c\u4e8e\u65e5\u672c\u90a3\u8fb9\u7684\u9632\u707e\u6708\u5386\u7684\u5f62\u5f0f\u516c\u5f00\u4e00\u4e0b\u90e8\u5206\u5185\u5bb9\u7684\u5236\u4f5c\u7ec6\u8282\u3002<br>\u5982\u679c\u4f60\u9700\u8981\u67e5\u770b\u65e5\u672c\u6bcf\u5e74\u90fd\u4f1a\u4e3e\u529e\u7684\u9632\u707e\u8f6f\u4ef6\u5f00\u53d1\u6708\uff0c\u8bf7\u70b9\u51fb\u4e0b\u65b9\u94fe\u63a5\uff082024\u5e74\u9632\u707e\u5e94\u7528\u5f00\u53d1\u6708\u5386\uff09\uff1a<br><a href=\"https:\/\/adventar.org\/calendars\/9939\" target=\"_blank\"  rel=\"nofollow\" >https:\/\/adventar.org\/calendars\/9939<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e00\u3001\u6570\u636e\u6e90<\/h2>\n\n\n\n<p>\u5f53\u7136\u73b0\u5728\u6570\u636e\u6e90\u5f88\u591a\uff0c\u8fd9\u91cc\u4e0d\u518d\u8d58\u8ff0\uff08\u907f\u514d\u51fa\u73b0\u62c9\u8e29\u5acc\u7591\uff09\u3002<br>\u5f53\u7136\uff0c\u8fd9\u91cc\u5efa\u8bae\u81ea\u5efaAPI\uff0c\u907f\u514d\u56e0\u4e3a\u5728\u7ebf\u670d\u52a1\/\u7b2c\u4e09\u65b9\u670d\u52a1\u7a81\u53d1\u5d29\u6e83\u5bfc\u81f4\u751f\u4ea7\u5185\u5bb9\u4e0d\u53ef\u7528\u3002<br>\u8fd9\u91cc\u7ed9\u51fa\u6700\u7b80\u5355\u7684\u53f0\u7f51\u5730\u9707\u5217\u8868API\u5236\u4f5c(Python\uff0c\u5b8c\u6210\u4e8e2022\u5e741\u6708\uff0c\u76ee\u524d\u5df2\u4e0d\u4f7f\u7528\uff0c\u5728\u6b64\u5904\u4ec5\u4e3a\u793a\u4f8b)<br><\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>import json\nfrom requests_html import HTMLSession\nimport time,sched\nimport requests\n\n\ndef ceicget():\n    while True:\n        # \u83b7\u53d6\u8bf7\u6c42\u5bf9\u8c61\n        session = HTMLSession()\n\n        url = 'http:\/\/news.ceic.ac.cn'\n        requests.packages.urllib3.disable_warnings()\n        r = session.get(url,verify=False,headers={'User-Agent':'Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/93.0.4577.82 Safari\/537.36 Edg\/93.0.961.52'})\n        r_code = r.html.find('body&gt;div&gt;div.main&gt;div&gt;div.left&gt;#news&gt;table&gt;tr')\n        cnquake={}\n        cnquake1 = (f'{r_code&#91;1].full_text}')\n        list1 = cnquake1.split()\n        cnquake2 = (f'{r_code&#91;2].full_text}')\n        list2 = cnquake2.split()\n        cnquake3 = (f'{r_code&#91;3].full_text}')\n        list3 = cnquake3.split()\n        cnquake4 = (f'{r_code&#91;4].full_text}')\n        list4 = cnquake4.split()\n        cnquake5 = (f'{r_code&#91;5].full_text}')\n        list5 = cnquake5.split()\n        cnquake6 = (f'{r_code&#91;6].full_text}')\n        list6 = cnquake6.split()\n        cnquake7 = (f'{r_code&#91;7].full_text}')\n        list7 = cnquake7.split()\n        # print(cnquake1)\n        # cnquake = (f'{r_code&#91;1].full_text}')\n        eqinfo = {}\n        data = json.loads(json.dumps(eqinfo))\n\n\n        data&#91;'eq1'] = {'M':list1&#91;0],'date':list1&#91;1],'time':list1&#91;2],'lat':list1&#91;3],'lon':list1&#91;4],'depth':list1&#91;5],'epicenter':list1&#91;6]}\n        data&#91;'eq2'] = {'M':list2&#91;0],'date':list2&#91;1],'time':list2&#91;2],'lat':list2&#91;3],'lon':list2&#91;4],'depth':list2&#91;5],'epicenter':list2&#91;6]}\n        data&#91;'eq3'] = {'M':list3&#91;0],'date':list3&#91;1],'time':list3&#91;2],'lat':list3&#91;3],'lon':list3&#91;4],'depth':list3&#91;5],'epicenter':list3&#91;6]}\n        data&#91;'eq4'] = {'M':list4&#91;0],'date':list4&#91;1],'time':list4&#91;2],'lat':list4&#91;3],'lon':list4&#91;4],'depth':list4&#91;5],'epicenter':list4&#91;6]}\n        data&#91;'eq5'] = {'M':list5&#91;0],'date':list5&#91;1],'time':list5&#91;2],'lat':list5&#91;3],'lon':list5&#91;4],'depth':list5&#91;5],'epicenter':list5&#91;6]}\n        data&#91;'eq6'] = {'M':list6&#91;0],'date':list6&#91;1],'time':list6&#91;2],'lat':list6&#91;3],'lon':list6&#91;4],'depth':list6&#91;5],'epicenter':list6&#91;6]}\n        data&#91;'eq7'] = {'M':list7&#91;0],'date':list7&#91;1],'time':list7&#91;2],'lat':list7&#91;3],'lon':list7&#91;4],'depth':list7&#91;5],'epicenter':list7&#91;6]}\n        list = json.dumps(data, ensure_ascii=False)\n        result=open('cenceqlist.json','w',encoding='utf-8-sig')\n        result.write(list)\n        result.close()\n        time.sleep(35)\nif __name__ == '__main__':\n    ceicget()<\/code><\/pre>\n\n\n\n<p>\u5728\u8fdb\u884c\u4ee5\u4e0a\u64cd\u4f5c\u4e4b\u540e\uff0c\u4f1a\u5f97\u5230\u4ee5\u4e0b\u7684json(\u6b64\u5904\u4ec5\u4e3a\u793a\u4f8b)<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>{\"eq1\": {\"M\": \"3.1\", \"date\": \"2022-01-27\", \"time\": \"07:31:20\", \"lat\": \"41.87\", \"lon\": \"81.88\", \"depth\": \"15\", \"epicenter\": \"\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a\u62dc\u57ce\u53bf\"}, \"eq2\": {\"M\": \"3.8\", \"date\": \"2022-01-27\", \"time\": \"03:15:25\", \"lat\": \"37.77\", \"lon\": \"101.22\", \"depth\": \"11\", \"epicenter\": \"\u9752\u6d77\u6d77\u5317\u5dde\u95e8\u6e90\u53bf\"}, \"eq3\": {\"M\": \"3.1\", \"date\": \"2022-01-26\", \"time\": \"17:52:48\", \"lat\": \"45.36\", \"lon\": \"117.32\", \"depth\": \"15\", \"epicenter\": \"\u5185\u8499\u53e4\u9521\u6797\u90ed\u52d2\u76df\u4e1c\u4e4c\u73e0\u7a46\u6c81\u65d7\"}, \"eq4\": {\"M\": \"3.3\", \"date\": \"2022-01-26\", \"time\": \"15:33:02\", \"lat\": \"41.14\", \"lon\": \"83.73\", \"depth\": \"14\", \"epicenter\": \"\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a\u5e93\u8f66\u5e02\"}, \"eq5\": {\"M\": \"4.3\", \"date\": \"2022-01-25\", \"time\": \"22:35:53\", \"lat\": \"24.64\", \"lon\": \"121.98\", \"depth\": \"46\", \"epicenter\": \"\u53f0\u6e7e\u5b9c\u5170\u53bf\u6d77\u57df\"}, \"eq6\": {\"M\": \"3.7\", \"date\": \"2022-01-25\", \"time\": \"10:51:14\", \"lat\": \"29.00\", \"lon\": \"95.01\", \"depth\": \"15\", \"epicenter\": \"\u897f\u85cf\u6797\u829d\u5e02\u58a8\u8131\u53bf\"}, \"eq7\": {\"M\": \"5.9\", \"date\": \"2022-01-25\", \"time\": \"09:24:33\", \"lat\": \"-55.20\", \"lon\": \"-28.60\", \"depth\": \"10\", \"epicenter\": \"\u5357\u6851\u5a01\u5947\u7fa4\u5c9b\"}}<\/code><\/pre>\n\n\n\n<p>\uff08\u4e3a\u4ec0\u4e48\u662f7\u6761\uff1f<s>\u539f\u56e0\u662fkiwi monitor\u5c31\u662f\u4e03\u6761<\/s>\uff09<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e8c\u3001\u9009\u62e9\u9002\u5408\u4f60\u7684\u7f16\u7a0b\u8bed\u8a00<\/h2>\n\n\n\n<p>\u5728\u8fd9\u91cc\uff0c\u53ef\u4ee5\u4f7f\u7528\u4efb\u4f55\u7684\u7f16\u7a0b\u8bed\u8a00\uff0c\u8fd9\u91cc\u4f7f\u7528html+JavaScript\u6765\u7b80\u6613\u7f16\u5199\uff08\u4e0d\u5305\u542bcss\u6837\u5f0f\uff09\u3002<br>\u4f60\u4e5f\u53ef\u4ee5\u9009\u62e9\u7528Java(JQuake\uff0cGlobalQuake\u7b49),<br>\u6216\u8005C\u7cfb\u5217\uff08C\uff0cC#\uff0cC++)\u6765\u5236\u4f5c\u9002\u7528\u4e8eWindows\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\uff08Kiwi monitor\uff0cKyoshinEewViewer\uff0cQuarog\u7b49\uff09<br>H5\u53ef\u4ee5\u4f7f\u7528electron\u548ctauri\u7b49\uff08\u57fa\u4e8eChromium\uff09\u6765\u5b9e\u73b0\u5168\u5e73\u53f0\uff08Windows\uff0cmacOS\uff0cLinux\uff0cAndroid\uff0ciOS\u7b49\uff09\u3002\uff08ZeroQuake\uff0cCEIV\uff0cTREM\u7b49\uff09<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e09\u3001\u5f00\u59cb\u7f16\u5199\u4ee3\u7801<\/h2>\n\n\n\n<p>\u5982\u679c\u4f60\u4e0d\u4f1a\u4efb\u4f55\u7684\u7f16\u7a0b\u8bed\u8a00\uff0c\u53ef\u4ee5\u5728\u767e\u5ea6\/Google\/Bing\u7b49\u641c\u7d22\u5f15\u64ce\u8fdb\u884c\u641c\u7d22\uff0c\u4e5f\u53ef\u4ee5\u5728bilibili\/Youtube\u641c\u7d22\u76f8\u5173\u7f16\u7a0b\u8bed\u8a00\u7684\u4ece0\u5f00\u59cb\u7684\u6559\u7a0b\uff1b<br>\u5982\u679c\u4f60\u4f1a\u5176\u4e2d\u4e00\u79cd\/\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\uff0c\u90a3\u4e48\u8fd9\u91cc\u53ea\u4f1a\u5b8c\u6210\u5927\u6982\u6846\u67b6\u642d\u5efa\uff0c\u5728\u8fd9\u91cc\u53ea\u662f\u63d0\u4f9b\u4e00\u4e2a\u89e3\u51b3\u601d\u8def\u3002<\/p>\n\n\n\n<p>(2026\u7f16\u8f91)<br>\u5176\u5b9e\u4efb\u610f\u627e\u4e00\u4e2aAI\u5c31\u53ef\u4ee5\u4e86 :)<br>\u5927\u81f4\u4f60\u53ea\u9700\u8981\u8bf4\u8fd9\u4e9b:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><em>\u5e2e\u6211\u7528HTML\/JavaScript\/TypeScript\/Python\/C\/C++\/...\u505a\u4e00\u4e2a\u5730\u9707\u5217\u8868\u5c55\u793a\uff0c\u8fd9\u91cc\u662fjson\u6570\u636e\uff1a{\u7c98\u8d34\u4f60\u7684\u6570\u636ejson}<\/em><\/p>\n<\/blockquote>\n\n\n\n<p>\u8fd9\u91cc\u662f\u6211\u7528gemini\u751f\u6210\u7684\u7ed3\u679c\uff1a<\/p>\n\n\n\n<!DOCTYPE html>\n<html lang=\"zh-CN\">\n<head>\n    <meta charset=\"UTF-8\">\n    <title>\u5730\u9707\u4fe1\u606f\u5b9e\u65f6\u5217\u8868<\/title>\n    <style>\n        :root {\n            --bg-color: #f4f7f6;\n            --card-bg: #ffffff;\n            --primary-text: #333;\n            --secondary-text: #666;\n            --accent-color: #e74c3c;\n        }\n\n        body {\n            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;\n            background-color: var(--bg-color);\n            color: var(--primary-text);\n            display: flex;\n            justify-content: center;\n            padding: 40px 20px;\n            margin: 0;\n        }\n\n        .container {\n            width: 100%;\n            max-width: 800px;\n        }\n\n        h2 {\n            text-align: center;\n            font-weight: 300;\n            color: #2c3e50;\n            margin-bottom: 30px;\n        }\n\n        .eq-list {\n            display: flex;\n            flex-direction: column;\n            gap: 15px;\n        }\n\n        .eq-card {\n            background: var(--card-bg);\n            border-radius: 12px;\n            padding: 20px;\n            box-shadow: 0 4px 6px rgba(0,0,0,0.05);\n            display: grid;\n            grid-template-columns: 80px 1fr auto;\n            align-items: center;\n            transition: transform 0.2s;\n        }\n\n        .eq-card:hover {\n            transform: translateY(-2px);\n            box-shadow: 0 6px 12px rgba(0,0,0,0.1);\n        }\n\n        .magnitude {\n            font-size: 1.8rem;\n            font-weight: bold;\n            color: var(--accent-color);\n            text-align: center;\n            border-right: 2px solid #eee;\n        }\n\n        .info {\n            padding-left: 20px;\n        }\n\n        .location {\n            font-size: 1.1rem;\n            font-weight: 600;\n            margin-bottom: 5px;\n        }\n\n        .details {\n            font-size: 0.85rem;\n            color: var(--secondary-text);\n        }\n\n        .time-badge {\n            text-align: right;\n            font-size: 0.85rem;\n            color: #999;\n        }\n\n        \/* \u9707\u7ea7\u8d8a\u9ad8\u989c\u8272\u8d8a\u6df1 *\/\n        .m-high { color: #c0392b; }\n        .m-mid { color: #f39c12; }\n    <\/style>\n<\/head>\n<body>\n\n<div class=\"container\">\n    <h2>\u6700\u65b0\u5730\u9707\u6d3b\u52a8\u8bb0\u5f55<\/h2>\n    <div id=\"list-container\" class=\"eq-list\">\n        <\/div>\n<\/div>\n\n<script>\n    const rawData = {\"eq1\": {\"M\": \"3.1\", \"date\": \"2022-01-27\", \"time\": \"07:31:20\", \"lat\": \"41.87\", \"lon\": \"81.88\", \"depth\": \"15\", \"epicenter\": \"\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a\u62dc\u57ce\u53bf\"}, \"eq2\": {\"M\": \"3.8\", \"date\": \"2022-01-27\", \"time\": \"03:15:25\", \"lat\": \"37.77\", \"lon\": \"101.22\", \"depth\": \"11\", \"epicenter\": \"\u9752\u6d77\u6d77\u5317\u5dde\u95e8\u6e90\u53bf\"}, \"eq3\": {\"M\": \"3.1\", \"date\": \"2022-01-26\", \"time\": \"17:52:48\", \"lat\": \"45.36\", \"lon\": \"117.32\", \"depth\": \"15\", \"epicenter\": \"\u5185\u8499\u53e4\u9521\u6797\u90ed\u52d2\u76df\u4e1c\u4e4c\u73e0\u7a46\u6c81\u65d7\"}, \"eq4\": {\"M\": \"3.3\", \"date\": \"2022-01-26\", \"time\": \"15:33:02\", \"lat\": \"41.14\", \"lon\": \"83.73\", \"depth\": \"14\", \"epicenter\": \"\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a\u5e93\u8f66\u5e02\"}, \"eq5\": {\"M\": \"4.3\", \"date\": \"2022-01-25\", \"time\": \"22:35:53\", \"lat\": \"24.64\", \"lon\": \"121.98\", \"depth\": \"46\", \"epicenter\": \"\u53f0\u6e7e\u5b9c\u5170\u53bf\u6d77\u57df\"}, \"eq6\": {\"M\": \"3.7\", \"date\": \"2022-01-25\", \"time\": \"10:51:14\", \"lat\": \"29.00\", \"lon\": \"95.01\", \"depth\": \"15\", \"epicenter\": \"\u897f\u85cf\u6797\u829d\u5e02\u58a8\u8131\u53bf\"}, \"eq7\": {\"M\": \"5.9\", \"date\": \"2022-01-25\", \"time\": \"09:24:33\", \"lat\": \"-55.20\", \"lon\": \"-28.60\", \"depth\": \"10\", \"epicenter\": \"\u5357\u6851\u5a01\u5947\u7fa4\u5c9b\"}};\n\n    const container = document.getElementById('list-container');\n\n    \/\/ \u5c06\u5bf9\u8c61\u8f6c\u4e3a\u6570\u7ec4\u5e76\u6e32\u67d3\n    Object.values(rawData).forEach(eq => {\n        const card = document.createElement('div');\n        card.className = 'eq-card';\n        \n        \/\/ \u7b80\u5355\u7684\u9707\u7ea7\u6837\u5f0f\u5224\u65ad\n        const mClass = parseFloat(eq.M) >= 5 ? 'm-high' : (parseFloat(eq.M) >= 4 ? 'm-mid' : '');\n\n        card.innerHTML = `\n            <div class=\"magnitude ${mClass}\">${eq.M}<\/div>\n            <div class=\"info\">\n                <div class=\"location\">${eq.epicenter}<\/div>\n                <div class=\"details\">\n                    \u6df1\u5ea6: ${eq.depth}km | \u7ecf\u5ea6: ${eq.lon}\u00b0 | \u7eac\u5ea6: ${eq.lat}\u00b0\n                <\/div>\n            <\/div>\n            <div class=\"time-badge\">\n                <div>${eq.date}<\/div>\n                <div>${eq.time}<\/div>\n            <\/div>\n        `;\n        container.appendChild(card);\n    });\n<\/script>\n\n<\/body>\n<\/html>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>&lt;!DOCTYPE html>\n&lt;html lang=\"zh-CN\">\n&lt;head>\n    &lt;meta charset=\"UTF-8\">\n    &lt;title>\u5730\u9707\u4fe1\u606f\u5b9e\u65f6\u5217\u8868&lt;\/title>\n    &lt;style>\n        :root {\n            --bg-color: #f4f7f6;\n            --card-bg: #ffffff;\n            --primary-text: #333;\n            --secondary-text: #666;\n            --accent-color: #e74c3c;\n        }\n\n        body {\n            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;\n            background-color: var(--bg-color);\n            color: var(--primary-text);\n            display: flex;\n            justify-content: center;\n            padding: 40px 20px;\n            margin: 0;\n        }\n\n        .container {\n            width: 100%;\n            max-width: 800px;\n        }\n\n        h2 {\n            text-align: center;\n            font-weight: 300;\n            color: #2c3e50;\n            margin-bottom: 30px;\n        }\n\n        .eq-list {\n            display: flex;\n            flex-direction: column;\n            gap: 15px;\n        }\n\n        .eq-card {\n            background: var(--card-bg);\n            border-radius: 12px;\n            padding: 20px;\n            box-shadow: 0 4px 6px rgba(0,0,0,0.05);\n            display: grid;\n            grid-template-columns: 80px 1fr auto;\n            align-items: center;\n            transition: transform 0.2s;\n        }\n\n        .eq-card:hover {\n            transform: translateY(-2px);\n            box-shadow: 0 6px 12px rgba(0,0,0,0.1);\n        }\n\n        .magnitude {\n            font-size: 1.8rem;\n            font-weight: bold;\n            color: var(--accent-color);\n            text-align: center;\n            border-right: 2px solid #eee;\n        }\n\n        .info {\n            padding-left: 20px;\n        }\n\n        .location {\n            font-size: 1.1rem;\n            font-weight: 600;\n            margin-bottom: 5px;\n        }\n\n        .details {\n            font-size: 0.85rem;\n            color: var(--secondary-text);\n        }\n\n        .time-badge {\n            text-align: right;\n            font-size: 0.85rem;\n            color: #999;\n        }\n\n        \/* \u9707\u7ea7\u8d8a\u9ad8\u989c\u8272\u8d8a\u6df1 *\/\n        .m-high { color: #c0392b; }\n        .m-mid { color: #f39c12; }\n    &lt;\/style>\n&lt;\/head>\n&lt;body>\n\n&lt;div class=\"container\">\n    &lt;h2>\u6700\u65b0\u5730\u9707\u6d3b\u52a8\u8bb0\u5f55&lt;\/h2>\n    &lt;div id=\"list-container\" class=\"eq-list\">\n        &lt;\/div>\n&lt;\/div>\n\n&lt;script>\n    const rawData = {\"eq1\": {\"M\": \"3.1\", \"date\": \"2022-01-27\", \"time\": \"07:31:20\", \"lat\": \"41.87\", \"lon\": \"81.88\", \"depth\": \"15\", \"epicenter\": \"\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a\u62dc\u57ce\u53bf\"}, \"eq2\": {\"M\": \"3.8\", \"date\": \"2022-01-27\", \"time\": \"03:15:25\", \"lat\": \"37.77\", \"lon\": \"101.22\", \"depth\": \"11\", \"epicenter\": \"\u9752\u6d77\u6d77\u5317\u5dde\u95e8\u6e90\u53bf\"}, \"eq3\": {\"M\": \"3.1\", \"date\": \"2022-01-26\", \"time\": \"17:52:48\", \"lat\": \"45.36\", \"lon\": \"117.32\", \"depth\": \"15\", \"epicenter\": \"\u5185\u8499\u53e4\u9521\u6797\u90ed\u52d2\u76df\u4e1c\u4e4c\u73e0\u7a46\u6c81\u65d7\"}, \"eq4\": {\"M\": \"3.3\", \"date\": \"2022-01-26\", \"time\": \"15:33:02\", \"lat\": \"41.14\", \"lon\": \"83.73\", \"depth\": \"14\", \"epicenter\": \"\u65b0\u7586\u963f\u514b\u82cf\u5730\u533a\u5e93\u8f66\u5e02\"}, \"eq5\": {\"M\": \"4.3\", \"date\": \"2022-01-25\", \"time\": \"22:35:53\", \"lat\": \"24.64\", \"lon\": \"121.98\", \"depth\": \"46\", \"epicenter\": \"\u53f0\u6e7e\u5b9c\u5170\u53bf\u6d77\u57df\"}, \"eq6\": {\"M\": \"3.7\", \"date\": \"2022-01-25\", \"time\": \"10:51:14\", \"lat\": \"29.00\", \"lon\": \"95.01\", \"depth\": \"15\", \"epicenter\": \"\u897f\u85cf\u6797\u829d\u5e02\u58a8\u8131\u53bf\"}, \"eq7\": {\"M\": \"5.9\", \"date\": \"2022-01-25\", \"time\": \"09:24:33\", \"lat\": \"-55.20\", \"lon\": \"-28.60\", \"depth\": \"10\", \"epicenter\": \"\u5357\u6851\u5a01\u5947\u7fa4\u5c9b\"}};\n\n    const container = document.getElementById('list-container');\n\n    \/\/ \u5c06\u5bf9\u8c61\u8f6c\u4e3a\u6570\u7ec4\u5e76\u6e32\u67d3\n    Object.values(rawData).forEach(eq => {\n        const card = document.createElement('div');\n        card.className = 'eq-card';\n        \n        \/\/ \u7b80\u5355\u7684\u9707\u7ea7\u6837\u5f0f\u5224\u65ad\n        const mClass = parseFloat(eq.M) >= 5 ? 'm-high' : (parseFloat(eq.M) >= 4 ? 'm-mid' : '');\n\n        card.innerHTML = `\n            &lt;div class=\"magnitude ${mClass}\">${eq.M}&lt;\/div>\n            &lt;div class=\"info\">\n                &lt;div class=\"location\">${eq.epicenter}&lt;\/div>\n                &lt;div class=\"details\">\n                    \u6df1\u5ea6: ${eq.depth}km | \u7ecf\u5ea6: ${eq.lon}\u00b0 | \u7eac\u5ea6: ${eq.lat}\u00b0\n                &lt;\/div>\n            &lt;\/div>\n            &lt;div class=\"time-badge\">\n                &lt;div>${eq.date}&lt;\/div>\n                &lt;div>${eq.time}&lt;\/div>\n            &lt;\/div>\n        `;\n        container.appendChild(card);\n    });\n&lt;\/script>\n\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<p>\u5f53\u7136\uff0c\u5982\u679c\u7528\u4e0d\u4e86Gemini\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528DeepSeek\u3001\u6587\u5fc3\u3001\u5143\u5b9d\u3001\u8c46\u5305\u3001\u5343\u95ee\u3001\u5c0f\u7231\u3001\u901a\u4e49\u7075\u7801\u3001ChatGPT\u3001Grok\u3001Claude\u3001Kimi\u3001Github Copilot\u3001Microsoft Copilot\u3001Cursor...<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u56e0\u4e3a\u6700\u8fd1\u4e00\u4e9b\u4e8b\u4ef6\u53ef\u80fd\u89c9\u5f97\u81ea\u5df1\u65f6\u65e5\u4e0d\u591a\u4e86\uff08bus\uff09\uff0c\u8fd8\u662f\u8981\u7c7b\u4f3c\u4e8e\u65e5\u672c\u90a3\u8fb9\u7684\u9632\u707e\u6708\u5386\u7684\u5f62\u5f0f\u516c\u5f00\u4e00\u4e0b\u90e8\u5206\u5185\u5bb9\u7684\u5236\u4f5c\u7ec6\u8282\u3002\u5982\u679c\u4f60\u9700\u8981\u67e5\u770b\u65e5 &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[1],"tags":[7,3,4],"class_list":["post-93","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-7","tag-3","tag-4"],"_links":{"self":[{"href":"https:\/\/blog.yorushi.top\/index.php\/wp-json\/wp\/v2\/posts\/93","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.yorushi.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.yorushi.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.yorushi.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.yorushi.top\/index.php\/wp-json\/wp\/v2\/comments?post=93"}],"version-history":[{"count":28,"href":"https:\/\/blog.yorushi.top\/index.php\/wp-json\/wp\/v2\/posts\/93\/revisions"}],"predecessor-version":[{"id":186,"href":"https:\/\/blog.yorushi.top\/index.php\/wp-json\/wp\/v2\/posts\/93\/revisions\/186"}],"wp:attachment":[{"href":"https:\/\/blog.yorushi.top\/index.php\/wp-json\/wp\/v2\/media?parent=93"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.yorushi.top\/index.php\/wp-json\/wp\/v2\/categories?post=93"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.yorushi.top\/index.php\/wp-json\/wp\/v2\/tags?post=93"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}