V2EX = way to explore V2EX 是一个关于分享和探索的地方
script> document.addEventListener('DOMContentLoaded', function() { // Function to escape HTML entities function escapeHtml(text) { if (!text) return ''; var div = document.createElement('div'); div.textCOntent= text; return div.innerHTML; } // Function to render campaign based on display format function renderCampaign(campaign) { let html = ''; let displayFormat = campaign.display_format || 'text-only'; let title = escapeHtml(campaign.title); let description = escapeHtml(campaign.description); let callToAction = escapeHtml(campaign.call_to_action); let link = escapeHtml(campaign.link); // Check if required image URL is available for the display format, fallback to text-only if not if (displayFormat === 'small-with-description' && !campaign.img_small_url) { displayFormat = 'text-only'; } else if (displayFormat === 'banner-only' && !campaign.img_banner_url) { displayFormat = 'text-only'; } else if ((displayFormat === 'big-only' || displayFormat === 'big-with-description' || displayFormat === 'big-with-title-description-button') && !campaign.img_big_url) { displayFormat = 'text-only'; } html = `
${title}
`; switch(displayFormat) { case 'text-only': html += `
`; break; case 'small-with-description': html += `
${campaign.img_small_cid ? `
` : ''}
${description}
`; break; case 'banner-only': html += `
`; break; case 'big-only': html += `
`; break; case 'big-with-description': html += `
`; html += `
`; break; case 'big-with-title-description-button': html += `
`; html += `
`; html += `
`; break; default: html += `
`; } html += `
` return html; } // Load campaign from emitter var xhr = new XMLHttpRequest(); xhr.open('GET', '/pro/emitter', true); xhr.setRequestHeader('Content-Type', 'application/json'); xhr.Onreadystatechange= function() { if (xhr.readyState === 4) { if (xhr.status === 200) { try { var campaign = JSON.parse(xhr.responseText); if (campaign && campaign.id) { var html = renderCampaign(campaign); document.getElementById('pro-campaign-container').innerHTML = html; } else { // No campaign to display, hide the container document.getElementById('pro-campaign-container').style.display = 'none'; } } catch (e) { // Parse error, hide the container document.getElementById('pro-campaign-container').style.display = 'none'; console.log('Error parsing campaign data: ' + e.message); } } else { // HTTP error, hide the container document.getElementById('pro-campaign-container').style.display = 'none'; console.log('Error loading campaign: HTTP ' + xhr.status); } } }; xhr.send(); });
这是一个创建于 379 天前的主题,其中的信息可能已经有所发展或是发生改变。
搞了一个 Apple watch ,感觉自己使用率挺低的。
学习学习大家的操作
17 条回复 2024-09-27 17:08:13 +08:00  | | 1 vankhu 2024-09-25 21:09:56 +08:00 忽略它的存在就是最大提升效率 |
 | | 2 liu731 2024-09-25 21:19:00 +08:00 久坐提醒 |
 | | 3 Tiande 2024-09-25 21:21:16 +08:00 via Android 卖了换成小米手环,两周一充效率大大滴提升了 |
 | | 5 yinmin 2024-09-26 08:41:22 +08:00 via iPhone 日历提醒 不会漏接微信通话 nfc 公交卡坐地铁快捷 经常用 siri 设定时器 起夜用手表里的手电筒照明 在超市自助机上扫码付款不用掏手机 感觉不舒服时会关注夜间的心跳是否变快(疲惫夜间心跳正常,生病夜间心跳会快 10 多次/min ) |
 | | 7 shengmi 2024-09-26 08:59:23 +08:00 直接对它喊, 打开前备箱 |
 | | easyii 2024-09-26 09:37:10 +08:00 微信提醒,支付宝提醒,电话提醒 |
 | | 9 choose2022 2024-09-26 09:49:25 +08:00 带手表除了看时间不就是各种提醒吗,来信息都不用翻手机出来看; 如果你觉得使用率低证明你日常生活手机应该大多用来娱乐。 |
 | | 10 sgiyy 2024-09-26 10:05:44 +08:00 - 健身 APP (最常用) - 看时间 - 微信消息 - 久坐提醒 - 定时器 - 刷公交地铁 - 其他各种提醒(睡眠、用药、电话、短信...) |
 | | 11 bao3 2024-09-26 10:14:14 +08:00 我是 Ultra ,用得比较多的是旁边的快捷键,默认是手电筒。 |
 | | 12 DendimoN 2024-09-26 10:38:47 +08:00 1. 健身(只用训记) 2. 睡眠记录 3. 刷公交地铁 4. 看表 5. 定时器 没了。。 |
 | | 13 hagerhu 2024-09-26 11:10:22 +08:00 时间,运动数据,气温,健身,定时器 |
 | | 14 alkney 2024-09-26 11:41:17 +08:00 本身也没有什么要可以的点啊…… 比如说运动监测,这个是自动的;午睡的时候开个 15 分钟或者半小时的计时器,这个是内置的;睡眠记录+起床闹铃,这个只要你愿意晚上睡觉戴手表就行了;手表刷公交卡 |
 | | 15 david930 2024-09-26 11:49:33 +08:00 1 Apple Watch 对来我说,更多的是健康监测和运动记录,以及小部分效率使用: 1.健康监测:睡眠记录、日常心率等 2.运动记录:aw 的游泳记录我觉得是市面最准,没有之一。Garmin 的表在游泳记录上对趟数记录还是不够准。另外就是徒步时,Garmin 记录,aw 也会开着,看实时海拔高度,这个也是逆天的准 3.效率使用:支付宝付款码;定时 4.微信通知我在 aw 上是关闭的。因以前经常遇到微信通知刚 aw 不小心抬腕,就是标注已识别,结果iPhone 上看不到未读,错过重要信息。 |
 | | 16 rokicat007 2024-09-27 15:48:41 +08:00 运动 游泳 健身 多尝试这些 |