|
@@ -39,33 +39,34 @@
|
|
|
<div> </div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- <el-row>
|
|
|
- <el-col :span="1"> </el-col>
|
|
|
- <el-col :span="22">
|
|
|
- <el-col
|
|
|
- :span="6"
|
|
|
- v-for="(item, index) in dataList"
|
|
|
- :key="index"
|
|
|
- @click="detailP(item.id)"
|
|
|
- >
|
|
|
- <div class="card">
|
|
|
- <img src="../assets/newImage/xl1.png" alt="" class="img_card" />
|
|
|
- <div style="display: block">
|
|
|
- <h3 class="h3_card">{{ item.name }}</h3>
|
|
|
- <div class="time_card">
|
|
|
- {{ item.testDate }}
|
|
|
- </div>
|
|
|
- <div class="goDetail">
|
|
|
- <a href="javascript:;" @click="queryDetail(item.id)">
|
|
|
- 查看详情></a
|
|
|
- >
|
|
|
- </div>
|
|
|
- <div> </div>
|
|
|
+ <el-row :gutter="20">
|
|
|
+ <el-col
|
|
|
+ v-for="(item, index) in dataList"
|
|
|
+ :key="index"
|
|
|
+ @click="detailP(item.id)"
|
|
|
+ :span="6"
|
|
|
+ :offset="1"
|
|
|
+ style="margin-right: 20px;"
|
|
|
+ >
|
|
|
+ <div class="card">
|
|
|
+ <img src="../assets/newImage/xl1.png" alt="" class="img_card" />
|
|
|
+ <div style="display: block">
|
|
|
+ <h3 class="h3_card">{{ item.name }}</h3>
|
|
|
+ <div class="time_card">
|
|
|
+ {{ item.testDate }}
|
|
|
+ </div>
|
|
|
+ <div class="time_card">
|
|
|
+ {{ item.desc }}
|
|
|
</div>
|
|
|
+ <div class="goDetail">
|
|
|
+ <a href="javascript:;" @click="queryDetail(item.id)">
|
|
|
+ 查看详情></a
|
|
|
+ >
|
|
|
+ </div>
|
|
|
+ <div> </div>
|
|
|
</div>
|
|
|
- </el-col>
|
|
|
+ </div>
|
|
|
</el-col>
|
|
|
- <el-col :span="1"> </el-col>
|
|
|
</el-row>
|
|
|
<el-row> </el-row>
|
|
|
<!-- <ul>
|
|
@@ -173,7 +174,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
queryLikeWord() {
|
|
|
- this.pageNum=1;
|
|
|
+ this.pageNum = 1;
|
|
|
this.init();
|
|
|
},
|
|
|
handleCurrentChange(val) {
|
|
@@ -201,7 +202,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
);
|
|
|
- },
|
|
|
+ }
|
|
|
},
|
|
|
};
|
|
|
</script>
|
|
@@ -279,7 +280,7 @@ export default {
|
|
|
color: #57acbb;
|
|
|
}
|
|
|
.pageNationBox {
|
|
|
- margin-bottom:30px;
|
|
|
+ margin-bottom: 30px;
|
|
|
padding: 20px 10px;
|
|
|
text-align: center;
|
|
|
}
|
|
@@ -311,30 +312,7 @@ export default {
|
|
|
display: block !important;
|
|
|
overflow-y: auto !important;
|
|
|
}
|
|
|
-.card {
|
|
|
- background: #fff;
|
|
|
- box-shadow: 0 3px 6px #57acbb;
|
|
|
- border-radius: 4px;
|
|
|
- display: block;
|
|
|
- margin-left: 20px;
|
|
|
- margin-right: 20px;
|
|
|
- margin-bottom: 80px;
|
|
|
-}
|
|
|
-.img_card {
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
-}
|
|
|
-.h3_card {
|
|
|
- font-size: 18px;
|
|
|
- font-family: PingFang SC;
|
|
|
- font-weight: 500;
|
|
|
- line-height: 20px;
|
|
|
- color: #333;
|
|
|
- margin-left: 9px;
|
|
|
- overflow: hidden;
|
|
|
- text-overflow: ellipsis;
|
|
|
- white-space: nowrap;
|
|
|
-}
|
|
|
+
|
|
|
.time_card {
|
|
|
font-size: 12px;
|
|
|
font-family: PingFang SC;
|
|
@@ -347,15 +325,46 @@ export default {
|
|
|
white-space: nowrap;
|
|
|
}
|
|
|
.xl_input >>> .el-input__inner {
|
|
|
- border: 0;
|
|
|
- border-radius: 20px;
|
|
|
- background-color: #f4f4f4;
|
|
|
+ width: 35.4vw;
|
|
|
+ line-height: 64px;
|
|
|
+ background: #eaeaea;
|
|
|
+ border-radius: 30px 30px 30px 30px;
|
|
|
+ opacity: 1;
|
|
|
+ box-sizing: border-box;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #929292;
|
|
|
}
|
|
|
.search_card {
|
|
|
- margin-left: 20px;
|
|
|
margin-bottom: 20px;
|
|
|
}
|
|
|
-.navigation_card {
|
|
|
- margin-left: 20px;
|
|
|
+
|
|
|
+.card {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ box-sizing: border-box;
|
|
|
+ width: 24.6vw;
|
|
|
+ height: 20.37vh;
|
|
|
+ padding: 15px 14px;
|
|
|
+ background: #eaeaea;
|
|
|
+ opacity: 1;
|
|
|
+ border-radius: 30px 30px 30px 30px;
|
|
|
+}
|
|
|
+
|
|
|
+.card .img_card {
|
|
|
+ width: 9.9vw;
|
|
|
+ height: 9.9vw;
|
|
|
+ background: #ffffff;
|
|
|
+ border-radius: 20px 20px 20px 20px;
|
|
|
+ opacity: 1;
|
|
|
+ border: 1px solid #f5f5f5;
|
|
|
+}
|
|
|
+
|
|
|
+.h3_card {
|
|
|
+ font-size: 1.1vw;
|
|
|
+ font-family: Source Han Sans CN-Regular, Source Han Sans CN;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #0f0f0f;
|
|
|
+ line-height: 40px;
|
|
|
+ letter-spacing: 0.2vw;
|
|
|
}
|
|
|
</style>
|