webpackJsonp([0],{"+5m8":function(t,e,a){"use strict";e.a={name:"del-pop",props:{name:{},text:{default:function(){return"删除"}},placement:{default:function(){return"left"}}},methods:{confirm:function(){this.$emit("confirm"),this.status=!1}},data:function(){return{status:!1}},install:function(t,e){t.component("x-del-pop",this)}}},"+ULn":function(t,e,a){"use strict";function n(t){a("A3S3")}var i=a("ChJD"),s=a("vd2b"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,"data-v-5b3f29da",null);e.a=c.exports},"+xLh":function(t,e,a){"use strict";e.a={name:"x-table-cell",functional:!0,props:{data:Object,cell:null,prop:String,row:Number,col:Number,scopedSlot:Function,Slot:Array,className:[Object,String]},render:function(t,e){var a=e.props,n=a.data[a.prop];return a.scopedSlot?n=a.scopedSlot({data:a.data,col:a.col,row:a.row,cell:a.cell}):a.Slot&&(n=a.Slot),t("div",{class:["cell",a.className]},n)}}},"+xQ8":function(t,e,a){"use strict";var n=a("gyMJ"),i=a("ZoQJ");e.a={name:"verificationCode",props:{value:{},type:{default:"register",type:String}},model:{prop:"checked",event:"change"},data:function(){return{error:"",timer:null,effective:0,code:""}},methods:{countdown:function(t){var e=this,a=new Date(+new Date+1e3*t);this.effective=t,clearInterval(this.timer),this.timer=setInterval(function(){e.effective=Math.round((a-new Date)/1e3),e.effective<=0&&(clearInterval(e.timer),e.effective=0)},1e3)},getCode:function(){var t=this;if("account"===this.type)a.i(n.d)().then(function(e){t.countdown(120)});else{var e=this.$parent.fields[0],i=this.$parent.fields[1];if(0!==this.effective)return;e.form.validateField("phone"),"success"===e.validateState&&("register"===this.type?a.i(n.e)(e.fieldValue,i.fieldValue):a.i(n.f)(e.fieldValue)).then(function(e){t.countdown(120)})}}},created:function(){var t=a.i(i.g)("VerificationCode");t&&this.countdown(Math.ceil((t-new Date)/1e3))},watch:{value:function(t,e){t!==this.code&&(this.code=t)},code:function(t,e){t!==this.value&&this.$emit("change",t)}}}},"/4j5":function(t,e,a){"use strict";function n(t){return"string"==typeof t}var i=a("35jO"),s=(a.n(i),a("tQK6"));e.a={name:"x-table",components:{cell:s.a},props:{data:{required:!0,type:Array},column:{required:!0,validator:function(t){if(!Array.isArray(t)||!t.length)return!1;for(var e=0,a=t.length;e>a;e++)if(!n(t[e].label)||!n(t[e].prop)||t[e].width&&!n(t[e].width))return!1;return!0}},stripe:{type:Boolean,default:!1},align:{type:String,default:function(){return"left"}},loading:{type:Boolean,default:function(){return!1}}},data:function(){return{}},install:function(t,e){t.component(this.name,this)}}},"/7uf":function(t,e,a){"use strict";var n=a("gyMJ"),i=a("dhim");e.a={name:i.P.name,data:function(){return{userData:[],tableTitle:[{label:"序号",prop:"id"},{label:"服务号名称",prop:"nickname"},{label:"总粉丝",prop:"allForceSubscribeUsers"},{label:"今日新增粉丝",prop:"todayForceSubscribeUsers"},{label:"今日增粉丝阈值",prop:"subscribe_day_maximum"},{label:"强关类型",prop:"force_subscribe_type_text"},{label:"授权情况",prop:"is_auth"},{label:"操作",prop:""}],serviceOption:i.Q.name,dialogVisible:!1,selsect:{},selectAppID:"",subscribe_day_maximum:"",subscribe_top_num:"",sort_no:"",subscribeMode:{status:!1,force:1,weak:!1,urlError:"",subscribeError:"",resource_url:"",loading:!1}}},methods:{dialogOpen:function(t){this.dialogVisible=!0,this.selsect=t,this.selectAppID=t.appid,this.subscribe_day_maximum=t.subscribe_day_maximum,this.subscribe_top_num=t.subscribe_top_num,this.sort_no=t.sort_no},dialogSubscribeOpen:function(t){this.selsect=t,this.selectAppID=t.appid,this.subscribeMode={status:!0,force:-1!==t.force_subscribe_type.indexOf("3")?2:-1!==t.force_subscribe_type.indexOf("1")?1:0,weak:-1!==t.force_subscribe_type.indexOf("2"),resource_url:t.resource_url,urlError:"",subscribeError:"",loading:!1}},dialogSubscribeConfirm:function(){var t=this;if(!this.subscribeMode.loading){if(2===this.subscribeMode.force){if(!this.subscribeMode.resource_url)return this.subscribeMode.urlError="域名不能为空";if(!/^https:\/\/mp.weixin.qq.com/.test(this.subscribeMode.resource_url))return this.subscribeMode.urlError="域名必须是 https://mp.weixin.qq.com";this.subscribeMode.urlError=""}this.subscribeMode.force||(this.subscribeMode.weak=!0),this.subscribeMode.loading=!0;var e=[];switch(this.subscribeMode.force){case 0:break;case 1:e.push(1);break;case 2:e.push(3)}this.subscribeMode.weak&&e.push(2),a.i(n.U)({force_subscribe_type:e.toString(),resource_url:this.subscribeMode.resource_url,appid:this.selectAppID}).then(function(e){t.subscribeMode.loading=!1,t.selsect.force_subscribe_type=e.force_subscribe_type,t.selsect.resource_url=e.resource_url,t.selsect.force_subscribe_type_text=e.force_subscribe_type_text,t.subscribeMode.status=!1}).catch(function(e){t.subscribeMode.loading=!1})}},checkNumber:function(t,e){var a=this;this.$nextTick(function(){a[t]=e.replace(/[^\d]/g,"")})},updateOfficialAccount:function(){var t=this;a.i(n.V)({id:this.selsect.id,subscribe_top_num:this.subscribe_top_num,subscribe_day_maximum:this.subscribe_day_maximum,sort_no:1*this.sort_no}).then(function(e){t.dialogVisible=!1,a.i(n.o)().then(function(e){t.userData=e})})}},created:function(){var t=this;a.i(n.o)().then(function(e){t.userData=e})}}},"/BTb":function(t,e,a){"use strict";var n,i=a("bOdI"),s=a.n(i),o=a("fp2T"),r=a("dhim"),c=(a("3srV"),{role:"tourist",shelter:{name:r.b.name},route:(n={},s()(n,r.c.name,!1),s()(n,r.d.name,!1),s()(n,r.e.name,!1),s()(n,r.f.name,!1),s()(n,r.g.name,!1),s()(n,r.h.name,!1),s()(n,r.i.name,!1),s()(n,r.j.name,!1),s()(n,r.k.name,!1),s()(n,r.l.name,!1),s()(n,r.m.name,!1),s()(n,r.n.name,!1),s()(n,r.o.name,!1),s()(n,r.p.name,!1),s()(n,r.q.name,!1),s()(n,r.r.name,!1),s()(n,r.r.name,!1),s()(n,r.s.name,!1),s()(n,r.t.name,!1),s()(n,r.u.name,!1),s()(n,r.v.name,!1),s()(n,r.w.name,!1),s()(n,r.x.name,!1),s()(n,r.y.name,!1),s()(n,r.z.name,!1),s()(n,r.A.name,!1),s()(n,r.B.name,!1),s()(n,r.C.name,!0),s()(n,r.b.name,!0),s()(n,r.D.name,!0),s()(n,r.E.name,!1),s()(n,r.F.name,!0),s()(n,r.G.name,!1),s()(n,r.H.name,!1),s()(n,r.I.name,!1),s()(n,r.J.name,!1),s()(n,r.K.name,!1),s()(n,r.L.name,!1),s()(n,r.M.name,!1),s()(n,o.a.name,!1),s()(n,r.N.name,!1),s()(n,r.O.name,!1),s()(n,r.P.name,!1),s()(n,r.Q.name,!1),s()(n,r.R.name,!1),s()(n,r.S.name,!1),s()(n,r.T.name,!1),s()(n,r.U.name,!1),s()(n,r.V.name,!1),s()(n,r.W.name,!1),s()(n,r.X.name,!1),s()(n,r.Y.name,!0),s()(n,r.Z.name,!0),s()(n,r._0.name,!0),n)});e.a=c},"/NWn":function(t,e){},"/Xsx":function(t,e){},"/Z03":function(t,e){},"/d+f":function(t,e,a){"use strict";var n=a("gyMJ");e.a={name:"popup-promotion-page",props:["name","id","status","origin","action"],data:function(){return"update"===this.action?{channel:this.origin.name,cost:this.origin.cost,type:this.origin.channel_type,area:this.origin.promotion_type,browser:this.origin.promotion_point||"1",flag:!0,isUpdate:!0}:{channel:"",cost:"",type:"AUTHENTICATED",area:"EXTERNAL",browser:"1",flag:!0,isUpdate:!1}},methods:{createFromPage:function(){var t=this;return this.channel?this.id?(this.flag=!1,void a.i(n.z)({name:this.channel,channel_type:this.type,page_id:this.id,page_title:this.name,promotion_type:this.area,promotion_point:this.browser}).then(function(e){t.flag=!0,t.$emit("success",e.promotion_url)}).catch(function(e){t.flag=!0})):void this.$message.error("操作错误"):void this.$message.error("推广渠道或者位置名称不能为空")},handleDialog:function(){this.$emit("close",!1)},update:function(){var t=this;a.i(n.y)({id:this.origin.id,name:this.channel,channel_type:this.type,promotion_type:this.area}).then(function(e){t.$emit("success-update",{name:t.channel,channel_type:t.type,promotion_type:t.area}),t.handleDialog()})}},watch:{"$parent.status":function(t){this.channel="update"===this.action?this.origin.name:"",this.type="update"===this.action?this.origin.channel_type:"AUTHENTICATED",this.area="update"===this.action?this.origin.promotion_type:"EXTERNAL"}}}},"/g55":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-popover",{attrs:{"popper-class":"promotion-custom-notify-link"}},[a("el-input",{model:{value:t.link,callback:function(e){t.link=e},expression:"link"}}),t._v(" "),a("p",{staticClass:"link single-line pointer-box",attrs:{slot:"reference"},slot:"reference"},[t._v(t._s(t.link||"点击设置跳转"))])],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},"/sGr":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"x-table",class:{"x-table--loading":t.loading},attrs:{"data-template":"x-table"}},[a("table",{style:{"text-align":t.align}},[a("colgroup",t._l(t.column,function(t,e){return a("col",{key:e,attrs:{width:t.width}})})),t._v(" "),a("thead",[a("tr",{staticClass:"x-table-head-row"},t._l(t.column,function(e,n){return a("th",{key:e.prop+n,class:"x-table-head-col-"+n},[a("div",{staticClass:"cell"},[t._v(t._s(e.label))])])}))]),t._v(" "),a("tbody",t._l(t.data,function(e,n){return a("tr",{key:"x-table-body-row-"+n,class:["x-table-body-row-"+n,{odd:t.stripe&&!(n%2),even:t.stripe&&n%2}]},t._l(t.column,function(i,s){return a("td",{key:"x-table-body-col-"+s,class:"x-table-body-col-"+s},[a("cell",{class:i.className,attrs:{row:n+1,col:s+1,cell:e[i.prop],rowData:e,slotColC:t.$scopedSlots["col-"+(s+1)],slotColN:t.$slots["col-"+(s+1)],slotCellC:t.$scopedSlots["row-"+(n+1)+"-col-"+(s+1)],slotCellN:t.$slots["row-"+(n+1)+"-col-"+(s+1)]}})],1)}))}))]),t._v(" "),t.loading?a("div",{staticClass:"table-loading"},[a("img",{attrs:{src:"https://cdn-novel.iycdm.com/distribution/welfare/loadinng.gif"}})]):t._e(),t._v(" "),t.data.length||t.loading?t._e():a("div",{staticClass:"none-data"},[a("img",{attrs:{src:"https://cdn-novel.iycdm.com/distribution/welfare/empty.png"}})])])},i=[],s={render:n,staticRenderFns:i};e.a=s},"/vXe":function(t,e){},"02un":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAKQ2lDQ1BJQ0MgcHJvZmlsZQAAeNqdU3dYk/cWPt/3ZQ9WQtjwsZdsgQAiI6wIyBBZohCSAGGEEBJAxYWIClYUFRGcSFXEgtUKSJ2I4qAouGdBiohai1VcOO4f3Ke1fXrv7e371/u855zn/M55zw+AERImkeaiagA5UoU8Otgfj09IxMm9gAIVSOAEIBDmy8JnBcUAAPADeXh+dLA//AGvbwACAHDVLiQSx+H/g7pQJlcAIJEA4CIS5wsBkFIAyC5UyBQAyBgAsFOzZAoAlAAAbHl8QiIAqg0A7PRJPgUA2KmT3BcA2KIcqQgAjQEAmShHJAJAuwBgVYFSLALAwgCgrEAiLgTArgGAWbYyRwKAvQUAdo5YkA9AYACAmUIszAAgOAIAQx4TzQMgTAOgMNK/4KlfcIW4SAEAwMuVzZdL0jMUuJXQGnfy8ODiIeLCbLFCYRcpEGYJ5CKcl5sjE0jnA0zODAAAGvnRwf44P5Dn5uTh5mbnbO/0xaL+a/BvIj4h8d/+vIwCBAAQTs/v2l/l5dYDcMcBsHW/a6lbANpWAGjf+V0z2wmgWgrQevmLeTj8QB6eoVDIPB0cCgsL7SViob0w44s+/zPhb+CLfvb8QB7+23rwAHGaQJmtwKOD/XFhbnauUo7nywRCMW735yP+x4V//Y4p0eI0sVwsFYrxWIm4UCJNx3m5UpFEIcmV4hLpfzLxH5b9CZN3DQCshk/ATrYHtctswH7uAQKLDljSdgBAfvMtjBoLkQAQZzQyefcAAJO/+Y9AKwEAzZek4wAAvOgYXKiUF0zGCAAARKCBKrBBBwzBFKzADpzBHbzAFwJhBkRADCTAPBBCBuSAHAqhGJZBGVTAOtgEtbADGqARmuEQtMExOA3n4BJcgetwFwZgGJ7CGLyGCQRByAgTYSE6iBFijtgizggXmY4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UNGVACsSlNaUQGoAFAxQ0ZUgJS1jPmmAlABoGKGjKgAWJWmtKICbEdXfPhE49BGysT3vkmAJ1CW3ESmdWjjuRLgxhjz4xidk7aBHD7RPLQhjX+A/a1z7mjAe49ekcwB4kGON0ijGW2GHj45zhgj0jS8+7k2AiDglmAzPgFKGh9LyKAkRsk8R6IA8QLlL5LAaauGwGvn3DXiDSZA9y2gmIkgAk4hNvAEMPZPRIC2bS+tte8KAepZhhlC+Nw0zQnaOREBlsvl4d3d3Y219gUaAO1wBOKF2/P5/GixWKxRLyICxEY5GUShl9tJJn9962ICUAXkiUQ8aFS/eA7QB+69fxVCuOJQgKRyf5vuX+wcozP/zRbFCrBBgjgR+bR/d2gBIPDeOXcJ2D0yUSNAtywkCTSy8n0faslXGwI24/Xen4QQVhwOdJnQyf6pVuWrTQK3dZNzgiTJVxnzv41MdQjYdN6tDuL/7DulGmCEiFVvjFnN5/OVZK3/vdaTEaBvtCNCHBLiT6xF7B/A0qVqdRtXVfP5/DRV4pMOAU9B0Q0Nv3RkiK/FTQy1k+LWGBN/U4lX58al9O8ay7uhdEyuAEMD4Xt5ECAB8uA+mVZJgMmkIk8gJEAe3CfTKgkwmVTkCYQEyIP7ZFolASaTijyBkAB5cJ9MqyTAZFKRJxASIA/uk2mVBJhMKvIEQgLkwX0yrZIAk0lFnkBIgDy4T6bV/wBX1a+uzxvUjQAAAABJRU5ErkJggg=="},"0AxG":function(t,e,a){"use strict";function n(t){a("lOlB")}var i=a("c6a1"),s=a("TJ1O"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},"0PWJ":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-popover",{attrs:{"popper-class":"promotion-custom-notify-title"},model:{value:t.status,callback:function(e){t.status=e},expression:"status"}},[a("el-input",{model:{value:t.title,callback:function(e){t.title=e},expression:"title"}}),t._v(" "),a("el-scrollbar",{style:t.popStyle,attrs:{wrapStyle:"height: 100%; overflow-x: hidden;"}},t._l(t.titles,function(e){return a("p",{key:e.id,staticClass:"item",on:{click:function(a){t.titlePopClick(e.title)}}},[t._v(t._s(e.title))])})),t._v(" "),a("p",{staticClass:"titles pointer-box",attrs:{slot:"reference"},slot:"reference"},[t._v(t._s(t.title))])],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},"0UEn":function(t,e,a){"use strict";var n,i=a("bOdI"),s=a.n(i),o=a("dhim"),r=a("fp2T"),c=a("3srV"),l={role:"inner-bind",shelter:{name:o._0.name},promotionCopy:!0,promotionLink:!0,promotionSave:!1,subscribe:!1,material:!0,massPromotion:!0,route:(n={},s()(n,o.c.name,!0),s()(n,o.d.name,!0),s()(n,o.e.name,!0),s()(n,o.f.name,!0),s()(n,o.h.name,!0),s()(n,o.g.name,!0),s()(n,o.i.name,!0),s()(n,o.j.name,!0),s()(n,o.k.name,!0),s()(n,o.l.name,!0),s()(n,o.m.name,!0),s()(n,o.n.name,!0),s()(n,o.o.name,!0),s()(n,o.p.name,!0),s()(n,o.q.name,!0),s()(n,o.r.name,!0),s()(n,o.s.name,!0),s()(n,o.t.name,!0),s()(n,o.u.name,!0),s()(n,o.v.name,!0),s()(n,o.w.name,!0),s()(n,o.x.name,!0),s()(n,o.y.name,!0),s()(n,o.z.name,!0),s()(n,o.A.name,!0),s()(n,o.B.name,!0),s()(n,o.C.name,!0),s()(n,o.b.name,!0),s()(n,o.D.name,!0),s()(n,o.E.name,!0),s()(n,o.F.name,!0),s()(n,o.G.name,!0),s()(n,o.H.name,!0),s()(n,o.I.name,!0),s()(n,o.J.name,!0),s()(n,o._9.name,!0),s()(n,o._10.name,!0),s()(n,o.K.name,!0),s()(n,o.L.name,!0),s()(n,o.M.name,!1),s()(n,r.a.name,!0),s()(n,o.N.name,!0),s()(n,o.O.name,!0),s()(n,o.P.name,!0),s()(n,o.Q.name,!0),s()(n,o.R.name,!0),s()(n,o.S.name,!0),s()(n,o.T.name,!0),s()(n,o.U.name,!0),s()(n,o.V.name,!0),s()(n,o.W.name,!0),s()(n,o.X.name,!0),s()(n,o.Y.name,!0),s()(n,o.Z.name,!0),s()(n,o._0.name,!0),n),menu:a.i(c.a)([[o.c],[o._1,[o.f,o.H]],[o._2,[o.h,o.o,o.v,o.n,o.k,o.w,o.i,o.r]],[o._3,[o._4]],[o._5,[o.G,o._6,o._7]],[o.I],[o.d],[o._8,[o.N,o.T,o.U,o.Z,o.R,o.S,o.Y]]])};e.a=l},"0dE3":function(t,e,a){"use strict";var n=a("gyMJ");e.a={props:["template","status"],data:function(){return{loading:!1}},computed:{hasQR:function(){return this.template.qrCode_id&&this.template.send_orders_id},hasBlankQR:function(){return this.template.qrCode_id&&!this.template.send_orders_id}},methods:{handleDialog:function(){this.$emit("close",!1)},createMaterial:function(){var t=this;if(!this.hasBlankQR){this.loading=!0;var e=null,i=null;if(this.hasQR){var s=new FormData;s.append("photo",this.template.blob,"qrCode.png"),i=a.i(n.s)(s).then(function(t){return e=t.qrcode_img,a.i(n.t)({qrcode_Img:t.qrcode_img})}).then(function(e){t.template.el.src=e.url}).then(function(e){var i={title:t.template.title,img_url:t.template.img_url,content:t.template.content.outerHTML.replace(/\s(?=\<|\s|$)/g,""),book_name:t.template.book_name,chapter_sequence:t.template.chapter_sequence,send_orders_id:t.template.send_orders_id,send_orders_name:t.template.send_orders_name,send_orders_url:t.template.send_orders_url};return a.i(n.u)(i)}).then(function(a){return t.template.el.src=e,a})}else{var o={title:this.template.title,img_url:this.template.img_url,content:this.template.content.outerHTML.replace(/\s(?=\<|\s|$)/g,""),book_name:this.template.book_name,chapter_sequence:this.template.chapter_sequence};i=a.i(n.u)(o)}i.then(function(e){t.loading=!1,t.$emit("success",e.img_url)}).catch(function(e){t.loading=!1})}}}}},"0pTu":function(t,e,a){"use strict";function n(t){a("CLXf")}var i=a("Miyx"),s=a("2jX/"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,"data-v-20aea0f9",null);e.a=c.exports},"0t1c":function(t,e){},"0xG9":function(t,e,a){"use strict";var n=a("yEpX"),i=a("dhim"),s=a("eJSA"),o=a("sNo+"),r=a.i(n.b)([[i.d,s.a],[i.e,o.a]]);e.a=r},"1/5i":function(t,e,a){"use strict";function n(t){a("2Xeo")}var i=a("B0Yo"),s=a("wBdn"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},"1Rp6":function(t,e,a){"use strict";function n(t){a("q0OM"),a("qXA1")}var i=a("GCI7"),s=a("Tvef"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,"data-v-0f3cf48b",null);e.a=c.exports},"1fBL":function(t,e){},"1vCz":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACMAAAAUCAYAAAAHpoRMAAABiElEQVRIS83Wv8uOYRTA8c9RDJQBMUnq3SzKzhvlL5D8SGFBWczKj8FikDIwCYN6S5Is7/QyUIoMTAaUwcZkMhydum7dPT2Pp/Tcr+darjr3uc75nh/Xue4wRyvmiMV8w2TmDuwcIGPf8T4icpLtP5nJzDV4gOMDgHQmP+BgRHwb56MPcxhLA4J0pu9ExLlpMJdwtSldwEVs6R3qyyrCG/iMTTiKQ033DD6OOFuP+83eSkTsnwZzBZdLKaqwmc+xrzvUk23HLpzGVvzCLdzGseb0C+p87SebjfPYjBcRsTgrmHfNYe3dqqxVlp70ZJXlAloZcTxTmHIw6mSc49nBjEtjK93qw2TmTezu9czi/4SZ1MCv8Awve9mrm/cGy6vdM2uxFw+xrd2mszjVxkHHM5ueac/BI+zpRVpPRCe7i2sR8Skza86cwHWs6+nfw2M8/ZfbVNHVrBh6LUXEkWlzZiPeYmFAmp84EBGv/wpTHzNzQxvrQ7zaP6psEfF1UrDz/T8zYImmmv4NKku+FV4KIe4AAAAASUVORK5CYII="},"2+aR":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"replylist"},[n("p",{staticStyle:{"font-size":"16px"}},[t._v("1)按排序顺序取,返回第一个符合时间条件的内容")]),t._v(" "),n("p",{staticStyle:{"font-size":"16px"}},[t._v("2)如果没有符合条件的时间,则不回复内容,所以最后一个时间区间建议设置长点")]),t._v(" "),n("p",{staticStyle:{"font-size":"16px"}},[t._v("3)添加只是本地操作不保存则不影响数据")]),t._v(" "),n("p",{staticStyle:{"font-size":"16px"}},[t._v("4)绿色标识表明当前时使用的是图文回复还是文字回复,当前回复哪条与设置的时间相关")]),t._v(" "),n("div",{staticClass:"title-name"},[t._v("\n 图文回复\n "),"2"===t.current?n("span",[t._v("当前使用")]):t._e()]),t._v(" "),n("div",{staticClass:"pic-box pic-box-title"},[t._l(t.picList,function(e,a,i){return n("div",{key:a,staticClass:"pic-box"},[n("el-form",{ref:"form",refInFor:!0,attrs:{"label-width":"80px"}},[n("el-form-item",{attrs:{label:"消息内容"}},[n("div",{directives:[{name:"loading",rawName:"v-loading",value:!t.init,expression:"!init"}],staticClass:"width-400 replylist-content"},[t.init?[n("div",{staticClass:"top-line"},[n("x-popover-title",{attrs:{value:e[0].title,titles:t.title},on:{"update:value":function(t){e[0].title=t}}}),t._v(" "),n("x-popover-cover",{attrs:{value:e[0].cover,covers:t.cover},on:{"update:value":function(t){e[0].cover=t}}})],1),t._v(" "),t._l(e.slice(1),function(i,s){return n("div",{key:s,staticClass:"other-line"},[n("x-popover-title",{attrs:{value:e[s+1].title,titles:t.title},on:{"update:value":function(t){e[s+1].title=t}}}),t._v(" "),n("x-popover-cover",{attrs:{value:e[s+1].cover,covers:t.cover},on:{"update:value":function(t){e[s+1].cover=t}}}),t._v(" "),n("x-popover-link",{attrs:{value:e[s+1].link},on:{"update:value":function(t){e[s+1].link=t}}}),t._v(" "),n("div",{staticClass:"delete pointer-box",on:{click:function(e){t.delTemplate(s+1,a)}}},[n("div",{staticClass:"bg"}),t._v(" "),n("i",{staticClass:"el-icon-delete",staticStyle:{color:"white"}})])],1)}),t._v(" "),e.length<8?n("div",{staticClass:"add pointer-box",on:{click:function(e){t.addTemplate(a)}}},[n("i",{staticClass:"el-icon-plus"}),t._v("添加条次\n ")]):t._e()]:t._e()],2)]),t._v(" "),n("el-form-item",{attrs:{label:"头条跳转",prop:"content.link"}},[n("el-input",{staticClass:"width-400",model:{value:e[0].link,callback:function(t){e[0].link=t},expression:"v[0].link"}}),t._v(" "),n("p",{staticClass:"tip"},[t._v("用户点击客服消息后跳转到的网页链接")]),t._v(" "),n("p",{staticClass:"tip"},[t._v("仅限本服务号下小说网站内部的链接 或 在本号下生成的推广链接")])],1),t._v(" "),n("el-form-item",{attrs:{label:"开始时间"}},[n("el-date-picker",{attrs:{type:"datetime",placeholder:"选择开始时间","value-format":"yyyy-MM-dd HH:mm:ss",format:"yyyy-MM-dd HH:mm:ss"},model:{value:e[0].startTime,callback:function(t){e[0].startTime=t},expression:"v[0].startTime"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"结束时间"}},[n("el-date-picker",{attrs:{type:"datetime",placeholder:"选择结束时间","value-format":"yyyy-MM-dd HH:mm:ss",format:"yyyy-MM-dd HH:mm:ss"},model:{value:e[0].endTime,callback:function(t){e[0].endTime=t},expression:"v[0].endTime"}})],1),t._v(" "),n("el-form-item",{attrs:{label:""}},[n("el-button",{staticStyle:{width:"300px"},attrs:{type:"info",loading:t.postloading},on:{click:function(n){t.submitForm(e,a,i)}}},[t._v(t._s(t.isloading?"正在保存请稍候":"保存设置"))])],1)],1)],1)}),t._v(" "),n("div",{staticClass:"add-new",on:{click:function(e){t.additem(t.picList.length)}}},[n("img",{staticClass:"add-icon",attrs:{src:a("08m2")}}),t._v(" "),n("div",{staticClass:"add"},[t._v("添加")])])],2),t._v(" "),n("div",{staticClass:"title-name"},[t._v("\n 文字回复\n "),"3"===t.current?n("span",[t._v("当前使用")]):t._e()]),t._v(" "),n("div",{staticClass:"text-box"},[t._l(t.textList,function(e,a){return n("div",{key:a},[n("div",{staticClass:"text-content"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.content,expression:"v.content"}],staticClass:"listtextarea",attrs:{name:"text",cols:"30",rows:"10"},domProps:{value:e.content},on:{input:function(t){t.target.composing||(e.content=t.target.value)}}}),t._v(" "),n("div",{staticClass:"time"},[n("div",{staticClass:"time-name"},[t._v("开始时间")]),t._v(" "),n("el-date-picker",{attrs:{type:"datetime",placeholder:"选择开始时间","value-format":"yyyy-MM-dd HH:mm:ss",format:"yyyy-MM-dd HH:mm:ss"},model:{value:e.start_time,callback:function(t){e.start_time=t},expression:"v.start_time"}})],1),t._v(" "),n("div",{staticClass:"time"},[n("div",{staticClass:"time-name"},[t._v("结束时间")]),t._v(" "),n("el-date-picker",{attrs:{type:"datetime",placeholder:"选择结束时间","value-format":"yyyy-MM-dd HH:mm:ss",format:"yyyy-MM-dd HH:mm:ss"},model:{value:e.end_time,callback:function(t){e.end_time=t},expression:"v.end_time"}})],1),t._v(" "),n("div",{staticClass:"operator2"},[n("div",{staticClass:"btn btn-add",on:{click:function(e){t.dialogVisible=!0,t.textadd=a}}},[t._v("添加链接")]),t._v(" "),n("div",{staticClass:"right-box"},[n("span",{staticClass:"btn btn-edit",on:{click:function(n){t.save(e,a)}}},[t._v(t._s(t.isloading?"正在保存请稍候":"保存设置"))])])])])])}),t._v(" "),n("div",{staticClass:"add-new",on:{click:t.addtextitem}},[n("img",{staticClass:"add-icon",attrs:{src:a("08m2")}}),t._v(" "),n("div",{staticClass:"add"},[t._v("添加")])]),t._v(" "),n("el-dialog",{staticClass:"dialog-wrapper",attrs:{title:"添加链接",visible:t.dialogVisible,"show-close":!1,"close-on-press-escape":!1,"close-on-click-modal":!1,top:"35%",size:"tiny"},on:{"update:visible":function(e){t.dialogVisible=e}}},[n("div",{staticClass:"dialog-content"},[n("div",{staticClass:"item"},[n("div",{staticClass:"item-label"},[t._v("链接文案:")]),t._v(" "),n("div",{staticClass:"item-input"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.links.name,expression:"links.name"}],attrs:{type:"text",placeholder:"链接文案"},domProps:{value:t.links.name},on:{input:function(e){e.target.composing||(t.links.name=e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"item"},[n("div",{staticClass:"item-label"},[t._v("链接:")]),t._v(" "),n("div",{staticClass:"item-input"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.links.link,expression:"links.link"}],attrs:{type:"url",placeholder:"http://"},domProps:{value:t.links.link},on:{input:function(e){e.target.composing||(t.links.link=e.target.value)}}}),t._v(" "),n("p",[t._v('将生成【链接文案"】格式的文字链,可直接复制、删除或修改')])])])]),t._v(" "),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(e){t.dialogVisible=!1}}},[t._v("取 消")]),t._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:function(e){t.confirm()}}},[t._v("确 定")])],1)])],2)])},i=[],s={render:n,staticRenderFns:i};e.a=s},"27TT":function(t,e,a){"use strict";function n(t){a("gkaf")}var i=a("gt4Y"),s=a("Oa5L"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,"data-v-437a8628",null);e.a=c.exports},"2CGS":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"grid",attrs:{"data-template":"grid"}},[t._t("head"),t._v(" "),a("table",t._l(t.data,function(e,n){return a("tr",{key:n,class:"row-"+(n+1)},t._l(e,function(e,i){return a("td",{key:i,class:"col-"+(i+1)+" row-"+(n+1)+"-col-"+(i+1)},[a("div",{staticClass:"cell"},[t._v(t._s(e))])])}))}))],2)},i=[],s={render:n,staticRenderFns:i};e.a=s},"2DmB":function(t,e){},"2Hch":function(t,e,a){"use strict";function n(t){a("JwtU"),a("eOhU")}var i=a("JJNW"),s=a("iNvV"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,"data-v-9b27ea3a",null);e.a=c.exports},"2IEl":function(t,e,a){"use strict";var n=a("dhim"),i=a("gyMJ");e.a={name:n.R.name,data:function(){return{commit:n.R,customer_img_url:""}},methods:{upload:function(t){var e=this,n=new Image,s=t.file;n.src=window.URL.createObjectURL(s),n.onload=function(t){var n=new FormData;n.append("photo",s),a.i(i.P)(n).then(function(t){e.customer_img_url=t.customer_img_url})},n.onerror=function(t){e.$message.error("您上传的二维码不合法")}}},created:function(){var t=this;a.i(i.Q)().then(function(e){t.customer_img_url=e.customer_img_url})}}},"2Ktn":function(t,e){},"2LUx":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"view-section"},[a("div",{staticClass:"search-bar"},[a("el-date-picker",{staticStyle:{display:"inline-block",width:"300px"},attrs:{type:"daterange",placeholder:"选择日期范围","picker-options":t.pickerOptions},on:{change:t.changeDate},model:{value:t.picker_value,callback:function(e){t.picker_value=e},expression:"picker_value"}}),t._v(" "),a("el-button",{staticStyle:{float:"right",width:"100px"},attrs:{type:"primary"},on:{click:t.exportBills}},[t._v("导出")])],1),t._v(" "),a("x-table",{attrs:{column:t.headerList,data:t.bills,stripe:""}}),t._v(" "),t.meta.last_page?a("div",{staticClass:"pagination"},[a("el-pagination",{attrs:{"current-page":t.meta.current_page,"page-size":t.meta.per_page,"page-count":t.meta.last_page,layout:"prev, pager, next, jumper"},on:{"current-change":t.handleCurrentChange}})],1):t._e()],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},"2XUN":function(t,e){},"2Xeo":function(t,e){},"2Y27":function(t,e,a){"use strict";e.a={name:"x-pagination",props:{params:{required:!0,type:String},meta:{required:!0,type:Object}},data:function(){return{oParams:null,oPage:null}},methods:{handleCurrentChange:function(t){this.$emit("current-change",t)}},watch:{params:function(t,e){this.oParams=e},meta:function(t,e){this.oPage=e&&e.current_page}},install:function(t,e){t.component(this.name,this)}}},"2jX/":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"channel-active-list"},[a("x-table",{attrs:{data:t.data,column:t.column,loading:t.loading,stripe:""},scopedSlots:t._u([{key:"col-1",fn:function(e){return[t._v("\n "+t._s(e.rowData.start_time.slice(0,10))+" - "+t._s(e.rowData.end_time.slice(0,10))+"\n ")]}},{key:"col-3",fn:function(e){return[a("a",{staticClass:"blue single-line",attrs:{target:"_blank",title:e.rowData.activity_page,href:e.rowData.activity_page}},[t._v(t._s(e.rowData.activity_page))]),t._v(" "),a("i",{staticClass:"copy pointer-box",attrs:{title:"复制","data-clipboard-text":e.rowData.activity_page}})]}},{key:"col-9",fn:function(e){return[e.rowData.is_over?[t._v("\n (活动已过期)\n ")]:[a("router-link",{staticClass:"blue",attrs:{to:{name:t.promotionCustomNotifyNew,query:{activity_id:e.rowData.id}}}},[t._v("创建客服消息")]),t._v(" "),a("br"),t._v(" "),a("router-link",{staticClass:"blue",attrs:{to:{name:t.promotionNotifyNew,query:{activity_id:e.rowData.id}}}},[t._v("创建模版消息")])]]}}])})],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},"2pMF":function(t,e,a){"use strict";e.a={name:"x-cell",props:["rowData","row","col","cell","slotCellC","slotCellN","slotColC","slotColN"],render:function(t){var e=void 0;return e=this.slotCellC?this.slotCellC({rowData:this.rowData,col:this.col,row:this.row}):this.slotCellN?this.slotCellN:this.slotColC?this.slotColC({rowData:this.rowData,col:this.col,row:this.row}):this.slotColN?this.slotColN:this.cell,t("div",{class:"cell"},e)}}},"2qMv":function(t,e,a){"use strict";var n=a("dhim"),i=a("gyMJ");e.a={name:n.B.name,data:function(){return{name:n.B.name,promotionNovelInfo:n.j.name,content:{chapter_id:0,chapter_name:"加载中",chapter_serial_number:0,chapter_content:"加载中"}}},methods:{},created:function(){var t=this;a.i(i.j)(this.$route.params.id,this.$route.params.cid).then(function(e){t.content=e}).catch(function(e){t.$router.push("/404")})},beforeRouteUpdate:function(t,e,n){var s=this;a.i(i.j)(t.params.id,t.params.cid).then(function(t){s.content=t,n()}).catch(function(t){n("/404")})}}},"2y/A":function(t,e,a){"use strict";function n(t){a("MVu5")}var i=a("86QV"),s=a("epbv"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},"2yS5":function(t,e,a){"use strict";function n(t){a("9Oup")}var i=a("YTCz"),s=a("3rnE"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},"30NN":function(t,e,a){"use strict";e.a={shortcuts:[{text:"最近一周",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.getTime()-6048e5),t.$emit("pick",[a,e])}},{text:"最近一个月",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.getTime()-2592e6),t.$emit("pick",[a,e])}},{text:"最近三个月",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.getTime()-7776e6),t.$emit("pick",[a,e])}}]}},"35jO":function(t,e){},"3E4E":function(t,e){},"3KvX":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"key-popup"},[a("el-form",{directives:[{name:"loading",rawName:"v-loading",value:t.serverLoading||t.getLoading,expression:"serverLoading || getLoading"}],ref:"form",staticClass:"promotion-key",attrs:{"label-width":"80px",model:t.form},nativeOn:{keydown:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13))return null;e.preventDefault()}}},[a("el-form-item",{attrs:{label:"服务号",prop:"server"}},[a("el-checkbox",{attrs:{indeterminate:t.isIndeterminate},on:{change:t.serverCheckAll},model:{value:t.checkAll,callback:function(e){t.checkAll=e},expression:"checkAll"}},[t._v("全选")]),t._v(" "),a("el-checkbox-group",{on:{change:t.serverChange},model:{value:t.form.server,callback:function(e){t.form.server=e},expression:"form.server"}},t._l(t.server,function(e){return a("el-checkbox",{key:e.appid,attrs:{label:e.appid}},[t._v(t._s(e.nickname))])}))],1),t._v(" "),a("el-form-item",{attrs:{label:"关键字",prop:"tags"}},[t._l(t.form.tags,function(e,n){return a("el-tag",{key:"tag-"+n,attrs:{size:"small",type:"primary",closable:!0,"close-transition":!1},on:{close:function(e){t.closeTag(n)}}},[t._v("\n "+t._s(e)+"\n ")])}),t._v(" "),t.inputTag.status?a("el-input",{ref:"inputTag",staticClass:"input-tag",attrs:{size:"small"},on:{blur:t.saveTag},nativeOn:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13))return null;t.saveTag(e)}},model:{value:t.inputTag.value,callback:function(e){t.inputTag.value=e},expression:"inputTag.value"}}):t.form.tags.length<5?a("el-button",{staticClass:"new-tag",attrs:{size:"small"},on:{click:t.addTag}},[t._v("添加关键字")]):t._e(),t._v(" "),a("p",{staticClass:"red"},[t._v("注:最多设置5个关键字")])],2),t._v(" "),a("el-form-item",{attrs:{label:"小说",prop:"novel"}},[t._v("\n "+t._s(t.info.name)+"\n ")]),t._v(" "),a("el-form-item",{attrs:{label:"章节",prop:"chapter"}},[t._v("\n "+t._s(t.info.chapter)+"\n ")]),t._v(" "),a("el-form-item",{attrs:{label:"消息内容"}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:!t.picInit,expression:"!picInit"}],staticClass:"width-400 content"},[t.picInit?[a("div",{staticClass:"top-line"},[a("x-popover-title",{attrs:{value:t.form.send_title,titles:t.title},on:{"update:value":function(e){t.form.send_title=e}}}),t._v(" "),a("x-popover-cover",{attrs:{value:t.form.send_cover,covers:t.cover},on:{"update:value":function(e){t.form.send_cover=e}}})],1)]:t._e()],2)]),t._v(" "),a("el-form-item",[a("el-button",{staticStyle:{width:"220px"},attrs:{type:"info",loading:t.postloading},on:{click:t.save}},[t._v(" 添加关键字 ")])],1)],1)],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},"3ZlF":function(t,e,a){"use strict";function n(t){a("Ectm")}var i=a("0dE3"),s=a("JCgH"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},"3ay9":function(t,e){},"3rnE":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"promotion-custom-notify-new"},[t.edit||t.SmartPush?a("div",{staticClass:"edit-top"},[a("i",{staticClass:"warn"}),t._v("正在编辑“"+t._s(t.originName)+"”")]):a("div",{staticClass:"edit-top"},[a("i",{staticClass:"warn"}),t._v("仅 48 小时内和公众号有过交互 (点击菜单, 回复等) 的粉丝才能收到,每日发送次数若超过5次,有大概率封禁风险\n ")]),t._v(" "),a("el-form",{ref:"form",attrs:{model:t.form,rules:t.rules,"label-width":"80px"}},[t.SmartPush?t._e():a("el-form-item",{attrs:{label:"活动名称",prop:"name"}},[a("el-input",{staticClass:"width-400",model:{value:t.form.name,callback:function(e){t.form.name=e},expression:"form.name"}})],1),t._v(" "),t.SmartPush?t._e():a("el-form-item",{attrs:{label:"服务号",prop:"server"}},[a("el-checkbox",{attrs:{indeterminate:t.isIndeterminate},on:{change:t.serverCheckAll},model:{value:t.checkAll,callback:function(e){t.checkAll=e},expression:"checkAll"}},[t._v("全选")]),t._v(" "),a("el-checkbox-group",{on:{change:t.serverChange},model:{value:t.form.server,callback:function(e){t.form.server=e},expression:"form.server"}},t._l(t.server,function(e){return a("el-checkbox",{key:e.name,attrs:{label:e}},[t._v(t._s(e.nickname))])}))],1),t._v(" "),t.SmartPush?t._e():a("el-form-item",{attrs:{label:"接受用户"}},[a("el-radio-group",{on:{change:t.userChange},model:{value:t.user,callback:function(e){t.user=e},expression:"user"}},[a("el-radio",{staticClass:"radio",attrs:{label:"1"}},[t._v("追书云标签用户")]),t._v(" "),a("el-radio",{staticClass:"radio",attrs:{label:"2"}},[t._v("追书云全部用户")]),t._v(" "),a("el-radio",{staticClass:"radio",attrs:{label:"3"}},[t._v("服务号全量用户")])],1),t._v(" "),"1"===t.user?a("div",{staticClass:"user-label"},[a("div",{staticClass:"user-label-select"},t._l(t.label,function(e,n){return a("el-form-item",{key:e.key,attrs:{label:e.name}},[a("el-select",{attrs:{size:"small",multiple:"category_id"===e.key,placeholder:"请选择"},on:{change:t.userLabelChange},model:{value:t.form.label[n],callback:function(e){t.$set(t.form.label,n,e)},expression:"form.label[i]"}},t._l(e.select,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})}))],1)})),t._v(" "),a("div",{staticClass:"user-label-result"},[t._v("\n 符合条件的用户约"+t._s(t.goodUser)+"人\n ")])]):t._e()],1),t._v(" "),a("el-form-item",{attrs:{label:"消息内容"}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:!t.init,expression:"!init"}],staticClass:"width-400 content"},[t.init?[a("div",{staticClass:"top-line"},[a("x-popover-title",{attrs:{value:t.form.content[0].title,titles:t.title},on:{"update:value":function(e){t.form.content[0].title=e}}}),t._v(" "),a("x-popover-cover",{attrs:{value:t.form.content[0].cover,covers:t.cover},on:{"update:value":function(e){t.form.content[0].cover=e}}})],1),t._v(" "),t._l(t.form.content.slice(1),function(e,n){return a("div",{key:n,staticClass:"other-line"},[a("x-popover-title",{attrs:{value:t.form.content[n+1].title,titles:t.title},on:{"update:value":function(e){t.form.content[n+1].title=e}}}),t._v(" "),a("x-popover-cover",{attrs:{value:t.form.content[n+1].cover,covers:t.cover},on:{"update:value":function(e){t.form.content[n+1].cover=e}}}),t._v(" "),a("x-popover-link",{attrs:{value:t.form.content[n+1].link},on:{"update:value":function(e){t.form.content[n+1].link=e}}}),t._v(" "),a("div",{staticClass:"delete pointer-box",on:{click:function(e){t.delTemplate(n+1)}}},[a("div",{staticClass:"bg"}),t._v(" "),a("i",{staticClass:"el-icon-delete",staticStyle:{color:"white"}})])],1)})]:t._e()],2)]),t._v(" "),t.is_activity?a("el-form-item",{attrs:{label:"头条跳转",prop:"content[0].link"}},[a("el-input",{staticClass:"width-400",attrs:{disabled:""},model:{value:t.form.content[0].link,callback:function(e){t.form.content[0].link=e},expression:"form.content[0].link"}}),t._v(" "),a("p",{staticClass:"tip"},[t._v("活动链接不可更改,用户点击客服消息后跳转到活动页面")])],1):t._e(),t._v(" "),t.is_activity?t._e():a("el-form-item",{attrs:{label:"小说",prop:"book_name"}},[a("el-select",{attrs:{filterable:"",remote:"",placeholder:"请输入关键词","remote-method":t.getNovelList,loading:t.Noveloading},on:{change:t.confirmNovel},model:{value:t.form.book_name,callback:function(e){t.form.book_name=e},expression:"form.book_name"}},t._l(t.novelList,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t}})}))],1),t._v(" "),t.is_activity?t._e():a("el-form-item",{attrs:{label:"章节",prop:"chapter_name"}},[a("el-select",{attrs:{placeholder:"请输入选择章节",loading:t.chapteroading},on:{change:t.confirmChapter},model:{value:t.form.chapter_name,callback:function(e){t.form.chapter_name=e},expression:"form.chapter_name"}},t._l(t.chapterList,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e}},[a("span",{staticStyle:{float:"left","max-width":"140px",overflow:"hidden"}},[t._v(t._s(e.label))]),t._v(" "),a("span",{staticStyle:{float:"right","margin-right":"10px",color:"#8492a6","font-size":"13px"}},[t._v(t._s(e.meta))])])})),t._v(" "),a("p",{staticClass:"red"},[t._v("注: s:强关章节,v:付费章节")])],1),t._v(" "),a("el-form-item",{attrs:{label:"消息描述"}},[a("el-input",{staticClass:"width-400",attrs:{type:"textarea",rows:4,resize:"none",placeholder:"请输入消息描述"},model:{value:t.form.description,callback:function(e){t.form.description=e},expression:"form.description"}})],1),t._v(" "),t.SmartPush?t._e():a("el-form-item",{attrs:{label:"发送时间",prop:"sendTime"}},[a("el-date-picker",{staticStyle:{width:"180px"},attrs:{type:"datetime",placeholder:"选择日期时间","picker-options":t.pickerOptions},model:{value:t.form.sendTime,callback:function(e){t.form.sendTime=e},expression:"form.sendTime"}}),t._v(" "),a("p",{staticClass:"tip"},[t._v("客服消息发送对象与时间关系较大,若发送时间较晚,则可能预估送达偏差较大")])],1),t._v(" "),a("el-form-item",{ref:"test",attrs:{label:"测试ID",error:t.testError,prop:"test"},on:{click:t.test}},[a("el-input",{staticStyle:{width:"300px"},on:{blur:t.testBlur},model:{value:t.form.test,callback:function(e){t.form.test=e},expression:"form.test"}}),t._v(" "),a("el-button",{staticClass:"test",attrs:{type:"warning",loading:t.testloading},on:{click:t.test}},[t._v(" 测试发送 ")]),t._v(" "),a("div",{staticClass:"tip"},[t._v("\n 1、测试ID是强关用户(强关关注服务号)"),a("br"),t._v(" 2、单个site下多个服务号,测试ID只能收到强关服务号的测试消息;若需要测试其他关注服务号上消息,请在该服务号内回复t,获取一段测试码后,直接填入!\n ")])],1),t._v(" "),a("el-form-item",{attrs:{label:""}},[a("el-button",{staticStyle:{width:"300px"},attrs:{type:"info",loading:t.postloading},on:{click:t.submitForm}},[t._v(" 保存 ")])],1)],1)],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},"3srV":function(t,e,a){"use strict";function n(t){return{name:t.Chinese,key:t.name,icon:t.icon,hot:t.hot,route:{name:t.name}}}function i(t){return t.map(function(t){var e=n(t[0]);return t[1]&&(e.children=t[1].map(function(t){return n(t)})),e})}e.a=i},"41UT":function(t,e,a){"use strict";e.a={name:"x-grid",props:{data:{type:Array,require:!0,validator:function(t){var e=void 0,a=!0;return t.forEach(function(t,n){if(!Array.isArray(t))return a=!1;if(n){if(e!==t.length)return a=!1}else e=t.length}),a}}},data:function(){return{}},install:function(t,e){t.component(this.name,this)}}},"46f1":function(t,e,a){"use strict";a.d(e,"a",function(){return s});var n=a("gyMJ"),i=[{name:"关注时间",key:"subscribe_time",select:[{value:"a",label:"5天内"},{value:"b",label:"5-15天"},{value:"c",label:"15-30天"},{value:"d",label:"30天以上"},{value:"z",label:"不限"}]},{name:"性别",key:"sex",select:[{value:"a",label:"男"},{value:"b",label:"女"},{value:"z",label:"不限"}]},{name:"付费情况",key:"order_type",select:[{value:"a",label:"未付费"},{value:"b",label:"已付费"},{value:"c",label:"VIP用户"},{value:"z",label:"不限"}]},{name:"账户余额",key:"balance",select:[{value:"a",label:"低于500"},{value:"b",label:"500-2000"},{value:"c",label:"2000-5000"},{value:"z",label:"不限"}]}];e.b=function(){return a.i(n.b)().then(function(t){var e=[];return t.map(function(t){t.children.map(function(t){e.push(t)})}),e.push({value:"z",label:"不限"}),i.concat([{name:"关注分类",key:"category_id",select:e}])})};var s=i.map(function(t){return t.key});s.push("category_id")},"46ij":function(t,e){},"4FLo":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"promotion-page"},[a("div",{staticClass:"title"},[t._v(t._s(t.Chinese))]),t._v(" "),a("div",{staticClass:"promotion-page-content"},[a("x-table",{attrs:{data:t.tableData,column:t.tableColumn,stripe:""},scopedSlots:t._u([{key:"col-3",fn:function(e){return[a("span",{on:{click:function(a){t.handleDialog(e.row)}}},[t._v("获取推广链接")])]}}])})],1),t._v(" "),a("el-dialog",{staticClass:"dialog-1",attrs:{title:"生成推广链接",visible:t.dialog,"custom-class":"dialog-popup-page"},on:{"update:visible":function(e){t.dialog=e}}},[a("x-popup",{attrs:{name:t.checkedPage.name,id:t.checkedPage.id,status:t.dialog},on:{"update:status":function(e){t.dialog=e}}})],1)],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},"4IPT":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"service-list view-section"},[a("div",{staticClass:"service-text"},[t._v("\n 请设置多个强关服务号,防止微信清粉。由于微信新规每日新增粉丝过多,会清空当日新增粉丝数量,为了降低被清粉风险,请设置多个服务号。当某个服务号当日新增粉丝超过阈值,自动强制关注下一个备用服务号。\n ")]),t._v(" "),a("br"),t._v(" "),a("div",{staticClass:"service-text"},[t._v("\n 新开站点请尽快授权服务号,授权后不建议更换站点,如需更换站点请联系商务!\n ")]),t._v(" "),a("br"),t._v(" "),a("div",{staticClass:"service-text"},[t._v("\n 此列表按照关注优先级降序排序,自上而下,优先级依次降低\n ")]),t._v(" "),a("br"),t._v(" "),a("x-table",{attrs:{column:t.tableTitle,data:t.userData,stripe:""},scopedSlots:t._u([{key:"col-1",fn:function(e){return[t._v("\n "+t._s(e.row)+"\n ")]}},{key:"col-8",fn:function(e){return[a("p",{staticClass:"blue pointer-box",on:{click:function(a){t.dialogOpen(e.rowData)}}},[t._v("编辑")]),t._v(" "),a("p",{staticClass:"blue pointer-box",on:{click:function(a){t.dialogSubscribeOpen(e.rowData)}}},[t._v("关注设置")])]}}])}),t._v(" "),a("el-dialog",{attrs:{title:"服务号安全设置",visible:t.dialogVisible,size:"tiny"},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("p",{staticStyle:{"margin-bottom":"2em"}},[t._v("\n 设置强关阈值,当某个服务号当日新增粉丝超过阈值,自动强制关注下一个备用服务号。"),a("br"),a("br"),t._v(" 关注优先级数值越大,优先级越高,支持0-999999,以当前列表为准\n ")]),t._v(" "),a("el-form",{attrs:{"label-position":"left","label-width":"100px"}},[a("el-form-item",{attrs:{label:"日关注上限:"}},[a("el-input",{on:{change:function(e){t.checkNumber("subscribe_day_maximum",t.subscribe_day_maximum)}},model:{value:t.subscribe_day_maximum,callback:function(e){t.subscribe_day_maximum=e},expression:"subscribe_day_maximum"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"总关注上限:"}},[a("el-input",{on:{change:function(e){t.checkNumber("subscribe_top_num",t.subscribe_top_num)}},model:{value:t.subscribe_top_num,callback:function(e){t.subscribe_top_num=e},expression:"subscribe_top_num"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"关注优先级:"}},[a("el-input",{on:{change:function(e){t.checkNumber("sort_no",t.sort_no)}},model:{value:t.sort_no,callback:function(e){t.sort_no=e},expression:"sort_no"}})],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.dialogVisible=!1}}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.updateOfficialAccount}},[t._v("确 定")])],1)],1),t._v(" "),a("el-dialog",{attrs:{title:"强关设置",visible:t.subscribeMode.status,size:"tiny"},on:{"update:visible":function(e){t.subscribeMode.status=e}}},[a("el-form",{attrs:{"label-position":"left","label-width":"100px"}},[a("el-form-item",{attrs:{label:"关注模式"}},[a("el-radio",{attrs:{label:1},model:{value:t.subscribeMode.force,callback:function(e){t.subscribeMode.force=e},expression:"subscribeMode.force"}},[t._v("默认强关")]),t._v(" "),a("el-radio",{attrs:{label:2},model:{value:t.subscribeMode.force,callback:function(e){t.subscribeMode.force=e},expression:"subscribeMode.force"}},[t._v("链接强关")]),t._v(" "),a("el-radio",{attrs:{label:0},model:{value:t.subscribeMode.force,callback:function(e){t.subscribeMode.force=e},expression:"subscribeMode.force"}},[t._v("主动关注")])],1),t._v(" "),a("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.subscribeMode.force,expression:"subscribeMode.force"}],attrs:{label:"是否显示主动关注",error:t.subscribeMode.subscribeError}},[a("el-radio",{attrs:{label:!0},model:{value:t.subscribeMode.weak,callback:function(e){t.subscribeMode.weak=e},expression:"subscribeMode.weak"}},[t._v("开启")]),t._v(" "),a("el-radio",{attrs:{label:!1},model:{value:t.subscribeMode.weak,callback:function(e){t.subscribeMode.weak=e},expression:"subscribeMode.weak"}},[t._v("关闭")])],1),t._v(" "),a("el-form-item",{directives:[{name:"show",rawName:"v-show",value:2===t.subscribeMode.force,expression:"subscribeMode.force === 2"}],attrs:{label:"强关链接",required:"",error:t.subscribeMode.urlError}},[a("el-input",{attrs:{placeholder:"域名必须是 https://mp.weixin.qq.com"},nativeOn:{keydown:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13))return null;e.preventDefault()}},model:{value:t.subscribeMode.resource_url,callback:function(e){t.subscribeMode.resource_url=e},expression:"subscribeMode.resource_url"}})],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.subscribeMode.status=!1}}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary",loading:t.subscribeMode.loading},on:{click:t.dialogSubscribeConfirm}},[t._v("确 定")])],1)],1)],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},"4LDL":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"pay-setting"},[a("div",{staticClass:"title"},[t._v(t._s(t.commit.Chinese))]),t._v(" "),a("div",{staticClass:"content"},[t._m(0),t._v(" "),a("div",{staticClass:"choose-content"},[a("el-radio-group",{staticClass:"content-box",model:{value:t.radio,callback:function(e){t.radio=e},expression:"radio"}},t._l(t.choose,function(e,n){return a("div",{key:n,class:["choose-item",t.radio===e.value?"cur":""]},[a("div",{staticClass:"choose-item__title",on:{change:function(a){t.change(e.value)}}},[a("el-radio",{attrs:{label:e.value}},[t._v(t._s(e.label))]),t._v(" "),a("span",{directives:[{name:"show",rawName:"v-show",value:t.current===e.value,expression:"current===item.value"}],staticClass:"now"},[t._v("当前充值模板")])],1),t._v(" "),a("img",{attrs:{src:e.img,alt:""}}),t._v(" "),1===n?a("div",{staticClass:"notice bottom_notice"},[a("i",{staticClass:"el-icon-warning"}),t._v(" "),a("p",[t._v("2元首充特惠模板:\n "),a("span",[t._v("1、首充用户只能充值一次,后续充值不再出现该选项。")]),t._v(" "),a("span",[t._v("2、仅适用于长篇小说,短篇小说进入充值页面展示仍是模版一。")])])]):t._e()])}))],1)]),t._v(" "),a("el-dialog",{staticClass:"dialog-wrapper",attrs:{size:"tiny",title:"提示",top:"35%",visible:t.dialogVisible,"close-on-press-escape":!1,"show-close":!1,"close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("p",{staticClass:"dialog-content"},[t._v("确认充值页更改为\n "),a("i",[t._v(t._s(t.choose[t.radio-1].label))]),t._v("?")]),t._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.reset}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.confirm}},[t._v("确 定")])],1)])],1)},i=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",{staticClass:"notice"},[a("i",{staticClass:"el-icon-warning"}),t._v("建议选择模版二,经数据验证,2元与18元选项能有效提升订单成功率达70%,24、72小时arpu绝对值和增长率提升明显!")])}],s={render:n,staticRenderFns:i};e.a=s},"4e8N":function(t,e,a){"use strict";a.d(e,"a",function(){return n});var n=[{label:"日期",prop:"date"},{label:"充值总额",prop:"total_recharge_amount"},{label:"普通充值人数",prop:"ticket_recharge_user_num"},{label:"年费VIP人数",prop:"year_recharge_user_num"},{label:"成功订单数",prop:"paid_num"},{label:"订单总数",prop:"total_num"},{label:"新增用户",prop:"promotion_total_uv"},{label:"新用户关注",prop:"force_user_num"}]},"4gBM":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"fans_statistics"},[a("div",{staticClass:"title"},[t._v("粉丝统计")]),t._v(" "),a("x-sub-title",{attrs:{item:["粉丝统计数据"]}},[a("div",{staticClass:"right-operator"},[a("el-date-picker",{staticClass:"input",attrs:{"popper-class":"fans-picker",type:"daterange",placeholder:"选择日期范围","picker-options":t.pickerOptions},on:{change:function(e){t.getFansData(void 0)}},model:{value:t.pickerDefaultValue,callback:function(e){t.pickerDefaultValue=e},expression:"pickerDefaultValue"}}),t._v(" "),a("el-select",{staticClass:"input",attrs:{placeholder:"请选择服务号"},on:{change:t.handleIconClick},model:{value:t.server,callback:function(e){t.server=e},expression:"server"}},[a("el-option",{attrs:{label:"全部",value:void 0}}),t._v(" "),t._l(t.serverList,function(t,e){return a("el-option",{key:e,attrs:{label:t.nickname,value:t.appid}})})],2),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.exportSendOrders}},[t._v("导出")])],1)]),t._v(" "),a("div",{staticClass:"fans-table"},[a("x-table-2",{ref:"table",attrs:{data:t.tableData,stripe:"",loading:t.loading,align:"center"}},[a("x-table-column",{attrs:{label:"日期",prop:"date",width:"10"}}),t._v(" "),a("x-table-column",{attrs:{label:"公众号",prop:"name",width:"10"}}),t._v(" "),a("x-table-column",{attrs:{label:"新关粉丝数",prop:"new_subscribe_num",width:"10"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.data.new_subscribe_num||0)+"\n ")]}}])}),t._v(" "),a("x-table-column",{attrs:{label:"24小时充值金额",prop:"one_day_recharge",width:"10"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.data.one_day_recharge||0)+"\n ")]}}])}),t._v(" "),a("x-table-column",{attrs:{label:"72小时充值金额",prop:"three_days_recharge",width:"10"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.data.three_days_recharge||0)+"\n ")]}}])}),t._v(" "),a("x-table-column",{attrs:{label:"7天充值金额",prop:"seven_days_recharge",width:"10"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.data.seven_days_recharge||0)+"\n ")]}}])}),t._v(" "),a("x-table-column",{attrs:{label:"30天充值金额",prop:"thirty_days_recharge",width:"10"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.data.thirty_days_recharge||0)+"\n ")]}}])}),t._v(" "),a("x-table-column",{attrs:{label:"60天充值金额",prop:"sixty_days_recharge",width:"10"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.data.sixty_days_recharge||0)+"\n ")]}}])}),t._v(" "),a("x-table-column",{attrs:{label:"新关arpu值",prop:"new_subscribe_arpu",width:"10"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.data.new_subscribe_arpu||0)+"\n ")]}}])}),t._v(" "),a("x-table-column",{attrs:{label:"净关arpu值",prop:"actual_subscribe_arpu",width:"10"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.data.actual_subscribe_arpu||0)+"\n ")]}}])}),t._v(" "),a("x-table-column",{attrs:{label:"服务号充值总额",prop:"recharge_sum",width:"10"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.data.recharge_sum||0)+"\n ")]}}])}),t._v(" "),a("x-table-column",{attrs:{label:"新关粉丝付费人数",prop:"new_sub_recharge_num",width:"10"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.data.new_sub_recharge_num||0)+"\n ")]}}])}),t._v(" "),a("x-table-column",{attrs:{label:"付费笔数",prop:"sub_user_orders_num",width:"10"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.data.sub_user_orders_num||0)+"\n ")]}}])})],1)],1),t._v(" "),t.meta.last_page?a("div",{staticClass:"pagination"},[a("el-pagination",{attrs:{"current-page":t.meta.current_page,"page-size":t.meta.per_page,"page-count":t.meta.last_page,layout:"prev, pager, next, jumper"},on:{"current-change":t.handleCurrentChange}})],1):t._e()],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},"4jPJ":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{},t._l(t.list,function(e,n){return a("div",{key:n,staticStyle:{"font-size":"30px","line-height":"50px"}},[a("x-svg",{attrs:{icon:e}}),t._v("\n "+t._s(e)+"\n ")],1)}))},i=[],s={render:n,staticRenderFns:i};e.a=s},"4lW+":function(t,e){},"4oM7":function(t,e){},"54kn":function(t,e,a){"use strict";function n(t){a("RssL")}var i=a("aqtk"),s=a("ReAy"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},"5Mqk":function(t,e){},"5P5p":function(t,e,a){"use strict";var n=a("gyMJ");e.a={name:"autoPush",props:{stype:{type:String,default:function(){return"not_pay"}}},data:function(){return{column:[{prop:"date",label:"日期"},{prop:"push_user_num",label:"推送人数"},{prop:"click_num",label:"点击人数"},{prop:"click_rate",label:"点击率"},{prop:"amount",label:"充值金额(元)",className:"red"},{prop:"success_pay_num",label:"充值笔数"},{prop:"success_pay_rate",label:"充值率"}],statistics:[["总推送人数","加载中"],["总点击人数","加载中"],["总充值金额","加载中"],["点击率","加载中","(总点击人数/总推送人数)"],["充值率","加载中","(总充值笔数/总推送人数)"]],data:[],meta:{},loading:!0,type:"not_pay"}},watch:{$route:function(t){this.type=t.query.type,this.getStatistics(this.type)}},methods:{handleCurrentChange:function(t){this.getList(t)},getList:function(t){var e=this;this.loading=!0,a.i(n.Y)(this.type,t).then(function(t){e.meta=t.meta,e.data=t.list,e.loading=!1})},init:function(){this.statistics=[["总推送人数","加载中"],["总点击人数","加载中"],["总充值金额","加载中"],["点击率","加载中","(总点击人数/总推送人数)"],["充值率","加载中","(总充值笔数/总推送人数)"]],this.data=[],this.meta={},this.loading=!0},getStatistics:function(t){var e=this;a.i(n.Z)(t).then(function(t){e.statistics=[["总推送人数",t.push_user_num+"次"],["总点击人数",t.click_num+"人"],["总充值金额",t.amount+"元("+t.success_pay_num+"笔)"],["点击率",t.click_rate,"(总点击人数/总推送人数)"],["充值率",t.success_pay_rate,"(总充值笔数/总推送人数)"]]}),this.getList()}},created:function(){this.type=this.$route.query.type||"not_pay",this.getStatistics(this.type)}}},"5T07":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"min-program"},[a("div",{staticClass:"title"},[t._v(t._s(t.name.Chinese))]),t._v(" "),a("div",{staticClass:"statistics-state-head view-section-spacing"},t._l(t.totalStatistics,function(e,n){return a("div",{key:n,staticClass:"state-item"},[a("div",{staticClass:"state-item__label"},[t._v(t._s(e.label))]),t._v(" "),a("div",{staticClass:"state-item__value statistics-number"},[t._v(t._s(e.value))])])})),t._v(" "),a("x-sub-title",{attrs:{item:["数据统计"]}}),t._v(" "),a("div",{staticClass:"search-bars"},[a("el-date-picker",{staticClass:"input",attrs:{type:"daterange",placeholder:"选择日期范围","picker-options":t.pickerOptions2},on:{change:function(e){t.getSendOrders(void 0)}},model:{value:t.dataValue,callback:function(e){t.dataValue=e},expression:"dataValue"}}),t._v(" "),a("el-input",{staticClass:"input",attrs:{placeholder:"请输入推广名称搜索",icon:"search","on-icon-click":t.getSendOrders},nativeOn:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13))return null;t.getSendOrders(e)}},model:{value:t.channel_name,callback:function(e){t.channel_name=e},expression:"channel_name"}}),t._v(" "),a("el-button",{staticStyle:{float:"right",width:"130px","margin-left":"10px","text-align":"center"},attrs:{type:"primary"},on:{click:t.addMiniPromopt}},[t._v("创建推广参数")])],1),t._v(" "),a("div",{staticClass:"statistics-state-body view-section"},[a("x-table-2",{ref:"table",attrs:{stripe:"",loading:t.loading,data:t.bodyData,align:"left"}},[a("x-table-column",{attrs:{label:"推广名称",prop:"name"}}),t._v(" "),a("x-table-column",{attrs:{label:"创建日期",prop:"created_at"}}),t._v(" "),a("x-table-column",{attrs:{label:"推广类型",prop:"promotion_type"}}),t._v(" "),a("x-table-column",{attrs:{label:"参数链接",prop:"promotion_url"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",[t._v(t._s(e.data.promotion_url)+"\n "),a("i",{staticClass:"copy",attrs:{"data-clipboard-text":e.data.promotion_url}})])]}}])}),t._v(" "),a("x-table-column",{attrs:{label:"新增用户",prop:"addUserNum"}}),t._v(" "),a("x-table-column",{attrs:{label:"成功订单数",prop:"sucOrderNum"}}),t._v(" "),a("x-table-column",{attrs:{label:"订单总数",prop:"totalOrderNum"}}),t._v(" "),a("x-table-column",{attrs:{label:"充值总额",prop:"totalChargeAmount"}})],1),t._v(" "),t.meta.last_page?a("div",{staticClass:"pagination"},[a("el-pagination",{attrs:{"current-page":t.meta.current_page,"page-size":t.meta.per_page,"page-count":t.meta.last_page,layout:"prev, pager, next, jumper"},on:{"current-change":t.handleCurrentChange}})],1):t._e()],1),t._v(" "),a("el-dialog",{attrs:{title:"生成推广链接",visible:t.miniStatus,"custom-class":"dialog-popup-promotion"},on:{"update:visible":function(e){t.miniStatus=e}}},[a("x-popup",{attrs:{type:"x-aliprogram",status:t.miniStatus},on:{"update:status":function(e){t.miniStatus=e},"success-promotion":t.close}})],1)],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},"5TrB":function(t,e){},"5U7Y":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAOCAYAAAD0f5bSAAAKQ2lDQ1BJQ0MgcHJvZmlsZQAAeNqdU3dYk/cWPt/3ZQ9WQtjwsZdsgQAiI6wIyBBZohCSAGGEEBJAxYWIClYUFRGcSFX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tcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QjRDOEFFQkJENDAxMTFFNzlFQzFCODdCN0IwRTI4MDMiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QjRDOEFFQkNENDAxMTFFNzlFQzFCODdCN0IwRTI4MDMiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5fbhBdAAAAuUlEQVR42mL8//8/AxTAGXgAI4hgwqPgAE4ZoE2eQPzsP3EApM6TAcqwQZKYD8RcIGcDMS8QL0KSA6l7xgDlMKCZGAnELECcjSYOVgfy03MgtgHiT0iu1gDip0AsjiQGkrcG4hcgnV5A/JxIPz0BqWeAWgnCSkD8GofiV1B5sFpkTSCsDMSrgfgDVPEHKF8ZWR0jUuRixAYsMtEBEwMZgGqa1IF4LxB/gdLq2JIROr6OFnLX0dUABBgAkndYDBc/wX4AAAAASUVORK5CYII="},"5W/2":function(t,e,a){"use strict";function n(t){a("Okum")}var i=a("iBfA"),s=a("yUKV"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,"data-v-42c39522",null);e.a=c.exports},"5XLt":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{},[a("x-sub-title",{staticClass:"statist-header",attrs:{item:t.menuItem,default:t.defaultIndex},on:{"change-item":t.changeItem}}),t._v(" "),a("auto-push-template")],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},"5ogJ":function(t,e){},"5pLW":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAKQ2lDQ1BJQ0MgcHJvZmlsZQAAeNqdU3dYk/cWPt/3ZQ9WQtjwsZdsgQAiI6wIyBBZohCSAGGEEBJAxYWIClYUFRGcSFXEgtUKSJ2I4qAouGdBiohai1VcOO4f3Ke1fXrv7e371/u855zn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lSUQ9InhtcC5paWQ6QzY4QThCNDQ5NjlFMTFFN0I4QkVEMzMyMjUzOTE5MEQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QzY4QThCNDU5NjlFMTFFN0I4QkVEMzMyMjUzOTE5MEQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7Uj9HqAAAAQklEQVR42mJMS0v7wMDAwM9AHfCRiYHKgAWIBahpINVdOGrgEDAQlMj/k4g/0NSFLGh8gdFYHjWQuGQzuEtsgAADAGpDEzRq0PQMAAAAAElFTkSuQmCC"},"5woi":function(t,e){},"6RdT":function(t,e,a){"use strict";var n=a("yEpX"),i=(a("sh+m"),a("jDoW")),s=a("qUsx"),o=a("kHaR"),r=a("qejX"),c=a("dhim"),l=[],u=a.i(n.b)([[c.G,i.a],[c.M,r.a],[c._6,s.a],[c._7,o.a,l]]);e.a=u},"6X1Q":function(t,e){},"6Xy0":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"promotion-custom-notify"},[a("div",{staticClass:"title"},[t._v(t._s(t.Chinese))]),t._v(" "),a("x-sub-title",{attrs:{item:t.subTitle,default:t.active},on:{"change-item":t.href}}),t._v(" "),a("router-view",{staticClass:"view-section",staticStyle:{background:"#fff"}})],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},"6clh":function(t,e,a){"use strict";var n=a("gyMJ"),i=a("dhim"),s=a("V33R"),o=a.n(s);e.a={name:i.Q.name,data:function(){return{officialAccount:{},domain:window.options.domain}},methods:{upload:function(t){var e=new FormData;e.append("verify_file",t.file),e.append("name",t.data.name),a.i(n.R)(e)},save:function(t,e,i,s){a.i(n.S)({name:t,appsecret:e}),a.i(n.T)({name:t,subscribe_day_maximum:i,subscribe_top_num:s})}},created:function(){var t=this;getOfficialAccountUserStatById(this.$route.query.appid).then(function(e){t.officialAccount=e})},mounted:function(){var t=this,e=function(e){t.$message("复制成功"),e.clearSelection()},a=function(e){t.$message.error("复制失败,请自行复制")},n=new o.a(".server-settings-message .copy");n.on("success",e),n.on("error",a)}}},"6oOn":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"x-pagination"},[a("el-pagination",{attrs:{"current-page":t.meta.current_page,"page-size":t.meta.per_page,"page-count":t.meta.last_page,layout:"prev, pager, next, jumper"},on:{"current-change":t.handleCurrentChange}})],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},"6uZh":function(t,e){},"7/Z0":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"focus-system"},[n("div",{staticClass:"content"},[n("img",{attrs:{src:a("AvC3"),alt:""}}),t._v(" "),n("div",{staticClass:"operator1"},[n("div",{staticClass:"btn btn-edit",on:{click:t.save}},[t._v("保存设置")])])])])},i=[],s={render:n,staticRenderFns:i};e.a=s},"72lL":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAKQ2lDQ1BJQ0MgcHJvZmlsZQAAeNqdU3dYk/cWPt/3ZQ9WQtjwsZdsgQAiI6wIyBBZohCSAGGEEBJAxYWIClYUFRGcSFXEgtUKSJ2I4qAouGdBiohai1VcOO4f3Ke1fXrv7e371/u855zn/M55zw+AERImkeaiagA5UoU8Otgfj09IxMm9gAIVSOAEIBDmy8JnBcUAAPADeXh+dLA//AGvbwACAHDVLiQSx+H/g7pQJlcAIJEA4CIS5wsBkFIAyC5UyBQAyBgAsFOzZAoAlAAAbHl8QiIAqg0A7PRJPgUA2KmT3BcA2KIcqQgAjQEAmShHJAJAuwBgVYFSLALAwgCgrEAiLgTArgGAWbYyRwKAvQUAdo5YkA9AYACAmUIszAAgOAIAQx4TzQMgTAOgMNK/4KlfcIW4SAEAwMuVzZdL0jMUuJXQGnfy8ODiIeLCbLFCYRcpEGYJ5CKcl5s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kFvgKqxYxWI0fvy4LnLfx0y8zFQYcPr+UcPQLsq703D1YCNiDhXNoZl9fXc6Oeeh5LyH07WfwxvG41Du8J0GNdEzCYTOWNqpvJ371+7Gp/rCA3P7lxnUh3kfhMj3FRyvP3cNK78ACFy81x3p/W5eEYTHCSuSaarrMOoMZPnbHAN9mpcNR1YoUBXpUf1F1Am0nkRl/LGDKIL2AdP2Of8e1GUKdBn19NnvxuvYZT3ImByHweh8zeFS1UvBdqzcE9u/aU6/qUqT6Mc1KhRoKlRo0BTo0aBpkaNAk2NAk2N2tvc/k+AAQBxAY0oxLZHsQAAAABJRU5ErkJggg=="},"7iic":function(t,e,a){"use strict";var n=a("/4j5"),i=a("/sGr"),s=a("VU/8"),o=s(n.a,i.a,!1,null,null,null);e.a=o.exports},"7m5N":function(t,e){},"7x5V":function(t,e,a){"use strict";var n=a("//Fk"),i=a.n(n),s=a("Xxa5"),o=a.n(s),r=a("exGp"),c=a.n(r),l=a("dhim"),u=(a("ZoQJ"),a("gyMJ")),p=a("2Pnh"),d=(a.n(p),a("V33R")),m=a.n(d),v=a("mw3O"),h=a.n(v),f=a("BYEm"),_=a("8l/Y"),b=a("sh+m");e.a={name:l.G.name,components:{"x-popup":f.a,"x-report-table":_.a},data:function(){return{promotionNovelInfo:l.j,novelCopy:l.A.name,statisticsRecord:l.H.name,loading:!0,pickerOptions2:{shortcuts:[{text:"最近一周",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.getTime()-6048e5),t.$emit("pick",[a,e])}},{text:"最近一个月",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.getTime()-2592e6),t.$emit("pick",[a,e])}},{text:"最近三个月",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.getTime()-7776e6),t.$emit("pick",[a,e])}}]},value7:[new Date(new Date-6048e5),new Date],preSendTime:[],input_name:"",input_order_name:"",company_name:"",task_name:"",area:null,browser:"1",tableData:[],tableData2:[],meta:{},remarkBox:!1,remarkSelect:{},remarkMsg:"",remarkStar:0,costDialog:!1,costNew:"",costDate:"",channelDialog:!1,channelType:"",channelDate:{},channelBook:{},channelChapter:{},delPop:[],qrCodeBg:[],keyDialog:!1,keyInfo:{},shortLinkDialog:!1,shortLink:"",promoteLink:"",notifyText:"客服消息",isSite123:123===window.options.distribution_channel_id,origin_url:"",decrypt_url:"",reportTableDialog:!1,reportStatus:!1,reportData:{}}},watch:{browser:function(t){"3"===t&&this.$set(this,"notifyText","客服消息"),"4"===t&&this.$set(this,"notifyText","模板消息")}},methods:{handleIconClick:function(t){var e=this;return c()(o.a.mark(function t(){return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:"1"===e.browser||"2"===e.browser?e.getSendOrders():"3"===e.browser?e.getCustomNotifyList():"4"===e.browser&&e.getNotifyList();case 1:case"end":return t.stop()}},t,e)}))()},handleCurrentChange:function(t){t!==this.meta.current_page&&("1"===this.browser||"2"===this.browser?this.getSendOrders(t):"3"===this.browser?this.getCustomNotifyList(t):"4"===this.browser&&this.getNotifyList(t))},search:function(){"1"===this.browser||"2"===this.browser?this.getSendOrders():"3"===this.browser?this.getCustomNotifyList():"4"===this.browser&&this.getNotifyList()},changeBrowser:function(t){this.$router.replace({name:l.G.name,query:{tab:t}}),this.$set(this,"browser",t),this.$nextTick(function(){this.$refs.table.columns=this.$refs.table.computedColumns(),"1"===t||"2"===t?this.getSendOrders():"3"===t?this.getCustomNotifyList():"4"===t&&this.getNotifyList()})},getCustomNotifyList:function(t){var e=this;return c()(o.a.mark(function n(){var i,s,r,c,l;return o.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return e.loading=!0,e.value7[0]&&(i=e.value7[0].Format()),e.value7[1]&&(s=e.value7[1].Format()),r=e.input_name,c=e.task_name,n.next=7,a.i(u._2)({start_time:i,end_time:s,book_name:r,task_name:c,page:t});case 7:l=n.sent,window.tableData2=l.list,e.tableData2=l.list,e.meta=l.meta,e.loading=!1;case 12:case"end":return n.stop()}},n,e)}))()},getNotifyList:function(t){var e=this;return c()(o.a.mark(function n(){var i,s,r,c,l;return o.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return e.loading=!0,e.value7[0]&&(i=e.value7[0].Format()),e.value7[1]&&(s=e.value7[1].Format()),r=e.input_name,c=e.task_name,n.next=7,a.i(u._3)({start_time:i,end_time:s,book_name:r,task_name:c,page:t});case 7:l=n.sent,window.tableData2=l.list,e.tableData2=l.list,e.meta=l.meta,e.loading=!1;case 12:case"end":return n.stop()}},n,e)}))()},getSendOrders:function(t){var e=this;return c()(o.a.mark(function n(){var i,s,r,c,l,p,d,m,v,h;return o.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return e.loading=!0,e.value7[0]&&(i=e.value7[0].Format()),e.value7[1]&&(s=e.value7[1].Format()),e.preSendTime[0]&&(r=e.preSendTime[0].Format()),e.preSendTime[1]&&(c=e.preSendTime[1].Format()),l=e.input_name,p=e.input_order_name,d=e.area,m=e.company_name,v=e.browser,n.next=12,a.i(u._4)({start_time:i,end_time:s,pre_send_date_start:r,pre_send_date_end:c,book_name:l,name:p,page:t,promotion_type:d,company_name:m,promotion_point:v});case 12:h=n.sent,window.tableData=h.list,e.tableData=h.list,e.meta=h.meta,e.loading=!1;case 17:case"end":return n.stop()}},n,e)}))()},exportSendOrders:function(){if(this.value7[0])var t=this.value7[0].Format();if(this.value7[1])var e=this.value7[1].Format();if(this.preSendTime[0])var n=this.preSendTime[0].Format();if(this.preSendTime[1])var i=this.preSendTime[1].Format();if(this.input_name)var s=this.input_name;if(this.input_order_name)var o=this.input_order_name;if(this.area)var r=this.area;if(this.company_name)var c=this.company_name;if(this.browser)var l=this.browser;if(this.task_name)var p=this.task_name;if("1"===this.browser||"2"===this.browser){var d=h.a.stringify({start_time:t,end_time:e,book_name:s,name:o,pre_send_date_start:n,pre_send_date_end:i,promotion_type:r,company_name:c,promotion_point:l});a.i(u._5)("/api/sendOrder/exportSendOrders?"+d)}else{var d=h.a.stringify({start_time:t,end_time:e,book_name:s,task_name:p}),m=void 0;m="3"===this.browser?"/api/OfficialAccount/exportCustomSendMsgs":"/api/OfficialAccount/exportWechatTemplateMsg",a.i(u._5)(m+"?"+d)}},dialogOpen:function(t){this.remarkBox=!0,this.remarkSelect=t,this.remarkMsg=t.remark,this.remarkStar=t.star_num},updatedRemark:function(){var t=this;a.i(u._6)({id:this.remarkSelect.id,star_num:this.remarkStar,remark:this.remarkMsg}).then(function(){t.remarkBox=!1,t.remarkSelect.star_num=t.remarkStar,t.remarkSelect.remark=t.remarkMsg})},openCost:function(t){this.costDialog=!0,this.costNew=t.cost,this.costDate=t},updateCost:function(t){var e=this;a.i(u._7)({id:this.costDate.id,cost:this.costNew}).then(function(t){e.costDialog=!1,e.costDate.cost=t.cost,e.costDate.profit=a.i(u._8)(e.costDate.totalChargeAmount-e.costDate.cost).slice(2),e.costDate.ratioOfSalesToCost=a.i(u._9)(e.costDate.totalChargeAmount,e.costDate.cost)})},openChannel:function(t){var e=this;this.channelDate=t,this.channelType=t.entrance?"x-page":"x-novel",this.channelChapter={chapter_id:t.chapter_id,chapter_name:t.chapter_name},t.entrance?this.channelDialog=!0:a.i(u.m)(t.book_id).then(function(t){e.channelBook=t,e.channelDialog=!0})},updateSuccess:function(t){this.channelDate.name=t.name,this.channelDate.cost=t.cost,this.channelDate.channel_type=t.channel_type,this.channelDate.promotion_type=t.promotion_type,this.channelDate.subscribe_chapter_seq=t.subscribe_chapter_seq},delSendOrders:function(t){a.i(u._10)({id:t}),this.getSendOrders(this.meta.current_page)},upload:function(t){a.i(u._11)({sendOrderFile:t.file}).then(function(t){var e=new FileReader;e.readAsDataURL(t),e.onload=function(t){var e=document.createElement("a");e.download=(new Date).Format()+".csv",e.href=t.target.result,e.click()}})},getQrCodeBg:function(){var t=this;a.i(u._12)().then(function(e){t.qrCodeBg=e})},loadImage:function(t){var e=t;return new i.a(function(t){var a=new Image;a.onload=function(){t(a)},a.src=e})},toDown:function(t,e){var a=this,n=e,i=t.target,s=i.src,o=i.nextElementSibling.lastElementChild.src,r=document.createElement("canvas"),c=r.getContext("2d"),l=null;this.loadImage(s).then(function(t){return l=t,r.width=t.width,r.height=t.height,c.drawImage(t,0,0),a.loadImage(o)}).then(function(t){c.drawImage(t,l.width-222,30,192,192);var e=r.toDataURL("image/jpeg"),a=document.querySelector("#download"+n);a.setAttribute("download","推广图"),a.setAttribute("href",e),a.click()})},openKeyDialog:function(t){var e={};e.id=t.id,e.name=t.book_name,e.book_id=t.book_id,e.chapter=t.chapter_name,e.chapter_id=t.chapter_id,this.$set(this,"keyInfo",e),this.keyDialog=!0},openShortLinkDialog:function(t){var e=this;a.i(u._13)(t).then(function(a){e.shortLinkDialog=!0,e.promoteLink=t,e.shortLink=a})},uploadExcel:function(t){a.i(u._14)({orginUrlFile:t.file}).then(function(t){var e=new FileReader;e.readAsDataURL(t),e.onload=function(t){var e=document.createElement("a");e.download=(new Date).Format()+".csv",e.href=t.target.result,e.click()}})},decrypt:function(){var t=this;a.i(u._15)({origin_url:this.origin_url}).then(function(e){t.decrypt_url=e.originUrl})},showReportTable:function(){var t=this;a.i(u._16)().then(function(e){t.reportData=e,t.reportTableDialog=!0})},switchReportTable:function(){var t=this;a.i(u.k)().then(function(e){t.reportStatus=e})}},mounted:function(){var t=this,e=function(e){t.$message("复制成功"),e.clearSelection()},a=function(e){t.$message.error("复制失败,请自行复制")},n=new m.a(".promote_statistics .copy");n.on("success",e),n.on("error",a)},created:function(){this.massPromotion=b.a.massPromotion,this.input_name=this.$route.params.bookName,this.input_order_name=this.$route.params.orderName,this.browser=this.$route.query.tab?this.$route.query.tab:"1","1"===this.browser||"2"===this.browser?this.getSendOrders():"3"===this.browser?this.getCustomNotifyList():"4"===this.browser&&this.getNotifyList(),this.getQrCodeBg(),this.switchReportTable()}}},"8+iz":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAKQ2lDQ1BJQ0MgcHJvZmlsZQAAeNqdU3dYk/cWPt/3ZQ9WQtjwsZdsgQ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OTZBMTExRTc4RDFERjA5QUM3Rjg5NjM0Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QUZENjIzMjQ5NkExMTFFNzhEMURGMDlBQzdGODk2MzQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QUZENjIzMjU5NkExMTFFNzhEMURGMDlBQzdGODk2MzQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz51iKiuAAAA6klEQVR42sSTQQ6CMBBFCxqNC09gwgKPAQdAD+I1jAt3rowr76RHINFg0ZUL3Rg19Y+ZBYFCa2zCTx5tpsP0twxCKSVqCMAGpODJpBwL6t7zhV4J2IErzwdMwrE9z6vS7BKCC4ga3EecE5bXPHqUtAUnsBDNmoMRmJkcHnQ7axiDo43DF+iDt8FhBzxAtxjUFaSAJ+xUyaWvPAGSF1Uh0YZirvzWgkMJYos7M0E1JB35lyMar8B5Qd8ycQluPDbK1iG1Rw/cwdCFwxWPa1cObftTtVqwvbbJQeygWATO9MtMQa7+V0a1PgIMAK/Sm2xo9C6HAAAAAElFTkSuQmCC"},"8/rI":function(t,e,a){"use strict";function n(t){a("9LBj")}var i=a("iHnE"),s=a("zGON"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,"data-v-10d39056",null);e.a=c.exports},"82DW":function(t,e,a){"use strict";function n(t){a("xxS7")}var i=a("DiKy"),s=a("8plw"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,"data-v-71182ed9",null);e.a=c.exports},"86QV":function(t,e,a){"use strict";var n=a("bOdI"),i=a.n(n);e.a={name:"x-sub-title",props:{item:{type:Array,default:function(){return[]}},router:{default:function(t){return!1}},default:{default:function(){return!1!==this.router?this.$route.name:this.item[0]&&this.item[0].value||1}}},data:function(){return{index:this.default,title:this.generateTitle()}},watch:i()({default:function(t,e){this.index=t},item:function(){this.title=this.generateTitle()}},"$route.name",function(t){!1!==this.router&&(this.index=t)}),methods:{check:function(t){t!==this.index&&(!1!==this.router&&this.$router.replace({name:t}),this.index=t,this.$emit("update:default",t),this.$emit("change-item",t))},generateTitle:function(){var t=this;return this.item.map(function(e,a){return"string"==typeof e?{label:e,value:a+1}:!1!==t.router?{label:e.Chinese,value:e.name}:e})}},install:function(t,e){t.component(this.name,this)}}},"8FTz":function(t,e){t.exports={classification:[{value:"选项1",label:"黄金糕"},{value:"选项2",label:"双皮奶"},{value:"选项3",label:"蚵仔煎"},{value:"选项4",label:"龙须面"},{value:"选项5",label:"北京烤鸭"}],data:[]}},"8GCA":function(t,e,a){"use strict";function n(t){a("FcdX"),a("HSRk")}var i=a("dFdE"),s=a("LHop"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,"data-v-70840d02",null);e.a=c.exports},"8Nrt":function(t,e,a){"use strict";var n=function(t){return[{required:!0,message:"请输入手机号",trigger:"blur"},{pattern:/^1(3|4|5|7|8)\d{9}$/,message:"请输入正确手机号",trigger:"blur"}]},i=function(t){return[{required:!0,message:"请输入商务编号",trigger:"blur"}]},s=function(t){return[{required:!0,message:"请输入验证码",trigger:"blur"}]},o=function(){return[]},r=function(t,e){return[{required:!0,message:"密码不可为空",trigger:"blur"},{max:20,message:"密码最大长度为20",trigger:"blur"},{min:6,message:"密码最小长度为6",trigger:"blur"},{pattern:/^(?![0-9]+$)(?![a-zA-Z]+$).+$/,message:"不能是纯数字或者纯字母",trigger:"blur"},{validator:function(a,n,i){""!==t[e].repassword&&void 0!==t[e].repassword&&t.$refs[e].validateField("repassword"),i()},trigger:"blur"}]},c=function(t,e){return[{required:!0,message:"密码不可为空",trigger:"blur"},{max:20,message:"密码最大长度为20",trigger:"blur"},{min:6,message:"密码最小长度为6",trigger:"blur"},{pattern:/^(?![0-9]+$)(?![a-zA-Z]+$).+$/,message:"不能是纯数字或者纯字母",trigger:"blur"}]},l=function(t,e){return[{validator:function(a,n,i){""===n?i(new Error("请再次输入密码")):n!==t[e].password?i(new Error("两次输入密码不一致!")):i()},trigger:"blur"}]},u={phone:n,number:i,password:r,repassword:l,verificationCode:o,oldpassword:c,captcha:s};e.a=function(t){t.form||(t.form="form");var e={};return t.rules.map(function(a){e[a]=u[a](t.context,t.form)}),e}},"8l/Y":function(t,e,a){"use strict";function n(t){a("WSey")}var i=a("V2H4"),s=a("U+gA"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,"data-v-295bacf6",null);e.a=c.exports},"8plw":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"focus-text"},[a("div",{staticClass:"content"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.keyReply,expression:"keyReply"}],attrs:{name:"text",cols:"30",rows:"10",disabled:!t.edit},domProps:{value:t.keyReply},on:{input:function(e){e.target.composing||(t.keyReply=e.target.value)}}}),t._v(" "),a("p",{staticClass:"limit"},[t._v(t._s(t.wordCounts)+" / 600")]),t._v(" "),t.edit?a("div",{staticClass:"operator2"},[a("div",{staticClass:"btn btn-add",on:{click:function(e){t.dialogVisible=!0}}},[t._v("添加链接")]),t._v(" "),a("div",{staticClass:"right-box"},[a("span",{staticClass:"btn",on:{click:function(e){t.edit=!1}}},[t._v("取消")]),t._v(" "),a("span",{staticClass:"btn btn-edit",on:{click:t.save}},[t._v("保存设置")])])]):a("div",{staticClass:"operator1"},[a("div",{staticClass:"btn btn-edit",on:{click:function(e){t.edit=!0}}},[t._v("编辑")])])]),t._v(" "),a("el-dialog",{staticClass:"dialog-wrapper",attrs:{title:"添加链接",visible:t.dialogVisible,"show-close":!1,"close-on-press-escape":!1,"close-on-click-modal":!1,top:"35%",size:"tiny"},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("div",{staticClass:"dialog-content"},[a("div",{staticClass:"item"},[a("div",{staticClass:"item-label"},[t._v("链接文案:")]),t._v(" "),a("div",{staticClass:"item-input"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.links.name,expression:"links.name"}],attrs:{type:"text",placeholder:"链接文案"},domProps:{value:t.links.name},on:{input:function(e){e.target.composing||(t.links.name=e.target.value)}}})])]),t._v(" "),a("div",{staticClass:"item"},[a("div",{staticClass:"item-label"},[t._v("链接:")]),t._v(" "),a("div",{staticClass:"item-input"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.links.link,expression:"links.link"}],attrs:{type:"url",placeholder:"http://"},domProps:{value:t.links.link},on:{input:function(e){e.target.composing||(t.links.link=e.target.value)}}}),t._v(" "),a("p",[t._v('将生成【链接文案"】格式的文字链,可直接复制、删除或修改')])])])]),t._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.dialogVisible=!1}}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.confirm}},[t._v("确 定")])],1)])],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},"9Bh6":function(t,e){},"9LBj":function(t,e){},"9N3a":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"min-program"},[a("div",{staticClass:"title"},[t._v(t._s(t.name.Chinese))]),t._v(" "),a("div",{staticClass:"statistics-state-head view-section-spacing"},t._l(t.totalStatistics,function(e,n){return a("div",{key:n,staticClass:"state-item"},[a("div",{staticClass:"state-item__label"},[t._v(t._s(e.label))]),t._v(" "),a("div",{staticClass:"state-item__value statistics-number"},[t._v(t._s(e.value))])])})),t._v(" "),a("x-sub-title",{attrs:{item:["数据统计"]}}),t._v(" "),a("div",{staticClass:"search-bars"},[a("el-date-picker",{staticClass:"input",attrs:{type:"daterange",placeholder:"选择日期范围","picker-options":t.pickerOptions2},on:{change:function(e){t.getSendOrders(void 0)}},model:{value:t.dataValue,callback:function(e){t.dataValue=e},expression:"dataValue"}}),t._v(" "),a("el-input",{staticClass:"input",attrs:{placeholder:"请输入推广名称搜索",icon:"search","on-icon-click":t.getSendOrders},nativeOn:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13))return null;t.getSendOrders(e)}},model:{value:t.channel_name,callback:function(e){t.channel_name=e},expression:"channel_name"}}),t._v(" "),a("el-button",{staticStyle:{float:"right",width:"130px","margin-left":"10px","text-align":"center"},attrs:{type:"primary"},on:{click:t.addMiniPromopt}},[t._v("创建推广参数")])],1),t._v(" "),a("div",{staticClass:"statistics-state-body view-section"},[a("x-table-2",{ref:"table",attrs:{stripe:"",loading:t.loading,data:t.bodyData,align:"left"}},[a("x-table-column",{attrs:{label:"推广名称",prop:"name"}}),t._v(" "),a("x-table-column",{attrs:{label:"创建日期",prop:"created_at"}}),t._v(" "),a("x-table-column",{attrs:{label:"推广类型",prop:"promotion_type"}}),t._v(" "),a("x-table-column",{attrs:{label:"参数链接",prop:"promotion_url"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",[t._v(t._s(e.data.promotion_url)+"\n "),a("i",{staticClass:"copy",attrs:{"data-clipboard-text":e.data.promotion_url}})])]}}])}),t._v(" "),a("x-table-column",{attrs:{label:"新增用户",prop:"addUserNum"}}),t._v(" "),a("x-table-column",{attrs:{label:"成功订单数",prop:"sucOrderNum"}}),t._v(" "),a("x-table-column",{attrs:{label:"订单总数",prop:"totalOrderNum"}}),t._v(" "),a("x-table-column",{attrs:{label:"充值总额",prop:"totalChargeAmount"}})],1),t._v(" "),t.meta.last_page?a("div",{staticClass:"pagination"},[a("el-pagination",{attrs:{"current-page":t.meta.current_page,"page-size":t.meta.per_page,"page-count":t.meta.last_page,layout:"prev, pager, next, jumper"},on:{"current-change":t.handleCurrentChange}})],1):t._e()],1),t._v(" "),a("el-dialog",{attrs:{title:"生成推广链接",visible:t.miniStatus,"custom-class":"dialog-popup-promotion"},on:{"update:visible":function(e){t.miniStatus=e}}},[a("x-popup",{attrs:{type:"x-miniprogram",status:t.miniStatus},on:{"update:status":function(e){t.miniStatus=e},"success-promotion":t.close}})],1)],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},"9Oup":function(t,e){},"9eRr":function(t,e){},"9jQ0":function(t,e,a){"use strict";var n=a("mvHQ"),i=a.n(n),s=a("dhim"),o=a("Z+Vf"),r=a("gyMJ");e.a={name:s.e.name,data:function(){return{commit:s.e,user:{},summary:JSON.parse(i()(o.a)),type:"a",options:[{value:"a",label:"充值订单"},{value:"b",label:"章节订单"},{value:"c",label:"单本订单"}],order:[],meta:{},tableHead:[{label:"序号",prop:"id"},{label:"时间",prop:"created_at"},{label:"类型",prop:"type"},{label:"金额",prop:"fee"},{label:"小说/章节",prop:"",className:"single-line"}],loading:!0}},methods:{typeChange:function(t){this.tableHead[3].label="a"===t?"金额":"书币",this.getUserOrder(t)},getUserOrder:function(t,e){var n=this;this.loading=!0,a.i(r.A)(t,this.$route.query.id,e).then(function(t){n.loading=!1,n.order=t.list,n.meta=t.meta}).catch(function(t){n.loading=!1,n.order=[],n.meta={}})},handleCurrentChange:function(t){t!==this.meta.current_page&&this.getUserOrder(this.type,t)}},created:function(){var t=this;a.i(r.B)(this.$route.query.id).then(function(e){t.user=e,t.summary[0].value=e.balance,t.summary[1].value=e.total_money,t.summary[2].value=e.total_consume}).catch(function(e){10013===e.data.code&&(t.$message(e.data.msg),t.$router.go(-1))}),this.getUserOrder("a")}}},"9je0":function(t,e,a){"use strict"},"A/LL":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEwAAABMCAYAAADHl1ErAAAKQ2lDQ1BJQ0MgcHJvZmlsZQAAeNqdU3dYk/cWPt/3ZQ9WQtjwsZdsgQAiI6wIyBBZohCSAGGEEBJAxYWIClYUFRGcSFXEgtUKSJ2I4qAouGdBiohai1VcOO4f3Ke1fXrv7e371/u855zn/M55zw+AERImkeaiagA5UoU8Otgfj09IxMm9gAIVSOAEIBDmy8JnBcUAAPADeXh+dLA//AGvbwACAHDVLiQSx+H/g7pQJlcAIJEA4CIS5wsBkFIAyC5UyBQAyBgAsFOzZAoAlAAAbHl8QiIAqg0A7PRJPgUA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J7hRligHRSvcIcNXsKJrMBkM9L8qnXHmsFWJSJCsj2bxjigHPS/w2DCzjOVAUDUjVxLNQKqLwBS9JxkbLt/8VfyeQ5oBPyt1T1v8OqA5Zv+UeAAQAXI1MFiGhg6wAAAABJRU5ErkJggg=="},A3S3:function(t,e){},"AMz/":function(t,e,a){"use strict";function n(t){var e=i(t);-1!==e&&a.i(s.a)(o[e].value)}function i(t){return o.findIndex(function(e){return e.path===t.fullPath})}e.a=n;var s=a("gyMJ"),o=[{path:"/notify",value:"noticePromote",label:"通知公告"},{path:"/notify?type=0",value:"noticePromote",label:"通知公告2"},{path:"/notify?type=2",value:"manual",label:"操作指南"},{path:"/notify?type=3",value:"bookRecom",label:"书籍推荐"},{path:"/user",value:"query",label:"用户查询"},{path:"/statisticsState",value:"sumData",label:"数据汇总"},{path:"/promotionNovel",value:"promotionNovel",label:"小说推广"},{path:"/promotionnovelrank",value:"rankNovel",label:"小说排行"},{path:"/promotionPage",value:"pagePromote",label:"页面推广"},{path:"/promotionPlatformActive",value:"businessPromote",label:"促销活动"},{path:"/autoPush",value:"smartPush",label:"智能推送"},{path:"/promotionNotify/",value:"templateMsg",label:"模板消息"},{path:"/promotionCustomNotify/",value:"clientMsg",label:"客服消息"},{path:"/promotionMaterial",value:"picArtElem",label:"图文素材"},{path:"/promotionKey/list",value:"keywordRe",label:"关键字回复"},{path:"/minProgram",value:"miniProgram",label:"小程序"},{path:"/statisticsPromote",value:"promoteStats",label:"推广统计"},{path:"/statisticsAutoPush",value:"pushStats",label:"推送统计"},{path:"/statisticsRecord",value:"rechargeRecord",label:"充值记录"},{path:"/statisticsCenter/amount/date",value:"balanceCenter",label:"结算中心"},{path:"/service/list",value:"serviceAccountSet",label:"服务号设置"},{path:"/customerServer",value:"ClientSet",label:"客服设置"},{path:"/siteList",value:"siteList",label:"站点列表"}]},Adkc:function(t,e){},AvC3:function(t,e,a){t.exports=a.p+"channel/static/img/system.5d73287.png"},B0Yo:function(t,e,a){"use strict";var n=a("dhim"),i=a("gyMJ");e.a={data:function(){return{commit:n.Z,choose:[{value:0,label:"正常版",img:"https://cdn-novel.iycdm.com/h5/20181022/zhenc.jpg"},{value:1,label:"老年粉专用版",img:"https://cdn-novel.iycdm.com/h5/20181022/laonian.jpg"}],radio:0,current:0,dialogVisible:!1}},methods:{change:function(t){this.dialogVisible=!0},reset:function(){this.dialogVisible=!1,this.radio=0===this.radio?1:0},confirm:function(){var t=this;this.dialogVisible=!1,a.i(i.N)(this.radio).then(function(e){t.getTemplate()}).catch(function(e){t.radio=0===t.radio?1:0})},getTemplate:function(){var t=this;a.i(i.O)().then(function(e){t.current=e.is_old_user_site,t.radio=e.is_old_user_site})}},created:function(){this.getTemplate()}}},B7Oo:function(t,e){},BC1i:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"novel-content-wrap"},[a("x-head"),t._v(" "),a("div",{staticClass:"novel-content"},[a("div",{staticClass:"novel-content-title red"},[t._v("\n "+t._s(t.content.chapter_name)+"\n ")]),t._v(" "),a("div",{staticClass:"novel-content-paragraph"},[t._v("\n "+t._s(t.content.chapter_content)+"\n ")]),t._v(" "),a("footer",[t.content.prev_cid?a("router-link",{attrs:{to:{name:t.name,params:{id:t.$route.params.id,cid:t.content.prev_cid}}}},[a("el-button",{attrs:{type:"primary"}},[t._v("上一章")])],1):t._e(),t._v(" "),a("router-link",{attrs:{to:{name:t.promotionNovelInfo,params:{id:t.$route.params.id}}}},[a("el-button",[t._v("返回书籍详情")])],1),t._v(" "),t.content.next_cid?a("router-link",{attrs:{to:{name:t.name,params:{id:t.$route.params.id,cid:t.content.next_cid}}}},[a("el-button",{attrs:{type:"primary"}},[t._v("下一章")])],1):t._e()],1)])],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},BKyK:function(t,e){},BNtm:function(t,e){},BObL:function(t,e,a){"use strict";var n=a("/d+f"),i=a("piUj"),s=a("VU/8"),o=s(n.a,i.a,!1,null,null,null);e.a=o.exports},BYEm:function(t,e,a){"use strict";function n(t){a("FwmY")}var i=a("oIvL"),s=a("EQyM"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},BoWE:function(t,e,a){"use strict";var n=a("mOfK"),i=a("V8vb"),s=a("VU/8"),o=s(n.a,i.a,!1,null,null,null);e.a=o.exports},CAU7:function(t,e,a){"use strict";var n,i=a("bOdI"),s=a.n(i),o=a("dhim"),r=a("3srV"),c=a("fp2T"),l={role:"inner",shelter:{name:o._0.name},promotionCopy:!0,promotionLink:!0,promotionSave:!1,subscribe:!1,material:!1,route:(n={},s()(n,o.c.name,!0),s()(n,o.d.name,!0),s()(n,o.e.name,!0),s()(n,o.f.name,!0),s()(n,o.h.name,!0),s()(n,o.i.name,!0),s()(n,o.j.name,!0),s()(n,o.k.name,!1),s()(n,o.l.name,!1),s()(n,o.m.name,!1),s()(n,o.n.name,!1),s()(n,o.o.name,!1),s()(n,o.p.name,!1),s()(n,o.q.name,!1),s()(n,o.r.name,!1),s()(n,o.s.name,!1),s()(n,o.t.name,!1),s()(n,o.u.name,!1),s()(n,o.v.name,!1),s()(n,o.w.name,!1),s()(n,o.x.name,!1),s()(n,o.y.name,!1),s()(n,o.z.name,!1),s()(n,o.A.name,!0),s()(n,o.B.name,!0),s()(n,o.C.name,!0),s()(n,o.b.name,!0),s()(n,o.D.name,!0),s()(n,o.E.name,!0),s()(n,o.F.name,!0),s()(n,o.G.name,!0),s()(n,o.H.name,!0),s()(n,o.I.name,!0),s()(n,o.J.name,!0),s()(n,o.K.name,!0),s()(n,o.L.name,!0),s()(n,o.M.name,!1),s()(n,c.a.name,!1),s()(n,o.N.name,!0),s()(n,o.O.name,!0),s()(n,o.P.name,!1),s()(n,o.Q.name,!1),s()(n,o.R.name,!1),s()(n,o.S.name,!1),s()(n,o.T.name,!1),s()(n,o.U.name,!1),s()(n,o.V.name,!1),s()(n,o.W.name,!1),s()(n,o.X.name,!1),s()(n,o.Y.name,!0),s()(n,o.Z.name,!0),s()(n,o._0.name,!0),n),menu:a.i(r.a)([[o.c],[o.f],[o.H],[o.h],[o.i],[o._4],[o.G],[o.I],[o.d],[o.N]])};e.a=l},CC4c:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"rank-list"},[a("div",{staticClass:"rank-list__name"},[a("span",[t._v(t._s(t.name))]),t._v(" "),t._t("default")],2),t._v(" "),t.list.length?a("ul",{staticClass:"rank-list__list"},t._l(t.list,function(e,n){return a("router-link",{key:e.book_id,staticClass:"rank-list__item pointer-box",attrs:{tag:"li",to:{name:t.promotionNovelInfo,params:{id:e.book_id}}}},[a("span",{class:{"rank-list__number":!0,"rank-list__number--top":n<3}},[t._v(t._s(n+1))]),t._v(" "),n?a("div",{staticClass:"rank-list__item__name"},[t._v(t._s(e.book_name))]):a("div",{staticClass:"rank-list__info"},[a("div",{staticClass:"cover"},[a("img",{attrs:{src:e.cover_url}})]),t._v(" "),a("div",{staticClass:"text"},[a("div",{staticClass:"first"},[a("span",{staticClass:"rank-list__item__name"},[t._v(t._s(e.book_name))])]),t._v(" "),a("div",{staticClass:"sec"},[a("span",[t._v("字数:"+t._s(e.book_word_count))])]),t._v(" "),a("div",{staticClass:"third"},[t._v("\n "+t._s(e.book_summary)+"\n ")])])])])})):t._e()])},i=[],s={render:n,staticRenderFns:i};e.a=s},CHSX:function(t,e){},CJt5:function(t,e){},CLXf:function(t,e){},CaSo:function(t,e,a){"use strict";function n(t){a("SdSi"),a("5ogJ")}var i=a("fPjG"),s=a("qUjZ"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,"data-v-7fa55813",null);e.a=c.exports},ChJD:function(t,e,a){"use strict";var n=a("dhim");e.a={name:n.I.name,data:function(){return{Chinese:n.I.Chinese,item:[{label:n.J.Chinese,value:n.J.name},{label:n.K.Chinese,value:n.K.name},{label:n.L.Chinese,value:n.L.name}]}},methods:{handleMenu:function(t){return this.$router.replace({name:t})}},computed:{defaultMenu:function(){return this.$route.meta.activeTitle||this.$route.name}}}},Cqja:function(t,e){},"Cr6/":function(t,e,a){},CyCs:function(t,e,a){"use strict";function n(t){a("BNtm")}var i=a("E6Pq"),s=a("2LUx"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},D4Qy:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEwAAABMCAYAAADHl1ErAAAKQ2lDQ1BJQ0MgcHJvZmlsZQAAeNqdU3dYk/cWPt/3ZQ9WQtjwsZdsgQAiI6wIyBBZohCSAGGEEBJAxYWIClYUFRGcSFXEgtUKSJ2I4qAouGdBiohai1VcOO4f3Ke1fXrv7e371/u855zn/M55zw+AERImkeaiagA5UoU8Otgfj09IxMm9gAIVSOAEIBDmy8JnBcUAAPADeXh+dLA//AGvbwACAHDVLiQSx+H/g7pQJlcAIJEA4CIS5wsBkFIAyC5UyBQAyBgAsFOzZAoAlAAAbHl8QiIAqg0A7PRJPgUA2KmT3BcA2KIcqQgAjQEAmShHJAJAuwBgVYFSLALAwgCgrEAiLgTArgGAWbYyRwKAvQUAdo5YkA9AYACAmUIszAAgOAIAQx4TzQMgTAOgMNK/4KlfcIW4SAEAwMuVzZdL0jMUuJXQGnfy8ODiIeLCbLFCYRcpEGYJ5CKcl5sjE0jnA0zODAAAGvnRwf44P5Dn5uTh5mbnbO/0xaL+a/BvIj4h8d/+vIwCBAAQTs/v2l/l5dYDcMcBsHW/a6lbANpWAGjf+V0z2wmgWgrQevmLeTj8QB6eoVDIPB0cCgsL7SViob0w44s+/zPhb+CLfvb8QB7+23rwAHGaQJmtwKOD/XFhbnauUo7nywRCMW735yP+x4V//Y4p0eI0sVwsFYrxWIm4UCJNx3m5UpFEIcmV4hLpfzLxH5b9CZN3DQCshk/ATrYHtctswH7uAQKLDljSdgBAfvMtjBoLkQAQZzQyefcAAJO/+Y9AKwEAzZek4wAAvOgYXKiUF0zGCAAARKCBKrBBBwzBFKzADpzBHbzAFwJhBkRADC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NyurTEDidUdQyLrAEjw8Ia+iI0jFKKzJx/CZEF+Bsgk0oGSq6GsvT6guZdDUNM0LjVksqOYWYci5ir06oANI16U8NRpJPFe/lALzjFnidsiuaxDb24yMebtlhg1S3Qmh7QMgGXR2nhsLDEAM5V/u3XAfkZiCzUL6LsTyVKcMBsSaYCmyyLqjusLEkBq/Lkm3NHIv/NBVPJPk1w5aOWR9PwI+ez9MqqK4h7grcEWd65bT16/r5lOQ2HZTWYWJY4iHfpxFUwkycLtIj4m6Icb6sZQMtKwruO8jGXgjWtmNlkwKo7LMyVHgWz/TxMnxhLo0DAEl3xa2079Dmup2nSSHKDsTLOwpIU4lqZS0aOvDJLzKsZgNmPiPssTNDeD8S5QHPRCV/8qiyXtIEzGX8aYD6w4kCXTFJAc4ntkrlqYXldMiL+2dDE4a72ZO0XECILMPJYMhfHbGAaDLA+7iWqBIwDzc4CuFQqZmJQ6J1oVxmJs7YkgEbkBqvITRDfi04caLHlvjFjWbFlXdyKLBj3anpKTT76kOsFraJsm3sz1qxixI6VzgYq7TkH4ajwci5vU4ckT2W1CsA414yslMkGLWFASnt5Sjj4mHCUa0LSHrEvACMKezHAfGM2MkCNLYCJsr2R6ysGCs+ND9pXFuayNu7lde4V5oTKe4WZAkAaU68wp62egqlsEFXzknzhe4+jBViaiwoq928YQsAZ83/D4AOOc1XunkGWPJZGC6iqAcujuCjY937xVzJVTmi//7OiMTHhoq39/2EZ2/8EGADVZHb83XoXvAAAAABJRU5ErkJggg=="},D6hY:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"novel-to__picBox"},[a("div",{staticClass:"pic-title"},[t._v("文字转图片")]),t._v(" "),a("div",{staticClass:"cavans-box"},[t._m(0),t._v(" "),a("div",{staticClass:"item-group"},[a("div",{staticClass:"item-label"}),t._v(" "),a("div",{staticClass:"item-content"},[a("el-button",{attrs:{type:"primary"},on:{click:t.build}},[t._v("生成")])],1)])]),t._v(" "),a("div",{staticClass:"preview-box"},[a("div",{staticClass:"pic-title"},[t._v("预览")]),t._v(" "),a("p",{staticClass:"canvas-content",style:t.contentStyle,domProps:{innerHTML:t._s(t.content)}})]),t._v(" "),a("a",{staticStyle:{display:"none"},attrs:{id:"download",href:"#"}})])},i=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"item-group"},[a("div",{staticClass:"item-label"},[t._v("文字内容")]),t._v(" "),a("div",{staticClass:"item-content"},[a("div",{attrs:{id:"summernote"}})])])}],s={render:n,staticRenderFns:i};e.a=s},DiKy:function(t,e,a){"use strict";var n=a("gyMJ");e.a={data:function(){return{keyReply:"",maxCount:600,edit:!1,dialogVisible:!1,links:{name:"",link:""}}},computed:{wordCounts:function(){return this.keyReply.length}},created:function(){this.keyReply=localStorage.getItem("focus-text")||""},methods:{confirm:function(){""===this.links.name?this.$message.error("链接文案不能为空"):""===this.links.link?this.$message.error("链接地址不能为空"):(this.links.link.includes("http")||(this.links.link="https://"+this.links.link),this.keyReply+=''+this.links.name+"",this.links={name:"",link:""},this.dialogVisible=!1)},save:function(){var t=this,e={mode:3,content:this.keyReply,is_pic:0};a.i(n.C)(e).then(function(e){t.$message("设置成功"),t.edit=!1,localStorage.removeItem("focus-text-edit"),t.$router.go(0)}).catch(function(e){t.$message.error("设置失败")})}},beforeRouteEnter:function(t,e,a){var n=localStorage.getItem("focus-text"),i=localStorage.getItem("focus-text-edit");a(function(t){t.keyReply=n||"",t.edit=!!i&&"true"===i})},beforeRouteLeave:function(t,e,a){this.edit&&(localStorage.setItem("focus-text",this.keyReply),localStorage.setItem("focus-text-edit",this.edit)),a()}}},DlH2:function(t,e,a){"use strict";var n=a("c/Tr"),i=a.n(n),s=a("dhim"),o=a("8Nrt"),r=a("gyMJ");e.a={name:s.b.name,data:function(){return{form:{phone:"",password:"",captcha:""},rules:a.i(o.a)({rules:["phone","password","captcha"],context:this}),code:"/api/auth/captcha",password:{name:s.E.name},find:{name:s.F.name},register:{name:s.D.name}}},methods:{login:function(){var t=this;this.$refs.form.validate(function(e){if(e){var n=new FormData;n.append("phone",t.form.phone),n.append("password",t.form.password),n.append("captcha",t.form.captcha),a.i(r.i)(n).then(function(t){location.href="/"}).catch(function(e){t.refreshCode()})}})},refreshCode:function(){this.code=this.code+"?"+Math.random()}},mounted:function(){var t=this;setTimeout(function(){i()(t.$refs.form.$el.querySelectorAll(".el-input__inner")).forEach(function(e,a){0===a&&e.value!==t.form.phone&&(t.form.phone=e.value),1===a&&e.value!==t.form.password&&(t.form.password=e.value)})},200)}}},Dtka:function(t,e){},E6Pq:function(t,e,a){"use strict";var n=a("Xxa5"),i=a.n(n),s=a("exGp"),o=a.n(s),r=a("dhim"),c=a("gyMJ"),l=a("30NN"),u=a("mw3O"),p=a.n(u),d=[{label:"结算日期",prop:"date"},{label:"充值金额",prop:"recharge_amount"},{label:"佣金比例",prop:"rate"},{label:"扣税金额",prop:"tallage"},{label:"结算后金额",prop:"settlement_price",className:"red"}],m=[{label:"结算日期",prop:"date"},{label:"服务号",prop:"nickname"},{label:"服务号充值金额",prop:"amount"},{label:"站点充值总额",prop:"total"},{label:"新增粉丝数",prop:"new_fans_num"},{label:"30天内充值",prop:"recharge_amount_in_30_days"},{label:"60天内充值",prop:"recharge_amount_in_60_days"},{label:"90天内充值",prop:"recharge_amount_in_90_days"}];e.a={name:r._9.name,props:["type"],data:function(){return{picker_value:"",pickerOptions:l.a,bills:[],meta:{},headerList:[{}]}},methods:{handleCurrentChange:function(t){t!==this.meta.current_page&&this.getBills(t)},getBills:function(t){var e=this;return o()(i.a.mark(function n(){var s,o,r;return i.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(e.picker_value[0]&&(s=e.picker_value[0].Format()),e.picker_value[1]&&(o=e.picker_value[1].Format()),r=void 0,"date"!==e.type){n.next=9;break}return n.next=6,a.i(c._82)({start_time:s,end_time:o,page:t});case 6:r=n.sent,n.next=12;break;case 9:return n.next=11,a.i(c._83)({start_time:s,end_time:o,page:t});case 11:r=n.sent;case 12:e.bills=r.list,e.meta=r.meta;case 14:case"end":return n.stop()}},n,e)}))()},changeDate:function(){this.getBills()},exportBills:function(){if(this.picker_value[0])var t=this.picker_value[0].Format();if(this.picker_value[1])var e=this.picker_value[1].Format();var n=p.a.stringify({start_time:t,end_time:e});if("date"===this.type){a.i(c._84)("/api/exportBills?"+n)}else{a.i(c._84)("/api/OfficialAccountBills/getList?export=1&"+n)}}},beforeRouteEnter:function(t,e,a){a(function(t){t.picker_value="",t.bills=[],t.meta={},t.headerList="date"===t.type?d:m,t.getBills()})}}},EJo6:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-popover",{attrs:{width:"160",placement:t.placement},model:{value:t.status,callback:function(e){t.status=e},expression:"status"}},[a("p",{staticStyle:{"padding-bottom":"12px"}},[t._v("确定"+t._s(this.text)+"\n "),a("span",{staticClass:"blue"},[t._v(t._s(t.name))]),t._v(" 吗?")]),t._v(" "),a("div",{staticStyle:{"text-align":"right",margin:"0"}},[a("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(e){t.status=!1}}},[t._v("取消")]),t._v(" "),a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:t.confirm}},[t._v("确定")])],1),t._v(" "),a("template",{attrs:{slot:"reference"},slot:"reference"},[t._t("default")],2)],2)},i=[],s={render:n,staticRenderFns:i};e.a=s},EQyM:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.success?a("x-success",{attrs:{type:t.type,link:t.link},on:{close:t.handleDialog}}):a(t.type,{tag:"component",attrs:{action:t.action,id:t.id,name:t.name,info:t.info,template:t.template,chapter:t.chapter,status:t.status,origin:t.origin,spread:t.spread},on:{close:t.handleDialog,success:t.promotionSuccess,"success-update":t.updateSuccess}})},i=[],s={render:n,staticRenderFns:i};e.a=s},Ectm:function(t,e){},EeDY:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-menu",{staticClass:"main-menu l",attrs:{router:!0,"default-active":t.menuSelectedIndex}},[n("el-scrollbar",{staticStyle:{height:"100%"},attrs:{wrapStyle:"height: 100%; overflow-x: hidden;"}},[n("div",{staticClass:"menu-status el-menu-item"},[n("img",{attrs:{src:a("5pLW")}}),t._v("菜单")]),t._v(" "),t._l(t.menuList,function(e){return[e.children?n("el-submenu",{key:e.key,attrs:{index:e.key}},[n("template",{attrs:{slot:"title"},slot:"title"},[n("x-svg",{attrs:{icon:e.icon}}),t._v(" "),n("span",[t._v(t._s(e.name))])],1),t._v(" "),t._l(e.children,function(e,a){return t.isShowMenu(e.key,a)?n("el-menu-item",{key:e.key,staticStyle:{"padding-left":"105px"},attrs:{index:e.key,route:e.route}},[e.hot?n("img",{staticClass:"hot-icon",attrs:{src:t.menuSelectedIndex===e.key?t.hotCheck:t.hot,alt:""}}):t._e(),t._v(" "+t._s(e.name)+"\n ")]):t._e()})],2):n("el-menu-item",{key:e.key,attrs:{index:e.key,route:e.route}},[n("x-svg",{attrs:{icon:e.icon}}),t._v(" "),n("span",[e.hot?n("img",{staticClass:"hot-icon",attrs:{src:t.menuSelectedIndex===e.key?t.hotCheck:t.hot,alt:""}}):t._e(),t._v(t._s(e.name))])],1)]})],2)],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},FMZn:function(t,e,a){"use strict";function n(t){a("041D")}var i=a("wKQ/"),s=a("tQ2x"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,"data-v-e110f016",null);e.a=c.exports},FQ7n:function(t,e,a){"use strict";var n=a("woOf"),i=a.n(n),s=a("mvHQ"),o=a.n(s),r=a("gyMJ"),c=a("dhim"),l=a("30NN"),u=a("K9c9"),p=a.n(u),d=a("4e8N"),m=a("UfWP");e.a={name:c.f.name,data:function(){return{commit:c.f,dayStatistics:JSON.parse(o()(p.a)),totalStatistics:JSON.parse(o()(p.a)),pickerOptions:l.a,tableHead:[],tableData:[],bodyHead:d.a,bodyData:[],bookBodyHead:m.a,bookBodyData:[],meta:{},timeRange:"",browser:"1"}},methods:{download:function(){var t=window.location.host;t=location.protocol+"//"+t,window.open(t+"/api/trade/exportChannelRechargeStat")},handleCurrentChange:function(t){if(t!==this.meta.current_page){var e=i()({page:t},this.timeRangeFormat);"1"===this.browser?this.getStatisticsState(e):"2"===this.browser?this.getChannelRechargeStat(e):this.getAccountOrderDayStats(e)}},timeRangeChange:function(t){var e={begin_time:this.timeRange[0].Format("yyyy-MM-dd"),end_time:this.timeRange[1].Format("yyyy-MM-dd")};"1"===this.browser?this.getStatisticsState(e):"2"===this.browser?this.getChannelRechargeStat(e):this.getAccountOrderDayStats(e)},getStatisticsState:function(t){var e=this;return a.i(r._73)(t).then(function(t){e.bodyData=t.list,e.meta=t.meta})},getChannelRechargeStat:function(t){var e=this;return a.i(r._74)(t).then(function(t){e.bodyData=t.list,e.meta=t.meta})},getAccountOrderDayStats:function(t){var e=this;return a.i(r._75)(t).then(function(t){e.bodyData=t.list,e.meta=t.meta})},getAccountChannelTodayData:function(){var t=this;a.i(r._76)().then(function(e){t.dayStatistics[0].value=e.amount,t.dayStatistics[1].value=e.recharge_paid_number,t.dayStatistics[2].value=e.year_paid_number,t.dayStatistics[3].value=e.paid_num,t.dayStatistics[4].value=e.total_order_num,t.dayStatistics[5].value=e.new_user_num,t.dayStatistics[6].value=e.new_subscribe_user_num})},getDayStatistics:function(){var t=this;a.i(r._70)().then(function(e){t.dayStatistics[0].value=e.amount,t.dayStatistics[1].value=e.recharge_paid_number,t.dayStatistics[2].value=e.year_paid_number,t.dayStatistics[3].value=e.paid_num,t.dayStatistics[4].value=e.total_order_num,t.dayStatistics[5].value=e.new_user_num,t.dayStatistics[6].value=e.new_subscribe_user_num})},changeBrowser:function(t){this.$router.replace({name:c.f.name,query:{tab:t}}),this.$nextTick(function(){"1"===t?(this.tableHead=this.bodyHead,this.getStatisticsState(),this.getDayStatistics()):"2"===t?(this.tableHead=this.bookBodyHead,this.getChannelRechargeStat(),this.getDayStatistics()):(this.tableHead=this.bodyHead,this.getAccountOrderDayStats(),this.getAccountChannelTodayData())})}},computed:{timeRangeFormat:function(){return this.timeRange?{begin_time:this.timeRange[0].Format("yyyy-MM-dd"),end_time:this.timeRange[1].Format("yyyy-MM-dd")}:{}}},created:function(){var t=this,e=this.$route.query.tab||"1";this.browser=e,"1"===e?(this.tableHead=this.bodyHead,this.getStatisticsState(),this.getDayStatistics()):"2"===e?(this.tableHead=this.bookBodyHead,this.getChannelRechargeStat(),this.getDayStatistics()):(this.tableHead=this.bodyHead,this.getAccountOrderDayStats(),this.getAccountChannelTodayData()),a.i(r._77)().then(function(e){t.totalStatistics[0].value=e.total_recharge_amount,t.totalStatistics[1].value=e.ticket_recharge_user_num,t.totalStatistics[2].value=e.year_recharge_user_num,t.totalStatistics[3].value=e.paid_num,t.totalStatistics[4].value=e.total_num,t.totalStatistics[5].value=e.promotion_total_uv,t.totalStatistics[6].value=e.force_user_num,t.totalStatistics[7].value=e.cost_sum})}}},FcdX:function(t,e){},FhuW:function(t,e){},FwmY:function(t,e){},"G/o6":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"promotion-active"},[a("x-table",{attrs:{data:t.data,column:t.column,loading:t.loading,stripe:""},scopedSlots:t._u([{key:"col-2",fn:function(e){return[a("p",[t._v(t._s(e.rowData.start_time))]),t._v(" "),a("p",[t._v(t._s(e.rowData.end_time))])]}},{key:"col-3",fn:function(e){return[e.rowData.is_end?a("span",[t._v("活动已结束,敬请关注下次活动")]):[a("a",{staticClass:"blue single-line",attrs:{title:e.rowData.activity_page,href:e.rowData.activity_page}},[t._v(t._s(e.rowData.activity_page))]),t._v(" "),a("i",{staticClass:"copy pointer-box",attrs:{"data-clipboard-text":e.rowData.activity_page}}),t._v(" "),a("el-popover",{ref:"QR",attrs:{placement:"right","popper-class":"popover-qr",title:"二维码(点击下载)",trigger:"hover"}},[a("a",{directives:[{name:"qr",rawName:"v-qr",value:e,expression:"scope"}],staticClass:"promotion-active-qr",attrs:{download:e.rowData.id}}),t._v(" "),a("i",{staticClass:"QR pointer-box",attrs:{slot:"reference"},slot:"reference"})])]]}},{key:"col-7",fn:function(e){return[e.rowData.is_over?[a("el-switch",{attrs:{"on-value":1,"off-value":0,disabled:"","on-text":"开启","off-text":"关闭"},model:{value:t.close,callback:function(e){t.close=e},expression:"close"}})]:[a("el-switch",{attrs:{"on-value":1,"off-value":0,"on-text":"开启","off-text":"关闭"},on:{change:function(a){t.toggleActivity(e.rowData.is_over,e.rowData.id,e.rowData.is_reader_page_show,e.rowData.is_sign_message_show)}},model:{value:e.rowData.is_reader_page_show,callback:function(t){e.rowData.is_reader_page_show=t},expression:"scope.rowData.is_reader_page_show"}})]]}},{key:"col-8",fn:function(e){return[e.rowData.is_over?[a("el-switch",{attrs:{"on-value":1,"off-value":0,disabled:"","on-text":"开启","off-text":"关闭"},model:{value:t.close,callback:function(e){t.close=e},expression:"close"}})]:[a("el-switch",{attrs:{"on-value":1,"off-value":0,"on-text":"开启","off-text":"关闭"},on:{change:function(a){t.toggleActivity(e.rowData.is_over,e.rowData.id,e.rowData.is_reader_page_show,e.rowData.is_sign_message_show)}},model:{value:e.rowData.is_sign_message_show,callback:function(t){e.rowData.is_sign_message_show=t},expression:"scope.rowData.is_sign_message_show"}})]]}},{key:"col-9",fn:function(e){return[a("router-link",{staticClass:"blue",attrs:{to:{name:t.statisticsRecord,params:{activity_name:e.rowData.name}}}},[t._v("查看订单")]),t._v(" "),a("br"),t._v(" "),e.rowData.is_over?t._e():a("router-link",{staticClass:"blue",attrs:{to:{name:t.promotionCustomNotifyNew,query:{activity_id:e.rowData.id}}}},[t._v("创建客服消息")]),t._v(" "),a("br"),t._v(" "),e.rowData.is_over?t._e():a("router-link",{staticClass:"blue",attrs:{to:{name:t.promotionNotifyNew,query:{activity_id:e.rowData.id}}}},[t._v("创建模版消息")])]}}])})],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},G1oX:function(t,e,a){"use strict";function n(t){a("GyLF")}var i=a("xj1W"),s=a("qrQV"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},G8Fr:function(t,e){},GCI7:function(t,e,a){"use strict";var n=a("d7EF"),i=a.n(n),s=a("Xxa5"),o=a.n(s),r=a("//Fk"),c=a.n(r),l=a("exGp"),u=a.n(l),p=a("dhim"),d=a("gyMJ"),m=a("MJLE"),v=a.n(m);e.a={name:p.c.name,data:function(){return{commit:p.c,noticeType:[],checkedNoticeType:0,tableData:[],tableColumn:[{width:"180",label:"日期",prop:"updated_time"},{label:"标题",prop:"title"}],notice:{status:!1,data:{},cancel:null},threshold:{status:!1,data:{}},degree:{status:!1,choose:10,data:{name:"张三",is_complate:0}},meta:{},welfare:{status:!1,books:[],is_has_prize:!1,qr:"",is_alert:!1},promotionNovelInfo:p.j.name}},methods:{goToDetaial:function(t){},showNotice:function(t,e){var n=this;a.i(d._85)(t.id).then(function(t){n.notice.status=!0,n.notice.data=t,n.notice.cancel=e})},closeNotice:function(){this.notice.cancel&&(this.notice.cancel(),this.notice.cancel=null,this.getThreshold(),this.checkDegree())},handleCurrentChange:function(t){t!==this.meta.current_page&&this.$router.replace({name:p.c.name,query:{type:this.$route.query.type,page:t}})},noticeTypeChange:function(t){this.$router.replace({name:p.c.name,query:{type:t}})},autoPopup:function(){var t=this;return u()(o.a.mark(function e(){var n,i,s,r;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.i(d._86)();case 2:if(n=e.sent.list[0],i=+localStorage.getItem("lastest-notice"),n&&n.id!==i){e.next=8;break}return t.getThreshold(),t.checkDegree(),e.abrupt("return",c.a.resolve());case 8:return s=void 0,r=void 0,r=new c.a(function(t){s=t}),t.showNotice(n,s),localStorage.setItem("lastest-notice",n.id),e.abrupt("return",r);case 13:case"end":return e.stop()}},e,t)}))()},getWelfare:function(){var t=this;return a.i(d._33)().then(function(e){t.welfare.status=!!e.prize.is_alert,t.welfare.books=e.books,t.welfare.is_has_prize=e.prize.is_has_prize,t.welfare.qr=e.prize.url})},showWelfare:function(){new v.a(this.$refs.qr,{text:this.welfare.qr,width:130,height:130})},getThreshold:function(){var t=this;a.i(d._87)().then(function(e){t.threshold.data=e,e.contents&&(t.threshold.status=!0)})},checkDegree:function(){var t=this;a.i(d._88)().then(function(e){t.degree.data.name=e.nickName,t.degree.data.is_complate=e.isReply,e.isShow?t.degree.status=!1:t.showDegreeDialog()})},showDegreeDialog:function(){var t=this;a.i(d._89)().then(function(e){t.id=e.id,t.degree.status=!0})},uploadDegree:function(){var t=this;a.i(d._90)(this.id,this.degree.choose).then(function(e){t.degree.status=!1,t.degree.data.is_complate=!0})}},beforeRouteUpdate:function(t,e,n){var i=this;return u()(o.a.mark(function e(){var s,r,c;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=t.query.type&&+t.query.type,r=t.query.page&&+t.query.page,e.next=4,a.i(d._86)({notice_type_id:s,page:r});case 4:c=e.sent,i.tableData=c.list,i.meta=c.meta,n();case 8:case"end":return e.stop()}},e,i)}))()},created:function(){var t=this;return u()(o.a.mark(function e(){var n,s,r,l,u,p;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.$route.query.type,s=t.$route.query.page,n&&(t.checkedNoticeType=+n),e.next=5,c.a.all([a.i(d._86)({notice_type_id:+n,page:s}),a.i(d._91)()]);case 5:r=e.sent,l=i()(r,2),u=l[0],p=l[1],t.tableData=u.list,p=p.map(function(t,e){return{value:t.id,label:t.name}}),p.unshift({value:0,label:"全部"}),t.noticeType=p,t.meta=u.meta;case 14:case"end":return e.stop()}},e,t)}))()},mounted:function(){var t=this;return u()(o.a.mark(function e(){return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.autoPopup();case 2:return e.next=4,t.getWelfare();case 4:if(t.welfare.status){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,t.$nextTick();case 8:t.showWelfare();case 9:case"end":return e.stop()}},e,t)}))()}}},GCtM:function(t,e){},GFpQ:function(t,e){},Gckw:function(t,e){},Gtt8:function(t,e){},GvzO:function(t,e,a){"use strict";function n(t){a("07OU")}var i=a("FQ7n"),s=a("cnrc"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},GyLF:function(t,e){},H6bH:function(t,e){},H9hR:function(t,e,a){"use strict";var n=a("Xxa5"),i=a.n(n),s=a("exGp"),o=a.n(s),r=a("dhim"),c=a("mymV"),l=a("gyMJ");e.a={name:r._7.name,components:{AutoPushTemplate:c.a},data:function(){return{item:[r._12,r._13,r._14,r._15,r._16],menuItem:[],defaultIndex:0}},methods:{changeItem:function(t){this.$router.replace({name:r._7.name,query:{type:this.menuItem[t].type,index:t}})}},created:function(){var t=this;return o()(i.a.mark(function e(){var n;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.defaultIndex=parseInt(t.$route.query.index||0),e.next=3,a.i(l.X)();case 3:n=e.sent,t.menuItem=n.map(function(t,e){return{label:t.title,value:e,type:t.custom_category,id:t.id}});case 5:case"end":return e.stop()}},e,t)}))()}}},HB7i:function(t,e){},HIbk:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{staticClass:"withdraw-popup",attrs:{title:"提现设置",visible:t.dialogVisible},on:{"update:visible":function(e){t.dialogVisible=e},close:t.close}},[a("div",{staticClass:"withdraw-popup-warn"},[t._v("\n 提现提示1:工作日14:30点前提现,审核通过之后下一工作日可到账;14:30之后提现将会在下一工作日审核"),a("br"),t._v(" 提现提示2:充值收入提现后,请自行到当地税务部门纳税,本平台仅收取10%平台服务费,不承担代扣代缴义务。\n ")]),t._v(" "),a("div",{staticClass:"item"},[a("span",{staticClass:"label"},[t._v("可提现金额")]),t._v(" "),a("span",{staticClass:"red content"},[t._v(t._s(t.IntToMoney(t.enable_withdrawal_amount)))])]),t._v(" "),a("div",{staticClass:"item"},[a("span",{staticClass:"label"},[t._v("提现金额")]),t._v(" "),a("el-input",{staticClass:"content",model:{value:t.money,callback:function(e){t.money=e},expression:"money"}})],1),t._v(" "),a("div",{staticClass:"item"},[a("span",{staticClass:"label"},[t._v("提现账户")]),t._v(" "),a("div",{staticClass:"bank-card content"},[a("img",{attrs:{src:"https://cdn-novel.iycdm.com/distribution/welfare/blank.png"}}),t._v(" "),a("div",{staticClass:"text",staticStyle:{top:"5px",left:"70px"}},[t._v(t._s(t.cashAccount.bank))]),t._v(" "),a("div",{staticClass:"text",staticStyle:{top:"50px",left:"50px","font-size":"26px"}},[t._v("**** **** *** "+t._s(t.cashAccount.card_number&&t.cashAccount.card_number.slice(-4)))]),t._v(" "),a("div",{staticClass:"text",staticStyle:{top:"90px",left:"50px","font-size":"16px"}},[t._v(t._s(t.cashAccount.account_name))])])]),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{staticStyle:{width:"150px"},attrs:{type:"primary"},on:{click:t.withdrawCashes}},[t._v("提 现")]),t._v(" "),a("el-button",{staticStyle:{width:"150px"},on:{click:function(e){t.dialogVisible=!1}}},[t._v("取 消")])],1)])},i=[],s={render:n,staticRenderFns:i};e.a=s},HKXN:function(t,e){},HSRk:function(t,e){},"HU+a":function(t,e,a){"use strict";var n=a("dhim");e.a={name:n.C.name,data:function(){return{}},methods:{}}},HUVa:function(t,e,a){"use strict";var n=a("dhim");e.a={name:"rank-list",props:["name","list"],data:function(){return{promotionNovelInfo:n.j.name}}}},HdYi:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"novel-copy"},[t.loading?a("img",{staticClass:"loading",attrs:{src:"https://cdn-novel.iycdm.com/distribution/welfare/loadinng.gif"}}):t._e(),t._v(" "),"spread"===t.mode?a("div",{ref:"spread",staticClass:"detail-content spread-content__box"},[t._m(0),t._v(" "),a("div",{staticClass:"spread-content"},[a("div",{staticClass:"spread-cover"},[a("img",{attrs:{src:t.getTemplateData("bgImage")}}),t._v(" "),a("p",{staticClass:"cover-title novel-text",domProps:{innerHTML:t._s(t.getTemplateData("title"))}})]),t._v(" "),a("div",{staticClass:"spread-qrcode"},[a("p",[t._v("长按识别二维码,请继续阅读")]),t._v(" "),t.speardQrcode?a("div",[a("img",{attrs:{src:t.spreadQrcodeImage,alt:""}})]):a("div",{staticClass:"un-qrcode"},[a("p",[t._v("当前未生成推广链接")]),t._v(" "),a("p",[t._v("生成推广链接后")]),t._v(" "),a("p",[t._v("自动填充二维码")])])]),t._v(" "),a("div",{staticClass:"spread-more",domProps:{innerHTML:t._s(t.getTemplateData("guide"))}})])]):a("div",{staticClass:"detail-content"},[a("h3",{ref:"title",staticClass:"novel-text",domProps:{innerHTML:t._s(t.getTemplateData("title"))}}),t._v(" "),a("section",{ref:"content",staticClass:"novel-content"},[a("section",{ref:"cover",staticClass:"cover-wrap",class:["text"===t.mode?"cover-wrap__text":"cover-wrap__image"],style:t.template.article.style},[a("img",{attrs:{src:t.getTemplateData("cover")}})]),t._v(" "),a("section",{ref:"article",class:["text"===t.mode?"article-text":"article-images"],staticStyle:{"font-size":"18px"},style:t.template.article.style},["text"===t.mode?t._l(t.template.end.index,function(e){return a("section",{key:"text-block-"+e,staticClass:"article",domProps:{innerHTML:t._s(t.bodyTemplates[e-1])}})}):[a("section",{staticClass:"article"},t._l(t.template.end.index,function(e){return a("div",{key:"img-block-"+e,staticClass:"paragraph"},[t.antiSealing?a("div",t._l(t.site123?t.contentImgs[e-1].slice(1):t.contentImgs[e-1],function(t,e){return a("section",{key:"img"+e,staticClass:"paragraph_bg",style:{height:t.height/2.2+"px",background:"url("+t.image_url+") center / auto 100% no-repeat",backgroundOrigin:"content-box",backgroundClip:"content-box"},on:{click:function(t){t.preventDefault()}}})})):a("div",t._l(t.site123?t.contentImgs[e-1].slice(1):t.contentImgs[e-1],function(t,e){return a("img",{key:"img"+e,staticStyle:{"pointer-events":"none"},attrs:{src:t.image_url},on:{click:function(t){t.preventDefault()}}})}))])}))]],2),t._v(" "),a("section",{ref:"qrCode"},[a("img",{directives:[{name:"show",rawName:"v-show",value:t.qrCode.id&&t.qrCode.base64,expression:"qrCode.id && qrCode.base64"}],ref:"qrCodeImg",staticStyle:{margin:"auto",display:"block"},attrs:{src:t.qrCode.base64}})]),t._v(" "),a("section",{ref:"guide",staticClass:"novel-guide",domProps:{innerHTML:t._s(t.getTemplateData("guide"))}})])]),t._v(" "),t.promotion.link?a("div",{staticClass:"novel-copy-link"},[a("el-input",{attrs:{disabled:"",value:t.promotion.link}},[a("template",{attrs:{slot:"prepend"},slot:"prepend"},[t._v("当前推广链接")]),t._v(" "),a("el-button",{staticClass:"copy-link",attrs:{slot:"append","data-clipboard-text":t.promotion.link},slot:"append"},[t._v("\n 复制")])],2)],1):t._e(),t._v(" "),a("div",{staticClass:"el-popover-wrap"},[a("el-popover",{ref:"popover1",attrs:{placement:"top",width:"400",trigger:"click","popper-class":"novel-copy-popover"},model:{value:t.popover[0],callback:function(e){t.$set(t.popover,0,e)},expression:"popover[0]"}},[a("div",{staticClass:"popover-wrap"},t._l(t.source.titles,function(e,n){return a("div",{key:n,staticClass:"popover-item",domProps:{innerHTML:t._s(e.data)},on:{click:function(a){t.change("title",e,0)}}})}))]),t._v(" "),a("el-popover",{ref:"popover2",attrs:{placement:"top",width:"400",trigger:"click","popper-class":"novel-copy-popover"},model:{value:t.popover[1],callback:function(e){t.$set(t.popover,1,e)},expression:"popover[1]"}},[a("div",{staticClass:"popover-wrap"},t._l(t.source.covers,function(e,n){return a("div",{key:n,staticClass:"popover-item",on:{click:function(a){t.change("cover",e,1)}}},[a("img",{staticStyle:{width:"100%"},attrs:{src:e.data}})])}))]),t._v(" "),a("el-popover",{ref:"popover3",attrs:{placement:"top",width:"400",trigger:"click","popper-class":"popper-cover novel-copy-popover"},model:{value:t.popover[2],callback:function(e){t.$set(t.popover,2,e)},expression:"popover[2]"}},[a("div",{staticClass:"popover-wrap"},t._l(t.source.articles,function(e,n){return a("div",{key:n,staticClass:"popover-item",domProps:{innerHTML:t._s(e.data)},on:{click:function(a){t.change("article",e,2)}}})}))]),t._v(" "),a("el-popover",{ref:"popover4",attrs:{placement:"top",width:"400",trigger:"click","popper-class":"novel-copy-popover"},model:{value:t.popover[3],callback:function(e){t.$set(t.popover,3,e)},expression:"popover[3]"}},[a("div",{staticClass:"popover-wrap"},t._l(t.source.guides,function(e,n){return a("div",{key:n,staticClass:"popover-item",domProps:{innerHTML:t._s(e.data)},on:{click:function(a){t.change("guide",e,3)}}})}))]),t._v(" "),a("el-popover",{ref:"popover5",attrs:{placement:"top",width:"400",trigger:"click","popper-class":"novel-copy-popover"},model:{value:t.popover[4],callback:function(e){t.$set(t.popover,4,e)},expression:"popover[4]"}},[a("div",{staticClass:"popover-wrap"},t._l(t.contents,function(e,n){return a("div",{key:n,staticClass:"popover-item single",on:{click:function(a){t.change("end",e,4)}}},[t._v(t._s(e.chapter_name))])}))]),t._v(" "),a("el-popover",{ref:"popover6",attrs:{placement:"top",width:"400",trigger:"click","popper-class":"novel-copy-popover"},model:{value:t.popover[5],callback:function(e){t.$set(t.popover,5,e)},expression:"popover[5]"}},[a("div",{staticClass:"popover-wrap"},t._l(t.source.qrCodes,function(e,n){return a("div",{key:n,staticClass:"popover-item single",on:{click:function(a){t.change("qrCode",e,5)}}},[e.data?a("img",{staticStyle:{width:"100%"},attrs:{src:e.data}}):a("p",{staticStyle:{"text-align":"center"}},[t._v("------------------------无-------------------------")])])}))]),t._v(" "),a("el-popover",{ref:"popover7",attrs:{placement:"top",width:"150",trigger:"click","popper-class":"novel-copy-popover"},model:{value:t.popover[6],callback:function(e){t.$set(t.popover,6,e)},expression:"popover[6]"}},[a("div",{staticClass:"popover-wrap"},[1!==t.info.is_pic_only?a("div",{staticClass:"popover-item single",on:{click:function(e){t.changeMode("text")}}},[a("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[a("use",{attrs:{"xlink:href":"#icon-wenbenmoshi"}})]),t._v(" "),a("span",{staticClass:"label"},[t._v("文字模式")])]):t._e(),t._v(" "),a("div",{staticClass:"popover-item single",on:{click:function(e){t.changeMode("img")}}},[a("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[a("use",{attrs:{"xlink:href":"#icon-tupianmoshi"}})]),t._v(" "),a("span",{staticClass:"label"},[t._v("图片模式")])])]),t._v(" "),a("div",{staticClass:"popover-item single",on:{click:function(e){t.changeMode("spread")}}},[a("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[a("use",{attrs:{"xlink:href":"#icon-tupianmoshi"}})]),t._v(" "),a("span",{staticClass:"label"},[t._v("推广图模式")])])]),t._v(" "),a("el-popover",{ref:"popover8",attrs:{placement:"top",width:"600",trigger:"click","popper-class":"novel-copy-popover"},model:{value:t.popover[7],callback:function(e){t.$set(t.popover,7,e)},expression:"popover[7]"}},[a("div",{staticClass:"popover-wrap"},t._l(t.source.bgImage,function(e,n){return a("div",{key:n,staticClass:"popover-item",on:{click:function(a){t.change("bgImage",e,7)}}},[a("img",{staticStyle:{width:"100%"},attrs:{src:e.data}})])}))])],1),t._v(" "),a("div",{staticClass:"link-maker-bar"},[a("div",{staticClass:"popover-wrap"},[a("div",{directives:[{name:"popover",rawName:"v-popover:popover1",arg:"popover1"},{name:"show",rawName:"v-show",value:t.popoverStatus[0],expression:"popoverStatus[0]"}],staticClass:"popover"},[a("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[a("use",{attrs:{"xlink:href":"#icon-wenanbiaoti"}})]),t._v(" "),a("span",{staticClass:"label"},[t._v("文案标题")])]),t._v(" "),a("div",{directives:[{name:"popover",rawName:"v-popover:popover2",arg:"popover2"},{name:"show",rawName:"v-show",value:t.popoverStatus[1],expression:"popoverStatus[1]"}],staticClass:"popover"},[a("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[a("use",{attrs:{"xlink:href":"#icon-wenanfengmian"}})]),t._v(" "),a("span",{staticClass:"label"},[t._v("封面文案")])]),t._v(" "),a("div",{directives:[{name:"popover",rawName:"v-popover:popover3",arg:"popover3"},{name:"show",rawName:"v-show",value:t.popoverStatus[2],expression:"popoverStatus[2]"}],staticClass:"popover"},[a("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[a("use",{attrs:{"xlink:href":"#icon-zhengwenmoban"}})]),t._v(" "),a("span",{staticClass:"label"},[t._v("正文模版")])]),t._v(" "),a("div",{directives:[{name:"popover",rawName:"v-popover:popover8",arg:"popover8"},{name:"show",rawName:"v-show",value:t.popoverStatus[3],expression:"popoverStatus[3]"}],staticClass:"popover"},[a("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[a("use",{attrs:{"xlink:href":"#icon-zhengwenmoban"}})]),t._v(" "),a("span",{staticClass:"label"},[t._v("推广图模版")])]),t._v(" "),a("div",{directives:[{name:"popover",rawName:"v-popover:popover6",arg:"popover6"},{name:"show",rawName:"v-show",value:t.popoverStatus[4],expression:"popoverStatus[4]"}],staticClass:"popover"},[a("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[a("use",{attrs:{"xlink:href":"#icon-erweima"}})]),t._v(" "),a("span",{staticClass:"label"},[t._v("二维码")])]),t._v(" "),a("div",{directives:[{name:"popover",rawName:"v-popover:popover4",arg:"popover4"},{name:"show",rawName:"v-show",value:t.popoverStatus[5],expression:"popoverStatus[5]"}],staticClass:"popover"},[a("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[a("use",{attrs:{"xlink:href":"#icon-yuanwenyindao"}})]),t._v(" "),a("span",{staticClass:"label"},[t._v("原文引导")])]),t._v(" "),a("div",{directives:[{name:"popover",rawName:"v-popover:popover5",arg:"popover5"},{name:"show",rawName:"v-show",value:t.popoverStatus[6],expression:"popoverStatus[6]"}],staticClass:"popover"},[a("span",{staticClass:"label"},[t._v("文章章节-"+t._s(t.template.end.index))])]),t._v(" "),a("div",{directives:[{name:"popover",rawName:"v-popover:popover7",arg:"popover7"},{name:"show",rawName:"v-show",value:t.popoverStatus[7],expression:"popoverStatus[7]"}],staticClass:"popover"},["text"===t.mode?[a("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[a("use",{attrs:{"xlink:href":"#icon-wenbenmoshi"}})]),t._v(" "),a("span",{staticClass:"label"},[t._v("文字模式")])]:"img"===t.mode?[a("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[a("use",{attrs:{"xlink:href":"#icon-tupianmoshi"}})]),t._v(" "),a("span",{staticClass:"label"},[t._v("图片模式")])]:[a("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[a("use",{attrs:{"xlink:href":"#icon-tupianmoshi"}})]),t._v(" "),a("span",{staticClass:"label"},[t._v("推广图模式")])]],2),t._v(" "),t.role.promotionCopy?a("el-button",{staticClass:"copy-title",attrs:{type:"primary",size:"small","data-clipboard-target":".novel-text"}},[t._v("复制标题")]):t._e(),t._v(" "),t.role.promotionCopy&&"spread"!==t.mode?a("el-button",{staticClass:"copy-content",attrs:{type:"primary",size:"small","data-clipboard-target":".novel-content"}},[t._v("复制正文")]):t._e(),t._v(" "),"spread"===t.mode?a("el-button",{staticClass:"copy-content1",attrs:{type:"primary",size:"small"},on:{click:t.buildCanvas}},[t._v("复制正文")]):t._e(),t._v(" "),t.role.promotionLink?a("el-button",{attrs:{type:"danger",size:"small"},on:{click:function(e){t.dialog=!0}}},[t._v("生成推广链接")]):t._e(),t._v(" "),t.role.material?a("el-button",{attrs:{type:"danger",size:"small"},on:{click:t.createMaterial}},[t._v("生成图文素材")]):t._e()],1)]),t._v(" "),a("el-dialog",{attrs:{title:"生成推广链接",visible:t.dialog,"custom-class":"dialog-popup-promotion"},on:{"update:visible":function(e){t.dialog=e}}},[t.chapters?a("x-popup",{attrs:{type:"x-novel",info:t.info,chapter:t.chapters[t.chapterIndex],template:t.template,spread:t.spreadMode,status:t.dialog},on:{"success-promotion":t.promotionSuccess,"update:status":function(e){t.dialog=e}}}):t._e()],1),t._v(" "),a("el-dialog",{attrs:{title:"图文素材",visible:t.materialDialog,"custom-class":"dialog-popup-promotion"},on:{"update:visible":function(e){t.materialDialog=e}}},[t.chapters?a("x-popup",{attrs:{type:"x-material",template:t.material,status:t.materialDialog},on:{"update:status":function(e){t.materialDialog=e}}}):t._e()],1),t._v(" "),a("a",{staticStyle:{display:"none"},attrs:{id:"download",href:"#"}}),t._v(" "),"img"===t.mode?a("div",{staticClass:"float-img__choose"},[a("div",{staticClass:"anti-sealing",class:[t.antiSealing?"is-sealing":""],on:{click:function(e){t.antiSealing=!t.antiSealing}}},[a("div",{staticClass:"sealing-text"},[t._v("防封模式")]),t._v(" "),a("p",{directives:[{name:"show",rawName:"v-show",value:!t.antiSealing,expression:"!antiSealing"}],staticClass:"notice"},[t._v("如无法复制图片,请使用防封模式!")])])]):t._e()],1)},i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"spread-title"},[n("img",{attrs:{src:a("hYOg")}})])}],s={render:n,staticRenderFns:i};e.a=s},Hhn8:function(t,e,a){"use strict";var n=a("ZoQJ"),i=a("gyMJ"),s=a("dhim");a("wZit");e.a={props:["visible"],data:function(){return{dialogVisible:!1,money:"",enable_withdrawal_amount:window.options.enable_withdrawal_amount,cashAccount:{},cashAccountStatus:!1}},methods:{close:function(){this.$emit("update:visible",!1)},IntToMoney:n.d,withdrawCashes:function(){var t=this,e=parseInt(this.money);isNaN(e)?this.$message.error("请输入数字"):e>this.enable_withdrawal_amount?this.$message.error("您的最大提现金额为"+this.enable_withdrawal_amount):e0&&void 0!==arguments[0])||arguments[0];this.extra=t},clear:function(){localStorage.clear()},channelChagne:function(t){if(localStorage.clear(),this.popoverStatus=!1,t.id!==this.channel.id){var e=r.a.parse(location.search.slice(1));e.current_channel_id=t.id,location.replace(location.origin+location.pathname+"?"+r.a.stringify(e))}},getChannels:function(){return a.i(s.M)()},createChannel:function(){a.i(s._93)().then(function(){setTimeout(function(){location.reload()},1e3)})}},created:function(){var t=this;this.getChannels().then(function(e){t.channels=e,e.forEach(function(e){e.id===window.options.distribution_channel_id&&(t.channel=e)}),t.channel.id||(t.channel=e[0])})},mounted:function(){var t=this;document.addEventListener("click",c=function(e){t.extraBOX(!1)})},destroyed:function(){document.removeEventListener("click",c),c=null},install:function(t){t.component("x-head",this)}}},JKT8:function(t,e,a){"use strict";e.a={name:"popover-cover",props:["covers","value"],data:function(){return{status:!1,page:1,cover:this.value}},watch:{cover:function(t){this.$emit("update:value",t)},value:function(){this.cover=this.value,this.count()}},methods:{coverPopClick:function(t){this.cover=t,this.status=!1},count:function(){var t=this;this.covers.forEach(function(e,a){e.origin_cover===t.cover&&(t.page=Math.ceil(a/12))})}},created:function(){this.count()}}},JYcO:function(t,e,a){"use strict";function n(t){a("46ij")}var i=a("Km08"),s=a("ouhT"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,"data-v-11e37638",null);e.a=c.exports},Jlix:function(t,e){},JwqW:function(t,e,a){"use strict";function n(t){a("gzr6")}var i=a("yCUS"),s=a("0PWJ"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},JwtU:function(t,e){},K9c9:function(t,e){t.exports=[{label:"充值总额",value:"..."},{label:"普通充值人数",value:"..."},{label:"年费VIP人数",value:"..."},{label:"成功订单数",value:"..."},{label:"订单总数",value:"..."},{label:"新增用户",value:"..."},{label:"新用户关注",value:"..."},{label:"累计成本",value:"..."}]},KD11:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"notify-template"},[a("div",{staticClass:"template-title"},[t._v(t._s(t.name))]),t._v(" "),a("div",{staticClass:"template-content"},t._l(t.content,function(e,n){return a("div",{key:n},t._l(e,function(e,i){return a("span",{key:i,class:{modifiable:e.modifiable},style:{color:e.color},on:{click:function(a){t.changeDialog(e.modifiable,n,i)}}},[t._v(t._s(e.value))])}))})),t._v(" "),a("el-dialog",{attrs:{visible:t.dialog,title:"编辑模板消息内容"},on:{"update:visible":function(e){t.dialog=e}}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.input,expression:"input"}],staticClass:"el-input__inner",style:{color:t.color},attrs:{placeholder:"请输入文案内容"},domProps:{value:t.input},on:{input:function(e){e.target.composing||(t.input=e.target.value)}}}),t._v(" "),a("div",{staticClass:"tip"},[a("p",[t._v("可使用\n "),a("span",{staticClass:"blue",on:{click:function(e){t.addValue("{wx_name}")}}},[t._v("{wx_name}")]),t._v(" 占位符, 发送时会被替换成用户昵称(全量发送不支持占位符)")])]),t._v(" "),a("dl",{staticClass:"color-list"},[a("dt",{staticClass:"color-title"},[t._v("文案颜色")]),t._v(" "),t._l(t.colorList,function(e){return a("dd",{key:e,staticClass:"color-item",style:{"background-color":e},on:{click:function(a){t.changeColor(e)}}},[t._v(t._s(e===t.color?"√":""))])})],2),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.changeDialog(!1)}}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.modify}},[t._v("确 定")])],1)])],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},KGEA:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"passport"},[a("x-head",{attrs:{person:!1}}),t._v(" "),a("div",{staticClass:"passport-body"},[a("div",{staticClass:"title"},[t._v(t._s(t.$route.meta.Chinese))]),t._v(" "),a("div",{staticClass:"passport-project-wrap"},[a("router-view",{staticClass:"passport-project"})],1)])],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},KPZU:function(t,e,a){"use strict";var n=a("//Fk"),i=a.n(n),s=a("mvHQ"),o=a.n(s),r=a("dhim"),c=a("gyMJ"),l=a("JwqW"),u=a("fGsi"),p=a("yxxA"),d=a("ZoQJ");e.a={components:{"x-popover-title":l.a,"x-popover-cover":u.a,"x-popover-link":p.a},data:function(){return{init:!1,form:{content:[{link:"",title:"",cover:""}]},rules:{"content[0].link":[{required:!0,message:"请输入跳转链接",trigger:"blur"},{type:"url",message:"请输入正确的跳转链接",trigger:"blur"}]},cover:[],title:[],popStyle:{height:"350px",marginTop:"10px",border:"1px #ccc solid",borderRadius:"4px"},postloading:!1}},methods:{addTemplate:function(t){var e=a.i(d.c)(this.cover);t?(this.form.content[0].title=a.i(d.c)(this.title).title,this.form.content[0].cover=e.origin_cover):this.form.content.push({title:a.i(d.c)(this.title).title,cover:e.origin_cover,link:""})},delTemplate:function(t){this.form.content.splice(t,1)},contentFormat:function(){return this.form.content.map(function(t){return[{title:t.title},{description:t.title},{url:t.link},{image:t.cover}]})},submitForm:function(){var t=this;if(!this.postloading){var e=!0;if(this.$refs.form.validateField("content[0].link",function(t){t&&(e=!1)}),e){this.postloading=!0;var n={mode:2,content:this.contentFormat(),is_pic:1};a.i(c.C)(n).then(function(e){t.$message("设置成功"),localStorage.setItem("focus-picture",o()(t.form)),setTimeout(function(){t.$router.go(0)},1e3)}).catch(function(e){t.$message.error("设置失败")})}}}},created:function(){var t=this,e=a.i(c.p)().then(function(e){return t.cover=e,e}),n=a.i(c.q)().then(function(e){return t.title=e,e});this.source={title:n,cover:e}},beforeRouteEnter:function(t,e,a){var n=localStorage.getItem("focus-picture");a(function(e){var a=e.source,s=a.title,o=a.cover;i.a.all([s,o]).then(function(a){n?e.form.content=JSON.parse(n).content:(e.form={content:[{link:"",title:"",cover:""}]},t.query.activity_id||e.addTemplate(!0)),t.name===r.W.name&&(e.init=!0)})})},beforeRouteLeave:function(t,e,a){localStorage.setItem("focus-picture",o()(this.form)),a()}}},Km08:function(t,e,a){"use strict";var n=(a("gyMJ"),a("mw3O")),i=(a.n(n),a("b87Z")),s=a("dhim"),o=a("ZoQJ");e.a={name:s.J.name,components:{"x-withdraw":i.a},data:function(){return{recharge:[{name:"总充值金额(不含当日)",money:a.i(o.d)(window.options.total_recharge_amount)},{name:"月充值金额(不含当日)",money:a.i(o.d)(window.options.current_month_recharge_amount)},{name:"可提现总余额",money:a.i(o.d)(window.options.enable_withdrawal_amount),operating:"提现"},{name:"累计提现金额",money:a.i(o.d)(window.options.accumulative_withdrawal_amount),withdrawing:window.options.withdraw_pending_amount?a.i(o.d)(window.options.withdraw_pending_amount):0}],visible:!1,subTitle:[s._9,s._10]}},methods:{handleWithdraw:function(){this.visible=!0}}}},KsuY:function(t,e){},Kvd4:function(t,e){},L28S:function(t,e){},LHop:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticStyle:{overflow:"hidden"}},[t.edit?a("div",{staticClass:"edit-top"},[a("i",{staticClass:"warn"}),t._v("正在编辑“"+t._s(t.originName)+"”")]):t._e(),t._v(" "),a("el-form",{ref:"form",staticClass:"new-template",attrs:{model:t.form,rules:t.rules,"label-width":"100px"}},[a("el-form-item",{staticClass:"el-form-item-400",attrs:{label:"活动名称",prop:"name"}},[a("el-input",{attrs:{placeholder:"不超过20字"},model:{value:t.form.name,callback:function(e){t.form.name=e},expression:"form.name"}}),t._v(" "),a("div",{staticClass:"tip"},[t._v("任意填写,方便自己识别即可")])],1),t._v(" "),a("el-form-item",{staticClass:"is-required",attrs:{label:"服务号",prop:"server"}},[a("el-checkbox",{attrs:{indeterminate:t.isIndeterminate},on:{change:t.serverCheckAll},model:{value:t.checkAll,callback:function(e){t.checkAll=e},expression:"checkAll"}},[t._v("全选")]),t._v(" "),a("el-checkbox-group",{on:{change:t.serverChange},model:{value:t.checkedserver,callback:function(e){t.checkedserver=e},expression:"checkedserver"}},t._l(t.server,function(e){return a("el-checkbox",{key:e.name,attrs:{label:e}},[t._v(t._s(e.nickname))])}))],1),t._v(" "),a("el-form-item",{attrs:{label:"发送人群"}},[a("el-radio-group",{on:{change:t.userChange},model:{value:t.user,callback:function(e){t.user=e},expression:"user"}},[a("el-radio",{staticClass:"radio",attrs:{label:"1"}},[t._v("追书云标签用户")]),t._v(" "),a("el-radio",{staticClass:"radio",attrs:{label:"2"}},[t._v("追书云全部用户")]),t._v(" "),a("el-radio",{staticClass:"radio",attrs:{label:"3"}},[t._v("服务号全量用户")])],1),t._v(" "),"1"===t.user?a("div",{staticClass:"user-label"},[a("div",{staticClass:"user-label-select"},t._l(t.label,function(e,n){return a("el-form-item",{key:e.key,attrs:{label:e.name}},[a("el-select",{attrs:{size:"small",multiple:"category_id"===e.key,placeholder:"不限"},on:{change:t.userLabelChange},model:{value:t.selectLable[n],callback:function(e){t.$set(t.selectLable,n,e)},expression:"selectLable[i]"}},t._l(e.select,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})}))],1)})),t._v(" "),a("div",{staticClass:"user-label-result"},[t._v("\n 符合条件的用户约"+t._s(t.goodUser)+"人\n ")])]):t._e()],1),t._v(" "),a("el-form-item",{staticClass:"is-required",attrs:{label:"选择模板"}},[a("el-select",{staticStyle:{width:"180px"},attrs:{placeholder:"请选择"},on:{change:t.changeTemplate},model:{value:t.form.template,callback:function(e){t.form.template=e},expression:"form.template"}},t._l(t.options,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})}))],1),t._v(" "),a("el-form-item",{attrs:{label:""}},[a("x-notify-template",{staticStyle:{display:"inline-block"},attrs:{name:t.template.title,content:t.template.content},on:{"update-content":t.updateContent}}),t._v(" "),a("div",{staticClass:"template-example",staticStyle:{display:"inline-block"}},[t._v(" "+t._s(t.template.title)+" "),a("br"),t._v(" "+t._s(t.template.example)+" ")]),t._v(" "),a("div",{staticClass:"tip"},[t._v("\n 请不要使用表情\n ")])],1),t._v(" "),t.is_activity?a("el-form-item",{staticClass:"el-form-item-400",attrs:{label:"跳转链接",prop:"redirect"}},[a("el-input",{attrs:{placeholder:"请填写跳转链接",disabled:""},model:{value:t.form.redirect,callback:function(e){t.form.redirect=e},expression:"form.redirect"}}),t._v(" "),a("div",{staticClass:"tip"},[t._v("活动链接不可更改,用户点击模板消息后跳转到活动页面\n ")])],1):t._e(),t._v(" "),t.is_activity?t._e():a("el-form-item",{attrs:{label:"小说",prop:"novel"}},[a("el-select",{attrs:{filterable:"",remote:"",placeholder:"请输入关键词","remote-method":t.getNovelList,loading:t.Noveloading},on:{change:t.confirmNovel},model:{value:t.form.book_name,callback:function(e){t.form.book_name=e},expression:"form.book_name"}},t._l(t.novelList,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t}})}))],1),t._v(" "),t.is_activity?t._e():a("el-form-item",{attrs:{label:"章节",prop:"chapter"}},[a("el-select",{attrs:{placeholder:"请输入选择章节",loading:t.chapteroading},on:{change:t.confirmChapter},model:{value:t.form.chapter_name,callback:function(e){t.form.chapter_name=e},expression:"form.chapter_name"}},t._l(t.chapterList,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e}},[a("span",{staticStyle:{float:"left","max-width":"140px",overflow:"hidden"}},[t._v(t._s(e.label))]),t._v(" "),a("span",{staticStyle:{float:"right","margin-right":"10px",color:"#8492a6","font-size":"13px"}},[t._v(t._s(e.meta))])])})),t._v(" "),a("p",{staticClass:"red"},[t._v("注: s:强关章节,v:付费章节")])],1),t._v(" "),a("el-form-item",{staticClass:"is-required el-form-item-400",attrs:{label:"发送时间",prop:"sendTime"}},[a("el-date-picker",{staticStyle:{width:"180px"},attrs:{type:"datetime",placeholder:"选择日期时间",align:"right","picker-options":t.pickerOptions},model:{value:t.form.sendTime,callback:function(e){t.form.sendTime=e},expression:"form.sendTime"}})],1),t._v(" "),a("el-form-item",{ref:"test",staticClass:"el-form-item-400",attrs:{label:"测试ID",prop:"test"},on:{click:t.test}},[a("div",{staticClass:"button-box"},[a("el-input",{staticStyle:{width:"180px"},on:{blur:t.verifyTest},model:{value:t.form.test,callback:function(e){t.form.test=e},expression:"form.test"}}),t._v(" "),a("el-button",{staticClass:"test",attrs:{type:"warning"},on:{click:t.test}},[t._v(" 测试发送 ")]),t._v(" "),a("el-button",{staticClass:"test",attrs:{type:"warning"},on:{click:t.detections}},[t._v(" 模板检测 ")])],1),t._v(" "),a("div",{staticStyle:{"margin-top":"2.5rem"}},[t._v("请选中单个服务号进行模版检测"),t.TemplateStatus?a("div",{staticClass:"TemplateStatus"},[t._v(t._s("检测结果:"+t.TemplateStatus))]):t._e()]),t._v(" "),a("div",{staticClass:"tip"},[t._v("\n 1、测试ID是强关用户(强关关注服务号)"),a("br"),t._v(" 2、单个site下多个服务号,测试ID只能收到强关服务号的测试消息;若需要测试其他关注服务号上消息,请在该服务号内回复t,获取一段测试码后,直接填入!\n ")])]),t._v(" "),a("el-form-item",{attrs:{label:""}},[a("el-button",{staticClass:"last",attrs:{type:"info",loading:t.saveing},on:{click:t.submitForm}},[t._v(" 保存 ")]),t._v(" "),a("el-button",{staticClass:"last",on:{click:t.resetForm}},[t._v(" 重置 ")])],1),t._v(" "),a("div",{staticClass:"tip"},[t._v("分销模板消息增加提示:保存后请查看模板消息内容是否正确显示")])],1)],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},LMus:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"add-server"},[a("div",{staticClass:"content-head"},[t._v("认证服务号授权")]),t._v(" "),t._m(0),t._v(" "),a("a",{attrs:{href:t.href,target:"_bank"}},[a("el-button",{attrs:{type:"primary"}},[t._v("开始授权")])],1)])])},i=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("dl",{staticClass:"content-body add-server-explain"},[a("dt",[a("p",{staticClass:"red"},[t._v("暂仅支持认证服务号,授权时,请勾选所有权限(如右图)")]),t._v(" "),a("p",[t._v("授权须知:")]),t._v(" "),a("p",[t._v("1.授权成功后,追书云将自动完成自定义菜单,自动回复等相关配置。")]),t._v(" "),a("p",[t._v("2.若你已授权给其他第三方,或正在使用多客服功能、开发者模式,本次授权后,追书云将会自动覆盖原有配置。")]),t._v(" "),a("p",[t._v("3. 非认证服务号,仍想参与,或不想相关已有的认证号,建议新申请一个认证服务号用于推小说业务。")])]),t._v(" "),a("dd",[a("img",{attrs:{src:"https://yueduyun.oss-cn-hangzhou.aliyuncs.com/distribution/distribution_qq_auth.png"}})])])}],s={render:n,staticRenderFns:i};e.a=s},"Lt/l":function(t,e){},M93x:function(t,e,a){"use strict";function n(t){a("RiOI")}var i=a("xJD8"),s=a("bIym"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},MBM4:function(t,e){},MInJ:function(t,e){},MVu5:function(t,e){},Miyx:function(t,e,a){"use strict";var n=a("dhim"),i=a("gyMJ"),s=a("V33R"),o=a.n(s);e.a={name:n.t.name,data:function(){return{column:[{prop:"",label:"活动时间",width:"135"},{prop:"price",label:"活动单价(元)"},{prop:"activity_page",label:"活动地址"},{prop:"pageUserNum",label:"访问人数"},{prop:"orderCount",label:"订单数量"},{prop:"successOrderCount",label:"成功订单"},{prop:"totalChargeAmount",label:"充值金额(元)"},{prop:"successrate",label:"订单成功率"},{label:"操作",prop:""}],data:[],loading:!0,promotionNotifyNew:n.l.name,promotionCustomNotifyNew:n.p.name}},created:function(){var t=this;a.i(i._42)().then(function(e){t.data=e,t.loading=!1})},mounted:function(){var t=this,e=function(e){t.$message("复制成功"),e.clearSelection()},a=function(e){t.$message.error("复制失败,请自行复制")},n=new o.a(".channel-active-list .copy");n.on("success",e),n.on("error",a)}}},MlQZ:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("dl",{staticClass:"x-official-account"},[a("dd",{staticClass:"x-official-account__portrait",style:{backgroundImage:"url("+t.account.head_img+")"}}),t._v(" "),a("dt",{staticClass:"x-official-account__name single-line"},[t._v(t._s(t.account.nickname))])])},i=[],s={render:n,staticRenderFns:i};e.a=s},Mp0p:function(t,e,a){"use strict";var n=a("2Pnh"),i=a.n(n);e.a={data:function(){return{fontSize:16,content:"",bold:"normal",isPreview:!1}},created:function(){$(document).ready(function(){$("#summernote").summernote({height:300,minHeight:null,maxHeight:null,focus:!0})})},mounted:function(){},computed:{contentStyle:function(){return"width:414px;padding:10px;line-height:2;text-indent:2em;font-size:"+this.fontSize+"px;font-weight:"+this.bold}},methods:{build:function(){if(!this.content)return this.$message.error("请输入文本内容");i()(document.querySelector(".canvas-content")).then(function(t){var e=t.toDataURL("image/jpeg"),a=document.querySelector("#download");a.setAttribute("download","章节内容"),a.setAttribute("href",e),a.click()})}}}},N2Ev:function(t,e,a){"use strict";e.a={shortcuts:[{text:"3分钟后",onClick:function(t){var e=new Date;e.setTime(e.getTime()+18e4),t.$emit("pick",e)}},{text:"10分钟后",onClick:function(t){var e=new Date;e.setTime(e.getTime()+6e5),t.$emit("pick",e)}},{text:"30分钟后",onClick:function(t){var e=new Date;e.setTime(e.getTime()+18e5),t.$emit("pick",e)}},{text:"一小时后",onClick:function(t){var e=new Date;e.setTime(e.getTime()+36e5),t.$emit("pick",e)}}],disabledDate:function(t){return t"})},NPkm:function(t,e){},NUaN:function(t,e,a){"use strict";var n,i=a("bOdI"),s=a.n(i),o=a("fp2T"),r=a("dhim"),c=a("3srV"),l={role:"outer-i",shelter:{name:r._0.name},promotionCopy:!0,promotionLink:!0,promotionSave:!1,subscribe:!1,material:!1,route:(n={},s()(n,r.c.name,!0),s()(n,r.d.name,!0),s()(n,r.e.name,!0),s()(n,r.f.name,!0),s()(n,r.h.name,!0),s()(n,r.i.name,!0),s()(n,r.j.name,!0),s()(n,r.k.name,!1),s()(n,r.l.name,!1),s()(n,r.m.name,!1),s()(n,r.n.name,!1),s()(n,r.o.name,!1),s()(n,r.p.name,!1),s()(n,r.q.name,!1),s()(n,r.r.name,!1),s()(n,r.r.name,!1),s()(n,r.s.name,!1),s()(n,r.t.name,!1),s()(n,r.u.name,!1),s()(n,r.v.name,!1),s()(n,r.w.name,!1),s()(n,r.x.name,!1),s()(n,r.y.name,!1),s()(n,r.z.name,!1),s()(n,r.A.name,!0),s()(n,r.B.name,!0),s()(n,r.C.name,!0),s()(n,r.b.name,!0),s()(n,r.D.name,!0),s()(n,r.E.name,!0),s()(n,r.F.name,!0),s()(n,r.G.name,!0),s()(n,r.H.name,!0),s()(n,r.I.name,!0),s()(n,r.J.name,!0),s()(n,r.K.name,!0),s()(n,r.L.name,!0),s()(n,r.M.name,!1),s()(n,o.a.name,!1),s()(n,r.N.name,!0),s()(n,r.O.name,!0),s()(n,r.P.name,!1),s()(n,r.Q.name,!1),s()(n,r.R.name,!1),s()(n,r.S.name,!1),s()(n,r.T.name,!1),s()(n,r.U.name,!1),s()(n,r.V.name,!1),s()(n,r.W.name,!1),s()(n,r.X.name,!1),s()(n,r.Y.name,!0),s()(n,r.Z.name,!0),s()(n,r._0.name,!0),n),menu:a.i(c.a)([[r.c],[r.f],[r.H],[r.h],[r.i],[r.G],[r.I],[r.d],[r.N]])};e.a=l},NZLx:function(t,e,a){"use strict";function n(t){a("Hw3v")}var i=a("or25"),s=a("HdYi"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},NqJO:function(t,e,a){"use strict";function n(t){a("MBM4")}var i=a("OXQa"),s=a("lauf"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},Nst1:function(t,e,a){"use strict";function n(t){a("NPkm")}var i=a("JFmR"),s=a("VU/8"),o=n,r=s(i.a,null,!1,o,null,null);r.exports},OXQa:function(t,e,a){"use strict";var n=a("dhim");e.a={name:n.w.name,data:function(){return{Chinese:n.w.Chinese,chilren:[n.y,n.x]}},computed:{subTitle:function(){return this.$route.name!==n.z.name?[n.y,n.x]:[n.y,n.x,n.z]}}}},Oa5L:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-form",{ref:"form",staticClass:"passport-project",attrs:{"label-position":"top",model:t.form,rules:t.rules}},[a("el-form-item",{attrs:{label:"手机号码",prop:"phone"}},[a("el-input",{attrs:{placeholder:"输入手机号码"},model:{value:t.form.phone,callback:function(e){t.form.phone=e},expression:"form.phone"}})],1),t._v(" "),a("x-verification-code",{attrs:{type:"find"},model:{value:t.form.sms_code,callback:function(e){t.form.sms_code=e},expression:"form.sms_code"}}),t._v(" "),a("el-form-item",{attrs:{label:"密码",prop:"password"}},[a("el-input",{attrs:{type:"password",placeholder:"输入密码(6-20个字符)"},model:{value:t.form.password,callback:function(e){t.form.password=e},expression:"form.password"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"再次输入密码",prop:"repassword"}},[a("el-input",{attrs:{type:"password",placeholder:"输入密码(6-20个字符),并与上边密码相同"},model:{value:t.form.repassword,callback:function(e){t.form.repassword=e},expression:"form.repassword"}})],1),t._v(" "),a("el-form-item",[a("el-button",{staticClass:"full-btn",attrs:{type:"primary"},on:{click:t.find}},[t._v("找回密码")])],1)],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},Oa8W:function(t,e,a){"use strict";var n=a("dhim");e.a={name:"NotFound",data:function(){return{home:{name:n.a.name}}}}},Okum:function(t,e){},Oxd1:function(t,e){},"P0+R":function(t,e,a){"use strict";function n(t){a("SzNL")}var i=a("bMwM"),s=a("2+aR"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},P4ok:function(t,e,a){"use strict";function n(t){a("HjDH"),a("Dtka")}var i=a("XCyM"),s=a("KD11"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,"data-v-6a2670d8",null);e.a=c.exports},PM7G:function(t,e,a){"use strict";var n=a("//Fk"),i=a.n(n),s=a("woOf"),o=a.n(s),r=a("dhim"),c=a("JwqW"),l=a("fGsi"),u=a("yxxA"),p=a("ZoQJ"),d=a("gyMJ");e.a={name:r.x.name,props:["edit"],components:{"x-popover-title":c.a,"x-popover-cover":l.a,"x-popover-link":u.a},data:function(){return{picInit:!1,form:{tags:[],novel:{},chapter:{},server:[],send_title:"",send_cover:""},rules:{novel:[{required:!0,message:"请选择小说",validator:function(t,e,a){e.value?a():a(new Error("请选择小说"))},trigger:"blur"}],chapter:[{required:!0,message:"请选择章节",validator:function(t,e,a){e.value?a():a(new Error("请选择章节"))},trigger:"blur"}],tags:[{required:!0,message:"请添加关键字",validator:function(t,e,a){e.length?a():a(new Error("请添加关键字"))},trigger:"blur"}],server:[{required:!0,message:"请选择服务号",validator:function(t,e,a){e.length?a():a(new Error("请选择服务号"))},trigger:"blur"}]},inputTag:{status:!1,value:""},cover:[],title:[],popStyle:{height:"350px",marginTop:"10px",border:"1px #ccc solid",borderRadius:"4px"},server:[],novelList:[],Noveloading:!1,chapterList:[],chapteroading:!0,checkAll:!0,isIndeterminate:!1,postloading:!1,getLoading:this.edit,serverLoading:!1}},methods:{closeTag:function(t){this.form.tags.splice(t,1)},addTag:function(){var t=this;this.inputTag.status=!0,this.$nextTick(function(e){t.$refs.inputTag.$refs.input.focus()})},saveTag:function(){var t=this;this.inputTag.status&&(this.inputTag.value&&!this.form.tags.find(function(e){return e===t.inputTag.value})&&this.form.tags.push(this.inputTag.value),this.inputTag.status=!1,this.inputTag.value="")},getNovelList:function(t){var e=this;this.Noveloading=!0,a.i(d._35)({key:t}).then(function(t){e.Noveloading=!1,e.novelList=t.list.map(function(t){return{label:t.book_name,value:t.book_id,cover:t.cover_url}})}).catch(function(t){if(!t||!t.__CANCEL__)throw t})},confirmNovel:function(t){var e=this;t&&t.value&&(this.chapteroading=!0,this.form.chapter={},this.form.send_title=t.label,this.form.send_cover=t.cover,a.i(d._26)(t.value,15).then(function(t){e.chapteroading=!1,e.chapterList=t.map(function(t){return{label:t.chapter_name,value:t.chapter_id,meta:t.is_need_subscirbe?"s":t.chapter_is_vip?"v":""}})}))},confirmChapter:function(t,e){},serverChange:function(t){var e=t.length;this.checkAll=e>=this.server.length,this.isIndeterminate=e>0&&e0&&e1&&r===o-1?i.splice(0,o,"z"):o>1&&r>=0&&i.splice(r,1),e[a.key]=i.toString()):e[a.key]=i}),e.appids=this.form.server.map(function(t){return t.appid}).toString(),this.goodUser="...",a.i(m._48)(e).then(function(e){t.goodUser=e.num})},addTemplate:function(t){var e=a.i(d.c)(this.cover);t?(this.form.content[0].title=a.i(d.c)(this.title).title,this.form.content[0].cover=e.origin_cover):this.form.content.push({title:a.i(d.c)(this.title).title,cover:e.origin_cover,link:""})},delTemplate:function(t){this.form.content.splice(t,1)},contentFormat:function(){var t=this;return this.form.content.map(function(e){return[{title:e.title},{description:t.form.description},{url:e.link},{image:e.cover}]})},testBlur:function(){this.testError=""},test:function(){var t=this;if(!this.testloading){if(!this.form.test.trim())return void(this.testError="请输入测试ID");var e=!0;if(this.SmartPush?this.form.name="智能推送":this.$refs.form.validateField("name",function(t){t&&(e=!1)}),!(this.is_activity||this.form.book_name.label&&this.form.chapter_name.label))return void this.$message.error("请选择小说和对应章节!");e&&(this.testloading=!0,a.i(m._49)({appid:this.form.server.map(function(t){return t.appid}).toString(),uid:this.form.test.trim(),name:this.form.name,redirect_url:this.form.content[0].link,content:this.contentFormat()}).then(function(e){t.testloading=!1},function(e){t.testloading=!1}))}},getNovelList:function(t){var e=this;this.Noveloading=!0,a.i(m._35)({key:t}).then(function(t){e.Noveloading=!1,e.novelList=t.list.map(function(t){return{label:t.book_name,value:t.book_id,cover:t.cover_url}})}).catch(function(t){if(!t||!t.__CANCEL__)throw t})},confirmNovel:function(t){var e=this;t&&t.value&&(this.chapteroading=!0,this.form.chapter_name={},a.i(m._26)(t.value,15).then(function(t){e.chapteroading=!1,e.chapterList=t.map(function(t){return{label:t.chapter_name,value:t.chapter_id,meta:t.is_need_subscirbe?"s":t.chapter_is_vip?"v":""}})}))},confirmChapter:function(t,e){var a=this.form;a.content[0].link="/reader?bid="+a.book_name.value+"&cid="+a.chapter_name.value},submitForm:function(){var t=this;if(!this.postloading)if(this.SmartPush){var e=!0;if(this.form.content[0].link||(e=!1),e){if(!this.form.book_name.label||!this.form.chapter_name.label)return void this.$message.error("请选择小说和对应章节!");this.postloading=!0;var n={name:this.type,category_type:this.category_type,content:this.contentFormat(),sex:this.smartpushSex,description:this.form.description,book_name:this.form.book_name.label,chapter_name:this.form.chapter_name.label},i=null;this.smartpushIsNull?i=a.i(m._50)(n):(n.id=this.smartpushId,i=a.i(m._51)(n)),i.then(function(e){t.$router.push({name:p.n.name})},function(e){t.postloading=!1})}}else this.$refs.form.validate(function(e){if(e){if(!(t.is_activity||t.form.book_name.label&&t.form.chapter_name.label))return void t.$message.error("请选择小说和对应章节!");t.postloading=!0;var n={};t.label.forEach(function(e,a){n[e.key]=Array.isArray(t.form.label[a])?t.form.label[a].toString():t.form.label[a]});var i=c()({appid:t.form.server.map(function(t){return t.appid}).toString(),send_time:t.form.sendTime.Format(),name:t.form.name,redirect_url:t.form.content[0].link,content:t.contentFormat()},n,{is_full_send:"3"===t.user?"1":"0",book_name:t.form.book_name.label||t.form.name,chapter_name:t.form.chapter_name.label||t.form.name,description:t.form.description,is_activity:t.form.is_activity}),s=null;t.edit?(i.id=t.$route.query.id,s=a.i(m._52)(i)):s=a.i(m._53)(i),s.then(function(e){t.$router.push({name:p.q.name})},function(e){t.postloading=!1})}})}},created:function(){var t=this,e=a.i(m.o)().then(function(e){return t.server=e,e}),n=a.i(u.b)().then(function(e){return t.label=e,e}),i=a.i(m.p)().then(function(e){return t.cover=e,e}),s=a.i(m.q)().then(function(e){return t.title=e,e});this.source={account:e,label:n,title:s,cover:i}},beforeRouteEnter:function(t,e,n){n(function(n){var s=n.source,r=s.account,c=s.label,l=s.title,u=s.cover,v=o.a.all([l,u,r]).then(function(e){n.form={name:"",sendTime:"",server:e[2].slice(),label:["z","z","z","z",["z"]],test:"",content:[{link:"",title:"",cover:""}],book_name:"",chapter_name:"",description:"",is_activity:0},n.checkAll=!0,n.user="2",t.query.activity_id||n.addTemplate(!0),t.name===p.p.name&&(n.init=!0)});if(t.query.activity_id&&o.a.all([v,a.i(m._54)(t.query.activity_id)]).then(function(t){var e=i()(t,2),a=(e[0],e[1]);n.form.name=a.name,n.is_activity=!0,n.form.is_activity=1,n.form.content[0]={link:a.redirect_url,title:a.title,cover:a.pic},a.title&&a.pic||n.addTemplate(!0)}),t.name===p._20.name){n.category_type=t.query.type;var h=t.query.type;n.type="subscribe_push"===h?"关注推送":"签到推送",o.a.all([a.i(m._55)(t.query.type,t.query.smartpushSex),r,c,v]).then(function(e){var s=i()(e,2),o=s[0];s[1];n.smartpushId=o.id,n.smartpushSex=t.query.smartpushSex,n.originName=o.name,n.form.name=o.name;var r=[o.subscribe_time,o.sex,o.order_type,o.balance];r.forEach(function(t){var e=Array.isArray(t);(e&&"z"!==t[0]||!e&&"z"!==t)&&(n.user="1",n.$nextTick(function(){n.form.label=r}))});var c=JSON.parse(o.content).slice(0,1);if(n.form.content=c.map(function(t){return{title:t[0].title,cover:t[3].image,link:t[2].url}}),-1!==n.form.content[0].link.indexOf("/reader")){var l=a.i(d.h)(n.form.content[0].link);n.novelList=[{label:o.book_name,value:l.bid}],n.form.book_name={label:o.book_name,value:l.bid},n.$nextTick(function(){n.form.chapter_name={label:o.chapter_name,value:1*l.cid}})}n.form.description=o.description,n.form.sendTime=new Date(o.send_time),n.init=!0}).catch(function(e){n.smartpushIsNull=!0,n.smartpushSex=t.query.smartpushSex,n.init=!0,n.originName="智能推送:"+n.type})}if(t.name===p._19.name&&o.a.all([a.i(m._56)(t.query.id),r,c,v]).then(function(t){var e=i()(t,2),s=e[0],o=e[1];n.originName=s.name,n.form.name=s.name,n.form.is_activity=parseInt(s.is_activity),n.form.is_activity&&(n.is_activity=!0),n.form.server=[],o.forEach(function(t){s.appid.indexOf(t.appid)>-1&&(n.form.server.push(t),n.serverChange(n.form.server))}),n.form.description=s.description;var r=a.i(d.h)(s.redirect_url);if(n.novelList=[{label:s.book_name,value:r.bid}],n.form.book_name={label:s.book_name,value:r.bid},n.$nextTick(function(){n.form.chapter_name={label:s.chapter_name,value:1*r.cid}}),"1"===s.is_full_send)n.user="3";else{var c=[s.subscribe_time,s.sex,s.order_type,s.balance,s.category_id.split(",").map(function(t){return+t?+t:t})];c.forEach(function(t){var e=Array.isArray(t);(e&&"z"!==t[0]||!e&&"z"!==t)&&(n.user="1",n.$nextTick(function(){n.form.label=c}))})}var l=JSON.parse(s.content).slice(0,1);n.form.content=l.map(function(t){return{title:t[0].title,cover:t[3].image,link:t[2].url}}),n.form.sendTime=new Date(s.send_time),n.init=!0}),e.name===p.h.name){var f=t.params.book;o.a.all([f,r,c,v]).then(function(t){var e=i()(t,2);e[0],e[1];n.novelList=[{label:f.book_name,value:f.book_id}],n.form.book_name={label:f.book_name,value:f.book_id},n.$nextTick(function(){n.form.chapter_name={label:f.first_chapter_name,value:1*f.first_chapter_id}}),n.init=!0})}})}}},YaEn:function(t,e,a){"use strict";var n=a("Gu7T"),i=a.n(n),s=a("7+uW"),o=a("/ocq"),r=(a("yEpX"),a("sh+m")),c=a("dhim"),l=a("AMz/"),u=a("M93x"),p=a("uB9J"),d=a("nAYx"),m=a("0xG9"),v=a("6RdT"),h=a("wRg2"),f=a("pTbp"),_=a("wbXU"),b=a("i6fF"),g=a("REHm"),y=a("w3xD"),C=a("otog"),w=a("qZ2H"),k=a("a2kj");s.default.use(o.a);var A="browser";addEventListener("popstate",function(){A="browser"});var x=new o.a({mode:"history",routes:[{path:"",name:c.a.name,redirect:c.a.redirect,component:u.a,children:[].concat(i()(p.a),i()(h.a),i()(d.a),i()(_.a),i()(b.a),i()(v.a),i()(f.a),i()(m.a))}].concat(i()(g.a),i()(y.a),[{path:"/svg",component:w.a},{path:"/test",component:k.a},{path:"/404",name:"NotFound",component:C.a},{path:"*",redirect:{name:"NotFound"}}])});x.afterEach(function(t){var e=document.querySelector(".router-view-wrap");e&&(e.scrollTop=0)}),x.beforeEach(function(t,e,n){switch(t.meta?t.meta.behavior=A:t.meta={behavior:A},A="user","user"===t.meta.behavior&&a.i(l.a)(t),t.meta&&r.a.route[t.meta.module]||r.a.route[t.name]){case!0:n();break;case!1:n(r.a.shelter);break;case void 0:n()}}),e.a=x},YgNb:function(t,e,a){"use strict";function n(t){return"[object Object]"===v.call(t)}function i(t){return"[object Array]"===v.call(t)}function s(t,e){if(n(t))for(var a in t)e(t[a],a,t);else i(t)&&t.forEach(e)}function o(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function r(t,e,a,n){var i=o(e);return!!i&&((void 0===t?"undefined":m()(t))!==i.toLowerCase()&&l(e,a,n),!0)}function c(t){if(o(t))return t();var e=i(t)?[]:{};return s(t,function(t,a){e[a]=c(t)}),e}function l(t,e,a){if(a.length){var n=e.store;a.forEach(function(e,i){a.length!==i+1?n=n[e]:n[e]=c(t)})}else e.store=c(t)}function u(t,e,a,o,c){r(t,e,a,o)||(i(e)&&i(t)?s(t,function(t,n,i){o[c]=n,u(t,e[0],a,o.slice(),c+1)}):n(e)&&n(t)?s(e,function(e,n,i){o[c]=n,u(t[n],e,a,o.slice(),c+1)}):l(e,a,o))}function p(t,e,a){var n={name:a,store:t};return u(t,e,n,[],0),n.store}a.d(e,"a",function(){return p});var d=a("pFYg"),m=a.n(d),v=Object.prototype.toString},"Z+Vf":function(t,e,a){"use strict";a.d(e,"a",function(){return n});var n=[{label:"书币余额",value:"...",icon:a("D4Qy")},{label:"累计充值",value:"...",icon:a("VgAS")},{label:"累计花费",value:"...",icon:a("A/LL")}]},"Z+hU":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"promotion-novel"},[n("div",{staticClass:"title"},[t._v(t._s(t.Chinese))]),t._v(" "),n("div",{staticClass:"promotion-novel__head view-section-spacing view-section library-type"},t._l(t.novelLibrary.children,function(e,a){return n("div",{key:a,class:["library-item",{"is-active":e.value===t.status.superior}],on:{click:function(a){t.select("superior",e.value,t.novelLibrary.conflict)}}},[t._v(t._s(e.label))])})),t._v(" "),n("div",{staticClass:"promotion-novel__head view-section-spacing view-section"},[t._l(t.condition,function(e){return n("dl",{directives:[{name:"show",rawName:"v-show",value:e.showInBaokuang,expression:"c.showInBaokuang"}],key:e.label,staticClass:"promotion-novel__condition"},[n("dt",[t._v(t._s(e.label)),e.recommend?n("span",{staticClass:"condition-recom"},[t._v("荐")]):t._e()]),t._v(" "),n("dd",t._l(e.children,function(a){return n("span",{key:a.value,class:{"is-active":t.status[e.key]===a.value},on:{click:function(n){t.select(e.key,a.value,e.conflict)}}},[t._v(t._s(a.label))])}))])}),t._v(" "),n("hr",{staticClass:"promotion-novel__line"}),t._v(" "),n("el-input",{staticClass:"promotion-novel__search",attrs:{placeholder:"请输入关键字",size:"large",icon:"search","on-icon-click":t.handleIconClick},nativeOn:{keydown:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13))return null;t.handleIconClick(e)}},model:{value:t.status.key,callback:function(e){t.status.key=e},expression:"status.key"}}),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showFare,expression:"showFare"}],staticClass:"promotion-novel__welfare",on:{click:t.getWelfare}},[n("img",{attrs:{src:a("pcFI")}}),t._v(" "),n("span",{staticClass:"red"},[t._v("红包入口>")])])],2),t._v(" "),n("div",{ref:"table",staticClass:"promotion-novel__body view-section view-section-nopadding"},[n("x-sub-title",{attrs:{item:["小说列表"]}},[n("div",{staticClass:"down-and-upload"},[n("div",{staticClass:"promotion-down",on:{click:t.downNovel}},[t._v("下载")]),t._v(" "),n("div",{staticClass:"promotion-upload",on:{click:t.uploadNovel}},[t._v("上传\n "),n("input",{staticStyle:{display:"none"},attrs:{id:"uploadInput",type:"file",accept:".csv, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},on:{change:function(e){t.uploaded(e)}}})])])]),t._v(" "),n("el-checkbox-group",{model:{value:t.choose,callback:function(e){t.choose=e},expression:"choose"}},[n("x-table-2",{ref:"table2",attrs:{data:t.tableData,stripe:"",loading:t.loading,align:"left","order-prop":t.status.order_field,"order-type":"asc"===t.status.order_type},on:{rearrange:t.rearrange}},[n("x-table-column",{attrs:{label:"小说名称",prop:"name",order:!1,width:"30"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",{staticClass:"promotion-novel__check"},[n("el-checkbox",{attrs:{label:e.data.book_id}}),t._v(" "),n("router-link",{staticClass:"pointer-box promotion-novel__name",attrs:{tag:"div",to:{name:t.promotionNovelInfo,params:{id:e.data.book_id}}}},[n("div",{staticClass:"cover"},[n("img",{attrs:{src:e.data.cover_url}})]),t._v(" "),n("div",{staticClass:"content"},[n("div",{staticClass:"first"},[n("span",{staticClass:"name single-line blue"},[t._v(t._s(e.data.book_name))]),t._v(" "),n("span",{staticClass:"status"},[t._v("【"+t._s(e.data.book_end_status?"完结":"连载")+"】")]),t._v(" "),n("el-tag",{staticStyle:{"margin-left":"2em"},attrs:{color:"#31DC86"}},[t._v(t._s(e.data.charge_type))])],1),t._v(" "),n("div",{staticClass:"second"},[t._v("\n "+t._s(e.data.book_category)+"\n ")]),t._v(" "),n("div",{staticClass:"third"},[n("span",{staticClass:"size"},[t._v("字数:"+t._s(e.data.word_size))]),t._v(" "),n("span",{staticClass:"length"},[t._v(t._s(e.data.chapter_type))]),t._v(" "),n("span",{staticClass:"sex red"},[t._v(t._s(e.data.sex_preference))])]),t._v(" "),n("div",{staticClass:"fourth"},[t._v("\n 上架时间:"+t._s(e.data.on_shelf_time.substr(0,10))+"\n ")])])])],1)]}}])}),t._v(" "),1!==t.status.superior?n("x-table-column",{attrs:{label:"编辑评级",prop:"recommend_index",width:"10"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",{class:"promotion-novel__"+("A+"===e.data.recommend_index[0]?"A":e.data.recommend_index[0])},[n("img",{attrs:{src:a("5U7Y")}}),t._v(" "+t._s(e.data.recommend_index)+"\n ")])]}}])}):t._e(),t._v(" "),n("x-table-column",{attrs:{label:"全站派单指数",prop:"total_send_order_sum",width:"10"}}),t._v(" "),n("x-table-column",{attrs:{label:"七天派单指数",prop:"week_send_order_sum",width:"10"}}),t._v(" "),n("x-table-column",{attrs:{label:"我的派单数",prop:"channel_send_order_sum",width:"10"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("router-link",{attrs:{to:{name:t.statisticsPromote,params:{bookName:e.data.book_name}}}},[n("span",{staticClass:"blue"},[t._v(t._s(e.data.channel_send_order_sum))])])]}}])}),t._v(" "),n("x-table-column",{attrs:{label:"自主评级",prop:"own_score",width:"10"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-select",{key:e.data.book_id,attrs:{placeholder:"请选择"},on:{change:function(a){t.own_score(a,e.data.book_id)}},model:{value:e.data.own_score,callback:function(t){e.data.own_score=t},expression:"scope.data.own_score"}},[n("el-option",{attrs:{label:"S级",value:"S"}}),t._v(" "),n("el-option",{attrs:{label:"A级",value:"A"}}),t._v(" "),n("el-option",{attrs:{label:"B级",value:"B"}}),t._v(" "),n("el-option",{attrs:{label:"C级",value:"C"}}),t._v(" "),n("el-option",{attrs:{label:"D级",value:"D"}})],1)]}}])})],1)],1),t._v(" "),t.meta.last_page?n("div",{staticClass:"pagination"},[n("el-pagination",{attrs:{"current-page":t.meta.current_page,"page-size":t.meta.per_page,"page-count":t.meta.last_page,layout:"prev, pager, next, jumper"},on:{"current-change":t.handleCurrentChange}})],1):t._e()],1),t._v(" "),n("el-dialog",{attrs:{title:"追书云登录送福利",visible:t.welfare.status,"custom-class":"notify-welfare"},on:{"update:visible":function(e){t.welfare.status=e}}},[n("div",{staticClass:"notify-welfare__banner"},[n("img",{staticStyle:{display:"block"},attrs:{src:"https://cdn-novel.iycdm.com/distribution/welfare/welcome.jpg"}}),t._v(" "),n("div",{ref:"qr",staticClass:"notify-welfare__qr",class:{"notify-welfare__over":!t.welfare.is_has_prize}})]),t._v(" "),n("x-table-2",{staticClass:"notify-welfare__table",attrs:{data:t.welfare.books,stripe:""}},[n("x-table-column",{attrs:{label:"书名",prop:"book_name"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("router-link",{staticClass:"blue pointer-box",attrs:{to:{name:t.promotionNovelInfo,params:{id:e.data.bid}}}},[t._v("\n "+t._s(e.cell)+"\n ")])]}}])}),t._v(" "),n("x-table-column",{attrs:{label:"强关率",prop:"force_subscribe_rate"}}),t._v(" "),n("x-table-column",{attrs:{label:"付费率",prop:"charge_rate"}}),t._v(" "),n("x-table-column",{attrs:{label:"预览图",prop:"charge_rate"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("a",{staticClass:"blue pointer-box",attrs:{href:e.data.data_img,target:"_blank"}},[t._v("点击预览")])]}}])}),t._v(" "),n("x-table-column",{attrs:{label:"操作",prop:"option"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("router-link",{staticClass:"blue pointer-box",attrs:{to:{name:t.promotionNovelInfo,params:{id:e.data.bid}}}},[t._v("\n 创建派单\n ")])]}}])})],1)],1)],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},ZWQ0:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"message"},[a("div",{staticClass:"pagination p_msg view-section-spacing"},t._l(t.recharge,function(e,n){return a("div",{key:n,staticClass:"withdraw_msg"},[a("h1",{class:{noinfo:e.date}},[t._v(t._s(e.name))]),t._v(" "),a("p",{staticClass:"red"},[t._v(t._s(t.IntToMoney(e.money)))]),t._v(" "),e.operating?a("el-button",{attrs:{type:"primary"},on:{click:t.handleWithdraw}},[t._v(t._s(e.operating))]):t._e(),t._v(" "),"date"in e?a("span",{staticStyle:{color:"#999"}},[t._v("日期: "+t._s(e.date?e.date:" —"))]):t._e(),t._v(" "),"money_total"in e?a("span",{staticStyle:{color:"#999"}},[t._v("总金额:"+t._s(t.IntToMoney(e.money_total)))]):t._e()],1)})),t._v(" "),a("div",{staticClass:"msg"},[a("div",{staticClass:"sub-title"},t._l(t.payStatus,function(e,n){return a("span",{key:n,class:{active:t.active==n},on:{click:function(a){t.handleMenu(e,n)}}},[t._v(t._s(e.text))])})),t._v(" "),a("div",{staticClass:"pagination"},[a("el-date-picker",{staticStyle:{display:"inline-block",width:"300px"},attrs:{type:"daterange",placeholder:"选择日期范围","picker-options":t.pickerOptions2},on:{change:function(e){t.getWithdrawCashes(void 0)}},model:{value:t.value7,callback:function(e){t.value7=e},expression:"value7"}}),t._v(" "),a("div",{staticClass:"header",staticStyle:{"margin-top":"26px"}},[a("x-table",{attrs:{column:t.headerList,data:t.tableData,stripe:""},scopedSlots:t._u([{key:"col-4",fn:function(e){return[a("span",{style:{color:e.rowData.color}},[t._v(t._s(e.rowData.status))])]}}])}),t._v(" "),t.meta.last_page?a("div",{staticClass:"pagination"},[a("el-pagination",{attrs:{"current-page":t.meta.current_page,"page-size":t.meta.per_page,"page-count":t.meta.last_page,layout:"prev, pager, next, jumper"},on:{"current-change":t.handleCurrentChange}})],1):t._e()],1)],1)]),t._v(" "),a("x-withdraw",{attrs:{visible:t.visible},on:{"update:visible":function(e){t.visible=e}}})],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},Ze5U:function(t,e,a){"use strict";function n(t){a("RJXR"),a("yfhy")}var i=a("zOaU"),s=a("xbSE"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,"data-v-0087cf85",null);e.a=c.exports},ZjLv:function(t,e){},ZoQJ:function(t,e,a){"use strict";function n(t){return"number"!=typeof t&&(t=Number(t),isNaN(t))?"¥ 0":"¥ "+t.toFixed(2)}function i(t){var e,a=new RegExp("(^| )"+t+"=([^;]*)(;|$)");return(e=document.cookie.match(a))?unescape(e[2]):""}function s(t){var e=/^[rR][gG][Bb][Aa]?[\(]([\s]*(2[0-4][0-9]|25[0-5]|[01]?[0-9][0-9]?)[\s]*,){2}[\s]*(2[0-4][0-9]|25[0-5]|[01]?[0-9][0-9]?)[\s]*,?[\s]*(0\.\d{1,2}|1|0)?[\)]{1}$/,a=/#(([0-9A-Fa-f]{3})|([0-9A-Fa-f]{6}))/;if(e.test(t)){var n=t.split(",");return"#"+((1<<24)+(parseInt(n[0].split("(")[1])<<16)+(parseInt(n[1])<<8)+parseInt(n[2].split(")")[0])).toString(16).slice(1)}return a.test(t)?t:"#000"}function o(t){clearTimeout(m),m=setTimeout(function(){t()},300)}function r(t){return t[Math.floor(Math.random()*t.length)]}function c(t,e){return Array.isArray(t)?t.map(function(t){return c(t,e)}):e.reduce(function(e,a,n,i){return e[a[1]]=t[a[0]],e},{})}function l(t){return"[object Object]"===Object.prototype.toString.call(t)}function u(t){return t.replace(/([A-Z])/g,"_$1").toLowerCase()}function p(t){t=null==t?window.location.href:t;var e=t.substring(t.lastIndexOf("?")+1);return e?JSON.parse('{"'+decodeURIComponent(e).replace(/"/g,'\\"').replace(/&/g,'","').replace(/=/g,'":"')+'"}'):{}}e.d=n,a.d(e,"f",function(){return d}),e.g=i,e.i=s,e.j=o,e.c=r,e.b=c,e.a=l,e.e=u,e.h=p;a("kv5B"),a("9je0"),a("eVeq");Date.prototype.Format=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"yyyy-MM-dd hh:mm:ss",e={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length)));for(var a in e)new RegExp("("+a+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?e[a]:("00"+e[a]).substr((""+e[a]).length)));return t};var d=function(t,e,a,n){return(t/=n/2)<1?a/2*t*t+e:-a/2*(--t*(t-2)-1)+e},m=null},a2kj:function(t,e,a){"use strict";var n=a("n3Kw"),i=a("xkYn"),s=a("VU/8"),o=s(n.a,i.a,!1,null,null,null);e.a=o.exports},aDwi:function(t,e,a){"use strict";function n(t){a("KsuY")}var i=a("/7uf"),s=a("4IPT"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,"data-v-0e8df1f2",null);e.a=c.exports},aEdw:function(t,e){},aMHh:function(t,e,a){"use strict";function n(t,e,n){t.bookList=n.list,t.meta=n.meta,e.query.category?(t.categoriesV=a.i(_.b)(+e.query.category),t.activeTitle=+e.query.category,t.searchV=""):e.query.key?(t.searchV=e.query.key,t.categoriesV=[],t.activeTitle=0):(t.searchV="",t.categoriesV=[],t.activeTitle=0),e.query.sort&&(t.sort=e.query.sort),e.query.page?t.page=e.query.page:t.page=1}function i(t){var e={order_field:"recommend_index"};return t.query.category&&(e.category_id=t.query.category),t.query.page&&(e.page=t.query.page),t.query.sort&&(e.order_seq=t.query.sort),t.query.key&&(e.key=t.query.key),e}var s=a("//Fk"),o=a.n(s),r=a("d7EF"),c=a.n(r),l=a("Xxa5"),u=a.n(l),p=a("exGp"),d=a.n(p),m=a("dhim"),v=a("8FTz"),h=(a.n(v),a("h3NK")),f=(a.n(h),a("gyMJ")),_=a("i+qx"),b=a("ZoQJ");e.a={name:m.h.name,data:function(){return{novelCopy:m.A.name,promotionNovelInfo:m.j.name,statisticsPromote:m.G.name,bookList:[],Chinese:m.h.Chinese,subTitle:[{label:"全部",value:0},{label:"男频",value:1},{label:"女频",value:2}],column:[{label:"小说名称",prop:"",width:4},{label:"小说类型",prop:"book_category",width:1},{label:"性别偏向",prop:"sex_preference",width:1},{label:"是否完结",prop:"book_end_status",width:1},{label:"推荐指数",prop:"",width:1},{label:"推广次数",prop:"",width:1}],categories:[],categoriesV:[],composition:!1,searchV:"",meta:{},activeTitle:0,sort:"desc"}},methods:{compositionstart:function(){this.composition=!0},compositionend:function(){this.composition=!1},searchNovel:function(){this.composition||!this.searchV&&this.searchV===this.$route.query.search||a.i(b.j)(this.reload.bind(this,{key:this.searchV}))},sortNovel:function(){var t="asc"===this.sort?"desc":"asc";this.reload({sort:t})},handleCurrentChange:function(t){t!==this.meta.current_page&&this.reload({page:t})},changeCategory:function(){var t=this.categoriesV[this.categoriesV.length-1];t!==+this.activeTitle&&this.reload({category:t})},changeTitle:function(t){this.reload({category:t})},reload:function(t){var e={},a=this.$route.query;"category"in t?t.category&&(e.category=t.category):"key"in t?t.key&&(e.key=t.key):a.key?e.key=a.key:a.category&&(e.category=a.category),"category"in t||"key"in t||("sort"in t?t.sort&&(e.sort=t.sort):a.sort&&(e.sort=a.sort),"page"in t?0!==t.page&&1!==t.page&&(e.page=t.page):a.page&&(e.page=a.page)),this.$router.replace({name:m.h.name,query:e})}},beforeRouteUpdate:function(t,e,s){var o=this;return d()(u.a.mark(function e(){var r;return u.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.i(f._35)(i(t));case 2:r=e.sent,document.querySelector(".router-view-wrap").scrollTop=0,n(o,t,r),s();case 6:case"end":return e.stop()}},e,o)}))()},mounted:function(){var t=this;return d()(u.a.mark(function e(){var s,r,l,p,d;return u.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=t.$loading({target:t.$refs.table}),e.next=3,o.a.all([a.i(f.b)(),a.i(f._35)(i(t.$route))]);case 3:r=e.sent,l=c()(r,2),p=l[0],d=l[1],t.categories=p,n(t,t.$route,d),s.close();case 10:case"end":return e.stop()}},e,t)}))()}}},aaKw:function(t,e,a){"use strict";function n(t){a("SQPP")}var i=a("dDXn"),s=a("9N3a"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},aatb:function(t,e,a){"use strict";var n=a("dhim"),i=[n.q,n.p],s=[n.q,n.p,n._19],o=[n._20];e.a={name:n.o.name,data:function(){return{Chinese:n.o.Chinese,subTitle:i.map(function(t){return t.Chinese}),active:1}},methods:{href:function(t){this.$router.push({name:i[t-1].name})},changeTitle:function(){var t=this,e=this.$route.name===n._19.name?s:this.$route.name===n._20.name?o:i;this.subTitle=e.map(function(t){return t.Chinese}),e.forEach(function(e,a){e.name===t.$route.name&&(t.active=a+1)})}},created:function(){this.changeTitle()},beforeRouteUpdate:function(t,e,a){a(),this.changeTitle()}}},aloX:function(t,e){!function(t){function e(){var t,e;t=document.createElement("div"),t.innerHTML=a,a=null,(e=t.getElementsByTagName("svg")[0])&&(e.setAttribute("aria-hidden","true"),e.style.position="absolute",e.style.width=0,e.style.height=0,e.style.overflow="hidden",o(e,document.body))}var a='',n=function(){var t=document.getElementsByTagName("script");return t[t.length-1]}(),i=n.getAttribute("data-injectcss"),s=function(t,e){e.parentNode.insertBefore(t,e)},o=function(t,e){e.firstChild?s(t,e.firstChild):e.appendChild(t)};if(i&&!t.__iconfont__svg__cssinject__){t.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(t){console}}!function(e){if(document.addEventListener)if(~["complete","loaded","interactive"].indexOf(document.readyState))setTimeout(e,0);else{var a=function t(){document.removeEventListener("DOMContentLoaded",t,!1),e()};document.addEventListener("DOMContentLoaded",a,!1)}else document.attachEvent&&function(t,e){var a=t.document,n=!1,i=function(){n||(n=!0,e())};!function t(){try{a.documentElement.doScroll("left")}catch(e){return void setTimeout(t,50)}i()}(),a.onreadystatechange=function(){"complete"==a.readyState&&(a.onreadystatechange=null,i())}}(t,e)}(e)}(window)},aqtk:function(t,e,a){"use strict";var n=a("dhim"),i=[n.s,n.u,n.t];e.a={name:n.v.name,data:function(){var t=this;return{Chinese:n.v.Chinese,subTitle:i.map(function(t){return t.Chinese}),activeTitle:i.findIndex(function(e){return e.name===t.$route.name})+1}},methods:{href:function(t){this.$router.replace({name:i[t-1].name})}}}},atbV:function(t,e,a){"use strict";var n,i=a("bOdI"),s=a.n(i),o=a("dhim"),r=a("3srV"),c=a("fp2T"),l={role:"outer-i-bind",shelter:{name:o._0.name},promotionCopy:!0,promotionLink:!0,promotionSave:!1,subscribe:!1,material:!0,route:(n={},s()(n,o.c.name,!0),s()(n,o.d.name,!0),s()(n,o.e.name,!0),s()(n,o.f.name,!0),s()(n,o.h.name,!0),s()(n,o.i.name,!0),s()(n,o.j.name,!0),s()(n,o.k.name,!0),s()(n,o.l.name,!0),s()(n,o.m.name,!0),s()(n,o.n.name,!0),s()(n,o.o.name,!0),s()(n,o.p.name,!0),s()(n,o.q.name,!0),s()(n,o.r.name,!0),s()(n,o.s.name,!0),s()(n,o.t.name,!0),s()(n,o.u.name,!0),s()(n,o.v.name,!0),s()(n,o.w.name,!0),s()(n,o.x.name,!0),s()(n,o.y.name,!0),s()(n,o.z.name,!0),s()(n,o.A.name,!0),s()(n,o.B.name,!0),s()(n,o.C.name,!0),s()(n,o.b.name,!0),s()(n,o.D.name,!0),s()(n,o.E.name,!0),s()(n,o.F.name,!0),s()(n,o.G.name,!0),s()(n,o.H.name,!0),s()(n,o.I.name,!0),s()(n,o.J.name,!0),s()(n,o.K.name,!0),s()(n,o.L.name,!0),s()(n,o.M.name,!1),s()(n,c.a.name,!0),s()(n,o.N.name,!0),s()(n,o.O.name,!0),s()(n,o.P.name,!0),s()(n,o.Q.name,!0),s()(n,o.R.name,!0),s()(n,o.S.name,!0),s()(n,o.T.name,!0),s()(n,o.U.name,!0),s()(n,o.V.name,!0),s()(n,o.W.name,!0),s()(n,o.X.name,!0),s()(n,o.Y.name,!0),s()(n,o.Z.name,!0),s()(n,o._0.name,!0),n),menu:a.i(r.a)([[o.c],[o._1,[o.f,o.H]],[o._2,[o.h,o.o,o.v,o.n,o.k,o.w,o.i,o.r]],[o._3,[o._4]],[o._5,[o.G,o._6,o._7]],[o.I],[o.d],[o._8,[o.N,o.T,o.U,o.Z,o.R,o.S,o.Y]]])};e.a=l},b87Z:function(t,e,a){"use strict";function n(t){a("Rk/t")}var i=a("Hhn8"),s=a("HIbk"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},bGai:function(t,e,a){"use strict";var n=a("L28S"),i=(a.n(n),a("2X9z")),s=a.n(i),o=a("nQD7"),r=(a.n(o),a("aMwW")),c=a.n(r),l=a("voBo"),u=(a.n(l),a("wxbk")),p=a.n(u),d=a("dyFx"),m=(a.n(d),a("fEB+")),v=a.n(m),h=a("9eRr"),f=(a.n(h),a("s3ue")),_=a.n(f),b=a("Rp00"),g=(a.n(b),a("EKTV")),y=a.n(g),C=a("sh7P"),w=(a.n(C),a("nu7/")),k=a.n(w),A=a("B7Oo"),x=(a.n(A),a("D8db")),S=a.n(x),I=a("Cqja"),R=(a.n(I),a("fDPO")),D=a.n(R),z=a("HKXN"),M=(a.n(z),a("RDoK")),N=a.n(M),T=a("VzyK"),E=(a.n(T),a("wOhx")),V=a.n(E),L=a("lJ88"),O=(a.n(L),a("tLa+")),Q=a.n(O),F=a("Oxd1"),U=(a.n(F),a("Mezo")),B=a.n(U),J=a("qKch"),Z=(a.n(J),a("vqwl")),W=a.n(Z),Y=a("3ay9"),P=(a.n(Y),a("qubY")),j=a.n(P),G=a("Lt/l"),H=(a.n(G),a("0kY3")),q=a.n(H),X=a("5TrB"),K=(a.n(X),a("HJMx")),$=a.n(K),tt=a("GFpQ"),et=(a.n(tt),a("STLj")),at=a.n(et),nt=a("/vXe"),it=(a.n(nt),a("e0Bm")),st=a.n(it),ot=a("HB7i"),rt=(a.n(ot),a("mtrD")),ct=a.n(rt),lt=a("TJCq"),ut=(a.n(lt),a("SXzR")),pt=a.n(ut),dt=a("yU5N"),mt=(a.n(dt),a("6oiW")),vt=a.n(mt),ht=a("5woi"),ft=(a.n(ht),a("orbS")),_t=a.n(ft),bt=a("1fBL"),gt=(a.n(bt),a("exT9")),yt=a.n(gt),Ct=a("3E4E"),wt=(a.n(Ct),a("ACGT")),kt=a.n(wt),At=a("5Mqk"),xt=(a.n(At),a("SExR")),St=a.n(xt),It=a("Hk3r"),Rt=(a.n(It),a("pkKZ")),Dt=a.n(Rt),zt=a("2Ktn"),Mt=(a.n(zt),a("q4le")),Nt=a.n(Mt),Tt=a("IGat"),Et=(a.n(Tt),a("psK2")),Vt=(a.n(Et),a("LR6y")),Lt=a.n(Vt),Ot=a("7+uW"),Qt=a("7iic"),Ft=a("BoWE"),Ut=a("iS6q"),Bt=a("2y/A"),Jt=a("sslA"),Zt=a("xssJ"),Wt=a("2Hch"),Yt=a("spLH"),Pt=a("pnnb"),jt=a("Q4P6");Ot.default.use(Lt.a),Ot.default.use(Nt.a),Dt.a.methods.hideMenu=function(){this.inputValue="",this.menu.visible=!1,this.$emit("close")},Ot.default.use(St.a),Ot.default.use(kt.a),Ot.default.use(yt.a),Ot.default.use(_t.a),Ot.default.use(vt.a),Ot.default.use(pt.a),Ot.default.use(ct.a),Ot.default.use(st.a),Ot.default.use(at.a),Ot.default.use($.a),Ot.default.use(q.a),Ot.default.use(j.a),Ot.default.use(W.a),Ot.default.use(B.a),Ot.default.use(Q.a),Ot.default.use(V.a),Ot.default.use(Dt.a),Ot.default.use(N.a),Ot.default.use(D.a),Ot.default.use(S.a),Ot.default.use(k.a.directive),Ot.default.use(y.a),Ot.default.use(_.a),Ot.default.use(v.a),Ot.default.use(p.a),Ot.default.use(c.a),Ot.default.prototype.$loading=k.a.service,Ot.default.prototype.$message=s.a,Ot.default.use(Ft.a),Ot.default.use(Ut.a),Ot.default.use(Qt.a),Ot.default.use(Bt.a),Ot.default.use(Jt.a),Ot.default.use(Wt.a),Ot.default.use(Zt.a),Ot.default.use(Yt.a),Ot.default.use(Pt.a),Ot.default.use(Pt.a),Ot.default.use(jt.a)},bIym:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"app"}},[a("x-head"),t._v(" "),a("x-menu"),t._v(" "),a("section",{staticClass:"router-view-wrap r"},[a("transition",{attrs:{name:"el-fade-in"}},[a("router-view",{staticClass:"router-view"})],1)],1)],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},bMwM:function(t,e,a){"use strict";var n=a("fZjL"),i=a.n(n),s=a("gyMJ"),o=a("JwqW"),r=a("fGsi"),c=a("yxxA"),l=a("ZoQJ");e.a={components:{"x-popover-title":o.a,"x-popover-cover":r.a,"x-popover-link":c.a},data:function(){return{picList:{},textList:[],cover:[],title:[],init:!1,postloading:!1,dialogVisible:!1,textadd:"",links:{name:"",link:""},current:"",isloading:!1}},methods:{submitForm:function(t,e,n){var i=this;if(this.isloading)return this.$message.error("正在保存中...");if(!this.postloading){if(!t[0].link)return this.$message.error("头条链接为空");if(!t[0].startTime)return this.$message.error("开始时间为空");if(!t[0].endTime)return this.$message.error("结束时间为空");t[0].startTime=this.dateFormat(t[0].startTime),t[0].endTime=this.dateFormat(t[0].endTime);var o=t[0].action?t[0].action:"update",r={mode:2,content:this.contentFormat(t),is_pic:1,status:1,action:o,key:"update"===o?n:"",start_time:t[0].startTime,end_time:t[0].endTime};this.isloading=!0,a.i(s.C)(r).then(function(t){i.isloading=!1})}},save:function(t,e){var n=this;if(this.isloading)return this.$message.error("正在保存中...");if(!t.start_time)return this.$message.error("开始时间为空");if(!t.end_time)return this.$message.error("结束时间为空");var i=t.action?t.action:"update";t.start_time=this.dateFormat(t.start_time),t.end_time=this.dateFormat(t.end_time);var o={mode:3,content:t.content,is_pic:0,status:1,action:i,key:"update"===i?e:"",start_time:t.start_time,end_time:t.end_time};this.isloading=!0,a.i(s.C)(o).then(function(t){n.isloading=!1})},confirm:function(){""===this.links.name?this.$message.error("链接文案不能为空"):""===this.links.link?this.$message.error("链接地址不能为空"):(this.links.link.includes("http")||(this.links.link="https://"+this.links.link),this.textList[this.textadd].content+=''+this.links.name+"",this.links={name:"",link:""},this.textadd="",this.dialogVisible=!1)},contentFormat:function(t){return t.map(function(t){return[{title:t.title},{description:t.title},{url:t.link},{image:t.cover}]})},delTemplate:function(t,e){this.picList[e].splice(t,1)},addTemplate:function(t){var e=a.i(l.c)(this.cover);this.picList[t].push({title:a.i(l.c)(this.title).title,cover:e.origin_cover,link:""})},additem:function(t){var e=i()(this.picList),n=e.length,s=[{cover:a.i(l.c)(this.cover).origin_cover,description:"",endTime:"",link:"",startTime:"",status:1,action:"add",title:a.i(l.c)(this.title).title}];this.$set(this.picList,"content"+(n+1),s)},addtextitem:function(){this.textList.push({cover:a.i(l.c)(this.cover).origin_cover,description:"",end_time:"",link:"",start_time:"",status:1,action:"add",title:a.i(l.c)(this.title).title})},dateFormat:function(t,e){t=new Date(Date.parse(t));var a=t.getFullYear(),n=t.getMonth()+1;n=n<10?"0"+n:n;var i=t.getDate();i=i<10?"0"+i:i;var s=t.getHours();s=s<10?"0"+s:s;var o=t.getMinutes(),r=t.getSeconds();return o=o<10?"0"+o:o,r=r<10?"0"+r:r,a+"-"+n+"-"+i+" "+s+":"+o+":"+r}},created:function(){var t=this;a.i(s.D)().then(function(e){var a={};e.content_mode_2&&JSON.parse(e.content_mode_2).map(function(t,e){if(a["content"+(e+1)]=[],JSON.parse(t.content)){var n=JSON.parse(t.content);n.map(function(n){var i={};t.start_time&&(i.startTime=t.start_time),t.end_time&&(i.endTime=t.end_time),t.status&&(i.status=t.status),n.map(function(t){t.title&&(i.title=t.title),t.description&&(i.description=t.description),t.url&&(i.link=t.url),t.image&&(i.cover=t.image)}),a["content"+(e+1)].push(i)})}}),t.picList=a,e.content_mode_3&&(t.textList=JSON.parse(e.content_mode_3)),t.current=e.current});a.i(s.p)().then(function(e){return t.cover=e,e}),a.i(s.q)().then(function(e){return t.title=e,e});this.init=!0}}},bcn3:function(t,e,a){"use strict";var n=a("L28S"),i=(a.n(n),a("psK2")),s=(a.n(i),a("2X9z")),o=a.n(s),r=a("dhim"),c=a("gyMJ");e.a={name:r.n.name,data:function(){return{commit:r.n,promotionSmartPushEdit:r._20.name,smartpushtime:"",smartpushSex:[],list:[],options:[{value:"0",label:"随机"},{value:"1",label:"自定义"}]}},methods:{changeSex:function(t){"a"===this.smartpushSex[t]?this.smartpushSex.splice(t,1,"b"):this.smartpushSex.splice(t,1,"a")},update:function(t,e){a.i(c._21)({custom_category:t,status:e?"1":"2"})},changeStatus:function(t,e,n,i){var s=this;if(!n)return o.a.error("请先开启该功能开关");var r=(new Date).getTime();r-this.smartpushtime<1e3||(this.smartpushtime=r,a.i(c._22)(t).then(function(i){a.i(c._21)({custom_category:t,is_self_content:e,status:n?"1":"2"})}).catch(function(r){80008===r.data.code&&("0"===e?a.i(c._21)({custom_category:t,is_self_content:"0",status:n?"1":"2"}):(o.a.error(r.data.msg),s.list[i].is_self_content="0"))}))},jump_edit:function(t,e){this.$router.push({name:r._20.name,query:{type:t,smartpushSex:e}})}},created:function(){var t=this;a.i(c._23)().then(function(e){t.list=e,e.forEach(function(e,a){e.status="1"===e.status,t.smartpushSex.push("a")})})}}},c2Ys:function(t,e,a){"use strict";e.a={props:["icon"],name:"x-svg",data:function(){return{}},methods:{},install:function(t,e){t.component(this.name,this)}}},c6a1:function(t,e,a){"use strict";var n=a("gyMJ"),i=a("dhim"),s=a("SG9N");e.a={name:i.g.name,components:{"x-rank-list":s.a},data:function(){return{rank:[],type:1}},created:function(){var t=this;a.i(n._29)().then(function(e){t.rank=e})}}},c7WP:function(t,e){},cHpP:function(t,e,a){"use strict";function n(t){a("MInJ")}var i=a("ge+E"),s=a("4LDL"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},chtw:function(t,e,a){"use strict";var n=a("Xxa5"),i=a.n(n),s=a("exGp"),o=a.n(s),r=a("dhim"),c=a("V33R"),l=(a.n(c),a("BYEm"));e.a={name:r.M.name,components:{"x-popup":l.a},data:function(){return{loading:!0,pickerOptions2:{shortcuts:[{text:"最近一周",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.getTime()-6048e5),t.$emit("pick",[a,e])}},{text:"最近一个月",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.getTime()-2592e6),t.$emit("pick",[a,e])}},{text:"最近三个月",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.getTime()-7776e6),t.$emit("pick",[a,e])}}]},value7:[new Date(new Date-6048e5),new Date],input_name:"",input_order_name:"",area:null,tableData:[],meta:{},costDialog:!1,costNew:"",costDate:""}},methods:{handleIconClick:function(t){var e=this;return o()(i.a.mark(function t(){return i.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:case"end":return t.stop()}},t,e)}))()},handleCurrentChange:function(t){this.meta.current_page},exportSendOrders:function(){},upload:function(t){},openCost:function(t){this.costDialog=!0,this.costNew=t.cost,this.costDate=t},updateCost:function(t){}},mounted:function(){this.loading=!1}}},cnrc:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"statistics-state"},[a("div",{staticClass:"title"},[t._v(t._s(t.commit.Chinese))]),t._v(" "),a("x-sub-title",{attrs:{item:["今日数据"]}}),t._v(" "),a("div",{staticClass:"statistics-state-head view-section-spacing"},t._l(t.dayStatistics,function(e,n){return a("div",{key:n,staticClass:"state-itme"},[a("div",{staticClass:"state-itme__label"},[t._v(t._s(e.label))]),t._v(" "),a("div",{staticClass:"state-itme__value statistics-number"},[t._v(t._s(e.value))])])})),t._v(" "),a("x-sub-title",{attrs:{item:["本帐号下所有公众号汇总数据"]}}),t._v(" "),a("div",{staticClass:"statistics-state-head view-section-spacing"},t._l(t.totalStatistics,function(e,n){return a("div",{key:n,staticClass:"state-itme"},[a("div",{staticClass:"state-itme__label"},[t._v(t._s(e.label))]),t._v(" "),a("div",{staticClass:"state-itme__value statistics-number"},[t._v(t._s(e.value))])])})),t._v(" "),a("x-sub-title",{attrs:{item:[{label:"站点分日数据汇总",value:"1"},{label:"推广书籍充值数据",value:"2"},{label:"账号分日数据汇总",value:"3"}],default:t.browser},on:{"update:default":function(e){t.browser=e},"change-item":t.changeBrowser}},[a("el-date-picker",{attrs:{type:"daterange",placeholder:"选择日期范围","picker-options":t.pickerOptions},on:{change:t.timeRangeChange},model:{value:t.timeRange,callback:function(e){t.timeRange=e},expression:"timeRange"}}),t._v(" "),"2"===t.browser?a("el-button",{staticStyle:{width:"100px"},attrs:{type:"info"},on:{click:t.download}},[t._v("导出")]):t._e()],1),t._v(" "),a("div",{staticClass:"statistics-state-body view-section"},[a("x-table",{ref:"table",attrs:{column:t.tableHead,stripe:"",data:t.bodyData}}),t._v(" "),t.meta.last_page?a("div",{staticClass:"pagination"},[a("el-pagination",{attrs:{"current-page":t.meta.current_page,"page-size":t.meta.per_page,"page-count":t.meta.last_page,layout:"prev, pager, next, jumper"},on:{"current-change":t.handleCurrentChange}})],1):t._e()],1)],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},cojc:function(t,e){},ctpP:function(t,e,a){"use strict";var n=a("sh+m"),i=a("gyMJ");e.a={data:function(){return{menuList:n.a.menu,hot:a("J7Va"),hotCheck:a("1vCz"),channel_id:window.options.distribution_channel_id,isFocusreplylistShow:""}},created:function(){var t=this;a.i(i._92)().then(function(e){t.isFocusreplylistShow=e})},methods:{isShowMenu:function(t){return("focusreplylist"!==t||1==this.isFocusreplylistShow)&&("focusReply"===t&&this.channel_id,!0)}},computed:{menuSelectedIndex:function(){return this.$route.meta.activeMenu?this.$route.meta.activeMenu:this.$route.name}},mounted:function(){}}},"d5+Y":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"auto-push"},[a("div",{staticClass:"title"},[t._v(t._s(t.commit.Chinese))]),t._v(" "),a("section",{staticClass:"auto-push-body view-section"},t._l(t.list,function(e,n){return a("div",{key:e.name,staticClass:"item-wrap"},[a("div",{staticClass:"item"},[a("div",{staticClass:"item-head"},[a("span",[t._v(" "+t._s(e.title)+" ")]),t._v(" "),"1"===e.common_is_self_content?a("el-select",{staticClass:"choose",attrs:{disabled:!e.status,placeholder:"请选择",size:"mini"},on:{change:function(a){t.changeStatus(e.custom_category,e.is_self_content,e.status,n)}},model:{value:e.is_self_content,callback:function(t){e.is_self_content=t},expression:"item.is_self_content"}},t._l(t.options,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})):t._e(),t._v(" "),a("el-switch",{attrs:{"on-text":"","off-text":""},on:{change:function(a){t.update(e.custom_category,e.status)}},model:{value:e.status,callback:function(t){e.status=t},expression:"item.status"}})],1),t._v(" "),a("div",{staticClass:"item-body"},[a("div",{staticClass:"intro"},[t._v(t._s(e.desc_content))]),t._v(" "),a("img",{attrs:{src:e.img_url}})]),t._v(" "),"1"===e.common_is_self_content?a("div",{staticClass:"item-bottom"},[a("div",{staticClass:"edit",on:{click:function(a){t.jump_edit(e.custom_category,t.smartpushSex[n])}}},[t._v("编辑")]),t._v(" "),a("div",{staticClass:"sex"},[a("div",{class:"a"===t.smartpushSex[n]?"select":"none",on:{click:function(e){t.changeSex(n)}}},[t._v("男")]),t._v(" "),a("div",{class:"b"===t.smartpushSex[n]?"select":"none",on:{click:function(e){t.changeSex(n)}}},[t._v("女")])])]):t._e()])])}))])},i=[],s={render:n,staticRenderFns:i};e.a=s},dDXn:function(t,e,a){"use strict";var n=a("woOf"),i=a.n(n),s=a("dhim"),o=a("V33R"),r=a.n(o),c=a("BYEm"),l=a("gyMJ");e.a={name:s._4.name,components:{"x-popup":c.a},data:function(){return{name:s._4,poster:"正在生成,请稍等",channel_name:"",pickerOptions2:{shortcuts:[{text:"最近一周",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.getTime()-6048e5),t.$emit("pick",[a,e])}},{text:"最近一个月",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.getTime()-2592e6),t.$emit("pick",[a,e])}},{text:"最近三个月",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.getTime()-7776e6),t.$emit("pick",[a,e])}}]},dataValue:[new Date(new Date-6048e5),new Date],totalStatistics:[{label:"今日充值",value:"-----"},{label:"今日新增用户",value:"-----"},{label:"累计充值(不含当日)",value:"-----"},{label:"累计用户(不含当日)",value:"-----"}],loading:!1,meta:{},bodyHead:[{label:"推广名称",prop:"name"},{label:"创建日期",prop:"created_at"},{label:"推广类型",prop:"promotion_type"},{label:"参数链接",prop:"promotion_url"},{label:"新增用户",prop:"addUserNum"},{label:"成功订单数",prop:"sucOrderNum"},{label:"订单总数",prop:"totalOrderNum"},{label:"充值总额",prop:"totalChargeAmount"}],bodyData:[],miniStatus:!1}},methods:{handleCurrentChange:function(t){t!==this.meta.current_page&&this.getMiniOrderList(t)},getDailyDataMinGrogram:function(t){var e=this;a.i(l._19)(t).then(function(t){e.bodyData=t.list,e.meta=t.meta})},getMinGrogramPoster:function(){var t=this;a.i(l._20)().then(function(e){t.poster=e.link})},getMiniOrderList:function(t){var e=this;if(this.loading=!0,this.dataValue[0])var n=this.dataValue[0].Format();if(this.dataValue[1])var s=this.dataValue[1].Format();var o=this.channel_name;a.i(l._17)({start_time:n,end_time:s,name:o,page:t}).then(function(t){e.bodyData=t.list.map(function(t){return i()(t,{promotion_type:"POSTER_EXTEND"===t.promotion_type?"海报推广":"参数推广",addUserNum:t.addUserNum?t.addUserNum:0,sucOrderNum:t.sucOrderNum?t.sucOrderNum:0,totalOrderNum:t.totalOrderNum?t.totalOrderNum:0,totalChargeAmount:t.totalChargeAmount?t.totalChargeAmount:0})}),e.meta=t.meta,e.loading=!1})},close:function(){this.getMiniOrderList()},getSendOrders:function(){this.getMiniOrderList()},addMiniPromopt:function(){this.miniStatus=!0}},created:function(){var t=this;this.getMiniOrderList(),a.i(l._18)().then(function(e){t.totalStatistics[0].value=e.todayChargeAmount||0,t.totalStatistics[1].value=e.todayAddUserNum||0,t.totalStatistics[2].value=e.totalChargeAmount||0,t.totalStatistics[3].value=e.totalUserNum||0})},mounted:function(){var t=this,e=function(e){t.$message("复制成功"),e.clearSelection()},a=function(e){t.$message.error("复制失败,请自行复制")},n=new r.a(".min-program .copy");n.on("success",e),n.on("error",a)}}},dE1P:function(t,e){},dFdE:function(t,e,a){"use strict";var n=a("d7EF"),i=a.n(n),s=a("//Fk"),o=a.n(s),r=a("mvHQ"),c=a.n(r),l=a("pFYg"),u=a.n(l),p=a("bOdI"),d=a.n(p),m=a("fZjL"),v=a.n(m),h=a("Dd8w"),f=a.n(h),_=a("P4ok"),b=a("46f1"),g=a("gyMJ"),y=a("ZoQJ"),C=a("dhim"),w={shortcuts:[{text:"5分钟后",onClick:function(t){var e=new Date;e.setTime(e.getTime()+3e5),t.$emit("pick",e)}},{text:"10分钟后",onClick:function(t){var e=new Date;e.setTime(e.getTime()+6e5),t.$emit("pick",e)}},{text:"30分钟后",onClick:function(t){var e=new Date;e.setTime(e.getTime()+18e5),t.$emit("pick",e)}}],disabledDate:function(t){return t1)return this.$message.error("检测只可选择单个公众号!");if(this.checkedserver.length<1)return this.$message.error("请选择公众号!");var n=this.checkedserver[0].appid;this.TemplateStatus="检测中请稍候",a.i(g._60)(n,e).then(function(e){t.TemplateStatus=e})},test:function(){if(this.verifyTest()&&this.verify()){if(!(this.is_activity||this.form.book_name.label&&this.form.chapter_name.label))return void this.$message.error("请选择小说和对应章节!");var t=this.form,e=this.template;a.i(g._61)(this.JsonToFormData({uid:t.test,appid:this.checkedserver.map(function(t){return t.appid}).toString(),common_template_id:e.common_template_id,name:t.name,template_content:this.formatTemplate(e),redirect_url:t.redirect}))}},verifyTest:function(){return this.form.test?(this.$refs.test.validateState="",this.$refs.test.validateMessage="",!0):(this.$refs.test.validateState="error",this.$refs.test.validateMessage="请输入测试ID",!1)},getNovelList:function(t){var e=this;this.Noveloading=!0,a.i(g._35)({key:t}).then(function(t){e.Noveloading=!1,e.novelList=t.list.map(function(t){return{label:t.book_name,value:t.book_id,cover:t.cover_url}})}).catch(function(t){if(!t||!t.__CANCEL__)throw t})},confirmNovel:function(t){var e=this;t&&t.value&&(this.chapteroading=!0,this.form.chapter_name={},a.i(g._26)(t.value,15).then(function(t){e.chapteroading=!1,e.chapterList=t.map(function(t){return{label:t.chapter_name,value:t.chapter_id,meta:t.is_need_subscirbe?"s":t.chapter_is_vip?"v":""}})}))},confirmChapter:function(t,e){var a=this.form;a.redirect="/reader?bid="+a.book_name.value+"&cid="+a.chapter_name.value},submitForm:function(){var t=this;if(!this.saveing&&this.verify()){if(!(this.is_activity||this.form.book_name.label&&this.form.chapter_name.label))return void this.$message.error("请选择小说和对应章节!");var e=this.form,n=this.template,i={};this.label.forEach(function(e,a){i[e.key]=Array.isArray(t.selectLable[a])?t.selectLable[a].toString():t.selectLable[a]});var s=f()({name:e.name,common_template_id:n.common_template_id,template_content:this.formatTemplate(n),redirect_url:e.redirect,send_time:new Date(e.sendTime).Format(),appid:this.checkedserver.map(function(t){return t.appid}).toString()},i,{is_full_send:"3"===this.user?"1":"0",book_name:this.form.book_name.label||this.form.name,chapter_name:this.form.chapter_name.label||this.form.name,is_activity:this.form.is_activity});this.saveing=!0;var o=null;this.edit?(s.id=this.$route.query.id,o=a.i(g._62)(this.JsonToFormData(s))):o=a.i(g._63)(this.JsonToFormData(s)),o.then(function(e){t.$router.push({name:C.m.name})}).catch(function(e){t.saveing=!1})}},resetForm:function(){this.$refs.form.resetFields(),this.user="2",this.checkAll=!0,this.isIndeterminate=!1,v()(this.template).length&&this.resetTemplate(this.template)},formatTemplate:function(t){var e=[];return t.content.forEach(function(t){t.forEach(function(t){t.modifiable&&e.push(d()({},t.name,[t.value.replace(/\ud83c[\udc00-\udfff]|\ud83d[\udc00-\udfff]|[\u2600-\u27ff]/g,""),a.i(y.i)(t.color)]))})}),e},resetTemplate:function(t){t.content.forEach(function(t){t.forEach(function(t){t.modifiable&&(t.value="",t.color="")})})},JsonToFormData:function(t){var e=new FormData;for(var a in t)"object"===u()(t[a])?e.append(a,c()(t[a])):e.append(a,t[a]);return e},serverChange:function(t){var e=t.length;this.checkAll=e===this.server.length,this.isIndeterminate=e>0&&e1&&r===o-1?i.splice(0,o,"z"):o>1&&r>=0&&i.splice(r,1),n[t.key]=i.toString()):n[t.key]=i}),n.appids=this.checkedserver.map(function(t){return t.appid}).toString(),this.goodUser="...",a.i(g._64)(n).then(function(t){e.goodUser=t.num})}},beforeRouteEnter:function(t,e,n){n(function(e){e.resetForm();var n=a.i(g._65)().then(function(t){return e.templateList=t,e.template=t[0],e.form.template=0,e.options=t.map(function(t,e){return{value:e,label:t.title}}),t}),s=a.i(g.o)().then(function(t){return e.checkedserver=e.server=t,t}),r=a.i(b.b)().then(function(t){return e.label=t,t});t.query.activity_id&&o.a.all([a.i(g._66)(t.query.activity_id),n]).then(function(t){t[1].forEach(function(a,n){if(a.common_template_id===t[0].common_template_id){var i=JSON.parse(t[0].template_content);e.form.template=n,e.template=a,e.$nextTick(function(){i=i.map(function(t,a){var n=v()(t)[0],i=t[n],s={name:n,value:i[0],color:i[1]};e.template.content.forEach(function(t){t.forEach(function(t){s.name===t.name&&(t.value=s.value,t.color=s.color)})})})})}}),e.form.name=t[0].name,e.form.redirect=t[0].redirect_url,e.is_activity=!0,e.form.is_activity=1}),t.name===C._18.name&&o.a.all([s,a.i(g._67)(t.query.id),n,r]).then(function(t){var n=i()(t,4),s=n[0],o=n[1],r=n[2];n[3];e.checkedserver=[],e.checkAll=!1,s.forEach(function(t){o.appid.indexOf(t.appid)>-1&&(e.checkedserver.push(t),e.serverChange(e.checkedserver))}),r.forEach(function(t,a){if(t.common_template_id===o.common_template_id){var n=JSON.parse(o.template_content);e.form.template=a,e.template=t,e.$nextTick(function(){n=n.map(function(t,a){var n=v()(t)[0],i=t[n],s={name:n,value:i[0],color:i[1]};e.template.content.forEach(function(t){t.forEach(function(t){s.name===t.name&&(t.value=s.value,t.color=s.color)})})})})}}),e.form.sendTime=new Date(o.send_time),e.originName=o.name,e.form.name=o.name,e.form.redirect=o.redirect_url,e.form.is_activity=parseInt(o.is_activity),e.form.is_activity&&(e.is_activity=!0);var c=a.i(y.h)(o.redirect_url);if(e.novelList=[{label:o.book_name,value:c.bid}],e.form.book_name={label:o.book_name,value:c.bid},e.$nextTick(function(){e.form.chapter_name={label:o.chapter_name,value:1*c.cid}}),"1"===o.is_full_send)e.user="3";else{var l=[o.subscribe_time,o.sex,o.order_type,o.balance,o.category_id.split(",").map(function(t){return+t?+t:t})];l.forEach(function(t){var a=Array.isArray(t);(a&&"z"!==t[0]||!a&&"z"!==t)&&(e.user="1",e.$nextTick(function(){e.selectLable=l}))})}})})}}},dXu3:function(t,e){},dhim:function(t,e,a){"use strict";a.d(e,"a",function(){return i}),a.d(e,"c",function(){return s}),a.d(e,"f",function(){return o}),a.d(e,"_1",function(){return r}),a.d(e,"d",function(){return c}),a.d(e,"e",function(){return l}),a.d(e,"_2",function(){return u}),a.d(e,"h",function(){return p}),a.d(e,"g",function(){return d}),a.d(e,"j",function(){return m}),a.d(e,"i",function(){return v}),a.d(e,"k",function(){return h}),a.d(e,"l",function(){return f}),a.d(e,"m",function(){return _}),a.d(e,"_18",function(){return b}),a.d(e,"s",function(){return g}),a.d(e,"t",function(){return y}),a.d(e,"u",function(){return C}),a.d(e,"v",function(){return w}),a.d(e,"_3",function(){return k}),a.d(e,"_4",function(){return A}),a.d(e,"_17",function(){return x}),a.d(e,"n",function(){return S}),a.d(e,"o",function(){return I}),a.d(e,"p",function(){return R}),a.d(e,"_19",function(){return D}),a.d(e,"_20",function(){return z}),a.d(e,"q",function(){return M}),a.d(e,"r",function(){return N}),a.d(e,"w",function(){return T}),a.d(e,"y",function(){return E}),a.d(e,"x",function(){return V}),a.d(e,"z",function(){return L}),a.d(e,"A",function(){return O}),a.d(e,"B",function(){return Q}),a.d(e,"_5",function(){return F}),a.d(e,"G",function(){return U}),a.d(e,"M",function(){return B}),a.d(e,"_6",function(){return J}),a.d(e,"_7",function(){return Z}),a.d(e,"_12",function(){return W}),a.d(e,"_13",function(){return Y}),a.d(e,"_14",function(){return P}),a.d(e,"_15",function(){return j}),a.d(e,"_16",function(){return G}),a.d(e,"H",function(){return H}),a.d(e,"I",function(){return q}),a.d(e,"J",function(){return X}),a.d(e,"_9",function(){return K}),a.d(e,"_10",function(){return $}),a.d(e,"K",function(){return tt}),a.d(e,"L",function(){return et}),a.d(e,"_11",function(){return at}),a.d(e,"b",function(){return nt}),a.d(e,"D",function(){return it}),a.d(e,"E",function(){return st}),a.d(e,"F",function(){return ot}),a.d(e,"C",function(){return rt}),a.d(e,"_8",function(){return ct}),a.d(e,"N",function(){return lt}),a.d(e,"O",function(){return ut}),a.d(e,"P",function(){return pt}),a.d(e,"Q",function(){return dt}),a.d(e,"R",function(){return mt}),a.d(e,"S",function(){return vt}),a.d(e,"T",function(){return ht}),a.d(e,"U",function(){return ft}),a.d(e,"Y",function(){return _t}),a.d(e,"V",function(){return bt}),a.d(e,"W",function(){return gt}),a.d(e,"X",function(){return yt}),a.d(e,"Z",function(){return Ct}),a.d(e,"_0",function(){return wt});var n=a("fp2T"),i={name:"home",redirect:{name:"notify"}},s={path:"/notify",name:"notify",Chinese:"通知公告",icon:"#icon-daohang-tongzhiguanggao"},o={path:"/statisticsState",name:"statisticsState",Chinese:"充值汇总",icon:"#icon-shujuhuizong",hot:!0},r={name:"statistic",Chinese:"充值统计",icon:"#icon-daohang-chongzhijilu"},c={path:"/user",name:"user",Chinese:"用户查询",icon:"#icon-yonghuchaxun"},l={path:"/user/info",name:"userInfo",Chinese:"用户信息",meta:{activeMenu:c.name}},u={name:"promotion",Chinese:"推广运营",icon:"#icon-daohang-tuiguanglianjie1"},p={path:"/promotionNovel",name:"promotionNovel",Chinese:"小说选品",icon:"#icon-daohang-xiaoshuoliebiao",hot:!0},d={path:"/promotionnovelrank",name:"promotionNovelRank",Chinese:"小说排行",icon:"#icon-xiaoshuopaihang"},m={path:"/promotionNovel/:id",name:"promotionNovelInfo",Chinese:"书籍详情",meta:{activeMenu:p.name}},v={path:"/promotionPage",name:"promotionPage",Chinese:"页面推广",icon:"#icon-daohang-mobanxiaoxi"},h={path:"/promotionNotify",name:"promotionNotify",Chinese:"模版消息"},f={path:"new",name:"promotionNotifyNew",Chinese:"新建模板消息",meta:{activeMenu:h.name}},_={path:"",name:"promotionNotifyList",Chinese:"模版消息列表",meta:{activeMenu:h.name}},b={path:"edit",name:"promotionNotifyEdit",Chinese:"编辑模版消息",props:{edit:!0},meta:{activeMenu:h.name}},g={path:"/promotionPlatformActive",name:"promotionPlatformActive",Chinese:"促销活动",meta:{activeMenu:"promotionActive"}},y={path:"/promotionChannelActiveList",name:"promotionChannelActiveList",Chinese:"商户活动列表",meta:{activeMenu:"promotionActive"}},C={path:"/promotionChannelActive",name:"promotionChannelActive",Chinese:"商户活动",meta:{activeMenu:"promotionActive"}},w={path:"/promotionActive",name:"promotionActive",Chinese:"促销活动",redirect:{name:g.name}},k={name:"promotionMinProgram",icon:"#icon-xiaochengxu",Chinese:"小程序推广"},A={path:"/minProgram",name:"minProgram",icon:"#icon-xiaochengxu",Chinese:"小程序"},x={path:"/aliProgram",name:"aliProgram",icon:"#icon-xiaochengxu",Chinese:"支付宝"};h.redirect={name:_.name};var S={path:"/autoPush",name:"autoPush",Chinese:"智能推送",hot:!0},I={path:"/promotionCustomNotify",name:"promotionCustomNotify",Chinese:"客服消息"},R={path:"new",name:"promotionCustomNotifyNew",Chinese:"新建客服消息",meta:{activeMenu:I.name}},D={path:"edit",name:"promotionCustomNotifyEdit",Chinese:"编辑客服消息",props:{edit:!0},meta:{activeMenu:I.name}},z={path:"SmartPush",name:"promotionSmartPushEdit",Chinese:"编辑智能推送",props:{SmartPush:!0},meta:{activeMenu:I.name}},M={path:"",name:"promotionCustomNotifyList",Chinese:"客服消息列表",meta:{activeMenu:I.name}};I.redirect={name:M.name};var N={path:"/promotionMaterial",name:"promotionMaterial",Chinese:"图文素材"},T={path:"/promotionKey",name:"promotionKey",Chinese:"关键字回复"},E={path:"list",name:"promotionKeyList",Chinese:"关键字列表",meta:{activeMenu:T.name}},V={path:"new",name:"promotionKeyNew",props:{edit:!1},Chinese:"新建关键字",meta:{activeMenu:T.name}},L={path:"edit",name:"promotionKeyEdit",Chinese:"编辑关键字",props:{edit:!0},meta:{activeMenu:T.name}};T.redirect={name:E.name};var O={name:"novel-copy",path:"/novelCopy/:id",Chinese:"小说推广模板"},Q={name:"novel-reader",path:"/novelReader/:id/:cid",Chinese:"章节内容"},F={name:"statistics",Chinese:"数据分析",icon:"#icon-daohang-shujufenxi1"},U={path:"/statisticsPromote",name:"statisticsPromote",Chinese:"派单统计",icon:"#icon-daohang-shujufenxi",hot:!0},B={path:"/staitsticsFilling",name:"staitsticsFilling",Chinese:"续充统计",icon:""},J={path:"/statisticsFans",name:"statisticsFans",Chinese:"粉丝统计",hot:!0},Z={path:"/statisticsAutoPush",name:"statisticsAutoPush",Chinese:"推送统计"},W={path:"notpay",name:"statisticsAutoPushNotPay",props:{type:"notPay"},Chinese:"未支付提醒",meta:{activeMenu:Z.name,module:n.a}},Y={path:"pointpush",name:"statisticsAutoPushPointPush",props:{type:"pointPush"},Chinese:"定制书籍推送",meta:{activeMenu:Z.name,module:n.a}},P={path:"hotpush",name:"statisticsAutoPushHotpush",props:{type:"hotPush"},Chinese:"热门书籍推送",meta:{activeMenu:Z.name,module:n.a}},j={path:"unpaidsendactivity",name:"statisticsAutoPushUnpaidSendActivity",props:{type:"unpaid_send_activity"},Chinese:"新用户大礼包",meta:{activeMenu:Z.name,module:n.a}},G={path:"customtrusteeship",name:"statisticsAutoPushCustomTrusteeship",props:{type:"auto_custom_trusteeship"},Chinese:"客服消息托管",meta:{activeMenu:Z.name,module:n.a}},H={path:"/statisticsRecord",name:"statisticsRecord",Chinese:"充值记录",icon:"#icon-daohang-chongzhijilu"},q={path:"/statisticsCenter",name:"statisticsCenter",Chinese:"结算中心",icon:"#icon-daohang-dingdanjiesuan",redirect:{name:"statisticsAmount"}},X={path:"amount",name:"statisticsAmount",Chinese:"结算信息",meta:{activeMenu:q.name},redirect:{name:"statisticsAmountDate"}},K={path:"date",name:"statisticsAmountDate",Chinese:"按日期结算",props:{type:"date"},meta:{activeMenu:q.name,activeTitle:X.name}},$={path:"officialaccount",name:"statisticsAmountOfficialAccount",props:{type:"official-account"},Chinese:"按公众号结算",meta:{activeMenu:q.name,activeTitle:X.name}},tt={path:"withdraw",name:"statisticsWithdraw",Chinese:"提现信息",meta:{activeMenu:q.name}},et={path:"wthdrawSetting",name:"statisticsWithdrawSetting",Chinese:"提现设置",meta:{activeMenu:q.name}};q.redirect={name:X.name};var at={path:"/novelToPic",name:"novelToPic",Chinese:"文字转图片"},nt={path:"login",name:"login",Chinese:"账号登录",meta:{Chinese:"账号登录"}},it={path:"register",name:"register",Chinese:"账号注册",meta:{Chinese:"账号注册"}},st={path:"password",name:"password",Chinese:"修改密码",meta:{Chinese:"修改密码"}},ot={path:"find",name:"find",Chinese:"密码找回",meta:{Chinese:"密码找回"}},rt={path:"/passport",name:"passport",redirect:{name:nt.name}},ct={name:"setting",Chinese:"系统设置",icon:"#icon-daohang-gongzhonghaotixing"},lt={name:"settingService",Chinese:"服务号设置",icon:"#icon-daohang-gongzhonghaotixing",path:"/service"},ut={name:"serviceNew",path:"new",Chinese:"新增服务号",meta:{activeMenu:lt.name}},pt={name:"serviceList",path:"list",Chinese:"服务号列表",meta:{activeMenu:lt.name}},dt={name:"serviceOption",path:"option",Chinese:"设置服务号",meta:{activeMenu:lt.name}},mt={name:"customerServer",path:"/customerServer",Chinese:"客服设置"},vt={name:"siteList",path:"/siteList",Chinese:"站点列表"},ht={name:"paySetting",path:"/paySetting",Chinese:"充值金额设置"},ft={name:"focusReply",path:"/focusReply",Chinese:"关注回复设置"},_t={name:"focusreplylist",path:"/focusreplylist",Chinese:"关注回复列表"},bt={name:"focusReplySystem",path:"system",Chinese:"系统默认",meta:{activeMenu:ft.name}},gt={name:"focusReplyPicture",path:"picture",Chinese:"图文回复",meta:{activeMenu:ft.name}},yt={name:"focusReplyText",path:"text",Chinese:"文字回复",meta:{activeMenu:ft.name}},Ct={name:"oldSetting",path:"old",Chinese:"阅读器设置"},wt={name:"NotFound",path:"/404"}},dlng:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"set-server"},[a("dl",{staticClass:"server-info"},[a("dt",[a("img",{attrs:{src:t.officialAccount.head_img}})]),t._v(" "),a("dd",[a("p",[a("span",{staticStyle:{color:"#333","font-size":"15px"}},[t._v(t._s(t.officialAccount.nickname))]),t._v(" "),"2"===t.officialAccount.service_type_info?a("el-tag",{attrs:{color:"#1581ff"}},[t._v("服务号")]):t._e(),t._v(" "),t.officialAccount.is_auth?a("el-tag",{attrs:{color:"#f6a623"}},[t._v("已认证")]):t._e()],1),t._v(" "),a("p",[t._v(t._s(t.officialAccount.name))]),t._v(" "),a("p",[t._v(t._s(t.officialAccount.appid))])])]),t._v(" "),a("div",{staticClass:"server-settings"},[a("h3",[t._v("授权设置")]),t._v(" "),a("div",{staticClass:"server-settings-item"},[t._m(0),t._v(" "),a("p",{staticStyle:{margin:"20px 0","line-height":"2em"}},[t._v("设置请前往\n "),a("span",{staticClass:"red"},[t._v("微信后台 > 公众号设置 > 功能设置")]),t._v(" "),a("br"),t._v(" "),a("span",[t._v("点击设置业务域名下载第3条里的文件,上传到阅读云")]),a("br"),t._v(" "),t.officialAccount.verify_txt?a("span",[t._v(" 已上传文件:"+t._s(t.officialAccount.verify_txt)+" ")]):t._e()]),t._v(" "),a("el-upload",{staticClass:"upload-demo",attrs:{drag:"","http-request":t.upload,action:"",data:{name:t.officialAccount.name}}},[a("i",{staticClass:"dragger"}),t._v(" "),a("div",{staticClass:"el-upload__text"},[t._v("将文件拖到此处,或\n "),a("em",[t._v("点击上传")])])])],1),t._v(" "),a("div",{staticClass:"server-settings-item"},[t._m(1),t._v(" "),t._m(2),t._v(" "),a("div",{staticClass:"server-settings-message"},[a("p",[a("span",{staticClass:"label"},[t._v("业务域名:")]),t._v(t._s(t.domain)+"/wechat/\n "),a("el-tag",{staticClass:"copy ",staticStyle:{"margin-left":"1em"},attrs:{color:"#32dc86","data-clipboard-text":t.domain}},[t._v("复制")])],1),t._v(" "),a("p",[a("span",{staticClass:"label"},[t._v("JS接口安全域名:")]),t._v(t._s(t.domain)+"/wechat/\n "),a("el-tag",{staticClass:"copy ",staticStyle:{"margin-left":"1em"},attrs:{color:"#32dc86","data-clipboard-text":t.domain}},[t._v("复制")])],1),t._v(" "),a("p",[a("span",{staticClass:"label"},[t._v("网页授权域名:")]),t._v(t._s(t.domain)+"/wechat/\n "),a("el-tag",{staticClass:"copy ",staticStyle:{"margin-left":"1em"},attrs:{color:"#32dc86","data-clipboard-text":t.domain}},[t._v("复制")])],1)])]),t._v(" "),a("div",{staticClass:"server-settings-item"},[t._m(3),t._v(" "),t._m(4),t._v(" "),a("div",{staticClass:"server-settings-input"},[a("span",[t._v("APP Secret:")]),t._v(" "),a("el-input",{model:{value:t.officialAccount.appsecret,callback:function(e){t.officialAccount.appsecret=e},expression:"officialAccount.appsecret"}})],1)]),t._v(" "),a("div",{staticClass:"server-settings-item"},[t._m(5),t._v(" "),a("p",{staticStyle:{margin:"20px 0"}},[t._v(" 设置每天新增关注粉丝人数上限阈值,防止被微信清理粉丝,当日服务号加满后自动关注到下一个服务号。 ")]),t._v(" "),a("div",{staticClass:"server-settings-input"},[a("span",[t._v("日关注上限:")]),t._v(" "),a("el-input",{model:{value:t.officialAccount.subscribe_day_maximum,callback:function(e){t.officialAccount.subscribe_day_maximum=e},expression:"officialAccount.subscribe_day_maximum"}})],1),t._v(" "),a("div",{staticClass:"server-settings-input",staticStyle:{"margin-top":"20px"}},[a("span",[t._v("总关注上限:")]),t._v(" "),a("el-input",{model:{value:t.officialAccount.subscribe_top_num,callback:function(e){t.officialAccount.subscribe_top_num=e},expression:"officialAccount.subscribe_top_num"}})],1),t._v(" "),a("el-button",{staticClass:"big",attrs:{type:"primary"},on:{click:function(e){t.save(t.officialAccount.name,t.officialAccount.appsecret,t.officialAccount.subscribe_day_maximum,t.officialAccount.subscribe_top_num)}}},[t._v("保存")])],1),t._v(" "),a("div",{staticClass:"server-settings-explain"},[t._v("\n 注意:您必须完成以上4步的设置,才能正常使用小说cps平台。未完成设置将会引起部分页面打不开或支付失败。\n ")])])])},i=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",{staticStyle:{margin:"20px 0"}},[a("span",{staticClass:"num"},[t._v("1")]),t._v(" 文件上传")])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",{staticStyle:{margin:"20px 0"}},[a("span",{staticClass:"num"},[t._v("2")]),t._v(" 公众号设置")])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",{staticStyle:{margin:"20px 0"}},[t._v("设置请前往\n "),a("span",{staticClass:"red"},[t._v("微信后台 > 公众号设置 > 功能设置")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",{staticStyle:{margin:"20px 0"}},[a("span",{staticClass:"num"},[t._v("3")]),t._v(" 密钥设置\n ")])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",{staticStyle:{margin:"20px 0"}},[t._v("设置请前往\n "),a("span",{staticClass:"red"},[t._v("基本配置 > 开发者ID > 应用密匙")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",{staticStyle:{margin:"20px 0"}},[a("span",{staticClass:"num"},[t._v("4")]),t._v(" 服务号安全设置\n ")])}],s={render:n,staticRenderFns:i};e.a=s},dmwm:function(t,e,a){"use strict";function n(t){a("Jlix")}var i=a("vq+U"),s=a("k+c9"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,"data-v-ac007c50",null);e.a=c.exports},dyFx:function(t,e){},e4k8:function(t,e,a){"use strict";function n(t){a("cojc")}var i=a("WYwB"),s=a("fQhd"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,"data-v-10768c1c",null);e.a=c.exports},eA10:function(t,e,a){"use strict";var n,i=a("bOdI"),s=a.n(i),o=a("fp2T"),r=a("dhim"),c=a("3srV"),l={role:"service",shelter:{name:r._0.name},promotionCopy:!0,promotionLink:!0,promotionSave:!1,subscribe:!1,material:!0,route:(n={},s()(n,r.c.name,!0),s()(n,r.d.name,!0),s()(n,r.e.name,!0),s()(n,r.f.name,!0),s()(n,r.h.name,!0),s()(n,r.i.name,!0),s()(n,r.j.name,!0),s()(n,r.k.name,!0),s()(n,r.l.name,!0),s()(n,r.m.name,!0),s()(n,r.n.name,!0),s()(n,r.o.name,!0),s()(n,r.p.name,!0),s()(n,r.q.name,!0),s()(n,r.r.name,!0),s()(n,r.s.name,!0),s()(n,r.t.name,!0),s()(n,r.u.name,!0),s()(n,r.v.name,!0),s()(n,r.w.name,!0),s()(n,r.x.name,!0),s()(n,r.y.name,!0),s()(n,r.z.name,!0),s()(n,r.A.name,!0),s()(n,r.B.name,!0),s()(n,r.C.name,!0),s()(n,r.b.name,!0),s()(n,r.D.name,!0),s()(n,r.E.name,!0),s()(n,r.F.name,!0),s()(n,r.G.name,!0),s()(n,r.H.name,!0),s()(n,r.I.name,!0),s()(n,r.J.name,!0),s()(n,r.K.name,!0),s()(n,r.L.name,!0),s()(n,r.M.name,!1),s()(n,o.a.name,!0),s()(n,r.N.name,!0),s()(n,r.O.name,!0),s()(n,r.P.name,!0),s()(n,r.Q.name,!0),s()(n,r.R.name,!0),s()(n,r.S.name,!0),s()(n,r.T.name,!0),s()(n,r.U.name,!0),s()(n,r.V.name,!0),s()(n,r.W.name,!0),s()(n,r.X.name,!0),s()(n,r.Y.name,!0),s()(n,r.Z.name,!0),s()(n,r._0.name,!0),n),menu:a.i(c.a)([[r.c],[r._1,[r.f,r.H]],[r._2,[r.h,r.o,r.v,r.n,r.k,r.w,r.i,r.r]],[r._3,[r._4]],[r._5,[r.G,r._6,r._7]],[r.I],[r.d],[r._8,[r.N,r.T,r.U,r.Z,r.R,r.S,r.Y]]])};e.a=l},eJSA:function(t,e,a){"use strict";function n(t){a("2DmB")}var i=a("uxEC"),s=a("oFLX"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},eOhU:function(t,e){},eVeq:function(t,e,a){"use strict"},ejVH:function(t,e){},epbv:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"sub-title",attrs:{"data-template":"sub-title"}},[t._l(t.title,function(e){return a("span",{key:e.value,class:{active:e.value===t.index},on:{click:function(a){t.check(e.value)}}},[t._v(t._s(e.label))])}),t._v(" "),t._t("default")],2)},i=[],s={render:n,staticRenderFns:i};e.a=s},fFiZ:function(t,e,a){"use strict";function n(t){a("/Z03"),a("o/DY")}var i=a("SZCa"),s=a("Z+hU"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,"data-v-0f8f6ae2",null);e.a=c.exports},fGsi:function(t,e,a){"use strict";function n(t){a("xUoB")}var i=a("JKT8"),s=a("IWHy"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},fPjG:function(t,e,a){"use strict";var n=a("d7EF"),i=a.n(n),s=a("//Fk"),o=a.n(s),r=a("dhim"),c=a("kv5B"),l=a("gyMJ"),u=a("BYEm");e.a={name:r.j.name,components:{"x-popup":u.a},data:function(){return{Chinese:r.j.Chinese,novelCopy:r.A.name,novelReader:r.B.name,novelToPic:r._11.name,id:this.$route.params.id,info:{},chapters:[],showChapters:[],page:1,dialog:!1,checkedChapter:{},loading:!0,promotionLimit:5,isSite123:~window.options.domain.indexOf("site123")}},methods:{getChapters:function(){var t=this;return a.i(l._26)(this.$route.params.id).then(function(e){return t.loading=!1,t.chapters=e,t.getShowChapters(t.page=1),e})},getShowChapters:function(t){this.showChapters=this.chapters.slice(30*t-30,30*t)},handleCurrentChange:function(t){this.getShowChapters(t),a.i(c.a)(this.$refs.table,this.$refs.root.parentNode)},createLink:function(t){this.checkedChapter=t,this.dialog=!0},init:function(t){var e=this,n=a.i(l.m)(t).then(function(t){return e.info=t,t}),s=this.getChapters(),r=a.i(l._27)(t);o.a.all([n,s,r]).then(function(t){var a=i()(t,3),n=a[0],s=a[1],o=a[2],r=s.find(function(t){return t.chapter_sequence==n.force_subscribe_chapter_seq});r&&(n.force_subscribe_chapter_id=r.chapter_id,n.force_subscribe_chapter_name=r.chapter_name,e.promotionLimit=o.length)})},setSubscribe:function(t){var e=this,n=this.chapters.find(function(t){return t.chapter_sequence===e.info.force_subscribe_chapter_seq});a.i(l._28)({book_id:this.info.book_id,subscribe_chapter_seq:t.chapter_sequence}).then(function(a){n.channel_subscribe=0,e.$set(t,"channel_subscribe",1),e.info.force_subscribe_chapter_seq=t.chapter_sequence,e.info.force_subscribe_chapter_id=t.chapter_id,e.info.force_subscribe_chapter_name=t.chapter_name})}},beforeRouteUpdate:function(t,e,a){a(),this.init(t.params.id)},created:function(){this.init(this.$route.params.id)}}},fQhd:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"service-setting"},[a("div",{staticClass:"title"},[t._v(t._s(t.Chinese))]),t._v(" "),a("x-sub-title",{attrs:{item:t.tabTitle,default:t.$route.name},on:{"change-item":t.changeTextItem}}),t._v(" "),a("router-view")],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},fp2T:function(t,e,a){"use strict";a.d(e,"a",function(){return n});var n="autoPush"},fuW7:function(t,e){},"ge+E":function(t,e,a){"use strict";var n=a("dhim"),i=a("gyMJ");e.a={data:function(){return{commit:n.T,choose:[{value:1,label:"模板一",img:"https://cdn-novel.iycdm.com/distribution/20181101/1.png"},{value:2,label:"模板二",img:"https://cdn-novel.iycdm.com/distribution/20181101/2.png"}],radio:1,current:1,dialogVisible:!1}},methods:{change:function(t){this.dialogVisible=!0},reset:function(){this.dialogVisible=!1,this.radio=1===this.radio?2:1},confirm:function(){var t=this;this.dialogVisible=!1,a.i(i.F)(this.radio).then(function(e){t.getTemplate()}).catch(function(e){t.radio=1===t.radio?2:1})},getTemplate:function(){var t=this;a.i(i.G)().then(function(e){t.current=e.type,t.radio=e.type})}},created:function(){this.getTemplate()}}},gkaf:function(t,e){},glz1:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-form-item",{staticClass:"verification-code is-required",attrs:{label:"验证码",error:t.error}},[a("el-input",{model:{value:t.code,callback:function(e){t.code=e},expression:"code"}}),t._v(" "),a("el-button",{staticClass:"verification-code-btn",attrs:{disabled:!!t.effective,type:"primary"},on:{click:t.getCode}},[t._v(t._s(t.effective?"重新获取("+t.effective+")":"获取验证码"))])],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},gpNc:function(t,e,a){"use strict";function n(t){a("H6bH")}var i=a("6clh"),s=a("dlng"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,"data-v-022dc4a8",null);e.a=c.exports},gt4Y:function(t,e,a){"use strict";var n=a("dhim"),i=a("XgVn"),s=a("8Nrt"),o=a("gyMJ");e.a={name:n.E.name,components:{"x-verification-code":i.a},data:function(){return{form:{phone:"",sms_code:"",password:"",repassword:""},rules:a.i(s.a)({rules:["phone","password","repassword"],context:this})}},methods:{find:function(){var t=this;this.$refs.form.validate(function(e){e&&a.i(o.c)({phone:t.form.phone,password:t.form.password,password_repeat:t.form.repassword,sms_code:t.form.sms_code}).then(function(e){t.$router.push({name:n.D.name})})})}}}},gyMJ:function(t,e,a){"use strict";function n(t){var e=new FormData;for(var n in t)a.i(aa.a)(t[n])?e.append(n,Ke()(t[n])):e.append(n,t[n]);return e}function i(t,e){var a=Math.round(t/e*100);return isNaN(a)||a===1/0?"0%":a+"%"}function s(t){return t&&!t.notice_type_id&&delete t.notice_type_id,a.i($e.a)("/simpleNotices",{params:t})}function o(t){return a.i($e.a)("/getNotice?id="+t)}function r(t){return a.i($e.a)("/noticeTypes",{params:t,type:ca,name:"noticesTypes"})}function c(t){return a.i($e.a)("/promotion/promotionPages",{params:t,type:la,name:"promotionPages"}).then(function(t){return t.map(function(t){return t.link=window.options.domain+t.link,t})})}function l(t){return a.i($e.a)("/promotion/headlines",{params:t,type:ua,name:"headlines"})}function u(t){return a.i($e.a)("/promotion/documentCovers",{params:t,type:pa,name:"documentCovers"})}function p(t){return a.i($e.a)("/promotion/bodyTemplates",{params:t,type:da,name:"bodyTemplates"})}function d(t){return a.i($e.a)("/promotion/originalGuides",{params:t,type:ma,name:"originalGuides"})}function m(t){return a.i($e.a)("/promotion/getQrCodes",{params:t,type:va,name:"getQrCodes"})}function v(t){return a.i($e.a)("/book/fiveChapterImage",{params:{bid:t}})}function h(){return a.i($e.a)("/promotion/getBgImages")}function f(t){var e=t.type,n=t.id,i=t.sequence;return Pe.a.all([l({type:e}),u(),p(),d(),b(n),k(n,50),x(n),m(),v(n),h()]).then(function(t){var e=a.i(aa.b)(t[0],[["id","id"],["title","data"]]),n=a.i(aa.b)(t[1],[["id","id"],["origin_cover","data"]]),s=a.i(aa.b)(t[2],[["id","id"],["content","data"],["style","style"]]),o=a.i(aa.b)(t[3],[["id","id"],["content","data"]]),r=a.i(aa.b)(t[7],[["id","id"],["codeUrl","data"]]),c=a.i(aa.b)(t[9],[["id","id"],["link","data"]]);return r.unshift({id:0,data:void 0}),t[6].forEach(function(t,e){t.index=e+1}),{source:{titles:e,covers:n,articles:s,guides:o,qrCodes:r,bgImage:c},bookInfo:t[4],chapters:t[5],contents:t[6],contentImgs:t[8],template:{title:a.i(aa.c)(e),cover:a.i(aa.c)(n),article:a.i(aa.c)(s),guide:a.i(aa.c)(o),bgImage:a.i(aa.c)(c),qrCode:r[0],end:t[6].find(function(t){return t.chapter_sequence==i})}}})}function _(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{headline_id:headline_id,template_image_id:template_image_id,original_guide_id:original_guide_id,chapter_id:chapter_id,book_id:book_id,book_name:book_name,chapter_name:chapter_name,name:name,cost:cost,channel_type:channel_type,promotion_type:promotion_type,promotion_point:promotion_point,subscribe_chapter_id:subscribe_chapter_id,subscribe_chapter_name:subscribe_chapter_name,subscribe_chapter_seq:subscribe_chapter_seq};return $e.a.post("/sendOrder/createFromPromotionImageTemplate",t)}function b(t){return a.i($e.a)("/book/getBookInfo?bid="+t,{type:ha,name:"bookInfo"})}function g(t){return g.cancelToken&&g.cancelToken.cancel("cancel"),g.cancelToken=ea.a.CancelToken.source(),a.i($e.a)("/book/getPromotionBookList",{params:t,type:fa,name:"bookList",cancelToken:g.cancelToken.token})}function y(t){return y.cancelToken&&g.cancelToken.cancel("cancel"),g.cancelToken=ea.a.CancelToken.source(),a.i($e.a)("/book/getPromotionBookListV2",{params:t,cancelToken:g.cancelToken.token})}function C(){return Pe.a.all([a.i($e.a)("/book/getRanks?type=new").then(function(t){return{list:t,name:"新书榜"}}),a.i($e.a)("/book/getRanks?type=sale_total").then(function(t){return{list:t,name:"销售榜"}}),a.i($e.a)("/book/getRanks?type=sale_half_month").then(function(t){return{list:t,name:"销售榜"}}),a.i($e.a)("/book/getRanks?type=recommend").then(function(t){return{list:t,name:"推荐榜"}})])}function w(t,e){a.i($e.a)("/book/score",{method:"post",data:{score:t,bid:e}})}function k(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:180;return a.i($e.a)("/book/getBookDirectory?bid="+t+"&pageSize="+e,{type:_a,name:"chapters"}).then(function(t){return t.list})}function A(t){return $e.a.post("/book/setSubScribleChapter",t)}function x(t){return a.i($e.a)("/book/getTopFiveChapterContents/?bid="+t,{type:ba,name:"templateChapters"}).then(function(t){return t.map(function(t){return t.chapter_content=t.content,delete t.content,t})})}function S(t,e){return a.i($e.a)("/book/getChapterContent?bid="+t+"&cid="+e,{type:ga,name:"NovelContent"})}function I(t){return $e.a.post("/sendOrder/createFromPage",n(t)).then(function(t){return t.promotion_url=t.promotion_url,t})}function R(t){return $e.a.post("/sendOrder/createFromChapter",n(t)).then(function(t){return t.promotion_url=t.promotion_url,t})}function D(t){return $e.a.post("/sendOrder/createFromDirectory",n(t)).then(function(t){return t.promotion_url=t.promotion_url,t})}function z(t){return a.i($e.a)({method:"post",message:"修改成功",url:"/sendOrder/updateSendOrderInfo",data:t})}function M(t){window.options.domain;return a.i($e.a)("/sendOrder/getSendOrders",{params:t,type:ya,name:"chapters"}).then(function(t){return t.list.forEach(function(t){t.redirect_url=t.domain+t.redirect_url,t.totalChargeAmountString=a.i(aa.d)(t.totalChargeAmount),t.rateOfAttention=i(t.fansNum,t.registerNum),t.profit=a.i(aa.d)(t.totalChargeAmount-t.cost).slice(2),t.ratioOfSalesToCost=i(t.totalChargeAmount,t.cost)}),t})}function N(t){return $e.a.post("/sendOrder/updateStarNumAndRemark",t)}function T(t){return a.i($e.a)({url:"/sendOrder/setCost",data:t,message:"修改成本成功",method:"post"})}function E(t){return a.i($e.a)({url:"/sendOrder/uploadSendOrders",data:n(t),responseType:"blob",message:"导入成功",method:"post"})}function V(t){var e=document.createElement("a");e.setAttribute("href",t),e.click()}function L(t){return a.i($e.a)({url:"/sendOrder/removeSendOrder",data:t,message:"删除成功",method:"post"})}function O(t){return a.i($e.a)("/bills",{params:t,type:Ca,name:"bills"}).then(function(t){return t.list.forEach(function(t){t.recharge_amount=a.i(aa.d)(t.recharge_amount),t.settlement_price=a.i(aa.d)(t.settlement_price)}),t})}function Q(t){var e=document.createElement("a");e.setAttribute("href",t),e.click()}function F(t){return a.i($e.a)("/OfficialAccountBills/getList",{params:t})}function U(){return a.i($e.a)("/getCashAccount",{notErrMessage:!0})}function B(t){return $e.a.post("/addCashAccount",t)}function J(){return a.i($e.a)("/getWithdrawCashStatus").then(function(t){return t.map(function(t){return{text:t.name,status:t.code}})})}function Z(t){var e={"待审核":"#ffd43f","手动打款中":"#999999","自动打款中":"#999999","打款成功":"#3def91","自动打款成功":"#3def91","人工打款成功":"#3def91","审核不通过":"#ff5d5d","人工待打款":"#999999","自动待打款":"#999999","人工打款失败":"#ff5d5d","自动打款失败":"#ff5d5d"};return a.i($e.a)("/withdrawCashs",{params:t,type:wa,name:"withdrawCashes"}).then(function(t){return t.list.forEach(function(t){t.withdraw_amount=a.i(aa.d)(t.amount),t.pay_amount=a.i(aa.d)(t.pay_amount),t.color=e[t.status]}),t})}function W(t){return $e.a.post("/addWithdrawCash",t,{message:"提现成功"})}function Y(t){var e={PAID:"已支付",UNPAID:"未支付",FAIL:"失败",REFUND:"退款"},n={PAID:"#39a4ff",UNPAID:"#ff6060",FAIL:"#666666",REFUND:"#32dc86"};return a.i($e.a)("/trade/orders",{params:t,type:ka,name:"orders"}).then(function(t){return t.list.forEach(function(t){t.price=a.i(aa.d)(t.price),t.status_color=n[t.status],t.status_label=e[t.status]}),t})}function P(t){var e=document.createElement("a");e.setAttribute("href",t),e.click()}function j(t){return a.i($e.a)("OfficialAccount/wechatTemplateMsgBydistributionChannelId",{params:{page:t},type:Aa,name:"WechatTemplateMsgs"}).then(function(t){var e=["失败","待发送","发送中","已发送","已停止"];return e[8]="发送中",t.list.forEach(function(t){t.modified="1"===t.status,t.label=e[t.status]}),t})}function G(t){return a.i($e.a)("/OfficialAccount/wechatTemplateMsgById",{params:{id:t}})}function H(){window.options.distribution_channel_id;return a.i($e.a)("/OfficialAccount/wechatPublicTemplateList",{type:xa,name:"WechatTemplate"}).then(function(t){return t.map(function(t){return t.content=t.content.split(/[\r\n]+/g).map(function(t){return t.match(/[^{]+?(?={{)|{{.+?}}/g).map(function(t){return 0===t.indexOf("{{")?{value:"",modifiable:!0,color:"",name:t.slice(2,-2)}:{value:t,modifiable:!1}})}),t})})}function q(t){return $e.a.post("/OfficialAccount/updateWechatTemplateStatus",{id:t,status:4})}function X(t){return a.i($e.a)({url:"/OfficialAccount/addWechatTemplateMsg",data:t,message:"创建成功",method:"post"})}function K(t){return a.i($e.a)({url:"/OfficialAccount/testAddWechatTemplateMsg",data:t,message:"已发送",method:"post"})}function $(t){return a.i($e.a)({url:"/OfficialAccount/updateWechatTemplateMsgById",data:t,message:"编辑成功",method:"post"})}function tt(t){return a.i($e.a)("/OfficialAccount/delWechatTemplateMsg",{params:{id:t}})}function et(t){return a.i($e.a)("/activity/quickCreatedTemplateMsg",{params:{activity_id:t}})}function at(){return a.i($e.a)("/OfficialAccount/officialAccountAuthUrl")}function nt(t){return a.i($e.a)("/OfficialAccount/allOfficialAccountBydistributionChannelId",{type:Sa,name:"userStat"}).then(function(t){return t.forEach(function(t){t.is_auth_status=t.is_auth,t.is_auth=t.is_auth?"已授权":"未授权",t.is_enabled_status=t.is_enabled,t.is_enabled=t.is_enabled?"强关可用":"强关异常"}),t})}function it(t){return $e.a.post("/OfficialAccount/updateOfficialAccount",t)}function st(t){return $e.a.post("/officialAccounts/verify",t)}function ot(t){return $e.a.post("/officialAccounts/secretSet",t)}function rt(t){return $e.a.post("/officialAccounts/update",t)}function ct(t){return $e.a.post("/channels/setSubscribeType",t)}function lt(t,e){var n=new FormData;return n.append("phone",t),n.append("number",e),a.i($e.a)({url:"/auth/sms",data:n,message:"已发送",method:"post"})}function ut(t){var e=new FormData;return e.append("phone",t),a.i($e.a)({url:"/auth/retrieveSms",data:e,message:"已发送",method:"post"})}function pt(){return a.i($e.a)({url:"/getCashAccountSms ",message:"已发送",method:"get"})}function dt(t){return a.i($e.a)({method:"post",url:"/auth/register",data:t,message:"注册成功"})}function mt(t){return a.i($e.a)({method:"post",url:"/auth/login",data:t,message:!1})}function vt(t){return a.i($e.a)({method:"post",url:"/auth/modifyPassword",data:t,message:"修改成功"})}function ht(t){return a.i($e.a)({method:"post",url:"/auth/retrieve",data:n(t),message:"找回成功"})}function ft(){return a.i($e.a)("/banks").then(function(t){return t.map(function(t){return{label:t.name,value:t.id}})})}function _t(t){return $e.a.post("/OfficialAccount/uploadCustomerImgUrl",t)}function bt(){return a.i($e.a)("/OfficialAccount/customerImgUrlByChannelId")}function gt(t){return a.i($e.a)("/trade/orderDayStats",{params:t}).then(function(t){return t.list.forEach(function(t){t.total_num=t.paid_num+t.unpaid_num}),t})}function yt(){return a.i($e.a)("/trade/channelTodayData")}function Ct(){return a.i($e.a)("/trade/getChannelTotalStat").then(function(t){return t.total_num=t.paid_num+t.unpaid_num,t})}function wt(t){wt.source&&wt.source.cancel();var e=sa.source();return wt.source=e,a.i($e.a)("/OfficialAccount/forceUserCountByTemplatePrams",{cancelToken:e.token,params:t}).catch(function(t){return ea.a.isCancel(t)?{num:"..."}:Pe.a.reject()})}function kt(t){wt.source&&wt.source.cancel();var e=sa.source();return wt.source=e,a.i($e.a)("/OfficialAccount/forceUserCountByCustomPrams",{cancelToken:e.token,params:t}).catch(function(t){return ea.a.isCancel(t)?{num:"..."}:Pe.a.reject()})}function At(t){return a.i($e.a)("/user/userinfo?uid="+t)}function xt(t,e,n){xt.source&&xt.source.cancel();var i=sa.source();switch(xt.source=i,t){case"a":return a.i($e.a)("order/chargeRecordLists",{params:{uid:e,page:n},source:i});case"b":return a.i($e.a)("order/chapterOrderList",{params:{uid:e,page:n},source:i});case"c":return a.i($e.a)("order/bookOrderList",{params:{uid:e,page:n},source:i});default:return Pe.a.reject()}}function St(){return a.i($e.a)("OfficialAccount/customMsgSwitchsByChannelId")}function It(t){return a.i($e.a)({message:"修改成功",url:"/OfficialAccount/customMsgSwitchSetting",method:"post",data:t})}function Rt(t){return a.i($e.a)("/OfficialAccount/customSendStatsByChannelAndFrom",{params:{from:a.i(aa.e)(t)}})}function Dt(t,e){return a.i($e.a)("/OfficialAccount/customSendDayStatsByChannelAndFrom",{params:{from:a.i(aa.e)(t),page:e}})}function zt(t){return a.i($e.a)("OfficialAccount/customSendMsgsByChannelId",{params:{page:t}}).then(function(t){return t.list.forEach(function(t){t.modified=!1,"1"===t.status?(t.customer_status="待发送",t.modified=!0):"3"===t.status?t.customer_status="已发送":"4"===t.status?t.customer_status="已停止":"8"===t.status?t.customer_status="发送中":t.customer_status="其他",t.use_condition=na.a.reduce(function(e,a,n,i){return"z"===t[a]?e:"部分用户"},"全部用户")}),t})}function Mt(t){return a.i($e.a)("/OfficialAccount/checkSexAllEdit",{params:{category_type:t},notErrMessage:!0})}function Nt(t,e){return a.i($e.a)("/OfficialAccount/smartPushByDistributionChannelIdAndCategorySex",{params:{category_type:t,sex:e},notErrMessage:!0})}function Tt(t){return a.i($e.a)("/OfficialAccount/customSendMsgsById",{params:{id:t}})}function Et(){return a.i($e.a)("/OfficialAccount/getAllDocumentCovers")}function Vt(){return a.i($e.a)("/OfficialAccount/getAllHeadlinesNoType")}function Lt(t){return a.i($e.a)({url:"/OfficialAccount/updateSmartPushMsg",method:"post",message:"已更新",data:t})}function Ot(t){return a.i($e.a)({url:"/OfficialAccount/addSmartPushMsg",method:"post",message:"已添加",data:t})}function Qt(t){return a.i($e.a)({url:"/OfficialAccount/testAddCustomSendMsgs",method:"post",message:"已发送",data:t})}function Ft(t){return a.i($e.a)({url:"/OfficialAccount/addCustomSendMsgs",method:"post",message:"已保存",data:t})}function Ut(t){return a.i($e.a)({url:"/OfficialAccount/editCustomSendMsgs",method:"post",message:"已更新",data:t})}function Bt(t){return a.i($e.a)({url:"/OfficialAccount/stopCustomSendMsgsById",method:"post",message:"已停止",data:t})}function Jt(t){return a.i($e.a)("/OfficialAccount/delCustomSendMsgs",{params:{id:t}})}function Zt(t){return a.i($e.a)("/activity/pushinfo",{params:{activity_id:t}})}function Wt(t){return a.i($e.a)({url:"/OfficialAccount/uploadQrcodeImgToWechat",method:"post",message:!1,data:t})}function Yt(t){return a.i($e.a)({url:"/OfficialAccount/uploadQrcodeImgToOss",method:"post",message:!1,data:t})}function Pt(t){return a.i($e.a)({url:"/OfficialAccount/createOfficialImgTxtUrl",method:"post",message:"生成图文素材链接成功",data:t})}function jt(t){return a.i($e.a)("/OfficialAccount/getOfficialImgTxtUrl",{params:t}).then(function(t){return t.list.map(function(t){return t.created_at=t.created_at.date.slice(0,-7),t}),t})}function Gt(t){return a.i($e.a)({url:"/OfficialAccount/delOfficialImgTxtUrl",method:"post",message:"删除成功",data:t})}function Ht(){return a.i($e.a)({url:"/channel/create",method:"post",message:"创建成功"})}function qt(){return Ia.list?Pe.a.resolve(Ia.list):Ia.promise?Ia.promise:Ia.promise=a.i($e.a)("channels").then(function(t){return Ia.list=t,t})}function Xt(){return a.i($e.a)({url:"/channel/getDistributionChannel",method:"post",message:!1})}function Kt(t){return $e.a.post("/channel/updateDistributionOuterSiteSwitch",t)}function $t(t){return $e.a.post("/channels/setsitename",t)}function te(){return a.i($e.a)("/activity/getActivities").then(function(t){return t.list.map(function(t){return new Date>=new Date(t.end_time)?t.is_end=!0:t.is_end=!1,t})})}function ee(){return a.i($e.a)("/activity/longActivityTemplate")}function ae(){return a.i($e.a)("/activity/channelActivity")}function ne(t){return $e.a.post("/activity/createActivity",t)}function ie(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return a.i($e.a)("/xcx/statisticalData?page="+t)}function se(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"xcx";return a.i($e.a)("/"+n+"/createOrder",{params:{name:t,promotion_type:e}})}function oe(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{start_time:start_time,end_time:end_time,name:name,page:page},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"xcx";return a.i($e.a)("/"+e+"/getSendOrders",{params:t})}function re(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"xcx";return a.i($e.a)("/"+t+"/getSendOrderStat")}function ce(){return Ra?Pe.a.resolve(Ra):Ra=a.i($e.a)("xcx/sendLink")}function le(t){return a.i($e.a)("/OfficialAccount/wechatKeywordMsgBydistributionChannelId",{params:{page:t}})}function ue(t){return $e.a.post("/OfficialAccount/addWechatKeywordMsg",t)}function pe(t){return $e.a.get("/OfficialAccount/wechatKeywordMsgById",{params:{id:t}})}function de(t){return $e.a.post("/OfficialAccount/updateWechatKeywordMsg",t)}function me(t){return a.i($e.a)("/OfficialAccount/updateWechatKeywordMsgStatus",{params:{status:0,id:t}})}function ve(){return a.i($e.a)("/Welfare/welfare")}function he(){return a.i($e.a)("/OfficialAccount/customSendStatsFromTypes")}function fe(t){return a.i($e.a)({url:"/behavior/upload",method:"post",message:!1,data:{action:t}})}function _e(){return a.i($e.a)("/subscribe/getChannelServiceAccount")}function be(t){return a.i($e.a)("/subscribe/getServiceAccountUsersStats",{params:t})}function ge(t){var e=new FormData;return e.append("send_orders",t),$e.a.post("/sendOrder/importSendOrders",e,{"Content-Type":"multipart/form-data"})}function ye(){return a.i($e.a)("/getSubReply")}function Ce(t){return $e.a.post("/setSubReply",t)}function we(t){return a.i($e.a)("/OfficialAccount/getShortUrl",{params:{url:t}})}function ke(t){return a.i($e.a)("/trade/getChannelRechargeStat",{params:t})}function Ae(t){return a.i($e.a)("/trade/accountOrderDayStats",{params:t})}function xe(){return a.i($e.a)("/trade/accountChannelTodayData")}function Se(t){return $e.a.post("/channels/setChannelPaySubstituteSwitch",t)}function Ie(){return a.i($e.a)({url:"/channel/getDistributionChannel",method:"post",message:!1})}function Re(t){return $e.a.post("channel/updateDistributionOldUserSiteSwitch",{status:t})}function De(){return a.i($e.a)({url:"channel/setQuestionNaireShowed",method:"post",message:!1})}function ze(t,e){return a.i($e.a)({url:"channel/addQuestionNaire",method:"post",message:"感谢您的评价!",data:{id:t,reply_grade:e}})}function Me(){return a.i($e.a)({url:"channel/checkQuestionNaireShow",method:"post",message:!1})}function Ne(t){return a.i($e.a)("/OfficialAccount/searchCustomSendMsgs",{params:t})}function Te(t){return a.i($e.a)("/OfficialAccount/searchWechatTemplateMsg",{params:t})}function Ee(t){return a.i($e.a)({url:"sendOrder/decryptOrEncrptOriginUrl",method:"post",message:"解密成功!",data:t})}function Ve(t){return a.i($e.a)({url:"sendOrder/checkOriginUrl",data:n(t),responseType:"blob",method:"post",message:"上传成功,10s内将自动导出"})}function Le(t){return a.i($e.a)({url:"activity/updateActivitySwitchInfo",method:"post",message:"操作成功",data:t})}function Oe(){return a.i($e.a)("/channels/getPayTemplate")}function Qe(t){return $e.a.post("channels/setPayTemplate",{type:t})}function Fe(){return a.i($e.a)("/sendOrder/getWeeklySendOrderStatistics")}function Ue(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"weekly_report";return a.i($e.a)("/channel/getDistributionChannelSwitchByCategory?category="+t)}function Be(){return a.i($e.a)("getSubReplyList")}function Je(t,e){return a.i($e.a)({url:"OfficialAccount/checkTemplateStatus",method:"post",message:!1,data:{appid:t,common_template_id:e}})}function Ze(){return a.i($e.a)("/channel/getDistributionChannelSwitchByCategory?category=subscribe_multy_reply")}function We(t){return a.i($e.a)("/channel/deleteChannel",{params:{distribution_channel_id:t}})}e._9=i,e._86=s,e._85=o,e._91=r,e._30=c,e._12=m,e.l=f,e.x=_,e.m=b,e._35=g,e._31=y,e._29=C,e._32=w,e._26=k,e._28=A,e._27=x,e.j=S,e.z=I,e.v=R,e.w=D,e.y=z,e._4=M,e._6=N,e._7=T,e._11=E,e._5=V,e._10=L,e._82=O,e._84=Q,e._83=F,e._72=U,e._78=B,e._81=J,e._80=Z,e._71=W,e._68=Y,e._69=P,e._57=j,e._67=G,e._65=H,e._58=q,e._63=X,e._61=K,e._62=$,e._59=tt,e._66=et,e.W=at,e.o=nt,e.V=it,e.R=st,e.S=ot,e.T=rt,e.U=ct,e.e=lt,e.f=ut,e.d=pt,e.g=dt,e.i=mt,e.h=vt,e.c=ht,e._79=ft,e.P=_t,e.Q=bt,e._73=gt,e._70=yt,e._77=Ct,e._64=wt,e._48=kt,e.B=At,e.A=xt,e._23=St,e._21=It,e.Z=Rt,e.Y=Dt,e._45=zt,e._22=Mt,e._55=Nt,e._56=Tt,e.p=Et,e.q=Vt,e._51=Lt,e._50=Ot,e._49=Qt,e._53=Ft,e._52=Ut,e._46=Bt,e._47=Jt,e._54=Zt,e.t=Wt,e.s=Yt,e.u=Pt,e._24=jt,e._25=Gt,e._93=Ht,e.M=qt,e.L=Xt,e.I=Kt,e.J=$t,e._40=te,e._44=ee,e._42=ae,e._43=ne,e._19=ie,e.r=se,e._17=oe,e._18=re,e._20=ce,e._38=le,e.n=ue,e._37=pe,e._36=de,e._39=me,e._33=ve,e.X=he,e.a=fe,e._1=_e,e._0=be,e._34=ge,e.E=ye,e.C=Ce,e._13=we,a.d(e,"_87",function(){return Da}),e._74=ke,e._75=Ae,e._76=xe,e.H=Se,e.O=Ie,e.N=Re,e._89=De,e._90=ze,e._88=Me,e._2=Ne,e._3=Te,e._15=Ee,e._14=Ve,e._41=Le,e.G=Oe,e.F=Qe,e._16=Fe,e.k=Ue,e.D=Be,e._60=Je,e._92=Ze,e.K=We;var Ye=a("//Fk"),Pe=a.n(Ye),je=a("Xxa5"),Ge=a.n(je),He=a("exGp"),qe=a.n(He),Xe=a("mvHQ"),Ke=a.n(Xe),$e=a("pxwZ"),ta=a("mtWM"),ea=a.n(ta),aa=a("ZoQJ"),na=a("46f1");a("dhim");a.d(e,"_8",function(){return aa.d});var ia=a("i+qx");a.d(e,"b",function(){return ia.a});var sa=ea.a.CancelToken,oa={current_page:Number,last_page:Number,next_page_url:String,per_page:Number,prev_page_url:String,total:Number},ra={meta:oa,list:[{id:Number,content:String,type_name:String,is_popup:Number,title:String,updated_time:String}]},ca=(function(){var t=qe()(Ge.a.mark(function t(e){var n;return Ge.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e&&!e.notice_type_id&&delete e.notice_type_id,t.next=3,a.i($e.a)("/notices",{params:e,type:ra,name:"notices"});case 3:return n=t.sent,t.abrupt("return",n);case 5:case"end":return t.stop()}},t,this)}))}(),[{id:Number,name:String}]),la=[{id:Number,title:String,description:String}],ua=[{id:Number,title:String}],pa=[{id:Number,origin_cover:String}],da=[{id:Number,content:String}],ma=[{id:Number,content:String}],va=[{id:Number,codeUrl:String}],ha={book_id:String,book_name:String,book_summary:String,cover_url:String,book_word_count:Number,book_chapter_total:Number,book_category_id:Number,book_category:String,book_end_status:Number,book_published_time:String,force_subscribe_chapter_seq:Number,copyright:String,charge_type:String,recommend_index:Number,sex_preference:String},fa={meta:oa,list:[ha]},_a={list:[{chapter_id:Number,chapter_name:String,chapter_sequence:Number,chapter_is_vip:Number}]},ba=[{chapter_id:Number,chapter_name:String,chapter_sequence:Number,content:String}],ga={chapter_id:Number,chapter_name:String,chapter_sequence:Number,chapter_content:String,prev_cid:Number,next_cid:Number},ya={list:[{}],meta:oa},Ca={meta:oa,list:[{date:String,recharge_amount:Number,rate:String,settlement_price:Number,tallage:Number}]},wa={meta:oa,list:[{amount:Number,pay_amount:Number,status:String,updated_time:String}]},ka=(Number,Number,Number,{meta:oa,list:[{uid:Number,price:Number,status:String,trade_no:String,pay_end_at:String,send_order_id:Number,send_order_name:String}]}),Aa={meta:oa,list:[{id:Number,template_id:String,name:String,template_content:String,redirect_url:String,status:String,distribution_channel_id:Number}]},xa=[{common_template_id:String,title:String,content:String,example:String}],Sa=[{name:String,nickname:String,appid:String,allForceSubscribeUsers:Number,todayForceSubscribeUsers:Number,subscribe_day_maximum:Number,subscribe_top_num:Number,is_auth:Number}],Ia={list:null,promise:null},Ra=null,Da=function(){return a.i($e.a)("/fansLimitNotice")}},gzr6:function(t,e){},h3NK:function(t,e){t.exports=[{cover:"http://cdn-novel.weituibao.com/0-temp-201709-12-1505188673635.jpg",title:"对待家人的态度,显示一个男人真实的人品",update:"2017-09-05 15:20:14"},{cover:"http://cdn-novel.weituibao.com/0-temp-201709-12-1505188662975.jpg",title:"一个男人需要挣多少钱才能维系一个家庭?",update:"2017-09-05 15:20:14"},{cover:"http://cdn-novel.weituibao.com/0-temp-201709-12-1505186756302.jpg",title:"怎么样让冷淡的老婆重新对我热情如火?",update:"2017-09-05 15:20:14"},{cover:"http://cdn-novel.weituibao.com/0-temp-201709-12-1505186754156.jpg",title:"实拍台湾一男子用完印度神油后居然...",update:"2017-09-05 15:20:14"}]},hK1S:function(t,e){},hKcQ:function(t,e,a){t.exports=a.p+"channel/static/img/banner.e11a188.jpg"},hSBT:function(t,e,a){"use strict";function n(t){a("rblV")}var i=a("WYb4"),s=a("oDll"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},hYOg:function(t,e,a){t.exports=a.p+"channel/static/img/1.8a288fa.png"},hZ4t:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"focus-reply promotion-custom-notify"},[a("div",{staticClass:"title"},[t._v(t._s(t.commit.Chinese))]),t._v(" "),a("x-sub-title",{attrs:{item:t.tabTitle,default:t.$route.name},on:{"change-item":t.changeTextItem}},[a("span",{class:["cur-mode",2==t.defaultKey?"mode2":3==t.defaultKey?"mode3":""]},[t._v("已选")])]),t._v(" "),a("router-view",{staticClass:"view-section",staticStyle:{background:"#fff"}})],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},"i+qx":function(t,e,a){"use strict";function n(t){return p.a.resolve(t)}function i(){return m?n(m):s()}function s(){return a.i(d.a)("/book/getBookCategories").then(function(t){return m=o(t),i=function(){return n(m)},m})}function o(t){for(var e=[],a=0;ap?p:t,n,u,p);t>=p&&(clearInterval(l),o=!1),e.scrollTop=d},30)}}var s=a("ZoQJ"),o=!1;e.a=i},kxTa:function(t,e,a){"use strict";function n(t){a("je41")}var i=a("zML0"),s=a("jx7U"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,"data-v-1b530df1",null);e.a=c.exports},l2jJ:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"focus-picture"},[a("el-form",{ref:"form",attrs:{model:t.form,rules:t.rules,"label-width":"80px"}},[a("el-form-item",{attrs:{label:"消息内容"}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:!t.init,expression:"!init"}],staticClass:"width-400 content"},[t.init?[a("div",{staticClass:"top-line"},[a("x-popover-title",{attrs:{value:t.form.content[0].title,titles:t.title},on:{"update:value":function(e){t.form.content[0].title=e}}}),t._v(" "),a("x-popover-cover",{attrs:{value:t.form.content[0].cover,covers:t.cover},on:{"update:value":function(e){t.form.content[0].cover=e}}})],1),t._v(" "),t._l(t.form.content.slice(1),function(e,n){return a("div",{key:n,staticClass:"other-line"},[a("x-popover-title",{attrs:{value:t.form.content[n+1].title,titles:t.title},on:{"update:value":function(e){t.form.content[n+1].title=e}}}),t._v(" "),a("x-popover-cover",{attrs:{value:t.form.content[n+1].cover,covers:t.cover},on:{"update:value":function(e){t.form.content[n+1].cover=e}}}),t._v(" "),a("x-popover-link",{attrs:{value:t.form.content[n+1].link},on:{"update:value":function(e){t.form.content[n+1].link=e}}}),t._v(" "),a("div",{staticClass:"delete pointer-box",on:{click:function(e){t.delTemplate(n+1)}}},[a("div",{staticClass:"bg"}),t._v(" "),a("i",{staticClass:"el-icon-delete",staticStyle:{color:"white"}})])],1)}),t._v(" "),t.form.content.length<8?a("div",{staticClass:"add pointer-box",on:{click:function(e){t.addTemplate(!1)}}},[a("i",{staticClass:"el-icon-plus"}),t._v("添加条次\n ")]):t._e()]:t._e()],2)]),t._v(" "),a("el-form-item",{attrs:{label:"头条跳转",prop:"content[0].link"}},[a("el-input",{staticClass:"width-400",model:{value:t.form.content[0].link,callback:function(e){t.form.content[0].link=e},expression:"form.content[0].link"}}),t._v(" "),a("p",{staticClass:"tip"},[t._v("用户点击客服消息后跳转到的网页链接")]),t._v(" "),a("p",{staticClass:"tip"},[t._v("仅限本服务号下小说网站内部的链接 或 在本号下生成的推广链接")])],1),t._v(" "),a("el-form-item",{attrs:{label:""}},[a("el-button",{staticStyle:{width:"300px"},attrs:{type:"info",loading:t.postloading},on:{click:t.submitForm}},[t._v(" 保存设置 ")])],1)],1)],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},lJ88:function(t,e){},lOlB:function(t,e){},"lOn+":function(t,e,a){"use strict";var n=a("gyMJ");e.a={methods:{save:function(){var t=this,e={mode:1,content:null};a.i(n.C)(e).then(function(e){t.$message("设置成功"),t.$router.go(0)}).catch(function(e){t.$message.error("设置失败")})}}}},lauf:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"promotion-key"},[a("div",{staticClass:"title"},[t._v(t._s(t.Chinese))]),t._v(" "),a("x-sub-title",{attrs:{item:t.subTitle,router:""}}),t._v(" "),a("router-view",{staticClass:"view-section"})],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},lv5m:function(t,e,a){"use strict";function n(t){a("mgGP")}var i=a("Qp/r"),s=a("kWVs"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},lwLE:function(t,e,a){"use strict";var n=a("dhim"),i=a("gyMJ");e.a={name:n.u.name,data:function(){return{column:[{prop:"name",label:"活动名称"},{prop:"price",label:"活动单价(元)"},{prop:"get",label:"充值书币"},{prop:"",label:"操作"}],data:[],loading:!0,dialog:{status:!1,data:{},range:[],error:"",pickerOptions:{disabledDate:function(t){return t"+t.trim()+"
":""}).join("")},generateQR:function(t){var e=this;if(this.template.qrCode.id||(this.qrCode.id=this.template.qrCode.id),this.qrCode.link!==t||this.qrCode.id!==this.template.qrCode.id){if(t)var a=new u.a(document.createElement("div"),{text:t,width:172,height:172})._oDrawing._elCanvas;else{var a=document.createElement("canvas"),n=a.getContext("2d");a.height=172,a.width=172,n.font="18px Georgia",n.fillText("当前未生成推广链接",0,50),n.fillText("生成推广链接后",0,80),n.fillText("自动填充二维码",0,110)}var i=document.createElement("canvas"),s=i.getContext("2d"),o=new Image;o.src=this.template.qrCode.data,o.onload=function(){i.height=o.height,i.width=o.width,s.drawImage(o,0,0),s.drawImage(a,426,42,172,172),e.qrCode.link=t,e.qrCode.base64=i.toDataURL("image/png"),i.toBlob(function(t){e.qrCode.blob=t},"image/png"),e.qrCode.id=e.template.qrCode.id}}},spreadQrcode:function(t){var e="";t&&(this.speardQrcode=!0,e=new u.a(document.createElement("div"),{text:t,width:144,height:144})._oDrawing._elCanvas,this.spreadQrcodeImage=e.toDataURL("image/png"))},promotionSuccess:function(t){var e=t.link,a=t.name,n=t.id;this.promotion.link=e,this.promotion.name=a,this.promotion.id=n,"spread"===this.mode?this.spreadQrcode(e):this.generateQR(e)},createMaterial:function(){this.openMaterial?"spread"===this.mode?this.$message.error("图片模式暂不支持生成图文素材"):this.materialDialog=!0:"img"===this.mode||"spread"===this.mode?this.$message.error("图片模式暂不支持生成图文素材"):this.materialDialog=!0},loadImage:function(t){return new i.a(function(e){var a=new Image;a.onload=function(){e(a)},a.setAttribute("crossOrigin","Anonymous"),a.src=t})},textAutoLine:function(t,e,a,n,i){var s=e.getContext("2d");s.font="bold 18px Microsoft Yahei";for(var o=0,r=e.width,c=0,l=0;lr-(a+40)&&(s.fillText(t.substring(c,l),a,n),n+=i,o=0,c=l),l==t.length-1&&s.fillText(t.substring(c,l+1),a+40,n)},drawDomToImg:function(t){var e='",a=window.URL||window.webkitURL||window,n=new Blob([e],{type:"image/svg+xml;charset=utf-8"}),s=a.createObjectURL(n);return i.a.resolve(this.loadImage(s))},buildCanvas:function(){this.speardQrcode?d()(document.querySelector(".spread-content__box"),{useCORS:!0}).then(function(t){var e=t.toDataURL("image/jpeg"),a=document.querySelector("#download");a.setAttribute("download","推广图"),a.setAttribute("href",e),a.click()}):this.$message.error("请生成推广链接")},modePart:function(){"spread"===this.mode?(this.chapterIndex=0,this.spreadMode=!0,this.popoverStatus=[!0,!1,!1,!0,!1,!0,!1,!0]):(this.chapterIndex=this.template.end.chapter_sequence,this.popoverStatus=[!0,!0,!0,!1,!0,!0,!0,!0])},openMaterialOperate:function(){var t=this;a.i(_.k)("create_img_chapter").then(function(e){t.openMaterial=e})}},created:function(){var t=this;this.mode=this.$route.query.mode||"text",a.i(_.l)({id:this.$route.params.id,type:this.$route.query.type,sequence:this.$route.query.sequence}).then(function(e){t.template=e.template,t.source=e.source,t.info=e.bookInfo,t.chapters=e.chapters,t.contents=e.contents,t.loading=!1,t.contentImgs=e.contentImgs,1===e.bookInfo.is_pic_only&&("spread"===t.mode?t.mode="spread":t.mode="img"),t.modePart(),t.openMaterialOperate()}),document.body.style.minWidth="1100px"},mounted:function(){var t=this,e=function(e){t.$message("复制成功"),e.clearSelection()},a=function(e){t.$message.error("复制失败,请自行复制")},n=new c.a(".copy-title");n.on("success",e),n.on("error",a);var i=new c.a(".copy-content");i.on("success",e),i.on("error",a);var s=new c.a(".copy-link");s.on("success",e),s.on("error",a)},destroyed:function(){document.body.style.minWidth=""}}},otog:function(t,e,a){"use strict";function n(t){a("GCtM")}var i=a("Oa8W"),s=a("jxuU"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,"data-v-5d45a022",null);e.a=c.exports},ouhS:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"customer-server"},[a("div",{staticClass:"title"},[t._v(t._s(t.commit.Chinese))]),t._v(" "),a("div",{staticClass:"body"},[t._m(0),t._v(" "),a("el-upload",{staticClass:"upload-wrap",attrs:{drag:"",action:"","http-request":t.upload,"show-file-list":!1}},[t.customer_img_url?[a("img",{ref:"QR",staticClass:"QR",attrs:{src:t.customer_img_url}}),t._v(" "),a("p",{staticClass:"red"},[t._v("点击可更换客服微信二维码")])]:[a("el-button",{attrs:{type:"primary"}},[t._v("点击上传")]),t._v(" "),a("p",{staticClass:"light head-line"},[t._v("若要设置客服微信")]),t._v(" "),a("p",{staticClass:"light "},[t._v("请上传客服微信二维码(可拖拽上传)")])]],2)],1)])},i=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",{staticClass:"body-title"},[t._v("客服微信设置\n "),a("span",{staticClass:"light"},[t._v("(可不设置,默认由平台提供客服支持)")])])}],s={render:n,staticRenderFns:i};e.a=s},ouhT:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"settlement-record"},[a("div",{staticClass:"settlement-message view-section view-section-spacing"},t._l(t.recharge,function(e,n){return a("div",{key:n,staticClass:"recharge_msg"},[a("h1",[t._v(t._s(e.name))]),t._v(" "),a("p",{staticClass:"red"},[t._v(t._s(e.money))]),t._v(" "),e.operating?a("el-button",{attrs:{type:"primary"},on:{click:t.handleWithdraw}},[t._v(t._s(e.operating))]):t._e(),t._v(" "),e.withdrawing?a("span",{staticStyle:{display:"inline-block",position:"absolute",right:"50px",top:"52px"}},[t._v("提现中: "+t._s(e.withdrawing))]):t._e()],1)})),t._v(" "),a("div",{staticClass:"settlement-order"},[a("x-sub-title",{attrs:{item:t.subTitle,router:""}},[a("span",{staticClass:"blue r",staticStyle:{"font-size":"12px"}},[t._v("注:推广期间不扣税")])]),t._v(" "),a("router-view")],1),t._v(" "),a("x-withdraw",{attrs:{visible:t.visible},on:{"update:visible":function(e){t.visible=e}}})],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},oyYp:function(t,e){},p8f8:function(t,e,a){"use strict";var n=a("gyMJ");e.a={props:["visible"],data:function(){return{dialogVisible:!1,miniStatus:!1,name:"",promotion_type:"POSTER_EXTEND"}},watch:{visible:function(){this.visible&&!this.miniStatus?(this.dialogVisible=this.visible,this.miniStatus=!0):this.dialogVisible=this.visible}},methods:{close:function(){this.$emit("update:visible",!1)},buildLink:function(){var t=this;a.i(n.r)(this.name,this.promotion_type).then(function(e){e.link=e.promotion_url,t.$emit("success",e)})},handleDialog:function(){this.$emit("close",!1)}}}},pTbp:function(t,e,a){"use strict";var n=a("yEpX"),i=a("dhim"),s=a("e4k8"),o=a("qQms"),r=a("aDwi"),c=a("gpNc"),l=a("WN2B"),u=a("oByE"),p=a("cHpP"),d=a("vq4R"),m=a("VxqJ"),v=a("pxlD"),h=a("82DW"),f=a("P0+R"),_=a("1/5i"),b=a("sh+m");i.N.redirect={name:b.a.route[i.P.name]?i.P.name:i.O.name},i.U.redirect={name:i.V.name};var g=[[i.O,o.a],[i.P,r.a],[i.Q,c.a]],y=[[i.V,m.a],[i.W,v.a],[i.X,h.a]],C=a.i(n.b)([[i.N,s.a,g],[i.R,l.a],[i.Z,_.a],[i.S,u.a],[i.T,p.a],[i.U,d.a,y],[i.Y,f.a]]);e.a=C},pcFI:function(t,e){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P0+0O22l3GJuSssgkk93qjn0Ya9wP0Zh/nYglbumg/GkkzKeYbDbKSwnEYMhSWkjqlPZb0gtZGPAW4GYeaKmH+lmIWLUwg0TRnUL6LddbDqvkoKUg8lgK2bJovVTHGpEAjdnXcgMgVnJzN2pdPONgc4F3IYZV93Ks13CtVnJKHK7Y/v2mzdbeLXbamnzy35qDWFYs377Oz2iHTzOK/UcO7Vsap2zy8/YjfPn1MIe9z3LI90hxFhjOX5PkrA368/iuVd0qUr5WI9iPaP3QZ3RtxvlbBqUo7hmZ6cJKnQApRemWG3K5H+4suXXsvnbIZz+PC/Dm0Y46FHguewKVXgyidrMZrVSzpgqSDtNGERuzRfy2hKSTU+n+v7RdvH7+Y4MIpcGcScOcUwK2k3d4X/Wja1ptCZJK49Y8AAwBl1DyvkSEUjQAAAABJRU5ErkJggg=="},piUj:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"popup-promotion-page"},[a("div",{staticClass:"content"},[a("div",{staticClass:"row"},[t._m(0),t._v(" "),a("el-input",{staticClass:"info",model:{value:t.channel,callback:function(e){t.channel=e},expression:"channel"}})],1),t._v(" "),a("div",{staticClass:"row"},[a("span",{staticClass:"label"},[t._v("推广内容名称")]),t._v(" "),a("div",{staticClass:"info"},[t._v(t._s(t.name))])]),t._v(" "),a("div",{staticClass:"row"},[a("span",{staticClass:"label"},[t._v("推广渠道类型")]),t._v(" "),a("el-radio-group",{model:{value:t.type,callback:function(e){t.type=e},expression:"type"}},[a("el-radio",{attrs:{label:"AUTHENTICATED"}},[t._v("认证号")]),t._v(" "),a("el-radio",{attrs:{label:"UNAUTHENTICATED"}},[t._v("非认证号")])],1)],1),t._v(" "),a("div",{staticClass:"row"},[a("span",{staticClass:"label"},[t._v("派单类型")]),t._v(" "),a("el-radio-group",{model:{value:t.area,callback:function(e){t.area=e},expression:"area"}},[a("el-radio",{attrs:{label:"INTERNAL"}},[t._v("内部")]),t._v(" "),a("el-radio",{attrs:{label:"EXTERNAL"}},[t._v("外部")])],1)],1),t._v(" "),t.isUpdate?t._e():a("div",{staticClass:"row"},[a("span",{staticClass:"label"},[t._v("推广类型")]),t._v(" "),a("el-radio-group",{model:{value:t.browser,callback:function(e){t.browser=e},expression:"browser"}},[a("el-radio",{attrs:{label:"1"}},[t._v("微信")]),t._v(" "),a("el-radio",{attrs:{label:"2"}},[t._v("站外")])],1)],1)]),t._v(" "),a("div",{staticClass:"bottom"},["create"===t.action?a("el-button",{staticClass:"conform",attrs:{type:"primary"},nativeOn:{click:function(e){t.createFromPage(e)}}},[t._v("生成链接")]):t._e(),t._v(" "),"update"===t.action?a("el-button",{staticClass:"conform",attrs:{type:"primary"},nativeOn:{click:function(e){t.update(e)}}},[t._v("修 改")]):t._e(),t._v(" "),a("el-button",{staticClass:"cancel",attrs:{type:"primary"},on:{click:function(e){t.handleDialog()}}},[t._v("取消")])],1)])},i=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("span",{staticClass:"label"},[a("span",{staticClass:"red"},[t._v("*")]),t._v("推广渠道或者位置名称")])}],s={render:n,staticRenderFns:i};e.a=s},pnnb:function(t,e,a){"use strict";var n=a("+5m8"),i=a("EJo6"),s=a("VU/8"),o=s(n.a,i.a,!1,null,null,null);e.a=o.exports},psK2:function(t,e){},pxlD:function(t,e,a){"use strict";var n=a("KPZU"),i=a("l2jJ"),s=a("VU/8"),o=s(n.a,i.a,!1,null,null,null);e.a=o.exports},pxwZ:function(t,e,a){"use strict";var n=a("//Fk"),i=a.n(n),s=a("L28S"),o=(a.n(s),a("psK2")),r=(a.n(o),a("2X9z")),c=a.n(r),l=a("mtWM"),u=a.n(l),p=a("YgNb"),d=a("YaEn"),m=a("dhim"),v=u.a.create({baseURL:"/api"});v.interceptors.response.use(function(t){if("blob"===t.config.responseType)return t.data;if(0===t.data.code){if("post"===t.config.method)switch(t.config.message){case void 0:c()("设置成功");break;case!1:break;default:c()(t.config.message)}else t.config.type&&(t.data.data=a.i(p.a)(t.data.data,t.config.type,t.config.name));return t.data.data}return 10010===t.data.code&&d.a.replace({name:m.b.name}),"string"!=typeof t.data.msg||t.config.notErrMessage||c.a.error(t.data.msg),i.a.reject(t)}),e.a=v},q0OM:function(t,e){},qKch:function(t,e){},qQms:function(t,e,a){"use strict";function n(t){a("dXu3")}var i=a("VIai"),s=a("LMus"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,"data-v-d3fd6880",null);e.a=c.exports},qUjZ:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{ref:"root",staticClass:"novel-info"},[a("section",{staticClass:"novel-detail view-section-spacing"},[a("x-sub-title",{attrs:{item:[t.Chinese]}}),t._v(" "),a("div",{staticClass:"novel-detail-content"},[a("div",{staticClass:"cover"},[a("img",{attrs:{src:t.info.cover_url}})]),t._v(" "),a("div",{staticClass:"text"},[a("div",{staticClass:"first"},[a("span",{staticClass:"name"},[t._v(t._s(t.info.book_name))])]),t._v(" "),a("div",{staticClass:"sec"},[a("span",[t._v(t._s(t.info.book_word_count)+"字")])]),t._v(" "),a("div",{staticClass:"third"},[t._v("\n 简介:"+t._s(t.info.book_summary)+"\n ")])])])],1),t._v(" "),a("section",{staticClass:"novel-chapter"},[a("x-sub-title",{attrs:{item:["书籍目录"]}},[t.isSite123?a("a",{staticClass:"text-to__pic",attrs:{target:"_blank",href:"https://channel.zhuishuyun.com/text_to_image.html"}},[t._v("文字转图片")]):t._e()]),t._v(" "),a("div",{ref:"table",staticClass:"novel-chapter-content"},[a("x-table",{attrs:{column:[{label:"章节",prop:"chapter_name"},{label:"操作",prop:"chapter_name",width:"400"}],data:t.showChapters,loading:t.loading,stripe:""},scopedSlots:t._u([{key:"col-1",fn:function(e){return[e.rowData.chapter_is_vip?a("span",[t._v(t._s(e.rowData.chapter_name))]):a("router-link",{staticClass:"blue",attrs:{target:"_blank",to:{name:t.novelReader,params:{id:t.id,cid:e.rowData.chapter_id}}}},[t._v("\n "+t._s(e.rowData.chapter_name)+"\n ")]),t._v(" "),e.rowData.dafault_subscribe?a("el-tag",{staticStyle:{float:"right"},attrs:{type:"success"}},[t._v("默认强关章节")]):t._e(),t._v(" "),e.rowData.channel_subscribe&&e.rowData.channel_subscribe!==e.rowData.dafault_subscribe?a("el-tag",{staticStyle:{float:"right"},attrs:{type:"success"}},[t._v("强关章节")]):t._e(),t._v(" "),e.rowData.is_recommend?a("el-tooltip",{attrs:{effect:"dark",content:"建议本章生成推广文案(原文转化率好)",placement:"top"}},[a("i",{staticClass:"el-icon-information",staticStyle:{float:"right","line-height":"24px"}})]):t._e(),t._v(" "),e.rowData.is_recommend?a("el-tag",{staticStyle:{float:"right"},attrs:{type:"success"}},[t._v("建议本章生成推广文案")]):t._e()]}},{key:"col-2",fn:function(e){return[e.rowData.chapter_is_vip?t._e():a("span",{on:{click:function(a){t.setSubscribe(e.rowData)}}},[t._v("设置强关章节")]),t._v(" "),e.rowData.chapter_sequence<=t.promotionLimit?a("el-popover",{attrs:{trigger:"click",placement:"bottom",width:"100","popper-class":"spread-way__box"}},[a("div",{staticClass:"spread-way"},[1!==t.info.is_pic_only?a("div",{staticClass:"spread-way__item"},[a("router-link",{attrs:{target:"_blank",to:{name:t.novelCopy,params:{id:t.id},query:{type:"女频"===t.info.sex_preference?2:1,sequence:e.rowData.chapter_sequence}}}},[a("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[a("use",{attrs:{"xlink:href":"#icon-wenbenmoshi"}})]),t._v(" "),a("span",{staticClass:"label"},[t._v("文字模式")])])],1):t._e(),t._v(" "),a("div",{staticClass:"spread-way__item"},[a("router-link",{attrs:{target:"_blank",to:{name:t.novelCopy,params:{id:t.id},query:{type:"女频"===t.info.sex_preference?2:1,sequence:e.rowData.chapter_sequence,mode:"img"}}}},[a("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[a("use",{attrs:{"xlink:href":"#icon-tupianmoshi"}})]),t._v(" "),a("span",{staticClass:"label"},[t._v("图片模式")])])],1),t._v(" "),a("div",{staticClass:"spread-way__item"},[a("router-link",{attrs:{target:"_blank",to:{name:t.novelCopy,params:{id:t.id},query:{type:"女频"===t.info.sex_preference?2:1,sequence:e.rowData.chapter_sequence,mode:"spread"}}}},[a("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[a("use",{attrs:{"xlink:href":"#icon-tupianmoshi"}})]),t._v(" "),a("span",{staticClass:"label"},[t._v("推广图模式")])])],1)]),t._v(" "),a("span",{staticClass:"spread",attrs:{slot:"reference"},slot:"reference"},[t._v("生成推广文案")])]):t._e(),t._v(" "),a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"原文链接为当前章节",placement:"top-start"}},[e.rowData.chapter_sequence<=t.promotionLimit?a("span",{on:{click:function(a){t.createLink(e.rowData)}}},[t._v("生成推广链接")]):t._e()])]}}])})],1)],1),t._v(" "),t.loading?t._e():a("section",{staticClass:"pagination"},[a("el-pagination",{attrs:{"current-page":t.page,"page-size":30,total:t.chapters.length,layout:"prev, pager, next, jumper"},on:{"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.page=e}}})],1),t._v(" "),a("el-dialog",{staticClass:"dialog-1",attrs:{title:"生成推广链接","custom-class":"dialog-popup-promotion",visible:t.dialog},on:{"update:visible":function(e){t.dialog=e}}},[a("x-popup",{attrs:{type:"x-novel",chapter:t.checkedChapter,info:t.info,status:t.dialog},on:{"update:status":function(e){t.dialog=e}}})],1)],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},qUsx:function(t,e,a){"use strict";function n(t){a("Gckw")}var i=a("wzet"),s=a("4gBM"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},qXA1:function(t,e){},qZ2H:function(t,e,a){"use strict";function n(t){a("jyID")}var i=a("QwoI"),s=a("4jPJ"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},qejX:function(t,e,a){"use strict";var n=a("chtw"),i=a("isK3"),s=a("VU/8"),o=s(n.a,i.a,!1,null,null,null);e.a=o.exports},qjY0:function(t,e,a){"use strict";var n=a("+xLh"),i=a("VU/8"),s=i(n.a,null,!1,null,null,null);e.a=s.exports},qrQV:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-notify-list"},[a("x-table",{attrs:{data:t.data,column:t.column,loading:t.loading,stripe:""},scopedSlots:t._u([{key:"col-7",fn:function(e){return[a("span",{staticClass:"blue pointer-box ",on:{click:function(a){t.look(e.rowData.content)}}},[t._v("查看")]),t._v(" "),[e.rowData.modified?a("x-del-pop",{attrs:{name:e.rowData.name},on:{confirm:function(a){t.stop(e.rowData)}}},[a("span",{staticClass:"pointer-box blue"},[t._v("停止")])]):a("span",{staticClass:"ban-box"},[t._v("停止")])],t._v(" "),a("span",{class:e.rowData.modified?"pointer-box blue":"ban-box",on:{click:function(a){t.edit(e.rowData)}}},[t._v("编辑")]),t._v(" "),["8"!==e.rowData.status?a("x-del-pop",{attrs:{name:e.rowData.name},on:{confirm:function(a){t.del(e.rowData)}}},[a("span",{staticClass:"pointer-box blue"},[t._v("删除")])]):a("span",{staticClass:"ban-box"},[t._v("删除")])]]}}])}),t._v(" "),t.meta.total?a("div",{staticClass:"pagination"},[a("el-pagination",{attrs:{"current-page":t.meta.current_page,"page-size":t.meta.per_page,"page-count":t.meta.last_page,layout:"prev, pager, next, jumper"},on:{"current-change":t.handleCurrentChange}})],1):t._e(),t._v(" "),a("el-dialog",{attrs:{title:"客服消息",visible:t.dialogVisible,"custom-class":"promotion-custom-notify-new"},on:{"update:visible":function(e){t.dialogVisible=e}}},[t.content[0]?a("p",{staticStyle:{"text-align":"center","margin-bottom":"10px"}},[t._v("头条链接:\n "),a("a",{staticClass:"blue",attrs:{href:t.content[0][2].url}},[t._v(t._s(t.content[0][2].url))])]):t._e(),t._v(" "),a("div",{staticClass:"content width-400",staticStyle:{margin:"auto"}},[t._l(t.content,function(e,n){return[n?a("div",{key:n,staticClass:"other-line"},[a("p",{staticClass:"titles",staticStyle:{background:"none"}},[t._v(t._s(e[0].title))]),t._v(" "),a("p",{staticClass:"link single-line "},[t._v(t._s(e[2].url))]),t._v(" "),a("div",{staticClass:"cover ",style:{"background-image":"url("+e[3].image+")"}})]):a("div",{key:n,staticClass:"top-line"},[a("p",{staticClass:"titles",staticStyle:{background:"none"}},[t._v(t._s(e[0].title))]),t._v(" "),a("div",{staticClass:"cover ",style:{"background-image":"url("+e[3].image+")"}})])]})],2)])],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},rAyA:function(t,e,a){"use strict";e.a={name:"popover-link",props:["value"],data:function(){return{link:this.value}},watch:{link:function(t){this.$emit("update:value",t)},value:function(){this.link=this.value}}}},rJKV:function(t,e,a){"use strict";var n=a("//Fk"),i=a.n(n),s=a("gyMJ"),o=a("JwqW"),r=a("fGsi"),c=a("ZoQJ");e.a={props:["info"],components:{"x-popover-title":o.a,"x-popover-cover":r.a},data:function(){return{form:{tags:[],novel:{},chapter:{},server:[],send_title:"",send_cover:""},inputTag:{status:!1,value:""},cover:[],title:[],server:[],novelList:[],Noveloading:!1,chapterList:[],chapteroading:!0,checkAll:!0,isIndeterminate:!1,postloading:!1,getLoading:this.edit,serverLoading:!1,picInit:!1}},watch:{info:function(t){var e=this;a.i(s.m)(t.book_id).then(function(t){e.form.send_title=t.book_name,e.form.send_cover=t.cover_url})}},methods:{closeTag:function(t){this.form.tags.splice(t,1)},addTag:function(){var t=this;this.inputTag.status=!0,this.$nextTick(function(e){t.$refs.inputTag.$refs.input.focus()})},saveTag:function(){var t=this;this.inputTag.status&&(this.inputTag.value&&!this.form.tags.find(function(e){return e===t.inputTag.value})&&this.form.tags.push(this.inputTag.value),this.inputTag.status=!1,this.inputTag.value="")},serverChange:function(t){var e=t.length;this.checkAll=e>=this.server.length,this.isIndeterminate=e>0&&e=80&&e.rowData.recommend_index<100,"level-3":e.rowData.recommend_index<80}},[n("img",{attrs:{src:a("5U7Y")}}),t._v(" "+t._s(e.rowData.recommend_index)+"\n ")]),t._v(" "),100===e.rowData.recommend_index?n("p",{staticClass:"red"},[t._v("火热在推")]):t._e()]}},{key:"col-6",fn:function(e){return[e.rowData.promotion_count?n("router-link",{attrs:{to:{name:t.statisticsPromote,params:{bookName:e.rowData.book_name}}}},[n("span",{staticClass:"blue"},[t._v("已推"+t._s(e.rowData.promotion_count)+"次")])]):n("span",[t._v("未推送")])]}}])}),t._v(" "),t.meta.last_page?n("div",{staticClass:"pagination"},[n("el-pagination",{attrs:{"current-page":t.meta.current_page,"page-size":t.meta.per_page,"page-count":t.meta.last_page,layout:"prev, pager, next, jumper"},on:{"current-change":t.handleCurrentChange}})],1):t._e()],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},ueHL:function(t,e){},ulKZ:function(t,e,a){"use strict";var n=a("dhim"),i=a("gyMJ");e.a={name:n.S.name,data:function(){return{self:n.S,loading:!0,data:[],attention:{},status:!1,modifiy_channel:{id:null,nickname:"",channel:null},column:[{label:"id",prop:"id"},{label:"昵称",prop:"nickname"},{label:"代付开关",prop:""},{label:"操作",prop:""}],delProps:[]}},methods:{changepaySubstituteSwitch:function(t,e){var n=void 0;n=t?1:0;var s={distribution_channel_id:e,switch:n};a.i(i.H)(s)},update:function(t){a.i(i.I)({status:t?"1":"0"})},modifiy:function(t){var e=this;this.modifiy_channel.id=t.id,this.modifiy_channel.nickname=t.nickname,this.modifiy_channel.channel=t,this.$nextTick(function(){e.$refs.input.$el.querySelector("input").focus()})},confirm_modifiy:function(){var t=this.modifiy_channel,e=t.channel,n=t.nickname,s=t.id;a.i(i.J)({distribution_channel_id:s,site_name:n}).then(function(){e.nickname=n}),this.cancel_modifiy()},cancel_modifiy:function(){this.modifiy_channel.id=null,this.modifiy_channel.nickname="",this.modifiy_channel.channel=null},delChannel:function(t){var e=this;a.i(i.K)(t).then(function(t){e.$message("删除成功"),setTimeout(function(){e.$router.go(0)},1e3)}).catch(function(t){e.$message.error(t.msg)})}},created:function(){var t=this;a.i(i.L)().then(function(e){t.attention=e,t.status=0!==e.is_outer_site}),a.i(i.M)().then(function(e){t.loading=!1,t.data=e})}}},uxEC:function(t,e,a){"use strict";var n=a("dhim");e.a={name:n.d.name,data:function(){return{commit:n.d,userInfo:n.e.name,id:""}},methods:{search:function(){this.id&&this.$router.push({name:this.userInfo,query:{id:this.id}})}}}},uyoq:function(t,e,a){"use strict";var n,i=a("bOdI"),s=a.n(i),o=a("fp2T"),r=a("dhim"),c=a("3srV"),l={role:"outer",shelter:{name:r._0.name},promotionCopy:!0,promotionLink:!0,promotionSave:!1,subscribe:!1,material:!1,route:(n={},s()(n,r.c.name,!0),s()(n,r.d.name,!0),s()(n,r.e.name,!0),s()(n,r.f.name,!0),s()(n,r.h.name,!0),s()(n,r.i.name,!0),s()(n,r.j.name,!0),s()(n,r.k.name,!1),s()(n,r.l.name,!1),s()(n,r.m.name,!1),s()(n,r.n.name,!1),s()(n,r.o.name,!1),s()(n,r.p.name,!1),s()(n,r.q.name,!1),s()(n,r.r.name,!1),s()(n,r.r.name,!1),s()(n,r.s.name,!1),s()(n,r.t.name,!1),s()(n,r.u.name,!1),s()(n,r.v.name,!1),s()(n,r.w.name,!1),s()(n,r.x.name,!1),s()(n,r.y.name,!1),s()(n,r.z.name,!1),s()(n,r.A.name,!0),s()(n,r.B.name,!0),s()(n,r.C.name,!0),s()(n,r.b.name,!0),s()(n,r.D.name,!0),s()(n,r.E.name,!0),s()(n,r.F.name,!0),s()(n,r.G.name,!0),s()(n,r.H.name,!0),s()(n,r.I.name,!0),s()(n,r.J.name,!0),s()(n,r.K.name,!0),s()(n,r.L.name,!0),s()(n,r.M.name,!1),s()(n,o.a.name,!1),s()(n,r.N.name,!0),s()(n,r.O.name,!0),s()(n,r.P.name,!1),s()(n,r.Q.name,!1),s()(n,r.R.name,!1),s()(n,r.S.name,!1),s()(n,r.T.name,!1),s()(n,r.U.name,!1),s()(n,r.V.name,!1),s()(n,r.W.name,!1),s()(n,r.X.name,!1),s()(n,r.Y.name,!0),s()(n,r.Z.name,!0),s()(n,r._0.name,!0),n),menu:a.i(c.a)([[r.c],[r.f],[r.H],[r.h],[r.i],[r.G],[r.I],[r.d],[r.N]])};e.a=l},vQef:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{},[a("div",{staticClass:"view-section view-section-spacing clear"},t._l(t.statistics,function(e,n){return a("div",{key:n,staticClass:"auto-push-item"},t._l(e,function(e,n){return a("span",{key:n},[t._v(t._s(e))])}))})),t._v(" "),a("x-sub-title",{attrs:{item:["数据详情"]}}),t._v(" "),a("div",{staticClass:"view-section"},[a("x-table",{attrs:{column:t.column,data:t.data,loading:t.loading}}),t._v(" "),t.meta.last_page?a("div",{staticClass:"pagination"},[a("el-pagination",{attrs:{"current-page":t.meta.current_page,"page-size":t.meta.per_page,"page-count":t.meta.last_page,layout:"prev, pager, next, jumper"},on:{"current-change":t.handleCurrentChange}})],1):t._e()],1)],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},vWer:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"promote_statistics"},[a("div",{staticClass:"title"},[t._v("推广统计")]),t._v(" "),a("x-sub-title",{attrs:{item:[{value:"1",label:"微信推广统计"},{value:"2",label:"微信外推广统计"},{value:"3",label:"客服消息统计"},{value:"4",label:"模板消息统计"}],default:t.browser},on:{"update:default":function(e){t.browser=e},"change-item":t.changeBrowser}},[a("el-button",{directives:[{name:"show",rawName:"v-show",value:t.reportStatus,expression:"reportStatus"}],staticStyle:{position:"absolute",right:"26px",top:"50%",transform:"translateY(-50%)",width:"100px"},attrs:{type:"primary"},on:{click:t.showReportTable}},[t._v("周报数据")])],1),t._v(" "),a("section",{staticClass:"view-section"},[a("div",{staticClass:"search-bar"},[a("el-date-picker",{staticClass:"input",attrs:{type:"daterange",placeholder:"选择日期范围","picker-options":t.pickerOptions2},on:{change:t.search},model:{value:t.value7,callback:function(e){t.value7=e},expression:"value7"}}),t._v(" "),!t.massPromotion||"1"!==t.browser&&"2"!==t.browser?t._e():a("el-date-picker",{staticClass:"input",attrs:{type:"daterange",placeholder:"预计时间","picker-options":t.pickerOptions2},on:{change:function(e){t.getSendOrders(void 0)}},model:{value:t.preSendTime,callback:function(e){t.preSendTime=e},expression:"preSendTime"}}),t._v(" "),a("el-input",{staticClass:"input",attrs:{placeholder:"请输入小说名称搜索",icon:"search","on-icon-click":t.handleIconClick},nativeOn:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13))return null;t.handleIconClick(e)}},model:{value:t.input_name,callback:function(e){t.input_name=e},expression:"input_name"}}),t._v(" "),"1"===t.browser||"2"===t.browser?a("el-input",{staticClass:"input",attrs:{placeholder:"请输入派单渠道名称搜索",icon:"search","on-icon-click":t.handleIconClick},nativeOn:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13))return null;t.handleIconClick(e)}},model:{value:t.input_order_name,callback:function(e){t.input_order_name=e},expression:"input_order_name"}}):t._e(),t._v(" "),"3"===t.browser||"4"===t.browser?a("el-input",{staticClass:"input",attrs:{placeholder:"请输入任务名称",icon:"search","on-icon-click":t.handleIconClick},nativeOn:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13))return null;t.handleIconClick(e)}},model:{value:t.task_name,callback:function(e){t.task_name=e},expression:"task_name"}}):t._e(),t._v(" "),!t.massPromotion||"1"!==t.browser&&"2"!==t.browser?t._e():a("br"),t._v(" "),"1"===t.browser||"2"===t.browser?a("el-select",{staticClass:"input",attrs:{placeholder:"请选择派单类型"},on:{change:t.handleIconClick},model:{value:t.area,callback:function(e){t.area=e},expression:"area"}},[a("el-option",{attrs:{label:"全部",value:void 0}}),t._v(" "),a("el-option",{attrs:{label:"内部",value:"INTERNAL"}}),t._v(" "),a("el-option",{attrs:{label:"外部",value:"EXTERNAL"}})],1):t._e(),t._v(" "),!t.massPromotion||"1"!==t.browser&&"2"!==t.browser?t._e():a("el-input",{staticClass:"input",attrs:{placeholder:"公司名称",icon:"search","on-icon-click":t.handleIconClick},model:{value:t.company_name,callback:function(e){t.company_name=e},expression:"company_name"}}),t._v(" "),a("el-button",{staticStyle:{float:"right",width:"100px","margin-left":"10px"},attrs:{type:"primary"},on:{click:t.exportSendOrders}},[t._v("导出")]),t._v(" "),!t.massPromotion||"1"!==t.browser&&"2"!==t.browser?t._e():a("el-upload",{staticClass:"upload-demo",staticStyle:{float:"right",width:"100px"},attrs:{"http-request":t.upload,"show-file-list":!1,action:""}},[a("el-button",{staticStyle:{width:"100px"},attrs:{type:"primary"}},[t._v("导入")])],1)],1),t._v(" "),t.isSite123?a("div",{staticClass:"search-bar"},[a("el-input",{staticClass:"input",attrs:{placeholder:"请输入需要解密的链接"},model:{value:t.origin_url,callback:function(e){t.origin_url=e},expression:"origin_url"}}),t._v(" "),a("el-input",{staticClass:"input width-500",attrs:{placeholder:"解密后的链接展示",disabled:""},model:{value:t.decrypt_url,callback:function(e){t.decrypt_url=e},expression:"decrypt_url"}}),t._v(" "),a("el-button",{staticStyle:{width:"100px","vertical-align":"top","margin-left":"1%"},attrs:{type:"primary"},on:{click:t.decrypt}},[t._v("解密")]),t._v(" "),a("el-upload",{staticClass:"upload-demo",staticStyle:{width:"100px",display:"inline-block","vertical-align":"top","margin-left":"1%"},attrs:{"http-request":t.uploadExcel,"show-file-list":!1,action:""}},[a("el-button",{staticStyle:{width:"100px"},attrs:{type:"primary"}},[t._v("导入Excle")])],1),t._v(" "),a("span",{staticClass:"upload-tips red"},[t._v("注:用于校验原文链接的一致性")])],1):t._e(),t._v(" "),a("x-table-2",{directives:[{name:"show",rawName:"v-show",value:"1"===t.browser||"2"===t.browser,expression:"browser==='1' || browser === '2'"}],ref:"table",attrs:{data:t.tableData,stripe:"",loading:t.loading,align:"left"}},[a("x-table-column",{attrs:{label:"派单渠道名称",prop:"distribution_channel_name",width:"30"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",{staticStyle:{"font-size":"14px",color:"#333"}},[t._v(t._s(e.data.name))]),t._v(" "),a("p",{staticClass:"channel-link-wrap"},[a("a",{staticClass:"blue channel-link single-line",attrs:{href:e.data.redirect_url,title:e.data.redirect_url,target:"_bank"}},[t._v(t._s(e.data.promotion_url))]),t._v(" "),a("i",{staticClass:"copy",attrs:{"data-clipboard-text":e.data.promotion_url}}),t._v(" "),a("el-popover",{ref:"QR",attrs:{placement:"right","popper-class":"popover-qr",title:"二维码(点击下载)",trigger:"hover"}},[a("a",{directives:[{name:"qr",rawName:"v-qr",value:e,expression:"scope"}],attrs:{"data-v":1,download:e.data.id}}),t._v(" "),a("i",{staticClass:"QR pointer-box",attrs:{slot:"reference"},slot:"reference"})]),t._v(" "),a("el-popover",{ref:"QR2",attrs:{placement:"right","popper-class":"popover-qr",title:"推广二维码(点击下载)",trigger:"hover"}},[t._l(t.qrCodeBg,function(n,i){return a("div",{key:n.id,staticClass:"spread-qrcode-box"},[a("a",{attrs:{id:"download"+n.id}}),t._v(" "),a("div",{on:{click:function(e){t.toDown(e,n.id)}}},[a("img",{staticClass:"qrcode-img",attrs:{src:n.codeUrl}}),t._v(" "),a("a",{directives:[{name:"qr",rawName:"v-qr",value:e,expression:"scope"}],staticClass:"qrcode-box-link",attrs:{"data-v":i+2},on:{click:function(t){t.stopPropagation()}}})])])}),t._v(" "),a("i",{staticClass:"QR pointer-box",attrs:{slot:"reference"},slot:"reference"})],2),t._v(" "),a("i",{staticClass:"short-link",on:{click:function(a){a.stopPropagation(),t.openShortLinkDialog(e.data.promotion_url)}}})],1),t._v(" "),a("p",{staticStyle:{color:"#ccc","white-space":"nowrap"}},[t._v("创建时间:"+t._s(e.data.created_at))])]}}])}),t._v(" "),t.massPromotion?a("x-table-column",{attrs:{label:"预计发送时间",prop:"pre_send_date",width:"15"}}):t._e(),t._v(" "),a("x-table-column",{attrs:{label:"推广入口页面",prop:"index_page",width:"20"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.data.entrance?a("span",{staticClass:"blue"},[t._v(t._s(e.data.entrance))]):[a("router-link",{staticClass:"blue single-line",attrs:{to:{name:t.promotionNovelInfo.name,params:{id:e.data.book_id}},title:e.data.book_name,target:"_blank"}},[t._v("《"+t._s(e.data.book_name)+"》")]),t._v(" "),a("br"),t._v(" "),a("span",{staticClass:"single-line",attrs:{title:e.data.chapter_name}},[t._v("推广章节:"+t._s(e.data.chapter_name))]),t._v(" "),a("br"),t._v(" "),a("span",{staticClass:"single-line",attrs:{title:e.data.subscribe_chapter_name}},[t._v("关注章节:"+t._s(e.data.subscribe_chapter_name))])]]}}])}),t._v(" "),"2"===t.browser?a("x-table-column",{attrs:{prop:"lp",label:"链接pv \n 链接uv",width:"15"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",[t._v(t._s(e.data.browserClickNum))]),t._v(" "),a("p",[t._v(t._s(e.data.browserClickNumUV))])]}}])}):t._e(),t._v(" "),"2"===t.browser?a("x-table-column",{attrs:{label:"二维码pv\n二维码uv",prop:"p",width:"10"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",[t._v(t._s(e.data.clickNum))]),t._v(" "),a("p",[t._v(t._s(e.data.clickNumUV))])]}}])}):a("x-table-column",{attrs:{label:"pv\nuv",prop:"p",width:"10"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",[t._v(t._s(e.data.clickNum))]),t._v(" "),a("p",[t._v(t._s(e.data.clickNumUV))])]}}])}),t._v(" "),"2"===t.browser?a("x-table-column",{attrs:{prop:"lp",label:"新增关注",width:"10"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",[t._v(t._s(e.data.fansNum))])]}}])}):a("x-table-column",{attrs:{label:"新增关注\n关注率",prop:"s",width:"10"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",[t._v(t._s(e.data.fansNum))]),t._v(" "),"1"===t.browser?a("p",[t._v(t._s(e.data.rateOfAttention))]):t._e()]}}])}),t._v(" "),a("x-table-column",{attrs:{label:"注册用户\n付费用户",prop:"u",width:"10"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",[t._v(t._s(e.data.registerNum))]),t._v(" "),a("p",[t._v(t._s(e.data.payUserNum))])]}}])}),t._v(" "),a("x-table-column",{attrs:{label:"充值总额",prop:"totalChargeAmountString",width:"13",className:"red"}}),t._v(" "),a("x-table-column",{attrs:{label:"成本(元)\n盈亏(元)\n充值/成本",prop:"m",width:"13"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",[t._v(t._s(e.data.cost)+"\n "),a("span",{staticClass:"modifiable",attrs:{title:"修改成本"},on:{click:function(a){t.openCost(e.data)}}})]),t._v(" "),a("p",[t._v(t._s(e.data.profit))]),t._v(" "),a("p",[t._v(t._s(e.data.ratioOfSalesToCost))])]}}])}),t._v(" "),a("x-table-column",{attrs:{label:"操作",prop:"options",width:"10"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("router-link",{attrs:{to:{name:t.statisticsRecord,params:{send_order_id:e.data.id}}}},[a("p",{staticClass:"blue",staticStyle:{"white-space":"nowrap"}},[t._v("订单明细")])]),t._v(" "),a("p",{staticClass:"blue pointer-box",staticStyle:{"white-space":"nowrap"},on:{click:function(a){t.openKeyDialog(e.data)}}},[t._v("新增关键字")]),t._v(" "),a("p",{staticClass:"blue pointer-box",staticStyle:{"white-space":"nowrap"},on:{click:function(a){t.openChannel(e.data)}}},[t._v("修改")]),t._v(" "),a("el-popover",{attrs:{width:"160",placement:"left"},model:{value:t.delPop[e.row],callback:function(a){t.$set(t.delPop,e.row,a)},expression:"delPop[scope.row]"}},[a("p",{staticStyle:{"padding-bottom":"12px"}},[t._v("确定删除\n "),a("span",{staticClass:"blue"},[t._v(t._s(e.data.name))]),t._v(" 吗?")]),t._v(" "),a("div",{staticStyle:{"text-align":"right",margin:"0"}},[a("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(a){t.delPop.splice(e.row,1,!1)}}},[t._v("取消")]),t._v(" "),a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(a){t.delSendOrders(e.data.id),t.delPop.splice(e.row,1,!1)}}},[t._v("确定")])],1),t._v(" "),a("p",{staticClass:"blue pointer-box",staticStyle:{"white-space":"nowrap"},attrs:{slot:"reference"},slot:"reference"},[t._v("删除")])])]}}])})],1),t._v(" "),a("x-table-2",{directives:[{name:"show",rawName:"v-show",value:"3"===t.browser||"4"===t.browser,expression:"browser==='3'||browser==='4'"}],ref:"table1",attrs:{data:t.tableData2,stripe:"",loading:t.loading,align:"left"}},[a("x-table-column",{attrs:{label:"类型",width:"15"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.data.template_id?"模板消息":"客服消息")+"\n ")]}}])}),t._v(" "),a("x-table-column",{attrs:{label:"ID",prop:"id",width:"15"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.data.id))]}}])}),t._v(" "),a("x-table-column",{attrs:{label:"任务名称",width:"40"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",{staticClass:"blue"},[t._v(t._s(e.data.name))]),t._v(" "),a("p",[t._v("发送时间:"+t._s(e.data.send_time))])]}}])}),t._v(" "),a("x-table-column",{attrs:{label:"小说/章节",width:"30"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",{staticClass:"blue"},[t._v("《"+t._s(e.data.book_name)+"》")]),t._v(" "),a("p",[t._v(t._s(e.data.chapter_name))])]}}])}),t._v(" "),a("x-table-column",{attrs:{label:"pv",width:"15"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",[t._v(t._s(e.data.pv||0))])]}}])}),t._v(" "),a("x-table-column",{attrs:{label:"uv",width:"15"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",[t._v(t._s(e.data.uv||0))])]}}])}),t._v(" "),a("x-table-column",{attrs:{label:"充值用户",width:"15"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",[t._v(t._s(e.data.pay_user_num||0))])]}}])}),t._v(" "),a("x-table-column",{attrs:{label:"充值总额",width:"15"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",{staticClass:"red"},[t._v("¥"+t._s(e.data.charge_amount||0))])]}}])}),t._v(" "),a("x-table-column",{attrs:{label:"操作",prop:"options",width:"20"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("router-link",{attrs:{to:{name:t.statisticsRecord,params:{from_custom_id:"3"===t.browser?"custom_"+e.data.id:"template_"+e.data.id}}}},[a("p",{staticClass:"blue",staticStyle:{"white-space":"nowrap"}},[t._v("订单明细")])])]}}])})],1),t._v(" "),t.meta.last_page?a("div",{staticClass:"pagination"},[a("el-pagination",{attrs:{"current-page":t.meta.current_page,"page-size":t.meta.per_page,"page-count":t.meta.last_page,layout:"prev, pager, next, jumper"},on:{"current-change":t.handleCurrentChange}})],1):t._e(),t._v(" "),a("el-dialog",{attrs:{visible:t.costDialog,title:"修改成本",size:"small"},on:{"update:visible":function(e){t.costDialog=e}}},[a("el-form",{attrs:{"label-position":"left","label-width":"50px"}},[a("el-form-item",{attrs:{label:"成本"}},[a("el-input",{model:{value:t.costNew,callback:function(e){t.costNew=e},expression:"costNew"}})],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.costDialog=!1}}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.updateCost}},[t._v("确 定")])],1)],1),t._v(" "),a("el-dialog",{attrs:{visible:t.channelDialog,title:"修改渠道","custom-class":"dialog-popup-promotion"},on:{"update:visible":function(e){t.channelDialog=e}}},[a("x-popup",{attrs:{status:t.channelDialog,info:t.channelBook,chapter:t.channelChapter,origin:t.channelDate,type:t.channelType,name:t.channelDate.entrance,action:"update"},on:{"update:status":function(e){t.channelDialog=e},"success-update":t.updateSuccess}})],1),t._v(" "),a("el-dialog",{attrs:{visible:t.keyDialog,title:"新增关键字"},on:{"update:visible":function(e){t.keyDialog=e}}},[a("x-popup",{attrs:{status:t.keyDialog,type:"x-key-pop",info:t.keyInfo},on:{"update:status":function(e){t.keyDialog=e}}})],1),t._v(" "),a("el-dialog",{attrs:{visible:t.shortLinkDialog,title:"生成短链",size:"small"},on:{"update:visible":function(e){t.shortLinkDialog=e}}},[a("div",{staticClass:"form-box"},[a("div",{staticClass:"form-item"},[a("p",{staticClass:"item-label"},[t._v("推广链接:")]),t._v(" "),a("p",{staticClass:"item-text"},[t._v(t._s(t.promoteLink)+"\n "),a("i",{staticClass:"copy",attrs:{"data-clipboard-text":t.promoteLink}})])]),t._v(" "),a("div",{staticClass:"form-item"},[a("p",{staticClass:"item-label"},[t._v("短连接:")]),t._v(" "),a("p",{staticClass:"item-text"},[t._v(t._s(t.shortLink)+"\n "),a("i",{staticClass:"copy",attrs:{"data-clipboard-text":t.shortLink}})])])])]),t._v(" "),a("el-dialog",{attrs:{visible:t.reportTableDialog,title:"周报数据","custom-class":"dialog-report",top:"10%"},on:{"update:visible":function(e){t.reportTableDialog=e}}},[a("x-report-table",{attrs:{data:t.reportData}})],1)],1),t._v(" "),a("canvas",{attrs:{id:"testCanvas"}})],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},vd2b:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"settlement-center"},[a("div",{staticClass:"title"},[t._v(t._s(t.Chinese))]),t._v(" "),a("x-sub-title",{attrs:{item:t.item,default:t.defaultMenu},on:{"change-item":t.handleMenu}}),t._v(" "),a("router-view")],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},voBo:function(t,e){},vpnd:function(t,e,a){"use strict";function n(t){a("u02d"),a("/NWn")}var i=a("PM7G"),s=a("QiBE"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},"vq+U":function(t,e,a){"use strict";var n=a("gyMJ"),i=a("dhim"),s=(a("ZoQJ"),a("XgVn"));e.a={name:i.L.name,components:{"x-verification-code":s.a},data:function(){return{ruleForm:{account_name:"",card_number:"",account_bank:"",bank:[],phone:"",sms_code:""},is_company:1,rules:{account_name:[{required:!0,message:"请输入姓名",trigger:"blur"}],card_number:[{required:!0,message:"请输入银行卡号",trigger:"blur"},{pattern:/^[\s\d]+$/,message:"请输入数字",trigger:"blur"}],bank:[{validator:function(t,e,a){e.length?a():a(new Error("请选择银行"))},trigger:"blur"}],account_bank:[{required:!0,message:"请输入开户支行",trigger:"blur"}],phone:[{required:!0,message:"请输入手机号",trigger:"blur"},{pattern:/^1(3|4|5|7|8)\d{9}$/,message:"请输入正确手机号",trigger:"blur"}]},banks:[{value:"加载中",label:"加载中",disabled:!0}],status:!1,modify:!1,sendStatus:!1}},methods:{methodChange:function(){},submitForm:function(t){var e=this;this.sendStatus||(this.sendStatus=!0,this.$refs[t].validate(function(t){if(!t)return e.sendStatus=!1,!1;a.i(n._78)({is_company:e.is_company,account_name:e.ruleForm.account_name,card_number:e.ruleForm.card_number.replace(/\s/g,""),bank_id:e.ruleForm.bank[0],account_bank:e.ruleForm.account_bank,phone:e.is_company?e.ruleForm.phone:null,sms_code:e.ruleForm.sms_code}).then(function(t){e.status=!0,e.modify=!1,t.bank=[t.bank_id],e.ruleForm=t,e.format_card_number(),e.sendStatus=!1}).catch(function(t){e.sendStatus=!1})}))},resetForm:function(t){this.$refs[t].resetFields()},format_card_number:function(){this.ruleForm.card_number=this.ruleForm.card_number.replace(/\D/g,"").replace(/....(?!$)/g,"$& ")},modifyForm:function(){var t=this;this.modify=!0,this.banks.length<=1&&a.i(n._79)().then(function(e){t.banks=e})}},mounted:function(){var t=this,e=this.$loading({target:this.$refs.ruleForm.$el});a.i(n._72)().then(function(a){t.banks=[{value:a.bank_id,label:a.bank}],a.bank=[a.bank_id],t.ruleForm=a,t.format_card_number(),t.is_company=a.is_company,t.status=!0,e.close()}).catch(function(i){a.i(n._79)().then(function(e){t.banks=e}),e.close()})}}},vq4R:function(t,e,a){"use strict";function n(t){a("nv0C"),a("Gtt8")}var i=a("Sbf/"),s=a("hZ4t"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,"data-v-39cef573",null);e.a=c.exports},w3XL:function(t,e,a){"use strict";function n(t){a("/Xsx")}var i=a("aatb"),s=a("6Xy0"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},w3xD:function(t,e,a){"use strict";var n=a("yEpX"),i=a("oj1T"),s=a("jpIF"),o=a("5W/2"),r=a("oj9m"),c=a("27TT"),l=a("dhim"),u=[[l.b,s.a],[l.E,o.a],[l.D,r.a],[l.F,c.a]],p=a.i(n.a)([[l.C,i.a,u]]);e.a=p},w6N4:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"promotion-notify-list"},[a("x-table",{attrs:{column:t.tableColumn,data:t.tableData,stripe:""},scopedSlots:t._u([{key:"col-7",fn:function(e){return[a("span",{staticClass:"pointer-box blue",on:{click:function(a){t.dialogOpen(e.rowData)}}},[t._v("查看")]),t._v(" "),[e.rowData.modified?a("x-del-pop",{attrs:{name:e.rowData.name},on:{confirm:function(a){t.stopTemplate(e.rowData)}}},[a("span",{staticClass:"pointer-box blue"},[t._v("停止")])]):a("span",{staticClass:"ban-box"},[t._v("停止")])],t._v(" "),a("span",{class:e.rowData.modified?"pointer-box blue":"ban-box",on:{click:function(a){t.editTemplate(e.rowData)}}},[t._v("编辑")]),t._v(" "),["8"!==e.rowData.status?a("x-del-pop",{attrs:{name:e.rowData.name},on:{confirm:function(a){t.delTemplate(e.rowData)}}},[a("span",{staticClass:"pointer-box blue"},[t._v("删除")])]):a("span",{staticClass:"ban-box"},[t._v("删除")])]]}}])}),t._v(" "),t.meta.total?a("div",{staticClass:"pagination"},[a("el-pagination",{attrs:{"current-page":t.meta.current_page,"page-size":t.meta.per_page,"page-count":t.meta.last_page,layout:"prev, pager, next, jumper"},on:{"current-change":t.handleCurrentChange}})],1):t._e(),t._v(" "),a("el-dialog",{attrs:{title:"模板消息",visible:t.dialogVisible,size:"tiny"},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("p",[t._v(t._s(this.dialogValue.title))]),t._v(" "),a("p",{staticStyle:{"white-space":"pre"}},[t._v(t._s(this.dialogContent))])])],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},wBdn:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"pay-setting"},[a("div",{staticClass:"title"},[t._v(t._s(t.commit.Chinese))]),t._v(" "),a("div",{staticClass:"content"},[a("p",{staticClass:"notice"}),a("div",{staticClass:"choose-content"},[a("el-radio-group",{staticClass:"content-box",model:{value:t.radio,callback:function(e){t.radio=e},expression:"radio"}},t._l(t.choose,function(e,n){return a("div",{key:n,class:["choose-item",t.radio===e.value?"cur":""]},[a("div",{staticClass:"choose-item__title",on:{change:function(a){t.change(e.value)}}},[a("el-radio",{attrs:{label:e.value}},[t._v(t._s(e.label))]),t._v(" "),a("span",{directives:[{name:"show",rawName:"v-show",value:t.current===e.value,expression:"current===item.value"}],staticClass:"now"},[t._v("当前模板")])],1),t._v(" "),a("img",{attrs:{src:e.img,alt:""}}),t._v(" "),1===n?a("p",{staticClass:"notice bottom_notice"},[a("i",{staticClass:"el-icon-warning"}),t._v("阅读器进行特殊设计,字体放大适用于老年人阅读。\n ")]):t._e()])}))],1)]),t._v(" "),a("el-dialog",{staticClass:"dialog-wrapper",attrs:{size:"tiny",title:"提示",top:"35%",visible:t.dialogVisible,"close-on-press-escape":!1,"show-close":!1,"close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("p",{staticClass:"dialog-content"},[t._v("确认阅读器更改为\n "),a("i",[t._v(t._s(t.choose[t.radio].label))]),t._v("?")]),t._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.reset}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.confirm}},[t._v("确 定")])],1)])],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},"wKQ/":function(t,e,a){"use strict";function n(t,e){var a=Math.round(t/(t+e)*100);return isNaN(a)?"0%":a+"%"}function i(t,e){return[t,a.i(h.d)(window.options[e+"_recharge_amount"]),window.options[e+"_ticket_recharge_amount"],window.options[e+"_year_recharge_amount"],window.options[e+"_ticket_recharge_paid_num"],window.options[e+"_year_recharge_paid_num"],window.options[e+"_ticket_recharge_unpaid_num"],window.options[e+"_year_recharge_unpaid_num"],n(window.options[e+"_ticket_recharge_paid_num"],window.options[e+"_ticket_recharge_unpaid_num"]),n(window.options[e+"_year_recharge_paid_num"],window.options[e+"_year_recharge_unpaid_num"])]}var s=a("Xxa5"),o=a.n(s),r=a("Dd8w"),c=a.n(r),l=a("exGp"),u=a.n(l),p=a("gyMJ"),d=a("dhim"),m=a("mw3O"),v=a.n(m),h=a("ZoQJ"),f=a("b87Z");e.a={name:d.H.name,components:{"x-withdraw":f.a},data:function(){return{pickerOptions2:{shortcuts:[{text:"最近一周",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.getTime()-6048e5),t.$emit("pick",[a,e])}},{text:"最近一个月",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.getTime()-2592e6),t.$emit("pick",[a,e])}}]},channel:"",timeRange:[new Date(+new Date-2592e6),new Date],activity_name:"",from_custom_id:"",payStatus:null,recharge:[["今日充值",0,0,0],i("昨日充值","yesterday"),i("本月充值","current_month"),i("上月充值","last_month")],totalRecharge:[a.i(h.d)(window.options.total_recharge_amount),window.options.paid_number,window.options.unpaid_number,n(window.options.paid_number,window.options.unpaid_number)],balanceRecharge:[a.i(h.d)(window.options.enable_withdrawal_amount),window.options.accumulative_withdrawal_amount,window.options.withdraw_pending_amount],subTitle:["充值订单"],headerList:[{label:"商户单号",prop:"trade_no",width:10},{label:"用户",prop:"index_page",width:10},{label:"派单名称",prop:"send_order_name",width:8},{label:"金额",prop:"price",width:5,className:"red"},{label:"支付状态",prop:"pay_flag",width:5},{label:"支付时间",prop:"pay_end_at",width:8},{label:"活动名称",prop:"activity_name",width:5}],tableData:[],meta:{},timer:null,second:(new Date).getSeconds(),todayRefreshStatus:!1,visible:!1}},methods:{handleIconClick:function(t){this.getOrders()},handleCurrentChange:function(t){t!==this.meta.current_page&&this.getOrders(t)},changeTitle:function(t){var e=-1===t?{name:d.H.name}:{name:d.H.name,query:{pay_flag:t}};this.$router.replace(e)},handleWithdrawMsg:function(){},handleWithdraw:function(){this.visible=!0},getOrders:function(t){var e=this;return u()(o.a.mark(function n(){var i;return o.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!(e.timeRange[1]-e.timeRange[0]>2592e6)){n.next=2;break}return n.abrupt("return",e.$message.error("时间段不能超过一个月"));case 2:return n.next=4,a.i(p._68)(c()({page:t},e.query));case 4:i=n.sent,e.tableData=i.list,e.meta=i.meta;case 7:case"end":return n.stop()}},n,e)}))()},exportOrders:function(){var t=v.a.stringify(this.query);a.i(p._69)("/api/trade/exportOrders?"+t)},updateTodayRecharge:function(){var t=this;this.todayRefreshStatus=!0,a.i(p._70)().then(function(e){t.recharge[0]=["今日充值",a.i(h.d)(e.amount),e.recharge_success_amount,e.year_success_amount,e.recharge_paid_number,e.year_paid_number,e.recharge_unpaid_number,e.year_unpaid_number,n(e.recharge_paid_number,e.recharge_unpaid_number),n(e.year_paid_number,e.year_unpaid_number)],t.todayRefreshStatus=!1})}},computed:{query:function(){var t=this.$route.query,e={};return void 0!==t.pay_flag&&(e.pay_flag=t.pay_flag),this.channel&&(e.send_order_id=this.channel),this.timeRange[0]&&(e.start_time=this.timeRange[0].Format()),this.timeRange[1]&&(e.end_time=this.timeRange[1].Format()),this.payStatus&&(e.status=this.payStatus),this.activity_name&&(e.activity_name=this.activity_name),this.from_custom_id&&(e.from_custom_id=this.from_custom_id),e},defaultTitle:function(){return void 0!==this.$route.query.pay_flag?+this.$route.query.pay_flag:-1}},created:function(){var t=this;this.channel=this.$route.params.send_order_id,this.activity_name=this.$route.params.activity_name,this.from_custom_id=this.$route.params.from_custom_id,this.getOrders(),this.updateTodayRecharge(),clearInterval(this.timer),this.timer=setInterval(function(){t.second=(new Date).getSeconds(),t.second||t.updateTodayRecharge()},1e3)},destroyed:function(){clearInterval(this.timer)}}},wRg2:function(t,e,a){"use strict";var n=a("yEpX"),i=a("+ULn"),s=a("JYcO"),o=a("tzQf"),r=a("dmwm"),c=a("CyCs"),l=a("dhim"),u=[[l._9,c.a],[l._10,c.a]],p=[[l.J,s.a,u],[l.K,o.a],[l.L,r.a]],d=a.i(n.b)([[l.I,i.a,p]]);e.a=d},wZit:function(t,e,a){"use strict";var n=a("7+uW");new n.default},wbXU:function(t,e,a){"use strict";var n=a("yEpX"),i=a("dhim"),s=(a("sh+m"),a("Nst1"),a("Ze5U")),o=a("fFiZ"),r=(a("VpDd"),a("0AxG")),c=a("RCcd"),l=a("CaSo"),u=a("hSBT"),p=a("zreI"),d=a("8GCA"),m=a("w3XL"),v=a("G1oX"),h=a("2yS5"),f=a("rmh2"),_=a("kxTa"),b=a("54kn"),g=a("kPId"),y=a("0pTu"),C=a("RGye"),w=a("NqJO"),k=a("lv5m"),A=a("vpnd"),x=[[i.l,d.a],[i.m,p.a],[i._18,d.a]],S=[[i.p,h.a],[i._19,h.a],[i._20,h.a],[i.q,v.a]],I=[[i.u,g.a],[i.t,y.a],[i.s,C.a]],R=[[i.y,k.a],[i.x,A.a],[i.z,A.a]],D=a.i(n.b)([[i.h,123===window.options.distribution_channel_id?s.a:o.a],[i.i,c.a],[i.g,r.a],[i.j,l.a],[i.r,_.a],[i.n,f.a],[i.k,u.a,x],[i.o,m.a,S],[i.v,b.a,I],[i.w,w.a,R]]);e.a=D},wwua:function(t,e,a){"use strict";var n=a("gyMJ");e.a={props:["visible"],data:function(){return{dialogVisible:!1,miniStatus:!1,name:"",promotion_type:"POSTER_EXTEND",pType:"ali"}},watch:{visible:function(){this.visible&&!this.miniStatus?(this.dialogVisible=this.visible,this.miniStatus=!0):this.dialogVisible=this.visible}},methods:{close:function(){this.$emit("update:visible",!1)},buildLink:function(){var t=this;a.i(n.r)(this.name,this.promotion_type,this.pType).then(function(e){e.link=e.promotion_url,t.$emit("success",e)})},handleDialog:function(){this.$emit("close",!1)}}}},wzet:function(t,e,a){"use strict";var n=a("Xxa5"),i=a.n(n),s=a("exGp"),o=a.n(s),r=a("gyMJ");new Date(new Date-6048e5),new Date,e.a={data:function(){return{pickerOptions:{shortcuts:[{text:"最近一周",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.getTime()-6048e5),t.$emit("pick",[a,e])}},{text:"最近一个月",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.getTime()-2592e6),t.$emit("pick",[a,e])}},{text:"最近三个月",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.getTime()-7776e6),t.$emit("pick",[a,e])}}]},pickerDefaultValue:[new Date(new Date-6048e5),new Date],server:null,tableData:[],serverList:[],loading:!1,meta:{}}},methods:{handleIconClick:function(t){var e=this;return o()(i.a.mark(function t(){return i.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:e.getFansData();case 1:case"end":return t.stop()}},t,e)}))()},getFansData:function(t){var e=this;return o()(i.a.mark(function n(){var s,o,c,l,u,p;return i.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return e.loading=!0,s=e.pickerDefaultValue[0].Format(),o=e.pickerDefaultValue[1].Format(),c=e.server,l=t||1,u={start_date:s,end_date:o,appid:c,page:l},n.next=8,a.i(r._0)(u);case 8:p=n.sent,e.tableData=p.list,e.meta=p.meta,e.loading=!1;case 12:case"end":return n.stop()}},n,e)}))()},exportSendOrders:function(){this.$message("功能暂未开放")},handleCurrentChange:function(t){t!==this.meta.current_page&&this.getFansData(t)}},created:function(){var t=this;a.i(r._1)().then(function(e){t.serverList=e}),this.getFansData()}}},xJD8:function(t,e,a){"use strict";var n=a("zIkb");a("dhim"),a("sh+m");e.a={name:"app",components:{"x-menu":n.a}}},xUoB:function(t,e){},xbSE:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"promotion-novel"},[n("div",{staticClass:"title"},[t._v(t._s(t.Chinese))]),t._v(" "),n("div",{staticClass:"promotion-novel__head view-section-spacing view-section library-type"},t._l(t.novelLibrary.children,function(e,a){return n("div",{key:a,class:["library-item",{"is-active":e.value===t.status.superior}],on:{click:function(a){t.select("superior",e.value,t.novelLibrary.conflict)}}},[t._v(t._s(e.label))])})),t._v(" "),n("div",{staticClass:"promotion-novel__head view-section-spacing view-section"},[t._l(t.condition,function(e){return n("dl",{directives:[{name:"show",rawName:"v-show",value:e.showInBaokuang,expression:"c.showInBaokuang"}],key:e.label,staticClass:"promotion-novel__condition"},[n("dt",[t._v(t._s(e.label)),e.recommend?n("span",{staticClass:"condition-recom"},[t._v("荐")]):t._e()]),t._v(" "),n("dd",t._l(e.children,function(a){return n("span",{key:a.value,class:{"is-active":t.status[e.key]===a.value},on:{click:function(n){t.select(e.key,a.value,e.conflict)}}},[t._v(t._s(a.label))])}))])}),t._v(" "),n("hr",{staticClass:"promotion-novel__line"}),t._v(" "),n("el-input",{staticClass:"promotion-novel__search",attrs:{placeholder:"请输入关键字",size:"large",icon:"search","on-icon-click":t.handleIconClick},nativeOn:{keydown:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13))return null;t.handleIconClick(e)}},model:{value:t.status.key,callback:function(e){t.status.key=e},expression:"status.key"}}),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showFare,expression:"showFare"}],staticClass:"promotion-novel__welfare",on:{click:t.getWelfare}},[n("img",{attrs:{src:a("pcFI")}}),t._v(" "),n("span",{staticClass:"red"},[t._v("红包入口>")])])],2),t._v(" "),n("div",{ref:"table",staticClass:"promotion-novel__body view-section view-section-nopadding"},[n("x-sub-title",{attrs:{item:["小说列表"]}},[n("div",{staticClass:"down-and-upload"},[n("div",{staticClass:"promotion-down",on:{click:t.downNovel}},[t._v("下载")]),t._v(" "),n("div",{staticClass:"promotion-upload",on:{click:t.uploadNovel}},[t._v("上传\n "),n("input",{staticStyle:{display:"none"},attrs:{id:"uploadInput",type:"file",accept:".csv, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},on:{change:function(e){t.uploaded(e)}}})])])]),t._v(" "),n("el-checkbox-group",{model:{value:t.choose,callback:function(e){t.choose=e},expression:"choose"}},[n("x-table-2",{ref:"table2",attrs:{data:t.tableData,stripe:"",loading:t.loading,align:"left","order-prop":t.status.order_field,"order-type":"asc"===t.status.order_type},on:{rearrange:t.rearrange}},[n("x-table-column",{attrs:{label:"小说名称",prop:"name",order:!1,width:"30"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",{staticClass:"promotion-novel__check"},[n("el-checkbox",{attrs:{label:e.data.book_id}}),t._v(" "),n("router-link",{staticClass:"pointer-box promotion-novel__name promotion-novel__flex",attrs:{tag:"div",to:{name:t.promotionNovelInfo,params:{id:e.data.book_id}}}},[n("div",{staticClass:"cover"},[n("img",{attrs:{src:e.data.cover_url}})]),t._v(" "),n("div",{staticClass:"content"},[n("div",{staticClass:"first"},[n("span",{staticClass:"name single-line blue"},[t._v(t._s(e.data.book_name))])]),t._v(" "),n("div",{staticClass:"second"},[n("el-tag",{attrs:{color:"#31DC86"}},[t._v(t._s(e.data.charge_type))]),t._v(" "),n("el-tag",{attrs:{color:e.data.book_end_status?"#6165d9":"#fe7f22"}},[t._v(t._s(e.data.book_end_status?"完结":"连载中"))])],1),t._v(" "),n("div",{staticClass:"third"},[t._v("\n 章节数:"+t._s(e.data.chapter_count)+"\n ")]),t._v(" "),n("div",{staticClass:"five"},[t._v("\n 上架时间:"+t._s(e.data.on_shelf_time.substr(0,10))+"\n ")]),t._v(" "),e.data.editor_recommend_msg?n("div",{staticClass:"six red"},[t._v("编辑推荐:"+t._s(e.data.editor_recommend_msg))]):t._e()])])],1)]}}])}),t._v(" "),n("x-table-column",{attrs:{label:"性别",width:"10",prop:"sex_preference"}}),t._v(" "),1!==t.status.superior?n("x-table-column",{attrs:{label:"编辑评级",prop:"recommend_index",width:"10"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",{class:"promotion-novel__"+("A+"===e.data.recommend_index[0]?"A":e.data.recommend_index[0])},[n("img",{attrs:{src:a("5U7Y")}}),t._v(" "+t._s(e.data.recommend_index)+"\n ")])]}}])}):t._e(),t._v(" "),1===t.status.superior||null===t.status.superior?n("x-table-column",{attrs:{label:"全站派单指数",prop:"total_send_order_sum",width:"10"}}):t._e(),t._v(" "),n("x-table-column",{attrs:{label:"已推数",prop:"channel_send_order_sum",width:"10"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("router-link",{attrs:{to:{name:t.statisticsPromote,params:{bookName:e.data.book_name}}}},[n("span",{staticClass:"blue"},[t._v(t._s(e.data.channel_send_order_sum))])])]}}])}),t._v(" "),3===t.status.superior||2===t.status.superior?n("x-table-column",{attrs:{label:"七天派单指数",prop:"week_send_order_sum",width:"10"}}):t._e(),t._v(" "),n("x-table-column",{attrs:{label:"自主评级",prop:"own_score",width:"10"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-select",{key:e.data.book_id,attrs:{placeholder:"请选择"},on:{change:function(a){t.own_score(a,e.data.book_id)}},model:{value:e.data.own_score,callback:function(t){e.data.own_score=t},expression:"scope.data.own_score"}},[n("el-option",{attrs:{label:"S级",value:"S"}}),t._v(" "),n("el-option",{attrs:{label:"A级",value:"A"}}),t._v(" "),n("el-option",{attrs:{label:"B级",value:"B"}}),t._v(" "),n("el-option",{attrs:{label:"C级",value:"C"}}),t._v(" "),n("el-option",{attrs:{label:"D级",value:"D"}})],1)]}}])}),t._v(" "),n("x-table-column",{attrs:{label:"操作",width:"10"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("router-link",{staticClass:"addCustom",attrs:{tag:"div",to:{name:t.promotionCustomNotifyNew,params:{book:e.data}}}},[t._v("客服消息")])]}}])})],1)],1),t._v(" "),t.meta.last_page?n("div",{staticClass:"pagination"},[n("el-pagination",{attrs:{"current-page":t.meta.current_page,"page-size":t.meta.per_page,"page-count":t.meta.last_page,layout:"prev, pager, next, jumper"},on:{"current-change":t.handleCurrentChange}})],1):t._e()],1),t._v(" "),n("el-dialog",{attrs:{title:"追书云登录送福利",visible:t.welfare.status,"custom-class":"notify-welfare"},on:{"update:visible":function(e){t.welfare.status=e}}},[n("div",{staticClass:"notify-welfare__banner"},[n("img",{staticStyle:{display:"block"},attrs:{src:"https://cdn-novel.iycdm.com/distribution/welfare/welcome.jpg"}}),t._v(" "),n("div",{ref:"qr",staticClass:"notify-welfare__qr",class:{"notify-welfare__over":!t.welfare.is_has_prize}})]),t._v(" "),n("x-table-2",{staticClass:"notify-welfare__table",attrs:{data:t.welfare.books,stripe:""}},[n("x-table-column",{attrs:{label:"书名",prop:"book_name"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("router-link",{staticClass:"blue pointer-box",attrs:{to:{name:t.promotionNovelInfo,params:{id:e.data.bid}}}},[t._v("\n "+t._s(e.cell)+"\n ")])]}}])}),t._v(" "),n("x-table-column",{attrs:{label:"强关率",prop:"force_subscribe_rate"}}),t._v(" "),n("x-table-column",{attrs:{label:"付费率",prop:"charge_rate"}}),t._v(" "),n("x-table-column",{attrs:{label:"预览图",prop:"charge_rate"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("a",{staticClass:"blue pointer-box",attrs:{href:e.data.data_img,target:"_blank"}},[t._v("点击预览")])]}}])}),t._v(" "),n("x-table-column",{attrs:{label:"操作",prop:"option"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("router-link",{staticClass:"blue pointer-box",attrs:{to:{name:t.promotionNovelInfo,params:{id:e.data.bid}}}},[t._v("\n 创建派单\n ")])]}}])})],1)],1)],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},xj1W:function(t,e,a){"use strict";var n=a("gyMJ"),i=a("dhim");e.a={name:i.q.name,data:function(){return{promotionCustomNotifyEdit:i._19.name,dialogVisible:!1,data:[],column:[{prop:"id",label:"ID"},{prop:"name",label:"任务名称"},{prop:"send_time",label:"发送时间"},{prop:"user_category",label:"发送人群"},{prop:"user_num",label:"发送人数"},{prop:"customer_status",label:"发送状态"},{prop:"",label:"操作",width:170}],meta:{},loading:!0,content:[]}},methods:{handleCurrentChange:function(t){var e=this;this.loading=!0,a.i(n._45)(t).then(function(t){e.loading=!1,e.data=t.list,e.meta=t.meta,e.$router.replace({name:i.q.name,query:{page:e.$route.query.page}})})},look:function(t){this.content=JSON.parse(t),this.dialogVisible=!0},stop:function(t){t.modified&&a.i(n._46)({id:t.id}).then(function(e){t.customer_status="已停止",t.status="4",t.modified=!1})},del:function(t){var e=this;a.i(n._47)(t.id).then(function(t){e.handleCurrentChange(e.$route.query.page)})},edit:function(t){t.modified&&this.$router.push({name:i._19.name,query:{id:t.id}})}},created:function(){this.handleCurrentChange(this.$route.query.page)}}},xkYn:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData}},[t.a?a("el-table-column",{attrs:{prop:"date",label:"日期",width:"180"}},[a("div",[t._v("123")])]):t._e(),t._v(" "),a("el-table-column",{attrs:{prop:"name",label:"姓名",width:"180"}}),t._v(" "),a("el-table-column",{attrs:{prop:"address",label:"地址"}})],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},xssJ:function(t,e,a){"use strict";function n(t){a("mtoW")}var i=a("c2Ys"),s=a("z7s/"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,"data-v-5e7c030a",null);e.a=c.exports},xxS7:function(t,e){},yCUS:function(t,e,a){"use strict";e.a={name:"popover-title",props:["value","titles"],data:function(){return{popStyle:{height:"350px",marginTop:"10px",border:"1px #ccc solid",borderRadius:"4px"},title:this.value,status:this.status}},watch:{title:function(t){this.$emit("update:value",t)},value:function(){this.title=this.value}},methods:{titlePopClick:function(t){this.title=t,this.status=!1}}}},yEpX:function(t,e,a){"use strict";function n(t){return t.map(function(t){var e={path:t[0].path,name:t[0].name,component:t[1]};return t[0].meta&&(e.meta=t[0].meta),t[0].props&&(e.props=t[0].props),t[0].redirect&&(e.redirect=t[0].redirect),t[0].props&&(e.props=t[0].props),t[2]&&(e.children=n(t[2])),e})}e.b=n,e.a=n},yU5N:function(t,e){},yUKV:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-form",{ref:"form",staticClass:"passport-project",attrs:{"label-position":"top",model:t.form,rules:t.rules}},[a("el-form-item",{attrs:{label:"旧密码",prop:"oldpassword"}},[a("el-input",{attrs:{type:"password",placeholder:"输入密码(6-20个字符)"},model:{value:t.form.oldpassword,callback:function(e){t.form.oldpassword=e},expression:"form.oldpassword"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"新密码",prop:"password"}},[a("el-input",{attrs:{type:"password",placeholder:"输入密码(6-20个字符)"},model:{value:t.form.password,callback:function(e){t.form.password=e},expression:"form.password"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"再次输入密码",prop:"repassword"}},[a("el-input",{attrs:{type:"password",placeholder:"输入密码(6-20个字符),并与上边密码相同"},model:{value:t.form.repassword,callback:function(e){t.form.repassword=e},expression:"form.repassword"}})],1),t._v(" "),a("el-form-item",[a("el-button",{staticClass:"full-btn",attrs:{type:"primary"},on:{click:t.change}},[t._v("修改密码")])],1)],1)},i=[],s={render:n,staticRenderFns:i};e.a=s},yfhy:function(t,e){},yxxA:function(t,e,a){"use strict";function n(t){a("J3cX")}var i=a("rAyA"),s=a("/g55"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},"z7s/":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[a("use",{attrs:{"xlink:href":t.icon}})])},i=[],s={render:n,staticRenderFns:i};e.a=s},zGON:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"popup-promotion-success"},[a("div",{staticClass:"content"},["x-material"===t.type?a("div",{staticClass:"text"},[a("p",[t._v("图文素材链接生成,可在 推广运营 - 图文素材 查看所有图文素材链接。")]),t._v(" "),a("a",{staticClass:"promotion-link blue",attrs:{href:t.link,target:"_bank"}},[t._v(t._s(t.link))])]):"x-miniprogram"===t.type?a("div",{staticClass:"text"},[a("p",[t._v("参数链接已生成,推广效果在小程序推广中查看。")]),t._v(" "),a("p",{staticClass:"promotion-link"},[t._v(t._s(t.link))])]):"x-aliprogram"===t.type?a("div",{staticClass:"text"},[a("p",[t._v("参数链接已生成,推广效果在支付宝推广中查看。")]),t._v(" "),a("p",{staticClass:"promotion-link"},[t._v(t._s(t.link))])]):a("div",{staticClass:"text"},[a("p",[t._v("推广链接已生成,推广效果在推广统计中查看。")]),t._v(" "),a("p",{staticClass:"promotion-link"},[t._v(t._s(t.link))])])]),t._v(" "),a("div",{staticClass:"bottom"},[a("el-button",{staticClass:"conform ",attrs:{type:"primary","data-clipboard-text":t.link}},[t._v("复制链接")]),t._v(" "),a("el-button",{staticClass:"cancel",attrs:{type:"primary"},nativeOn:{click:function(e){t.handleDialog(e)}}},[t._v(t._s(t.isNovelCopy?"关闭":"取消"))])],1)])},i=[],s={render:n,staticRenderFns:i};e.a=s},zIkb:function(t,e,a){"use strict";function n(t){a("6uZh")}var i=a("ctpP"),s=a("EeDY"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},zML0:function(t,e,a){"use strict";var n=a("gyMJ"),i=a("dhim"),s=a("V33R"),o=a.n(s);e.a={name:i.r.name,data:function(){return{statisticsPromote:i.G.name,data:[],column:[{label:"生成日期",prop:"created_at"},{label:"图文链接",prop:"content_source_url"},{label:"二维码引导链接",prop:"content_source_url"},{label:"推广书籍",prop:""},{label:"推广标题",prop:"title"},{label:"操作",prop:"",width:80}],book_name:"",loading:!0,meta:{}}},computed:{params:function(){return{book_name:this.book_name,page:this.meta.current_page}}},methods:{handleCurrentChange:function(t){t!==this.meta.current_page&&this.getMaterial({book_name:this.book_name,page:t})},handleIconClick:function(){this.getMaterial({book_name:this.book_name})},getMaterial:function(t){var e=this;this.loading=!0,a.i(n._24)(t).then(function(t){e.data=t.list,e.meta=t.meta,e.loading=!1}).catch(function(t){e.loading=!1})},del:function(t){var e=this;a.i(n._25)({id:t}).then(function(t){e.getMaterial(e.params)})}},created:function(){this.getMaterial()},mounted:function(){var t=this,e=function(e){t.$message("复制成功"),e.clearSelection()},a=function(e){t.$message.error("复制失败,请自行复制")},n=new o.a(".promotion-material-copy");n.on("success",e),n.on("error",a)}}},zOaU:function(t,e,a){"use strict";var n=a("mvHQ"),i=a.n(n),s=a("Xxa5"),o=a.n(s),r=a("exGp"),c=a.n(r),l=a("woOf"),u=a.n(l),p=a("Gu7T"),d=a.n(p),m=a("dhim"),v=a("gyMJ"),h=a("MJLE"),f=a.n(h),_=[{label:"性别",key:"sex",showInBaokuang:!0,conflict:["category_id","own_score","key"],children:[{label:"不限",value:null},{label:"男频",value:1},{label:"女频",value:2}]},{label:"篇幅",key:"length",showInBaokuang:!0,conflict:["size","own_score","key"],children:[{label:"不限",value:null},{label:"长篇",value:5},{label:"短篇",value:6}]},{label:"状态",key:"status",showInBaokuang:!0,condition:["own_score","key"],children:[{label:"不限",value:null},{label:"完结",value:1},{label:"连载",value:0}]},{label:"类型",key:"category_id",showInBaokuang:!0,conflict:["sex","own_score","key"],children:[]},{label:"编辑评分",key:"recommend_index",showInBaokuang:!1,recommend:!0,conflict:["own_score","key"],children:[{label:"不限",value:null},{label:"SS级",value:"SS"},{label:"S级",value:"S"},{label:"A+级",value:"A+"},{label:"A级",value:"A"},{label:"B级",value:"B"},{label:"C级",value:"C"},{label:"D级",value:"D"}]},{label:"自主评级",key:"own_score",showInBaokuang:!0,conflict:["sex","length","status","category_id","recommend_index","key"],children:[{label:"不限",value:null},{label:"S级",value:"S"},{label:"A级",value:"A"},{label:"B级",value:"B"},{label:"C级",value:"C"},{label:"D级",value:"D"}]}];e.a={name:m.h.name,data:function(){return{Chinese:m.h.Chinese,promotionNovelInfo:m.j.name,statisticsPromote:m.G.name,promotionCustomNotifyNew:m.p.name,condition:_,status:{key:null,superior:1,category_id:null,sex:window.options.company_gender?window.options.company_gender:null,status:null,recommend_index:null,onshelf:null,size:null,own_score:null,length:null,order_field:null,order_type:null,page:null},tableData:[],loading:!0,meta:{},welfare:{status:!1,books:[],is_has_prize:!1,qr:"",is_alert:!1},showFare:!1,choose:[],novelLibrary:{conflict:["sex","length","status","category_id","recommend_index","key","own_score"],children:[{label:"爆款书库",value:1},{label:"本周主推",value:3},{label:"优质新书库",value:2},{label:"全部书库",value:null}]}}},computed:{showRecommend:function(){return 1===this.status.superior}},created:function(){a.i(v.b)().then(function(t){var e;_[3].children=(e=[{label:"不限",value:null}]).concat.apply(e,d()(t.map(function(t){return t.children})))})},methods:{select:function(t,e,a){var n=this;this.status[t]!==e&&(this.status.page=null,a&&a.map(function(t){n.status[t]=null}),"superior"===t&&(_[4].showInBaokuang=1!==e,this.status.order_field=e?null:"recommend_index",this.$nextTick(function(){n.$refs.table2.columns=n.$refs.table2.computedColumns()})),this.status[t]=e,this.getlist())},getlist:function(){var t=this;this.loading=!0;var e=u()({},this.status);e.length&&(e.size=e.length,delete e.length),a.i(v._31)(e).then(function(e){t.tableData=e.list,t.loading=!1,t.meta=e.meta})},handleCurrentChange:function(t){this.status.page=t,this.$refs.table.scrollIntoView(),this.getlist(),this.$router.replace({name:m.h.name,query:{page:t}})},handleIconClick:function(){this.status.category_id=null,this.status.sex=null,this.status.status=null,this.status.recommend_index=null,this.status.onshelf=null,this.status.size=null,this.status.own_score=null,this.status.length=null,this.status.page=null,this.status.superior=null,this.status.superior||(_[4].showInBaokuang=!0,this.status.order_field="recommend_index"),this.getlist()},rearrange:function(t){"desc"===this.status.order_type&&this.status.order_field===t?this.status.order_type="asc":"asc"===this.status.order_type&&(this.status.order_type="desc"),this.status.order_field=t,this.status.page=null,this.getlist()},own_score:function(t,e){a.i(v._32)(t,e)},getWelfare:function(){var t=this;return a.i(v._33)().then(function(){var e=c()(o.a.mark(function e(a){return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.welfare.status=!!a.prize.is_alert,t.welfare.books=a.books,t.welfare.is_has_prize=a.prize.is_has_prize,t.welfare.qr=a.prize.url,e.next=7,t.$nextTick();case 7:if(!t.qrcode){e.next=9;break}return e.abrupt("return");case 9:t.showWelfare();case 10:case"end":return e.stop()}},e,t)}));return function(t){return e.apply(this,arguments)}}())},showWelfare:function(){this.qrcode=new f.a(this.$refs.qr,{text:this.welfare.qr,width:130,height:130})},downNovel:function(){if(this.choose.length){var t=this.choose.map(function(t){return"bids[]="+t}),e=t.join("&");location.href="/api/sendOrder/downloadTemplate?"+e}else this.$message.error("请选择要下载的小说")},uploadNovel:function(){document.querySelector("#uploadInput").click()},uploaded:function(t){var e=this,n=t.target.files[0];a.i(v._34)(n).then(function(t){e.$message("上传成功")}).catch(function(t){e.$message.error(t.message)})}},beforeRouteLeave:function(t,e,a){t.name!==this.promotionNovelInfo&&t.name!==this.statisticsPromote||window.localStorage.setItem("status",i()(this.status)),a()},beforeRouteEnter:function(t,e,a){var n=window.localStorage.getItem("status");a(function(e){if(n){var a=JSON.parse(n);e.status=a,window.localStorage.removeItem("status")}t.query.page&&e.$set(e.status,"page",parseInt(t.query.page)),e.getlist()})}}},zeKF:function(t,e,a){"use strict";function n(t){a("XqGi")}var i=a("rJKV"),s=a("3KvX"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,null,null);e.a=c.exports},zkpy:function(t,e,a){"use strict";e.a={name:"official-account",props:["account"],install:function(t){t.component("x-official-account",this)}}},zreI:function(t,e,a){"use strict";function n(t){a("6X1Q"),a("ueHL")}var i=a("oZrz"),s=a("w6N4"),o=a("VU/8"),r=n,c=o(i.a,s.a,!1,r,"data-v-b128a04e",null);e.a=c.exports}},["NHnr"]);