2018-12-28 10:58:37 +00:00
|
|
|
|
{{include file="public/header" /}}
|
|
|
|
|
|
|
|
|
|
|
|
<!-- header top nav -->
|
|
|
|
|
|
{{include file="public/header_top_nav" /}}
|
|
|
|
|
|
|
|
|
|
|
|
<!-- search -->
|
|
|
|
|
|
{{include file="public/nav_search" /}}
|
|
|
|
|
|
|
|
|
|
|
|
<!-- header nav -->
|
|
|
|
|
|
{{include file="public/header_nav" /}}
|
|
|
|
|
|
|
|
|
|
|
|
<!-- goods category -->
|
|
|
|
|
|
{{include file="public/goods_category" /}}
|
|
|
|
|
|
|
|
|
|
|
|
<!-- content -->
|
|
|
|
|
|
<div class="am-container user-main">
|
|
|
|
|
|
|
|
|
|
|
|
<!-- user menu start -->
|
|
|
|
|
|
{{include file="public/user_menu" /}}
|
|
|
|
|
|
<!-- user menu end -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- content start -->
|
|
|
|
|
|
<div class="user-content">
|
|
|
|
|
|
<div class="user-content-body">
|
2019-05-10 16:23:36 +00:00
|
|
|
|
<form class="am-form form-validation form-search" method="post" action="{{:MyUrl('index/userfavor/goods')}}" request-type="form">
|
2018-12-28 10:58:37 +00:00
|
|
|
|
<div class="thin">
|
|
|
|
|
|
<div class="am-input-group am-input-group-sm am-fl so">
|
|
|
|
|
|
<input type="text" autocomplete="off" name="keywords" class="am-radius" placeholder="其实搜索很简单 ^_^!" value="{{if !empty($params.keywords)}}{{$params.keywords}}{{/if}}" />
|
|
|
|
|
|
<span class="am-input-group-btn">
|
|
|
|
|
|
<button class="am-btn am-btn-default am-radius" type="submit" data-am-loading="{spinner:'circle-o-notch', loadingText:'搜索中...'}">搜索</button>
|
|
|
|
|
|
</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 商品列表 -->
|
|
|
|
|
|
<div class="data-list">
|
2019-05-07 06:15:20 +00:00
|
|
|
|
<table class="am-table am-table-striped">
|
2018-12-28 10:58:37 +00:00
|
|
|
|
<thead>
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
<th class="base">商品信息</th>
|
|
|
|
|
|
<th class="price">价格</th>
|
|
|
|
|
|
<th class="operate">操作</th>
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
</thead>
|
|
|
|
|
|
<tbody>
|
|
|
|
|
|
{{if !empty($data_list)}}
|
|
|
|
|
|
{{foreach $data_list as $v}}
|
|
|
|
|
|
<tr id="data-list-{{$v.goods_id}}">
|
|
|
|
|
|
<td>
|
|
|
|
|
|
<div class="goods-detail">
|
|
|
|
|
|
<a href="{{$v.goods_url}}" target="_blank">
|
2019-05-28 03:04:31 +00:00
|
|
|
|
<img src="{{$v.images}}" alt="{{$v.title}}" class="am-img-thumbnail am-radius" />
|
2018-12-28 10:58:37 +00:00
|
|
|
|
</a>
|
|
|
|
|
|
<div class="goods-base">
|
|
|
|
|
|
<a href="{{$v.goods_url}}" target="_blank" class="goods-title">{{$v.title}}</a>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</td>
|
|
|
|
|
|
<td>
|
|
|
|
|
|
{{if $v['original_price'] gt 0}}
|
|
|
|
|
|
<p class="original-price">¥{{$v.original_price}}</p>
|
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
<p class="line-price">¥{{$v.price}}</p>
|
|
|
|
|
|
</td>
|
|
|
|
|
|
<td>
|
2019-04-30 08:27:01 +00:00
|
|
|
|
<button type="button" class="am-btn am-btn-danger am-btn-xs am-radius am-btn-block am-icon-paint-brush submit-ajax" data-url="{{:MyUrl('index/userfavor/cancel')}}" data-id="{{$v.goods_id}}" data-view="delete"> 取消</button>
|
2018-12-28 10:58:37 +00:00
|
|
|
|
</td>
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
{{/foreach}}
|
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
</tbody>
|
|
|
|
|
|
</table>
|
2019-05-07 06:15:20 +00:00
|
|
|
|
|
|
|
|
|
|
{{if empty($data_list)}}
|
|
|
|
|
|
<div class="table-no"><i class="am-icon-warning"></i> 没有相关数据</div>
|
|
|
|
|
|
{{/if}}
|
2018-12-28 10:58:37 +00:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 分页 -->
|
|
|
|
|
|
{{if !empty($data_list)}}
|
|
|
|
|
|
{{$page_html|raw}}
|
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<!-- content end -->
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- footer start -->
|
|
|
|
|
|
{{include file="public/footer" /}}
|
|
|
|
|
|
<!-- footer end -->
|