goodtail.js 3.1 KB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/nearshop/goodtail"],{"0b15":function(t,n,o){"use strict";o.r(n);var e=o("d40f"),a=o("5ab6");for(var u in a)"default"!==u&&function(t){o.d(n,t,function(){return a[t]})}(u);o("b15b");var i=o("2877"),c=Object(i["a"])(a["default"],e["a"],e["b"],!1,null,null,null);n["default"]=c.exports},"0e50":function(t,n,o){"use strict";(function(t){o("2679"),o("921b");e(o("66fd"));var n=e(o("0b15"));function e(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,o("6e42")["createPage"])},"29f7":function(t,n,o){},"330d":function(t,n,o){"use strict";o.r(n);var e=o("7f83");for(var a in e)"default"!==a&&function(t){o.d(n,t,function(){return e[t]})}(a);o("db39");var u,i,c=o("2877"),l=Object(c["a"])(e["default"],u,i,!1,null,null,null);n["default"]=l.exports},"559c":function(t,n,o){"use strict";(function(t,o){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={onLaunch:function(){console.log(t("App Launch"," at App.vue:4"))},onShow:function(){console.log(t("App Show"," at App.vue:7"))},post:function(n,e,a){var u=this,i=new Promise(function(i,c){var l=o.getStorageSync("token"),r={token:l||""};o.request({url:u.globalData.baseUrl+n,data:e,method:a,header:r,success:function(n){1==n.data.code?(console.log(t(8888," at App.vue:36")),i(n)):c(n.data)},fail:function(n){console.log(t(n," at App.vue:47")),c("网络出错"),wx.hideNavigationBarLoading()},complete:function(t){}})});return i},globalData:{userInfo:null,baseUrl:"http://zhongmian.w.brotop.cn/api/"},onHide:function(){console.log(t("App Hide"," at App.vue:66"))}};n.default=e}).call(this,o("0de9")["default"],o("6e42")["default"])},"5ab6":function(t,n,o){"use strict";o.r(n);var e=o("ec70"),a=o.n(e);for(var u in e)"default"!==u&&function(t){o.d(n,t,function(){return e[t]})}(u);n["default"]=a.a},"7f83":function(t,n,o){"use strict";o.r(n);var e=o("559c"),a=o.n(e);for(var u in e)"default"!==u&&function(t){o.d(n,t,function(){return e[t]})}(u);n["default"]=a.a},"95a4":function(t,n,o){},b15b:function(t,n,o){"use strict";var e=o("95a4"),a=o.n(e);a.a},d40f:function(t,n,o){"use strict";var e=function(){var t=this,n=t.$createElement;t._self._c},a=[];o.d(n,"a",function(){return e}),o.d(n,"b",function(){return a})},db39:function(t,n,o){"use strict";var e=o("29f7"),a=o.n(e);a.a},ec70:function(t,n,o){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=a(o("330d"));function a(t){return t&&t.__esModule?t:{default:t}}var u={data:function(){return{sel:2,shuwrap:!1,goodid:"",type:"",goodtail:"",tapnavactive:"",selnav:1}},onLoad:function(n){console.log(t(n," at pages\\nearshop\\goodtail.vue:225")),this.goodid=n.id,this.type=n.type,this.getgoodtail()},methods:{hideshu:function(){this.shuwrap=!1},navtap:function(t){this.selnav=t.currentTarget.dataset.id},getgoodtail:function(){var n=this,o="flour_goods/get_flour_goods_detail",a={flour_goods_id:n.goodid};e.default.post(o,a).then(function(o){console.log(t(o," at pages\\nearshop\\goodtail.vue:246")),n.goodtail=o.data.data}).catch(function(t){})}}};n.default=u}).call(this,o("0de9")["default"])}},[["0e50","common/runtime","common/vendor"]]]);