cms icon indicating copy to clipboard operation
cms copied to clipboard

请帮看下首页模板源代码,怎样才能调成正常显示内容

Open 1289301410 opened this issue 8 years ago • 3 comments

各页面都做好了,但在想把首页修改为想要的内容时,发现非常困难。在源代码里修改了获取栏目的名称,但图片和文字还是获取不了,首页无法正常显示内容。请帮看下源代码,究竟应怎么改?

1289301410 avatar Oct 23 '18 03:10 1289301410

<!doctype html>

{Content.ItemIndex} {Content.ItemIndex} more+ 产品中心 公司简介 详情>>

more+ 服务项目 【阅读详细】

more+ 新闻资讯

stl:a<stl:content type="Title" wordNum="21"></stl:content></stl:a>

<stl:content type="Content" isClearTags="true" wordNum="45"></stl:content><stl:a class="fr">详情>></stl:a>

</stl:contents>
<stl:contents channelName="新闻动态" totalNum="2" scope="All" order="AddDate" startNum="3">

stl:a<stl:content type="Title" wordNum="21"></stl:content></stl:a>

<stl:content type="Content" isClearTags="true" wordNum="45"></stl:content><stl:a class="fr">详情>></stl:a>

</stl:contents>
<stl:contents channelName="新闻动态" totalNum="2" scope="All" order="AddDate" startNum="5">

stl:a<stl:content type="Title" wordNum="21"></stl:content></stl:a>

<stl:content type="Content" isClearTags="true" wordNum="45"></stl:content><stl:a class="fr">详情>></stl:a>

</stl:contents>

核心产品

<stl:contents channelName="核心产品">
<stl:image width="170" height="165"></stl:image>
<stl:content type="Content"></stl:content>
</stl:contents>

1289301410 avatar Oct 23 '18 03:10 1289301410

以上是首页模板的源代码。在原模板上,修改成了“核心产品”,但首页效果只有栏目名改了,文字和图片都显示不出来。“服务项目”栏目文字显示出来了,但首页栏目前的缩略图显不出来

1289301410 avatar Oct 23 '18 03:10 1289301410

感觉论坛没有什么人啊

fseclectics avatar Oct 25 '18 14:10 fseclectics