File:en/products.html
Method:if.==(value,compare)
Count
对像不存在
en/xmls/product.xmls
...-of.png" alt=""></div>']);
}
$elseif(@tid==7){
@diimg.append(['<div class="any-top"><img src="images/coming-soon.png" alt=""></div>']);
}
$else{
@diimg.append(['']);
}

}

}

};
@Pager=$control.execute(pager,[#
{?option}<li>
<a href="{*link}">{*text}</a>
</li>
{?selected}<li class="active">
<a href="{*link}">{*text}</a>
</li>
{?pager}
<li>
<a href="{*prev}">Prev</a>
</li>
{*list}
<li>
<a href="{*next}">Next</a>
</li>
#],12,@count,$http.get(page,1),page,3);
$
if(@Count==0){
@collect=['<span style="width:100%;color:#D0D0D0;text-align:center;font-size:15px;padding-top:20px;">Sorry, there is no data at present.</span>'];
@Pager=$empty;
}
$return($empty);
}



//产品详情
$sub productDetails(){
@querygoods=$query(goods,goods);
@querycatalog=$query(catalog,goods);
@queryitemvalue=$query(itemvalue,goods);
@queryitemname=$query(itemname,goods);
@GoodsId=$http.get(id);
@querygoods[GoodsId]=@GoodsId;
@queryitemvalue[GoodsId]=@GoodsId;
@goodpara=@...