Commit bba28864 by 李嘉林

关联公众号

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