Commit 9992f516 authored by 夏敏伟's avatar 夏敏伟

样式修改

parent cc50763d
...@@ -17,13 +17,13 @@ ...@@ -17,13 +17,13 @@
<el-form-item> <el-form-item>
<img class="goBack" :src="goBack" alt="" @click="goBackFn"> <img class="goBack" :src="goBack" alt="" @click="goBackFn">
</el-form-item> </el-form-item>
<el-form-item> <!-- <el-form-item>
<div class="searchButton" <div class="searchButton"
:style="{ background: stompClient.connected ? 'Green' : 'gray', color: 'white' }"> :style="{ background: status ? 'Green' : 'gray', color: 'white' }">
<span :class="[!stompClient.connected ? 'el-icon-loading' : '']"></span> <span :class="[!status ? 'el-icon-loading' : '']"></span>
{{ stompClient.connected ? '已连接' : '重连中' }} {{ status ? '已连接' : '重连中' }}
</div> </div>
</el-form-item> </el-form-item> -->
</el-form> </el-form>
</div> </div>
<div class="ddkz-info-content"> <div class="ddkz-info-content">
...@@ -120,7 +120,8 @@ export default { ...@@ -120,7 +120,8 @@ export default {
newsList: [], newsList: [],
publicNoticeList: [], publicNoticeList: [],
stompClient: { connected: false }, stompClient: { connected: false },
peopleList: [] peopleList: [],
// status:false
} }
}, },
components: { components: {
...@@ -247,7 +248,13 @@ export default { ...@@ -247,7 +248,13 @@ export default {
} else { } else {
this.dataOrderByParams(this.formInfo.day, newVal); this.dataOrderByParams(this.formInfo.day, newVal);
} }
} },
// 'stompClient.connected':{
// handler(newVal,oldVal){
// this.status = newVal;
// },
// immediate:true
// }
}, },
computed: { computed: {
userInfo() { userInfo() {
...@@ -261,6 +268,7 @@ export default { ...@@ -261,6 +268,7 @@ export default {
activated() { activated() {
this.currentChatRoomInfo = this.$route.params.data; this.currentChatRoomInfo = this.$route.params.data;
this.stompClient = this.$route.params.client; this.stompClient = this.$route.params.client;
// this.status = this.stompClient.connected;
this.listChatroom(this.currentChatRoomInfo); this.listChatroom(this.currentChatRoomInfo);
//获取当前组成员 //获取当前组成员
this.getCurrentTeamPeople(this.currentChatRoomInfo); this.getCurrentTeamPeople(this.currentChatRoomInfo);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment