1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-product-groupBooking-index"],{"0501":function(t,a,e){"use strict";e.d(a,"b",(function(){return n})),e.d(a,"c",(function(){return o})),e.d(a,"a",(function(){return i}));var i={uniLoadMore:e("24b5").default},n=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("v-uni-view",{staticClass:"lyy-bg4"},[i("v-uni-view",{staticClass:"lyy-f-a"},[i("v-uni-view",{staticClass:"lyy-f-b lyy-flex"},t._l(t.goodsList,(function(a,n){return i("v-uni-view",{key:n,staticClass:"lyy-f-c item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goProduct(a)}}},[i("v-uni-view",{staticClass:"content"},[i("v-uni-view",[i("v-uni-image",{staticClass:"lyy-f-image",attrs:{src:a.image}})],1),i("v-uni-view",{staticClass:"lyy-f-word1 lyy-f-jl ellipsis"},[t._v(t._s(a.title))]),i("v-uni-view",{staticClass:"lyy-flex2"},[i("v-uni-view",{staticClass:"lyy-flex3"},[i("v-uni-view",{staticClass:"lyy-f-word2 lyy-f-jl"},[t._v("¥"+t._s(1*a.price))])],1),i("v-uni-view",{staticClass:"lyy-a-tu2 lyy-flex2"},[i("v-uni-view",{staticClass:"lyy-a-tu3"},[i("v-uni-image",{staticClass:"lyy-a-tu5",attrs:{src:e("8da0")}})],1),i("v-uni-view",{staticClass:"lyy-a-tu4"},[t._v(t._s(a.people)+"人拼")])],1)],1)],1)],1)})),1)],1),i("uni-load-more",{attrs:{status:t.loadingType}})],1)},o=[]},"0bc1":function(t,a,e){"use strict";e.r(a);var i=e("c0cc"),n=e.n(i);for(var o in i)"default"!==o&&function(t){e.d(a,t,(function(){return i[t]}))}(o);a["default"]=n.a},"24b5":function(t,a,e){"use strict";e.r(a);var i=e("92289"),n=e("0bc1");for(var o in n)"default"!==o&&function(t){e.d(a,t,(function(){return n[t]}))}(o);e("40fc");var l,d=e("f0c5"),r=Object(d["a"])(n["default"],i["b"],i["c"],!1,null,"c8f01f2e",null,!1,i["a"],l);a["default"]=r.exports},3278:function(t,a,e){var i=e("666a");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=e("4f06").default;n("d97c129c",i,!0,{sourceMap:!1,shadowMode:!1})},"334a":function(t,a,e){"use strict";var i=e("4ea4");e("99af"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0,e("96cf");var n=i(e("1da1")),o=i(e("24b5")),l=e("6468"),d={components:{uniLoadMore:o.default},data:function(){return{goodsList:[],loadingType:"more",limit:20,page:1}},onLoad:function(t){this.loadData()},onPullDownRefresh:function(){this.loadData("refresh")},onReachBottom:function(){this.loadData()},methods:{loadData:function(){var t=arguments,a=this;return(0,n.default)(regeneratorRuntime.mark((function e(){var i,n,o,d;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(i=t.length>0&&void 0!==t[0]?t[0]:"add",n=t.length>1?t[1]:void 0,o=a,d={page:o.page,limit:o.limit},"add"!==i){e.next=10;break}if("nomore"!==o.loadingType){e.next=7;break}return e.abrupt("return");case 7:o.loadingType="loading",e.next=11;break;case 10:o.loadingType="more";case 11:(0,l.getCombinationList)(d).then((function(t){"refresh"===i&&(o.goodsList=[]),o.goodsList=o.goodsList.concat(t.data),o.limit==t.data.length?(o.page++,o.loadingType="more"):o.loadingType="nomore","refresh"===i&&(1==n?uni.hideLoading():uni.stopPullDownRefresh())})).catch();case 12:case"end":return e.stop()}}),e)})))()},goProduct:function(t){uni.navigateTo({url:"/pages/product/groupBooking/productGroup?id="+t.id})}}};a.default=d},3624:function(t,a,e){var i=e("24fb");a=i(!1),a.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/uni-page-body[data-v-40b55b9c]{height:100%}.lyy-f-a[data-v-40b55b9c]{margin:0 15px}.lyy-f-a .lyy-flex[data-v-40b55b9c]{\n /* 内部模块1*/display:flex;justify-content:space-between}.lyy-f-a .lyy-f-b[data-v-40b55b9c]{flex-wrap:wrap}.lyy-f-a .lyy-f-b .lyy-f-c[data-v-40b55b9c]{flex:0 0 50%;\n /* width: 50%; */margin:10px 0 0 0}.lyy-f-a .lyy-f-b .item:nth-child(2n + 1) .content[data-v-40b55b9c]{margin:0 7.5px 0 0;border-radius:10px}.lyy-f-a .lyy-f-b .content[data-v-40b55b9c]{background-color:#fff}.lyy-f-a .lyy-f-b .content .lyy-f-image[data-v-40b55b9c]{width:100%;height:%?340?%;border-radius:%?10?% %?10?% %?0?% %?0?%}.lyy-f-a .lyy-f-b .content .ellipsis[data-v-40b55b9c]{width:165px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lyy-f-a .lyy-f-b .content .lyy-f-jl[data-v-40b55b9c]{padding:5px 7px}.lyy-f-a .lyy-f-b .content .lyy-f-word1[data-v-40b55b9c]{font-size:12px;color:#323232;line-height:20px;width:%?300?%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lyy-f-a .item:nth-child(2n) .content[data-v-40b55b9c]{margin:0 0 0 7.5px;border-radius:10px}.lyy-f-a .lyy-f-word3[data-v-40b55b9c]{font-size:12px;text-decoration:line-through;color:#8b8b8b}.lyy-f-a .lyy-f-word5[data-v-40b55b9c]{font-size:%?20?%;color:#999;margin:%?20?% 0 0 0}.lyy-f-a .lyy-f-word4[data-v-40b55b9c]{height:26px;background:#6fb22f;color:#fff;text-align:center}.lyy-f-a .lyy-f-d[data-v-40b55b9c]{height:%?24?%;border:1px solid #fc5b62;border-radius:3px;font-size:%?20?%;text-align:center;width:%?50?%;color:#fc5b62;margin:%?23?% %?0?% %?0?% %?0?%;line-height:%?24?%}.lyy-f-a .lyy-flex2[data-v-40b55b9c]{display:flex;padding-right:%?10?%;align-items:center}.lyy-f-a .lyy-flex2 .lyy-flex3[data-v-40b55b9c]{flex:1}.lyy-f-a .lyy-flex2 .lyy-flex3 .lyy-f-word2[data-v-40b55b9c]{font-size:14px;color:#f10d3b}.lyy-f-a .lyy-flex2.lyy-a-tu2[data-v-40b55b9c]{height:%?34?%;background:#fff;border:1px solid #fc5b62;border-radius:2px;margin:%?10?% %?0?%}.lyy-f-a .lyy-flex2.lyy-a-tu2 .lyy-a-tu3[data-v-40b55b9c]{height:%?30?%;background-color:#fc5b62;padding:0 6px;text-align:center}.lyy-f-a .lyy-flex2.lyy-a-tu2 .lyy-a-tu3 .lyy-a-tu5[data-v-40b55b9c]{width:%?20?%;height:%?20?%;margin-top:%?6?%;display:block}.lyy-f-a .lyy-flex2.lyy-a-tu2 .lyy-a-tu4[data-v-40b55b9c]{margin-left:%?4?%;font-size:%?24?%;line-height:%?30?%;color:#fc5b62;padding:0 %?10?%;text-align:center}',""]),t.exports=a},"40fc":function(t,a,e){"use strict";var i=e("3278"),n=e.n(i);n.a},6468:function(t,a,e){"use strict";var i=e("4ea4");Object.defineProperty(a,"__esModule",{value:!0}),a.getProducts=o,a.goodsDetail=l,a.getBargainList=d,a.cartAdd=r,a.collectAdd=c,a.collectDel=s,a.searchKeyword=u,a.groomList=f,a.seckillGoods=y,a.groupGoods=m,a.getCategoryList=b,a.getCombinationList=v,a.getCombinationLisRemove=g,a.getCombinationLisPink=h,a.getCombinationPoster=p,a.getSeckillClass=w,a.getSeckillList=x,a.reply_config=k,a.reply_list=C;var n=i(e("c9b6"));function o(t){return(0,n.default)({url:"/api/products",method:"get",data:t})}function l(t,a){return(0,n.default)({url:"/api/product/detail/"+a,method:"get",data:t})}function d(t){return(0,n.default)({url:"/api/bargain/list",method:"get",data:t})}function r(t){return(0,n.default)({url:"/api/cart/add",method:"post",data:t})}function c(t){return(0,n.default)({url:"/api/collect/add",method:"post",data:t})}function s(t){return(0,n.default)({url:"/api/collect/del",method:"post",data:t})}function u(t){return(0,n.default)({url:"/api/search/keyword",method:"get",data:t})}function f(t,a){return(0,n.default)({url:"/api/groom/list/"+a,method:"get",data:t})}function y(t,a){return(0,n.default)({url:"/api/seckill/detail/"+a,method:"get",data:t})}function m(t,a){return(0,n.default)({url:"/api/combination/detail/"+a,method:"get",data:t})}function b(t){return(0,n.default)({url:"/api/category",method:"get",data:t})}function v(t){return(0,n.default)({url:"/api/combination/list",method:"get",data:t})}function g(t,a){return(0,n.default)({url:"/api/combination/remove"+a,method:"get",data:t})}function h(t,a){return(0,n.default)({url:"/api/combination/pink/"+a,method:"get",data:t})}function p(t){return(0,n.default)({url:"/api/combination/poster",method:"post",data:t})}function w(t){return(0,n.default)({url:"/api/seckill/index",method:"get",data:t})}function x(t,a){return(0,n.default)({url:"/api/seckill/list/"+a,method:"get",data:t})}function k(t,a){return(0,n.default)({url:"/api/reply/config/"+a,method:"get",data:t})}function C(t,a){return(0,n.default)({url:"/api/reply/list/"+a,method:"get",data:t})}},"666a":function(t,a,e){var i=e("24fb");a=i(!1),a.push([t.i,".uni-load-more[data-v-c8f01f2e]{display:flex;flex-direction:row;height:%?80?%;align-items:center;justify-content:center}.uni-load-more__text[data-v-c8f01f2e]{font-size:%?28?%;color:#999}.uni-load-more__img[data-v-c8f01f2e]{height:24px;width:24px;margin-right:10px}.uni-load-more__img>.load[data-v-c8f01f2e]{position:absolute}.uni-load-more__img>.load .item[data-v-c8f01f2e]{width:6px;height:2px;border-top-left-radius:1px;border-bottom-left-radius:1px;background:#999;position:absolute;opacity:.2;-webkit-transform-origin:50%;transform-origin:50%;-webkit-animation:load-data-v-c8f01f2e 1.56s ease infinite;animation:load-data-v-c8f01f2e 1.56s ease infinite}.uni-load-more__img>.load .item[data-v-c8f01f2e]:nth-child(1){-webkit-transform:rotate(90deg);transform:rotate(90deg);top:2px;left:9px}.uni-load-more__img>.load .item[data-v-c8f01f2e]:nth-child(2){-webkit-transform:rotate(180deg);transform:rotate(180deg);top:11px;right:0}.uni-load-more__img>.load .item[data-v-c8f01f2e]:nth-child(3){-webkit-transform:rotate(270deg);transform:rotate(270deg);bottom:2px;left:9px}.uni-load-more__img>.load .item[data-v-c8f01f2e]:nth-child(4){top:11px;left:0}.load1[data-v-c8f01f2e],\n.load2[data-v-c8f01f2e],\n.load3[data-v-c8f01f2e]{height:24px;width:24px}.load2[data-v-c8f01f2e]{-webkit-transform:rotate(30deg);transform:rotate(30deg)}.load3[data-v-c8f01f2e]{-webkit-transform:rotate(60deg);transform:rotate(60deg)}.load1 .item[data-v-c8f01f2e]:nth-child(1){-webkit-animation-delay:0s;animation-delay:0s}.load2 .item[data-v-c8f01f2e]:nth-child(1){-webkit-animation-delay:.13s;animation-delay:.13s}.load3 .item[data-v-c8f01f2e]:nth-child(1){-webkit-animation-delay:.26s;animation-delay:.26s}.load1 .item[data-v-c8f01f2e]:nth-child(2){-webkit-animation-delay:.39s;animation-delay:.39s}.load2 .item[data-v-c8f01f2e]:nth-child(2){-webkit-animation-delay:.52s;animation-delay:.52s}.load3 .item[data-v-c8f01f2e]:nth-child(2){-webkit-animation-delay:.65s;animation-delay:.65s}.load1 .item[data-v-c8f01f2e]:nth-child(3){-webkit-animation-delay:.78s;animation-delay:.78s}.load2 .item[data-v-c8f01f2e]:nth-child(3){-webkit-animation-delay:.91s;animation-delay:.91s}.load3 .item[data-v-c8f01f2e]:nth-child(3){-webkit-animation-delay:1.04s;animation-delay:1.04s}.load1 .item[data-v-c8f01f2e]:nth-child(4){-webkit-animation-delay:1.17s;animation-delay:1.17s}.load2 .item[data-v-c8f01f2e]:nth-child(4){-webkit-animation-delay:1.3s;animation-delay:1.3s}.load3 .item[data-v-c8f01f2e]:nth-child(4){-webkit-animation-delay:1.43s;animation-delay:1.43s}@-webkit-keyframes load-data-v-c8f01f2e{0%{opacity:1}100%{opacity:.2}}",""]),t.exports=a},"8da0":function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAPCAYAAADphp8SAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAA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hklEQVR42pTTTyiDYRzA8ffVRiSiaLWDloO/B1FMEgeEuGy7ODhxJk5y5EBtKVIu3BwcOMyNKVZbUuYglymlJHKRlmLk9X34vfW0Zs2vPnue93me3+/ds+eZ+X6ya2SLwh5/E00QvUhhB/N4zbbeofUrMIEkRa5o4yiXuWJMoR6DGEEdtvCsF3LiCK1ow4xWRI8BdOMe+xiDFx8FssArRVRcypv/ikZZY0hOh+rYhZ5gadtI5ih0K2sMyXnQC6nEDemPYg1vWYqc4gB+eVY5N3qhSrikv56O7r3QzmUU+UQAVViRMZfk/hRy4wI+mQw7Gtq/5HfLPOGAHH9YxnyS61aTIdTIxDJHv0l7ro3psYpxDONRvrVaFzK5kGobZUg4vUP9ZlFJgr7HyB3qnnUiKieXUluLyOQiRWbzKKKiGdNYkOdDe99dOMOSkX+oy9giFzRm3+y4tJ5/FKqVk4z93ijL0h1b+UdEzzXVhxalmESf/Cmr5SDUm9Wh3OFaLuU20nbitwADADyck+KcQiExAAAAAElFTkSuQmCC"},92289:function(t,a,e){"use strict";var i;e.d(a,"b",(function(){return n})),e.d(a,"c",(function(){return o})),e.d(a,"a",(function(){return i}));var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{staticClass:"uni-load-more"},[e("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:"loading"===t.status&&t.showIcon,expression:"status === 'loading' && showIcon"}],staticClass:"uni-load-more__img"},[e("v-uni-view",{staticClass:"load1 load"},[e("v-uni-view",{staticClass:"item",style:{background:t.color}}),e("v-uni-view",{staticClass:"item",style:{background:t.color}}),e("v-uni-view",{staticClass:"item",style:{background:t.color}}),e("v-uni-view",{staticClass:"item",style:{background:t.color}})],1),e("v-uni-view",{staticClass:"load2 load"},[e("v-uni-view",{staticClass:"item",style:{background:t.color}}),e("v-uni-view",{staticClass:"item",style:{background:t.color}}),e("v-uni-view",{staticClass:"item",style:{background:t.color}}),e("v-uni-view",{staticClass:"item",style:{background:t.color}})],1),e("v-uni-view",{staticClass:"load3 load"},[e("v-uni-view",{staticClass:"item",style:{background:t.color}}),e("v-uni-view",{staticClass:"item",style:{background:t.color}}),e("v-uni-view",{staticClass:"item",style:{background:t.color}}),e("v-uni-view",{staticClass:"item",style:{background:t.color}})],1)],1),e("v-uni-text",{staticClass:"uni-load-more__text",style:{color:t.color}},[t._v(t._s("more"===t.status?t.contentText.contentdown:"loading"===t.status?t.contentText.contentrefresh:t.contentText.contentnomore))])],1)},o=[]},a49f:function(t,a,e){"use strict";var i=e("c5a3"),n=e.n(i);n.a},b661:function(t,a,e){"use strict";e.r(a);var i=e("0501"),n=e("d501");for(var o in n)"default"!==o&&function(t){e.d(a,t,(function(){return n[t]}))}(o);e("a49f");var l,d=e("f0c5"),r=Object(d["a"])(n["default"],i["b"],i["c"],!1,null,"40b55b9c",null,!1,i["a"],l);a["default"]=r.exports},c0cc:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i={name:"uni-load-more",props:{status:{type:String,default:"more"},showIcon:{type:Boolean,default:!0},color:{type:String,default:"#777777"},contentText:{type:Object,default:function(){return{contentdown:"上拉显示更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"}}}},data:function(){return{}}};a.default=i},c5a3:function(t,a,e){var i=e("3624");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=e("4f06").default;n("6363c30c",i,!0,{sourceMap:!1,shadowMode:!1})},d501:function(t,a,e){"use strict";e.r(a);var i=e("334a"),n=e.n(i);for(var o in i)"default"!==o&&function(t){e.d(a,t,(function(){return i[t]}))}(o);a["default"]=n.a}}]);
|