File:goods-offer.html
Method:query(table,*app,*connect)
default.element
对像不存在
help.xmls
...helpnavi(format1,format2){
@querycata=$query(catalog,content);
@queryhelp=$query(content,content);
@catatb=@querycata.table(['CatalogId,CatalogName'],['ParentId=1 and Status=1'],['Grade desc,CatalogId']);
@catalist=@catatb.format(@format1){
@queryhelp[CatalogId]=$var[CatalogId];
@ctb=@queryhelp.table(['Title,ContentId,CatalogId'],['CatalogId={*CatalogId} and Status=1'],['Grade desc,ContentId asc']);
@clist=@ctb.format(@format2);
}
$return(@catalist);
}
$sub selectElement(format){
@query=$query(element,page);
@query[ParentId]=6;
@tableMap=@query.table(['ElementName,Link,Grade'],['ParentId={*ParentId}'],['Grade desc']);
@Pagelist=@tableMap.format(@format);
$return(@Pagelist);
}
$sub selectloginbg(format){
@query=$query(element,page);
@query[ParentId]=54;
@tableMap=@query.table(['ElementName,Link,Grade,Pic'],['ParentId={*ParentId} and Status=1'],['Grade desc']);
@Pagelist=@tableMap.format(@format);
$return(@Pagelist);
}
$sub title(){
@id=$http.get(id,$n...