nearshop.js
3.0 KB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/nearshop/nearshop"],{"0d53":function(n,e,t){"use strict";(function(n){t("2679"),t("921b");a(t("66fd"));var e=a(t("f870"));function a(n){return n&&n.__esModule?n:{default:n}}n(e.default)}).call(this,t("6e42")["createPage"])},"29f7":function(n,e,t){},"330d":function(n,e,t){"use strict";t.r(e);var a=t("7f83");for(var o in a)"default"!==o&&function(n){t.d(e,n,function(){return a[n]})}(o);t("db39");var u,r,f=t("2877"),c=Object(f["a"])(a["default"],u,r,!1,null,null,null);e["default"]=c.exports},"4ae2":function(n,e,t){"use strict";t.r(e);var a=t("79be"),o=t.n(a);for(var u in a)"default"!==u&&function(n){t.d(e,n,function(){return a[n]})}(u);e["default"]=o.a},"559c":function(n,e,t){"use strict";(function(n,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={onLaunch:function(){console.log(n("App Launch"," at App.vue:4"))},onShow:function(){console.log(n("App Show"," at App.vue:7"))},post:function(e,a,o){var u=this,r=new Promise(function(r,f){var c=t.getStorageSync("token"),l={token:c||""};t.request({url:u.globalData.baseUrl+e,data:a,method:o,header:l,success:function(e){1==e.data.code?(console.log(n(8888," at App.vue:36")),r(e)):f(e.data)},fail:function(e){console.log(n(e," at App.vue:47")),f("网络出错"),wx.hideNavigationBarLoading()},complete:function(n){}})});return r},globalData:{userInfo:null,baseUrl:"http://zhongmian.w.brotop.cn/api/"},onHide:function(){console.log(n("App Hide"," at App.vue:66"))}};e.default=a}).call(this,t("0de9")["default"],t("6e42")["default"])},"79be":function(n,e,t){"use strict";(function(n,a){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;o(t("330d"));function o(n){return n&&n.__esModule?n:{default:n}}var u={data:function(){return{showbanben:!1,footersel:2}},onLoad:function(){},methods:{selnav:function(e){console.log(n(e," at pages\\nearshop\\nearshop.vue:158"));var t=e.currentTarget.dataset.id;console.log(n(t," at pages\\nearshop\\nearshop.vue:161")),1==t?a.navigateTo({url:"../homepage/homepage"}):2==t?a.navigateTo({url:"../nearshop/nearshop"}):3==t?a.navigateTo({url:"../luntan/luntan"}):4==t&&a.navigateTo({url:"../usercenter/my"})}}};e.default=u}).call(this,t("0de9")["default"],t("6e42")["default"])},"7f83":function(n,e,t){"use strict";t.r(e);var a=t("559c"),o=t.n(a);for(var u in a)"default"!==u&&function(n){t.d(e,n,function(){return a[n]})}(u);e["default"]=o.a},"8fda":function(n,e,t){"use strict";var a=function(){var n=this,e=n.$createElement;n._self._c},o=[];t.d(e,"a",function(){return a}),t.d(e,"b",function(){return o})},db39:function(n,e,t){"use strict";var a=t("29f7"),o=t.n(a);o.a},eefc:function(n,e,t){"use strict";var a=t("f20f"),o=t.n(a);o.a},f20f:function(n,e,t){},f870:function(n,e,t){"use strict";t.r(e);var a=t("8fda"),o=t("4ae2");for(var u in o)"default"!==u&&function(n){t.d(e,n,function(){return o[n]})}(u);t("eefc");var r=t("2877"),f=Object(r["a"])(o["default"],a["a"],a["b"],!1,null,null,null);e["default"]=f.exports}},[["0d53","common/runtime","common/vendor"]]]);