{extend name="./layout"}

{block name="content"}
<li><span class="span_up">商品分类</span>
    <select name="cateid" id="cateid" onchange="selectcateid()">
        <option value="">请选择分类</option>
        {foreach $categorys as $v}
        <option value="{$v.id}">{$v.name}</option>
        {/foreach}
    </select>
</li>
<li><span class="span_up">商品名称</span>
    <select name="goodid" id="goodid" onchange="selectgoodid()">
        <option value="">请选择商品</option>
    </select>
    <a class="spsm" onclick="layer_remark()">[ 卖家公告 ]</a>
    <span id="notice" style="display: none">{$shop.shop_notice}</span>
    <script>
        function layer_remark() {
            var gonggao = $('#notice').text();
            layer.open({
                time: 5000,
                content: gonggao,
                shadeClose: true
            });
        }
    </script>
</li>
{/block}