提交 1d6bd990 编写于 作者: guangjun.yang's avatar guangjun.yang

没有会话时

上级 f3129bea
...@@ -355,6 +355,22 @@ ...@@ -355,6 +355,22 @@
} }
} }
} }
&.no-content {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
img {
display: block;
width: 120px;
height: 100px;
}
p {
text-align: center;
font-size: 14px;
color: #000000;
}
}
} }
.right { .right {
width: 240px; width: 240px;
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
</li> </li>
</ul> </ul>
</article> </article>
<article class="center" v-loadmore="getOldMSGHistory"> <article v-show="sessionList.length" class="center" v-loadmore="getOldMSGHistory">
<section class="c-header"> <section class="c-header">
<div class="c-header-l"> <div class="c-header-l">
<img :src="currentSession.avatarImageUrl" alt /> <img :src="currentSession.avatarImageUrl" alt />
...@@ -141,9 +141,13 @@ ...@@ -141,9 +141,13 @@
</div> </div>
</section> </section>
</article> </article>
<article class="right"> <article v-show="sessionList.length" class="right">
<UserInfo :userInfo="doctorInfo" :taskLogId="currentTaskLogId"></UserInfo> <UserInfo :userInfo="doctorInfo" :taskLogId="currentTaskLogId"></UserInfo>
</article> </article>
<article v-show="!sessionList.length" class="center no-content">
<img src="" alt="">
<p>任务都做完啦!休息一下吧~</p>
</article>
</section> </section>
<!-- 选择链接弹窗 --> <!-- 选择链接弹窗 -->
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册