|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div class="app-container">
|
|
|
+ <div style="width: 100%;height: 100%">
|
|
|
|
|
|
<el-tabs type="card" v-model="appKey" @tab-click="qwUserChange">
|
|
|
<el-tab-pane
|
|
@@ -13,7 +13,7 @@
|
|
|
<lemon-imui class="lemon-slot"
|
|
|
:width="windowWidth"
|
|
|
:height="windowHeight"
|
|
|
- :user="UserData"
|
|
|
+ :user="userData"
|
|
|
ref="IMUI"
|
|
|
:contact-contextmenu="contactContextmenu"
|
|
|
:theme="theme"
|
|
@@ -31,81 +31,26 @@
|
|
|
@pick-image="handleImageClick"
|
|
|
@send="handleSend">
|
|
|
<template #cover>
|
|
|
- <div class="cover">
|
|
|
- <!-- <i class="lemon-icon-message"></i>
|
|
|
- <p>
|
|
|
- <b>自定义封面 Lemon</b>IMUI
|
|
|
- </p> -->
|
|
|
+ <div>
|
|
|
</div>
|
|
|
</template>
|
|
|
<template #message-title="contact">
|
|
|
<div>
|
|
|
- <div style="display:flex;justify-content:space-between">
|
|
|
- <span>{{contact.displayName}}</span>
|
|
|
- <span style="font-size:12px;">
|
|
|
- <el-button size="mini" @click="showDetail">详情</el-button>
|
|
|
-<!-- <el-button size="mini" @click="openDrawer('right')">侧边栏</el-button>-->
|
|
|
- <!-- <span style="cursor:pointer;" @click="openDrawer('right')">-->
|
|
|
- <!-- 右侧 |-->
|
|
|
- <!-- </span>-->
|
|
|
- <!-- <span style="cursor:pointer;" @click="openDrawer('rightInside')">-->
|
|
|
- <!-- 右侧内部 |-->
|
|
|
- <!-- </span>-->
|
|
|
- <!-- <span style="cursor:pointer;" @click="openDrawer('center')">-->
|
|
|
- <!-- 居中-->
|
|
|
- <!-- </span>-->
|
|
|
- </span>
|
|
|
- </div>
|
|
|
- <div v-if="contact.isGroup" class="slot-group-menu">
|
|
|
- <span>聊天</span>
|
|
|
- <span>公告</span>
|
|
|
- <span>相册</span>
|
|
|
- <span>文件</span>
|
|
|
- <span>活动</span>
|
|
|
- <span>设置(左键弹出菜单)</span>
|
|
|
- </div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<template #sidebar-contact-fixedtop="contact">
|
|
|
- <div class="slot-contact-fixedtop">
|
|
|
- <el-input size="mini" class="slot-search" placeholder="搜索通讯录" />
|
|
|
+ <div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<template #sidebar-message-fixedtop="message">
|
|
|
- <div class="slot-message-fixedtop">
|
|
|
- <el-input size="mini" v-model="contactName" class="slot-search" placeholder="搜索" />
|
|
|
+ <div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<template #message-side="contact">
|
|
|
- <div v-if="contact.isGroup" class="slot-group">
|
|
|
- <div class="slot-group-title">群通知</div>
|
|
|
- <div class="slot-group-notice">
|
|
|
- 进群请改备注,格式,工作地点-姓名,请大家配合谢谢
|
|
|
- </div>
|
|
|
- <div class="slot-group-title">群成员</div>
|
|
|
- <div class="slot-group-panel">
|
|
|
- <input class="slot-search" placeholder="搜索群成员" />
|
|
|
- <div class="slot-group-member">
|
|
|
- <div class="avatar"><img src="https://p.qqan.com/up/2020-2/2020022821001845128.jpg"></div>
|
|
|
- <div class="name">像梦一样自由</div>
|
|
|
- </div>
|
|
|
- <div class="slot-group-member">
|
|
|
- <div class="avatar"><img src="https://p.qqan.com/up/2018-4/15244505348390471.jpg"></div>
|
|
|
- <div class="name">野火</div>
|
|
|
- </div>
|
|
|
- <div class="slot-group-member">
|
|
|
- <div class="avatar"><img src="https://p.qqan.com/up/2021-1/20211411391666.jpg"></div>
|
|
|
- <div class="name">霸王花</div>
|
|
|
- </div>
|
|
|
- <div class="slot-group-member">
|
|
|
- <div class="avatar"><img src="https://p.qqan.com/up/2021-1/2021113104111220.jpg"></div>
|
|
|
- <div class="name">森系Style</div>
|
|
|
- </div>
|
|
|
-
|
|
|
- </div>
|
|
|
+ <div>
|
|
|
</div>
|
|
|
</template>
|
|
|
</lemon-imui>
|
|
@@ -128,6 +73,7 @@
|
|
|
|
|
|
<!-- 用户详情 -->
|
|
|
<el-drawer
|
|
|
+ append-to-body
|
|
|
:with-header="false"
|
|
|
size="75%"
|
|
|
:title="detail.title" :visible.sync="detail.open">
|
|
@@ -139,9 +85,7 @@
|
|
|
|
|
|
<script>
|
|
|
|
|
|
-import store from "@/store";
|
|
|
-import LemonMessageVoice from "@/components/LemonUI/components/message/voice.vue";
|
|
|
-import { getContactsByUser,getConversations,getMessageList,getConversation,sendMsg,getQwUserList} from '@/api/qw/im';
|
|
|
+import {getConversations,getMessageList,getConversation,sendMsg,getQwUserList} from '@/api/qw/im';
|
|
|
import Conversations from "@/components/LemonUI/database/conversations";
|
|
|
import EmojiData from "@/components/LemonUI/database/emoji";
|
|
|
import '@/components/LemonUI/index.css';
|
|
@@ -163,64 +107,14 @@ export default {
|
|
|
qwUserList:[],
|
|
|
theme: "default",
|
|
|
IMUI:null,
|
|
|
- contactContextmenu: [
|
|
|
- {
|
|
|
- text: "删除该聊天",
|
|
|
- click: (e, instance, hide) => {
|
|
|
- const { IMUI, contact } = instance;
|
|
|
- IMUI.updateContact({
|
|
|
- id: contact.id,
|
|
|
- lastContent: null,
|
|
|
- });
|
|
|
- if (IMUI.currentContactId == contact.id) IMUI.changeContact(null);
|
|
|
- hide();
|
|
|
- },
|
|
|
- },
|
|
|
- {
|
|
|
- text: "设置备注和标签",
|
|
|
- },
|
|
|
- {
|
|
|
- text: "投诉",
|
|
|
- },
|
|
|
- {
|
|
|
- icon: "lemon-icon-message",
|
|
|
- text: "加入黑名单",
|
|
|
- render: (h, instance, hide) => {
|
|
|
- return (
|
|
|
- <div style="display:flex;justify-content:space-between;align-items:center;width:130px">
|
|
|
- <span>加入黑名单</span>
|
|
|
- <span>
|
|
|
- <input type="checkbox" id="switch" />
|
|
|
- <label id="switch-label" for="switch">
|
|
|
- Toggle
|
|
|
- </label>
|
|
|
- </span>
|
|
|
- </div>
|
|
|
- );
|
|
|
- },
|
|
|
- },
|
|
|
- {
|
|
|
- click(e, instance, hide) {
|
|
|
- const { IMUI, contact } = instance;
|
|
|
- IMUI.removeContact(contact.id);
|
|
|
- if (IMUI.currentContactId == contact.id) IMUI.changeContact(null);
|
|
|
- hide();
|
|
|
- },
|
|
|
- color: "red",
|
|
|
- text: "删除好友",
|
|
|
- },
|
|
|
- ],
|
|
|
+ contactContextmenu: [],
|
|
|
hideMenuAvatar: false,
|
|
|
hideMenu: false,
|
|
|
hideMessageName: false,
|
|
|
hideMessageTime: true,
|
|
|
qwUser:{},
|
|
|
showQW:false,
|
|
|
- UserData: {
|
|
|
- // id: "1000",
|
|
|
- // displayName: "June",
|
|
|
- // avatar: "https://p.qqan.com/up/2018-4/15244505348390471.jpg",
|
|
|
- },
|
|
|
+ userData: {},
|
|
|
contactData:null,
|
|
|
conversationData:Conversations,
|
|
|
dialogImageUrl: '',
|
|
@@ -251,7 +145,6 @@ export default {
|
|
|
conversationId: null,
|
|
|
userId:null
|
|
|
},
|
|
|
- sessionId: null,
|
|
|
detail: {
|
|
|
title: '',
|
|
|
open: false
|
|
@@ -275,164 +168,26 @@ export default {
|
|
|
mounted() {
|
|
|
this.$watch('appKey', (newValue, oldValue) => {
|
|
|
if (newValue) {
|
|
|
- if (!this.qwIm.hasLogin) {
|
|
|
- this.initSocket(this.appKey);
|
|
|
- console.log("appkey====",this.appKey);
|
|
|
- }
|
|
|
+ console.log("appkey====",newValue);
|
|
|
}
|
|
|
});
|
|
|
- // this.UserData.id=this.qwUser.userId;
|
|
|
- // this.UserData.displayName=this.qwUser.qwUserName;
|
|
|
- // this.UserData.avatar="https://cos.his.cdwjyyh.com/fs/20241231/22a765a96da247d1b83ea94fef438a41.png";
|
|
|
this.showQW=true;
|
|
|
-
|
|
|
- const contactData1 = {
|
|
|
- id: "contact-1",
|
|
|
- displayName: "工作协作群",
|
|
|
- avatar: "http://upload.qqbodys.com/img/weixin/20170804/ji5qxg1am5ztm.jpg",
|
|
|
- index: "[1]群组",
|
|
|
- unread: 0,
|
|
|
- lastSendTime: 1566047865417,
|
|
|
- lastContent: "2",
|
|
|
- };
|
|
|
- const contactData2 = {
|
|
|
- id: "contact-2",
|
|
|
- displayName: "自定义内容",
|
|
|
- avatar: "http://upload.qqbodys.com/img/weixin/20170807/jibfvfd00npin.jpg",
|
|
|
- //index: "Z",
|
|
|
- click(next) {
|
|
|
- next();
|
|
|
- },
|
|
|
- renderContainer: () => {
|
|
|
- return <h1 style="text-indent:20px">自定义页面</h1>;
|
|
|
- },
|
|
|
- lastSendTime: 1345209465000,
|
|
|
- lastContent: "12312",
|
|
|
- unread: 2,
|
|
|
- };
|
|
|
- const contactData3 = {
|
|
|
- id: "contact-3",
|
|
|
- displayName: "铁牛",
|
|
|
- avatar: "http://upload.qqbodys.com/img/weixin/20170803/jiq4nzrkrnd0e.jpg",
|
|
|
- index: "T",
|
|
|
- unread: 32,
|
|
|
- lastSendTime: 3,
|
|
|
- lastContent: "你好123",
|
|
|
- };
|
|
|
const IMUI = this.$refs.IMUI;
|
|
|
|
|
|
- var conversationData = Conversations.filter(item => item.conversationId<=1);
|
|
|
+ const conversationData = Conversations.filter(item => item.conversationId <= 1);
|
|
|
conversationData.sort((a1, a2) => {
|
|
|
return a2.lastSendTime - a1.lastSendTime;
|
|
|
});
|
|
|
- // this.getContacts(); //获取联系人信息
|
|
|
- // this.getConversation(); //获取会话信息
|
|
|
|
|
|
IMUI.initMenus([
|
|
|
{
|
|
|
name: "messages",
|
|
|
- },
|
|
|
- {
|
|
|
- name: "contacts",
|
|
|
- },
|
|
|
- // {
|
|
|
- // name: "custom1",
|
|
|
- // title: "自定义按钮1",
|
|
|
- // unread: 0,
|
|
|
- // render: menu => {
|
|
|
- // return <i class="lemon-icon-attah" />;
|
|
|
- // },
|
|
|
- // renderContainer: () => {
|
|
|
- // return (
|
|
|
- // <div class="article">
|
|
|
- // <ul>
|
|
|
- // </ul>
|
|
|
- // <lemon-contact props={{ }} style="margin:20px"/>
|
|
|
- // <lemon-contact props={{ }} style="margin:20px" />
|
|
|
- // </div>
|
|
|
- // );
|
|
|
- // },
|
|
|
- // isBottom: true,
|
|
|
- // },
|
|
|
- // {
|
|
|
- // name: "custom2",
|
|
|
- // title: "自定义按钮2",
|
|
|
- // unread: 0,
|
|
|
- // click: () => {
|
|
|
- // alert("拦截导航点击事件");
|
|
|
- // },
|
|
|
- // render: menu => {
|
|
|
- // return <i class="lemon-icon-group" />;
|
|
|
- // },
|
|
|
- // isBottom: true,
|
|
|
- // },
|
|
|
+ }
|
|
|
]);
|
|
|
IMUI.initEmoji(EmojiData);
|
|
|
|
|
|
},
|
|
|
-
|
|
|
methods: {
|
|
|
- initSocket(appKey) {
|
|
|
- let that=this;
|
|
|
- if(!!this.qwIm.socket){
|
|
|
- this.qwIm.initSocket(appKey,true);
|
|
|
- // 监听socket连接
|
|
|
- this.qwIm.socket.onopen = function() {
|
|
|
- console.log("socket 连接成功...");
|
|
|
- };
|
|
|
- this.qwIm.socket.onerror = function() {
|
|
|
- console.log("连接错误")
|
|
|
- };
|
|
|
- // 监听socket消息
|
|
|
- const IMUI = this.$refs.IMUI;
|
|
|
- this.qwIm.socket.onmessage = function(res) {
|
|
|
- var data=JSON.parse(res.data);
|
|
|
- console.log("收到服务端内容", JSON.stringify(data));
|
|
|
- if(data.cmd=="heartbeat"){ //收到心跳数据不处理
|
|
|
- console.log("heartbeat");
|
|
|
- }
|
|
|
- //接收消息
|
|
|
- if(data.cmd=="receiveMsg"){
|
|
|
- var msgData=JSON.parse(data.data);
|
|
|
- console.log("收到消息:>>>>>",msgData)
|
|
|
- if(!IMUI.hasConversation(msgData.toContactId)){ //收到新消息时是最新的会话,添加该会话
|
|
|
- let queryParams={conversationId:msgData.toContactId,userId:that.qwUser.userId};
|
|
|
- getConversation(queryParams).then(response => {
|
|
|
- if(response.code==200){
|
|
|
- var conversation=response.data;
|
|
|
- IMUI.appendConversation(conversation);
|
|
|
- that.appendMessageAction(msgData);
|
|
|
- }
|
|
|
- });
|
|
|
- }else{
|
|
|
- that.appendMessageAction(msgData);
|
|
|
- let conversation=IMUI.findConversation(msgData.toContactId);
|
|
|
- IMUI.topPopConversations(conversation);
|
|
|
- let queryParams={conversationId:msgData.toContactId,userId:that.qwUser.id};
|
|
|
- // getConversation(queryParams).then(response => {
|
|
|
- // if(response.code==200){
|
|
|
- // var conversation=response.data;
|
|
|
- // var unread=conversation.unread;
|
|
|
- // if(!unread){
|
|
|
- // conversation.unread=1;
|
|
|
- // }else{
|
|
|
- // conversation.unread+=1;
|
|
|
- // }
|
|
|
- // IMUI.topPopConversations(conversation);
|
|
|
- //
|
|
|
- // }
|
|
|
- // });
|
|
|
- }
|
|
|
- }
|
|
|
- };
|
|
|
- //监听socket重连
|
|
|
- this.qwIm.socket.onreconnect = function(res) {
|
|
|
- console.log("socket 断线重连...")
|
|
|
- };
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
- },
|
|
|
// 切换企微账号
|
|
|
qwUserChange(tab, event){
|
|
|
this.appKey = tab.name;
|
|
@@ -440,48 +195,27 @@ export default {
|
|
|
this.qwUser=this.qwUserList[index];
|
|
|
this.getConversation(); //获取会话信息
|
|
|
this.setQwUserInfo();
|
|
|
- this.initSocket(this.qwUser.appKey);
|
|
|
},
|
|
|
|
|
|
setQwUserInfo(){
|
|
|
- this.UserData.id=this.qwUser.id;
|
|
|
- this.UserData.displayName=this.qwUser.qwUserName;
|
|
|
- this.UserData.avatar="https://cos.his.cdwjyyh.com/fs/20241231/22a765a96da247d1b83ea94fef438a41.png";
|
|
|
- },
|
|
|
-
|
|
|
- getContacts(){
|
|
|
- getContactsByUser(this.qwUser.id).then(response => {
|
|
|
- this.contactData = response.data;
|
|
|
- this.$refs.IMUI.initContacts(this.contactData);
|
|
|
- //console.log("qxj request contactData:"+JSON.stringify(this.contactData));
|
|
|
- });
|
|
|
+ this.userData.id=this.qwUser.id;
|
|
|
+ this.userData.displayName=this.qwUser.qwUserName;
|
|
|
+ this.userData.avatar="https://cos.his.cdwjyyh.com/fs/20241231/22a765a96da247d1b83ea94fef438a41.png";
|
|
|
},
|
|
|
getConversation(){
|
|
|
- let that=this;
|
|
|
const IMUI = this.$refs.IMUI;
|
|
|
getConversations(this.qwUser.id).then(response => {
|
|
|
this.conversationData = response.data;
|
|
|
IMUI.initConversations(response.data);
|
|
|
- var fstConversation=this.conversationData[0];
|
|
|
- // console.log("qxj fstConversation:"+JSON.stringify(fstConversation));
|
|
|
+ const fstConversation = this.conversationData[0];
|
|
|
if(fstConversation) {
|
|
|
IMUI.changeContact(fstConversation.conversationId);
|
|
|
- // setTimeout(() => {
|
|
|
- // IMUI.changeContact(1688856679458971);
|
|
|
- // }, 500);
|
|
|
}
|
|
|
- //console.log("qxj request conversation:"+JSON.stringify(response.data));
|
|
|
});
|
|
|
},
|
|
|
messageTimeFormat(time) {
|
|
|
return this.friendlyDate(time);
|
|
|
},
|
|
|
- changeTheme() {
|
|
|
- this.theme = this.theme == "default" ? "blue" : "default";
|
|
|
- },
|
|
|
- scrollToTop() {
|
|
|
- document.body.scrollIntoView();
|
|
|
- },
|
|
|
openDrawer(position) {
|
|
|
const IMUI = this.$refs.IMUI;
|
|
|
const params = {
|
|
@@ -495,13 +229,6 @@ export default {
|
|
|
);
|
|
|
},
|
|
|
};
|
|
|
- // if (position == "center") {
|
|
|
- // params.width = "50%";
|
|
|
- // params.height = "50%";
|
|
|
- // } else if (position == "rightInside") {
|
|
|
- // params.height = "90%";
|
|
|
- // params.offsetY = "10%";
|
|
|
- // }
|
|
|
IMUI.openDrawer(params);
|
|
|
},
|
|
|
handlePullMessages(contact, next,instance) {
|
|
@@ -518,15 +245,8 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
- // setTimeout(() => {
|
|
|
- // let isEnd = true;
|
|
|
- // next(MessagesData[contact.conversationId], isEnd);
|
|
|
- // }, 2000);
|
|
|
-
|
|
|
},
|
|
|
handleChangeConversation(conversation, instance) {
|
|
|
- //console.log("qxj ChangeConversation:"+JSON.stringify(conversation));
|
|
|
- this.sessionId = conversation.conversationId
|
|
|
if (!pages[conversation.conversationId]){
|
|
|
pages[conversation.conversationId] =1;
|
|
|
}
|
|
@@ -537,7 +257,6 @@ export default {
|
|
|
conversation.unread=0;
|
|
|
instance.updateContact(conversation);
|
|
|
}
|
|
|
- // instance.closeDrawer();
|
|
|
},
|
|
|
handleChangeContact(contact, instance) {
|
|
|
console.log("ChangeContact:", contact, instance)
|
|
@@ -588,6 +307,8 @@ export default {
|
|
|
},
|
|
|
//发送消息
|
|
|
handleSend(message, next, file) {
|
|
|
+ this.$message.info("暂不支持")
|
|
|
+ return
|
|
|
const IMUI = this.$refs.IMUI;
|
|
|
var params={};
|
|
|
if(message.type=="text"){ //text image voice video
|
|
@@ -602,21 +323,6 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
- // if(message.type=="image"){
|
|
|
- // params={"conversationId":message.toContactId,"deviceId":this.qwUser.deviceId,"userId":this.qwUser.userId,"materialId":this.pickUploadImgData.id};
|
|
|
- // sendImageMsg(params).then(response => {
|
|
|
- // if(response.code==200){
|
|
|
- // var conversation=IMUI.findConversation(message.toContactId);
|
|
|
- // conversation.lastSendTime=message.sendTime;
|
|
|
- // conversation.lastContent="[图片]";
|
|
|
- // IMUI.topPopConversations(conversation);
|
|
|
- // next();
|
|
|
- // }
|
|
|
- // });
|
|
|
- // }
|
|
|
- // setTimeout(() => {
|
|
|
- // next();
|
|
|
- // }, 1000);
|
|
|
},
|
|
|
handleMenuAvatarClick() {
|
|
|
console.log("Event:menu-avatar-click");
|
|
@@ -641,8 +347,11 @@ export default {
|
|
|
player && player.play()
|
|
|
},
|
|
|
handleMessageClick(e, key, message, instance) {
|
|
|
- // console.log("点击了消息", e, key, message);
|
|
|
- //console.log("qxj message:"+JSON.stringify(message));
|
|
|
+ if (key === 'avatar') {
|
|
|
+ this.qwUser.id !== message.fromUser.id && this.showDetail(message.toContactId)
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
if(message.type=="image"){
|
|
|
var url=!!message.url?message.url:message.content;
|
|
|
this.handlePicturePreview(url);
|
|
@@ -668,7 +377,6 @@ export default {
|
|
|
}, 2000);
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
changeMenuAvatarVisible() {
|
|
|
this.hideMenuAvatar = !this.hideMenuAvatar;
|
|
|
},
|
|
@@ -734,56 +442,22 @@ export default {
|
|
|
IMUI.appendMessage(message, true);
|
|
|
console.log("🚀 ~ file: App.vue ~ line 1508 ~ appendMessage ~ message", message)
|
|
|
},
|
|
|
- appendEventMessage() {
|
|
|
- const { IMUI } = this.$refs;
|
|
|
- const message = {
|
|
|
- id: generateRandId(),
|
|
|
- type: "event",
|
|
|
- content: (
|
|
|
- <span>
|
|
|
- 邀请你加入群聊{" "}
|
|
|
- <span
|
|
|
- style="color:#333;cursor:pointer"
|
|
|
- on-click={() => alert("OK")}
|
|
|
- >
|
|
|
- 接受
|
|
|
- </span>
|
|
|
- </span>
|
|
|
- ),
|
|
|
- toContactId: "contact-3",
|
|
|
- sendTime: getTime(),
|
|
|
- };
|
|
|
- IMUI.appendMessage(message, true);
|
|
|
- },
|
|
|
appendRemoteMessage(message) { //从服务端返回的消息
|
|
|
const { IMUI } = this.$refs;
|
|
|
IMUI.appendMessage(message, true);
|
|
|
},
|
|
|
- updateContact() {
|
|
|
- this.$refs.IMUI.updateContact({
|
|
|
- id: "contact-3",
|
|
|
- unread: 10,
|
|
|
- displayName: generateRandWord(),
|
|
|
- lastSendTime: getTime(),
|
|
|
- lastContent: "修改昵称为随机字母",
|
|
|
- });
|
|
|
- },
|
|
|
handleChangeMenu() {
|
|
|
console.log("Event:change-menu");
|
|
|
- },
|
|
|
- openCustomContainer() {
|
|
|
-
|
|
|
},
|
|
|
handlePicturePreview(url) {
|
|
|
this.dialogImageUrl = url;
|
|
|
this.dialogVisible = true;
|
|
|
},
|
|
|
// 详情
|
|
|
- showDetail() {
|
|
|
- console.log("Event:show-userDetail", this.sessionId)
|
|
|
+ showDetail(sessionId) {
|
|
|
this.detail.open = true
|
|
|
setTimeout(() => {
|
|
|
- this.$refs.userDetail.getDetail(this.sessionId);
|
|
|
+ this.$refs.userDetail.getDetail(sessionId);
|
|
|
}, 1);
|
|
|
}
|
|
|
},
|
|
@@ -792,10 +466,8 @@ export default {
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
.imui-center{
|
|
|
- margin-top:30px;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
- height: 80vh;
|
|
|
}
|
|
|
.lemon-wrapper{
|
|
|
border:1px solid #ddd;
|