示例#1
0
    echo $nestedRubric->getRoute();
    ?>
" class="<?php 
    echo $this->params['rubric'] && $nestedRubric->id === $this->params['rubric']->id ? 'active' : '';
    ?>
"><?php 
    echo $nestedRubric->title;
    ?>
</a>
            <?php 
}
?>
        </div>

        <?php 
echo ProductsList::widget(['dataProvider' => $dataProvider]);
?>

        <div class="mob-catalog">
            <div class="column-header">recomended</div>
            <div class="catalog-list catalog-line">
                <div class="catalog-line-item">
                    <div class="catalog-img"><a href=""><img src="<?php 
echo $this->params['bundle']->baseUrl;
?>
/img/tovar.jpg" alt=""></a></div>
                    <div class="catalog-line-txt" style="margin-top: 87.5px;">
                        <a href="" class="catalog-bookmark"></a>
                        <h3><a href="">Casio GA-100-1A4E</a></h3>
                        <p>Living up to G-Shock's reputation for big case designs, comes a revolution in case size with the introduction of the X-Large G. Black resin band digital and analog watch with black face.</p>
                                        <span class="star-box">
示例#2
0
<?php

use frontend\widgets\ProductsList;
/* @var $this yii\web\View */
/* @var $dataProvider \yii\data\ActiveDataProvider */
?>

<div class="tab-box">
    <div class="user-col-right">
        <div class="content">
            <div class="column-header">Favorites</div>
            <?php 
echo ProductsList::widget(['dataProvider' => $dataProvider, 'showLinkPager' => false, 'showInputPager' => true, 'wishIconOptions' => ['reload' => true]]);
?>
        </div>
    </div>
</div>
示例#3
0
<?php

use frontend\widgets\ProductsList;
/* @var $this yii\web\View */
/* @var $dataProvider \yii\data\ActiveDataProvider */
?>

<div class="user-col-right">
    <div class="content">
        <div class="column-header">You watched</div>
        <?php 
echo ProductsList::widget(['dataProvider' => Yii::$app->recently->getProvider(), 'showLinkPager' => false, 'showInputPager' => true]);
?>
    </div>
</div>