提交 0e357c6a authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 f728bf64
...@@ -44,30 +44,30 @@ export default { ...@@ -44,30 +44,30 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.course-item { .course-item {
padding: 15px 0; padding: 0.3rem 0;
border-bottom: 1px solid #ccc; border-bottom: 1px solid #ccc;
} }
.course-arrow { .course-arrow {
width: 30px; width: 0.6rem;
height: 100px; height: 2rem;
} }
.course-arrow__up { .course-arrow__up {
background: url('https://zws-imgs-pub.ezijing.com/transport/weapp/icon_arrow_up.png') no-repeat left center; 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 { .course-arrow__down {
background: url('https://zws-imgs-pub.ezijing.com/transport/weapp/icon_arrow_down.png') no-repeat left center; 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 { .course-item-top {
display: flex; display: flex;
} }
.course-item-bottom { .course-item-bottom {
padding-left: 30px; padding-left: 0.6rem;
} }
.course-item-pic { .course-item-pic {
width: 158px; width: 3.15rem;
height: 100px; height: 2rem;
margin-right: 10px; margin-right: 10px;
overflow: hidden; overflow: hidden;
} }
...@@ -88,11 +88,11 @@ export default { ...@@ -88,11 +88,11 @@ export default {
} }
.course-item__text { .course-item__text {
display: inline-block; display: inline-block;
height: 24px; height: 0.48rem;
margin-left: 10px; margin-left: 0.15rem;
padding: 0 10px; padding: 0 0.2rem;
font-size: 10px; font-size: 0.22rem;
line-height: 24px; line-height: 0.48rem;
} }
.course-item__text:first-child { .course-item__text:first-child {
margin-left: 0; margin-left: 0;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<ul> <ul>
<li v-for="subItem in item.children" :key="subItem.id" @click="onClick(subItem)"> <li v-for="subItem in item.children" :key="subItem.id" @click="onClick(subItem)">
<div class="name">{{subItem.name}}</div> <div class="name">{{subItem.name}}</div>
<div class="progress">{{subItem.video_progress | progressText}}</div> <!-- <div class="progress">{{subItem.video_progress | progressText}}</div> -->
</li> </li>
</ul> </ul>
</van-collapse-item> </van-collapse-item>
......
<template> <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"> <template v-if="list.length">
<course-item v-for="item in list" :data="item" :key="item.course_id" @on-click="handleClick" /> <course-item v-for="item in list" :data="item" :key="item.course_id" @on-click="handleClick" />
</template> </template>
......
<template> <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"> <template v-if="list.length">
<course-item v-for="item in list" :data="item" :key="item.course_id" @on-click="handleClick" /> <course-item v-for="item in list" :data="item" :key="item.course_id" @on-click="handleClick" />
</template> </template>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论