{"id":63606,"student_id":37,"content":"{\"html\":\"\u003c!DOCTYPE html\u003e\\n\u003chtml\u003e\\n\u003chead\u003e\\n\\t\u003ctitle\u003eDocument\u003c/title\u003e\\n \u003clink rel=\\\"stylesheet\\\" href=\\\"https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css\\\"\u003e\\n \u003cscript src=\\\"https://code.jquery.com/jquery-3.2.1.min.js\\\"\u003e\u003c/script\u003e\\n \u003cscript src=\\\"https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js\\\"\u003e\u003c/script\u003e\\n \u003cscript src=\\\"https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js\\\"\u003e\u003c/script\u003e\\n\u003c/head\u003e\\n\u003cbody class=\\\"p-4\\\"\u003e\\n \u003ch2 class=\\\"text-center\\\"\u003e高鐵查詢\u003c/h1\u003e\\n \u003clabel for=\\\"origin\\\"\u003e啟程站\u003c/label\u003e\\n \u003cselect class=\\\"form-control mb-2\\\" id=\\\"origin\\\"\u003e\\n \u003c/select\u003e\\n \u003clabel for=\\\"stopping\\\"\u003e到達站\u003c/label\u003e\\n \u003cselect class=\\\"form-control mb-2\\\" id=\\\"stopping\\\"\u003e\\n \u003c/select\u003e\\n \u003clabel for=\\\"date\\\"\u003e日期\u003c/label\u003e\\n \u003cinput class=\\\"form-control\\\" type=\\\"date\\\" id=\\\"date\\\"\u003e\\n \u003cbutton class=\\\"btn btn-danger btn-block my-3\\\" id=\\\"search\\\"\u003e開始查詢\u003c/button\u003e\\n \u003ctable class=\\\"table table-striped bg-light\\\"\u003e\\n \u003cthead\u003e\\n \u003ctr\u003e\\n \u003ctd\u003e#\u003c/td\u003e\\n \u003ctd\u003e車號\u003c/td\u003e\\n \u003ctd\u003e發車時間\u003c/td\u003e\\n \u003ctd\u003e到達時間\u003c/td\u003e\\n \u003c/tr\u003e\\n \u003c/thead\u003e\\n \u003ctbody\u003e\u003c/tbody\u003e\\n \u003c/table\u003e\\n\u003c/body\u003e\\n\u003c/html\u003e\",\"css\":\"body {\\n background-image: url(bg.png);\\n}\",\"js\":\"$.get(\\\"https://us-central1-orangeapple-d1f13.cloudfunctions.net/stations\\\", function (data) {\\n console.log(data);\\n for (var i = 0; i \u003c data.length; i++) {\\n $(\\\"#origin, #stopping\\\").append(`\u003coption value=\\\"${data[i].id}\\\"\u003e${data[i].name}\u003c/option\u003e`);\\n }\\n});\\n\\n\\n$(\\\"#search\\\").click(function() {\\n var start = $(\\\"#origin\\\").val();\\n var stop = $(\\\"#stopping\\\").val();\\n var date = $(\\\"#date\\\").val();\\n //console.log($(\\\"#origin\\\").val());\\n //console.log($(\\\"#stopping\\\").val());\\n //console.log($(\\\"#date\\\").val());\\n $.get(`https://us-central1-orangeapple-d1f13.cloudfunctions.net/dailyTimetable?start=${start}\u0026stop=${stop}\u0026date=${date}`, function(train) {\\n $(\\\"tbody\\\").html(\\\"\\\");\\n for (var i = 0; i \u003c train.length; i++) {\\n $(\\\"tbody\\\").append(`\u003ctr\u003e\\n \u003ctd\u003e${i}\u003c/td\u003e\\n \u003ctd\u003e${train[i].TrainNo}\u003c/td\u003e\\n \u003ctd\u003e${train[i].DepartureTime}\u003c/td\u003e\\n \u003ctd\u003e${train[i].ArrivalTime}\u003c/td\u003e\\n \u003c/tr\u003e`);\\n }\\n });\\n});\"}","created_at":"2019-04-21T09:46:34.421+08:00","updated_at":"2019-10-07T21:19:18.208+08:00","name":"高鐵APP 講師完整版 副本","language":"web","screenshot":{"url":"https://cdn0.koding.school/uploads/project/screenshot/63606/282c979ffb6a80b8baeacfe20302d2a9.jpg"},"parent_id":25193,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":54,"hashid":"5j3srq8q","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":1116508,"file_name":"bg.png","project_id":63606,"asset_id":61724,"created_at":"2019-04-21T09:46:34.426+08:00","updated_at":"2019-04-21T09:46:34.426+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
前往網站頁面
1:1:1
1:1
full
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦