|
@@ -11,17 +11,7 @@
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
<el-col :span="24" class="chat">
|
|
|
- <el-col :span="24" class="chatList">
|
|
|
- 聊天列表
|
|
|
- </el-col>
|
|
|
- <el-col :span="24" class="chatInput">
|
|
|
- <el-col :span="19" class="input">
|
|
|
- <el-input v-model="input"></el-input>
|
|
|
- </el-col>
|
|
|
- <el-col :span="5" class="btn">
|
|
|
- <el-button type="primary" size="mini" @click="onSubmit">发送</el-button>
|
|
|
- </el-col>
|
|
|
- </el-col>
|
|
|
+ <chat></chat>
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -33,10 +23,13 @@ import TRTC from 'trtc-js-sdk';
|
|
|
import { mapState, createNamespacedHelpers } from 'vuex';
|
|
|
const { mapActions: gensign } = createNamespacedHelpers('gensign');
|
|
|
const { mapActions: room } = createNamespacedHelpers('room');
|
|
|
+import chat from '@/components/parts/chat.vue';
|
|
|
export default {
|
|
|
name: 'roomsDetail',
|
|
|
props: {},
|
|
|
- components: {},
|
|
|
+ components: {
|
|
|
+ chat,
|
|
|
+ },
|
|
|
data: function() {
|
|
|
return {
|
|
|
client_: null,
|