{"id":26654,"student_id":98,"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/h2\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 \u003coption selected\u003e\u003c/option\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 for(var i=0;i\u003cdata.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$('#search').click(function(){\\n var originID = $('#origin').val();\\n var stopID = $('#stopping').val();\\n var time = $('#date').val();\\n var url = `https://us-central1-orangeapple-d1f13.cloudfunctions.net/dailyTimetable?start=${originID}\u0026stop=${stopID}\u0026date=${time}`\\n $('tbody').html('');\\n $.get(url,function(data){\\n for(var i=0;i\u003cdata.length;i++){\\n $('tbody').append(`\u003ctr\u003e\u003ctd\u003e${i+1}\u003c/td\u003e\u003ctd\u003e${data[i].TrainNo}\u003c/td\u003e\u003ctd\u003e${data[i].DepartureTime}\u003c/td\u003e\u003ctd\u003e${data[i].ArrivalTime}\u003c/td\u003e\u003c/tr\u003e`)\\n }\\n })\\n \\n \\n})\\n\\n\\n\"}","created_at":"2018-04-20T15:23:03.309+08:00","updated_at":"2019-11-09T03:20:50.546+08:00","name":"高鐵APP","language":"web","screenshot":{"url":"https://cdn1.koding.school/uploads/project/screenshot/26654/904504717a28d697696a5e54082c63e1.jpg"},"parent_id":25193,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":120,"hashid":"4y3szn29","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":492369,"file_name":"bg.png","project_id":26654,"asset_id":58205,"created_at":"2018-04-20T15:23:03.321+08:00","updated_at":"2018-04-20T15:23:03.321+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
前往網站頁面
1:1:1
1:1
full
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦