{"id":72017,"student_id":1976,"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 \u003ch1 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 \\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\":\" var url1 = 'https://us-central1-orangeapple-d1f13.cloudfunctions.net/stations'\\n \\n $.get(url1, function(data) {\\n for(var i = 0; i \u003c data.length; i++) {\\n $('#origin').append(`\u003coption value=${data[i].id}\u003e${data[i].name}\u003c/option\u003e`)\\n $('#stopping').append(`\u003coption value=${data[i].id}\u003e${data[i].name}\u003c/option\u003e`)\\n }\\n \\n })\\n \\n \\n $('#search').click(function() {\\n var start = $('#origin').val()\\n var end = $('#stopping').val()\\n var date = $('#date').val() \\n var url2 = `https://us-central1-orangeapple-d1f13.cloudfunctions.net/dailyTimetable?start=${start}\u0026stop=${end}\u0026date=${date}` \\n \\n $.get(url2, function(data) {\\n $('tbody').html(\\\"\\\")\\n for( var i=0;i\u003c data.length;i++) {\\n $('tbody').append(`\u003ctr\u003e\\n \u003ctd\u003e${i}\u003c/td\u003e\\n \u003ctd\u003e${data[i].TrainNo}\u003c/td\u003e\\n \u003ctd\u003e${data[i].DepartureTime}\u003c/td\u003e\\n \u003ctd\u003e${data[i].ArrivalTime}\u003c/td\u003e\\n \u003c/tr\u003e\\n `)\\n }\\n \\n })\\n })\"}","created_at":"2019-06-15T10:01:34.983+08:00","updated_at":"2020-06-08T13:43:51.422+08:00","name":"高鐵APP 講師完整版 副本","language":"web","screenshot":{"url":"https://cdn5.koding.school/uploads/project/screenshot/72017/0869ba2f414e359c096fa465564dbfc4.jpg"},"parent_id":25193,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":411,"hashid":"gk4sm4jw","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":1257281,"file_name":"bg.png","project_id":72017,"asset_id":61724,"created_at":"2019-06-15T10:01:34.988+08:00","updated_at":"2019-06-15T10:01:34.988+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
前往網站頁面
1:1:1
1:1
full
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦