|
@@ -99,7 +99,13 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 循环展示框列表结束 -->
|
|
|
-
|
|
|
+ <div style="display: flex;width: 90%;justify-content: flex-end;margin-top: 30px;">
|
|
|
+ <el-pagination
|
|
|
+ background
|
|
|
+ layout="prev, pager, next"
|
|
|
+ :total="1">
|
|
|
+ </el-pagination>
|
|
|
+ </div>
|
|
|
|
|
|
</div>
|
|
|
</template>
|
|
@@ -110,13 +116,7 @@
|
|
|
return {
|
|
|
input:'',
|
|
|
items:[
|
|
|
- {
|
|
|
- projectName:'疯狂星期四',
|
|
|
- person:'袁一鸣',
|
|
|
- school:'深技师',
|
|
|
- blogs:'个人博客',
|
|
|
- num:'JK123245679'
|
|
|
- },
|
|
|
+
|
|
|
{
|
|
|
projectName:'疯狂星期四',
|
|
|
person:'袁一鸣',
|
|
@@ -183,20 +183,22 @@
|
|
|
|
|
|
.projectBlock{ //大框
|
|
|
box-sizing: border-box;
|
|
|
- width: 99%;
|
|
|
+ width: 100%;
|
|
|
+ height: 350px;
|
|
|
display: flex;
|
|
|
+ overflow: hidden;
|
|
|
flex-wrap: wrap;
|
|
|
.classBlock{ //每个独立小框
|
|
|
flex-shrink: 0;
|
|
|
margin-right: 30px;
|
|
|
margin-bottom: 15px;
|
|
|
- width: 300px;height: 280px;
|
|
|
+ width: 310px;height: 300px;
|
|
|
background-color: rgb(255, 255, 255);
|
|
|
box-shadow: 1px 2px 3px #ccc;
|
|
|
border: 1px solid #ccc;
|
|
|
border-radius: 5px;
|
|
|
img{
|
|
|
- width: 100%;height: 140px;
|
|
|
+ width: 100%;height: 150px;
|
|
|
}
|
|
|
|
|
|
.classBlock1{ //中间栏
|
|
@@ -207,6 +209,7 @@
|
|
|
.classBlock2{ //项目名称
|
|
|
margin-left: 5px;
|
|
|
margin-bottom: 5px;
|
|
|
+ margin-top: 8px;
|
|
|
text-align: left;
|
|
|
font-size: 18px;
|
|
|
}
|
|
@@ -215,12 +218,12 @@
|
|
|
padding: 0 5px;
|
|
|
font-size: 16px;
|
|
|
width: 100%;
|
|
|
- margin-top: 8px;
|
|
|
+ margin-top: 7px;
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
}
|
|
|
.classBlock4{ //博客、编号
|
|
|
- margin-top: 5px;
|
|
|
+ margin-top: 6px;
|
|
|
}
|
|
|
}
|
|
|
|