Exemple #1
0
/* @var $this yii\web\View */
$this->title = '处理货物';
use frontend\services\OrderService;
use yii\widgets\ListView;
use frontend\extensions\scrollpager\ScrollPager;
use yii\helpers\Url;
$p_param = \Yii::$app->request->get();
if (!isset($p_param['status'])) {
    $status = 0;
} else {
    $status = intval($p_param['status']);
}
$user_id = Yii::$app->user->getId();
$data = ['user_id' => $user_id, 'limit' => 10, 'p_param' => $p_param];
$productorders = OrderService::findBuyOrder($data);
?>
<div class="container no-bottom">
    <img class="responsive-image" src="/images/misc/help_server.png" alt="img">
</div>
<div class="container">
    <div class="tabs">
        <a href="<?php 
echo Url::toRoute('/member/product/fititem');
?>
" class="tab-but tab-but-1<?php 
echo $status == 0 ? ' tab-active' : '';
?>
">处理中</a>
        <a href="<?php 
echo Url::toRoute('/member/product/fititem');