(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/shop/yhqDetail"],{"21ba":function(n,e,u){"use strict";u.r(e);var t=u("b806"),o=u.n(t);for(var a in t)"default"!==a&&function(n){u.d(e,n,(function(){return t[n]}))}(a);e["default"]=o.a},5303:function(n,e,u){"use strict";u.d(e,"b",(function(){return o})),u.d(e,"c",(function(){return a})),u.d(e,"a",(function(){return t}));var t={uniPopup:function(){return u.e("components/uni-popup/uni-popup").then(u.bind(null,"59ca"))}},o=function(){var n=this,e=n.$createElement;n._self._c;n._isMounted||(n.e0=function(e){!n.buying&&n.buy()})},a=[]},"7ba1":function(n,e,u){"use strict";(function(n){u("4c14");t(u("66fd"));var e=t(u("82a4"));function t(n){return n&&n.__esModule?n:{default:n}}wx.__webpack_require_UNI_MP_PLUGIN__=u,n(e.default)}).call(this,u("543d")["createPage"])},"82a4":function(n,e,u){"use strict";u.r(e);var t=u("5303"),o=u("21ba");for(var a in o)"default"!==a&&function(n){u.d(e,n,(function(){return o[n]}))}(a);u("d119");var i,c=u("f0c5"),r=Object(c["a"])(o["default"],t["b"],t["c"],!1,null,null,null,!1,t["a"],i);e["default"]=r.exports},b806:function(n,e,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=function(){u.e("components/add-number").then(function(){return resolve(u("32c6"))}.bind(null,u)).catch(u.oe)},o={components:{addNumber:t},data:function(){return{goodsNumberMax:999,buyNum:1,payType:1,buying:!1,payName:"weixin"}},onLoad:function(){},onShow:function(){},onReachBottom:function(){},onReady:function(){},methods:{buyNow:function(){var n=this;n.$refs.buyNumPopup.open()},numberChange:function(n){this.buyNum=n.number},buyNumClose:function(){var n=this;n.$refs.buyNumPopup.close()},openPay:function(){var n=this;n.$refs.buyNumPopup.close(),n.$refs.popup.open()},closePay:function(){var n=this;n.$refs.popup.close()},changePayType:function(n){this.payType=n,1==this.payType&&(this.payName="weixin"),2==this.payType&&(this.payName="ali"),3==this.payType&&(this.payName="yue"),4==this.payType&&(this.payName="pink_integral"),5==this.payType&&(this.payName="cash")},buy:function(){var n=this;if(0==n.payType)return n.$api.msg("请选择支付方式");n.buying||(n.buying=!0,n.closePay())}}};e.default=o},d119:function(n,e,u){"use strict";var t=u("de65"),o=u.n(t);o.a},de65:function(n,e,u){}},[["7ba1","common/runtime","common/vendor"]]]);