感謝老師,講得非常生動,尤其是視頻的PPT提示切換非常及時,老師的英文水平也很高,發音非常準確!我聽了這個課,覺得獲益匪淺!
2019-12-11
效果圖和源碼 https://niuyi1017.github.io/2018/04/22/webapp-train.html
跟著老師做完的,整理了一下思路,歡迎和大家一起交流
跟著老師做完的,整理了一下思路,歡迎和大家一起交流
var urlPre = "http://crossorigin.me/"
var url1 = "http://ws.webxml.com.cn/WebServices/TrainTimeWebService.asmx/getStationAndTimeByStationName?UserID="
var url1 = "http://ws.webxml.com.cn/WebServices/TrainTimeWebService.asmx/getStationAndTimeByStationName?UserID="
2018-03-10
var urlPre = "http://crossorigin.me/"
var url1 = "http://ws.webxml.com.cn/WebServices/TrainTimeWebService.asmx/getStationAndTimeByStationName?UserID="
var url1 = "http://ws.webxml.com.cn/WebServices/TrainTimeWebService.asmx/getStationAndTimeByStationName?UserID="
2018-03-10
老師在案例中所給的URL地址現在已經失效,所以后面學習這個視頻的童鞋打開頁面會報錯,樓主也吃了這個虧,弄了好久才發現這個問題,蠢到家了,后面學習這個視頻的童鞋切記這個問題。
以下是樓主找的新地址:
以下是樓主找的新地址:
2018-03-10
var url2 = "http://ws.webxml.com.cn/WebServices/TrainTimeWebService.asmx/getStationAndTimeDataSetByTrainCode?UserID="
var url3 = "http://ws.webxml.com.cn/WebServices/TrainTimeWebService.asmx/getDetailInfoByTrainCode?&UserID="
var url3 = "http://ws.webxml.com.cn/WebServices/TrainTimeWebService.asmx/getDetailInfoByTrainCode?&UserID="
2018-03-10
我也做了一個
https://github.com/levinit/train-search
訪問
https://levinit.github.io/train-search/
----
有3塊功能 查詢 收藏 和 最近記錄 使用的jsonp ,用localstorage存儲記錄 已有記錄情況下 盡量不錯api獲取數據 離線后也能查看最近和收藏中的數據 添加了一些webapp的meta,使用了manifest,在手機端訪問可以固定到桌面。
代碼揉一塊 400多行 …… 后面看著都暈
https://github.com/levinit/train-search
訪問
https://levinit.github.io/train-search/
----
有3塊功能 查詢 收藏 和 最近記錄 使用的jsonp ,用localstorage存儲記錄 已有記錄情況下 盡量不錯api獲取數據 離線后也能查看最近和收藏中的數據 添加了一些webapp的meta,使用了manifest,在手機端訪問可以固定到桌面。
代碼揉一塊 400多行 …… 后面看著都暈
2017-12-28
哇,在下一節找到這節問題的答案,感覺棒棒的,熱評的url可以用,控制臺如果還是給的500錯誤的話,把www改成ws,也就是url為"https://crossorigin.me/http://ws.webxml.com.cn/WebServices/TrainTimeWebService.asmx/getStationAndTimeByTrainCode?TrainCode=G1&UserID="
2017-12-01