Commit 904b564d authored by Facius's avatar Facius

chore: 首页布局微调

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