(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-253f3639"],{"886e":function(t,s,i){"use strict";i("942b")},"942b":function(t,s,i){},b163:function(t,s,i){"use strict";i.r(s);var a=function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"cl-chat__wrap"},[i("el-dialog",{attrs:{visible:t.visible,"close-on-click-modal":!1,width:"1000px"},on:{"update:visible":function(s){t.visible=s}}},[i("div",{staticClass:"cl-chat"},[i("div",{staticClass:"cl-chat__left"},[i("div",{staticClass:"header"},[i("el-input",{attrs:{placeholder:"搜索联系人",size:"small","prefix-icon":"el-icon-search"}})],1),i("div",{staticClass:"container"},[i("ul",{staticClass:"users"},t._l(t.userList,(function(s,a){return i("li",{key:a,on:{click:function(i){return t.toChat(s)}}},[i("img",{staticClass:"avatar",attrs:{src:s.smallAvatarUrl,alt:""}}),i("div",{staticClass:"det"},[i("p",[t._v(t._s(s.userName))]),i("div",[t._v(t._s(s.source))])]),i("div",{staticClass:"date"},[t._v(" "+t._s(s.chatTime)+" ")])])})),0)])]),i("div",{staticClass:"cl-chat__right"},[i("div",{staticClass:"header"},[i("span",[t._v("闪亮亮")]),i("div",{staticClass:"icon",on:{click:function(s){return t.hide()}}},[i("i",{staticClass:"el-icon-minus"})])]),i("div",{staticClass:"container"},[i("ul",{staticClass:"message"},t._l(t.messageList,(function(s,a){return i("li",{key:a,class:[s.my?"right":"left"]},[i("img",{staticClass:"avatar",attrs:{src:"",alt:""}}),i("div",{staticClass:"det"},[i("div",{staticClass:"label"},[i("span",{staticClass:"name"},[t._v("刘先生")]),i("span",{staticClass:"date"},[t._v("2020-12-22")])]),i("div",{staticClass:"content"},["text"==s.type?i("p",{staticClass:"block text"},[t._v(" "+t._s(s.text)+" ")]):"pic"==s.type?i("el-image",{staticClass:"block pic",attrs:{src:s.src,"preview-src-list":[s.src]}}):t._e()],1)])])})),0)]),i("div",{staticClass:"footer"},[i("ul",{staticClass:"tools"},[i("li",[i("el-button",{attrs:{size:"mini"}},[t._v("商品图")])],1),i("li",[i("el-upload",{attrs:{action:""}},[i("el-button",{attrs:{size:"mini",icon:"el-icon-picture"}})],1)],1)]),i("el-button",{staticClass:"send-btn",attrs:{size:"small",type:"primary"}},[t._v("发送")])],1)])])]),i("el-button",{staticClass:"global_kd_button",attrs:{type:"primary",size:"medium",icon:"el-icon-edit",circle:""},on:{click:function(s){return t.globalGoToKd()}}})],1)},e=[],c={data:function(){return{visible:!1,userList:[],messageList:[{type:"text",text:"我是厦门第一"},{type:"pic",src:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2164724814,1401845036&fm=26&gp=0.jpg"},{type:"text",text:"我是厦门第二",my:!0},{type:"pic",src:"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=3973065280,787801978&fm=26&gp=0.jpg",my:!0}]}},methods:{getUserList:function(){var t=this;this.$service.chat.recentlyUser().then((function(s){t.userList=s}))},toChat:function(t){this.$service.chat.begin({id:t.id}).then((function(t){console.log(t)}))},globalGoToKd:function(){this.$router.push("/order/add")},show:function(){return this.$router.push("/my/info"),this.$message.success("即将开通..."),!1},hide:function(){this.visible=!1}}},l=c,n=(i("886e"),i("5d22")),r=Object(n["a"])(l,a,e,!1,null,"6a47d02a",null);s["default"]=r.exports}}]);