Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
T
transport-show-h5
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
transport-show-h5
Commits
0e357c6a
提交
0e357c6a
authored
8月 04, 2020
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
bug fixes
上级
f728bf64
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
16 行增加
和
16 行删除
+16
-16
CourseItem2.vue
src/components/CourseItem2.vue
+13
-13
courseChapter.vue
src/pages/course/learn/components/courseChapter.vue
+1
-1
index.vue
src/pages/course/learn/index.vue
+1
-1
home.vue
src/pages/course/tag/home.vue
+1
-1
没有找到文件。
src/components/CourseItem2.vue
浏览文件 @
0e357c6a
...
...
@@ -44,30 +44,30 @@ export default {
<
style
lang=
"scss"
scoped
>
.course-item
{
padding
:
15px
0
;
padding
:
0
.3rem
0
;
border-bottom
:
1px
solid
#ccc
;
}
.course-arrow
{
width
:
30px
;
height
:
100px
;
width
:
0
.6rem
;
height
:
2rem
;
}
.course-arrow__up
{
background
:
url('https://zws-imgs-pub.ezijing.com/transport/weapp/icon_arrow_up.png')
no-repeat
left
center
;
background-size
:
15px
15px
;
background-size
:
0
.3rem
0
.3rem
;
}
.course-arrow__down
{
background
:
url('https://zws-imgs-pub.ezijing.com/transport/weapp/icon_arrow_down.png')
no-repeat
left
center
;
background-size
:
15px
15px
;
background-size
:
0
.3rem
0
.3rem
;
}
.course-item-top
{
display
:
flex
;
}
.course-item-bottom
{
padding-left
:
30px
;
padding-left
:
0
.6rem
;
}
.course-item-pic
{
width
:
158px
;
height
:
100px
;
width
:
3
.15rem
;
height
:
2rem
;
margin-right
:
10px
;
overflow
:
hidden
;
}
...
...
@@ -88,11 +88,11 @@ export default {
}
.course-item__text
{
display
:
inline-block
;
height
:
24px
;
margin-left
:
10px
;
padding
:
0
10px
;
font-size
:
10px
;
line-height
:
24px
;
height
:
0
.48rem
;
margin-left
:
0
.15rem
;
padding
:
0
0
.2rem
;
font-size
:
0
.22rem
;
line-height
:
0
.48rem
;
}
.course-item__text
:first-child
{
margin-left
:
0
;
...
...
src/pages/course/learn/components/courseChapter.vue
浏览文件 @
0e357c6a
...
...
@@ -8,7 +8,7 @@
<ul>
<li
v-for=
"subItem in item.children"
:key=
"subItem.id"
@
click=
"onClick(subItem)"
>
<div
class=
"name"
>
{{subItem.name}}
</div>
<
div
class=
"progress"
>
{{subItem.video_progress | progressText}}
</div
>
<
!-- <div class="progress">{{subItem.video_progress | progressText}}</div> --
>
</li>
</ul>
</van-collapse-item>
...
...
src/pages/course/learn/index.vue
浏览文件 @
0e357c6a
<
template
>
<div
class=
"main-container"
v-show=
"loaded"
>
<div
class=
"main-container"
v-show=
"loaded"
style=
"margin:0 0.15rem"
>
<template
v-if=
"list.length"
>
<course-item
v-for=
"item in list"
:data=
"item"
:key=
"item.course_id"
@
on-click=
"handleClick"
/>
</
template
>
...
...
src/pages/course/tag/home.vue
浏览文件 @
0e357c6a
<
template
>
<div
class=
"main-container"
v-show=
"loaded"
>
<div
class=
"main-container"
v-show=
"loaded"
style=
"margin:0 0.15rem;"
>
<template
v-if=
"list.length"
>
<course-item
v-for=
"item in list"
:data=
"item"
:key=
"item.course_id"
@
on-click=
"handleClick"
/>
</
template
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论