Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chao Sun
CFFP-HB
Commits
7b9ea575
Commit
7b9ea575
authored
Dec 12, 2022
by
sunerhu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修复分享详情页面无数据--待测试
parent
2eab5f7d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
components/myteam/lazy-tree.vue
+3
-0
pages/courseDetail/courseDetail.vue
+4
-1
pages/personalCenter/teamMembers/teamMembers.vue
+1
-1
No files found.
components/myteam/lazy-tree.vue
View file @
7b9ea575
...
...
@@ -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>
...
...
pages/courseDetail/courseDetail.vue
View file @
7b9ea575
<
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'
)
},
...
...
pages/personalCenter/teamMembers/teamMembers.vue
View file @
7b9ea575
...
...
@@ -68,7 +68,7 @@
if
(
res
[
'success'
]){
let
data
=
res
.
data
if
(
data
.
orgInfo
)
{
this
.
levelName
=
data
.
orgInfo
.
level
Name
;
this
.
levelName
=
data
.
orgInfo
.
areaCenter
Name
;
this
.
count
=
data
.
orgInfo
.
count
;
}
if
(
data
.
directList
.
length
!=
0
&&
data
.
directList
!=
null
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment