File:en/product-deta-page.html
Method:map.get(key,default)
goodpara??get
类型不正确
en/xmls/product.xmls
...ign:center;font-size:20px;padding-top:20px;font-family:'Californian FB';">UNDER CONSTURCTION...</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=@querygoods.map(*,['GoodsId={*GoodsId} and Status=1']);
@tag=@goodpara[TagIds];
@stostjudge=$string();
@diimg=$string();
$if(@tag<>$null){
@Tagids=@tag.to(string).split(\,);
@Tagids.foreach(){
@tid=$var[value];
$if(@tid==3){
@diimg.append(['<div class="any-top"><img src="images/special-offer.png" alt=""></div>']);
}
$elseif(@tid==4){
@diimg.append(["<div class="any-top"><img src="images/promotion.png" alt=""></div>"]);
}
$elseif(@tid==5){
@diimg.append(['<div class="any-down"><img src="images/qingzhen.png" alt=""></div>']);
}
$elseif...