(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{229:function(t,e,o){},320:function(t,e,o){"use strict";var i=o(2),n=o(0),c=o(13),r=o(7);function s(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,i)}return o}function a(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?s(Object(o),!0).forEach((function(e){l(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):s(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function l(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}var u=r.a.ACT_ID,d=r.a.BEHAVIOR,f=r.a.MODULE,v={props:{visible:{type:Boolean,default:!1},avators:{type:Array,default:function(){return[]}},dialogInfo:{type:Object,default:function(){}}},computed:a(a({},Object(i.mapState)("docInfo",["docId","viewCount"])),{},{avatorDesc:function(){var t=this;return function(){return t.viewCount>1e3?"999+人":t.viewCount>100&&t.viewCount<=1e3?"99+人":t.viewCount<=10?"":void 0}}}),methods:{closeDialog:function(t){this.$emit("closeDialog","nextDoc"),n.log.xsend(u,{behavior:d.CLICK,module:f.ModeSwitchDialog,action:"close",index:t})},goOnEdit:function(t){"btnDialog"===t&&n.log.xsend(u,{behavior:d.CLICK,module:f.ModeSwitchDialog,action:"edit"}),location.href=Object(c.c)(c.a.VIP,{ext:"EditorJoinVIP"})}}},p=(o(335),o(4)),b=Object(p.default)(v,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",[t.visible?o("div",{staticClass:"switch-pop"},[o("div",{staticClass:"pop-close",on:{click:function(e){return t.closeDialog("icon")}}}),t._v(" "),o("div",{staticClass:"pop-title"},[t._v(t._s(t.dialogInfo.title))]),t._v(" "),o("div",{staticClass:"pop-desc"},[t._l(t.avators,(function(t,e){return o("img",{key:t+e,staticClass:"desc-avator",attrs:{src:t}})})),t._v(" "),o("div",{staticClass:"desc-txt"},[t._v("等"+t._s(t.avatorDesc())+t._s(t.dialogInfo.descText))])],2),t._v(" "),o("div",{staticClass:"pop-foot"},[o("div",{staticClass:"foot-btn",on:{click:function(e){return t.closeDialog("btn")}}},[t._v(t._s(t.dialogInfo.leftBtnText))]),t._v(" "),o("div",{staticClass:"foot-btn btn-edit",on:{click:function(e){return t.goOnEdit("btnDialog")}}},[t._v(t._s(t.dialogInfo.rightBtnText))])])]):t._e(),t._v(" "),t.visible?o("div",{staticClass:"switch-mask"}):t._e()])}),[],!1,null,"24874f2c",null);e.a=b.exports},335:function(t,e,o){"use strict";o(229)}}]);