Commit 20020e2e authored by Morson's avatar Morson

修改培训视频内容

parent 9f51deb8
...@@ -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:
"接单操作须知有助你快速了解充电桩安装业务,提高接单效率,请认真查看及学习。", "接单操作须知有助你快速了解充电桩安装业务,提高接单效率,请认真查看及学习。",
......
...@@ -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
} }
}, },
{ {
......
<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 {
......
...@@ -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: '接单考核可让您快速了解如何使用小程序,建议先查看学习教程'
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment