Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李俊赕
self-support
Commits
8f5e5d47
Commit
8f5e5d47
authored
May 08, 2021
by
林文清
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:在线学习,修复讲师名称显示问题
parent
683a34a4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
section.vue
src/pages/learn/section.vue
+3
-1
No files found.
src/pages/learn/section.vue
View file @
8f5e5d47
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
<view
class=
""
style=
"font-size: 32rpx;font-weight: bold;"
>
{{
teacher
.
name
}}
</view>
<view
class=
""
style=
"font-size: 32rpx;font-weight: bold;"
>
{{
teacher
.
name
}}
</view>
<view
class=
""
style=
"font-size: 24rpx;margin-left: 30rpx;margin-top: 6rpx;color: #999999;"
>
课程讲师
</view>
<view
class=
""
style=
"font-size: 24rpx;margin-left: 30rpx;margin-top: 6rpx;color: #999999;"
>
课程讲师
</view>
</view>
</view>
<view
class=
""
style=
"font-size: 24rpx;margin-top: 30rpx;"
>
反正这里就是放老师的简介,只是写啥我也不知道,反正就是写很厉害的简介啦
</view>
<view
class=
""
style=
"font-size: 24rpx;margin-top: 30rpx;"
>
{{
teacherIntro
}}
</view>
</view>
</view>
</view>
</view>
...
@@ -82,6 +82,7 @@
...
@@ -82,6 +82,7 @@
name
:
""
,
name
:
""
,
avatar
:
""
avatar
:
""
},
},
teacherIntro
:
""
,
playerOptions
:
{
playerOptions
:
{
playbackRates
:
[
0.7
,
1.0
,
1.5
,
2.0
],
//播放速度
playbackRates
:
[
0.7
,
1.0
,
1.5
,
2.0
],
//播放速度
autoplay
:
true
,
//如果true,浏览器准备好时开始回放。
autoplay
:
true
,
//如果true,浏览器准备好时开始回放。
...
@@ -207,6 +208,7 @@
...
@@ -207,6 +208,7 @@
this
.
section_content
=
res
.
data
.
content
;
this
.
section_content
=
res
.
data
.
content
;
this
.
teacher
.
name
=
res
.
data
.
teachers
[
0
].
name
;
this
.
teacher
.
name
=
res
.
data
.
teachers
[
0
].
name
;
this
.
teacher
.
avatar
=
res
.
data
.
teachers
[
0
].
avatar
;
this
.
teacher
.
avatar
=
res
.
data
.
teachers
[
0
].
avatar
;
this
.
teacherIntro
=
res
.
data
.
teachers
[
0
].
intro
.
replace
(
/<p.*
?
>|<
\/
p>/ig
,
""
);
this
.
params
.
course_id
=
res
.
data
.
course_id
;
this
.
params
.
course_id
=
res
.
data
.
course_id
;
if
(
this
.
isShowVideo
)
{
if
(
this
.
isShowVideo
)
{
let
coureWareList
=
res
.
data
.
courseware
;
let
coureWareList
=
res
.
data
.
courseware
;
...
...
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