(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["plugins/pt/components/app-buttom-button"],{"48d9":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"app-bottom-button",props:{selectAttr:Object,selectGroupAttrId:{type:[String,Number]},is_alone_buy:{type:Number},pintuan_groups:{type:Array,default:function(){return[]}},level_show:{type:Number,default:function(){return 0}},group_min_member_price:{type:String,default:function(){return"0.00"}},group_price_min:{type:String,default:function(){return"0.00"}},price:{type:String,default:function(){return"0.00"}},price_member_min:{type:Number,default:function(){return 0}},pt:{type:Boolean},item:Object},data:function(){return{group_price:""}},mounted:function(){var t=this;this.$nextTick((function(){t.get_group()}))},methods:{turnOn:function(t){this.$emit("click",t)},get_group:function(){0===Object.keys(this.selectAttr).length?1===this.level_show?0===Number(this.group_min_member_price)?this.group_price="免费":this.group_price="¥".concat(this.group_min_member_price):0===Number(this.group_price_min)?this.group_price="免费":this.group_price="¥".concat(this.group_price_min):1===this.level_show?0===Number(this.selectAttr.price_member)?this.group_price="免费":this.group_price="¥".concat(this.selectAttr.price_member):0===Number(this.selectAttr.price)?this.group_price="免费":this.group_price="¥".concat(this.selectAttr.price)}},computed:{singlePrice:function(){if(console.log(this.pt),console.log(this.level_show),!this.pt){if(0===Object.keys(this.selectAttr).length){if(1===this.level_show){if(0===this.price_member_min)return"免费";var t=this.price_member_min;return"¥".concat(t.toFixed(2))}return 0===Number(this.price)?"免费":"¥".concat(this.price)}return 1===this.level_show?0===Number(this.selectAttr.price_member)?"免费":"¥".concat(this.selectAttr.price_member):0===Number(this.price)?"免费":"¥".concat(this.selectAttr.price)}},set_group_num:function(){for(var t=0;t