(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/web/web"],{"40f7":function(e,t,n){"use strict";n.r(t);var r=n("a5b5"),i=n.n(r);for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);t["default"]=i.a},"513b":function(e,t,n){"use strict";(function(e){n("b8bc");r(n("66fd"));var t=r(n("bc70"));function r(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])},"739c":function(e,t,n){"use strict";var r=n("d591"),i=n.n(r);i.a},a5b5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={name:"web",data:function(){return{url:"",webviewStyles:{progress:{width:"100%",height:"100%"}}}},onLoad:function(e){this.getUrl(unescape(e.url))},onShareAppMessage:function(){var e={path:"/pages/web/web",params:{url:encodeURIComponent(this.url)}};return this.$shareAppMessage(e)},methods:{getUrl:function(e){e=decodeURIComponent(e);var t=e.split("?"),n=t[0],r=t[1]?t[1].split("&"):"";if(r){if(e=n,this.$user.isLogin())for(var i in r){if("visiter_id="===r[i]){var o=this.$store.state.user.accessToken;r[i]+=o||""}var a=this.$store.state.user.info;"visiter_name="===r[i]&&(r[i]+=encodeURIComponent(a?a.nickname:"游客")),"avatar="===r[i]&&(r[i]+=encodeURIComponent(a?a.avatar:""))}var u=getCurrentPages();if(u.length>1){var c=u[u.length-2];if(c.data.goods){var s="",f="";s=c.data.goods,f={pid:s.id,title:s.name,img:s.cover_pic,info:"",price:"￥"+s.price,url:""},"plugins/integral_mall/goods/goods"===c.route&&(f.price="","undefined"!=typeof s.integral&&(f.price+=s.integral+"积分 + "),f.price+="￥"+s.price),"plugins/step/goods/goods"===c.route&&(f.price=s.price),f&&r.push("product="+encodeURIComponent(JSON.stringify(f)))}}e=n+"?"+r.join("&")}this.url=e}}};t.default=r},bc70:function(e,t,n){"use strict";n.r(t);var r=n("bec1"),i=n("40f7");for(var o in i)"default"!==o&&function(e){n.d(t,e,(function(){return i[e]}))}(o);n("739c");var a,u=n("f0c5"),c=Object(u["a"])(i["default"],r["b"],r["c"],!1,null,"5e7c9918",null,!1,r["a"],a);t["default"]=c.exports},bec1:function(e,t,n){"use strict";var r;n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return r}));var i=function(){var e=this,t=e.$createElement;e._self._c},o=[]},d591:function(e,t,n){}},[["513b","common/runtime","common/vendor"]]]);