更新页面

This commit is contained in:
2023-07-07 11:47:56 +08:00
parent 6ab7a22865
commit 16ea4ca255
2 changed files with 14 additions and 17 deletions

View File

@@ -3,14 +3,12 @@
<div style="display: flex;flex-direction:column;flex-wrap: nowrap"> <div style="display: flex;flex-direction:column;flex-wrap: nowrap">
<div class="PageHeader"> <div class="PageHeader">
<br/> <br/>
<div style="display:flex;flex-wrap:nowrap"> <el-page-header @back="goBack" style="justify-content:left;display: flex;">
<el-page-header @back="goBack" style="justify-content: center;"> <div slot="title" style="font-size:23px;font-weight: 600;"></div>
<div slot="title" style="font-size:23px;font-weight: 600;"></div> <div slot="content" class="test" style="font-size:23px;font-weight: 600;">
<div slot="content" style="font-size:25px;font-weight: 650;margin-top:0px"> <div> HelloGitHub月刊 <span style="font-size:30px;font-weight:750">{{selectlabelItem}} </span>分区</div>
HelloGitHub月刊 <span style="font-size:30px;font-weight:750">{{selectlabelItem}} </span>分区 </div>
</div> </el-page-header>
</el-page-header>
</div>
</div> </div>
<div class="PageContent"> <div class="PageContent">
@@ -128,12 +126,7 @@ export default {
this.getList(1,that.selectlabelItem); this.getList(1,that.selectlabelItem);
}, },
goBack() { goBack() {
let pathInfo = this.$router.resolve({ window.history.go(-1);
path: '/Monthly',
query:{
}
})
window.open(pathInfo.href, '_self');
}, },
// 获取所有标签列表 // 获取所有标签列表
getLabel(){ getLabel(){
@@ -197,7 +190,10 @@ export default {
<style scoped lang="scss"> <style scoped lang="scss">
::v-deep .el-page-header__left{ ::v-deep .el-page-header__left{
left:20px; left:10px;
//display: none; //display: none;
} }
::v-deep .el-page-header__content{
flex:1;
}
</style> </style>

View File

@@ -1,6 +1,8 @@
<template> <template>
<div class="MonItems"> <div class="MonItems">
<a class="Title" :href="Items.projectUrl"><i class="el-icon-s-promotion"></i>{{briefTitle}}</a> <div style="text-align: left">
<a class="Title" :href="Items.projectUrl"><i class="el-icon-s-promotion"></i>{{briefTitle}}</a>
</div>
<div class="State"> <div class="State">
<div style="margin-top:10px"> <div style="margin-top:10px">
<i class="el-icon-star-off"></i>&nbsp;Star:{{Items.startNum}}&nbsp;&nbsp;&nbsp;&nbsp; <i class="el-icon-star-off"></i>&nbsp;Star:{{Items.startNum}}&nbsp;&nbsp;&nbsp;&nbsp;
@@ -76,7 +78,6 @@ export default {
margin-top:30px margin-top:30px
} }
.Title{ .Title{
margin-left:-450px;
width:fit-content; width:fit-content;
color: #7bb6ff; color: #7bb6ff;
font-size:25px; font-size:25px;