Commit b8275184 by 李嘉林

还原

parent fc0690b0
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
<!-- 多主题组件抽取独立 --> <!-- 多主题组件抽取独立 -->
<div class="componentsGroup"> <div class="componentsGroup">
<div class="item"> <div class="item">
<div v-if="item1.componentCode == 'information' && item1.componentInfo.visible == 1">
<informationCom :datas="item1" :indexs="index1"></informationCom>
</div>
<div v-if="item1.componentCode == 'banner' && item1.componentInfo.visible == 1"> <div v-if="item1.componentCode == 'banner' && item1.componentInfo.visible == 1">
<banner :datas="item1"></banner> <banner :datas="item1"></banner>
</div> </div>
...@@ -69,9 +72,6 @@ ...@@ -69,9 +72,6 @@
<div v-if="item1.componentCode == 'photo-gallery' && item1.componentInfo.visible == 1"> <div v-if="item1.componentCode == 'photo-gallery' && item1.componentInfo.visible == 1">
<photo-gallery :datas="item1" :indexs="index1"></photo-gallery> <photo-gallery :datas="item1" :indexs="index1"></photo-gallery>
</div> </div>
<div v-if="item1.componentCode == 'information' && item1.componentInfo.visible == 1">
<informationCom :datas="item1" :indexs="index1"></informationCom>
</div>
<div v-if="item1.componentCode == 'spell-group' && item1.componentInfo.visible == 1"> <div v-if="item1.componentCode == 'spell-group' && item1.componentInfo.visible == 1">
<spell-group :datas="item1" :indexs="index1"></spell-group> <spell-group :datas="item1" :indexs="index1"></spell-group>
</div> </div>
...@@ -88,7 +88,10 @@ ...@@ -88,7 +88,10 @@
<custom-list :datas="item1"></custom-list> <custom-list :datas="item1"></custom-list>
</div> </div>
<div v-if="item1.componentCode == 'embed-module' && item1.componentInfo.visible == 1"> <div v-if="item1.componentCode == 'embed-module' && item1.componentInfo.visible == 1">
<embedModule :datas="item1"></embedModule> <embedModuleCom :datas="item1"></embedModuleCom>
</div>
<div v-if="item1.componentCode == 'rich-text' && item1.componentInfo.visible == 1">
<richTextCom :datas="item1"></richTextCom>
</div> </div>
</div> </div>
</div> </div>
...@@ -103,7 +106,7 @@ import text from "@/components/content/text"; ...@@ -103,7 +106,7 @@ import text from "@/components/content/text";
import imgText from "@/components/content/imgText"; import imgText from "@/components/content/imgText";
import coupon from "@/components/activity/coupon"; import coupon from "@/components/activity/coupon";
import integralTurntable from "@/components/activity/integralTurntable"; import integralTurntable from "@/components/activity/integralTurntable";
import information from '@/components/content/information/index' import information from '@/components/content/information/index.vue'
import spellGroup from '@/components/activity/spellGroup' import spellGroup from '@/components/activity/spellGroup'
import customList from "@/components/custom-list"; import customList from "@/components/custom-list";
import richText from "@/components/basicTool/rich-text"; import richText from "@/components/basicTool/rich-text";
...@@ -154,8 +157,8 @@ export default { ...@@ -154,8 +157,8 @@ export default {
"informationCom": information, "informationCom": information,
spellGroup, spellGroup,
customList, customList,
richText, "richTextCom": richText,
embedModule: () => import("@/components/basicTool/embed-module") "embedModuleCom": () => import("@/components/basicTool/embed-module/index.vue")
}, },
computed: {}, computed: {},
created() { created() {
......
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