首页标签基本框架搭建

This commit is contained in:
2023-07-01 02:05:54 +08:00
parent 226632509a
commit d79c4fec0a
11 changed files with 1726 additions and 11 deletions

View File

@@ -18,7 +18,7 @@
<div>
<div style="margin-left: 10px;width: 10px;height: 10px;border-radius: 50%;background-color: #ffba00"></div>
</div>
<el-tag size="mini" style="margin-left: 5px">C++</el-tag><span style="color: rgb(156 163 175);margin-left: 5px"> </span>
<el-tag size="mini" style="margin-left: 5px">{{projectLists.categoryName}}</el-tag><span style="color: rgb(156 163 175);margin-left: 5px"> </span>
<div style="margin-left: 10px">
<span style="color: rgb(156 163 175); ">{{ formatTime }}</span>
</div>
@@ -54,7 +54,7 @@ export default {
},
// 截取文章内容的前 35 个字,并加上省略号
brief: function() {
return this.projectLists.projectDescription.substr(0, 35) + '...';
return this.projectLists.projectDescription.substr(0, 33) + '...';
}
}
}