瀏覽代碼

修复链接匹配伪静态PageNo

adminsite
叙述、别离 6 天之前
父節點
當前提交
49db1ab282
共有 1 個檔案被更改,包括 5 行新增2 行删除
  1. +5
    -2
      src/theme/dedebiz/article_image.htm

+ 5
- 2
src/theme/dedebiz/article_image.htm 查看文件

@@ -43,7 +43,7 @@
} else if (displaytype == 'st' && namehand != '') {
location.href = namehand + "-" + (npage - 1) + shortname;
} else {
location.href = "{dede:global.cfg_phpurl/}/view.php?aid={dede:field.id/}&pageno=" + (npage - 1);
location.href = "{dede:global.cfg_phpurl/}/view.php?aid={dede:field.id/}&PageNo=" + (npage - 1);
}
}
}
@@ -53,7 +53,7 @@
ShowMsg("没有了哦");
} else {
if (displaytype == 'st' && namehand != '') location.href = namehand + "-" + (npage + 1) + shortname;
else location.href = "{dede:global.cfg_phpurl/}/view.php?aid={dede:field.id/}&pageno=" + (npage + 1);
else location.href = "{dede:global.cfg_phpurl/}/view.php?aid={dede:field.id/}&PageNo=" + (npage + 1);
}
}
</script>
@@ -81,6 +81,9 @@
<span><i class="fa fa-user mr-2"></i>{dede:field.writer/}</span>
<span><i class="fa fa-eye mr-2"></i><script src="{dede:global.cfg_phpurl/}/count.php?view=yes&aid={dede:field.id/}&mid={dede:field name='mid'/}"></script>次</span>
</div>
<nav class="column-page py-3">
<ul class="pagination justify-content-center">{dede:pagebreak/}</ul>
</nav>
<div class="picbox py-3">
{dede:field name='pagestyle' alt='输出不同的图片头信息' runphp='yes'}
if (@me==3) {


Loading…
取消
儲存