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
20020e2e
Commit
20020e2e
authored
May 18, 2021
by
Morson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改培训视频内容
parent
9f51deb8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
24 deletions
+18
-24
App.vue
src/App.vue
+3
-3
pages.json
src/pages.json
+3
-1
course-detail.vue
src/pages/learn/course-detail.vue
+3
-11
exam.vue
src/pages/learn/exam.vue
+9
-9
No files found.
src/App.vue
View file @
20020e2e
...
@@ -14,19 +14,19 @@ export default {
...
@@ -14,19 +14,19 @@ export default {
// 服务规范教程视频
// 服务规范教程视频
service_standard
:
{
service_standard
:
{
course1
:
{
course1
:
{
url
:
"https://qn-static.banshouhui.com/self-support/videoen
.mp4"
,
url
:
process
.
uniEnv
.
qn_base_url
+
"course/Section1
.mp4"
,
title
:
"第一节 师傅考核规则"
,
title
:
"第一节 师傅考核规则"
,
desc
:
desc
:
"接单操作须知有助你快速了解充电桩安装业务,提高接单效率,请认真查看及学习。"
,
"接单操作须知有助你快速了解充电桩安装业务,提高接单效率,请认真查看及学习。"
,
},
},
course2
:
{
course2
:
{
url
:
"https://qn-static.banshouhui.com/self-support/videoen
.mp4"
,
url
:
process
.
uniEnv
.
qn_base_url
+
"course/Section2
.mp4"
,
title
:
"第二节 安装材料及工具"
,
title
:
"第二节 安装材料及工具"
,
desc
:
desc
:
"接单操作须知有助你快速了解充电桩安装业务,提高接单效率,请认真查看及学习。"
,
"接单操作须知有助你快速了解充电桩安装业务,提高接单效率,请认真查看及学习。"
,
},
},
course3
:
{
course3
:
{
url
:
"https://qn-static.banshouhui.com/self-support/videoen
.mp4"
,
url
:
process
.
uniEnv
.
qn_base_url
+
"course/Section3
.mp4"
,
title
:
"第三节 安装施工规范"
,
title
:
"第三节 安装施工规范"
,
desc
:
desc
:
"接单操作须知有助你快速了解充电桩安装业务,提高接单效率,请认真查看及学习。"
,
"接单操作须知有助你快速了解充电桩安装业务,提高接单效率,请认真查看及学习。"
,
...
...
src/pages.json
View file @
20020e2e
...
@@ -125,8 +125,10 @@
...
@@ -125,8 +125,10 @@
"path"
:
"course-detail"
,
"path"
:
"course-detail"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"培训视频"
,
"navigationBarTitleText"
:
"培训视频"
,
"navigationBarBackgroundColor"
:
"#F4F5F7"
,
"enablePullDownRefresh"
:
false
,
"enablePullDownRefresh"
:
false
,
"navigationStyle"
:
"custom"
//
隐藏系统导航栏
"navigationStyle"
:
"custom"
,
//
隐藏系统导航栏
"disableScroll"
:
true
}
}
},
},
{
{
...
...
src/pages/learn/course-detail.vue
View file @
20020e2e
<
template
>
<
template
>
<view
class=
"learn-vedio"
>
<view
class=
"learn-vedio"
>
<u-navbar
title=
"培训视频"
></u-navbar>
<view
class=
"uni-padding-wrap uni-common-mt"
>
<view
class=
"uni-padding-wrap uni-common-mt"
>
<view
<view
><video
><video
object-fit=
"
cover
"
object-fit=
"
fill
"
class=
"course-video"
class=
"course-video"
id=
"courseVideo"
id=
"courseVideo"
:src=
"courseSrc"
:src=
"courseSrc"
...
@@ -113,15 +114,6 @@ export default {
...
@@ -113,15 +114,6 @@ export default {
content
:
e
.
target
.
errMsg
,
content
:
e
.
target
.
errMsg
,
showCancel
:
false
,
showCancel
:
false
,
});
});
},
getRandomColor
:
function
()
{
const
rgb
=
[];
for
(
let
i
=
0
;
i
<
3
;
++
i
)
{
let
color
=
Math
.
floor
(
Math
.
random
()
*
256
).
toString
(
16
);
color
=
color
.
length
==
1
?
"0"
+
color
:
color
;
rgb
.
push
(
color
);
}
return
"#"
+
rgb
.
join
(
""
);
},
},
playCourse
:
function
(
e
)
{
playCourse
:
function
(
e
)
{
if
(
this
.
courseStatus
&&
(
this
.
courseStatus
==
"1"
||
this
.
courseStatus
==
1
))
{
if
(
this
.
courseStatus
&&
(
this
.
courseStatus
==
"1"
||
this
.
courseStatus
==
1
))
{
...
@@ -168,7 +160,7 @@ export default {
...
@@ -168,7 +160,7 @@ export default {
}
}
.course-video
{
.course-video
{
width
:
100%
;
width
:
750rpx
;
}
}
.course-title
{
.course-title
{
...
...
src/pages/learn/exam.vue
View file @
20020e2e
...
@@ -105,15 +105,15 @@
...
@@ -105,15 +105,15 @@
status
:
0
,
status
:
0
,
url
:
''
url
:
''
},
},
{
//
{
id
:
'course4'
,
//
id: 'course4',
courseId
:
4
,
//
courseId: 4,
title
:
''
,
//
title: '',
value
:
'去学习'
,
//
value: '去学习',
courseActive
:
{},
//
courseActive: {},
status
:
0
,
//
status: 0,
url
:
''
//
url: ''
}
//
}
],
],
tipsDescription
:
'接单考核可让您快速了解如何使用小程序,建议先查看学习教程'
tipsDescription
:
'接单考核可让您快速了解如何使用小程序,建议先查看学习教程'
};
};
...
...
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