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
6cc5e8e5
Commit
6cc5e8e5
authored
May 26, 2021
by
linwenqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add:学习视频添加新课程
parent
38f97246
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
40 deletions
+41
-40
learn.vue
src/pages/index/learn.vue
+39
-39
section.vue
src/pages/learn/section.vue
+2
-1
No files found.
src/pages/index/learn.vue
View file @
6cc5e8e5
...
@@ -98,7 +98,7 @@
...
@@ -98,7 +98,7 @@
<text
class=
"font-default-color"
:class=
"
{'font-active-color':courselist[2].percent}" v-text="courselist[2].status">
</text>
<text
class=
"font-default-color"
:class=
"
{'font-active-color':courselist[2].percent}" v-text="courselist[2].status">
</text>
</view>
</view>
</view>
</view>
<
!--
<
view
class=
"learn-class1 u-margin-left-30"
@
click=
"goPlay(courselist[3])"
>
<view
class=
"learn-class1 u-margin-left-30"
@
click=
"goPlay(courselist[3])"
>
<image
class=
"learn-img"
:src=
"courselist[3].pic"
mode=
""
></image>
<image
class=
"learn-img"
:src=
"courselist[3].pic"
mode=
""
></image>
<image
class=
"bofang"
:src=
"bofang"
mode=
""
></image>
<image
class=
"bofang"
:src=
"bofang"
mode=
""
></image>
<view
class=
"learn-desc"
>
<view
class=
"learn-desc"
>
...
@@ -114,7 +114,7 @@
...
@@ -114,7 +114,7 @@
</u-line-progress>
</u-line-progress>
<text
class=
"font-default-color"
:class=
"
{'font-active-color':courselist[3].percent}" v-text="courselist[3].status">
</text>
<text
class=
"font-default-color"
:class=
"
{'font-active-color':courselist[3].percent}" v-text="courselist[3].status">
</text>
</view>
</view>
</view>
-->
</view>
</view>
</view>
</scroll-view>
</scroll-view>
</swiper-item>
</swiper-item>
...
@@ -192,15 +192,15 @@ var json = {
...
@@ -192,15 +192,15 @@ var json = {
id
:
173
,
id
:
173
,
sectionId
:
""
,
sectionId
:
""
,
},
},
//
{
{
//
title: "充电桩安装要点提示",
title
:
"充电桩安装要点提示"
,
//
desc: "在充电装安装过程中需要着重注意的要点",
desc
:
"在充电装安装过程中需要着重注意的要点"
,
//
pic: process.uniEnv.qn_base_url + "cdz-3x-v2.png",
pic
:
process
.
uniEnv
.
qn_base_url
+
"cdz-3x-v2.png"
,
//
percent: 0,
percent
:
0
,
//
status: "",
status
:
""
,
//
id: 173,
id
:
173
,
//
sectionId: "",
sectionId
:
""
,
//
},
},
],
],
test
:
[
test
:
[
{
{
...
@@ -230,15 +230,15 @@ var json = {
...
@@ -230,15 +230,15 @@ var json = {
id
:
151
,
id
:
151
,
sectionId
:
""
,
sectionId
:
""
,
},
},
//
{
{
//
title: "充电桩安装要点提示",
title
:
"充电桩安装要点提示"
,
//
desc: "在充电装安装过程中需要着重注意的要点",
desc
:
"在充电装安装过程中需要着重注意的要点"
,
//
pic: process.uniEnv.qn_base_url + "cdz-3x-v2.png",
pic
:
process
.
uniEnv
.
qn_base_url
+
"cdz-3x-v2.png"
,
//
percent: 0,
percent
:
0
,
//
status: "",
status
:
""
,
//
id: 151,
id
:
151
,
//
sectionId: "",
sectionId
:
""
,
//
},
},
],
],
prod
:
[
prod
:
[
{
{
...
@@ -268,15 +268,15 @@ var json = {
...
@@ -268,15 +268,15 @@ var json = {
id
:
599
,
id
:
599
,
sectionId
:
""
,
sectionId
:
""
,
},
},
//
{
{
//
title: "学习-我的模块",
title
:
"学习-我的模块"
,
//
desc: "学习-我的模块",
desc
:
"学习-我的模块"
,
//
pic: process.uniEnv.qn_base_url + "yaodiantishi.png",
pic
:
process
.
uniEnv
.
qn_base_url
+
"yaodiantishi.png"
,
//
percent: 0,
percent
:
0
,
//
status: "",
status
:
""
,
//
id: 600,
id
:
600
,
//
sectionId: "",
sectionId
:
""
,
//
},
},
],
],
};
};
...
@@ -419,16 +419,16 @@ export default {
...
@@ -419,16 +419,16 @@ export default {
id
:
courseListJson
[
2
].
id
,
id
:
courseListJson
[
2
].
id
,
sectionId
:
courseListJson
[
2
].
sectionId
,
sectionId
:
courseListJson
[
2
].
sectionId
,
}
}
//
,
,
//
{
{
//
title: courseListJson[3].title,
title
:
courseListJson
[
3
].
title
,
//
desc: courseListJson[3].desc,
desc
:
courseListJson
[
3
].
desc
,
//
percent: courseListJson[3].percent,
percent
:
courseListJson
[
3
].
percent
,
//
status: courseListJson[3].status,
status
:
courseListJson
[
3
].
status
,
//
pic: courseListJson[3].pic,
pic
:
courseListJson
[
3
].
pic
,
//
id: courseListJson[3].id,
id
:
courseListJson
[
3
].
id
,
//
sectionId: courseListJson[3].sectionId,
sectionId
:
courseListJson
[
3
].
sectionId
,
//
},
},
],
],
examList
:
[
examList
:
[
{
{
...
...
src/pages/learn/section.vue
View file @
6cc5e8e5
...
@@ -459,6 +459,7 @@
...
@@ -459,6 +459,7 @@
overflow
:
hidden
;
overflow
:
hidden
;
background
:
#fff
;
background
:
#fff
;
margin-top
:
30rpx
;
margin-top
:
30rpx
;
white-space
:
nowrap
;
}
}
.scroll_box
scroll-view
{
.scroll_box
scroll-view
{
...
@@ -471,7 +472,7 @@
...
@@ -471,7 +472,7 @@
width
:
280rpx
;
width
:
280rpx
;
height
:
150rpx
;
height
:
150rpx
;
margin-right
:
23rpx
;
margin-right
:
23rpx
;
display
:
inline-
grid
;
display
:
inline-
block
;
background-color
:
#F4F5F7
;
background-color
:
#F4F5F7
;
border-radius
:
12rpx
;
border-radius
:
12rpx
;
padding
:
20rpx
;
padding
:
20rpx
;
...
...
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