dggzichahu/public/mobile/static/js/pages-bundle-user_group-use...

1 line
32 KiB
JavaScript
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-bundle-user_group-user_group"],{"01fb7":function(t,e,i){"use strict";var n=i("34c0"),a=i.n(n);a.a},"0356":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,".loading-footer[data-v-1b4a51d1]{padding:%?30?% 0;color:#666}",""]),t.exports=e},"06fa":function(t,e,i){"use strict";var n=i("4ea4");i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("96cf");var a=n(i("1da1")),o=i("7b61"),r=i("1f2b"),s=i("36eb"),u={data:function(){return{page:1,groupList:[],status:o.loadingType.LOADING}},props:{groupType:{type:Number}},created:function(){},beforeMount:function(){this.getUserGroupFun()},destroyed:function(){},methods:{reflesh:function(){this.page=1,this.groupList=[],this.status=o.loadingType.LOADING,this.getUserGroupFun()},reload:function(){this.status=o.loadingType.LOADING,this.getUserGroupFun()},getUserGroupFun:function(){var t=this;return(0,a.default)(regeneratorRuntime.mark((function e(){var i,n,a,o,u;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=t.page,n=t.groupType,a=t.groupList,o=t.status,e.next=3,(0,r.loadingFun)(s.getUserGroup,i,a,o,{status:n});case 3:if(u=e.sent,u){e.next=6;break}return e.abrupt("return");case 6:t.page=u.page,t.groupList=u.dataList,t.status=u.status;case 9:case"end":return e.stop()}}),e)})))()}},computed:{getGroupStatus:function(){return function(t){var e="";switch(t){case 0:e="拼团中";break;case 1:e="拼团成功";break;case 2:e="拼团失败";break}return e}},getTeamCountTime:function(){return function(t){return t.count_time=Math.min(t.found_end_time,t.end_time)-Date.now()/1e3}}}};e.default=u},"16a3":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={tabs:i("8e86").default,tab:i("a052").default,groupList:i("7468").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"user-group"},[i("tabs",{attrs:{active:t.active},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeShow.apply(void 0,arguments)}}},t._l(t.group,(function(e,n){return i("tab",{key:n,attrs:{title:e.name}},[e.isShow?i("group-list",{ref:"group"+e.type,refInFor:!0,attrs:{"group-type":e.type}}):t._e()],1)})),1)],1)},o=[]},"239a":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.u-countdown[data-v-d47f9d56]{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.u-countdown-item[data-v-d47f9d56]{\ndisplay:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;\n-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;padding:%?2?%;border-radius:%?6?%;white-space:nowrap;-webkit-transform:translateZ(0);transform:translateZ(0)}.u-countdown-time[data-v-d47f9d56]{margin:0;padding:0}.u-countdown-colon[data-v-d47f9d56]{\ndisplay:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;\n-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;padding:0 %?5?%;line-height:1;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding-bottom:%?4?%}.u-countdown-scale[data-v-d47f9d56]{-webkit-transform:scale(.9);transform:scale(.9);-webkit-transform-origin:center center;transform-origin:center center}',""]),t.exports=e},2925:function(t,e,i){"use strict";i("4160"),i("d81d"),i("a9e3"),i("ac1f"),i("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"tabs",props:{active:{type:Number,default:0},config:{type:Object,default:function(){return{}}}},provide:function(){return{tabs:this}},data:function(){return{tabList:[],tagIndex:0,slider:{left:0,width:0,scrollLeft:0},scorll:{},defaultConfig:{bgColor:"#fff",fontSize:26,color:"#333",activeColor:"#FF2C3C",itemWidth:0,underLinePadding:10,underLineWidth:0,underLineHeight:4,underLineColor:"#FF2C3C"}}},watch:{},created:function(){this.childrens=[]},mounted:function(){this.updateTabs()},methods:{updateTabs:function(){var t=this;this.tabList=this.childrens.map((function(t){var e=t.title,i=t.info,n=t.name,a=t.dot,o=t.titleStyle,r=t.active,s=t.updateRender;return{title:e,info:i,name:n,dot:a,titleStyle:o,active:r,updateRender:s}})),this.updateConfig(),this.tagIndex=this.active,this.$nextTick((function(){t.calcScrollPosition()}))},updateConfig:function(){this.defaultConfig=Object.assign(this.defaultConfig,this.config)},calcScrollPosition:function(){var t=this,e=uni.createSelectorQuery().in(this);e.select("#_scroll").boundingClientRect((function(e){t.scorll=e,t.updateTabWidth()})).exec()},updateTabWidth:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=this.tabList;if(0==i.length)return!1;var n=uni.createSelectorQuery().in(this);n.select("#_tab_"+e).boundingClientRect((function(n){i[e]._slider={width:n.width,left:n.left,scrollLeft:n.left-(i[e-1]?i[e-1]._slider.width:0)},t.tagIndex==e&&t.tabToIndex(t.tagIndex),e++,i.length>e&&t.updateTabWidth(e)})).exec()},tabToIndex:function(t){var e=this,i=this.tabList[t]._slider,n=uni.upx2px(this.defaultConfig.underLineWidth);n||(n=this.defaultConfig.itemWidth?uni.upx2px(this.defaultConfig.itemWidth)/3:this.tabList[t]["title"].length*uni.upx2px(this.defaultConfig.fontSize),n+=2*uni.upx2px(this.defaultConfig.underLinePadding)),this.childrens.forEach((function(i,n){var a=n===t;a===i.active&&i.inited||i.updateRender(a,e)}));var a=this.scorll.left||0;this.slider={left:i.left-a+(i.width-n)/2,width:n,scrollLeft:i.scrollLeft-a}},tabClick:function(t){this.tagIndex=t,this.tabToIndex(t),this.$emit("change",t)}}};e.default=n},"2eba":function(t,e,i){"use strict";i.r(e);var n=i("2925"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},"30fc":function(t,e,i){var n=i("eedf");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("5443a737",n,!0,{sourceMap:!1,shadowMode:!1})},"34c0":function(t,e,i){var n=i("0356");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("16e454e4",n,!0,{sourceMap:!1,shadowMode:!1})},"361a":function(t,e,i){"use strict";i.r(e);var n=i("f5b0"),a=i("3967");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("68f5");var r,s=i("f0c5"),u=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"d47f9d56",null,!1,n["a"],r);e["default"]=u.exports},"36eb":function(t,e,i){"use strict";var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getGoodsCoupon=o,e.getCouponList=r,e.getActivityGoodsLists=s,e.getSeckillTime=u,e.getSeckillGoods=l,e.getGroupList=c,e.getUserGroup=d,e.getTeamInfo=f,e.teamCheck=p,e.teamBuy=h,e.getBargainList=v,e.getBargainDetail=g,e.getBargainNumber=b,e.launchBargain=m,e.getBargainActivityList=w,e.getBargainActivityDetail=_,e.getBargainPost=y,e.helpBargain=x,e.closeBargainOrder=k;var a=n(i("3522"));i("1f2b");function o(t){return a.default.get("coupon/getGoodsCoupon",{params:t})}function r(t){return a.default.get("coupon/couponList",{params:t})}function s(t){return a.default.get("activity_area/activityGoodsList",{params:t})}function u(){return a.default.get("seckill/seckillTime")}function l(t){return a.default.get("seckill/seckillGoods",{params:t})}function c(t){return a.default.get("team/teamGoodsList",{params:t})}function d(t){return a.default.get("user/myTeam",{params:t})}function f(t){return a.default.get("team/teamInfo",{params:t})}function p(t){return a.default.post("team/check",t)}function h(t){return a.default.post("team/buy",t)}function v(t){return a.default.get("bargain/lists",{params:t})}function g(t){return a.default.get("bargain/detail",{params:t})}function b(){return a.default.get("bargain/barginNumber")}function m(t){return a.default.post("bargain/sponsor",t)}function w(t){return a.default.get("bargain/orderList",{params:t})}function _(t){return a.default.get("bargain/bargainDetail",{params:t})}function y(t){return a.default.get("share/shareBargain",{params:t})}function x(t){return a.default.post("bargain/knife",t)}function k(t){return a.default.get("bargain/closeBargain",{params:t})}},3919:function(t,e,i){"use strict";var n=i("4ff5"),a=i.n(n);a.a},3967:function(t,e,i){"use strict";i.r(e);var n=i("7f7a"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},"3bb5":function(t,e,i){"use strict";i.r(e);var n=i("4c77"),a=i("b46e");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("3919");var r,s=i("f0c5"),u=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"49a28488",null,!1,n["a"],r);e["default"]=u.exports},"45c7":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */._tab-box[data-v-cdec5c42]{width:100%;font-size:%?26?%;position:relative;z-index:10}._tab-box .scroll-view-h[data-v-cdec5c42]{height:%?80?%;line-height:%?80?%;white-space:nowrap;width:100%;box-sizing:border-box}._tab-box .scroll-view-h ._scroll-content[data-v-cdec5c42]{width:100%;height:100%;position:relative;display:inline-block}._tab-box .scroll-view-h ._scroll-content ._tab-item-box[data-v-cdec5c42]{height:100%;display:inline-block}._tab-box .scroll-view-h ._scroll-content ._tab-item-box._flex[data-v-cdec5c42]{display:-webkit-box;display:-webkit-flex;display:flex}._tab-box .scroll-view-h ._scroll-content ._tab-item-box._flex ._item[data-v-cdec5c42]{-webkit-box-flex:1;-webkit-flex:1;flex:1}._tab-box .scroll-view-h ._scroll-content ._tab-item-box._clamp ._item[data-v-cdec5c42]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._tab-box .scroll-view-h ._scroll-content ._tab-item-box ._item[data-v-cdec5c42]{height:100%;display:inline-block;text-align:center;position:relative;text-align:center;color:#333}._tab-box .scroll-view-h ._scroll-content ._tab-item-box ._item._active[data-v-cdec5c42]{color:#e54d42}._tab-box .scroll-view-h ._scroll-content ._underline[data-v-cdec5c42]{height:%?4?%;background-color:#e54d42;border-radius:%?6?%;-webkit-transition:-webkit-transform .5s;transition:-webkit-transform .5s;transition:transform .5s;transition:transform .5s,-webkit-transform .5s;position:absolute;bottom:0}',""]),t.exports=e},"49f5":function(t,e,i){"use strict";i.r(e);var n=i("06fa"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},"4a67":function(t,e,i){var n=i("45c7");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("90aed8f0",n,!0,{sourceMap:!1,shadowMode:!1})},"4c77":function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{class:"loading "+(t.vertical?"loading--vertical":"")},[i("v-uni-view",{class:"loading__spinner loading__spinner--"+t.type,style:{color:t.color,width:t.size+"rpx",height:t.size+"rpx"}},t._l(t.array12,(function(e,n){return"spinner"===t.type?i("v-uni-view",{key:n,staticClass:"loading__dot"}):t._e()})),1),i("v-uni-view",{staticClass:"loading__text",style:{"font-size":t.textSize+"rpx",color:t.color}},[t._t("default")],2)],1)},o=[]},"4ff5":function(t,e,i){var n=i("ee14");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("d9ec8f9a",n,!0,{sourceMap:!1,shadowMode:!1})},"5f5f":function(t,e,i){"use strict";i.r(e);var n=i("e621"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},6092:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"_tab-box",style:{fontSize:t.defaultConfig.fontSize+"rpx",color:t.defaultConfig.color}},[i("v-uni-scroll-view",{staticClass:"scroll-view-h",style:{backgroundColor:t.defaultConfig.bgColor},attrs:{id:"_scroll","scroll-x":!0,"scroll-with-animation":!0,"scroll-left":t.slider.scrollLeft}},[i("v-uni-view",{staticClass:"_scroll-content"},[i("v-uni-view",{staticClass:"_tab-item-box",class:[t.defaultConfig.itemWidth?"_clamp":"_flex"]},[t._l(t.tabList,(function(e,n){return[i("v-uni-view",{key:n+"_0",staticClass:"_item",class:{_active:t.tagIndex===n},style:{color:t.tagIndex==n?t.defaultConfig.activeColor:t.defaultConfig.color,width:t.defaultConfig.itemWidth?t.defaultConfig.itemWidth+"rpx":""},attrs:{id:"_tab_"+n},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tabClick(n)}}},[t._v(t._s(e.title))])]}))],2),i("v-uni-view",{staticClass:"_underline",style:{transform:"translateX("+t.slider.left+"px)",width:t.slider.width+"px",height:t.defaultConfig.underLineHeight+"rpx",backgroundColor:t.defaultConfig.underLineColor}})],1)],1),i("v-uni-view",{staticClass:"tab-content"},[i("v-uni-view",[t._t("default")],2)],1)],1)},o=[]},"68f5":function(t,e,i){"use strict";var n=i("b921"),a=i.n(n);a.a},7468:function(t,e,i){"use strict";i.r(e);var n=i("c33c"),a=i("49f5");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("f41b");var r,s=i("f0c5"),u=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"37fa76e1",null,!1,n["a"],r);e["default"]=u.exports},"77ce":function(t,e,i){var n=i("9f24");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("075e4c46",n,!0,{sourceMap:!1,shadowMode:!1})},"7de5":function(t,e,i){"use strict";i.r(e);var n=i("16a3"),a=i("baf8");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);var r,s=i("f0c5"),u=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"41ca39fc",null,!1,n["a"],r);e["default"]=u.exports},"7f7a":function(t,e,i){"use strict";i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"u-count-down",props:{timestamp:{type:[Number,String],default:0},autoplay:{type:Boolean,default:!0},separator:{type:String,default:"colon"},separatorSize:{type:[Number,String],default:30},separatorColor:{type:String,default:"#303133"},color:{type:String,default:"#303133"},fontSize:{type:[Number,String],default:30},bgColor:{type:String,default:"#fff"},height:{type:[Number,String],default:"auto"},showBorder:{type:Boolean,default:!1},borderColor:{type:String,default:"#303133"},showSeconds:{type:Boolean,default:!0},showMinutes:{type:Boolean,default:!0},showHours:{type:Boolean,default:!0},showDays:{type:Boolean,default:!0},hideZeroDay:{type:Boolean,default:!1}},watch:{timestamp:function(t,e){this.clearTimer(),this.start()}},data:function(){return{d:"00",h:"00",i:"00",s:"00",timer:null,seconds:0}},computed:{itemStyle:function(){var t={};return this.height&&(t.height=this.height+"rpx",t.width=this.height+"rpx"),this.showBorder&&(t.borderStyle="solid",t.borderColor=this.borderColor,t.borderWidth="1px"),this.bgColor&&(t.backgroundColor=this.bgColor),t},letterStyle:function(){var t={};return this.fontSize&&(t.fontSize=this.fontSize+"rpx"),this.color&&(t.color=this.color),t}},mounted:function(){this.autoplay&&this.timestamp&&this.start()},methods:{start:function(){var t=this;this.clearTimer(),this.timestamp<=0||(this.seconds=Number(this.timestamp),this.formatTime(this.seconds),this.timer=setInterval((function(){if(t.seconds--,t.$emit("change",t.seconds),t.seconds<0)return t.end();t.formatTime(t.seconds)}),1e3))},formatTime:function(t){t<=0&&this.end();var e=0,i=0,n=0,a=0;e=Math.floor(t/86400),i=Math.floor(t/3600)-24*e;var o=null;o=this.showDays?i:Math.floor(t/3600),n=Math.floor(t/60)-60*i-24*e*60,a=Math.floor(t)-24*e*60*60-60*i*60-60*n,o=o<10?"0"+o:o,n=n<10?"0"+n:n,a=a<10?"0"+a:a,e=e<10?"0"+e:e,this.d=e,this.h=o,this.i=n,this.s=a},end:function(){this.clearTimer(),this.$emit("end",{})},reset:function(){this.clearTimer(),this.seconds=Number(this.timestamp),this.s=this.timestamp,console.log(this.s)},clearTimer:function(){this.timer&&(clearInterval(this.timer),this.timer=null)}},beforeDestroy:function(){clearInterval(this.timer),this.timer=null}};e.default=n},8778:function(t,e,i){"use strict";i.r(e);var n=i("c45b"),a=i("f8e0");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("01fb7");var r,s=i("f0c5"),u=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"1b4a51d1",null,!1,n["a"],r);e["default"]=u.exports},"8cb5":function(t,e,i){"use strict";var n=i("77ce"),a=i.n(n);a.a},"8e86":function(t,e,i){"use strict";i.r(e);var n=i("6092"),a=i("2eba");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("ab93");var r,s=i("f0c5"),u=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"cdec5c42",null,!1,n["a"],r);e["default"]=u.exports},"9f24":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,".tab.active[data-v-328c42bf]{height:auto}.tab.inactive[data-v-328c42bf]{height:0;overflow:visible}",""]),t.exports=e},a052:function(t,e,i){"use strict";i.r(e);var n=i("e766"),a=i("5f5f");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("8cb5");var r,s=i("f0c5"),u=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"328c42bf",null,!1,n["a"],r);e["default"]=u.exports},ab93:function(t,e,i){"use strict";var n=i("4a67"),a=i.n(n);a.a},b46e:function(t,e,i){"use strict";i.r(e);var n=i("bb62"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},b921:function(t,e,i){var n=i("239a");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("6a7893de",n,!0,{sourceMap:!1,shadowMode:!1})},baf8:function(t,e,i){"use strict";i.r(e);var n=i("e2d2"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},bb62:function(t,e,i){"use strict";i("a630"),i("a9e3"),i("3ca3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{color:String,vertical:Boolean,type:{type:String,default:"spinner"},size:{type:Number,default:40},textSize:String},data:function(){return{array12:Array.from({length:12})}}};e.default=n},c33c:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={uCountDown:i("361a").default,orderGoods:i("80a0").default,priceFormat:i("39d7").default,loadingFooter:i("8778").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"group-list"},[t._l(t.groupList,(function(e,n){return i("v-uni-navigator",{key:n,staticClass:"item bg-white mt20",attrs:{"hover-class":"none",url:"/pages/order_details/order_details?id="+e.order_id}},[i("v-uni-view",{staticClass:"group-header row-between"},[i("v-uni-view",[e.team_end_time?i("v-uni-view",[t._v(t._s(e.team_end_time))]):i("v-uni-view",[t.getTeamCountTime(e)>=0?i("v-uni-view",{staticClass:"row"},[i("v-uni-view",{staticClass:"sm mr10"},[t._v("距离结束")]),i("u-count-down",{attrs:{timestamp:t.getTeamCountTime(e),color:"#fff","bg-color":"#FF2C3C","separator-color":"#FF2C3C","font-size":"24",height:"36","separator-size":"26"},on:{end:function(e){arguments[0]=e=t.$handleEvent(e),t.reflesh.apply(void 0,arguments)}}})],1):t._e()],1)],1),i("v-uni-view",{class:2==e.status?"muted":"primary"},[t._v(t._s(t.getGroupStatus(e.status)))])],1),i("v-uni-view",{staticClass:"group-con"},[e.type?i("v-uni-view",{staticClass:"team-chief xs white"},[t._v("团长")]):t._e(),i("order-goods",{attrs:{team:{need:e.need},list:[{name:e.name,spec_value_str:e.spec_value_str,image:e.spec_image,goods_num:e.total_num,goods_id:e.goods_id,goods_price:e.goods_price}]}}),i("v-uni-view",{staticClass:"all-price row-end"},[i("v-uni-text",{staticClass:"muted xs"},[t._v("共"+t._s(e.total_num)+"件商品,总金额:")]),i("price-format",{attrs:{"show-subscript":!0,"subscript-size":30,"first-size":30,"second-size":30,price:e.order_amount}})],1)],1),0==e.pay_status?i("v-uni-view",{staticClass:"group-footer row"},[i("v-uni-view",{staticStyle:{flex:"1"}}),i("v-uni-view",[0==e.pay_status?i("v-uni-navigator",{attrs:{"hover-class":"none",url:"/pages/order_details/order_details?id="+e.order_id}},[i("v-uni-button",{staticClass:"br60 lighter btn",attrs:{size:"sm",type:"primary","hover-class":"none"}},[t._v("去付款")])],1):t._e()],1)],1):t._e()],1)})),i("loading-footer",{attrs:{status:t.status,"slot-empty":!0},on:{refresh:function(e){arguments[0]=e=t.$handleEvent(e),t.reload.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"column-center",staticStyle:{"padding-top":"200rpx"},attrs:{slot:"empty"},slot:"empty"},[i("v-uni-image",{staticClass:"img-null",attrs:{src:"/static/images/goods_null.png"}}),i("v-uni-text",{staticClass:"lighter"},[t._v("暂无拼团")])],1)],1)],2)},o=[]},c45b:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={loading:i("3bb5").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"loading-footer row-center",style:"color: "+t.color},["loading"===t.status?i("v-uni-view",{staticClass:"loading row"},[i("loading",{staticClass:"mr20",attrs:{color:t.color}}),i("v-uni-text",{style:"color: "+t.color},[t._v(t._s(t.loadingText))])],1):t._e(),"finished"===t.status?i("v-uni-view",{staticClass:"finished"},[t._v(t._s(t.finishedText))]):t._e(),"error"===t.status?i("v-uni-view",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onRefresh.apply(void 0,arguments)}}},[t._v(t._s(t.errorText))]):t._e(),"empty"===t.status?i("v-uni-view",{staticClass:"empty"},[t.slotEmpty?t._t("empty"):i("v-uni-text",[t._v("暂无数据")])],2):t._e()],1)},o=[]},dc07:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{}},components:{},props:{status:{type:String,default:"loading"},errorText:{type:String,default:"加载失败,点击重新加载"},loadingText:{type:String,default:"加载中..."},finishedText:{type:String,default:"我可是有底线的~"},slotEmpty:{type:Boolean,default:!1},color:{type:String,default:"#666"}},methods:{onRefresh:function(){this.$emit("refresh")}}};e.default=n},e2d2:function(t,e,i){"use strict";i("c740"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("7b61"),a={data:function(){return{active:"",typeStr:"",group:[{name:"全部",type:n.groupType.ALL,isShow:!1},{name:"拼团中",type:n.groupType.PROGESS,isShow:!1},{name:"拼团成功",type:n.groupType.SUCCESS,isShow:!1},{name:"拼团失败",type:n.groupType.FAIL,isShow:!1}]}},onLoad:function(t){var e=this.group,i=t.type||n.groupType.ALL,a=e.findIndex((function(t){return t.type==i}));this.changeShow(a)},onPullDownRefresh:function(){var t=this.active,e=this.group;console.log(this.$refs["group"+e[t].type]),this.$refs["group"+e[t].type][0].reflesh()},onReachBottom:function(){var t=this.active,e=this.group;console.log(this.$refs["group"+e[t].type]),this.$refs["group"+e[t].type][0].getUserGroupFun()},methods:{changeShow:function(t){-1!=t&&(this.active=t,this.group[t].isShow=!0)}}};e.default=a},e621:function(t,e,i){"use strict";i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{dot:{type:Boolean},info:{type:null},title:{type:String},titleStyle:{type:String},name:{type:[Number,String],value:""}},inject:["tabs"],data:function(){return{active:!1,shouldShow:!1,shouldRender:!1}},created:function(){this.tabs.childrens.push(this)},mounted:function(){this.update()},methods:{getComputedName:function(){return""!==this.data.name?this.data.name:this.index},updateRender:function(t,e){this.inited=this.inited||t,this.active=t,this.shouldRender=this.inited,this.shouldShow=t},update:function(){this.tabs&&this.tabs.updateTabs()}},computed:{changeData:function(){var t=this.dot,e=this.info,i=this.title,n=this.titleStyle;return{dot:t,info:e,title:i,titleStyle:n}}},watch:{changeData:function(t){this.update()}}};e.default=n},e766:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{class:{active:t.active,inactive:!t.active,tab:!0},style:t.shouldShow?"":"display: none;"},[t.shouldRender?t._t("default"):t._e()],2)},o=[]},ee14:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'[data-v-49a28488]:host{font-size:0;line-height:1}.loading[data-v-49a28488]{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;color:#c8c9cc}.loading__spinner[data-v-49a28488]{position:relative;box-sizing:border-box;width:%?45?%;max-width:100%;max-height:100%;height:%?45?%;-webkit-animation:rotate-data-v-49a28488 .8s linear infinite;animation:rotate-data-v-49a28488 .8s linear infinite}.loading__spinner--spinner[data-v-49a28488]{-webkit-animation-timing-function:steps(12);animation-timing-function:steps(12)}.loading__spinner--circular[data-v-49a28488]{border:%?2?% solid transparent;border-top-color:initial;border-radius:100%}.loading__text[data-v-49a28488]{margin-left:%?16?%;color:#969799;font-size:%?28?%;line-height:%?40?%}.loading__text[data-v-49a28488]:empty{display:none}.loading--vertical[data-v-49a28488]{-webkit-flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.loading--vertical .loading__text[data-v-49a28488]{margin:%?16?% 0 0}.loading__dot[data-v-49a28488]{position:absolute;top:0;left:0;width:100%;height:100%}.loading__dot[data-v-49a28488]:before{display:block;width:%?4?%;height:25%;margin:0 auto;background-color:currentColor;border-radius:40%;content:" "}.loading__dot[data-v-49a28488]:first-of-type{-webkit-transform:rotate(30deg);transform:rotate(30deg);opacity:1}.loading__dot[data-v-49a28488]:nth-of-type(2){-webkit-transform:rotate(60deg);transform:rotate(60deg);opacity:.9375}.loading__dot[data-v-49a28488]:nth-of-type(3){-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:.875}.loading__dot[data-v-49a28488]:nth-of-type(4){-webkit-transform:rotate(120deg);transform:rotate(120deg);opacity:.8125}.loading__dot[data-v-49a28488]:nth-of-type(5){-webkit-transform:rotate(150deg);transform:rotate(150deg);opacity:.75}.loading__dot[data-v-49a28488]:nth-of-type(6){-webkit-transform:rotate(180deg);transform:rotate(180deg);opacity:.6875}.loading__dot[data-v-49a28488]:nth-of-type(7){-webkit-transform:rotate(210deg);transform:rotate(210deg);opacity:.625}.loading__dot[data-v-49a28488]:nth-of-type(8){-webkit-transform:rotate(240deg);transform:rotate(240deg);opacity:.5625}.loading__dot[data-v-49a28488]:nth-of-type(9){-webkit-transform:rotate(270deg);transform:rotate(270deg);opacity:.5}.loading__dot[data-v-49a28488]:nth-of-type(10){-webkit-transform:rotate(300deg);transform:rotate(300deg);opacity:.4375}.loading__dot[data-v-49a28488]:nth-of-type(11){-webkit-transform:rotate(330deg);transform:rotate(330deg);opacity:.375}.loading__dot[data-v-49a28488]:nth-of-type(12){-webkit-transform:rotate(1turn);transform:rotate(1turn);opacity:.3125}@-webkit-keyframes rotate-data-v-49a28488{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotate-data-v-49a28488{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}',""]),t.exports=e},eedf:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.group-list[data-v-37fa76e1]{min-height:calc(100vh - %?80?%);padding:0 %?20?%;overflow:hidden}.group-list .item[data-v-37fa76e1]{border-radius:%?10?%;position:relative}.group-list .item .group-header[data-v-37fa76e1]{height:%?80?%;padding:0 %?24?%;border-bottom:1px dotted #e5e5e5}.group-list .item .team-chief[data-v-37fa76e1]{position:absolute;z-index:100;top:%?105?%;padding:%?4?% %?20?%;border-radius:0 %?60?% %?60?% 0;background:-webkit-linear-gradient(3deg,#f95f2f,#ff2c3c);background:linear-gradient(87deg,#f95f2f,#ff2c3c)}.group-list .item .all-price[data-v-37fa76e1]{text-align:right;padding:0 %?24?% %?20?%}.group-list .item .group-footer[data-v-37fa76e1]{height:%?100?%;border-top:1px solid #e5e5e5;padding:0 %?24?%}.group-list .item .group-footer .btn[data-v-37fa76e1]{width:%?244?%}',""]),t.exports=e},f41b:function(t,e,i){"use strict";var n=i("30fc"),a=i.n(n);a.a},f5b0:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"u-countdown"},[t.showDays&&(t.hideZeroDay||!t.hideZeroDay&&"00"!=t.d)?i("v-uni-view",{style:{fontSize:t.fontSize+"rpx"}},[t._v(t._s(t.d))]):t._e(),t.showDays&&(t.hideZeroDay||!t.hideZeroDay&&"00"!=t.d)?i("v-uni-view",{style:{fontSize:t.separatorSize+"rpx","margin-right":"6rpx"}},[t._v("天")]):t._e(),t.showHours?i("v-uni-view",{staticClass:"u-countdown-item",style:[t.itemStyle]},[i("v-uni-view",{staticClass:"u-countdown-time",style:{fontSize:t.fontSize+"rpx",color:t.color}},[t._v(t._s(t.h))])],1):t._e(),t.showHours?i("v-uni-view",{staticClass:"u-countdown-colon",style:{fontSize:t.separatorSize+"rpx",color:t.separatorColor,paddingBottom:"colon"==t.separator?"4rpx":0}},[t._v(t._s("colon"==t.separator?":":"时"))]):t._e(),t.showMinutes?i("v-uni-view",{staticClass:"u-countdown-item",style:[t.itemStyle]},[i("v-uni-view",{staticClass:"u-countdown-time",style:{fontSize:t.fontSize+"rpx",color:t.color}},[t._v(t._s(t.i))])],1):t._e(),t.showMinutes?i("v-uni-view",{staticClass:"u-countdown-colon",style:{fontSize:t.separatorSize+"rpx",color:t.separatorColor,paddingBottom:"colon"==t.separator?"4rpx":0}},[t._v(t._s("colon"==t.separator?":":"分"))]):t._e(),t.showSeconds?i("v-uni-view",{staticClass:"u-countdown-item",style:[t.itemStyle]},[i("v-uni-view",{staticClass:"u-countdown-time",style:{fontSize:t.fontSize+"rpx",color:t.color}},[t._v(t._s(t.s))])],1):t._e(),t.showSeconds&&"zh"==t.separator?i("v-uni-view",{staticClass:"u-countdown-colon",style:{fontSize:t.separatorSize+"rpx",color:t.separatorColor,paddingBottom:"colon"==t.separator?"4rpx":0}},[t._v("秒")]):t._e()],1)},o=[]},f8e0:function(t,e,i){"use strict";i.r(e);var n=i("dc07"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a}}]);