<!-- 商品搜索 -->
<div class="am-popup popup-not-title" id="popup-module-goods-search">
    <div class="am-popup-inner">
        <span data-am-modal-close class="am-close am-close-alt am-icon-times"></span>
        <div class="am-popup-bd am-padding-0">
            <form class="am-form form-validation-module-popup-goods-search layout-forth-selection-container" request-type="sync" request-value="FormBackModulePopupGoodsSearch">
                <div data-am-widget="tabs" class="am-tabs am-tabs-d2 am-margin-0">
                    <ul class="am-tabs-nav am-cf">
                        <li class="am-active"><a href="[data-tab-panel-0]" data-value="category">商品分类</a></li>
                        <li><a href="[data-tab-panel-1]" data-value="brand">品牌</a></li>
                        <li><a href="[data-tab-panel-2]" data-value="keywords">关键字</a></li>
                        <li><a href="[data-tab-panel-3]" data-value="other">无需条件</a></li>
                    </ul>
                    <div class="am-tabs-bd">
                        <div data-tab-panel-0 class="am-tab-panel am-padding-0 am-active">
                            <div class="layout-category-choice">
                                <div class="goods-category-choice am-padding-sm form-container-category">
                                    {{include file="../../../layout/view/public/common/goods_category_choice" /}}
                                </div>
                            </div>
                        </div>
                        <div data-tab-panel-1 class="am-tab-panel am-padding-0">
                            <div class="layout-category-choice">
                                <div class="goods-category-choice am-padding-sm form-container-brand">
                                    <div class="goods-category-choice-content am-nbfc">
                                        <ul class="am-scrollable-vertical am-list am-list-border" data-level="1">
                                            {{foreach $brand_list as $k=>$v}}
                                                <li>
                                                    <a href="javascript:;" data-index="{{$k}}" data-value="{{$v.id}}">
                                                        <span>{{$v.name}}</span>
                                                    </a>
                                                </li>
                                            {{/foreach}}
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div data-tab-panel-2 class="am-tab-panel am-padding-0">
                            <div class="am-form-group am-form-group-refreshing">
                                <div class="am-padding-sm form-container-keywords">
                                    <p class="am-margin-top-sm am-text-warning am-text-center">搜索关键字格式1~30个字符</p>
                                    <div class="am-margin-top-sm">
                                        <input type="text" name="goods_search_keywords" placeholder="关键字" maxlength="30" data-validation-message="关键字格式1~30个字符" class="am-radius" />
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div data-tab-panel-3 class="am-tab-panel am-padding-0">
                            <p class="am-margin-top-lg am-padding-top-lg am-text-warning am-text-center">无需搜索条件、直接进入搜索页面</p>
                        </div>
                    </div>
                </div>

                <!-- 操作 -->
                <div class="am-text-center am-padding-sm goods-bottom-operate-container">
                    <button type="button" class="am-btn am-btn-warning am-radius am-btn-xs am-margin-right-sm" data-am-modal-close>取消</button>
                    <button type="submit" class="am-btn am-btn-primary am-radius am-btn-xs am-margin-left-sm" data-am-loading="{loadingText: '处理中...'}">确认</button>   
                </div>
            </form>
        </div>
    </div>
</div>