service@xinpop.cn
pbootcms網(wǎng)站建設(shè)制作中縮略圖調(diào)用的妙用.筆者在使用pbootcms建站過(guò)程中.首頁(yè)的簡(jiǎn)介內(nèi)容部分需要調(diào)用一個(gè)簽名.發(fā)現(xiàn)后臺(tái)有兩個(gè)部分可以分開(kāi)添加圖片就可以實(shí)現(xiàn)簡(jiǎn)介下方添加簽名圖片.具體操作如下:
1.在系統(tǒng)的“基礎(chǔ)內(nèi)容”下方,“內(nèi)容欄目”的“高級(jí)選項(xiàng)”里添加“欄目縮略圖”,還可以添加欄目大圖。

2.在“文章內(nèi)容”下的子菜單“專題內(nèi)容”里添加“縮略圖”,就是首頁(yè)簡(jiǎn)介下方需要的簽名圖片效果。

3.呈現(xiàn)的效果如下圖:

4.直接上代碼,需要的朋友歡迎復(fù)制使用。
<div class="col-lg-8 col-12">
<div class="about__content">
{pboot:sort scode=1}
<h3 class="text-uppercase">
[sort:name]
</h3>
<p style="font-size:17px;text-align:justify; text-justify:inter-word">
[sort:description len=1450]
</p>
{/pboot:sort}
{pboot:content id=1}
<img class="signature" src="[content:ico]" alt="signature">
{/pboot:content}
</div>
</div>