Exemplo n.º 1
0
?>
" style="width: 192px;height: 256px;" class="img-responsive" alt="<?php 
echo $row['name'];
?>
">
            <div>
                <a href="<?php 
echo $this->img . $row['l_url'];
?>
"
                   class="btn btn-default fancybox-button">大图</a>
                <a href="/product/detail?&id=<?php 
echo $row['product_id'];
?>
" data-fancybox-type="ajax" class="btn btn-default fancybox-fast-view">预览</a>
            </div>
        </div>
        <h3><a href="/product.html?id=<?php 
echo $row['product_id'];
?>
" target="_blank"><?php 
echo GlobalFunc::globalSubstr($row['name'], 10);
?>
</a></h3>
        <div class="pi-price">¥<?php 
echo $row['price'];
?>
</div>
        <a href="#" class="btn btn-default add2cart">加入购物车</a>
    </div>
</li>