<%@ Page CodeFileBaseClass="AliCMS.Lib.SystemPageBase" %>
[
	<ali:List Object="Type.Spec" Condition="TypeID=Request.QueryString['TypeID']">
		<ali:Record>
			{
				"id":"<%=ID%>","sort":"<%=Sort%>","name":"<%=Name%>","isColor":<%=Convert.ToString(IsColor).ToLower()%>,"canUpload":<%=Convert.ToString(CanUpload).ToLower()%>,"options":
				[
					<ali:List Object="Type.Spec.Option" Condition="SpecID=ID">
						<ali:Record>
							{"id":"<%=ID%>","no":"<%=No%>","name":"<%=Name%>","color":"<%=Color%>"}
							<ali:Separator>,</ali:Separator>
						</ali:Record>
					</ali:List>
				]
			}
			<ali:Separator>,</ali:Separator>
		</ali:Record>
	</ali:List>
]