bundle-pages-server_explan-server_explan.55b0cfdd.js 14 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["bundle-pages-server_explan-server_explan"],{"0a79":function(t,e,r){var i=r("445f");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=r("967d").default;n("588128ca",i,!0,{sourceMap:!1,shadowMode:!1})},2466:function(t,e,r){"use strict";r("6a54");var i=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(r("2634")),a=i(r("2fdc"));r("64aa");var o=r("1226"),s=r("8b3c"),c={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,n.default)().mark((function e(){var r;return(0,n.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:4===e.t0?24:29;break;case 4:return uni.setNavigationBarTitle({title:"服务协议"}),e.next=7,(0,o.getServerProto)();case 7:return r=e.sent,e.abrupt("break",29);case 9:return uni.setNavigationBarTitle({title:"隐私政策"}),e.next=12,(0,o.getPrivatePolicy)();case 12:return r=e.sent,e.abrupt("break",29);case 14:return uni.setNavigationBarTitle({title:"售后保障"}),e.next=17,(0,o.getAfterSaleGuar)();case 17:return r=e.sent,e.abrupt("break",29);case 19:return uni.setNavigationBarTitle({title:"入驻协议"}),e.next=22,(0,s.getTreaty)();case 22:return r=e.sent,e.abrupt("break",29);case 24:return uni.setNavigationBarTitle({title:"注销协议"}),e.next=27,(0,o.getuserProto)();case 27:return r=e.sent,e.abrupt("break",29);case 29:1==r.code&&(t.content=r.data.content);case 30:case"end":return e.stop()}}),e)})))()}}};e.default=c},2729:function(t,e,r){"use strict";r.r(e);var i=r("b552"),n=r("6462");for(var a in n)["default"].indexOf(a)<0&&function(t){r.d(e,t,(function(){return n[t]}))}(a);r("feb9");var o=r("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"dbee63d8",null,!1,i["a"],void 0);e["default"]=s.exports},3882:function(t,e,r){"use strict";r.r(e);var i=r("6461"),n=r.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){r.d(e,t,(function(){return i[t]}))}(a);e["default"]=n.a},"445f":function(t,e,r){var i=r("c86c");e=i(!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/* 行为相关颜色 */.main[data-v-dbee63d8]{padding:%?20?%}',""]),t.exports=e},"4b66":function(t,e,r){var i=r("4dca");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=r("967d").default;n("7b636c98",i,!0,{sourceMap:!1,shadowMode:!1})},"4bfa":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:i(" , ,\t,\r,\n,\f"),boolAttrs:i("allowfullscreen,autoplay,autostart,controls,ignore,loop,muted"),blockTags:i("address,article,aside,body,caption,center,cite,footer,header,html,nav,pre,section"),ignoreTags:i("area,base,canvas,frame,iframe,input,link,map,meta,param,script,source,style,svg,textarea,title,track,wbr"),richOnlyTags:i("a,colgroup,fieldset,legend"),selfClosingTags:i("area,base,br,col,circle,ellipse,embed,frame,hr,img,input,line,link,meta,param,path,polygon,rect,source,track,use,wbr"),trustTags:i("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 i(t){for(var e=Object.create(null),r=t.split(","),i=r.length;i--;)e[r[i]]=!0;return e}t.exports=r},"4dca":function(t,e,r){var i=r("c86c");e=i(!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},"56d0":function(t,e,r){"use strict";r.r(e);var i=r("5ecb"),n=r("3882");for(var a in n)["default"].indexOf(a)<0&&function(t){r.d(e,t,(function(){return n[t]}))}(a);r("cfe4");var o=r("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"6d8b3c66",null,!1,i["a"],void 0);e["default"]=s.exports},"5ecb":function(t,e,r){"use strict";r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return n})),r.d(e,"a",(function(){}));var i=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)},n=[]},6461:function(t,e,r){"use strict";r("6a54");var i=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(r("3471"));r("5ef2"),r("4626"),r("5ac7"),r("5c47"),r("2c10"),r("af8f"),r("a1c1"),r("e966"),r("aa9c"),r("c223"),r("e838");var a=uni.getSystemInfoSync(),o=a.windowWidth,s=(a.platform,r("4bfa")),c={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<r;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 r,i=e.split("://")[0],n=i.length;r=e[n];n++){if("/"==r&&"/"!=e[n-1]&&"/"!=e[n+1])break;i+=Math.random()>.5?r.toUpperCase():r}return i+=e.substr(n),this[t]=i}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 i=document.createElement("div");e?this.rtf?this.rtf.appendChild(i):this.rtf=i:(this.rtf&&this.rtf.parentNode.removeChild(this.rtf),this.rtf=i),i.innerHTML=this._handleHtml(t,e);for(var a,c=this.rtf.getElementsByTagName("style"),u=0;a=c[u++];)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,i=0;e=t[i++];)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,n.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"),C=(0,n.default)(k);try{for(C.s();!(A=C.n()).done;){var I=A.value;f(I),I.onerror=function(){l.$emit("error",{source:"audio",target:this})}}}catch(M){C.e(M)}finally{C.f()}if(this.autoscroll){var B,O=this.rtf.getElementsByTagName("table"),N=(0,n.default)(O);try{for(N.s();!(B=N.n()).done;){var L=B.value,E=document.createElement("div");E.style.overflow="scroll",L.parentNode.replaceChild(E,L),E.appendChild(L)}}catch(M){N.e(M)}finally{N.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 i=r[1].scrollTop+r[0].top-(r[2]?r[2].top:0)+(t.offset||0);e._in?e._in.page[e._in.scrollTop]=i:uni.pageScrollTo({scrollTop:i,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="<style scoped>@keyframes _show{0%{opacity:0}100%{opacity:1}}img{max-width:100%}";for(var i in s.userAgentStyles)r+="".concat(i,"{").concat(s.userAgentStyles[i],"}");for(i in this.tagStyle)r+="".concat(i,"{").concat(this.tagStyle[i],"}");r+="</style>",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=c},6462:function(t,e,r){"use strict";r.r(e);var i=r("2466"),n=r.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){r.d(e,t,(function(){return i[t]}))}(a);e["default"]=n.a},"8b3c":function(t,e,r){"use strict";r("6a54");var i=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.apiInvoiceAdd=function(t){return n.default.post("order_invoice/add",t)},e.apiInvoiceDetail=function(t){return n.default.get("order_invoice/detail",{params:t})},e.apiInvoiceEdit=function(t){return n.default.post("order_invoice/edit",t)},e.apiOrderInvoiceDetail=function(t){return n.default.get("order/invoice",{params:t})},e.changeShopFollow=function(t){return n.default.post("shop_follow/changeStatus",t)},e.getInvoiceSetting=function(t){return n.default.get("order_invoice/setting",{params:t})},e.getNearbyShops=function(t){return n.default.get("shop/getNearbyShops",{params:t})},e.getShopCategory=function(){return n.default.get("shop_category/getList")},e.getShopGoodsCategory=function(t){return n.default.get("shop_goods_category/getShopGoodsCategory",{params:t})},e.getShopInfo=function(t){return n.default.get("shop/getShopInfo",{params:t})},e.getShopList=function(t){return n.default.get("shop/getShopList",{params:t})},e.getShopService=function(t){return n.default.get("setting/getShopCustomerService",{params:{shop_id:t}})},e.getTreaty=function(){return n.default.get("ShopApply/getTreaty")},e.shopApply=function(t){return n.default.post("ShopApply/apply",t)},e.shopApplyDetail=function(t){return n.default.get("ShopApply/detail",{params:{id:t}})},e.shopApplyRecord=function(t){return n.default.get("ShopApply/record",{params:t})};var n=i(r("3f01"));r("c069")},b552:function(t,e,r){"use strict";r.d(e,"b",(function(){return n})),r.d(e,"c",(function(){return a})),r.d(e,"a",(function(){return i}));var i={uParse:r("56d0").default},n=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=[]},cfe4:function(t,e,r){"use strict";var i=r("4b66"),n=r.n(i);n.a},feb9:function(t,e,r){"use strict";var i=r("0a79"),n=r.n(i);n.a}}]);