Commit bba28864 by 李嘉林

关联公众号

parent 92616af6
......@@ -63,6 +63,9 @@
<div v-if="item.componentCode == 'video-player'">
<video-player :datas="item" :indexs="index"></video-player>
</div>
<div v-if="item.componentCode == 'official-account'">
<official-account></official-account>
</div>
</div>
<bottomCont></bottomCont>
......@@ -161,9 +164,9 @@ export default {
onLoad(options) {
let location=JSON.parse(wx.getStorageSync('location') || '{}')
if (!location.areaGroupId) {
wx.redirectTo({
url: '/pages/changeAdr/main?areaGroupId=' + this.data.designateAreaObj.areaGroupId
})
// wx.redirectTo({
// url: '/pages/changeAdr/main?areaGroupId=' + this.data.designateAreaObj.areaGroupId
// })
}
let that = this;
// 来源
......
......@@ -23,9 +23,9 @@
</view>
</view>
<!-- 代码片段展示 -->
<!-- <view class="isCodeSnippets">
</view> -->
<view class="isCodeSnippets" wx:if="{{datas.componentData['type']==3&&datas.componentData['codeSnippet']!=''}}">
<rich-text nodes="{{datas.componentData['codeSnippet']}}"></rich-text>
</view>
</view>
</view>
......
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