|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div class="app-content">
|
|
|
<div class="chat-top-wrap">
|
|
|
- <scroll-view class="chat-list-wrap" scroll-y :style="{height: '642px'}">
|
|
|
+ <scroll-view class="chat-list-wrap" scroll-y :style="{height: scrollHei}">
|
|
|
<div class="chat-list" :class="[index == 2 ? 'chat-list-l' : 'chat-list-r' ]" v-for="(item, index) in 4" :key="index">
|
|
|
<div class="list-time">15:20</div>
|
|
|
<div class="list-blo">
|
|
|
@@ -64,7 +64,7 @@ export default {
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
.chat-top-wrap {
|
|
|
- height: calc(100% - 170px);
|
|
|
+ height: calc(100% - 170px);
|
|
|
.chat-list {
|
|
|
width: calc(100% - 52px);
|
|
|
padding: 0 26px;
|
|
|
@@ -117,6 +117,9 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ &:last-child {
|
|
|
+ margin-bottom: 20px;
|
|
|
+ }
|
|
|
}
|
|
|
// 左边的消息
|
|
|
.chat-list-l {
|