(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/web/web"],{"027c":function(e,n,t){},"5d66":function(e,n,t){"use strict";t.r(n);var o=t("f50a"),r=t("c232");for(var i in r)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(i);t("9427");var a,c=t("f0c5"),s=Object(c["a"])(r["default"],o["b"],o["c"],!1,null,"6aaabea0",null,!1,o["a"],a);n["default"]=s.exports},"7efc":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={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 n=e.split("?"),t=n[0],o=n[1]?n[1].split("&"):"";if(o){if(e=t,this.$user.isLogin())for(var r in o){if("visiter_id="==o[r]){var i=this.$store.state.user.accessToken;o[r]+=i||""}var a=this.$store.state.user.info;"visiter_name="==o[r]&&(o[r]+=encodeURIComponent(a?a.nickname:"游客")),"avatar="==o[r]&&(o[r]+=encodeURIComponent(a?a.avatar:""))}var c=getCurrentPages();if(c.length>1){var s=c[c.length-2];if(s.data.goods){var u="",f="";u=s.data.goods,f={pid:u.id,title:u.name,img:u.cover_pic,info:"",price:"￥"+u.price,url:""},"plugins/integral_mall/goods/goods"==s.route&&(f.price="","undefined"!=typeof u.integral&&(f.price+=u.integral+"积分 + "),f.price+="￥"+u.price),"plugins/step/goods/goods"==s.route&&(f.price=u.price),f&&o.push("product="+encodeURIComponent(JSON.stringify(f)))}}e=t+"?"+o.join("&")}this.url=e},load:function(e){console.log("load"),console.log(e)},error:function(e){console.log("error"),console.log(e)}}};n.default=o},9427:function(e,n,t){"use strict";var o=t("027c"),r=t.n(o);r.a},c232:function(e,n,t){"use strict";t.r(n);var o=t("7efc"),r=t.n(o);for(var i in o)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(i);n["default"]=r.a},d4e1:function(e,n,t){"use strict";(function(e){t("3447");o(t("66fd"));var n=o(t("5d66"));function o(e){return e&&e.__esModule?e:{default:e}}e(n.default)}).call(this,t("543d")["createPage"])},f50a:function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return i})),t.d(n,"a",(function(){return o}));var r=function(){var e=this,n=e.$createElement;e._self._c},i=[]}},[["d4e1","common/runtime","common/vendor"]]]);