个人主页样式调整

This commit is contained in:
zhaofang
2022-10-22 11:54:37 +08:00
parent 63e67bf348
commit 3c0b0a9f5d
4 changed files with 8 additions and 7 deletions

View File

@@ -31,7 +31,7 @@
</ul> </ul>
<div v-else class="home-no-list"> <div v-else class="home-no-list">
<img class="img" style="width:150px;height:160px" :src="`${webBaseUrl}/images/homeWu/no-article.png`" alt="" srcset=""> <img class="img" style="width:150px;height:160px" :src="`${webBaseUrl}/images/homeWu/no-article.png`" alt="" srcset="">
<p class="text">还没有笔记</p> <p class="text">还没有文章</p>
</div> </div>
</div> </div>
</template> </template>

View File

@@ -191,10 +191,11 @@ div {
.case-list { .case-list {
border-bottom: 1px solid rgba(153, 153, 153,.2); border-bottom: 1px solid rgba(153, 153, 153,.2);
margin: 8px 0px; padding-top: 30px;
// margin: 8px 0px;
padding-bottom: 15px; padding-bottom: 15px;
padding-left: 5px; // padding-left: 5px;
padding-right: 5px; // padding-right: 5px;
} }
.case-image { .case-image {
width: 230px; width: 230px;

View File

@@ -47,6 +47,7 @@
export default{ export default{
data(){ data(){
return{ return{
pageId:'',
toScore, toScore,
courseList:[] courseList:[]
} }
@@ -95,12 +96,12 @@
<style lang="scss" scoped> <style lang="scss" scoped>
.data-info-ul{ .data-info-ul{
margin: 0; margin: 0;
padding-top: 32px; // padding-top: 32px;
} }
.data-info{ .data-info{
border-bottom: 1px solid rgba($color: #999999, $alpha: 0.2); border-bottom: 1px solid rgba($color: #999999, $alpha: 0.2);
padding-bottom: 38px; padding-bottom: 38px;
margin-bottom: 32px; padding-top: 32px;
.data-cen{ .data-cen{
flex: 100%; flex: 100%;
margin: 0 28px; margin: 0 28px;

View File

@@ -143,7 +143,6 @@ import apiUser from "@/api/system/user.js";
mounted() { mounted() {
this.pageId = this.$xpage.getHomeId(this.$route); this.pageId = this.$xpage.getHomeId(this.$route);
this.$bus.$on('followIndex',(num)=>{ this.$bus.$on('followIndex',(num)=>{
console.log(num,'num');
this.active = num; this.active = num;
}) })
}, },