You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pdd-order-api/app/views/widget/goods/batch_index_top_nav.php

17 lines
2.2 KiB
PHTML

1 year ago
<div class="page-header">
</div>
<div class="batch-top-nav">
<?php foreach ($batchTypeMapIndex as $bTIndex => $bTName) { ?>
<?php if ($bTIndex == BatchConst::batchTypeOther) { ?>
<a href="<?php echo Zc::url(RouteConst::goodsBatchIndex, array('batchType' => $bTIndex, 'secondHand' => true));?>" class="<?php echo ($batchType == $bTIndex && $_GET['secondHand']) ? 'active' : ''?>"><?php echo '是否二手'; ?></a>&nbsp;
<a href="<?php echo Zc::url(RouteConst::goodsBatchIndex, array('batchType' => $bTIndex, 'shipmentLimitSecond' => true));?>" class="<?php echo ($batchType == $bTIndex && $_GET['shipmentLimitSecond']) ? 'active' : ''?>"><?php echo '发货承诺时间'; ?></a>&nbsp;
<a href="<?php echo Zc::url(RouteConst::goodsBatchIndex, array('batchType' => $bTIndex, 'isRefundable' => true));?>" class="<?php echo ($batchType == $bTIndex && $_GET['isRefundable']) ? 'active' : ''?>"><?php echo '7天无理由退换货'; ?></a>&nbsp;
<a href="<?php echo Zc::url(RouteConst::goodsBatchIndex, array('batchType' => $bTIndex, 'isFolt' => true));?>" class="<?php echo ($batchType == $bTIndex && $_GET['isFolt']) ? 'active' : ''?>"><?php echo '假一赔十'; ?></a>&nbsp;
<a href="<?php echo Zc::url(RouteConst::goodsBatchIndex, array('batchType' => $bTIndex, 'customerNum' => true));?>" class="<?php echo ($batchType == $bTIndex && $_GET['customerNum']) ? 'active' : ''?>"><?php echo '团购人数'; ?></a>&nbsp;
<a href="<?php echo Zc::url(RouteConst::goodsBatchIndex, array('batchType' => $bTIndex, 'orderLimit' => true));?>" class="<?php echo ($batchType == $bTIndex && $_GET['orderLimit']) ? 'active' : ''?>"><?php echo '单次限量'; ?></a>&nbsp;
<a href="<?php echo Zc::url(RouteConst::goodsBatchIndex, array('batchType' => $bTIndex, 'buyLimit' => true));?>" class="<?php echo ($batchType == $bTIndex && $_GET['buyLimit']) ? 'active' : ''?>"><?php echo '限购次数'; ?></a>&nbsp;
<?php } ?>
<a href="<?php echo Zc::url(RouteConst::goodsBatchIndex, array('batchType' => $bTIndex));?>" class="<?php echo ($batchType == $bTIndex && $noOtherGetParams) ? 'active' : ''?>"><?php echo $bTName; ?></a>&nbsp;
<?php } ?>
</div>