(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/h5/bridge"],{105:function(t,n,e){"use strict";(function(t,n){var r=e(4);e(26);r(e(25));var i=r(e(106));t.__webpack_require_UNI_MP_PLUGIN__=e,n(i.default)}).call(this,e(1)["default"],e(2)["createPage"])},106:function(t,n,e){"use strict";e.r(n);var r=e(107),i=e(109);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);e(111);var c,u=e(32),a=Object(u["default"])(i["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],c);a.options.__file="pages/h5/bridge.vue",n["default"]=a.exports},107:function(t,n,e){"use strict";e.r(n);var r=e(108);e.d(n,"render",(function(){return r["render"]})),e.d(n,"staticRenderFns",(function(){return r["staticRenderFns"]})),e.d(n,"recyclableRender",(function(){return r["recyclableRender"]})),e.d(n,"components",(function(){return r["components"]}))},108:function(t,n,e){"use strict";var r;e.r(n),e.d(n,"render",(function(){return i})),e.d(n,"staticRenderFns",(function(){return c})),e.d(n,"recyclableRender",(function(){return o})),e.d(n,"components",(function(){return r}));var i=function(){var t=this,n=t.$createElement;t._self._c},o=!1,c=[];i._withStripped=!0},109:function(t,n,e){"use strict";e.r(n);var r=e(110),i=e.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(o);n["default"]=i.a},110:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={data:function(){return{activityHomeUrl:"http://point.agrimedia.cn/affiliate-activity/pages/index/index",src:"",from:""}},onLoad:function(t){this.initBridgeEntryUrl(),t&&t.from&&(this.from=decodeURIComponent(t.from))},onUnload:function(){this.from&&this.$tools.setPromotionBridgeSkip(this.from)},methods:{initBridgeEntryUrl:function(){var n=String(t.getStorageSync("uid")||"");if(n){var e=this.buildPromotionUidValue(n);this.src="".concat(this.activityHomeUrl,"?exuid=").concat(e),console.log(this.src)}else this.src=this.activityHomeUrl},buildPromotionUidValue:function(t){var n=String(t||""),e=Math.max(7-n.length,0);return"".concat(n).concat("0".repeat(e))}}};n.default=e}).call(this,e(2)["default"])},111:function(t,n,e){"use strict";e.r(n);var r=e(112),i=e.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(o);n["default"]=i.a},112:function(t,n,e){}},[[105,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/h5/bridge.js.map