7 changed files with 221 additions and 80 deletions
@ -0,0 +1,127 @@ |
|||||
|
<template> |
||||
|
<view class="main_box"> |
||||
|
<view class="after-class-title"> |
||||
|
<view class="after-class-title-left">课后作业</view> |
||||
|
</view> |
||||
|
<view> |
||||
|
<view class="con-list"> |
||||
|
<view class="con-list-img"> |
||||
|
<image class="pic" src="@/static/images/index/img.jpg"></image> |
||||
|
</view> |
||||
|
<view class="con" style="margin-top: 20rpx;"> |
||||
|
时间:2020.05:25 15:30 |
||||
|
</view> |
||||
|
<view class="con" style="margin-bottom: 20rpx;"> |
||||
|
作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述 |
||||
|
</view> |
||||
|
<view class="mark" v-if="true"> |
||||
|
<image class="check_mark" src="@/static/images/index/check_mark.png"></image> |
||||
|
</view> |
||||
|
<view class="assignment"> |
||||
|
班级作业 |
||||
|
</view> |
||||
|
</view> |
||||
|
<view class="con-list"> |
||||
|
<view class="con-list-img"> |
||||
|
<video class="pic" style="width: 100%;border-radius: 15rpx;"></video> |
||||
|
</view> |
||||
|
<view class="con" style="margin-top: 20rpx;"> |
||||
|
时间:2020.05:25 15:30 |
||||
|
</view> |
||||
|
<view class="con" style="margin-bottom: 20rpx;"> |
||||
|
作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述作业描述 |
||||
|
</view> |
||||
|
<view class="mark" v-if="false"> |
||||
|
<image class="check_mark" src="@/static/images/index/check_mark.png"></image> |
||||
|
</view> |
||||
|
<view class="assignment"> |
||||
|
班级作业 |
||||
|
</view> |
||||
|
</view> |
||||
|
</view> |
||||
|
</view> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
export default { |
||||
|
data() { |
||||
|
return { |
||||
|
|
||||
|
} |
||||
|
}, |
||||
|
methods: { |
||||
|
|
||||
|
} |
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
<style> |
||||
|
.main_box{ |
||||
|
width: 100%; |
||||
|
height: 100vh; |
||||
|
background: #292929; |
||||
|
overflow: auto; |
||||
|
} |
||||
|
.after-class-title { |
||||
|
width: 92%; |
||||
|
display: flex; |
||||
|
justify-content: space-between; |
||||
|
margin: auto; |
||||
|
padding-top: 30rpx; |
||||
|
} |
||||
|
.after-class-title-left { |
||||
|
color: #fff; |
||||
|
font-size: 35rpx; |
||||
|
border-bottom: 4rpx #29d3b4 solid; |
||||
|
} |
||||
|
.con-list{ |
||||
|
width: 100%; |
||||
|
padding: 30rpx; |
||||
|
margin-top: 20rpx; |
||||
|
border-bottom: 2rpx #fff solid; |
||||
|
position: relative; |
||||
|
} |
||||
|
.con-list-img{ |
||||
|
width: 100%; |
||||
|
height: 280rpx; |
||||
|
display: flex; |
||||
|
align-items: center; |
||||
|
justify-content: center; |
||||
|
} |
||||
|
.pic{ |
||||
|
width: 85%; |
||||
|
height: 100%; |
||||
|
} |
||||
|
.con{ |
||||
|
width: 75%; |
||||
|
color: #fff; |
||||
|
padding-top: 30rpx; |
||||
|
} |
||||
|
.mark{ |
||||
|
position: absolute; |
||||
|
right: 8%; |
||||
|
bottom: 23%; |
||||
|
width: 70rpx; |
||||
|
height: 70rpx; |
||||
|
border-radius: 100%; |
||||
|
background: #29d3b4; |
||||
|
display: flex; |
||||
|
align-items: center; |
||||
|
justify-content: center; |
||||
|
} |
||||
|
.check_mark{ |
||||
|
width: 80%; |
||||
|
height: 80%; |
||||
|
} |
||||
|
.assignment{ |
||||
|
position: absolute; |
||||
|
right: 3%; |
||||
|
bottom: 10%; |
||||
|
width: 150rpx; |
||||
|
text-align: center; |
||||
|
border-radius: 10rpx; |
||||
|
padding: 6rpx 12rpx; |
||||
|
color: #6b9d53; |
||||
|
border: 2rpx #6b9d53 solid; |
||||
|
} |
||||
|
</style> |
||||
|
After Width: | Height: | Size: 5.0 KiB |
|
After Width: | Height: | Size: 5.4 KiB |
Loading…
Reference in new issue