{"id":133885,"student_id":3525,"content":"{\"files\":{\"src/appinventor/ai_appinventor/IND306/Screen1.scm\":\"#|\\n$JSON\\n{\\\"authURL\\\":[\\\"localhost\\\",\\\"koding.school\\\"],\\\"YaVersion\\\":\\\"167\\\",\\\"Source\\\":\\\"Form\\\",\\\"Properties\\\":{\\\"$Name\\\":\\\"Screen1\\\",\\\"$Type\\\":\\\"Form\\\",\\\"$Version\\\":\\\"23\\\",\\\"AlignHorizontal\\\":\\\"3\\\",\\\"AlignVertical\\\":\\\"2\\\",\\\"AppName\\\":\\\"IND306\\\",\\\"Title\\\":\\\"\\\\u53f0\\\\u5317\\\\u7f8e\\\\u98df\\\\u9910\\\\u5ef3\\\",\\\"Uuid\\\":\\\"0\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"ListPicker1\\\",\\\"$Type\\\":\\\"ListPicker\\\",\\\"$Version\\\":\\\"9\\\",\\\"ElementsFromString\\\":\\\"\\\\u4e2d\\\\u83ef, \\\\u65e5\\\\u97d3, \\\\u6b50\\\\u9678, \\\\u7f8e\\\\u58a8, \\\\u5357\\\\u6d0b\\\",\\\"FontSize\\\":\\\"14\\\",\\\"Width\\\":\\\"-1090\\\",\\\"Text\\\":\\\"\\\\u9910\\\\u5ef3\\\\u5206\\\\u985e\\\",\\\"Uuid\\\":\\\"-1903974934\\\"},{\\\"$Name\\\":\\\"ListView1\\\",\\\"$Type\\\":\\\"ListView\\\",\\\"$Version\\\":\\\"5\\\",\\\"BackgroundColor\\\":\\\"\\u0026HFFCCCCCC\\\",\\\"Height\\\":\\\"400\\\",\\\"Width\\\":\\\"-1090\\\",\\\"SelectionColor\\\":\\\"\\u0026HFFFFC800\\\",\\\"Uuid\\\":\\\"-1757781340\\\"},{\\\"$Name\\\":\\\"Web1\\\",\\\"$Type\\\":\\\"Web\\\",\\\"$Version\\\":\\\"4\\\",\\\"Uuid\\\":\\\"-1694115120\\\"},{\\\"$Name\\\":\\\"\\\\u5c0d\\\\u8a71\\\\u68461\\\",\\\"$Type\\\":\\\"Notifier\\\",\\\"$Version\\\":\\\"4\\\",\\\"Uuid\\\":\\\"-1969420743\\\"}]}}\\n|#\",\"src/appinventor/ai_appinventor/IND306/Screen1.bky\":\"\\u003cxml xmlns=\\\"http://www.w3.org/1999/xhtml\\\"\\u003e\\n \\u003cblock type=\\\"component_event\\\" id=\\\"dhuP*rRK5H{x%R,NrOUH\\\" collapsed=\\\"true\\\" x=\\\"632\\\" y=\\\"-121\\\"\\u003e\\n \\u003cmutation component_type=\\\"ListView\\\" instance_name=\\\"ListView1\\\" event_name=\\\"AfterPicking\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eListView1\\u003c/field\\u003e\\n \\u003cstatement name=\\\"DO\\\"\\u003e\\n \\u003cblock type=\\\"local_declaration_statement\\\" id=\\\"-CFHEAk3UH)CboSa1duU\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cmutation\\u003e\\n \\u003clocalname name=\\\"restaurant\\\"\\u003e\\u003c/localname\\u003e\\n \\u003c/mutation\\u003e\\n \\u003cfield name=\\\"VAR0\\\"\\u003erestaurant\\u003c/field\\u003e\\n \\u003cvalue name=\\\"DECL0\\\"\\u003e\\n \\u003cblock type=\\\"lists_select_item\\\" id=\\\"w`*{f[c}RY8+QZ(jaE*N\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cvalue name=\\\"LIST\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\"G=)D7GtdD?Lzw]`f2YI!\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal selectlist\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"NUM\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"$1I6RBh;B:7ek4^Z.eV.\\\"\\u003e\\n \\u003cmutation component_type=\\\"ListView\\\" set_or_get=\\\"get\\\" property_name=\\\"SelectionIndex\\\" is_generic=\\\"false\\\" instance_name=\\\"ListView1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eListView1\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eSelectionIndex\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cstatement name=\\\"STACK\\\"\\u003e\\n \\u003cblock type=\\\"component_method\\\" id=\\\"rV;CU3Qg5D{2JBKN!wKN\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cmutation component_type=\\\"Notifier\\\" method_name=\\\"ShowMessageDialog\\\" is_generic=\\\"false\\\" instance_name=\\\"對話框1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e對話框1\\u003c/field\\u003e\\n \\u003cvalue name=\\\"ARG0\\\"\\u003e\\n \\u003cblock type=\\\"text_join\\\" id=\\\"Ie[33DFmYxwDV,?H]Wm\\\\!\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cmutation items=\\\"8\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cvalue name=\\\"ADD0\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\",P+JEFlS@KA-cqvpdRn}\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e地址:\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD1\\\"\\u003e\\n \\u003cblock type=\\\"lists_lookup_in_pairs\\\" id=\\\"ih]*FN)y3bJn1eBd9~^~\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cvalue name=\\\"LIST\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\"[%*suY1r(!sxvP8.pYmL\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003erestaurant\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"KEY\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"jk%EQ38deL471X/93}Px\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e地址\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"NOTFOUND\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"i/sg+V1zHA#Lju,lHFQW\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003enot found\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD2\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"xsB-h7-)pj7AM;OlRf!`\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e\\u0026lt;br\\u0026gt;電話:\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD3\\\"\\u003e\\n \\u003cblock type=\\\"lists_lookup_in_pairs\\\" id=\\\"3X)\\\\!(x=RP7#}_*iV6)F1\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cvalue name=\\\"LIST\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\"}to5{}u78th2+{yaZ;xE\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003erestaurant\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"KEY\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"WC1Q]BjFN+q5+.5P!JB[\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e電話\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"NOTFOUND\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"*5E)J7/c)T%!*!!cyvZG\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003enot found\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD4\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"ij+v#VPqg:^N0E9)pLOU\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e\\u0026lt;br\\u0026gt;網址:\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD5\\\"\\u003e\\n \\u003cblock type=\\\"lists_lookup_in_pairs\\\" id=\\\"(8*af1_SVX8D#rV[Pn6B\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cvalue name=\\\"LIST\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\":LbGEtxyb;t?Vl(=;o=h\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003erestaurant\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"KEY\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"qs~S)db@qvbnSR7i.eHI\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e網址\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"NOTFOUND\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"9Mm`JGB.TVqHuKs{]tdi\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003enot found\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD6\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"S`G{zMtW9[cv)yY6DACR\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e\\u0026lt;br\\u0026gt;備註:\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD7\\\"\\u003e\\n \\u003cblock type=\\\"lists_lookup_in_pairs\\\" id=\\\"nb}9}f+vx#ONXkGdEUzL\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cvalue name=\\\"LIST\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\"L9x@lBqP3s$52qK#D1D-\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003erestaurant\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"KEY\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"=e9]2#HIGojYE!/eu2QS\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e備註\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"NOTFOUND\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"+p$P}t-vASvy8*1288{F\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003enot found\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ARG1\\\"\\u003e\\n \\u003cblock type=\\\"lists_lookup_in_pairs\\\" id=\\\"0vi`aEbG5:}Pv,y8m=]U\\\" collapsed=\\\"true\\\"\\u003e\\n \\u003cvalue name=\\\"LIST\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\"V?a.#,J/5NBS2#A(]NcJ\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003erestaurant\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"KEY\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"US\\\\!ch)0W$yhZUV$EGfk2\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e餐廳名稱\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"NOTFOUND\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\";z$@*7J@scj5@]d3W3^@\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003enot found\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ARG2\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"l\\\\!5aQ/([A^77u:.o:tsX\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e確定\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"component_event\\\" id=\\\"1GsRuCV2BEEx^GwyAveD\\\" x=\\\"35\\\" y=\\\"-71\\\"\\u003e\\n \\u003cmutation component_type=\\\"ListPicker\\\" instance_name=\\\"ListPicker1\\\" event_name=\\\"AfterPicking\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eListPicker1\\u003c/field\\u003e\\n \\u003ccomment pinned=\\\"false\\\" h=\\\"82\\\" w=\\\"208\\\"\\u003e點選後呈現五大類別\\n在清單選擇分類後,回到頁面顯示此分類中的餐廳名單\\n \\u003c/comment\\u003e\\n \\u003cstatement name=\\\"DO\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_set\\\" id=\\\",V7cVlFW@g#]`,lW*3ap\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal selectlist\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"lists_lookup_in_pairs\\\" id=\\\"p`mn5En[Ns%b[j5;8pLl\\\"\\u003e\\n \\u003cvalue name=\\\"LIST\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\"UE.E.@2,!ICOMtbkvpML\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal datalist\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"KEY\\\"\\u003e\\n \\u003cblock type=\\\"component_component_block\\\" id=\\\"Z`_UyHxR2n^N=:r#~9{#\\\"\\u003e\\n \\u003cmutation component_type=\\\"ListPicker\\\" instance_name=\\\"ListPicker1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eListPicker1\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"NOTFOUND\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"IUG=jkcS:yELl+TQE/]2\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003enot found\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"lexical_variable_set\\\" id=\\\",*u:fZ@aNS2a,R.A.ZG%\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal menulist\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"lists_create_with\\\" id=\\\"/$(?e]kjAO{%XTxbf+3$\\\"\\u003e\\n \\u003cmutation items=\\\"0\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"controls_forEach\\\" id=\\\"l?$C#_5_Dk6lXe)VXqw~\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003e清單項目\\u003c/field\\u003e\\n \\u003cvalue name=\\\"LIST\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\"1m3__IdSaaYqH?Nl\\\\!2mf\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal selectlist\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cstatement name=\\\"DO\\\"\\u003e\\n \\u003cblock type=\\\"lists_add_items\\\" id=\\\".xXZz~c?t8pRXF4@95;V\\\"\\u003e\\n \\u003cmutation items=\\\"1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cvalue name=\\\"LIST\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\")_kxb;Xa.RCc[4iZ+o=Z\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal menulist\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ITEM0\\\"\\u003e\\n \\u003cblock type=\\\"lists_lookup_in_pairs\\\" id=\\\"`fY*r;%yzbGLFO1@TR?J\\\"\\u003e\\n \\u003cvalue name=\\\"LIST\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\"Xg4J/].r0bwuv[qofs.d\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003e清單項目\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"KEY\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"UN2@L\\\\!aEzYBo1!]0)oCF\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e餐廳名稱\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"NOTFOUND\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"oc-U5YWJ`O-4~O8kWYW[\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003enot found\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"NzNZk1)Q04g:O9BF[`iU\\\"\\u003e\\n \\u003cmutation component_type=\\\"ListView\\\" set_or_get=\\\"set\\\" property_name=\\\"Elements\\\" is_generic=\\\"false\\\" instance_name=\\\"ListView1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eListView1\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eElements\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\"B~R%EOb$ovs!ebqFVC_1\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal menulist\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"global_declaration\\\" id=\\\"+wL!=L^RR/cdTn/LX9~y\\\" x=\\\"312\\\" y=\\\"312\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003edatalist\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"lists_create_with\\\" id=\\\"IUt~,PnJW_%gbj~1\\\\!v3o\\\"\\u003e\\n \\u003cmutation items=\\\"0\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"global_declaration\\\" id=\\\"XoO!~g6r\\\\!tz=@JQC]Sqx\\\" x=\\\"332\\\" y=\\\"352\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003emenulist\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"lists_create_with\\\" id=\\\")Au(l7.(~9{=RZc5sjs`\\\"\\u003e\\n \\u003cmutation items=\\\"0\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"global_declaration\\\" id=\\\"t7j/1p}KM32GJz-@f`oZ\\\" x=\\\"352\\\" y=\\\"392\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003eselectlist\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"lists_create_with\\\" id=\\\"{BWY!q;3~Hd0hmIV[s5~\\\"\\u003e\\n \\u003cmutation items=\\\"0\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"component_event\\\" id=\\\"#7SqVa9[WQ#i^D.IM`]?\\\" x=\\\"0\\\" y=\\\"494\\\"\\u003e\\n \\u003cmutation component_type=\\\"Form\\\" instance_name=\\\"Screen1\\\" event_name=\\\"Initialize\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eScreen1\\u003c/field\\u003e\\n \\u003cstatement name=\\\"DO\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"*k)cjToT=@$L)d\\\\!)^zR$\\\"\\u003e\\n \\u003cmutation component_type=\\\"Web\\\" set_or_get=\\\"set\\\" property_name=\\\"Url\\\" is_generic=\\\"false\\\" instance_name=\\\"Web1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eWeb1\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eUrl\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"nsl^LhJI,^Z,-16\\\\!dFet\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003ehttp://csfexam.csf.org.tw:3000/IN2/tp_restaurant.json\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_method\\\" id=\\\";je_v3}Oj8_14O!$T0gz\\\"\\u003e\\n \\u003cmutation component_type=\\\"Web\\\" method_name=\\\"Get\\\" is_generic=\\\"false\\\" instance_name=\\\"Web1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eWeb1\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"component_event\\\" id=\\\"Idr.9}fOMKAx[g:jO7,{\\\" x=\\\"0\\\" y=\\\"612\\\"\\u003e\\n \\u003cmutation component_type=\\\"Web\\\" instance_name=\\\"Web1\\\" event_name=\\\"GotText\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eWeb1\\u003c/field\\u003e\\n \\u003cstatement name=\\\"DO\\\"\\u003e\\n \\u003cblock type=\\\"controls_if\\\" id=\\\"2sssVaseG7sUs.?Nh$L5\\\"\\u003e\\n \\u003cvalue name=\\\"IF0\\\"\\u003e\\n \\u003cblock type=\\\"math_compare\\\" id=\\\"-8_~\\\\!AetU^e@fDjYori_\\\"\\u003e\\n \\u003cfield name=\\\"OP\\\"\\u003eEQ\\u003c/field\\u003e\\n \\u003cvalue name=\\\"A\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\"t!?J+xM)1edw^vO+Ok2q\\\"\\u003e\\n \\u003cmutation\\u003e\\n \\u003ceventparam name=\\\"responseCode\\\"\\u003e\\u003c/eventparam\\u003e\\n \\u003c/mutation\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003e回應程式碼\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"B\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"cJcGab;;lPfcAWMHwCXn\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e200\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cstatement name=\\\"DO0\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_set\\\" id=\\\"ejytx1^fjy~%1oI%/i$\\\\!\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal datalist\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"component_method\\\" id=\\\",g{Cj1(Ee1{t6qJm.5@T\\\"\\u003e\\n \\u003cmutation component_type=\\\"Web\\\" method_name=\\\"JsonTextDecode\\\" is_generic=\\\"false\\\" instance_name=\\\"Web1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eWeb1\\u003c/field\\u003e\\n \\u003cvalue name=\\\"ARG0\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\"twvjF4lmD[Mgz*N#Z8{`\\\"\\u003e\\n \\u003cmutation\\u003e\\n \\u003ceventparam name=\\\"responseContent\\\"\\u003e\\u003c/eventparam\\u003e\\n \\u003c/mutation\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003e回應內容\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cyacodeblocks ya-version=\\\"167\\\" language-version=\\\"21\\\"\\u003e\\u003c/yacodeblocks\\u003e\\n\\u003c/xml\\u003e\",\"src/appinventor/ai_appinventor/IND306/Screen1.yail\":\"#|\\n$Source $Yail\\n|#\\n\\n(define-form appinventor.ai_appinventor.IND306.Screen1 Screen1)\\n(require \\u003ccom.google.youngandroid.runtime\\u003e)\\n\\n(def g$datalist (call-yail-primitive make-yail-list (*list-for-runtime* ) '() \\\"make a list\\\"))\\n(def g$menulist (call-yail-primitive make-yail-list (*list-for-runtime* ) '() \\\"make a list\\\"))\\n(def g$selectlist (call-yail-primitive make-yail-list (*list-for-runtime* ) '() \\\"make a list\\\"))\\n;;; Screen1\\n\\n(do-after-form-creation (set-and-coerce-property! 'Screen1 'AlignHorizontal 3 'number)\\n (set-and-coerce-property! 'Screen1 'AlignVertical 2 'number)\\n (set-and-coerce-property! 'Screen1 'AppName \\\"IND306\\\" 'text)\\n (set-and-coerce-property! 'Screen1 'Title \\\"\\\\u53f0\\\\u5317\\\\u7f8e\\\\u98df\\\\u9910\\\\u5ef3\\\" 'text)\\n)\\n\\n(define-event Screen1 Initialize()(set-this-form)\\n (set-and-coerce-property! 'Web1 'Url \\\"http://csfexam.csf.org.tw:3000/IN2/tp_restaurant.json\\\" 'text)(call-component-method 'Web1 'Get (*list-for-runtime*) '()))\\n;;; ListPicker1\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.ListPicker ListPicker1 \\n(set-and-coerce-property! 'ListPicker1 'ElementsFromString \\\"\\\\u4e2d\\\\u83ef, \\\\u65e5\\\\u97d3, \\\\u6b50\\\\u9678, \\\\u7f8e\\\\u58a8, \\\\u5357\\\\u6d0b\\\" 'text)\\n\\n(set-and-coerce-property! 'ListPicker1 'FontSize 14 'number)\\n\\n(set-and-coerce-property! 'ListPicker1 'Width -1090 'number)\\n\\n(set-and-coerce-property! 'ListPicker1 'Text \\\"\\\\u9910\\\\u5ef3\\\\u5206\\\\u985e\\\" 'text)\\n\\n)\\n\\n(define-event ListPicker1 AfterPicking()(set-this-form)\\n (set-var! g$selectlist (call-yail-primitive yail-alist-lookup (*list-for-runtime* (get-component ListPicker1) (get-var g$datalist) \\\"not found\\\") '(any list any) \\\"lookup in pairs\\\"))(set-var! g$menulist (call-yail-primitive make-yail-list (*list-for-runtime* ) '() \\\"make a list\\\"))(foreach $清單項目 (begin (call-yail-primitive yail-list-add-to-list! (*list-for-runtime* (get-var g$menulist) (call-yail-primitive yail-alist-lookup (*list-for-runtime* \\\"\\\\u9910\\\\u5ef3\\\\u540d\\\\u7a31\\\" (lexical-value $清單項目) \\\"not found\\\") '(any list any) \\\"lookup in pairs\\\") ) '(list any ) \\\"add items to list\\\")) (get-var g$selectlist))(set-and-coerce-property! 'ListView1 'Elements (get-var g$menulist) 'list))\\n;;; ListView1\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.ListView ListView1 \\n(set-and-coerce-property! 'ListView1 'BackgroundColor #xFFCCCCCC 'number)\\n\\n(set-and-coerce-property! 'ListView1 'Height 400 'number)\\n\\n(set-and-coerce-property! 'ListView1 'Width -1090 'number)\\n\\n(set-and-coerce-property! 'ListView1 'SelectionColor #xFFFFC800 'number)\\n\\n)\\n\\n(define-event ListView1 AfterPicking()(set-this-form)\\n (let ( ($restaurant (call-yail-primitive yail-list-get-item (*list-for-runtime* (get-var g$selectlist) (get-property 'ListView1 'SelectionIndex)) '(list number) \\\"select list item\\\")) ) (call-component-method '對話框1 'ShowMessageDialog (*list-for-runtime* (call-yail-primitive string-append (*list-for-runtime* \\\"\\\\u5730\\\\u5740:\\\" (call-yail-primitive yail-alist-lookup (*list-for-runtime* \\\"\\\\u5730\\\\u5740\\\" (lexical-value $restaurant) \\\"not found\\\") '(any list any) \\\"lookup in pairs\\\") \\\"\\u003cbr\\u003e\\\\u96fb\\\\u8a71:\\\" (call-yail-primitive yail-alist-lookup (*list-for-runtime* \\\"\\\\u96fb\\\\u8a71\\\" (lexical-value $restaurant) \\\"not found\\\") '(any list any) \\\"lookup in pairs\\\") \\\"\\u003cbr\\u003e\\\\u7db2\\\\u5740:\\\" (call-yail-primitive yail-alist-lookup (*list-for-runtime* \\\"\\\\u7db2\\\\u5740\\\" (lexical-value $restaurant) \\\"not found\\\") '(any list any) \\\"lookup in pairs\\\") \\\"\\u003cbr\\u003e\\\\u5099\\\\u8a3b:\\\" (call-yail-primitive yail-alist-lookup (*list-for-runtime* \\\"\\\\u5099\\\\u8a3b\\\" (lexical-value $restaurant) \\\"not found\\\") '(any list any) \\\"lookup in pairs\\\") ) '(text text text text text text text text ) \\\"join\\\") (call-yail-primitive yail-alist-lookup (*list-for-runtime* \\\"\\\\u9910\\\\u5ef3\\\\u540d\\\\u7a31\\\" (lexical-value $restaurant) \\\"not found\\\") '(any list any) \\\"lookup in pairs\\\") \\\"\\\\u78ba\\\\u5b9a\\\") '(text text text)) ))\\n;;; Web1\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.Web Web1 \\n)\\n\\n(define-event Web1 GotText($url $responseCode $responseType $responseContent)(set-this-form)\\n (if (call-yail-primitive yail-equal? (*list-for-runtime* (lexical-value $responseCode) 200) '(any any) \\\"=\\\") (begin (set-var! g$datalist (call-component-method 'Web1 'JsonTextDecode (*list-for-runtime* (lexical-value $responseContent)) '(text))))))\\n;;; 對話框1\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.Notifier 對話框1 \\n)\\n\\n(init-runtime)\"},\"settings\":\"{\\\"SimpleSettings\\\":{\\\"AccentColor\\\":\\\"\\u0026HFFFF4081\\\",\\\"ActionBar\\\":\\\"False\\\",\\\"AppName\\\":\\\"IND306\\\",\\\"Icon\\\":\\\"\\\",\\\"PhoneTablet\\\":\\\"False\\\",\\\"PrimaryColor\\\":\\\"\\u0026HFF3F51B5\\\",\\\"PrimaryColorDark\\\":\\\"\\u0026HFF303F9F\\\",\\\"ShowHiddenComponents\\\":\\\"False\\\",\\\"ShowListsAsJson\\\":\\\"False\\\",\\\"Sizing\\\":\\\"Fixed\\\",\\\"Theme\\\":\\\"Classic\\\",\\\"TutorialURL\\\":\\\"\\\",\\\"UsesLocation\\\":\\\"False\\\",\\\"VersionCode\\\":\\\"1\\\",\\\"VersionName\\\":\\\"1.0\\\"}}\"}","created_at":"2020-03-15T10:28:40.405+08:00","updated_at":"2020-03-15T11:27:25.329+08:00","name":"IND306","language":"appinventor","screenshot":{"url":null},"parent_id":133457,"plugin":null,"description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":114,"hashid":"vngsqg46","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[]
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
繁中
简中
English
日本語
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦