提交 871f1042 编写于 作者: glod-money-money's avatar glod-money-money

Update VIEW_LAYOUTPANEL_RENDER.ftl

上级 cf36ee1f
......@@ -92,10 +92,9 @@
<app-index-org-select name="${panelDetail.getName()}" :layoutModelDetails="layoutModelDetails"></app-index-org-select>
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "FIELD_IMAGE">
<app-field-image-dynamic
name="${panelDetail.getName()}"
<#if panelDetail.getPSEditor().getCssStyle?? && panelDetail.getPSEditor().getCssStyle()??>cssStyle="${panelDetail.getPSEditor().getCssStyle()}"</#if>
<#if panelDetail.getPSEditor().getPSSysCss?? && panelDetail.getPSEditor().getPSSysCss()??>cssClass="${panelDetail.getPSEditor().getPSSysCss()}"</#if>
:value="layoutData['${panelDetail.getName()}']">
name="${panelDetail.getName()}"
:model="layoutModelDetails.${panelDetail.getName()}"
:value="layoutData['${panelDetail.getName()}']">
</app-field-image-dynamic>
<#elseif panelDetail.getPSEditor?? && panelDetail.getPSEditor()?? && panelDetail.getPSEditor().getPredefinedType?? && panelDetail.getPSEditor().getPredefinedType()?? && panelDetail.getPSEditor().getPredefinedType() == "FIELD_CAROUSEL">
<app-rawitem-carousel
......@@ -103,8 +102,7 @@
name="${panelDetail.getName()}"
type="FIELD_CAROUSEL"
:value="layoutData['${panelDetail.getName()}']"
<#if panelDetail.getPSEditor().getCssStyle?? && panelDetail.getPSEditor().getCssStyle()??>cssStyle="${panelDetail.getPSEditor().getCssStyle()}"</#if>
<#if panelDetail.getPSEditor().getPSSysCss?? && panelDetail.getPSEditor().getPSSysCss()??>cssClass="${panelDetail.getPSEditor().getPSSysCss()}"</#if>>
:model="layoutModelDetails.${panelDetail.getName()}">
</app-rawitem-carousel>
<#else>
<span>属性项</span>
......@@ -114,18 +112,14 @@
<#assign rawdetail = panelDetail.getPSRawItem()/>
<#if rawdetail.getPredefinedType?? && rawdetail.getPredefinedType()?? && rawdetail.getPredefinedType() == "STATIC_IMAGE">
<app-rawitem-image
<#if rawdetail.getCssStyle?? && rawdetail.getCssStyle()??>
cssStyle="${ rawdetail.getCssStyle() }"
</#if>
<#if rawdetail.getPSSysImage?? && rawdetail.getPSSysImage()?? && rawdetail.getPSSysImage().getImagePath?? && rawdetail.getPSSysImage().getImagePath()??>
imgUrl="${ rawdetail.getPSSysImage().getImagePath() }"
</#if>
<#if rawdetail.getPSSysImage?? && rawdetail.getPSSysImage()?? && rawdetail.getPSSysImage().getCssClass?? && rawdetail.getPSSysImage().getCssClass()??>
imageClass="${ rawdetail.getPSSysImage().getCssClass() }"
</#if>
<#if rawdetail.getPSSysCss?? && rawdetail.getPSSysCss()??>
cssClass="${ rawdetail.getPSSysCss() }"
</#if>>
:model="layoutModelDetails.${panelDetail.getName()}"
>
</app-rawitem-image>
<#elseif rawdetail.getPredefinedType?? && rawdetail.getPredefinedType()?? && rawdetail.getPredefinedType() == "STATIC_CAROUSEL">
<app-rawitem-carousel
......@@ -150,17 +144,13 @@
</#list>
</#if>
]"</@compress>
<#if rawdetail.getCssStyle?? && rawdetail.getCssStyle()??>
cssStyle="${ rawdetail.getCssStyle() }"
</#if>
<#if rawdetail.getPSSysCss?? && rawdetail.getPSSysCss()??>
cssClass="${ rawdetail.getPSSysCss() }"
</#if>
:model="layoutModelDetails.${panelDetail.getName()}"
:data="layoutData"
>
</app-rawitem-carousel>
<#elseif rawdetail.getPredefinedType?? && rawdetail.getPredefinedType()?? && rawdetail.getPredefinedType() == "STATIC_VIDEOPLAYER">
<app-rawitem-video
:model="layoutModelDetails.${panelDetail.getName()}"
:videoParmas=<@compress single_line=true>"[
<#if rawdetail.getPSRawItemParams?? && rawdetail.getPSRawItemParams()??>
<#list rawdetail.getPSRawItemParams() as param>{
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册