<?xml version="1.0" encoding="utf-8"?>
<!--By Supcan TreeList -->
<freeform>
	<Properties>
		<Expresses>
			<!-- 下面的手机图片 <image id="picture" ...> 的 src 的表达式-->
			<Express>picture='../treelistdata/phones.zip#' +name+ '.jpg'</Express>
		</Expresses>
	</Properties>
	<Fonts>
		<Font height="-14" />
		<Font facename="微软雅黑" height="-16" bold="1"/>
		<Font height="16"/>
		<Font facename="consolas" height="24" weight="700" italic="1" />
		<Font facename="Comic sans ms" height="26" weight="700"/>
		<!-- 带删除线(StrikeOut) -->
		<Font facename="consolas" height="22" StrikeOut="1" weight="700" />
		<Font facename="Comic sans ms" height="24" weight="700"/>
		<!-- 旋转45度(Escapement) -->
		<Font  weight="700" Escapement="450" height="16" />
	</Fonts>
	<Objects>
		<!-- 顶部浅蓝渐变条 -->
		<rect x="0" y="0" width="100%" height="8%" thick="0" bgColor="#d0e0e0,#ffffff" />
		<!-- 底部浅蓝渐变条 -->
		<rect x="0" y="70%" width="100%" height="30%" thick="0" bgColor="#ffffff,#ddeeee" />

		<!-- 左侧红色斜杠，在path1路径内涂色 -->
		<rect x="0" y="0" width="100" height="100" pathID="path1" Filter="start.color=red; start.x=0; start.y=0; end.x=100%; end.y=100%" thick="0" />
		<!-- 排名 -->
		<text id="class" x="6" y="53" fontIndex="7" width="100" displayMask="'排名：' + data" textColor="white" />

		<!-- 产品型号 -->
		<text id="name"  x="0" y="24" width="100%" height="50" fontIndex="4" textColor="red" align="center" />

		<!-- 特征等 -->
		<text id="spc1" x="0" y="8"  width="96%" align="right" fontIndex="1" textColor="#0066ff" />
		<text id="spc2" x="0" y="30" width="96%" align="right" fontIndex="1" textColor="#0077ff" />
		<input id="brand"   x="0" y="100" lefttext="品牌: " leftsize="70" />
		<input id="quality" x=".left" y=".bottom+1" lefttext="质保: " leftsize="70" />
		<input id="madein"  x=".left" y=".bottom+1" lefttext="产地: " leftsize="70" />
	
		<!-- 手机图片 -->
		<image id="picture" x="68%" y="17%" width="100" height="170" arrange="bottom,center"/>
		<!-- 爆炸图 -->
		<image x=".left-50" y=".top+92" src="../treelistdata/alert.png" isUseOriSize="true" />
		<!-- 价格 -->
		<text id="price2"  x=".left" y=".top" width=".width" height=".height" fontIndex="6" textColor="white" align="center" valign="vcenter" displayMask="'￥'+data" />
		<text id="price1"  x=".left - 130"  y=".top" width="120" height=".height" fontIndex="5"  align="center" valign="vcenter" displayMask="'原价: '+data" />
		<!-- 销量 -->
		<text x="40" y="picture.bottom-19" width="100" align="right" Text="本月销售量: " valign="center"/>
		<text id="num" x=".right" y=".top" width="120" fontIndex="3" textColor="#880000" valign="center" />
		
		<!-- 下方的镜面倒影 -->
		<rect x="0" y="picture.bottom" width="100%" height="30" mirror="offset=-2;alpha=110" thick="0" />
	</Objects>
	<Paths>
		<!-- 画红色斜杠所需的路径 -->
		<Path id="path1">
			<points>
				<point>0,50%</point>
				<point>0,100%</point>
				<point>100%,0</point>
				<point>50%,0</point>
			</points>
		</Path>
	</Paths>
</freeform>