text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-annex-settled-index"],{"1e8e":function(t,e,i){"use strict";(function(t){var a=i("4ea4");i("d81d"),i("a434"),i("b64b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("96cf");var n=a(i("1da1")),o=i("858e"),r=i("5019"),s=i("56ec"),c=i("26cb"),l=a(i("dcee")),u=a(i("2d3a")),d=getApp(),h={components:{"jyf-parser":l.default},mixins:[u.default],data:function(){return{inloading:!0,status:-1,isAuto:!1,isShowAuth:!1,text:"获取验证码",codeUrl:"",disabled:!1,isAgree:!1,showProtocol:!1,isShowCode:!1,loading:!1,merchantData:{agent_name:"",name:"",phone:"",classification:"",division_invite:""},validate:!1,successful:!1,keyCode:"",codeVal:"",protocol:d.globalData.sys_intention_agree,timer:"",index:0,index1:0,mer_classification:"",mer_storeType:"",images:[],tagStyle:{img:"width:100%;display:block;"},mer_i_id:null,isType:!1,id:0,refusal_reason:""}},beforeDestroy:function(){clearTimeout(this.timer)},computed:(0,c.mapGetters)(["isLogin"]),onLoad:function(t){this.isLogin?this.$nextTick((function(){this.getGoodsDetails()})):(0,o.toLogin)(),t.id&&(this.id=id,uni.showLoading({title:"获取数据中"}))},onShow:function(){},methods:{getAgentAgreement:function(){var t=this;(0,r.getAgentAgreement)().then((function(e){t.isType=!1,t.showProtocol=!0,t.protocol=e.data.content}))},getCode:function(){var t=this,e=this;(0,r.getCodeApi)().then((function(i){e.keyCode=i.data.key,t.code()})).catch((function(t){e.$util.Tips({title:t})}))},getGoodsDetails:function(){var t=this;(0,r.getGoodsDetails)().then((function(e){t.status=e.data.status;var i=e.data;if(-1!==e.data.status){var a=Object.keys(t.merchantData);a.map((function(e){t.merchantData[e]=i[e]})),uni.hideLoading()}2===t.status&&(t.refusal_reason=i.refusal_reason),t.inloading=!1}))},getCategoryName:function(t,e){for(var i=0;i<e.length;i++)if(e[i].merchant_category_id===t)return e[i]["category_name"]},getPhotoClickIdx:function(t){var e=this,i=t.currentTarget.dataset.index;e.imgPreview(e.images,i)},imgPreview:function(t,e){t&&t.length>0&&uni.previewImage({current:t[e],urls:t})},onLoadFun:function(){this.isShowAuth=!1},authColse:function(t){this.isShowAuth=t},toggleTab:function(t){this.$refs[t].show()},goHome:function(){uni.switchTab({url:"/pages/index/index"})},applyAgain:function(){this.status=-1},uploadpic:function(){var t=this,e=this;e.$util.uploadImageOne("upload/image",(function(i){t.images.push(i.data.url),e.$set(e,"images",e.images)}))},DelPic:function(t){var e=this;this.images[t];e.images.splice(t,1),e.$set(e,"images",e.images)},code:function(){var t=this;return(0,n.default)(regeneratorRuntime.mark((function e(){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(i=t,i.merchantData.phone){e.next=3;break}return e.abrupt("return",i.$util.Tips({title:"请填写手机号码"}));case 3:if(/^1(3|4|5|7|8|9|6)\d{9}$/i.test(i.merchantData.phone)){e.next=5;break}return e.abrupt("return",i.$util.Tips({title:"请输入正确的手机号码"}));case 5:return e.next=7,(0,r.registerVerify)({phone:i.merchantData.phone,key:i.keyCode}).then((function(t){i.$util.Tips({title:t.msg}),i.sendCode()})).catch((function(t){return i.$util.Tips({title:t})}));case 7:case"end":return e.stop()}}),e)})))()},getcaptcha:function(){var t=this;(0,s.getCaptcha)().then((function(e){t.codeUrl=e.data.captcha,t.codeVal=e.data.code,t.codeKey=e.data.key})),t.isShowCode=!0},sendCode:function(){var t=this;if(!this.disabled){this.disabled=!0;var e=60;this.text="剩余 "+e+"s";var i=setInterval((function(){e-=1,e<0&&clearInterval(i),t.text="剩余 "+e+"s",t.text<"剩余 0s"&&(t.disabled=!1,t.text="重新获取")}),1e3)}},onConfirm:function(t){this.region=t.checkArr[0]+"-"+t.checkArr[1]+"-"+t.checkArr[2]},ChangeIsAgree:function(t){this.isAgree=!this.isAgree,this.validateBtn()},formSubmit:function(t){var e=this,i=this;if(i.validateForm()&&i.validate){var a={uid:this.$store.state.app.uid,phone:i.merchantData.phone,agent_name:i.merchantData.agent_name,name:i.merchantData.name,code:i.merchantData.code,division_invite:i.merchantData.division_invite,images:i.images,id:this.id};(0,r.create)(a).then((function(t){200==t.status&&(e.timer=setTimeout((function(){i.getGoodsDetails()}),1e3))})).catch((function(t){i.$util.Tips({title:t})}))}},validateBtn:function(){var t=this,e=t.merchantData;e.agent_name&&e.name&&e.phone&&/^1(3|4|5|7|8|9|6)\d{9}$/i.test(e.phone)&&e.code&&t.isAgree&&e.classification&&(t.isShowCode?t.codeVal?t.validate=!0:t.validate=!1:t.validate=!0)},validateForm:function(){var t=this,e=t.merchantData;return e.agent_name?e.name?e.phone?/^1(3|4|5|7|8|9|6)\d{9}$/i.test(e.phone)?e.code?t.isShowCode&&!t.codeVal?t.$util.Tips({title:"请填写图片验证码"}):t.images.length?t.isAgree?(t.validate=!0,!0):t.$util.Tips({title:"请勾选并同意入驻协议"}):t.$util.Tips({title:"请上传营业执照"}):t.$util.Tips({title:"请填写验证码"}):t.$util.Tips({title:"请输入正确的手机号码"}):t.$util.Tips({title:"请输入手机号"}):t.$util.Tips({title:"请输入姓名"}):t.$util.Tips({title:"请输入代理商名称"})},jumpToList:function(){uni.navigateTo({url:"/pages/store/applicationRecord/index"})}}};e.default=h}).call(this,i("5a52")["default"])},"2db8":function(t,e,i){function a(t){for(var e={},i=t.split(","),a=i.length;a--;)e[i[a]]=!0;return e}i("ac1f"),i("1276"),t.exports={filter:null,highlight:null,onText:null,blankChar:a(" , ,\t,\r,\n,\f"),blockTags:a("address,article,aside,body,caption,center,cite,footer,header,html,nav,section,pre"),ignoreTags:a("area,base,basefont,canvas,command,frame,input,isindex,keygen,link,map,meta,param,script,source,style,svg,textarea,title,track,use,wbr,embed,iframe"),richOnlyTags:a("a,colgroup,fieldset,legend,picture,table"),selfClosingTags:a("area,base,basefont,br,col,circle,ellipse,embed,frame,hr,img,input,isindex,keygen,line,link,meta,param,path,polygon,rect,source,track,use,wbr"),trustAttrs:a("align,alt,app-id,author,autoplay,border,cellpadding,cellspacing,class,color,colspan,controls,data-src,dir,face,height,href,id,ignore,loop,media,muted,name,path,poster,rowspan,size,span,src,start,style,type,unit-id,width,xmlns"),boolAttrs:a("autoplay,controls,ignore,loop,muted"),trustTags:a("a,abbr,ad,audio,b,blockquote,br,code,col,colgroup,dd,del,dl,dt,div,em,fieldset,h1,h2,h3,h4,h5,h6,hr,i,img,ins,label,legend,li,ol,p,q,source,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,title,ul,video"),userAgentStyles:{address:"font-style:italic",big:"display:inline;font-size:1.2em",blockquote:"background-color:#f6f6f6;border-left:3px solid #dbdbdb;color:#6c6c6c;padding:5px 0 5px 10px",caption:"display:table-caption;text-align:center",center:"text-align:center",cite:"font-style:italic",dd:"margin-left:40px",img:"max-width:100%",mark:"background-color:yellow",picture:"max-width:100%",pre:"font-family:monospace;white-space:pre;overflow:scroll",s:"text-decoration:line-through",small:"display:inline;font-size:0.8em",u:"text-decoration:underline"}}},"3d4f":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,"@-webkit-keyframes show-data-v-f0cc9922{0%{opacity:0}100%{opacity:1}}@keyframes show-data-v-f0cc9922{0%{opacity:0}100%{opacity:1}}\n\n\n\n",""]),t.exports=e},"47d1":function(t,e,i){"use strict";i.r(e);var a=i("7127"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"4cb8":function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[t.nodes.length?t._e():t._t("default"),i("v-uni-view",{style:t.showAm+(t.selectable?";user-select:text;-webkit-user-select:text":""),attrs:{id:"top",animation:t.scaleAm},on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t._touchstart.apply(void 0,arguments)},touchmove:function(e){arguments[0]=e=t.$handleEvent(e),t._touchmove.apply(void 0,arguments)},click:function(e){arguments[0]=e=t.$handleEvent(e),t._tap.apply(void 0,arguments)}}},[i("div",{attrs:{id:"rtf"+t.uid}})])],2)},o=[]},5019:function(t,e,i){"use strict";var a=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getProductDetail=o,e.getProductCode=r,e.collectAdd=s,e.collectDel=c,e.postCartAdd=l,e.getCategoryList=u,e.getProductslist=d,e.getProductHot=h,e.collectAll=b,e.getGroomList=f,e.getCollectUserList=p,e.getReplyList=m,e.getReplyConfig=g,e.getSearchKeyword=v,e.storeListApi=x,e.storeDiscountsList=_,e.postCartNum=w,e.create=y,e.getAgentAgreement=k,e.registerVerify=C,e.getCodeApi=A,e.getGoodsDetails=S,e.getAttr=T,e.getHomeProducts=$,e.getPresellProductDetail=D;var n=a(i("0302"));function o(t){return n.default.get("product/detail/"+t,{},{noAuth:!0})}function r(t){return n.default.get("product/code/"+t,{})}function s(t,e){return n.default.post("collect/add",{id:t,product:void 0===e?"product":e})}function c(t,e){return n.default.post("collect/del",{id:t,category:void 0===e?"product":e})}function l(t){return n.default.post("cart/add",t)}function u(){return n.default.get("category",{},{noAuth:!0})}function d(t){return n.default.get("products",t,{noAuth:!0})}function h(t,e){return n.default.get("product/hot",{page:void 0===t?1:t,limit:void 0===e?4:e},{noAuth:!0})}function b(t,e){return n.default.post("collect/all",{id:t,category:void 0===e?"product":e})}function f(t,e){return n.default.get("groom/list/"+t,e,{noAuth:!0})}function p(t){return n.default.get("collect/user",t)}function m(t,e){return n.default.get("reply/list/"+t,e)}function g(t){return n.default.get("reply/config/"+t)}function v(){return n.default.get("search/keyword",{},{noAuth:!0})}function x(t){return n.default.get("store_list",t)}function _(t){return n.default.get("store_discounts/list/"+t,{},{noAuth:!0})}function w(t){return n.default.post("v2/set_cart_num",t)}function y(t){return n.default.post("agent/apply/".concat(t.id),t)}function k(t){return n.default.get("agent/get_agent_agreement",{},{noAuth:!0})}function C(t){return n.default.post("register/verify",t,{noAuth:!0})}function A(){return n.default.get("verify_code",{},{noAuth:!0})}function S(){return n.default.get("agent/apply/info",{},{noAuth:!0})}function T(t,e){return n.default.get("v2/get_attr/"+t+"/"+e)}function $(t){return n.default.get("home/products",t,{noAuth:!0})}function D(t){return n.default.get("advance/detail/"+t)}},"5b32":function(t,e,i){var a=i("3d4f");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("1c41d8f8",a,!0,{sourceMap:!1,shadowMode:!1})},6894:function(t,e,i){"use strict";i.r(e);var a=i("1e8e"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},7127:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__("4ea4");__webpack_require__("99af"),__webpack_require__("caad"),__webpack_require__("c975"),__webpack_require__("acd8"),__webpack_require__("ac1f"),__webpack_require__("2532"),__webpack_require__("466d"),__webpack_require__("5319"),__webpack_require__("1276"),Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _createForOfIteratorHelper2=_interopRequireDefault(__webpack_require__("b85c")),rpx=uni.getSystemInfoSync().screenWidth/750,cfg=__webpack_require__("2db8"),_default={name:"parser",data:function(){return{uid:this._uid,scaleAm:"",showAm:"",imgs:[],nodes:[]}},props:{html:null,autopause:{type:Boolean,default:!0},autosetTitle:{type:Boolean,default:!0},domain:String,gestureZoom:Boolean,lazyLoad:Boolean,selectable:Boolean,tagStyle:Object,showWithAnimation:Boolean,useAnchor:Boolean},watch:{html:function(t){this.setContent(t)}},mounted:function(){this.imgList=[],this.imgList.each=function(t){for(var e=0,i=this.length;e<i;e++)this.setItem(e,t(this[e],e,this))},this.imgList.setItem=function(t,e){if(void 0!=t&&e){if(0==e.indexOf("http")&&this.includes(e)){for(var i,a="",n=0;i=e[n];n++){if("/"==i&&"/"!=e[n-1]&&"/"!=e[n+1])break;a+=Math.random()>.5?i.toUpperCase():i}return a+=e.substr(n),this[t]=a}if(this[t]=e,e.includes("data:image")){var o=e.match(/data:image\/(\S+?);(\S+?),(.+)/);if(!o)return}}},this.html&&this.setContent(this.html)},beforeDestroy:function(){this._observer&&this._observer.disconnect(),this.imgList.each((function(t){})),clearInterval(this._timer)},methods:{_Dom2Str:function(t){var e,i="",a=(0,_createForOfIteratorHelper2.default)(t);try{for(a.s();!(e=a.n()).done;){var n=e.value;if("text"==n.type)i+=n.text;else{for(var o in i+="<"+n.name,n.attrs||{})i+=" "+o+'="'+n.attrs[o]+'"';n.children&&n.children.length?i+=">"+this._Dom2Str(n.children)+"</"+n.name+">":i+=">"}}}catch(r){a.e(r)}finally{a.f()}return i},_handleHtml:function(t,e){if("string"!=typeof t&&(t=this._Dom2Str(t.nodes||t)),t.includes("rpx")&&(t=t.replace(/[0-9.]+\s*rpx/g,(function(t){return parseFloat(t)*rpx+"px"}))),!e){var i="<style scoped>@keyframes show{0%{opacity:0}100%{opacity:1}}";for(var a in cfg.userAgentStyles)i+="".concat(a,"{").concat(cfg.userAgentStyles[a],"}");for(a in this.tagStyle)i+="".concat(a,"{").concat(this.tagStyle[a],"}");i+="</style>",t=i+t}return t},setContent:function(t,e){var i=this;if(t){var a=document.createElement("div");e?this.rtf?this.rtf.appendChild(a):this.rtf=a:(this.rtf&&this.rtf.parentNode.removeChild(this.rtf),this.rtf=a),a.innerHTML=this._handleHtml(t,e);for(var n,o=this.rtf.getElementsByTagName("style"),r=0;n=o[r++];)n.innerHTML=n.innerHTML.replace(/body/g,"#rtf"+this._uid),n.setAttribute("scoped","true");!this._observer&&this.lazyLoad&&IntersectionObserver&&(this._observer=new IntersectionObserver((function(t){for(var e,a=0;e=t[a++];)e.isIntersecting&&(e.target.src=e.target.getAttribute("data-src"),e.target.removeAttribute("data-src"),i._observer.unobserve(e.target))}),{rootMargin:"900px 0px 900px 0px"}));var s=this,c=this.rtf.getElementsByTagName("title");c.length&&this.autosetTitle&&uni.setNavigationBarTitle({title:c[0].innerText}),this.imgList.length=0;for(var l,u=this.rtf.getElementsByTagName("img"),d=0,h=0;l=u[d];d++){l.style.maxWidth="100%";var b=l.getAttribute("src");this.domain&&b&&("/"==b[0]?"/"==b[1]?l.src=(this.domain.includes("://")?this.domain.split("://")[0]:"")+":"+b:l.src=this.domain+b:b.includes("://")||(l.src=this.domain+"/"+b)),l.hasAttribute("ignore")||"A"==l.parentElement.nodeName||(l.i=h++,s.imgList.push(l.src||l.getAttribute("data-src")),l.onclick=function(){var t=!0;this.ignore=function(){return t=!1},s.$emit("imgtap",this),t&&uni.previewImage({current:this.i,urls:s.imgList})}),l.onerror=function(){s.$emit("error",{source:"img",target:this})},s.lazyLoad&&this._observer&&l.src&&0!=l.i&&(l.setAttribute("data-src",l.src),l.removeAttribute("src"),this._observer.observe(l))}var f,p=this.rtf.getElementsByTagName("a"),m=(0,_createForOfIteratorHelper2.default)(p);try{for(m.s();!(f=m.n()).done;){var g=f.value;g.onclick=function(){var t=!0,e=this.getAttribute("href");if(s.$emit("linkpress",{href:e,ignore:function(){return t=!1}}),t&&e)if("#"==e[0])s.useAnchor&&s.navigateTo({id:e.substr(1)});else{if(0==e.indexOf("http")||0==e.indexOf("//"))return!0;uni.navigateTo({url:e})}return!1}}}catch(S){m.e(S)}finally{m.f()}var v=this.rtf.getElementsByTagName("video");s.videoContexts=v;for(var x,_=0;x=v[_++];)x.style.maxWidth="100%",x.onerror=function(){s.$emit("error",{source:"video",target:this})},x.onplay=function(){if(s.autopause)for(var t,e=0;t=s.videoContexts[e++];)t!=this&&t.pause()};var w,y,k=this.rtf.getElementsByTagName("audios"),C=(0,_createForOfIteratorHelper2.default)(k);try{for(C.s();!(w=C.n()).done;){var A=w.value;A.onerror=function(){s.$emit("error",{source:"audio",target:this})}}}catch(S){C.e(S)}finally{C.f()}this.document=this.rtf,e||document.getElementById("rtf"+this._uid).appendChild(this.rtf),this.$nextTick((function(){i.nodes=[1],i.$emit("load")})),setTimeout((function(){return i.showAm=""}),500),clearInterval(this._timer),this._timer=setInterval((function(){var t=[i.rtf.getBoundingClientRect()];i.width=t[0].width,t[0].height==y&&(i.$emit("ready",t[0]),clearInterval(i._timer)),y=t[0].height}),350),this.showWithAnimation&&!e&&(this.showAm="animation:show .5s")}else this.rtf&&!e&&this.rtf.parentNode.removeChild(this.rtf)},getText:function(){arguments.length>0&&void 0!==arguments[0]||this.nodes;return this.rtf.innerText},navigateTo:function(t){if(!this.useAnchor)return t.fail&&t.fail({errMsg:"Anchor is disabled"});if(!t.id)return window.scrollTo(0,this.rtf.offsetTop),t.success&&t.success({errMsg:"pageScrollTo:ok"});var e=document.getElementById(t.id);if(!e)return t.fail&&t.fail({errMsg:"Label not found"});t.scrollTop=this.rtf.offsetTop+e.offsetTop,uni.pageScrollTo(t)},getVideoContext:function(t){if(!t)return this.videoContexts;for(var e=this.videoContexts.length;e--;)if(this.videoContexts[e].id==t)return this.videoContexts[e]},preLoad:function preLoad(html,num){html.constructor==Array&&(html=this._Dom2Str(html));var script="var contain=document.createElement('div');contain.innerHTML='"+html.replace(/'/g,"\\'")+"';for(var imgs=contain.querySelectorAll('img'),i=imgs.length-1;i>="+num+";i--)imgs[i].removeAttribute('src');";eval(script)},_tap:function(t){if(this.gestureZoom&&t.timeStamp-this._lastT<300){var e=t.touches[0].pageY-t.currentTarget.offsetTop;if(this._zoom)this._scaleAm.translateX(0).scale(1).step(),uni.pageScrollTo({scrollTop:(e+this._initY)/2-t.touches[0].clientY,duration:400});else{var i=t.touches[0].pageX-t.currentTarget.offsetLeft;this._initY=e,this._scaleAm=uni.createAnimation({transformOrigin:"".concat(i,"px ").concat(this._initY,"px 0"),timingFunction:"ease-in-out"}),this._scaleAm.scale(2).step(),this._tMax=i/2,this._tMin=(i-this.width)/2,this._tX=0}this._zoom=!this._zoom,this.scaleAm=this._scaleAm.export()}this._lastT=t.timeStamp},_touchstart:function(t){1==t.touches.length&&(this._initX=this._lastX=t.touches[0].pageX)},_touchmove:function(t){var e=t.touches[0].pageX-this._lastX;if(this._zoom&&1==t.touches.length&&Math.abs(e)>20){if(this._lastX=t.touches[0].pageX,this._tX<=this._tMin&&e<0||this._tX>=this._tMax&&e>0)return;this._tX+=e*Math.abs(this._lastX-this._initX)*.05,this._tX<this._tMin&&(this._tX=this._tMin),this._tX>this._tMax&&(this._tX=this._tMax),this._scaleAm.translateX(this._tX).step(),this.scaleAm=this._scaleAm.export()}}}};exports.default=_default},"810f":function(t,e,i){"use strict";i.r(e);var a=i("9960"),n=i("6894");for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("b7177");var r,s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"8bb2abba",null,!1,a["a"],r);e["default"]=c.exports},"8c69":function(t,e,i){"use strict";var a=i("5b32"),n=i.n(a);n.a},"911f":function(t,e,i){var a=i("c2d4");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("8a3b2516",a,!0,{sourceMap:!1,shadowMode:!1})},9960:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={jyfParser:i("dcee").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return-1!=t.status||t.inloading?0==t.status?a("v-uni-view",{staticClass:"settledSuccessMain"},[a("v-uni-view",{staticClass:"settledSuccessful"},[a("v-uni-image",{staticClass:"image",attrs:{src:i("d63c"),alt:""}}),a("v-uni-view",{staticClass:"title"},[t._v("恭喜，您的资料提交成功！")]),a("v-uni-view",{staticClass:"goHome",attrs:{"hover-class":"none"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goHome.apply(void 0,arguments)}}},[t._v("返回首页")])],1)],1):1==t.status?a("v-uni-view",{staticClass:"settledSuccessMain"},[a("v-uni-view",{staticClass:"settledSuccessful"},[a("v-uni-image",{staticClass:"image",attrs:{src:i("d63c"),alt:""}}),a("v-uni-view",{staticClass:"title"},[t._v("恭喜，您的资料通过审核！")]),a("v-uni-view",{staticClass:"goHome",attrs:{"hover-class":"none"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goHome.apply(void 0,arguments)}}},[t._v("返回首页")])],1)],1):2==t.status?a("v-uni-view",{staticClass:"settledSuccessMain"},[a("v-uni-view",{staticClass:"settledSuccessful"},[a("v-uni-image",{staticClass:"image",attrs:{src:i("eff8"),alt:""}}),a("v-uni-view",{staticClass:"title"},[t._v("您的申请未通过！")]),t.refusal_reason?a("v-uni-view",{staticClass:"info"},[t._v(t._s(t.refusal_reason))]):t._e(),a("v-uni-view",{staticClass:"again",attrs:{"hover-class":"none"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.applyAgain.apply(void 0,arguments)}}},[t._v("重新申请")]),a("v-uni-view",{staticClass:"goHome",attrs:{"hover-class":"none"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goHome.apply(void 0,arguments)}}},[t._v("返回首页")])],1)],1):t._e():a("v-uni-view",{style:t.colorStyle},[a("v-uni-form",{attrs:{"report-submit":"true"}},[a("v-uni-view",{staticClass:"merchantsSettled"},[a("v-uni-image",{staticClass:"merchantBg",attrs:{mode:"widthFix",src:i("f805"),alt:""}}),a("v-uni-view",{staticClass:"list"},[a("v-uni-view",{staticClass:"item"},[a("v-uni-view",{staticClass:"acea-row row-middle"},[a("v-uni-text",{staticClass:"item-name"},[t._v("代理商名称")]),a("v-uni-input",{attrs:{type:"text",maxlength:"30",placeholder:"请输入代理商名称","placeholder-class":"placeholder"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.validateBtn.apply(void 0,arguments)}},model:{value:t.merchantData.agent_name,callback:function(e){t.$set(t.merchantData,"agent_name",e)},expression:"merchantData.agent_name"}})],1)],1),a("v-uni-view",{staticClass:"item"},[a("v-uni-view",{staticClass:"acea-row row-middle"},[a("v-uni-text",{staticClass:"item-name"},[t._v("用户姓名")]),a("v-uni-input",{attrs:{type:"text",placeholder:"请输入姓名","placeholder-class":"placeholder"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.validateBtn.apply(void 0,arguments)}},model:{value:t.merchantData.name,callback:function(e){t.$set(t.merchantData,"name",e)},expression:"merchantData.name"}})],1)],1),a("v-uni-view",{staticClass:"item"},[a("v-uni-view",{staticClass:"acea-row row-middle"},[a("v-uni-text",{staticClass:"item-name"},[t._v("联系电话")]),a("v-uni-input",{attrs:{type:"text",placeholder:"请输入手机号","placeholder-class":"placeholder"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.validateBtn.apply(void 0,arguments)}},model:{value:t.merchantData.phone,callback:function(e){t.$set(t.merchantData,"phone",e)},expression:"merchantData.phone"}})],1)],1),a("v-uni-view",{staticClass:"item rel"},[a("v-uni-view",{staticClass:"acea-row row-middle"},[a("v-uni-text",{staticClass:"item-name"},[t._v("验证码")]),a("v-uni-input",{staticClass:"codeIput",attrs:{type:"text",placeholder:"填写验证码","placeholder-class":"placeholder"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.validateBtn.apply(void 0,arguments)}},model:{value:t.merchantData.code,callback:function(e){t.$set(t.merchantData,"code",e)},expression:"merchantData.code"}}),a("v-uni-button",{staticClass:"code",class:!0===t.disabled?"on":"",attrs:{disabled:t.disabled},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.getCode.apply(void 0,arguments)}}},[t._v(t._s(t.text))])],1)],1),a("v-uni-view",{staticClass:"item"},[a("v-uni-view",{staticClass:"acea-row row-middle"},[a("v-uni-text",{staticClass:"item-name"},[t._v("邀请码")]),a("v-uni-input",{attrs:{type:"text",placeholder:"请输入代理商邀请码","placeholder-class":"placeholder"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.validateBtn.apply(void 0,arguments)}},model:{value:t.merchantData.division_invite,callback:function(e){t.$set(t.merchantData,"division_invite",e)},expression:"merchantData.division_invite"}})],1)],1),a("v-uni-view",{staticClass:"item no-border"},[a("v-uni-view",{staticClass:"acea-row row-middle"},[a("v-uni-text",{staticClass:"item-title"},[t._v("请上传营业执照及行业相关资质证明图片")]),a("v-uni-text",{staticClass:"item-desc"},[t._v("(图片最多可上传10张,图片格式支持JPG、PNG、JPEG)")]),a("v-uni-view",{staticClass:"upload"},[t._l(t.images,(function(e,i){return a("v-uni-view",{key:i,staticClass:"pictrue",attrs:{"data-index":i},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.getPhotoClickIdx.apply(void 0,arguments)}}},[a("v-uni-image",{attrs:{src:e}}),a("v-uni-text",{staticClass:"iconfont icon-guanbi1",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.DelPic(i)}}})],1)})),t.images.length<10?a("v-uni-view",{staticClass:"pictrue acea-row row-center-wrapper row-column",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.uploadpic.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"iconfont icon-icon25201"}),a("v-uni-view",[t._v("上传图片")])],1):t._e()],2)],1)],1),a("v-uni-view",{staticClass:"item no-border"},[a("v-uni-checkbox-group",{on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.ChangeIsAgree.apply(void 0,arguments)}}},[a("v-uni-checkbox",{staticClass:"checkbox",attrs:{checked:!!t.isAgree}}),t._v("已阅读并同意")],1),a("v-uni-button",{staticClass:"settleAgree",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.getAgentAgreement.apply(void 0,arguments)}}},[t._v("《代理商协议》")])],1),a("v-uni-button",{staticClass:"submitBtn",class:!0===t.isAgree?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.formSubmit.apply(void 0,arguments)}}},[t._v("提交申请")])],1)],1)],1),t.showProtocol?a("v-uni-view",{staticClass:"settlementAgreement"},[a("v-uni-view",{staticClass:"setAgCount"},[a("i",{staticClass:"icon iconfont icon-cha",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showProtocol=!1}}}),a("div",{staticClass:"title"},[t._v("代理商入驻协议")]),a("v-uni-view",{staticClass:"content"},[a("jyf-parser",{ref:"article",attrs:{html:t.protocol,"tag-style":t.tagStyle}})],1)],1)],1):t._e(),t.loading?a("v-uni-view",{staticClass:"loadingicon acea-row row-center-wrapper"},[a("v-uni-text",{staticClass:"loading iconfont icon-jiazai",attrs:{hidden:0==t.loading}})],1):t._e()],1)},o=[]},b7177:function(t,e,i){"use strict";var a=i("911f"),n=i.n(a);n.a},b85c:function(t,e,i){"use strict";i("a4d3"),i("e01a"),i("d28b"),i("d3b7"),i("3ca3"),i("ddb0"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var a=n(i("06c5"));function n(t){return t&&t.__esModule?t:{default:t}}function o(t,e){var i;if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(i=(0,a.default)(t))||e&&t&&"number"===typeof t.length){i&&(t=i);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,s=!0,c=!1;return{s:function(){i=t[Symbol.iterator]()},n:function(){var t=i.next();return s=t.done,t},e:function(t){c=!0,r=t},f:function(){try{s||null==i["return"]||i["return"]()}finally{if(c)throw r}}}}},c2d4:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场（https://ext.dcloud.net.cn）上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者，建议你使用scss预处理，并在插件代码中直接使用这些变量（无需 import 这个文件），方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者（插件使用者），你可以通过修改这些变量来定制自己的插件主题，实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理，你也可以直接在你的 scss 代码中使用如下变量，同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.uni-input-placeholder[data-v-8bb2abba]{color:#b2b2b2}.item-name[data-v-8bb2abba]{width:%?190?%}.uni-list-cell[data-v-8bb2abba]{position:relative}.uni-list-cell .iconfont[data-v-8bb2abba]{font-size:14px;color:#7a7a7a;position:absolute;right:15px;top:%?7?%}.uni-list-cell .icon-guanbi2[data-v-8bb2abba]{right:35px}.merchantsSettled[data-v-8bb2abba]{background:linear-gradient(#fd3d1d,#fd151b);height:140vh}.merchantsSettled .merchantBg[data-v-8bb2abba]{width:%?750?%;width:100%}.merchantsSettled .list[data-v-8bb2abba]{background-color:#fff;border-radius:12px;padding:22px 0;margin:0 15px;position:absolute;top:%?300?%;width:calc(100% - 30px)}.application-record[data-v-8bb2abba]{position:absolute;display:flex;align-items:center;top:%?240?%;right:0;color:#fff;font-size:%?22?%;background-color:rgba(0,0,0,.3);padding:%?8?% %?18?%;border-radius:20px 0 0 20px}.merchantsSettled .list .item[data-v-8bb2abba]{padding:%?50?% 0 %?20?%;border-bottom:%?1?% solid #eee;position:relative;margin:0 20px}.merchantsSettled .list .item.no-border[data-v-8bb2abba]{border-bottom:none;padding-left:0;padding-right:0}.merchantsSettled .list .item .item-title[data-v-8bb2abba]{color:#666;font-size:%?28?%;display:block}.merchantsSettled .list .item .item-desc[data-v-8bb2abba]{color:#b2b2b2;font-size:%?22?%;display:block;margin-top:%?9?%;line-height:%?36?%}.acea-row[data-v-8bb2abba],\n.upload[data-v-8bb2abba]{display:-webkit-box;display:-moz-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-lines:multiple;-moz-box-lines:multiple;-o-box-lines:multiple;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.upload[data-v-8bb2abba]{margin-top:%?20?%}.acea-row.row-middle[data-v-8bb2abba]{-webkit-box-align:center;-moz-box-align:center;-o-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;padding-left:2px}.acea-row.row-column[data-v-8bb2abba]{-webkit-box-orient:vertical;-moz-box-orient:vertical;-o-box-orient:vertical;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.acea-row.row-center-wrapper[data-v-8bb2abba]{-webkit-box-align:center;-moz-box-align:center;-o-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-moz-box-pack:center;-o-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}.merchantsSettled .list .item .pictrue[data-v-8bb2abba]{width:%?130?%;height:%?130?%;margin:%?24?% %?22?% 0 0;position:relative;font-size:11px;color:#bbb}.merchantsSettled .list .item .pictrue[data-v-8bb2abba]:nth-child(4n){margin-right:0}.merchantsSettled .list .item .pictrue[data-v-8bb2abba]:nth-last-child(1){border:.5px solid #ddd;box-sizing:border-box}.merchantsSettled .list .item .pictrue uni-image[data-v-8bb2abba],\n.merchantsSettled .list .item .pictrue uni-image[data-v-8bb2abba]{width:100%;height:100%;border-radius:1px}.merchantsSettled .list .item .pictrue uni-image img[data-v-8bb2abba],\n.merchantsSettled .list .item .pictrue uni-image img[data-v-8bb2abba]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;display:block;position:absolute;top:0;left:0;opacity:0;width:100%;height:100%}.merchantsSettled .list .item .pictrue .icon-guanbi1[data-v-8bb2abba]{font-size:%?33?%;position:absolute;top:-10px;right:-10px}.uni-list-cell-db[data-v-8bb2abba]{position:relative}.wenhao[data-v-8bb2abba]{width:%?34?%;height:%?34?%;display:flex;align-items:center;justify-content:center;font-size:%?28?%;border-radius:50%;background:#e3e3e3;color:#fff!important;margin-left:%?4?%;position:absolute;left:%?122?%}.merchantsSettled .list .item .imageCode[data-v-8bb2abba]{position:absolute;top:7px;right:0}.merchantsSettled .list .item .icon[data-v-8bb2abba]{font-size:%?40?%;color:#b4b1b4}.merchantsSettled .list .item uni-input[data-v-8bb2abba]{width:%?400?%;font-size:%?30?%}.merchantsSettled .list .item .placeholder[data-v-8bb2abba]{color:#b2b2b2}.merchantsSettled .default[data-v-8bb2abba]{padding:0 %?30?%;height:%?90?%;background-color:#fff;margin-top:%?23?%}.merchantsSettled .default uni-checkbox[data-v-8bb2abba]{margin-right:%?15?%}.merchantsSettled .acea-row uni-image[data-v-8bb2abba]{width:20px;height:20px;display:block}.merchantsSettled .list .item .codeIput[data-v-8bb2abba]{width:125px}.uni-input-input[data-v-8bb2abba]{display:block;height:100%;background:none;color:inherit;opacity:1;-webkit-text-fill-color:currentcolor;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit}.merchantsSettled .list .item .code[data-v-8bb2abba]{position:absolute;width:93px;line-height:27px;border:1px solid #e93323;border-radius:15px;color:#e93323;text-align:center;bottom:8px;right:0;font-size:12px}.merchantsSettled .list .item .code.on[data-v-8bb2abba]{background-color:#bbb;color:#fff;border-color:#bbb}.merchantsSettled .submitBtn[data-v-8bb2abba]{width:%?588?%;margin:0 auto;height:%?86?%;border-radius:25px;text-align:center;line-height:%?86?%;font-size:15px;color:#fff;background:#e3e3e3;margin-top:25px}.merchantsSettled .submitBtn.on[data-v-8bb2abba]{background:#e93323}uni-checkbox-group[data-v-8bb2abba],\n.settleAgree[data-v-8bb2abba]{display:inline-block;font-size:%?24?%}uni-checkbox-group[data-v-8bb2abba]{color:#b2b2b2}.settleAgree[data-v-8bb2abba]{color:#e93323;position:relative;top:2px;left:8px}.merchantsSettled uni-checkbox .uni-checkbox-wrapper[data-v-8bb2abba]{width:%?30?%;height:%?30?%;border:%?2?% solid #c3c3c3;border-radius:15px}.settlementAgreement[data-v-8bb2abba]{width:100%;height:100%;position:fixed;top:0;left:0;background:rgba(0,0,0,.5);z-index:10}.settlementAgreement .setAgCount[data-v-8bb2abba]{background:#fff;width:%?656?%;height:458px;position:absolute;top:50%;left:50%;border-radius:%?12?%;-webkit-border-radius:%?12?%;padding:%?52?%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);transform:translate(-50%,-50%);overflow:hidden}.settlementAgreement .setAgCount .content[data-v-8bb2abba]{height:%?900?%;overflow-y:scroll}.settlementAgreement .setAgCount .content[data-v-8bb2abba] p{font-size:13px;line-height:22px}.settlementAgreement .setAgCount .content[data-v-8bb2abba] img{max-width:100%}.settlementAgreement .setAgCount .icon[data-v-8bb2abba]{font-size:%?42?%;color:#b4b1b4;position:absolute;top:%?15?%;right:%?15?%}.settlementAgreement .setAgCount .title[data-v-8bb2abba]{color:#333;font-size:%?32?%;text-align:center;font-weight:700}.settlementAgreement .setAgCount .content[data-v-8bb2abba]{margin-top:%?32?%;color:#333;font-size:%?26?%;line-height:22px;text-align:justify;text-justify:distribute-all-lines;height:%?756?%;overflow-y:scroll}.settledSuccessMain[data-v-8bb2abba]{height:100vh;display:flex;flex-direction:column;background:#fff}.settledSuccessful[data-v-8bb2abba]{flex:1;width:100%;padding:0 56px;height:auto;background:#fff;text-align:center}.settledSuccessful .image[data-v-8bb2abba]{width:189px;height:157px;margin-top:66px}.settledSuccessful .title[data-v-8bb2abba]{color:#333;font-size:16px;font-weight:700;margin-top:35px}.settledSuccessful .info[data-v-8bb2abba]{color:#999;font-size:%?26?%;margin-top:%?18?%}.settledSuccessful .goHome[data-v-8bb2abba]{margin:20px auto 0;line-height:43px;color:#282828;font-size:15px;border:1px solid #b4b4b4;border-radius:60px}.settledSuccessful .again[data-v-8bb2abba]{margin:30px auto 0;line-height:43px;color:#fff;font-size:15px;background-color:#e93323;border-radius:60px}[data-v-8bb2abba] uni-checkbox .uni-checkbox-input{width:15px;height:15px;position:relative}[data-v-8bb2abba] uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked:before{font-size:14px}[data-v-8bb2abba] uni-checkbox .uni-checkbox-input-checked{background-color:#fd151b!important}.loadingicon[data-v-8bb2abba]{height:100vh;overflow:hidden;position:absolute;top:0;left:0}.icon-xiangyou[data-v-8bb2abba]{font-size:%?22?%}.setAgCount[data-v-8bb2abba] table{border:%?1?% solid #ddd;border-bottom:none;border-right:none}.setAgCount[data-v-8bb2abba] td,\n.setAgCount th[data-v-8bb2abba]{padding:%?5?% %?10?%;border-bottom:%?1?% solid #ddd;border-right:%?1?% solid #ddd}',""]),t.exports=e},d63c:function(t,e,i){t.exports=i.p+"static/img/success.e4e7dd73.png"},dcee:function(t,e,i){"use strict";i.r(e);var a=i("4cb8"),n=i("47d1");for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("8c69");var r,s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"f0cc9922",null,!1,a["a"],r);e["default"]=c.exports},eff8:function(t,e,i){t.exports=i.p+"static/img/error.8e4ea509.png"},f805:function(t,e,i){t.exports=i.p+"static/img/img.984e1a3f.jpg"}}]);