You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

36 lines
3.2 KiB

<div class="home-title">
<i class="icon"></i>
<a href="./user.php" class="pre-home">个人主页</a>
</div>
<div id="menu">
<dl class="fore1">
<dt><i class="icon stretch-icon"></i><span>订单中心</span></dt>
<dd <?php if ($this->_var['action'] == 'order_list' || $this->_var['action'] == 'order_detail'): ?>class="current"<?php endif; ?>><a href="user.php?act=order_list" target="_self">我的订单</a></dd>
<dd <?php if ($this->_var['action'] == 'address_list' || $this->_var['action'] == 'address'): ?>class="current"<?php endif; ?>><a href="user.php?act=address_list" target="_self">收货地址</a></dd>
<dd <?php if ($this->_var['action'] == 'booking_list'): ?>class="current"<?php endif; ?>><a href="user.php?act=booking_list" target="_self">缺货登记</a></dd>
<dd <?php if ($this->_var['action'] == 'return_list' || $this->_var['action'] == 'return_detail'): ?>class="current"<?php endif; ?>><a href="user.php?act=return_list" target="_self">退换货订单</a></dd>
</dl>
<dl class="fore2">
<dt><i class="icon stretch-icon"></i><span>会员中心</span></dt>
<dd <?php if ($this->_var['action'] == 'profile'): ?>class="current"<?php endif; ?>><a href="user.php?act=profile" target="_self">用户信息</a></dd>
<dd <?php if ($this->_var['action'] == 'collection_list' || $this->_var['action'] == 'store_list'): ?>class="current"<?php endif; ?>><a href="user.php?act=collection_list" target="_self">我的收藏</a></dd>
<dd <?php if ($this->_var['action'] == 'message_list'): ?>class="current"<?php endif; ?>><a href="user.php?act=message_list" target="_self">我的留言</a></dd>
<?php if ($this->_var['affiliate']['on'] == 1): ?>
<dd <?php if ($this->_var['action'] == 'affiliate'): ?>class="current"<?php endif; ?>><a href="user.php?act=affiliate" target="_self">我的推荐</a></dd>
<?php endif; ?>
<dd <?php if ($this->_var['action'] == 'comment_list' || $this->_var['action'] == 'commented_view'): ?>class="current"<?php endif; ?>><a href="user.php?act=comment_list" target="_self">评论/晒单</a></dd>
</dl>
<dl class="fore3<?php if ($this->_var['is_merchants'] == 0): ?> last<?php endif; ?>">
<dt><i class="icon stretch-icon"></i><span>账户中心</span></dt>
<dd <?php if ($this->_var['action'] == 'bonus'): ?>class="current"<?php endif; ?>><a href="user.php?act=bonus" target="_self">我的红包</a></dd>
<dd <?php if ($this->_var['action'] == 'track_packages'): ?>class="current"<?php endif; ?>><a href="user.php?act=track_packages" target="_self">跟踪包裹</a></dd>
<dd <?php if ($this->_var['action'] == 'account_log' || $this->_var['action'] == 'account_detail' || $this->_var['action'] == 'account_raply' || $this->_var['action'] == 'account_deposit' || $this->_var['action'] == 'act_account'): ?>class="current"<?php endif; ?>><a href="user.php?act=account_log" target="_self">资金管理</a></dd>
</dl>
<?php if ($this->_var['is_merchants'] > 0): ?>
<dl class="fore4 last">
<dt><i class="icon stretch-icon"></i><span>店铺管理</span></dt>
<dd><a href="./admin" target="_self">进入店铺后台</a></dd>
</dl>
<?php endif; ?>
</div>