123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE" />
- <META HTTP-EQUIV="EXPIRES" CONTENT="0" />
- <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE" />
- <title>Daily Popular Words</title>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.21.1/axios.min.js"></script>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
- <script async defer>
- const today = new Date().toISOString().slice(0, 10);
- axios.get(`http://api.ptt.cx:8000/ts_top?td=${today}&tc=20`, {headers: {'Access-Control-Allow-Origin': '*'}}).then(res => {
- const tops = res.data;
- for(let i = 0; i < tops.length; i++) {
- console.log(tops);
- }
- })
- </script>
- </head>
- <body>
- <main style="width:600px; margin-left: auto; margin-right: auto; background-image: url('images/背景.jpg');height: auto;">
- <div>
- <a href="https://line.me/R/ti/p/@choozmo?from=page"><img src="images/趨勢日報BANNER.jpg" alt="Choozmo趨勢日報"></a>
- </div>
- <div style="background-color: white; border-radius: 2rem; padding-bottom: .5rem;margin-left: 2rem;margin-right: 2rem;">
- <div style="display: flex;justify-content: stretch; align-items: center;">
- <div style="padding: 1rem 1rem; width: 50%;">
- <div style="display: flex;border-bottom: 1px dotted grey; margin-bottom: 7px;">
- <span style="color: #aa6dbc;display: inline-block;flex: 2;">第21名.</span>
- <span style="color: #aa6dbc;display: inline-block;flex: 3;" data-no=21>雲林確診</span>
- </div>
- <div style="display: flex;border-bottom: 1px dotted grey; margin-bottom: 7px;">
- <span style="color: #aa6dbc;display: inline-block;flex: 2;">第19名.</span>
- <span style="color: #aa6dbc;display: inline-block;flex: 3;" data-no=19>雲林確診</span>
- </div>
- <div style="display: flex;border-bottom: 1px dotted grey; margin-bottom: 7px;">
- <span style="color: #aa6dbc;display: inline-block;flex: 2;">第17名.</span>
- <span style="color: #aa6dbc;display: inline-block;flex: 3;">雲林確診</span>
- </div>
- <div style="display: flex;border-bottom: 1px dotted grey; margin-bottom: 7px;">
- <span style="color: #aa6dbc;display: inline-block;flex: 2;">第15名.</span>
- <span style="color: #aa6dbc;display: inline-block;flex: 3;">雲林確診</span>
- </div>
- <div style="display: flex;border-bottom: 1px dotted grey; margin-bottom: 7px;">
- <span style="color: #aa6dbc;display: inline-block;flex: 2;">第13名.</span>
- <span style="color: #aa6dbc;display: inline-block;flex: 3;">雲林確診</span>
- </div>
- <div style="display: flex;border-bottom: 1px dotted grey; margin-bottom: 7px;">
- <span style="color: #aa6dbc;display: inline-block;flex: 2;">第11名.</span>
- <span style="color: #aa6dbc;display: inline-block;flex: 3;">雲林確診</span>
- </div>
- <div style="display: flex;border-bottom: 1px dotted grey; margin-bottom: 7px;">
- <span style="color: #aa6dbc;display: inline-block;flex: 2;">第09名.</span>
- <span style="color: #aa6dbc;display: inline-block;flex: 3;">雲林確診</span>
- </div>
- <div style="display: flex;border-bottom: 1px dotted grey; margin-bottom: 7px;">
- <span style="color: #aa6dbc;display: inline-block;flex: 2;">第07名.</span>
- <span style="color: #aa6dbc;display: inline-block;flex: 3;">雲林確診</span>
- </div>
- <div style="display: flex;border-bottom: 1px dotted grey; margin-bottom: 7px;">
- <span style="color: #aa6dbc;display: inline-block;flex: 2;">第21名.</span>
- <span style="color: #aa6dbc;display: inline-block;flex: 3;">雲林確診</span>
- </div>
- <div style="display: flex;border-bottom: 1px dotted grey; margin-bottom: 7px;">
- <span style="color: #aa6dbc;display: inline-block;flex: 2;">第21名.</span>
- <span style="color: #aa6dbc;display: inline-block;flex: 3;">雲林確診</span>
- </div>
- </div>
- <div style="padding: 1rem 1rem; width: 50%;">
- <div style="display: flex;border-bottom: 1px dotted grey;margin-bottom: 7px;">
- <span style="color: #aa6dbc;display: inline-block;flex: 2;">第20名.</span>
- <span style="color: #aa6dbc;display: inline-block;flex: 3;">雲林確診</span>
- </div>
- <div style="display: flex;border-bottom: 1px dotted grey; margin-bottom: 7px;">
- <span style="color: #aa6dbc;display: inline-block;flex: 2;">第18名.</span>
- <span style="color: #aa6dbc;display: inline-block;flex: 3;">雲林確診</span>
- </div>
- <div style="display: flex;border-bottom: 1px dotted grey; margin-bottom: 7px;">
- <span style="color: #aa6dbc;display: inline-block;flex: 2;">第16名.</span>
- <span style="color: #aa6dbc;display: inline-block;flex: 3;">雲林確診</span>
- </div>
- <div style="display: flex;border-bottom: 1px dotted grey; margin-bottom: 7px;">
- <span style="color: #aa6dbc;display: inline-block;flex: 2;">第14名.</span>
- <span style="color: #aa6dbc;display: inline-block;flex: 3;">雲林確診</span>
- </div>
- <div style="display: flex;border-bottom: 1px dotted grey; margin-bottom: 7px;">
- <span style="color: #aa6dbc;display: inline-block;flex: 2;">第12名.</span>
- <span style="color: #aa6dbc;display: inline-block;flex: 3;">雲林確診</span>
- </div>
- <div style="display: flex;border-bottom: 1px dotted grey; margin-bottom: 7px;">
- <span style="color: #aa6dbc;display: inline-block;flex: 2;">第10名.</span>
- <span style="color: #aa6dbc;display: inline-block;flex: 3;">雲林確診</span>
- </div>
- <div style="display: flex;border-bottom: 1px dotted grey; margin-bottom: 7px;">
- <span style="color: #aa6dbc;display: inline-block;flex: 2;">第08名.</span>
- <span style="color: #aa6dbc;display: inline-block;flex: 3;">雲林確診</span>
- </div>
- <div style="display: flex;border-bottom: 1px dotted grey; margin-bottom: 7px;">
- <span style="color: #aa6dbc;display: inline-block;flex: 2;">第06名.</span>
- <span style="color: #aa6dbc;display: inline-block;flex: 3;">雲林確診</span>
- </div>
- <div style="display: flex;border-bottom: 1px dotted grey; margin-bottom: 7px;">
- <span style="color: #aa6dbc;display: inline-block;flex: 2;">第04名.</span>
- <span style="color: #aa6dbc;display: inline-block;flex: 3;">雲林確診</span>
- </div>
- <div style="display: flex;border-bottom: 1px dotted grey; margin-bottom: 7px;">
- <span style="color: #aa6dbc;display: inline-block;flex: 2;">第02名.</span>
- <span style="color: #aa6dbc;display: inline-block;flex: 3;">雲林確診</span>
- </div>
- </div>
- </div>
- <div style="width: 470px; height: 85px; background-image: url('images/NO1.png');background-repeat: no-repeat;background-size: contain;margin-right: auto;margin-left: auto; position: relative;">
- <div style="display: flex;position: absolute; left: 6rem; top: 1.5rem; align-items: center;">
- <span style="color: #aa6dbc;display: inline-block;font-size: 1.6rem; margin-right: 1.5rem;">第01名.</span>
- <span style="display: inline-block;font-size: 1.7rem;">雲林確診</span>
- </div>
- </div>
- </div>
- <div style="margin-top: .5rem; margin-bottom: .7rem;">
- <a href="https://line.me/R/ti/p/@choozmo?from=page"><img src="images/立即連繫.png" alt="Contact to AIVideo"></a>
- </div>
- <div style="display: flex;align-items: center;justify-content: space-evenly; padding-bottom: 4.5rem;">
- <a href="https://www.linkedin.com/company/choozmo/"><img src="images/linkedin-logo.png" alt=""></a>
- <a href="https://www.facebook.com/choozmo/"><img src="images/facebook.png" alt=""></a>
- <a href="https://line.me/R/ti/p/@choozmo?from=page"><img src="images/line.png" alt=""></a>
- <a href="https://www.youtube.com/channel/UCi3jHOCCmx0Zyl2ZvoHzHQg"><img src="images/youtube-new-flat-logo-1.png" alt="" width="32px" height="32px"></a>
- <a href="https://www.instagram.com/choozmo_cmm/"><img src="images/instagram.png" alt="" width="32px" height="32px"></a>
- <a href="https://twitter.com/ai_cmm"><img src="images/twitter.png" alt="" width="32px" height="32px"></a>
- </div>
- </main>
- </body>
- </html>
|