|
|
@@ -2,10 +2,10 @@
|
|
|
<div class="flex flex-col full-width mb-20">
|
|
|
<div class="full-width text-left bold font-16">今日学习</div>
|
|
|
<div class="flex flex-center">
|
|
|
- <div class="flex flex-center ml-10" style="flex: 5">
|
|
|
+ <div class="flex flex-center" style="flex: 5">
|
|
|
<preview
|
|
|
:id="item.fileId"
|
|
|
- class="flex flex-col flex-center flex-justify-start border radius box-shadow mr-15 mt-15 item"
|
|
|
+ class="flex flex-col flex-center flex-justify-start border radius box-shadow item"
|
|
|
v-for="item in data"
|
|
|
:key="item.id"
|
|
|
>
|
|
|
@@ -73,13 +73,14 @@ export default {
|
|
|
|
|
|
<style scoped>
|
|
|
.item {
|
|
|
- width: 260px;
|
|
|
+ width: 245px;
|
|
|
+ padding: 0;
|
|
|
}
|
|
|
|
|
|
.img {
|
|
|
border-top-right-radius: 8px;
|
|
|
border-top-left-radius: 8px;
|
|
|
- width: 260px;
|
|
|
+ width: 245px;
|
|
|
height: 180px;
|
|
|
object-fit: cover;
|
|
|
}
|