Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

取内容某个图片属性,例如第三张图{stl:content type=ImageUrl no=3}是正确的,那么问题来了if判断是否为空 <stl:if operate="NotEmpty" type="ImageUrl no=3"><img src="{stl:content type=ImageUrl no=3}" /></stl:if> 应该怎么写呢?type="ImageUrl no=3"????? #1179

Open
yxmnshmily opened this issue Aug 8, 2018 · 1 comment

Comments

@yxmnshmily
Copy link

取内容某个图片属性,例如第三张图{stl:content type=ImageUrl no=3}是正确的,那么问题来了if判断某个图片是否为空
<stl:if operate="NotEmpty" type="ImageUrl no=3"></stl:if>
应该怎么写呢?
type="ImageUrl no=3" 也不对????? 怎么做呢?

@starlying
Copy link
Contributor

if标签还不支持no属性,我们研究一下怎么实现这个需求

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants