{{if !empty($data)}}
    {{foreach $data as $v}}
        <li data-id="{{$v.id}}" data-url="{{$v.goods_url}}" data-title="{{$v.title}}" data-img="{{$v.images}}" data-add-html='<a href="javascript:;" class="data-add-submit" data-type="add"><i class="iconfont icon-add-solid am-color-green am-text-xl"></i></a>' data-del-html='<a href="javascript:;" class="data-del-submit" data-type="del"><i class="iconfont icon-close am-color-red am-text-xl"></i></a>'>
            <div class="am-gallery-item am-radius">
                <a href="{{$v.goods_url}}" target="_blank">
                    <img src="{{$v.images}}" alt="{{$v.title}}" class="am-radius" />
                </a>
                <h3 class="am-gallery-title">{{$v.title}}</h3>
                <div class="icon-submit-container">
                    {{if isset($v['is_exist']) and $v['is_exist'] eq 1}}
                        <a href="javascript:;" class="data-del-submit" data-type="del">
                            <i class="iconfont icon-close am-color-red am-text-xl"></i>
                        </a>
                    {{else /}}
                        <a href="javascript:;" class="data-add-submit" data-type="add">
                            <i class="iconfont icon-add-solid am-color-green am-text-xl"></i>
                        </a>
                    {{/if}}
                </div>
            </div>
        </li>
    {{/foreach}}
{{else /}}
    {{:ModuleInclude('public/not_data')}}
{{/if}}