{"id":61196,"student_id":1404,"content":"{\"html\":\"\u003c!DOCTYPE html\u003e\\n\u003chtml\u003e\\n\u003chead\u003e\\n\\t\u003ctitle\u003eDocument\u003c/title\u003e\\n\u003c/head\u003e\\n\u003cbody\u003e\\n \u003cimg src=\\\"koding.png\\\" alt=\\\"\\\"\u003e\\n \u003cp\u003e\\n 我是叩叮,是一隻自由自在的水獺\\n \u003cbr\u003e\\n 興趣是寫程式、看影劇、發呆...\\n \u003cbr\u003e\\n 最喜歡食物是新鮮的魚!\\n \u003cbr\u003e\\n 如果你也喜歡寫程式,就讓我們一起加油!\\n \u003c/p\u003e\\n \u003cbutton onclick=\\\"hello()\\\"\u003e跟叩叮打招呼\u003c/button\u003e\\n\u003c/body\u003e\\n\u003c/html\u003e\",\"css\":\"/* 設定整個頁面內容水平置中、內寬為 30 像素:*/\\nbody {\\n text-align: center;\\n padding: 30px;\\n}\\n\\n/* 設定圖片的寬度為銀幕一半寬 */\\nimg { \\n max-width: 50%; \\n}\\n\\n/* 設定文字的顏色為淡黑色 */\\np {\\n color: #555555;\\n}\",\"js\":\"var billing = DB.table('billing');\\n\\n$('.js-add').click(function () {\\n var category = $('.js-add-category').val();\\n var description = $('.js-add-description').val();\\n var price = $('.js-add-price').val();\\n billing.insert({\\n date: new Date(),\\n category: category,\\n description: description,\\n price: price\\n });\\n});\\n\\nfunction updateTable (data) {\\n $('tbody').html('');\\n var total = 0;\\n for (var i=0; i\u003cdata.length; i++) {\\n var d = data[i];\\n total += Number(d.price);\\n $('tbody').append('\u003ctr\u003e\u003ctd\u003e' + d.date.toString().slice(0, 10) + '\u003c/td\u003e\u003ctd\u003e' + d.category + '\u003c/td\u003e\u003ctd\u003e' + d.description + '\u003c/td\u003e\u003ctd\u003e' + d.price + '\u003c/td\u003e\u003c/tr\u003e')\\n }\\n $('.js-total').html('筆數:' + data.length + '\u003cbr\u003e總和:' + total + '$');\\n}\\n\\n$('.js-search').click(function () {\\n billing.find({\\n category: $('.js-search-category').val(),\\n date: {\\n $gte: new Date($('.js-search-startTime').val()),\\n $lt: new Date($('.js-search-endTime').val())\\n }\\n }, updateTable);\\n});\\n\\nbilling.find({}, updateTable);\"}","created_at":"2019-03-30T13:36:11.214+08:00","updated_at":"2019-10-08T02:07:27.606+08:00","name":"aaa","language":"web","screenshot":{"url":null},"parent_id":3,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":87,"hashid":"4y3sremz","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":1076532,"file_name":"koding.png","project_id":61196,"asset_id":107444,"created_at":"2019-03-30T13:36:11.220+08:00","updated_at":"2019-03-30T13:36:11.220+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
前往網站頁面
1:1:1
1:1
full
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦