(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-store-qualifications-index"],{"2a63":function(module,exports,__webpack_require__){"use strict";__webpack_require__("7a82");var _interopRequireDefault=__webpack_require__("4ea4").default;Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _createForOfIteratorHelper2=_interopRequireDefault(__webpack_require__("b85c"));__webpack_require__("c975"),__webpack_require__("caad"),__webpack_require__("2532"),__webpack_require__("ac1f"),__webpack_require__("466d"),__webpack_require__("5319"),__webpack_require__("acd8"),__webpack_require__("99af"),__webpack_require__("14d9");var rpx=uni.getSystemInfoSync().screenWidth/750,cfg=__webpack_require__("b275"),_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,n=this.length;e.5?n.toUpperCase():n}return r+=e.substr(i),this[t]=r}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,n="",r=(0,_createForOfIteratorHelper2.default)(t);try{for(r.s();!(e=r.n()).done;){var i=e.value;if("text"==i.type)n+=i.text;else{for(var o in n+="<"+i.name,i.attrs||{})n+=" "+o+'="'+i.attrs[o]+'"';i.children&&i.children.length?n+=">"+this._Dom2Str(i.children)+"":n+=">"}}}catch(a){r.e(a)}finally{r.f()}return n},_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 n="",t=n+t}return t},setContent:function(t,e){var n=this;if(t){var r=document.createElement("div");e?this.rtf?this.rtf.appendChild(r):this.rtf=r:(this.rtf&&this.rtf.parentNode.removeChild(this.rtf),this.rtf=r),r.innerHTML=this._handleHtml(t,e);for(var i,o=this.rtf.getElementsByTagName("style"),a=0;i=o[a++];)i.innerHTML=i.innerHTML.replace(/body/g,"#rtf"+this._uid),i.setAttribute("scoped","true");!this._observer&&this.lazyLoad&&IntersectionObserver&&(this._observer=new IntersectionObserver((function(t){for(var e,r=0;e=t[r++];)e.isIntersecting&&(e.target.src=e.target.getAttribute("data-src"),e.target.removeAttribute("data-src"),n._observer.unobserve(e.target))}),{rootMargin:"900px 0px 900px 0px"}));var u=this,s=this.rtf.getElementsByTagName("title");s.length&&this.autosetTitle&&uni.setNavigationBarTitle({title:s[0].innerText}),this.imgList.length=0;for(var c,l=this.rtf.getElementsByTagName("img"),d=0,f=0;c=l[d];d++){c.style.maxWidth="100%";var h=c.getAttribute("src");this.domain&&h&&("/"==h[0]?"/"==h[1]?c.src=(this.domain.includes("://")?this.domain.split("://")[0]:"")+":"+h:c.src=this.domain+h:h.includes("://")||(c.src=this.domain+"/"+h)),c.hasAttribute("ignore")||"A"==c.parentElement.nodeName||(c.i=f++,u.imgList.push(c.src||c.getAttribute("data-src")),c.onclick=function(){var t=!0;this.ignore=function(){return t=!1},u.$emit("imgtap",this),t&&uni.previewImage({current:this.i,urls:u.imgList})}),c.onerror=function(){u.$emit("error",{source:"img",target:this})},u.lazyLoad&&this._observer&&c.src&&0!=c.i&&(c.setAttribute("data-src",c.src),c.removeAttribute("src"),this._observer.observe(c))}var p,g=this.rtf.getElementsByTagName("a"),m=(0,_createForOfIteratorHelper2.default)(g);try{for(m.s();!(p=m.n()).done;){var v=p.value;v.onclick=function(){var t=!0,e=this.getAttribute("href");if(u.$emit("linkpress",{href:e,ignore:function(){return t=!1}}),t&&e)if("#"==e[0])u.useAnchor&&u.navigateTo({id:e.substr(1)});else{if(0==e.indexOf("http")||0==e.indexOf("//"))return!0;uni.navigateTo({url:e})}return!1}}}catch(C){m.e(C)}finally{m.f()}var _=this.rtf.getElementsByTagName("video");u.videoContexts=_;for(var b,y=0;b=_[y++];)b.style.maxWidth="100%",b.style.width="100%",b.onerror=function(){u.$emit("error",{source:"video",target:this})},b.onplay=function(){if(u.autopause)for(var t,e=0;t=u.videoContexts[e++];)t!=this&&t.pause()};var w,x,A=this.rtf.getElementsByTagName("audios"),S=(0,_createForOfIteratorHelper2.default)(A);try{for(S.s();!(w=S.n()).done;){var T=w.value;T.onerror=function(){u.$emit("error",{source:"audio",target:this})}}}catch(C){S.e(C)}finally{S.f()}this.document=this.rtf,e||document.getElementById("rtf"+this._uid).appendChild(this.rtf),this.$nextTick((function(){n.nodes=[1],n.$emit("load")})),setTimeout((function(){return n.showAm=""}),500),clearInterval(this._timer),this._timer=setInterval((function(){var t=[n.rtf.getBoundingClientRect()];n.width=t[0].width,t[0].height==x&&(n.$emit("ready",t[0]),clearInterval(n._timer)),x=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 n=t.touches[0].pageX-t.currentTarget.offsetLeft;this._initY=e,this._scaleAm=uni.createAnimation({transformOrigin:"".concat(n,"px ").concat(this._initY,"px 0"),timingFunction:"ease-in-out"}),this._scaleAm.scale(2).step(),this._tMax=n/2,this._tMin=(n-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._tXthis._tMax&&(this._tX=this._tMax),this._scaleAm.translateX(this._tX).step(),this.scaleAm=this._scaleAm.export()}}}};exports.default=_default},3192:function(t,e,n){"use strict";n.r(e);var r=n("69df"),i=n("60e9");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("ad62");var a=n("f0c5"),u=Object(a["a"])(i["default"],r["b"],r["c"],!1,null,"487f6906",null,!1,r["a"],void 0);e["default"]=u.exports},3762:function(t,e,n){"use strict";var r=n("f561"),i=n.n(r);i.a},"554e":function(t,e,n){"use strict";n("7a82");var r=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("d3b7"),n("159b");var i=n("736f"),o=n("5a8f"),a=r(n("3192")),u=n("f26a"),s={components:{"jyf-parser":a.default},onLoad:function(t){this.storeData=t,this.getVerCodeImage()},data:function(){return{storeData:{},captchaData:{},verCodeValue:"",urlList:[],tagStyle:{img:"width:100%;display:block;"},content:"",domain:u.HTTP_REQUEST_URL}},methods:{submitCaptChaData:function(){var t=this;this.verCodeValue?(0,i.storeCertificate)({merId:this.storeData.mer_id,key:this.captchaData.key,code:this.verCodeValue}).then((function(e){if(200==e.status&&"success"==e.message){t.urlList=e.data,t.content="";var n="";t.urlList.forEach((function(e){n+=t.setImgTap(e)})),t.content="

".concat(n,"

")}})).catch((function(e){(0,o.Toast)(e),t.getVerCodeImage(),t.verCodeValue=""})):(0,o.Toast)("请输入验证码")},setImgTap:function(t){return'')},getVerCodeImage:function(){var t=this;(0,i.getCaptcha)().then((function(e){200==e.status&&"success"==e.message&&(t.captchaData=e.data)}))}}};e.default=s},"5a8f":function(t,e,n){"use strict";n("7a82");var r=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.ActionSheet=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#000000";return new Promise((function(n,r){uni.showActionSheet({itemList:t,itemColor:e,success:function(t){n(t.tapIndex)},fail:function(t){r(t.errMsg)}})}))},e.Authorize=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"scope.userInfo";return new Promise((function(e,n){uni.authorize({scope:t,success:function(t){e(t)},fail:function(t){n(t)}})}))},e.GetUserInfo=function(){return new Promise((function(t,e){uni.getUserInfo({success:function(e){t(e)},fail:function(t){e(t)}})}))},e.Loading=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"正在加载...",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};uni.showLoading((0,o.default)({title:t,mask:!0},e))},e.Modal=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"提示",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"这是一个模态弹窗!";return new Promise((function(n,r){uni.showModal({title:t,content:e,success:function(t){t.confirm&&n(),t.cancel&&r()}})}))},e.ScrollTo=function(t){uni.pageScrollTo({scrollTop:t,duration:300})},e.Toast=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:800,i=(0,o.default)({title:t,duration:r,position:"center",mask:!0,icon:e||"none"},n);uni.showToast(i)},e.chooseImage=function(t){return new Promise((function(e,n){uni.chooseImage({count:t,sizeType:["original","compressed"],sourceType:["album","camera"],success:function(t){e(t)},fail:function(t){n(t)}})}))},e.clearStorage=function(){try{uni.clearStorageSync()}catch(t){throw new Error("处理失败")}},e.convertObj=a,e.formatDate=u,e.getQuarterStartDate=function(){var t=new Date(l,function(){var t=0;c<3&&(t=0);28&&(t=9);return t}(),1);return u(t,"yyyy-MM-dd")},e.getStorage=function(t){var e=uni.getStorageSync(t);try{"number"!=typeof JSON.parse(e)&&(e=JSON.parse(e))}catch(n){}return e},e.hideLoading=function(){try{uni.hideLoading()}catch(t){throw new Error("处理失败")}},e.navigateBack=function(t){uni.navigateBack({delta:t})},e.navigateTo=function(t,e,n){var r=e,i="navigateTo";switch(r=n?r+"?"+a(n):r,t){case 1:i="navigateTo";break;case 2:i="redirectTo";break;case 3:i="reLaunch";break;case 4:i="switchTab";break;default:i="navigateTo";break}uni[i]({url:r,animationType:"slide-in-right",animationDuration:200})},e.pathToBase64=function(t){return new Promise((function(e,n){if("object"===("undefined"===typeof window?"undefined":(0,i.default)(window))&&"document"in window){if("function"===typeof FileReader){var r=new XMLHttpRequest;return r.open("GET",t,!0),r.responseType="blob",r.onload=function(){if(200===this.status){var t=new FileReader;t.onload=function(t){e(t.target.result)},t.onerror=n,t.readAsDataURL(this.response)}},r.onerror=n,void r.send()}var o=document.createElement("canvas"),a=o.getContext("2d"),u=new Image;return u.onload=function(){o.width=u.width,o.height=u.height,a.drawImage(u,0,0),e(o.toDataURL()),o.height=o.width=0},u.onerror=n,void(u.src=t)}"object"!==("undefined"===typeof plus?"undefined":(0,i.default)(plus))?"object"===("undefined"===typeof wx?"undefined":(0,i.default)(wx))&&wx.canIUse("getFileSystemManager")?wx.getFileSystemManager().readFile({filePath:t,encoding:"base64",success:function(t){e("data:image/png;base64,"+t.data)},fail:function(t){n(t)}}):n(new Error("not support")):plus.io.resolveLocalFileSystemURL(getLocalFilePath(t),(function(t){t.file((function(t){var r=new plus.io.FileReader;r.onload=function(t){e(t.target.result)},r.onerror=function(t){n(t)},r.readAsDataURL(t)}),(function(t){n(t)}))}),(function(t){n(t)}))}))},e.removeStorage=function(t){t&&uni.removeStorageSync(t)},e.serialize=function(t){if(null!=t&&""!=t)try{return JSON.parse(JSON.stringify(t))}catch(e){return t instanceof Array?[]:{}}return t},e.setStorage=function(t,e){if("string"==typeof e)return uni.setStorageSync(t,e),e;uni.setStorageSync(t,JSON.stringify(e))},e.showMonthFirstDay=function(){var t=(new Date).setDate(1);return u(new Date(t).getTime(),"yyyy-MM-dd")},e.showWeekFirstDay=function(){var t=new Date,e=t.getDay()||7;return t.setDate(t.getDate()-e+1),u(t,"yyyy-MM-dd")},e.throttle=function(t,e){var n,r;e=e||200;return function(){for(var i=this,o=arguments.length,a=new Array(o),u=0;u=t.length?{done:!0}:{done:!1,value:t[i++]}},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 a,u=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return u=t.done,t},e:function(t){s=!0,a=t},f:function(){try{u||null==n["return"]||n["return"]()}finally{if(s)throw a}}}},n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0"),n("d9e2"),n("d401");var r=function(t){return t&&t.__esModule?t:{default:t}}(n("06c5"))},c21b:function(t,e,n){"use strict";n.r(e);var r=n("554e"),i=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);e["default"]=i.a},ccaf:function(t,e,n){var r=n("8647");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("4f06").default;i("78ec9339",r,!0,{sourceMap:!1,shadowMode:!1})},f561:function(t,e,n){var r=n("6bd4");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("4f06").default;i("e278b08e",r,!0,{sourceMap:!1,shadowMode:!1})}}]);