Commit 3d1e8d61 by 李嘉林

横向标签添加组件

parent a231dfb4
......@@ -124,6 +124,21 @@
<div v-if="item1.componentCode == 'photo-gallery' && item1.componentInfo.visible == 1" >
<photo-gallery :datas="item1" :indexs="index"></photo-gallery>
</div>
<div v-if="item1.componentCode == 'information' && item1.componentInfo.visible == 1" >
<information :datas="item1" :indexs="index"></information>
</div>
<div v-if="item1.componentCode == 'spell-group' && item1.componentInfo.visible == 1" >
<spell-group :datas="item1" :indexs="index"></spell-group>
</div>
<div v-if="item1.componentCode == 'merchants-list' && item1.componentInfo.visible == 1" >
<merchants-list :datas="item1" :indexs="index"></merchants-list>
</div>
<div v-if="item1.componentCode == 'live-broadcast' && item1.componentInfo.visible == 1" >
<live-broadcast :datas="item1" :indexs="index"></live-broadcast>
</div>
<div v-if="item1.componentCode == 'share-picture' && item1.componentInfo.visible == 1" >
<share-picture :datas="item1" :indexs="index"></share-picture>
</div>
<!-- <component
:is="item1.componentCode"
:datas="item1"
......@@ -146,6 +161,8 @@ import text from "@/components/content/text";
import imgText from "@/components/content/imgText";
import coupon from "@/components/activity/coupon";
import integralTurntable from "@/components/activity/integralTurntable";
import information from '@/components/content/information/index'
import spellGroup from '@/components/activity/spellGroup'
let rect='',vanTabsThis=[];
export default {
name: "transverse-label",
......@@ -181,6 +198,8 @@ export default {
"img-text": imgText,
coupon,
integralTurntable,
information,
spellGroup
},
computed: {
tabList: {
......
......@@ -16,7 +16,10 @@
"share-popup":"/static/nativeComponents/SharePopup/index",
"speedy-nav":"/static/nativeComponents/SpeedyNav/index",
"video-player":"/static/nativeComponents/VideoPlayer/index",
"photo-gallery":"/static/nativeComponents/PhotoGallery/index"
"photo-gallery":"/static/nativeComponents/PhotoGallery/index",
"merchants-list":"/static/nativeComponents/MerchantsList/index",
"live-broadcast":"/static/nativeComponents/LiveBroadcast/index",
"share-picture":"/static/nativeComponents/SharePicture/index"
},
"enablePullDownRefresh":true,
"styleIsolation": "apply-shared"
......
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