Backup/Discuz.Web/javascript/template_showgoods.js
(开头部分) 22KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
function showgoodsinfo(objid){
$('showdetail').style.display = 'none';
$('othermessage').style.display = 'none';
$('pricelist').style.display = 'none';
$('messagebox').style.display = 'none';
$('li_showdetail').className = '';
$('li_othermessage').className = '';
$('li_pricelist').className = '';
$('li_messagebox').className = '';
if(objid == 'showdetail'){
$('othermessage').style.display = 'block';
$('pricelist').style.display = 'block';
$('messagebox').style.display = 'block';
$('othermessage_h3').style.display = 'block';
$('pricelist_h3').style.display = 'block';
$('messagebox_h3').style.display = 'block';
}
else {
$(objid +'_h3').style.display = 'none';
$(objid).style.background = 'none';
}
$('li_' + objid).className = "current";
$(objid).style.display = "block";
}
function imgzoom(o) {
if(event.ctrlKey) {
var zoom = parseInt(o.style.zoom, 10) || 100;
zoom -= event.wheelDelta / 12;
if(zoom > 0) {
o.style.zoom = zoom + '%';
}
return false;
}
else {
return true;
}
}
/*************************************************分页函数****************************************************/
function ajaxpagination(ajaxfunction, recordcount, pagesize, currentpage, divname) {
var allcurrentpage = 0;
var next = 0;
var pre = 0;
var startcount = 0;
var endcount = 0;
var currentpagestr = '<BR />';
if (currentpage < 1) {
currentpage = 1;
}
后面还有 519 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
