Commit 7b9ea575 by sunerhu

1.修复分享详情页面无数据--待测试

parent 2eab5f7d
......@@ -39,6 +39,9 @@
<view class="content-box-title-b" @click="open(item, i)" v-else-if="item.levelCode == 'C3'&& item.itemType == '1'" :style="{'margin-left':(item.level * 20)+'rpx'}">
<text style="color: black;">{{item.areaCenterName}}</text>
</view>
<view class="content-box-title-b" @click="open(item, i)" v-else-if="item.levelCode == 'C2'&& item.itemType == '1'" :style="{'margin-left':(item.level * 20)+'rpx'}">
<text style="color: black;">{{item.areaCenterName}}</text>
</view>
<view @click="open(item, i)" style="flex: 1;" v-else>
<text>{{item.name}}</text>
</view>
......
<template>
<view class="container">
<view class="shareheader" style="" v-if="coursesharing != 1 || uni.getStorageSync('h5_coursesharing')">
<view class="shareheader" style="" v-if="coursesharing != 1">
<view class="iconfont icon-youjiantou" style="margin-left: 30rpx;" @click="goBack()">
</view>
<view class="share-entrance">
......@@ -498,6 +498,9 @@
// this.switchTab(1);
},
onShow() {
if(uni.getStorageSync('h5_coursesharing')){
this.coursesharing = uni.getStorageSync('h5_coursesharing')
}
this.switchTab(1);
this.loginType = uni.getStorageSync('loginType')
},
......
......@@ -68,7 +68,7 @@
if(res['success']){
let data = res.data
if(data.orgInfo) {
this.levelName =data.orgInfo.levelName;
this.levelName =data.orgInfo.areaCenterName;
this.count = data.orgInfo.count;
}
if(data.directList.length != 0 && data.directList != null){
......
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