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

Update VIEW_LAYOUTPANEL_RENDER.ftl

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