Skip to content
This repository has been archived by the owner on Jul 30, 2020. It is now read-only.

Commit

Permalink
样式小修复
Browse files Browse the repository at this point in the history
  • Loading branch information
flytam committed Jun 22, 2018
1 parent 3e7c2e8 commit 8c547ed
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/pages/me/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<div class="container">
<login :visible='visible' v-on:modalClose='closeModalEvent'></login>
<authorHead :user='user'></authorHead>
<div class='body'>
<navigator class='list-item margin' @click.stop='setListFrom' url='/pages/list/main' data-item='collect'>我的收藏</navigator>
<div class='list'>
<navigator class='list-item' @click.stop='setListFrom' url='/pages/list/main' data-item='collect'>我的收藏</navigator>
<navigator class='list-item' @click.stop='setListFrom' url='/pages/list/main' data-item='topic'>最近话题</navigator>
<navigator class='list-item' @click.stop='setListFrom' url='/pages/list/main' data-item='reply'>最近回复</navigator>
<div class='list-item' @click='logout'>登出</div>
Expand Down Expand Up @@ -68,17 +68,17 @@ export default {
.container {
height: 100vh;
background-color: rgb(245, 245, 249);
.body {
.list {
margin-top: 30rpx;
background-color: white;
.list-item {
height: 76rpx;
line-height: 76rpx;
margin: 0 30rpx;
padding: 10rpx 0;
& + & {
border-top: 2rpx solid $borderColor;
}
}
.list-item + .list-item {
border-top: 2rpx solid $borderColor;
}
.margin {
margin-top: 30rpx;
Expand Down

0 comments on commit 8c547ed

Please sign in to comment.