hlzyWeb/Templates/common/skin-vProductSearch.html
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<hi:common_header runat="server" />
<div class="pbox pbox-select">
<div class="pbox-select-border">
<input type="text" id="txtKeywords" placeholder="" />
<span class="input-group-btn">
<button type="submit" class="btn btn-warning" data-type="last" onclick="searchs()">搜索</button>
</span>
</div>
</div>
<ul class="pbox-select-tags">
<hi:vshoptemplatedrepeater id="rptCategories" templatefile="/Tags/skin-Common_Categories.ascx"
runat="server" />
</ul>
<hi:common_footer runat="server" />
<script type="text/javascript">
function searchs() {
var key = $("#txtKeywords").val();
var str = window.location.search;
var categoryId;
if (-1 == str.indexOf("&keyWord=")) {
categoryId = str.substring(str.indexOf("categoryId=") + 11);
} else {
categoryId = str.substring(str.indexOf("categoryId=") + 11, str.indexOf("&keyWord="));
}
var url = "ProductList.aspx?categoryId=" + categoryId + "&keyWord=" + escape(key);
window.location.href = url;
}
$(document).ready(function () {
var str = window.location.search;
if (str.indexOf("keyWord=") != -1) {
var keyWord = str.substring(str.indexOf("keyWord=") + 8);
if (keyWord.length > 0) {
$("#txtKeywords").val(keyWord);
}
}
});
$(".hfooter .glyphicon-refresh").click(function () {
location.reload();
})
$(".hfooter .glyphicon-arrow-left").click(function () {
history.go(-1);
})
//隐藏右上角菜单
document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
WeixinJSBridge.call('hideOptionMenu');
});
//隐藏底部菜单
后面还有 29 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
