chunk-5edd596e.854a7784.js 3.4 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5edd596e"],{"144c":function(t,e,a){"use strict";var i=a("b8fd"),s=a.n(i);s.a},1848:function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"back-bar border-bottom"},[a("div",{staticClass:"arrow-icon",on:{click:t.onBack}},[a("i",{staticClass:"el-icon-arrow-left"})]),t._v("\n "+t._s(t.title)+"\n "),t.url?a("a",{staticClass:"icon-link",attrs:{href:t.url,target:"_blank"}}):t._e(),t._t("default")],2)},s=[],n={name:"backBar",props:{title:String,url:String},methods:{onBack:function(){this.$router?this.$router.go(-1):this.$emit("onBack")}}},r=n,c=(a("a7de"),a("fc05")),o=Object(c["a"])(r,i,s,!1,null,"bdea7596",null);e["a"]=o.exports},a36a:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"add-person"},[a("back-bar",{attrs:{title:t.$t("h5.selectContact")}},[3==t.inviteType?a("button",{staticClass:"opt-btn opt-del",on:{click:t.optSubmit}},[t._v(t._s(t.$t("group.delete")))]):a("button",{staticClass:"opt-btn",on:{click:t.optSubmit}},[t._v(t._s(1==t.inviteType?t.$t("h5.createGroup"):t.$t("public.complete")))])]),1==t.inviteType?a("div",{staticClass:"input-wrap"},[a("input",{directives:[{name:"focus",rawName:"v-focus"},{name:"model",rawName:"v-model",value:t.groupName,expression:"groupName"}],attrs:{type:"text",placeholder:t.$t("invite.writeGroupName")},domProps:{value:t.groupName},on:{input:function(e){e.target.composing||(t.groupName=e.target.value)}}})]):a("div",{staticClass:"input-wrap"},[a("i",{staticClass:"el-icon-search"}),a("input",{attrs:{type:"text",placeholder:t.$t("invite.searchContact")},on:{input:function(e){return t.searchUser(e,t.checkList)}}})]),a("div",[t.showNum>0&&!t.isSearchGroup?t._l(t.checkList,function(e,i){return a("div",{key:i},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.isShow,expression:"item.isShow"}],staticClass:"user-item",class:{checked:e.isChecked},on:{click:function(a){return t.changeStateForH5(e.user_id)}}},[e.isChecked?a("i",{staticClass:"el-icon-circle-check is-choosed"}):a("i",{staticClass:"el-icon-circle-uncheck"}),e.cover_photo?a("img",{staticClass:"user-avatar",attrs:{src:e.cover_photo,alt:""}}):a("div",{staticClass:"user-avatar",class:"avatar_bg"+e.user_id%9,attrs:{"data-name":e.nick_name.slice(0,2).toUpperCase()}}),a("span",{staticClass:"name"},[t._v(t._s(e.nick_name))])])])}):a("div",{staticClass:"no-data"},[t._v(t._s(t.$t("invite.noContact")))])],2)],1)},s=[],n=(a("b5aa"),a("4457")),r=a("1848"),c=a("bced"),o=a("33f8"),u={name:"chatInvite",mixins:[c["b"]],data:function(){return{inviteType:1*this.$route.params.inviteType,ext:{tgGroupId:Object(o["q"])("tgGroupId")||""}}},components:{backBar:r["a"]},computed:{},methods:{},created:function(){var t=Object(n["a"])(regeneratorRuntime.mark(function t(){var e;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:if(e=this.$route.params.id,this.group.groupId||!e){t.next=6;break}return this.initGroup({groupId:e,useCache:!1}),this.changeSessionId(e),t.next=6,this.getGroupInfo();case 6:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}()},l=u,p=(a("144c"),a("fc05")),d=Object(p["a"])(l,i,s,!1,null,"2e951128",null);e["default"]=d.exports},a7de:function(t,e,a){"use strict";var i=a("b1c0"),s=a.n(i);s.a},b1c0:function(t,e,a){},b8fd:function(t,e,a){}}]);