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

样式优化

上级 d4916d36
...@@ -124,3 +124,7 @@ ...@@ -124,3 +124,7 @@
font-weight: 700; font-weight: 700;
color: #0D9078 !important; color: #0D9078 !important;
} }
.el-form-item .el-form-item__label{
font-size: 14px !important;
}
\ No newline at end of file
...@@ -393,6 +393,7 @@ ...@@ -393,6 +393,7 @@
.right { .right {
width: 240px; width: 240px;
border-left: 2px solid #f5f5f5; border-left: 2px solid #f5f5f5;
overflow: scroll;
} }
background: #fff; background: #fff;
.time { .time {
......
<template> <template>
<div class="current-session-wrap"> <div class="current-session-wrap">
<bread-crumb :curmbFirst="curmbFirst" :curmbSecond="curmbSecond"></bread-crumb> <!-- <bread-crumb :curmbFirst="curmbFirst" :curmbSecond="curmbSecond"></bread-crumb> -->
<section class="component-content screenSet" id="screenSet"> <section class="component-content screenSet" id="screenSet">
<article class="left"> <article class="left">
<div class="l-header"> <div class="l-header">
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
</div> </div>
</section> </section>
</article> </article>
<article v-show="sessionListData.sessionList.length" class="right"> <article id="userInfoId" v-show="sessionListData.sessionList.length" class="right">
<UserInfo :userInfo="doctorInfo" :taskLogId="currentTaskLogId"></UserInfo> <UserInfo :userInfo="doctorInfo" :taskLogId="currentTaskLogId"></UserInfo>
</article> </article>
<article v-show="!sessionListData.sessionList.length" class="center no-content"> <article v-show="!sessionListData.sessionList.length" class="center no-content">
...@@ -215,7 +215,6 @@ import { validateWord } from "@/utils/validate.js"; ...@@ -215,7 +215,6 @@ import { validateWord } from "@/utils/validate.js";
import { openLoading, closeLoading, betaHandle } from "@/utils/utils"; import { openLoading, closeLoading, betaHandle } from "@/utils/utils";
import { getPicaKFAccid, getPhomeDemain } from "@/utils"; import { getPicaKFAccid, getPhomeDemain } from "@/utils";
import UserInfo from "@/components/IM/user-info.vue"; import UserInfo from "@/components/IM/user-info.vue";
// const CONTAINER_HEIGHT = 300;
const CONTAINER_HEIGHT = 700; const CONTAINER_HEIGHT = 700;
let forwardMsgIntervalId = null, let forwardMsgIntervalId = null,
sessionIntervalId = null, sessionIntervalId = null,
...@@ -332,12 +331,14 @@ export default { ...@@ -332,12 +331,14 @@ export default {
this.$nextTick(() => { this.$nextTick(() => {
_this.containerHeight = document.body.clientHeight - 80; _this.containerHeight = document.body.clientHeight - 80;
_this.getElmByID("screenSet").style.height = _this.getElmByID("screenSet").style.height =
_this.containerHeight - 152 + "px"; _this.containerHeight - 142 + "px";
// console.log('_this.containerHeight', _this.containerHeight); // console.log('_this.containerHeight', _this.containerHeight);
_this.getElmByID("sessionListId").style.height = _this.getElmByID("sessionListId").style.height =
_this.containerHeight - 252 + "px"; _this.containerHeight - 242 + "px";
_this.getElmByID("userInfoId").style.height =
_this.containerHeight - 242 + "px";
_this.getElmByID("msgContentId").style.height = _this.getElmByID("msgContentId").style.height =
_this.containerHeight - 287 + "px"; _this.containerHeight - 277 + "px";
}); });
}, },
......
<template> <template>
<div class="wts-list-wrap"> <div class="wts-list-wrap">
<bread-crumb :curmbFirst="curmbFirst" :curmbSecond="curmbSecond"></bread-crumb> <!-- <bread-crumb :curmbFirst="curmbFirst" :curmbSecond="curmbSecond"></bread-crumb> -->
<div class="component-content screenSet" id="screenSet"> <div class="component-content screenSet" id="screenSet">
<div class="search-title"> <div class="search-title">
<p>当前共有<span class="num">{{total}}</span>用户正在等待</p> <p>当前共有<span class="num">{{total}}</span>用户正在等待</p>
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
}, },
// 挂载到Dom完成时 // 挂载到Dom完成时
mounted: function() { mounted: function() {
commonUtil.resizeHeight(); commonUtil.resizeHeight(142, 200);
}, },
methods: { methods: {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册