(window.webpackJsonp=window.webpackJsonp||[]).push([[330],{"3595":function(e,t,o){"use strict";o.r(t);var n={"data":function data(){return{"webviewUrl":"","host":"https://c.lohashow.com"}},"created":function created(){"http://gmj-app-c.gomeuat.com.cn/gm-appc-zhaoshang"!==this.$route.query.webviewUrl&&"https://c.lohashow.com/appc-zhaoshang"!==this.$route.query.webviewUrl?this.$route.query.userToken||(this.webviewUrl=decodeURIComponent(this.$route.query.webviewUrl)):this.webviewUrl="".concat(this.$route.query.webviewUrl,"?userToken=").concat(encodeURIComponent(this.$utils.storage.get("userToken")),"&sessionToken=").concat(encodeURIComponent(this.$utils.storage.get("sessionToken")),"&mallCode=").concat(encodeURIComponent(this.$utils.storage.global.get("mallCode")))},"onShow":function onShow(){var e=this;if(this.$route.query.userToken)if("braceletService"==this.$route.query.type||"parkingService"==this.$route.query.type){wx.setNavigationBarTitle({"title":"braceletService"==this.$route.query.type?"手环服务":"停车服务"});this.host;console.log("this.$route.query.webviewUrl",this.$route.query.webviewUrl),setTimeout((function(){e.webviewUrl="".concat(e.$route.query.webviewUrl,"?userToken=").concat(encodeURIComponent(e.$route.query.userToken),"&sessionToken=").concat(encodeURIComponent(e.$route.query.sessionToken),"&mallCode=").concat(e.$route.query.mallCode,"&time=").concat(Date.now()),console.log("this.webviewUrl",e.webviewUrl)}),100)}else{wx.setNavigationBarTitle({"title":"活动规则"});var t=this.host;this.$utils.NODE_ENV.DEV_ENV&&(t="http://10.2.143.86:10086");this.$utils.storage.get("userToken");console.log("this.webviewUrl",this.$route.query);this.$utils.storage.get("sessionToken");setTimeout((function(){e.webviewUrl="".concat(t+e.$route.query.webviewUrl,"?userToken=").concat(encodeURIComponent(e.$route.query.userToken),"&sessionToken=").concat(encodeURIComponent(e.$route.query.sessionToken),"&previewPage=").concat(encodeURIComponent(e.previewPage),"&activityId=").concat(e.$route.query.activityId),console.log("this.webviewUrl",e.webviewUrl)}),100)}}},r=o(3),s=Object(r.a)(n,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("taro-web-view",{"attrs":{"src":this.webviewUrl}})],1)}),[],!1,null,null,null);t.default=s.exports}}]);