Browse Source

Merge remote-tracking branch 'origin/master'

master
zhangf@suq.cn 2 weeks ago
parent
commit
f5d119ed74
  1. 7
      public/themes/dist_static/static/css/news-detail.css
  2. 8
      public/themes/website/1/zh/demo/news-detail.html

7
public/themes/dist_static/static/css/news-detail.css

@ -190,6 +190,7 @@
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
min-width: 0;
height: 3.5rem; height: 3.5rem;
overflow: hidden; overflow: hidden;
border-radius: 1rem; border-radius: 1rem;
@ -223,6 +224,12 @@
.nd-pager__label { .nd-pager__label {
position: relative; position: relative;
z-index: 1; z-index: 1;
display: block;
max-width: 100%;
padding: 0 1rem;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
} }
@media (max-width: 1439px) { @media (max-width: 1439px) {

8
public/themes/website/1/zh/demo/news-detail.html

@ -175,20 +175,20 @@
{/php} {/php}
{if condition="empty($preId)"} {if condition="empty($preId)"}
<a class="nd-pager__item nd-pager__item--prev" href="javascript:;"> <a class="nd-pager__item nd-pager__item--prev" href="javascript:;">
<span class="nd-pager__label">上一篇:没有了</span>
<span class="nd-pager__label" title="没有了">上一篇:没有了</span>
</a> </a>
{else /} {else /}
<a class="nd-pager__item nd-pager__item--prev" href="{:hcUrl('Detail/index',['id'=>$preId,'cid'=>$preCid])}"> <a class="nd-pager__item nd-pager__item--prev" href="{:hcUrl('Detail/index',['id'=>$preId,'cid'=>$preCid])}">
<span class="nd-pager__label">上一篇:{$preTitle}</span>
<span class="nd-pager__label" title="{$preTitle}">上一篇:{$preTitle}</span>
</a> </a>
{/if} {/if}
{if condition="empty($nextId)"} {if condition="empty($nextId)"}
<a class="nd-pager__item nd-pager__item--next" href="javascript:;"> <a class="nd-pager__item nd-pager__item--next" href="javascript:;">
<span class="nd-pager__label">下一篇:没有了</span>
<span class="nd-pager__label" title="没有了">下一篇:没有了</span>
</a> </a>
{else /} {else /}
<a class="nd-pager__item nd-pager__item--next" href="{:hcUrl('Detail/index',['id'=>$nextId,'cid'=>$nextCid])}"> <a class="nd-pager__item nd-pager__item--next" href="{:hcUrl('Detail/index',['id'=>$nextId,'cid'=>$nextCid])}">
<span class="nd-pager__label">下一篇:{$nextTitle}</span>
<span class="nd-pager__label" title="{$nextTitle}">下一篇:{$nextTitle}</span>
</a> </a>
{/if} {/if}
</nav> </nav>

Loading…
Cancel
Save