glhcp/server/public/mobile/static/js/bundle-pages-server_explan-...

1 line
14 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["bundle-pages-server_explan-server_explan"],{"3ab7":function(t,e,r){"use strict";var n=r("4ea4");r("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("96cf");var i=n(r("1da1")),a=r("6ab0"),o=r("b194"),s={data:function(){return{content:""}},onLoad:function(){this.type=Number(this.$Route.query.type),this.getData()},methods:{getData:function(){var t=this;return(0,i.default)(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.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,a.getServerProto)();case 7:return r=e.sent,e.abrupt("break",24);case 9:return uni.setNavigationBarTitle({title:"隐私政策"}),e.next=12,(0,a.getPrivatePolicy)();case 12:return r=e.sent,e.abrupt("break",24);case 14:return uni.setNavigationBarTitle({title:"售后保障"}),e.next=17,(0,a.getAfterSaleGuar)();case 17:return r=e.sent,e.abrupt("break",24);case 19:return uni.setNavigationBarTitle({title:"入驻协议"}),e.next=22,(0,o.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=s},"3b88":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("eb70").default},i=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("v-uni-view",[r("v-uni-view",{staticClass:"main"},[r("u-parse",{attrs:{html:t.content}})],1)],1)},a=[]},"4d02":function(t,e,r){"use strict";r.r(e);var n=r("bae6"),i=r.n(n);for(var a in n)"default"!==a&&function(t){r.d(e,t,(function(){return n[t]}))}(a);e["default"]=i.a},"4e3a":function(t,e,r){"use strict";var n=r("961f"),i=r.n(n);i.a},"79a6":function(t,e,r){"use strict";r.r(e);var n=r("3b88"),i=r("9bf4");for(var a in i)"default"!==a&&function(t){r.d(e,t,(function(){return i[t]}))}(a);r("4e3a");var o,s=r("f0c5"),c=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"3cfe0133",null,!1,n["a"],o);e["default"]=c.exports},"7ff8":function(t,e,r){r("ac1f"),r("1276");var n={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(","),n=r.length;n--;)e[r[n]]=!0;return e}t.exports=n},"93e2":function(t,e,r){"use strict";var n;r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return a})),r.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("v-uni-view",[t.nodes.length?t._e():t._t("default"),r("v-uni-view",{style:t.showAm+(t.selectable?";user-select:text;-webkit-user-select:text":""),attrs:{id:"_top"}},[r("div",{attrs:{id:"rtf"+t.uid}})])],2)},a=[]},"961f":function(t,e,r){var n=r("ea18");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=r("4f06").default;i("9cfba214",n,!0,{sourceMap:!1,shadowMode:!1})},"9bf4":function(t,e,r){"use strict";r.r(e);var n=r("3ab7"),i=r.n(n);for(var a in n)"default"!==a&&function(t){r.d(e,t,(function(){return n[t]}))}(a);e["default"]=i.a},"9e5b":function(t,e,r){var n=r("24fb");e=n(!1),e.push([t.i,"@-webkit-keyframes _show-data-v-132e0f5b{0%{opacity:0}100%{opacity:1}}@keyframes _show-data-v-132e0f5b{0%{opacity:0}100%{opacity:1}}\n\n\n\n",""]),t.exports=e},b194:function(t,e,r){"use strict";var n=r("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getShopList=a,e.getShopCategory=o,e.getShopInfo=s,e.getShopGoodsCategory=c,e.changeShopFollow=u,e.shopApply=l,e.shopApplyRecord=f,e.shopApplyDetail=d,e.getTreaty=h,e.getShopService=p,e.getInvoiceSetting=g,e.apiInvoiceAdd=v,e.apiInvoiceEdit=m,e.apiInvoiceDetail=b,e.apiOrderInvoiceDetail=y;var i=n(r("b175"));r("357b");function a(t){return i.default.get("shop/getShopList",{params:t})}function o(){return i.default.get("shop_category/getList")}function s(t){return i.default.get("shop/getShopInfo",{params:t})}function c(t){return i.default.get("shop_goods_category/getShopGoodsCategory",{params:t})}function u(t){return i.default.post("shop_follow/changeStatus",t)}function l(t){return i.default.post("ShopApply/apply",t)}function f(t){return i.default.get("ShopApply/record",{params:t})}function d(t){return i.default.get("ShopApply/detail",{params:{id:t}})}function h(){return i.default.get("ShopApply/getTreaty")}function p(t){return i.default.get("setting/getShopCustomerService",{params:{shop_id:t}})}function g(t){return i.default.get("order_invoice/setting",{params:t})}function v(t){return i.default.post("order_invoice/add",t)}function m(t){return i.default.post("order_invoice/edit",t)}function b(t){return i.default.get("order_invoice/detail",{params:t})}function y(t){return i.default.get("order/invoice",{params:t})}},bae6:function(t,e,r){"use strict";var n=r("4ea4");r("99af"),r("caad"),r("c975"),r("acd8"),r("e25e"),r("ac1f"),r("2532"),r("466d"),r("5319"),r("841c"),r("1276"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i,a=n(r("b85c")),o=uni.getSystemInfoSync(),s=o.windowWidth,c=(o.platform,r("7ff8")),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<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,n=e.split("://")[0],i=n.length;r=e[i];i++){if("/"==r&&"/"!=e[i-1]&&"/"!=e[i+1])break;n+=Math.random()>.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(){var t=this;this.document=document.getElementById("rtf"+this._uid),i&&(this.search=function(e){return i(t,e)}),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 i,o=this.rtf.getElementsByTagName("style"),u=0;i=o[u++];)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,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,f=this.rtf.getElementsByTagName("title");f.length&&this.autosetTitle&&uni.setNavigationBarTitle({title:f[0].innerText});var d=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"))>s&&(h.style.height="auto"),d(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(){c.errorImg&&(l.imgList[this.i]=this.src=c.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,a.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++];)d(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,a.default)(k);try{for(C.s();!(A=C.n()).done;){var I=A.value;d(I),I.onerror=function(){l.$emit("error",{source:"audio",target:this})}}}catch(M){C.e(M)}finally{C.f()}if(this.autoscroll){var B,L=this.rtf.getElementsByTagName("table"),N=(0,a.default)(L);try{for(N.s();!(B=N.n()).done;){var O=B.value,E=document.createElement("div");E.style.overflow="scroll",O.parentNode.replaceChild(E,O),E.appendChild(O)}}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=" ",n=uni.createSelectorQuery().in(this._in?this._in.page:this).select((this._in?this._in.selector:"#_top")+(t.id?"".concat(r,"#").concat(t.id,",").concat(this._in?this._in.selector:"#_top").concat(r,".").concat(t.id):"")).boundingClientRect();this._in?n.select(this._in.selector).scrollOffset().select(this._in.selector).boundingClientRect():n.selectViewport().scrollOffset(),n.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="<style scoped>@keyframes _show{0%{opacity:0}100%{opacity:1}}img{max-width:100%}";for(var n in c.userAgentStyles)r+="".concat(n,"{").concat(c.userAgentStyles[n],"}");for(n in this.tagStyle)r+="".concat(n,"{").concat(this.tagStyle[n],"}");r+="</style>",t=r+t}return t.includes("rpx")&&(t=t.replace(/[0-9.]+\s*rpx/g,(function(t){return parseFloat(t)*s/750+"px"}))),t}}};e.default=u},bf98:function(t,e,r){var n=r("9e5b");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=r("4f06").default;i("5d90a2a2",n,!0,{sourceMap:!1,shadowMode:!1})},d6e2:function(t,e,r){"use strict";var n=r("bf98"),i=r.n(n);i.a},ea18:function(t,e,r){var n=r("24fb");e=n(!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-3cfe0133]{padding:%?20?%}',""]),t.exports=e},eb70:function(t,e,r){"use strict";r.r(e);var n=r("93e2"),i=r("4d02");for(var a in i)"default"!==a&&function(t){r.d(e,t,(function(){return i[t]}))}(a);r("d6e2");var o,s=r("f0c5"),c=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"132e0f5b",null,!1,n["a"],o);e["default"]=c.exports}}]);