⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 商店搜索.config

📁 BizIdea 是基于.net开发平台全新研发的企业级电子商务平台系统
💻 CONFIG
字号:
<root>
  <LabelType>搜索类</LabelType>
  <LabelImage>../../Admin/Images/LabelIco/GetArticleCustom.gif</LabelImage>
  <LabelIntro>雅蓝软件搜索</LabelIntro>
  <LabelDataType>static</LabelDataType>
  <LabelTemplate><![CDATA[  <div class="main_search">
    商品搜索:<select id="nodeId" name="nodeId" size="1">{PE.Label id="栏目分类下拉列表选项" nodeId="4" /}</select><select id="fieldOption" name="fieldOption" size="1"><option value="title" selected>商品名称</option>
      <option value="content">商品简介</option>
      <option value="producerName">厂商</option>
      <option value="trademarkName">品牌/商标</option>
    </select><input id="keyword" onfocus="this.value='';" maxlength="100" size="30" value="" name="Keyword" />
    <input id="Submit" style="border: 0px; width: 65px; height: 21px;" type="image" src="{PE.SiteConfig.applicationpath/}Skin/Default/Images/search_b.gif" name="Submit" onclick="OnSearchCheckAndSubmit();" />
    <!--<a href="{PE.SiteConfig.applicationpath/}search.aspx?searchtype=2&ModelId=5">高级搜索</a>-->
    <a href="{PE.SiteConfig.applicationpath/}shop/AdvancedSearch.aspx">高级搜索</a>
    <script language="javascript" type="text/javascript">
    function OnSearchCheckAndSubmit(){
        var keyword = document.getElementById("keyword").value;
        if (keyword == '' || keyword == null) {
            alert("请填写您想搜索的关键词");
            return;
        }
        else {        
            var nodeSel = document.getElementById("nodeId");
            var fieldOptionSel = document.getElementById("fieldOption");
            var nodeId = nodeSel.options[nodeSel.options.selectedIndex].value;
            var fieldOption = fieldOptionSel.options[fieldOptionSel.options.selectedIndex].value;
            window.location = "{PE.SiteConfig.applicationpath/}search.aspx?searchtype=1&ModelId=5&nodeId=" + nodeId + "&Keyword=" + escape(keyword) + "&fieldOption=" + fieldOption;
        }
    }
    </script>
  </div>]]></LabelTemplate>
  <OutType>txt</OutType>
  <EnabelAjax>False</EnabelAjax>
</root>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -