Commit d30d9233 authored by 黄奎's avatar 黄奎

页面修改

parent 6c1d216e
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
<div class="temp-list-wrap"> <div class="temp-list-wrap">
<div v-for="(subItem,subIndex) in detailsList" class="temp-list-item" :key="subIndex" <div v-for="(subItem,subIndex) in detailsList" class="temp-list-item" :key="subIndex"
@click="AddData(subItem)"> @click="AddData(subItem)">
<img v-if="subItem.TemplateData.CoverImg" :src="subItem.TemplateData.CoverImg" :alt="subItem.SubTemplateName" /> <img v-if="subItem.TemplateData&&subItem.TemplateData.CoverImg" :src="subItem.TemplateData.CoverImg" :alt="subItem.SubTemplateName" />
<div class="temp-font">{{subItem.SubTemplateName}}</div> <div class="temp-font">{{subItem.SubTemplateName}}</div>
</div> </div>
</div> </div>
...@@ -177,7 +177,7 @@ ...@@ -177,7 +177,7 @@
<div class="diy-component-preview"> <div class="diy-component-preview">
<div class="WebSite_item"> <div class="WebSite_item">
<div class="temp-img"> <div class="temp-img">
<img :src="item.plugData.CoverImg" alt="" /> <img v-if="item.plugData&&item.plugData.CoverImg" :src="item.plugData.CoverImg" alt="" />
</div> </div>
<div class="temp-info"> <div class="temp-info">
<h2 class="temp-title">{{item.plugData.Title}}</h2> <h2 class="temp-title">{{item.plugData.Title}}</h2>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment