Commit d9f50ec4 by 程智春

直播组件

parent 174d9601
...@@ -22,5 +22,8 @@ console.log(process.env,'-----------------config------') ...@@ -22,5 +22,8 @@ console.log(process.env,'-----------------config------')
get_product_category(data) { get_product_category(data) {
return requestPOST(`${process.env.OLSHOP_URL}/product/get_product_category`, data); return requestPOST(`${process.env.OLSHOP_URL}/product/get_product_category`, data);
}, },
getLiveCon(data){
return requestPOST(`${process.env.OLSHOP_URL}/liveBroadcastInfo/getPageListByIds`, data);
}
} }
\ No newline at end of file
...@@ -69,6 +69,9 @@ ...@@ -69,6 +69,9 @@
<div v-if="item.componentCode == 'photo-gallery' && item.componentInfo.visible == 1"> <div v-if="item.componentCode == 'photo-gallery' && item.componentInfo.visible == 1">
<photo-gallery :datas="item"></photo-gallery> <photo-gallery :datas="item"></photo-gallery>
</div> </div>
<div v-if="item.componentCode == 'live-broadcast' && item.componentInfo.visible == 1">
<live-broadcast :datas="item"></live-broadcast>
</div>
</div> </div>
<bottomCont></bottomCont> <bottomCont></bottomCont>
......
...@@ -14,7 +14,9 @@ ...@@ -14,7 +14,9 @@
"share-popup":"/static/nativeComponents/SharePopup/index", "share-popup":"/static/nativeComponents/SharePopup/index",
"speedy-nav":"/static/nativeComponents/SpeedyNav/index", "speedy-nav":"/static/nativeComponents/SpeedyNav/index",
"video-player":"/static/nativeComponents/VideoPlayer/index", "video-player":"/static/nativeComponents/VideoPlayer/index",
"photo-gallery":"/static/nativeComponents/PhotoGallery/index" "photo-gallery":"/static/nativeComponents/PhotoGallery/index",
"live-broadcast":"/static/nativeComponents/LiveBroadcast/index"
}, },
"enablePullDownRefresh":true "enablePullDownRefresh":true,
"backgroundColor":"#f5f5f5"
} }
\ No newline at end of file
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