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
4e5c22c8
Commit
4e5c22c8
authored
May 10, 2021
by
林文清
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:学习样式修改
parent
eadf0763
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
145 additions
and
170 deletions
+145
-170
pages.json
src/pages.json
+5
-0
learn.vue
src/pages/index/learn.vue
+136
-167
news-details.vue
src/pages/learn/news-details.vue
+2
-1
section.vue
src/pages/learn/section.vue
+2
-2
guifan@3x.png
src/static/photo/guifan@3x.png
+0
-0
jianbian@3x.png
src/static/photo/jianbian@3x.png
+0
-0
No files found.
src/pages.json
View file @
4e5c22c8
...
@@ -434,6 +434,11 @@
...
@@ -434,6 +434,11 @@
"name"
:
"订单 - 过程反馈"
,
//模式名称
"name"
:
"订单 - 过程反馈"
,
//模式名称
"path"
:
"pages/order/feedback"
,
//启动页面,必选
"path"
:
"pages/order/feedback"
,
//启动页面,必选
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
},
{
"name"
:
"学习 - 首页"
,
//模式名称
"path"
:
"pages/index/learn"
,
//启动页面,必选
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
}
}
]
]
}
}
...
...
src/pages/index/learn.vue
View file @
4e5c22c8
This diff is collapsed.
Click to expand it.
src/pages/learn/news-details.vue
View file @
4e5c22c8
...
@@ -41,6 +41,7 @@
...
@@ -41,6 +41,7 @@
line-height
:
36
rpx
;
line-height
:
36
rpx
;
color
:
#666666
;
color
:
#666666
;
margin-left
:
30
rpx
;
margin-left
:
30
rpx
;
margin-top
:
30
rpx
;
margin-top
:
30
rpx
;
margin-right
:
30
rpx
;
}
}
</
style
>
</
style
>
src/pages/learn/section.vue
View file @
4e5c22c8
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<view
class=
"uni-padding-wrap uni-common-mt"
>
<view
class=
"uni-padding-wrap uni-common-mt"
>
<view><video
object-fit=
"cover"
class=
"course-video"
id=
"courseVideo"
:src=
"courseSrc"
<view><video
object-fit=
"cover"
class=
"course-video"
id=
"courseVideo"
:src=
"courseSrc"
:options=
"playerOptions"
:playsinline=
"true"
@
play=
"playCourse"
@
error=
"videoErrorCallback"
:options=
"playerOptions"
:playsinline=
"true"
@
play=
"playCourse"
@
error=
"videoErrorCallback"
@
ready=
"playerReadied"
@
timeupdate=
"onPlayerTimeupdate($event)"
controls
></video></view>
@
ready=
"playerReadied"
@
timeupdate=
"onPlayerTimeupdate($event)"
autoplay=
"true"
controls
></video></view>
<view
class=
"title-content"
>
<view
class=
"title-content"
>
<view
class=
"item-content"
>
<view
class=
"item-content"
>
<view
class=
"item-st"
>
<view
class=
"item-st"
>
...
@@ -239,7 +239,7 @@
...
@@ -239,7 +239,7 @@
this
.
section_id
=
res
.
data
.
id
;
this
.
section_id
=
res
.
data
.
id
;
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
Image
=
res
.
data
.
teachers
[
0
].
avatar
;
this
.
teacherIntro
=
res
.
data
.
teachers
[
0
].
intro
.
replace
(
/<p.*
?
>|<
\/
p>/ig
,
""
);
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
)
{
...
...
src/static/photo/guifan@3x.png
deleted
100644 → 0
View file @
eadf0763
17.9 KB
src/static/photo/jianbian@3x.png
deleted
100644 → 0
View file @
eadf0763
21.9 KB
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