1 line
26 KiB
JavaScript
1 line
26 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5c45631d"],{"0b86":function(e,t,i){var n=i("24fb");t=n(!1),t.push([e.i,"#extend_helper .content[data-v-20f186dc]{background-color:#fff}#extend_helper .content .banner[data-v-20f186dc]{padding:.75rem;width:100%;height:10rem}#extend_helper .content .banner img[data-v-20f186dc]{width:100%;height:100%}#extend_helper .content .my-swipe[data-v-20f186dc]{padding:1rem .75rem}#extend_helper .content .my-swipe a[data-v-20f186dc]{width:100%;height:100%}#extend_helper .content .my-swipe img[data-v-20f186dc]{width:100%;border-radius:.625rem}#extend_helper .content .set-connect .title[data-v-20f186dc]{width:100%;height:2.0625rem;background-color:#f7f9fc;padding-left:1.125rem;color:#999;font-size:16px}#extend_helper .content .set-connect .input-one[data-v-20f186dc],#extend_helper .content .set-connect .title[data-v-20f186dc]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#extend_helper .content .set-connect .input-one[data-v-20f186dc]{padding-top:1.375rem;padding-bottom:1.375rem;margin-left:1.125rem;margin-right:1.125rem;border-bottom:1px solid #f0f0f0;text-align:left}#extend_helper .content .set-connect .input-one .left[data-v-20f186dc]{width:5.25rem}#extend_helper .content .set-connect .input-one .left span[data-v-20f186dc]{vertical-align:top;color:#ff2c29}#extend_helper .content .set-connect .input-one input[data-v-20f186dc]{outline:none;border:none;color:#999;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}#extend_helper .content .set-connect .toLink[data-v-20f186dc]{padding-top:1.375rem;padding-bottom:1.375rem;margin-left:1.125rem;margin-right:1.125rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;text-align:left}#extend_helper .content .set-connect .toLink .left[data-v-20f186dc]{width:5.25rem}#extend_helper .content .set-connect .toLink .right[data-v-20f186dc]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}#extend_helper .content .set-connect .toLink .right .tab[data-v-20f186dc]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;color:#999;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#extend_helper .content .set-connect .toLink .right .tab div[data-v-20f186dc]{margin-right:1.25rem}#extend_helper .content .set-connect .toLink .right .add-good[data-v-20f186dc]{width:2.875rem;height:2.875rem;border-radius:.3125rem;border:.0625rem solid #c5c5c5;border:1px dashed #c5c5c5;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;margin-top:1rem}#extend_helper .content .set-connect .toLink .right .add-good .icon[data-v-20f186dc]{color:#c5c5c5;font-size:22px}#extend_helper .content .set-connect .toLink .right .add-good span[data-v-20f186dc]{font-size:12px;color:#c5c5c5}#extend_helper .content .set-connect .toLink .right .goodlist[data-v-20f186dc]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}#extend_helper .content .set-connect .toLink .right .goodlist .good[data-v-20f186dc]{position:relative;margin-top:1rem;width:45%;padding:.25rem .125rem;background-color:#f8f8f8;border-radius:.3125rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#extend_helper .content .set-connect .toLink .right .goodlist .good img[data-v-20f186dc]{width:2.375rem;height:2.375rem;border-radius:.125rem}#extend_helper .content .set-connect .toLink .right .goodlist .good .text[data-v-20f186dc]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;margin-left:.125rem;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}#extend_helper .content .set-connect .toLink .right .goodlist .good .text .tit[data-v-20f186dc]{font-size:12px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}#extend_helper .content .set-connect .toLink .right .goodlist .good .text .cash[data-v-20f186dc]{font-size:12px;color:#ff2c29}#extend_helper .content .set-connect .toLink .right .goodlist .good .delete[data-v-20f186dc]{width:.875rem;height:.875rem;background-color:#c5c5c5;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:0;right:0;border-radius:50%;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%)}#extend_helper .content .set-connect .toLink .right .goodlist .good .delete i[data-v-20f186dc]{color:#fff}#extend_helper .content .connect-method .title[data-v-20f186dc]{width:100%;height:2.0625rem;background-color:#f7f9fc;padding-left:1.125rem;color:#999;font-size:16px}#extend_helper .content .connect-method .input-one[data-v-20f186dc],#extend_helper .content .connect-method .title[data-v-20f186dc]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#extend_helper .content .connect-method .input-one[data-v-20f186dc]{padding-top:1.375rem;padding-bottom:1.375rem;margin-left:1.125rem;margin-right:1.125rem;border-bottom:1px solid #f0f0f0;text-align:left}#extend_helper .content .connect-method .input-one .left[data-v-20f186dc]{width:5.25rem}#extend_helper .content .connect-method .input-one .left span[data-v-20f186dc]{vertical-align:top;color:#ff2c29}#extend_helper .content .connect-method .input-one input[data-v-20f186dc]{outline:none;border:none;color:#999;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}#extend_helper .content .connect-method .input-two[data-v-20f186dc]{padding-top:1.375rem;padding-bottom:1.375rem;margin-left:1.125rem;margin-right:1.125rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;text-align:left}#extend_helper .content .connect-method .input-two .left[data-v-20f186dc]{width:5.25rem}#extend_helper .content .connect-method .input-two .left span[data-v-20f186dc]{vertical-align:top;color:#ff2c29}#extend_helper .content .connect-method .input-two input[data-v-20f186dc]{outline:none;border:none;color:#999;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}#extend_helper .content .share-set .title[data-v-20f186dc]{width:100%;height:2.0625rem;background-color:#f7f9fc;padding-left:1.125rem;color:#999;font-size:16px}#extend_helper .content .share-set .input-one[data-v-20f186dc],#extend_helper .content .share-set .title[data-v-20f186dc]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#extend_helper .content .share-set .input-one[data-v-20f186dc]{padding-top:1.375rem;padding-bottom:1.375rem;margin-left:1.125rem;margin-right:1.125rem;border-bottom:1px solid #f0f0f0;text-align:left}#extend_helper .content .share-set .input-one .left[data-v-20f186dc]{width:5.25rem}#extend_helper .content .share-set .input-one input[data-v-20f186dc]{outline:none;border:none;color:#999;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}#extend_helper .content .share-set .input-two[data-v-20f186dc]{padding-top:1.375rem;padding-bottom:1.375rem;margin-left:1.125rem;margin-right:1.125rem;border-bottom:1px solid #f0f0f0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;text-align:left;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}#extend_helper .content .share-set .input-two .left[data-v-20f186dc]{width:5.25rem}#extend_helper .content .share-set .input-two .delete[data-v-20f186dc]{width:.875rem;height:.875rem;background-color:#c5c5c5;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:0;right:0;border-radius:50%;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%);z-index:999}#extend_helper .content .share-set .input-two .delete i[data-v-20f186dc]{color:#fff}#extend_helper .content .share-set .desc[data-v-20f186dc]{padding-top:.75rem;padding-bottom:12px}#extend_helper .content .share-set .desc .textarea[data-v-20f186dc]{width:21.125rem;height:4.875rem;background-color:#f7f9fc;border-radius:.3125rem;text-align:left;border:none;padding:.5rem}#extend_helper .content .btn-group[data-v-20f186dc]{height:3.0625rem;background-color:#fff;width:100%;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-shadow:6px 3px 15px #ccc;box-shadow:6px 3px 15px #ccc}#extend_helper .content .btn-group .btn-one[data-v-20f186dc]{margin-right:2.25rem;background-color:#ff2c29;color:#fff}#extend_helper .content .btn-group .btn-one[data-v-20f186dc],#extend_helper .content .btn-group .btn-two[data-v-20f186dc]{width:8.75rem;height:2.5rem;border-radius:1.25rem;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#extend_helper .content .btn-group .btn-two[data-v-20f186dc]{background-color:rgba(255,44,41,.1);color:#ff2c29}#extend_helper #pop[data-v-20f186dc]{min-height:100vh}#extend_helper #pop .select[data-v-20f186dc]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;position:relative;padding:.75rem}#extend_helper #pop .select .select-good[data-v-20f186dc]{font-size:18px}#extend_helper #pop .select i[data-v-20f186dc]{position:absolute;left:.75rem}#extend_helper #pop .sousuo[data-v-20f186dc]{width:19.25rem;height:1.875rem;background-color:#f7f9fc;border-radius:.9375rem;margin:0 auto;padding-left:.5rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;margin-top:.5rem;margin-bottom:.5rem}#extend_helper #pop .sousuo input[data-v-20f186dc]{outline:none;border:none;color:#999}#extend_helper #pop #listWrap[data-v-20f186dc]{padding:0 .75rem;overflow-y:scroll;position:fixed;top:6rem;width:100%;bottom:3rem}#extend_helper #pop #listWrap .list[data-v-20f186dc]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-bottom:1.25rem}#extend_helper #pop #listWrap .list .image[data-v-20f186dc]{width:6.875rem;height:6.875rem;border-radius:.3125rem}#extend_helper #pop #listWrap .list .image img[data-v-20f186dc]{width:100%;height:100%}#extend_helper #pop #listWrap .list .test[data-v-20f186dc]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;position:relative;margin-left:1rem;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}#extend_helper #pop #listWrap .list .test .tit[data-v-20f186dc]{text-align:left;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-all}#extend_helper #pop #listWrap .list .test .cash[data-v-20f186dc]{color:#ff2c29;text-align:left}#extend_helper #pop #listWrap .list .test .cash .first[data-v-20f186dc]{font-size:12px}#extend_helper #pop #listWrap .list .test .cash .two[data-v-20f186dc]{font-size:16px}#extend_helper #pop .pop-btn[data-v-20f186dc]{position:fixed;bottom:0;left:0;width:100%;height:3.0625rem}#extend_helper #pop .pop-btn[data-v-20f186dc],#extend_helper #pop .pop-btn .btn-p[data-v-20f186dc]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}#extend_helper #pop .pop-btn .btn-p[data-v-20f186dc]{width:17.5rem;height:2.5rem;background-color:#ff2c29;border-radius:1.25rem;color:#fff;font-size:18px}.block[data-v-20f186dc]{background-color:rgba(255,44,41,.1);border-radius:.8125rem;padding:.1875rem .5rem;color:#ff2c29;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.pcStyle[data-v-20f186dc]{position:absolute!important}",""]),e.exports=t},"12a86":function(e,t,i){var n=i("0b86");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=i("499e").default;a("56e585ca",n,!0,{sourceMap:!1,shadowMode:!1})},38263:function(e,t,i){"use strict";i("12a86")},"9619f":function(e,t){e.exports="data:image/png;base64,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"},be49:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"extend_helper"}},[n("c-title",{attrs:{hide:!1,text:e.plugin_name,tolink:"extendExplain",totext:"使用说明"}}),n("div",{staticClass:"content"},[n("div",{staticClass:"banner"},[n("img",{attrs:{src:e.banner}})]),n("div",{staticClass:"set-connect"},[n("div",{staticClass:"title"},[e._v(" 链接设置 ")]),n("div",{staticClass:"input-one"},[n("div",{staticClass:"left"},[e._v("内容链接")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.form.content_url,expression:"form.content_url"}],attrs:{type:"text",placeholder:"请在这里粘贴链接"},domProps:{value:e.form.content_url},on:{input:function(t){t.target.composing||e.$set(e.form,"content_url",t.target.value)}}})]),n("div",{staticClass:"toLink"},[n("div",{staticClass:"left"},[e._v("跳转链接")]),n("div",{staticClass:"right"},[n("div",{staticClass:"tab"},e._l(e.link,(function(t,i){return n("div",{key:i,class:[e.id==t.id?"block":""],on:{click:function(i){return e.changeId(t)}}},[e._v(" "+e._s(t.text)+" ")])})),0),"3"!=e.id||e.arr.title?e._e():n("div",{staticClass:"add-good",on:{click:function(t){return e.addGood()}}},[n("span",{staticClass:"icon"},[e._v("+")]),n("span",[e._v("添加")])]),"3"==e.id&&e.arr.title?n("div",{staticClass:"goodlist"},[n("div",{staticClass:"good"},[n("img",{attrs:{src:e.arr.thumb}}),n("div",{staticClass:"text"},[n("div",{staticClass:"tit"},[e._v(" "+e._s(e.arr.title)+" ")]),n("div",{staticClass:"cash"},[e._v(" "+e._s(e.arr.price)+" ")])]),n("div",{staticClass:"delete",on:{click:e.deleteGood}},[n("i",{staticClass:"iconfont icon-close11"})])])]):e._e()])])]),n("div",{staticClass:"connect-method"},[n("div",{staticClass:"title"},[e._v(" 联系方式 ")]),n("div",{staticClass:"input-one"},[e._m(0),n("input",{directives:[{name:"model",rawName:"v-model",value:e.form.name,expression:"form.name"}],attrs:{type:"text",placeholder:"请输入联系人姓名"},domProps:{value:e.form.name},on:{input:function(t){t.target.composing||e.$set(e.form,"name",t.target.value)}}})]),n("div",{staticClass:"input-two"},[e._m(1),n("input",{directives:[{name:"model",rawName:"v-model",value:e.form.phone,expression:"form.phone"}],attrs:{type:"number",placeholder:"请输入联系人手机号"},domProps:{value:e.form.phone},on:{input:function(t){t.target.composing||e.$set(e.form,"phone",t.target.value)}}})])]),n("div",{staticClass:"share-set"},[n("div",{staticClass:"title"},[e._v(" 分享方式 ")]),n("div",{staticClass:"input-one"},[n("div",{staticClass:"left"},[e._v("分享标题")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.form.share_title,expression:"form.share_title"}],attrs:{type:"text",placeholder:"请输入分享标题"},domProps:{value:e.form.share_title},on:{input:function(t){t.target.composing||e.$set(e.form,"share_title",t.target.value)}}})]),n("div",{staticClass:"input-two"},[n("div",{staticClass:"left"},[e._v("分享图片")]),n("van-uploader",{attrs:{"after-read":e.onRead}},[n("div",{staticStyle:{width:"4rem",height:"4rem",border:"1px solid #c0ccda",margin:"0 auto",display:"flex","border-radius":"5px",position:"relative"}},[n("img",{staticClass:"avatar",staticStyle:{width:"80%",height:"80%"},attrs:{src:e.form.share_img?e.form.share_img:i("9619f")}}),e.form.share_img.length>0?n("div",{staticClass:"delete",on:{click:function(t){return t.stopPropagation(),e.removeImg_1.apply(null,arguments)}}},[n("i",{staticClass:"iconfont icon-close11"})]):e._e()])])],1),n("div",{staticClass:"desc"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.form.share_desc,expression:"form.share_desc"}],staticClass:"textarea",attrs:{placeholder:"请输入分享描述"},domProps:{value:e.form.share_desc},on:{input:function(t){t.target.composing||e.$set(e.form,"share_desc",t.target.value)}}})])]),n("div",{staticClass:"btn-group"},[n("div",{staticClass:"btn-one",on:{click:e.addconnect}},[e._v("提交")]),n("div",{staticClass:"btn-two",on:{click:e.toRecord}},[e._v("推广记录")])])]),n("van-popup",{style:{height:"100%"},attrs:{position:"bottom",id:"pop"},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[n("div",{staticClass:"select"},[n("i",{staticClass:"iconfont icon-fanhui",on:{click:function(t){e.show=!1}}}),n("h4",{staticClass:"select-good"},[e._v("选择商品")])]),n("div",{class:[3==e.fun.getPhoneEnv()?"pcStyle":""],staticStyle:{position:"fixed",display:"flex","align-items":"center","justify-content":"center",width:"100%",top:"0"}},[n("div",{staticClass:"sousuo"},[n("i",{staticClass:"iconfont icon-sousuo",staticStyle:{"margin-right":"0.5rem",color:"#999"},on:{click:e.Search}}),n("input",{directives:[{name:"model",rawName:"v-model",value:e.keyword,expression:"keyword"}],attrs:{type:"text",placeholder:"搜索商品"},domProps:{value:e.keyword},on:{keypress:e.enterSearch,input:function(t){t.target.composing||(e.keyword=t.target.value)}}})])]),n("div",{attrs:{id:"listWrap"}},[n("van-radio-group",{model:{value:e.arr,callback:function(t){e.arr=t},expression:"arr"}},e._l(e.datas,(function(t,i){return n("div",{key:i,staticClass:"list"},[n("div",{staticClass:"image"},[n("img",{attrs:{src:t.thumb}})]),n("div",{staticClass:"test"},[n("div",{staticClass:"tit"},[e._v(" "+e._s(t.title)+" ")]),n("van-radio",{staticStyle:{position:"absolute",right:"0",top:"50%"},attrs:{name:t,"checked-color":"#ff2c29"}}),n("div",{staticClass:"cash"},[n("span",{staticClass:"first"},[e._v(e._s(e.$i18n.t("money")))]),n("span",{staticClass:"two"},[e._v(e._s(t.price))])])],1)])})),0)],1),n("div",{staticClass:"pop-btn",class:[3==e.fun.getPhoneEnv()?"pcStyle":""]},[n("div",{staticClass:"btn-p",on:{click:e.closePop}},[e._v(" 确定 ")])])])],1)},a=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"left"},[e._v("姓名"),i("span",[e._v("*")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"left"},[e._v("手机号"),i("span",[e._v("*")])])}],o=(i("e7e5"),i("d399")),s=(i("99af"),i("6968")),r={data:function(){return{datas:[],keyword:"",loading:!1,allLoaded:!1,goload:!0,isLoadMore:!0,page:1,total_page:0,show:!1,form:{type:"1",content_url:"",name:"",phone:"",goods_id:"",share_title:"",share_desc:"",share_img:""},banner:"",imageUrl:"",id:"1",arr:{},link:[{text:"商城首页",id:"1"},{text:"商品分类",id:"2"},{text:"商品",id:"3"}]}},activated:function(){window.scrollTo(0,0),this.initData(),this.getData()},methods:{enterSearch:function(e){13===e.keyCode&&(e.preventDefault(),this.Search())},initData:function(){this.datas=[],this.keyword="",this.loading=!1,this.allLoaded=!1,this.goload=!0,this.isLoadMore=!0,this.page=1,this.total_page=0,this.show=!1,this.form={type:"1",content_url:"",name:"",phone:"",goods_id:"",share_title:"",share_desc:"",share_img:""},this.id="1",this.arr={}},toRecord:function(){this.$router.push(this.fun.getUrl("extendRecord"))},SearchMore:function(){var e=this;if(this.isLoadMore=!1,!(this.page>=this.total_page)){this.page=this.page+1;var t={keyword:this.keyword,page:this.page};$http.get("plugin.promotion-assistant.api.goods.get-goods-list",t,"加载中").then((function(t){if(e.isLoadMore=!0,1===t.result){var i=t.data.data;e.datas=e.datas.concat(i)}else e.page=e.page-1,e.isLoadMore=!1}),(function(e){}))}},Search:function(){this.$nextTick((function(){document.getElementById("listWrap").scrollTop="0px"})),this.page=1;var e=this,t={keyword:this.keyword,page:this.page};$http.get("plugin.promotion-assistant.api.goods.get-goods-list",t," ").then((function(t){1===t.result?(e.total_page=t.data.last_page,e.total_page||(e.total_page=0),e.datas=t.data.data):Object(o["a"])(t.msg)}),(function(e){}))},addconnect:function(){"1"!=this.form.type&&"2"!=this.form.type||delete this.form.goods_id;var e=this;$http.post("plugin.promotion-assistant.api.assistant.add",{data:this.form}," ").then((function(t){1===t.result?(e.$dialog.alert({message:t.msg}),e.$router.push(e.fun.getUrl("popularAssistant",{id:t.data.id}))):Object(o["a"])(t.msg)}),(function(e){}))},getData:function(){var e=this;$http.get("plugin.promotion-assistant.api.assistant.get-setting",{}," ").then((function(t){1===t.result?(e.banner=t.data.banner,e.plugin_name=t.data.plugin_name,e.fun.setWXTitle(e.plugin_name)):Object(o["a"])(t.msg)}),(function(e){}))},removeImg_1:function(){this.form.share_img=""},onRead:function(e,t){var i=this.fun.getRealUrl("upload.uploadPic",{});o["a"].loading({message:"上传中",forbidClick:!0});var n=new FormData;!0===t?n.append("file",e):n.append("file",e.file);var a=this;axios.post(i,n,{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){var t=e.data;1==t.result?(o["a"].clear(),a.form.share_img=t.data.img_url):Object(o["a"])(t.msg)})).catch((function(e){}))},changeId:function(e){this.id=e.id,this.form.type=e.id},closePop:function(){this.show=!1,this.form.goods_id=this.arr.id,document.getElementById("listWrap").removeEventListener("scroll",(function(){}))},addGood:function(){this.show=!0;var e=this;this.$nextTick((function(){var t=document.getElementById("listWrap");t.addEventListener("scroll",(function(){t.scrollHeight-t.scrollTop===t.clientHeight&&e.isLoadMore&&e.SearchMore()}))})),this.Search()},deleteGood:function(){this.arr={}}},components:{cTitle:s["a"]}},l=r,d=l,c=(i("38263"),i("2877")),p=Object(c["a"])(d,n,a,!1,null,"20f186dc",null);t["default"]=p.exports}}]); |