Commit 6cc5e8e5 authored by linwenqing's avatar linwenqing

add:学习视频添加新课程

parent 38f97246
...@@ -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: [
{ {
......
...@@ -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;
......
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