(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-bbc89b1e"],{"57b2":function(t,e,s){t.exports=s.p+"img/avatar-woman.d15a79f8.png"},"76f3":function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"record-item",on:{click:function(e){return t.handleClick(t.item)}}},[s("div",{staticClass:"item-header"},[s("span",{staticClass:"order-id"},[t._v("订单号："+t._s(t.item.parent_order_no))]),s("span",{staticClass:"status-text",class:t.getStatusClass(t.item.status)},[t._v(t._s(t.getStatusText(t.item.status)))])]),s("div",{staticClass:"item-content flex-direction-row"},[s("div",{staticClass:"product-info flex-1"},[s("div",{staticClass:"product-name flex-direction-row mb13"},[s("span",{staticClass:"name-text"},[t._v(t._s(t.item.product_name))]),s("span",{staticClass:"group-tag fs0 ml5"},[t._v(t._s(t.item.group_num)+"人团")])]),s("div",{staticClass:"status-info"},[1==t.item.status?s("span",{staticClass:"tag tag-danger"},[t._v("差"+t._s(Number(t.item.group_num)-Number(t.item.sale_num))+"人成团")]):2==t.item.status?s("span",{staticClass:"tag tag-success"},[t._v("已拼成")]):s("span",{staticClass:"tag tag-default"},[t._v("未拼成")])])]),s("div",{staticClass:"price-info ml5"},[s("div",{staticClass:"price"},[t._v(t._s(t.item.price))]),s("div",{staticClass:"price-label"},[t._v("成团价")])])]),s("div",{staticClass:"item-footer flex-direction-row flex-align-center"},[1===t.item.status?s("div",{staticClass:"time-info"},[t._v(t._s(t.item.close_time||t.getTimeDifference(t.item.close_time).timeInfo)+"内未拼成自动退款")]):s("div",{staticClass:"time-info"},[t._v("成团时间："+t._s(t.item.u_time||t.item.close_time))]),s("div",{staticClass:"action-btn ml13"},[1==t.item.status?s("button",{staticClass:"btn-invite",on:{click:function(e){return e.stopPropagation(),t.handleInvite.apply(null,arguments)}}},[t._v("邀请好友参团")]):2==t.item.status?s("button",{staticClass:"btn-reorder",on:{click:function(e){return e.stopPropagation(),t.handleReorder.apply(null,arguments)}}},[t._v("再来一单")]):t._e()])])])},i=[],n=(s("2397"),s("d4ec")),c=s("bee2"),r=s("99de"),o=s("7e84"),u=s("262e"),l=s("9ab4"),m=s("60a3"),d=s("73ec");function v(t,e,s){return e=Object(o["a"])(e),Object(r["a"])(t,f()?Reflect.construct(e,s||[],Object(o["a"])(t).constructor):e.apply(t,s))}function f(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(f=function(){return!!t})()}var p=function(t){function e(){var t;return Object(n["a"])(this,e),t=v(this,e,arguments),t.defaultAvatar=s("57b2"),t.getTimeDifference=d["e"],t}return Object(u["a"])(e,t),Object(c["a"])(e,[{key:"getStatusClass",value:function(t){var e={1:"status-ongoing",2:"status-success",3:"status-failed"};return e[t]||""}},{key:"getStatusText",value:function(t){var e={1:"拼团中",2:"已拼成",3:"未拼成"};return e[t]||""}},{key:"handleClick",value:function(t){this.$emit("detail",t)}},{key:"handleInvite",value:function(){this.$emit("invite",this.item)}},{key:"handleReorder",value:function(){this.$emit("reorder",this.item)}}])}(m["g"]);l["a"]([Object(m["d"])({required:!0})],p.prototype,"item",void 0),p=l["a"]([Object(m["a"])({name:"GroupBuyingRecordItem"})],p);var _=p,b=_,g=(s("7ab0"),s("2877")),C=Object(g["a"])(b,a,i,!1,null,"36b5c8d2",null);e["default"]=C.exports},"7ab0":function(t,e,s){"use strict";s("d9b8")},d9b8:function(t,e,s){}}]);
//# sourceMappingURL=chunk-bbc89b1e.980a301c.js.map