function format(tpl) { var index = 1, items = arguments; return (tpl || '').replace(/{(\w*)}/g, function(match, p1) { return items[index++] || p1 || match; }); } function loadCSS(url, callback) { return $('') .attr({ href: url }) .on('load', callback) .appendTo(document.head); } function lazyGist(element) { var $btn = $(element); var $self = $(element).parent(); var $link = $self.find('a'); $btn.prop('disabled', 'disabled').text('Loading...'); $.getJSON(format('{}.json?callback=?', $link.prop('href').replace($link.prop('hash'), ''))) .done(function(data) { loadCSS(data.stylesheet, function() { $self.replaceWith(data.div); $('.gist .gist-file .gist-meta a').filter(function() { return this.href === $link.prop('href'); }).parents('.gist-file').siblings().remove(); }); }) .fail(function() { $self.replaceWith($('').attr('href', url).text(url)); }); }
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
archliinux

Vibe Coding 了一个 12306 抢票 App

  •  
  •   archliinux · 1 月 31 日 · 1461 次点击
    这是一个创建于 77 天前的主题,其中的信息可能已经有所发展或是发生改变。

    抢了么

    demo1 demo2 demo3

    支持系统

    • MacOS >= 12
    • Android >= 8
    • Windows >= 10

    下载

    Powered by Claude Max

    1 条回复    2026-01-31 21:44:35 +08:00
    lswlray
        1
    lswlray  
       1 月 31 日
    这类产品最大的难点在于如何解决用户的信任问题,自己玩玩就随意了。
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   841 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 21:52 · PVG 05:52 · LAX 14:52 · JFK 17:52
    ♥ Do have faith in what you're doing.