Commit adc35fb33f5052589f504268bc2b87086020bcdc
1 parent
0f3123c5
临时提交~
Showing
5 changed files
with
90 additions
and
22 deletions
src/components/darenListCom/darenListCom.less
| 1 | @charset "UTF-8"; | 1 | @charset "UTF-8"; |
| 2 | 2 | ||
| 3 | -.daren-list-box { | ||
| 4 | - .daren-list-com { | ||
| 5 | - | ||
| 6 | - } | ||
| 7 | -} | 3 | +.daren-list-com { |
| 4 | + .title-box + .box { | ||
| 5 | + margin-top: 30px; | ||
| 6 | + } | ||
| 7 | + > .box { | ||
| 8 | + margin: 0 auto; | ||
| 9 | + width: 690px; | ||
| 10 | + .top-box { | ||
| 11 | + display: flex; | ||
| 12 | + justify-content: space-between; | ||
| 13 | + align-items: center; | ||
| 14 | + .top-left { | ||
| 15 | + | ||
| 16 | + } | ||
| 17 | + .top-right { | ||
| 18 | + color: #666666; | ||
| 19 | + font-size: 26px; | ||
| 20 | + font-weight: 400; | ||
| 21 | + } | ||
| 22 | + } | ||
| 23 | + .intro-box { | ||
| 24 | + display: -webkit-box; | ||
| 25 | + margin-top: 20px; | ||
| 26 | + color: #666666; | ||
| 27 | + font-size: 26px; | ||
| 28 | + font-weight: 400; | ||
| 29 | + line-height: 37px; | ||
| 30 | + width: 100%; | ||
| 31 | + -webkit-line-clamp: 3; | ||
| 32 | + /*! autoprefixer: off */ | ||
| 33 | + -webkit-box-orient: vertical; | ||
| 34 | + /*! autoprefixer: on */ | ||
| 35 | + text-overflow: ellipsis; | ||
| 36 | + overflow: hidden; | ||
| 37 | + } | ||
| 38 | + .center-box { | ||
| 39 | + margin-top: 20px; | ||
| 40 | + | ||
| 41 | + | ||
| 42 | + | ||
| 43 | + | ||
| 44 | + | ||
| 45 | + } | ||
| 46 | + .bottom-box { | ||
| 47 | + | ||
| 48 | + | ||
| 49 | + | ||
| 50 | + | ||
| 51 | + .comment-like-view-box { | ||
| 52 | + display: flex; | ||
| 53 | + justify-content: space-between; | ||
| 54 | + align-items: center; | ||
| 55 | + | ||
| 56 | + | ||
| 57 | + | ||
| 58 | + | ||
| 59 | + } | ||
| 60 | + } | ||
| 61 | + | ||
| 62 | + | ||
| 63 | + | ||
| 64 | + | ||
| 65 | + | ||
| 66 | + | ||
| 67 | + | ||
| 68 | + | ||
| 69 | + | ||
| 70 | + } | ||
| 71 | +} | ||
| 8 | \ No newline at end of file | 72 | \ No newline at end of file |
src/components/darenListCom/darenListCom.vue
| @@ -6,20 +6,27 @@ | @@ -6,20 +6,27 @@ | ||
| 6 | 6 | ||
| 7 | <div class="box"> | 7 | <div class="box"> |
| 8 | <div class="top-box"> | 8 | <div class="top-box"> |
| 9 | - | ||
| 10 | - <!-- 用户头像/昵称 --> | ||
| 11 | - <user-avatar class="top-left" @jump="userJump" | ||
| 12 | - > | ||
| 13 | - </user-avatar> | ||
| 14 | - | ||
| 15 | - <!-- 发布时间 --> | 9 | + <div class="top-left"> |
| 10 | + | ||
| 11 | + <!-- 用户头像/昵称 --> | ||
| 12 | + <user-avatar @jump="userJump" | ||
| 13 | + :users="{ | ||
| 14 | + simg: 'static/img/6.png', | ||
| 15 | + nickname: '欧阳娜娜' | ||
| 16 | + }"> | ||
| 17 | + </user-avatar> | ||
| 18 | + </div> | ||
| 16 | <div class="top-right"> | 19 | <div class="top-right"> |
| 17 | 20 | ||
| 21 | + <!-- 发布时间 --> | ||
| 22 | + 26秒前 | ||
| 18 | </div> | 23 | </div> |
| 19 | </div> | 24 | </div> |
| 20 | 25 | ||
| 21 | <!-- 动态简介 --> | 26 | <!-- 动态简介 --> |
| 22 | - <div class="intro"></div> | 27 | + <div class="intro-box"> |
| 28 | + 盆地是地球表面(岩石圈表面)相对长时期沉降的区域,因整个地形外观与盆子相似而得名。换言之盆地是基底表面相对于海拔盆地是地球表面相对长时期沉降的区域盆地是地球表面(岩石圈表面)相对长时期沉降的区域,因整个地形外观与盆子相似而得名。换言之盆地是基底表面相对于海拔盆地是地球表面相对长时期沉降的区域盆地是地球表面(岩石圈表面)相对长时期沉降的区域,因整个地形外观与盆子相似而得名。换言之盆地是基底表面相对于海拔盆地是地球表面相对长时期沉降的区域盆地是地球表面(岩石圈表面)相对长时期沉降的区域,因整个地形外观与盆子相似而得名。换言之盆地是基底表面相对于海拔盆地是地球表面相对长时期沉降的区域 | ||
| 29 | + </div> | ||
| 23 | 30 | ||
| 24 | <!-- 中间图片部分 --> | 31 | <!-- 中间图片部分 --> |
| 25 | <div class="center-box"> | 32 | <div class="center-box"> |
src/components/userAvatarBox/userAvatarBox.vue
| @@ -2,14 +2,14 @@ | @@ -2,14 +2,14 @@ | ||
| 2 | <div class="user-avatar-box" v-if="users" @click="jump(users)"> | 2 | <div class="user-avatar-box" v-if="users" @click="jump(users)"> |
| 3 | <div class="box"> | 3 | <div class="box"> |
| 4 | <div class="avatar-box"> | 4 | <div class="avatar-box"> |
| 5 | - <img v-lazy="users.avatar" class="avatar-img" /> | 5 | + <img v-lazy="users.simg" class="avatar-img" /> |
| 6 | </div> | 6 | </div> |
| 7 | <div class="nickname"> | 7 | <div class="nickname"> |
| 8 | {{users.nickname}} | 8 | {{users.nickname}} |
| 9 | </div> | 9 | </div> |
| 10 | </div> | 10 | </div> |
| 11 | </div> | 11 | </div> |
| 12 | -</template>f | 12 | +</template> |
| 13 | 13 | ||
| 14 | <script> | 14 | <script> |
| 15 | export default { | 15 | export default { |
src/pages/darenList/darenList.less
static/img/icon_popular_comment.png
0 → 100644
2.98 KB