Commit 904b564d authored by Facius's avatar Facius

chore: 首页布局微调

parent 21fc5a2a
......@@ -60,7 +60,7 @@
<view
v-for="(item, index) in marks"
:key="index"
class="list-view"
:class="['list-view', { first: index == 0 }]"
@click="handleClickExam(index)"
>
<image class="exam-image" :src="item.image"></image>
......@@ -698,14 +698,18 @@ export default {
.exam-mark {
display: flex;
align-items: center;
justify-content: space-between;
// justify-content: space-between;
.list-view {
width: 330rpx;
width: calc((100% - 22rpx) / 2);
height: 136rpx;
border-radius: 16rpx;
flex-shrink: 0;
display: flex;
align-items: center;
background-color: #ffffff;
&.first {
margin-right: 22rpx;
}
.exam-image {
width: 96rpx;
height: 96rpx;
......
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