(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["bundle-pages-server_explan-server_explan"],{"265c":function(t,e,r){"use strict";r.r(e);var n=r("cc94"),i=r.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){r.d(e,t,(function(){return n[t]}))}(a);e["default"]=i.a},"2be0":function(t,e,r){"use strict";r.d(e,"b",(function(){return n})),r.d(e,"c",(function(){return i})),r.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",[this.nodes.length?this._e():this._t("default"),e("v-uni-view",{style:this.showAm+(this.selectable?";user-select:text;-webkit-user-select:text":""),attrs:{id:"_top"}},[e("div",{attrs:{id:"rtf"+this.uid}})])],2)},i=[]},"4ee8":function(t,e,r){"use strict";r.r(e);var n=r("7a9b"),i=r("f2d2");for(var a in i)["default"].indexOf(a)<0&&function(t){r.d(e,t,(function(){return i[t]}))}(a);r("bb2b");var o=r("f0c5"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"782d2b1c",null,!1,n["a"],void 0);e["default"]=s.exports},"75fd":function(t,e,r){"use strict";r.r(e);var n=r("2be0"),i=r("265c");for(var a in i)["default"].indexOf(a)<0&&function(t){r.d(e,t,(function(){return i[t]}))}(a);r("c23f");var o=r("f0c5"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"6d8b3c66",null,!1,n["a"],void 0);e["default"]=s.exports},"7a09":function(t,e,r){var n=r("afbb");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=r("4f06").default;i("c2c6ee4e",n,!0,{sourceMap:!1,shadowMode:!1})},"7a9b":function(t,e,r){"use strict";r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return a})),r.d(e,"a",(function(){return n}));var n={uParse:r("75fd").default},i=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",[e("v-uni-view",{staticClass:"main"},[e("u-parse",{attrs:{html:this.content}})],1)],1)},a=[]},"80d4":function(t,e,r){"use strict";r("7a82");var n=r("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r("c7eb")),a=n(r("1da1"));r("a9e3");var o=r("5750"),s=r("ddbd"),u={data:function(){return{content:""}},onLoad:function(){this.type=Number(this.$Route.query.type),this.getData()},methods:{getData:function(){var t=this;return(0,a.default)((0,i.default)().mark((function e(){var r;return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:r={},e.t0=t.type,e.next=0===e.t0?4:1===e.t0?9:2===e.t0?14:3===e.t0?19:24;break;case 4:return uni.setNavigationBarTitle({title:"服务协议"}),e.next=7,(0,o.getServerProto)();case 7:return r=e.sent,e.abrupt("break",24);case 9:return uni.setNavigationBarTitle({title:"隐私政策"}),e.next=12,(0,o.getPrivatePolicy)();case 12:return r=e.sent,e.abrupt("break",24);case 14:return uni.setNavigationBarTitle({title:"售后保障"}),e.next=17,(0,o.getAfterSaleGuar)();case 17:return r=e.sent,e.abrupt("break",24);case 19:return uni.setNavigationBarTitle({title:"入驻协议"}),e.next=22,(0,s.getTreaty)();case 22:return r=e.sent,e.abrupt("break",24);case 24:1==r.code&&(t.content=r.data.content);case 25:case"end":return e.stop()}}),e)})))()}}};e.default=u},"9a53":function(t,e){var r={errorImg:null,filter:null,highlight:null,onText:null,entities:{quot:'"',apos:"'",semi:";",nbsp:" ",ensp:" ",emsp:" ",ndash:"–",mdash:"—",middot:"·",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",hellip:"…"},blankChar:n(" , ,\t,\r,\n,\f"),boolAttrs:n("allowfullscreen,autoplay,autostart,controls,ignore,loop,muted"),blockTags:n("address,article,aside,body,caption,center,cite,footer,header,html,nav,pre,section"),ignoreTags:n("area,base,canvas,frame,iframe,input,link,map,meta,param,script,source,style,svg,textarea,title,track,wbr"),richOnlyTags:n("a,colgroup,fieldset,legend"),selfClosingTags:n("area,base,br,col,circle,ellipse,embed,frame,hr,img,input,line,link,meta,param,path,polygon,rect,source,track,use,wbr"),trustTags:n("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",mark:"background-color:yellow",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"}};function n(t){for(var e=Object.create(null),r=t.split(","),n=r.length;n--;)e[r[n]]=!0;return e}t.exports=r},afbb:function(t,e,r){var n=r("24fb");e=n(!1),e.push([t.i,"@-webkit-keyframes _show-data-v-6d8b3c66{0%{opacity:0}100%{opacity:1}}@keyframes _show-data-v-6d8b3c66{0%{opacity:0}100%{opacity:1}}\n\n\n\n",""]),t.exports=e},bb2b:function(t,e,r){"use strict";var n=r("c581"),i=r.n(n);i.a},c23f:function(t,e,r){"use strict";var n=r("7a09"),i=r.n(n);i.a},c581:function(t,e,r){var n=r("f32d");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=r("4f06").default;i("60ec1e5d",n,!0,{sourceMap:!1,shadowMode:!1})},cc94:function(t,e,r){"use strict";r("7a82");var n=r("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r("b85c"));r("c975"),r("caad"),r("2532"),r("ac1f"),r("466d"),r("841c"),r("5319"),r("e25e"),r("14d9"),r("99af"),r("acd8");var a=uni.getSystemInfoSync(),o=a.windowWidth,s=(a.platform,r("9a53")),u={name:"parser",data:function(){return{uid:this._uid,showAm:"",nodes:[]}},props:{html:String,autopause:{type:Boolean,default:!0},autoscroll:Boolean,autosetTitle:{type:Boolean,default:!0},domain:String,lazyLoad:Boolean,selectable:Boolean,tagStyle:Object,showWithAnimation:Boolean,useAnchor:Boolean},watch:{html:function(t){this.setContent(t)}},created:function(){this.imgList=[],this.imgList.each=function(t){for(var e=0,r=this.length;e.5?r.toUpperCase():r}return n+=e.substr(i),this[t]=n}if(this[t]=e,e.includes("data:image")){var a=e.match(/data:image\/(\S+?);(\S+?),(.+)/);if(!a)return}}}},mounted:function(){this.document=document.getElementById("rtf"+this._uid),this.html&&this.setContent(this.html)},beforeDestroy:function(){this._observer&&this._observer.disconnect(),this.imgList.each((function(t){})),clearInterval(this._timer)},methods:{setContent:function(t,e){var r=this;if(t){var n=document.createElement("div");e?this.rtf?this.rtf.appendChild(n):this.rtf=n:(this.rtf&&this.rtf.parentNode.removeChild(this.rtf),this.rtf=n),n.innerHTML=this._handleHtml(t,e);for(var a,u=this.rtf.getElementsByTagName("style"),c=0;a=u[c++];)a.innerHTML=a.innerHTML.replace(/body/g,"#rtf"+this._uid),a.setAttribute("scoped","true");!this._observer&&this.lazyLoad&&IntersectionObserver&&(this._observer=new IntersectionObserver((function(t){for(var e,n=0;e=t[n++];)e.isIntersecting&&(e.target.src=e.target.getAttribute("data-src"),e.target.removeAttribute("data-src"),r._observer.unobserve(e.target))}),{rootMargin:"500px 0px 500px 0px"}));var l=this,d=this.rtf.getElementsByTagName("title");d.length&&this.autosetTitle&&uni.setNavigationBarTitle({title:d[0].innerText});var f=function(t){var e=t.getAttribute("src");r.domain&&e&&("/"==e[0]?"/"==e[1]?t.src=(r.domain.includes("://")?r.domain.split("://")[0]:"")+":"+e:t.src=r.domain+e:e.includes("://")||0==e.indexOf("data:")||(t.src=r.domain+"/"+e))};this.imgList.length=0;for(var h,p=this.rtf.getElementsByTagName("img"),g=0,v=0;h=p[g];g++)parseInt(h.style.width||h.getAttribute("width"))>o&&(h.style.height="auto"),f(h),h.hasAttribute("ignore")||"A"==h.parentElement.nodeName||(h.i=v++,l.imgList.push(h.getAttribute("original-src")||h.src||h.getAttribute("data-src")),h.onclick=function(t){t.stopPropagation();var e=!0;this.ignore=function(){return e=!1},l.$emit("imgtap",this),e&&uni.previewImage({current:this.i,urls:l.imgList})}),h.onerror=function(){s.errorImg&&(l.imgList[this.i]=this.src=s.errorImg),l.$emit("error",{source:"img",target:this})},l.lazyLoad&&this._observer&&h.src&&0!=h.i&&(h.setAttribute("data-src",h.src),h.removeAttribute("src"),this._observer.observe(h));var m,b=this.rtf.getElementsByTagName("a"),y=(0,i.default)(b);try{for(y.s();!(m=y.n()).done;){var _=m.value;_.onclick=function(t){t.stopPropagation();var e=!0,r=this.getAttribute("href");if(l.$emit("linkpress",{href:r,ignore:function(){return e=!1}}),e&&r)if("#"==r[0])l.useAnchor&&l.navigateTo({id:r.substr(1)});else{if(0==r.indexOf("http")||0==r.indexOf("//"))return!0;uni.navigateTo({url:r})}return!1}}}catch(M){y.e(M)}finally{y.f()}var x=this.rtf.getElementsByTagName("video");l.videoContexts=x;for(var w,T=0;w=x[T++];)f(w),w.style.maxWidth="100%",w.onerror=function(){l.$emit("error",{source:"video",target:this})},w.onplay=function(){if(l.autopause)for(var t,e=0;t=l.videoContexts[e++];)t!=this&&t.pause()};var A,S,k=this.rtf.getElementsByTagName("audio"),L=(0,i.default)(k);try{for(L.s();!(A=L.n()).done;){var C=A.value;f(C),C.onerror=function(){l.$emit("error",{source:"audio",target:this})}}}catch(M){L.e(M)}finally{L.f()}if(this.autoscroll){var B,I=this.rtf.getElementsByTagName("table"),O=(0,i.default)(I);try{for(O.s();!(B=O.n()).done;){var N=B.value,E=document.createElement("div");E.style.overflow="scroll",N.parentNode.replaceChild(E,N),E.appendChild(N)}}catch(M){O.e(M)}finally{O.f()}}e||this.document.appendChild(this.rtf),this.$nextTick((function(){r.nodes=[1],r.$emit("load")})),setTimeout((function(){return r.showAm=""}),500),clearInterval(this._timer),this._timer=setInterval((function(){r.rect=r.rtf.getBoundingClientRect(),r.rect.height==S&&(r.$emit("ready",r.rect),clearInterval(r._timer)),S=r.rect.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;var t="";return t=this.rtf.innerText,t},in:function(t){t.page&&t.selector&&t.scrollTop&&(this._in=t)},navigateTo:function(t){var e=this;if(!this.useAnchor)return t.fail&&t.fail("Anchor is disabled");var r=uni.createSelectorQuery().in(this._in?this._in.page:this).select((this._in?this._in.selector:"#_top")+(t.id?"".concat(" ","#").concat(t.id,",").concat(this._in?this._in.selector:"#_top").concat(" ",".").concat(t.id):"")).boundingClientRect();this._in?r.select(this._in.selector).scrollOffset().select(this._in.selector).boundingClientRect():r.selectViewport().scrollOffset(),r.exec((function(r){if(!r[0])return t.fail&&t.fail("Label not found");var n=r[1].scrollTop+r[0].top-(r[2]?r[2].top:0)+(t.offset||0);e._in?e._in.page[e._in.scrollTop]=n:uni.pageScrollTo({scrollTop:n,duration:300}),t.success&&t.success()}))},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]},_handleHtml:function(t,e){if(!e){var r="",t=r+t}return t.includes("rpx")&&(t=t.replace(/[0-9.]+\s*rpx/g,(function(t){return parseFloat(t)*o/750+"px"}))),t}}};e.default=u},ddbd:function(t,e,r){"use strict";r("7a82");var n=r("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.apiEnergy=function(){return i.default.get("/user/energy")},e.apiInvoiceAdd=function(t){return i.default.post("order_invoice/add",t)},e.apiInvoiceDetail=function(t){return i.default.get("order_invoice/detail",{params:t})},e.apiInvoiceEdit=function(t){return i.default.post("order_invoice/edit",t)},e.apiOrderInvoiceDetail=function(t){return i.default.get("order/invoice",{params:t})},e.changeShopFollow=function(t){return i.default.post("shop_follow/changeStatus",t)},e.energyLog=function(t){return i.default.get("/user/energylog",{params:t})},e.exchangeEnergy=function(t){return i.default.post("/user/exchangeenergy",t)},e.getAdVideoList=function(t){return i.default.get("/LiveBroadcast/get_video_list",{params:t})},e.getGoodsDiscountList=function(t){return i.default.get("/goods/getGoodsDiscountLists",{params:t})},e.getInvoiceSetting=function(t){return i.default.get("order_invoice/setting",{params:t})},e.getLiveList=function(t){return i.default.get("/LiveBroadcast/get_live_list",{params:t})},e.getNearbyShops=function(t){return i.default.get("shop/getNearbyShops",{params:t})},e.getShopCategory=function(){return i.default.get("shop_category/getList")},e.getShopGoodsCategory=function(t){return i.default.get("shop_goods_category/getShopGoodsCategory",{params:t})},e.getShopInfo=function(t){return i.default.get("shop/getShopInfo",{params:t})},e.getShopList=function(t){return i.default.get("shop/getShopList",{params:t})},e.getShopService=function(t){return i.default.get("setting/getShopCustomerService",{params:{shop_id:t}})},e.getTreaty=function(){return i.default.get("ShopApply/getTreaty")},e.giftEnergy=function(t){return i.default.post("/user/gift_energy",t)},e.seeVideoGift=function(t){return i.default.post("/LiveBroadcast/see_video_gift_integral",t)},e.shopApply=function(t){return i.default.post("ShopApply/apply",t)},e.shopApplyDetail=function(t){return i.default.get("ShopApply/detail",{params:{id:t}})},e.shopApplyRecord=function(t){return i.default.get("ShopApply/record",{params:t})},e.transferEnergy=function(t){return i.default.post("/user/transferenergy",t)};var i=n(r("e943"));r("c93f")},f2d2:function(t,e,r){"use strict";r.r(e);var n=r("80d4"),i=r.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){r.d(e,t,(function(){return n[t]}))}(a);e["default"]=i.a},f32d:function(t,e,r){var n=r("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */.main[data-v-782d2b1c]{padding:%?20?%}',""]),t.exports=e}}]);