service@xinpop.cn
pbootcms網(wǎng)站建設(shè)制作中縮略圖調(diào)用的妙用.筆者在使用pbootcms建站過程中.首頁的簡介內(nèi)容部分需要調(diào)用一個簽名.發(fā)現(xiàn)后臺有兩個部分可以分開添加圖片就可以實現(xiàn)簡介下方添加簽名圖片.具體操作如下:
1.在系統(tǒng)的“基礎(chǔ)內(nèi)容”下方,“內(nèi)容欄目”的“高級選項”里添加“欄目縮略圖”,還可以添加欄目大圖。
2.在“文章內(nèi)容”下的子菜單“專題內(nèi)容”里添加“縮略圖”,就是首頁簡介下方需要的簽名圖片效果。
3.呈現(xiàn)的效果如下圖:
4.直接上代碼,需要的朋友歡迎復制使用。
<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>