V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
adspe
V2EX  ›  分享创造

一个练手的 React 项目 su-Weather

  •  1
     
  •   adspe ·
    alivelee · 2017-05-29 16:53:48 +08:00 · 2041 次点击
    这是一个创建于 2494 天前的主题,其中的信息可能已经有所发展或是发生改变。

    ###TODOs

    • [ ] Use Redux to refactor
    • [ ] Add More Api support
    • [ ] City List
    • [ ] React Native Support

    Online Demo On Surge.sh

    欢迎各种意见

    用了 Geolocation 要勾选允许

    第 1 条附言  ·  2017-05-29 17:28:39 +08:00
    第 2 条附言  ·  2017-05-29 17:39:27 +08:00
    好惨。OpenWeather API 不支持 HTTPS
    第 3 条附言  ·  2017-05-29 22:51:23 +08:00
    6 条回复    2017-05-29 18:11:40 +08:00
    adspe
        1
    adspe  
    OP
       2017-05-29 17:13:13 +08:00
    链接好像坏了
    gaudy-effect.surge.sh
    不知道怎么会跳转到 V 站去
    adspe
        2
    adspe  
    OP
       2017-05-29 17:29:38 +08:00
    为什么 Localhost 能获得 Geolocation 但是在线的却不能,同样都是 HTTP
    Sin
        3
    Sin  
       2017-05-29 17:59:56 +08:00
    UI 不错啊
    wolfan
        4
    wolfan  
       2017-05-29 18:05:10 +08:00
    移动页面支持应该是没作好吧。

    sunset 总是 404
    adspe
        5
    adspe  
    OP
       2017-05-29 18:11:00 +08:00
    @wolfan 对我与刚刚发现。因为主界面我去掉了时间,所有样式要重新写下
    adspe
        6
    adspe  
    OP
       2017-05-29 18:11:40 +08:00
    @Sin 现在只能算个半成品了。。API 不支持 HTTPS 导致 geoLocation 不能用了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5504 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 08:19 · PVG 16:19 · LAX 01:19 · JFK 04:19
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.