114 lines
4.5 KiB
HTML
Executable File
114 lines
4.5 KiB
HTML
Executable File
<include file="Public/Header" />
|
|
|
|
<!-- nav start -->
|
|
<include file="Public/Nav" />
|
|
<!-- nav end -->
|
|
|
|
<!-- header top nav -->
|
|
<include file="Public/HeaderTopNav" />
|
|
|
|
<!-- search -->
|
|
<include file="Public/NavSearch" />
|
|
|
|
<!-- header nav -->
|
|
<include file="Public/HeaderNav" />
|
|
|
|
<!-- goods category -->
|
|
<include file="Public/GoodsCategory" />
|
|
|
|
<!-- content -->
|
|
<div class="am-container user-main">
|
|
|
|
<!-- user menu start -->
|
|
<include file="Public/UserMenu" />
|
|
<!-- user menu end -->
|
|
|
|
<!-- content start -->
|
|
<div class="user-content">
|
|
<div class="user-content-body">
|
|
<!-- 基础信息 -->
|
|
<div class="user-base">
|
|
<div class="user-base-left">
|
|
<div class="user-avatar">
|
|
<img src="{{$user.avatar}}" />
|
|
<p class="user-name">{{$user.user_name_view}}</p>
|
|
</div>
|
|
<div class="items">
|
|
<a href="javascript:;" class="am-icon-camera-retro" data-am-modal="{target:'#user-avatar-popup'}"> 修改头像</a>
|
|
<a href="{{:U('Home/Personal/SaveInfo')}}" class="am-icon-edit"> 修改资料</a>
|
|
<a href="{{:U('Home/UserAddress/Index')}}" class="am-icon-street-view"> 我的地址</a>
|
|
</div>
|
|
</div>
|
|
<div class="user-base-right">
|
|
<a href="{{:U('Home/Message/Index')}}" class="am-icon-bell-o message"> 消息 <if condition="$common_message_total gt 0">{{$common_message_total}}</if></a>
|
|
</div>
|
|
<ul class="user-base-icon">
|
|
<li>
|
|
<a href="{{:U('Home/Order/Index')}}">
|
|
<p>{{$user_order_count}}</p>
|
|
<p>订单总数</p>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="{{:U('Home/UserFavor/Goods')}}">
|
|
<p>{{$user_goods_favor_count}}</p>
|
|
<p>商品收藏</p>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="{{:U('Home/UserGoodsBrowse/Index')}}">
|
|
<p>{{$user_goods_browse_count}}</p>
|
|
<p>我的足迹</p>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<!-- 订单信息 -->
|
|
<div class="order-nav">
|
|
<a href="{{:U('Home/Order/Index')}}">
|
|
<span class="nav-name">
|
|
<i class="order-icon"></i>
|
|
我的订单
|
|
</span>
|
|
<span class="am-fr icon-tips">
|
|
查看全部订单
|
|
<i class="am-icon-angle-right"></i>
|
|
</span>
|
|
</a>
|
|
</div>
|
|
<notempty name="user_order_status">
|
|
<ul class="order-base">
|
|
<foreach name="user_order_status" item="v">
|
|
<if condition="in_array($v['status'], [1,2,3])">
|
|
<li>
|
|
<a href="{{:U('Home/Order/Index', ['is_more'=>1, 'status'=>$v['status']])}}">
|
|
<i class="icon-{{$v.status}}"></i>
|
|
<p>{{$v.name}}</p>
|
|
<notempty name="v.count">
|
|
<span class="am-badge am-badge-danger am-round">{{$v.count}}</span>
|
|
</notempty>
|
|
</a>
|
|
</li>
|
|
<elseif condition="in_array($v['status'], [100])" />
|
|
<li>
|
|
<a href="{{:U('Home/Order/Index', ['is_more'=>1, 'is_comments'=>0, 'status'=>4])}}">
|
|
<i class="icon-{{$v.status}}"></i>
|
|
<p>{{$v.name}}</p>
|
|
<notempty name="v.count">
|
|
<span class="am-badge am-badge-danger am-round">{{$v.count}}</span>
|
|
</notempty>
|
|
</a>
|
|
</li>
|
|
</if>
|
|
</foreach>
|
|
</ul>
|
|
</notempty>
|
|
</div>
|
|
</div>
|
|
<!-- content end -->
|
|
</div>
|
|
|
|
<!-- footer start -->
|
|
<include file="Public/Footer" />
|
|
<!-- footer end --> |