java-mall-app/unpackage/dist/build/mp-weixin/pagesub/scan/scan.js
2024-11-01 16:35:40 +08:00

1 line
1.9 KiB
JavaScript

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesub/scan/scan"],{"04d8":function(t,n,e){"use strict";e.r(n);var a=e("adba"),i=e("b6e3");for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);e("e7e8");var c=e("828b"),u=Object(c["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);n["default"]=u.exports},"753c":function(t,n,e){"use strict";(function(t,n){var a=e("47a9");e("90c2");a(e("3240"));var i=a(e("04d8"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(i.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},8633:function(t,n,e){t.exports={theme_bg:"#f30213"}},adba:function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){}));var a=function(){var t=this.$createElement;this._self._c},i=[]},b6e3:function(t,n,e){"use strict";e.r(n);var a=e("c528"),i=e.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(o);n["default"]=i.a},c528:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("8f59"),i=null,o={data:function(){return{cTimer:null,url:"about:blank"}},computed:(0,a.mapState)(["Config","StateCode","notice","plantformInfo","shopInfo","userInfo","hasLogin"]),onLoad:function(n){t.setNavigationBarTitle({title:this.__("扫描")});var e=this,a=e.Config.fileBasePath+"/h5/hybrid/html/scanbox.html";this.setData({url:a}),null==e.cTimer&&(e.cTimer=setInterval((function(){i&&(e.notice.postNotificationName("ScanCode",i),clearInterval(e.cTimer),e.cTimer=null,i=null,t.navigateBack())}),1e3))},onUnload:function(){this.notice.removeNotification("ScanCode",this)},methods:{handleMessage:function(t){this.notice.postNotificationName("ScanCode",t.detail.data)}}};n.default=o}).call(this,e("df3c")["default"])},e7e8:function(t,n,e){"use strict";var a=e("8633"),i=e.n(a);i.a}},[["753c","common/runtime","common/vendor"]]]);