pages-activity-goods_combination_status-index.67893af1.js 54 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-activity-goods_combination_status-index"],{"0c3c":function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i("26cb"),a=n(i("7c3b")),r=i("5318"),s={name:"Home",props:{},mixins:[a.default],data:function(){return{top:"545",imgHost:r.HTTP_REQUEST_URL}},computed:(0,o.mapGetters)(["homeActive"]),methods:{setTouchMove:function(t){t.touches[0].clientY<545&&t.touches[0].clientY>66&&(this.top=t.touches[0].clientY)},open:function(){this.homeActive?this.$store.commit("CLOSE_HOME"):this.$store.commit("OPEN_HOME")}},created:function(){},beforeDestroy:function(){this.$store.commit("CLOSE_HOME")}};e.default=s},"14d6":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"time",style:t.justifyLeft},[t.tipText?i("v-uni-text",{staticClass:"red"},[t._v(t._s(t.tipText))]):t._e(),!0===t.isDay?i("v-uni-text",{staticClass:"styleAll",style:"background-color:"+t.bgColor+";color:"+t.colors+";"},[t._v(t._s(t.day))]):t._e(),t.dayText?i("v-uni-text",{staticClass:"timeTxt red"},[t._v(t._s(t.dayText))]):t._e(),i("v-uni-text",{staticClass:"styleAll",style:"background-color:"+t.bgColor+";color:"+t.colors+";"},[t._v(t._s(t.hour))]),t.hourText?i("v-uni-text",{staticClass:"timeTxt red"},[t._v(t._s(t.hourText))]):t._e(),i("v-uni-text",{staticClass:"styleAll",style:"background-color:"+t.bgColor+";color:"+t.colors+";"},[t._v(t._s(t.minute))]),t.minuteText?i("v-uni-text",{staticClass:"timeTxt red"},[t._v(t._s(t.minuteText))]):t._e(),i("v-uni-text",{staticClass:"styleAll",style:"background-color:"+t.bgColor+";color:"+t.colors+";"},[t._v(t._s(t.second))]),t.secondText?i("v-uni-text",{staticClass:"timeTxt red"},[t._v(t._s(t.secondText))]):t._e()],1)},o=[]},"194f":function(t,e,i){"use strict";i.r(e);var n=i("1c24"),o=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},"1c24":function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("14d9"),i("e25e");var o=n(i("7b57")),a=n(i("414b")),r=(n(i("fda7")),i("8f93")),s=i("26cb"),c=i("ad0f"),u=i("f09e"),d=n(i("7ffa")),l=n(i("7c3b")),p=i("5318"),f=getApp(),h={name:"GroupRule",components:{CountDown:o.default,ProductWindow:a.default,home:d.default},props:{},mixins:[l.default],data:function(){return{imgHost:p.HTTP_REQUEST_URL,currentPinkOrder:"",isOk:0,pinkBool:0,userBool:0,pinkAll:[],pinkT:[],storeCombination:void 0,storeCombinationHost:[],pinkId:0,count:0,iShidden:!1,isOpen:!1,attr:{cartAttr:!1,productSelect:{image:"",store_name:"",price:"",quota:0,unique:"",cart_num:1,quota_show:0,product_stock:0,num:0},productAttr:[]},cart_num:"",userInfo:{},posters:!1,weixinStatus:!1,H5ShareBox:!1,isAuto:!1,isShowAuth:!1,attrTxt:this.$t("请选择"),attrValue:"",orderPid:0}},computed:(0,s.mapGetters)({isLogin:"isLogin",userData:"userInfo"}),watch:{isLogin:{handler:function(t,e){t?this.getCombinationPink():(0,r.toLogin)()},deep:!0},userData:{handler:function(t,e){t&&(this.userInfo=t,f.globalData.openPages="/pages/activity/goods_combination_status/index?id="+this.pinkId)},deep:!0}},onLoad:function(t){t.id&&(this.pinkId=t.id),0==this.isLogin&&(this.$Cache.set("login_back_url","/pages/activity/goods_combination_status/index?id=".concat(t.id)),(0,r.toLogin)())},mounted:function(){this.isLogin&&this.getCombinationPink()},methods:{authColse:function(t){this.isShowAuth=t},onLoadFun:function(t){this.userInfo=t,f.globalData.openPages="/pages/activity/goods_combination_status/index?id="+this.pinkId,this.getCombinationPink()},listenerActionSheet:function(){0==this.isLogin?(0,r.toLogin)():(!0===this.$wechat.isWeixin()&&(this.weixinStatus=!0),this.posters=!0)},listenerActionClose:function(){this.posters=!1},goFriend:function(){this.posters=!1},iptCartNum:function(t){this.$set(this.attr.productSelect,"cart_num",t),this.$set(this,"cart_num",t)},attrVal:function(t){this.attr.productAttr[t.indexw].index=this.attr.productAttr[t.indexw].attr_values[t.indexn]},onMyEvent:function(){this.$set(this.attr,"cartAttr",!1),this.$set(this,"isOpen",!1)},ChangeAttr:function(t){this.$set(this,"cart_num",1);var e=this.productValue[t];e?(this.$set(this.attr.productSelect,"image",e.image),this.$set(this.attr.productSelect,"price",e.price),this.$set(this.attr.productSelect,"quota",e.quota),this.$set(this.attr.productSelect,"unique",e.unique),this.$set(this.attr.productSelect,"cart_num",1),this.$set(this.attr.productSelect,"product_stock",e.product_stock),this.$set(this.attr.productSelect,"quota_show",e.quota_show),this.$set(this,"attrValue",t),this.$set(this,"attrTxt",this.$t("已选择"))):(this.$set(this.attr.productSelect,"image",this.storeCombination.image),this.$set(this.attr.productSelect,"price",this.storeCombination.price),this.$set(this.attr.productSelect,"quota",0),this.$set(this.attr.productSelect,"unique",""),this.$set(this.attr.productSelect,"cart_num",0),this.$set(this.attr.productSelect,"quota_show",0),this.$set(this.attr.productSelect,"product_stock",0),this.$set(this,"attrValue",""),this.$set(this,"attrTxt",this.$t("请选择")))},ChangeCartNum:function(t){var e=this.productValue[this.attrValue];if(this.cart_num&&(e.cart_num=this.cart_num,this.attr.productSelect.cart_num=this.cart_num),void 0!==e||this.attr.productAttr.length||(e=this.attr.productSelect),void 0!==e){e.stock,e.quota_show;var i=e.quota||0,n=e.product_stock||0,o=this.attr.productSelect,a=this.storeCombination.num||0;if(void 0==e.cart_num&&(e.cart_num=1),t){o.cart_num++;var r=[];r.push(a),r.push(i),r.push(n);var s=Math.min.apply(null,r);o.cart_num>=s&&(this.$set(this.attr.productSelect,"cart_num",s||1),this.$set(this,"cart_num",s||1)),this.$set(this,"cart_num",o.cart_num),this.$set(this.attr.productSelect,"cart_num",o.cart_num)}else o.cart_num--,o.cart_num<1&&(this.$set(this.attr.productSelect,"cart_num",1),this.$set(this,"cart_num",1)),this.$set(this,"cart_num",o.cart_num),this.$set(this.attr.productSelect,"cart_num",o.cart_num)}},DefaultSelect:function(){var t=this.attr.productAttr,e=[];for(var i in this.productValue)if(this.productValue[i].quota>0){e=this.attr.productAttr.length?i.split(","):[];break}for(var n=0;n<t.length;n++)this.$set(t[n],"index",e[n]);var o=this.productValue[e.join(",")];o&&t.length?(this.$set(this.attr.productSelect,"store_name",this.storeCombination.title),this.$set(this.attr.productSelect,"image",o.image),this.$set(this.attr.productSelect,"price",o.price),this.$set(this.attr.productSelect,"quota",o.quota),this.$set(this.attr.productSelect,"unique",o.unique),this.$set(this.attr.productSelect,"cart_num",1),this.$set(this.attr.productSelect,"product_stock",o.product_stock),this.$set(this.attr.productSelect,"quota_show",o.quota_show),this.$set(this,"attrValue",e.join(",")),this.attrValue=e.join(","),this.$set(this,"attrTxt",this.$t("已选择"))):!o&&t.length?(this.$set(this.attr.productSelect,"store_name",this.storeCombination.title),this.$set(this.attr.productSelect,"image",this.storeCombination.image),this.$set(this.attr.productSelect,"price",this.storeCombination.price),this.$set(this.attr.productSelect,"quota",0),this.$set(this.attr.productSelect,"unique",""),this.$set(this.attr.productSelect,"cart_num",0),this.$set(this.attr.productSelect,"product_stock",0),this.$set(this.attr.productSelect,"quota_show",0),this.$set(this,"attrValue",""),this.$set(this,"attrTxt",this.$t("请选择"))):o||t.length||(this.$set(this.attr.productSelect,"store_name",this.storeCombination.title),this.$set(this.attr.productSelect,"image",this.storeCombination.image),this.$set(this.attr.productSelect,"price",this.storeCombination.price),this.$set(this.attr.productSelect,"quota",0),this.$set(this.attr.productSelect,"unique",this.storeCombination.unique||""),this.$set(this.attr.productSelect,"cart_num",1),this.$set(this.attr.productSelect,"quota_show",0),this.$set(this.attr.productSelect,"product_stock",0),this.$set(this,"attrValue",""),this.$set(this,"attrTxt",this.$t("请选择")))},setProductSelect:function(){var t=this.attr;t.productSelect.image=this.storeCombination.image,t.productSelect.store_name=this.storeCombination.title,t.productSelect.price=this.storeCombination.price,t.productSelect.quota=0,t.productSelect.quota_show=0,t.productSelect.product_stock=0,t.cartAttr=!1,this.$set(this,"attr",t)},pay:function(){this.attr.cartAttr=!0,this.isOpen=!0},goPay:function(){var t=this,e={};e.productId=t.storeCombination.product_id,e.cartNum=t.attr.productSelect.cart_num,e.uniqueId=t.attr.productSelect.unique,e.combinationId=t.storeCombination.id,e.new=1,(0,u.postCartAdd)(e).then((function(e){uni.navigateTo({url:"/pages/goods/order_confirm/index?new=1&cartId="+e.data.cartId+"&pinkId="+t.pinkId})})).catch((function(e){t.$util.Tips({title:e})}))},goPoster:function(){this.posters=!1,uni.navigateTo({url:"/pages/activity/poster-poster/index?type=2&id="+this.pinkId})},goOrder:function(){uni.navigateTo({url:"/pages/goods/order_details/index?order_id="+this.currentPinkOrder})},goList:function(){uni.navigateTo({url:"/pages/activity/goods_combination/index"})},goDetail:function(t){this.pinkId=t,uni.navigateTo({url:"/pages/activity/goods_combination_details/index?id="+t})},getCombinationPink:function(){var t=this,e=this;(0,c.getCombinationPink)(e.pinkId).then((function(i){if(e.$set(e,"storeCombinationHost",i.data.store_combination_host),i.data.pinkT.stop_time=parseInt(i.data.pinkT.stop_time),e.$set(e,"storeCombination",i.data.store_combination),e.$set(e.attr.productSelect,"num",i.data.store_combination.num),e.$set(e,"pinkT",i.data.pinkT),e.$set(e,"pinkAll",i.data.pinkAll),e.$set(e,"count",i.data.count),e.$set(e,"userBool",i.data.userBool),e.$set(e,"pinkBool",i.data.pinkBool),e.$set(e,"isOk",i.data.is_ok),e.$set(e,"currentPinkOrder",i.data.current_pink_order),e.$set(e,"userInfo",i.data.userInfo),e.$set(e,"orderPid",i.data.order_pid),e.attr.productAttr=i.data.store_combination.productAttr,e.productValue=i.data.store_combination.productValue,e.setOpenShare(),e.setProductSelect(),0!=e.attr.productAttr&&e.DefaultSelect(),1==i.data.is_ok&&0==i.data.userBool)return t.$util.Tips({title:e.$t("你不是该团的成员")},(function(){uni.navigateTo({url:"/pages/activity/goods_combination/index"})}))})).catch((function(e){return t.$util.Tips({title:e},(function(){uni.navigateBack()}))}))},setOpenShare:function(){var t={title:this.$t("您的好友")+this.userInfo.nickname+this.$t("邀请您参团")+this.storeCombination.title,desc:this.storeCombination.title,link:window.location.protocol+"//"+window.location.host+"/pages/activity/goods_combination_status/index?id="+this.pinkId+"&bargain="+this.userInfo.uid+"&spid="+this.userInfo.uid,imgUrl:this.storeCombination.image};this.$wechat.isWeixin()&&this.$wechat.wechatEvevt(["updateAppMessageShareData","updateTimelineShareData","onMenuShareAppMessage","onMenuShareTimeline"],t).then((function(t){})).catch((function(e){e.is_ready&&(e.wx.updateAppMessageShareData(t),e.wx.updateTimelineShareData(t),e.wx.onMenuShareAppMessage(t),e.wx.onMenuShareTimeline(t))}))},getCombinationRemove:function(){var t=this,e=this;(0,c.postCombinationRemove)({id:e.pinkId,cid:e.storeCombination.id}).then((function(i){e.$util.Tips({title:i.msg}),t.getCombinationPink()})).catch((function(t){e.$util.Tips({title:t})}))},lookAll:function(){this.iShidden=!this.iShidden}}};e.default=h},"1c8d":function(t,e,i){var n=i("fa51");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("4f06").default;o("b3f5c178",n,!0,{sourceMap:!1,shadowMode:!1})},"263c":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF4AAABeCAYAAACq0qNuAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG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8B9S+V7K7VehUOgnMBbv0UcdGRkpgi/8dWLBLbFBbHEw1e+mDDwi2Ju4q1w3t08uXq88M2ndgk4sAHofsSFGtgMvolpaV87FP8c+HF3Tx7kmBkcEXfQinQXwPQIbIyfAC/DZpntfeXn52fW6JiUbZMXEBxrRHtjAtFciyuZxRMyeHRP+6noMkD4aHBzcA9BjmXw/2+dAcS2Qv4B3U+czVC7Up+PQT+f1iXZwCtx3wBmvPpRtUzn/8R74rofZN0Jf1rqmWCHoc7qLvC660sbSUxH2ZAO6HcCbrix8Vz4Yl4+cm6VkDA0NOboUlV3EYJErAoqS4ySu6TFj6VEUWfvStj5ksb+//3PY/Im5HR5zLS4aYLfleBijMEoXKQC6i//GZl9bW9uAXf/D9seKAnyi/DT4OXAZS3WNjY2uAZ0jlSpFfaworuFFXIOtU2Zy9iDdCxcu3IXffqm2tna3m6bKMDBiQhDA5/RBumaOIce8C3xyUdDw8PAijPEigo9Fp4nnwHNB9Km+fHJ8fPzbucYlX0+pZwH9QRirpxHx7ZQvslhNO8AV6vJlB+TD0ukEyJ51dirAFp3A7q/AR41VaqS2A5LvWSADAwM7sNmPofwotp/pINoCFrBzoZbkI6Gpvy2TL6jDj8B4vgLDeTKfOJQ4Nf0GLmcokUg8jIvmsq89OI+AtQ+SYFFCuXodRwSZk3QZxMh5rQRVtkHTG5FMKZZLBPA93HD5s0ywsADNlrq30s2xuB54laB+gpDE7qamph6A/HW81An20ofOdFIcfkvmU5hCPYMbfQK/1YvrPS6mHzlKJZpOOONivJ2Q0i6cXweYj0Zip20tmHPSmZeQ7cwMZvh0MKZKr0DKufD8AEbPediP08bSI5WmdbvA/wkwAA0RLWTsP6UIAAAAAElFTkSuQmCC"},"414b":function(t,e,i){"use strict";i.r(e);var n=i("6778"),o=i("c1f3");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("6c2d");var r=i("f0c5"),s=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"0c3944a4",null,!1,n["a"],void 0);e["default"]=s.exports},4632:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* crmeb颜色变量 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.generate-posters[data-v-e513bbf6]{width:100%;height:%?170?%;background-color:#fff;position:fixed;left:0;bottom:0;z-index:300;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);transition:all .3s cubic-bezier(.25,.5,.5,.9);border-top:%?1?% solid #eee}.generate-posters.on[data-v-e513bbf6]{-webkit-transform:translateZ(0);transform:translateZ(0)}.generate-posters .item[data-v-e513bbf6]{flex:1;text-align:center;font-size:%?30?%}.generate-posters .item .iconfont[data-v-e513bbf6]{font-size:%?80?%;color:#5eae72}.generate-posters .item .iconfont.icon-haibao[data-v-e513bbf6]{color:#5391f1}\r\n/*开团*/.group-con .header[data-v-e513bbf6]{width:100%;height:%?186?%;background-color:#fff;border-top:1px solid #f5f5f5;padding:0 %?30?%;position:relative}.group-con .header .iconfont[data-v-e513bbf6]{font-size:%?100?%;position:absolute;color:#ccc;right:%?33?%;bottom:%?20?%}.group-con .header .pictrue[data-v-e513bbf6]{width:%?140?%;height:%?140?%}.group-con .header .pictrue img[data-v-e513bbf6]{width:100%;height:100%;border-radius:%?6?%}.group-con .header .text[data-v-e513bbf6]{width:%?540?%;font-size:%?30?%;color:#222}.group-con .header .text .money[data-v-e513bbf6]{font-size:%?24?%;font-weight:700;margin-top:%?15?%}.group-con .header .text .money .num[data-v-e513bbf6]{font-size:%?32?%}.group-con .header .text .money .team[data-v-e513bbf6]{padding:%?1?% %?10?%;font-weight:400;border-radius:%?50?%;font-size:%?20?%;vertical-align:%?4?%;margin-left:%?15?%}.group-con .wrapper[data-v-e513bbf6]{background-color:#fff;margin-top:%?20?%;padding:%?2?% 0 %?35?% 0}.group-con .wrapper .title[data-v-e513bbf6]{margin-top:%?30?%}.group-con .wrapper .title .line[data-v-e513bbf6]{width:%?136?%;height:1px;background-color:#ddd}.group-con .wrapper .title .name[data-v-e513bbf6]{margin:0 %?45?%;font-size:%?28?%;color:#282828}.group-con .wrapper .title .name .time[data-v-e513bbf6]{margin:0 %?14?%}.group-con .wrapper .title .name .timeTxt[data-v-e513bbf6]{color:#fc4141}.group-con .wrapper .title .name[data-v-e513bbf6] .time .styleAll{background-color:var(--view-minorColorT);text-align:center;border-radius:%?3?%;font-size:%?28?%;font-weight:700;display:inline-block;vertical-align:middle;color:var(--view-theme);padding:%?2?% %?5?%}.group-con .wrapper .tips[data-v-e513bbf6]{font-size:%?30?%;font-weight:700;text-align:center;margin-top:%?30?%;color:#999}.group-con .wrapper .list[data-v-e513bbf6]{padding:0 %?30?%;margin-top:%?45?%}.group-con .wrapper .list.result[data-v-e513bbf6]{max-height:%?240?%}.group-con .wrapper .list.result.on[data-v-e513bbf6]{max-height:%?2000?%}.group-con .wrapper .list .pictrue[data-v-e513bbf6]{width:%?94?%;height:%?94?%;margin:0 0 %?29?% %?35?%}.group-con .wrapper .list .pictrue[data-v-e513bbf6]{position:relative}.group-con .wrapper .list .pictrue .dumpling[data-v-e513bbf6]{width:%?72?%;height:%?32?%;line-height:%?32?%;font-size:%?18?%;text-align:center;color:#fff;top:%?-12?%;right:%?-20?%;border-radius:%?18?%;position:absolute;background-color:var(--view-theme)}.group-con .wrapper .list .pictrue img[data-v-e513bbf6],\r\n.group-con .wrapper .list .pictrue uni-image[data-v-e513bbf6]{width:100%;height:100%;border-radius:50%;border:%?2?% solid var(--view-theme)}.group-con .wrapper .list .pictrue uni-image.img-none[data-v-e513bbf6]{border:none}.group-con .wrapper .lookAll[data-v-e513bbf6]{font-size:%?24?%;color:#282828;padding-top:%?10?%}.group-con .wrapper .lookAll .iconfont[data-v-e513bbf6]{font-size:%?25?%;margin:%?2?% 0 0 %?10?%}.group-con .wrapper .teamBnt[data-v-e513bbf6]{font-size:%?30?%;width:%?620?%;height:%?86?%;border-radius:%?50?%;text-align:center;line-height:%?86?%;color:#fff;margin:%?21?% auto 0 auto}.group-con .wrapper .cancel[data-v-e513bbf6],\r\n.group-con .wrapper .lookOrder[data-v-e513bbf6]{text-align:center;font-size:%?24?%;color:#282828;padding-top:%?30?%}.group-con .wrapper .cancel .iconfont[data-v-e513bbf6]{font-size:%?35?%;color:#2c2c2c;vertical-align:%?-4?%;margin-right:%?9?%}.group-con .wrapper .lookOrder .iconfont[data-v-e513bbf6]{font-size:%?25?%;color:#2c2c2c;margin-left:%?10?%}.group-con .group-recommend[data-v-e513bbf6]{background-color:#fff;margin-top:%?25?%}.group-con .group-recommend .title[data-v-e513bbf6]{padding-right:%?30?%;margin-left:%?30?%;height:%?85?%;border-bottom:1px solid #eee;font-size:%?28?%;color:#282828}.group-con .group-recommend .title .more[data-v-e513bbf6]{color:grey}.group-con .group-recommend .title .more .iconfont[data-v-e513bbf6]{margin-left:%?13?%;font-size:%?28?%}.group-con .group-recommend .list[data-v-e513bbf6]{margin-top:%?30?%}.group-con .group-recommend .list .item[data-v-e513bbf6]{width:%?210?%;margin:0 0 %?25?% %?30?%}.group-con .group-recommend .list .item .pictrue[data-v-e513bbf6]{width:100%;height:%?210?%;position:relative}.group-con .group-recommend .list .item .pictrue img[data-v-e513bbf6]{width:100%;height:100%;border-radius:%?10?%}.group-con .group-recommend .list .item .pictrue .team[data-v-e513bbf6]{position:absolute;top:%?28?%;left:%?-5?%;min-width:%?100?%;height:%?36?%;line-height:%?36?%;text-align:center;border-radius:0 %?18?% %?18?% 0;font-size:%?20?%;color:#fff;background-color:var(--view-theme)}.group-con .group-recommend .list .item .name[data-v-e513bbf6]{font-size:%?28?%;color:#333;margin-top:.18rem}.group-con .group-recommend .list .item .money[data-v-e513bbf6]{font-weight:700;font-size:%?28?%}.share-box[data-v-e513bbf6]{z-index:1000;position:fixed;left:0;top:0;width:100%;height:100%}.share-box uni-image[data-v-e513bbf6]{width:100%;height:100%}',""]),t.exports=e},"5aee":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"group-con",style:t.colorStyle},[t.storeCombination?n("div",{staticClass:"header acea-row row-between-wrapper"},[n("div",{staticClass:"pictrue"},[n("img",{attrs:{src:t.storeCombination.image}})]),n("div",{staticClass:"text"},[n("div",{staticClass:"line1",domProps:{textContent:t._s(t.storeCombination.title)}}),n("div",{staticClass:"money"},[t._v(t._s(t.$t("¥"))),n("span",{staticClass:"num",domProps:{textContent:t._s(t.storeCombination.price)}}),n("span",{staticClass:"team cart-color"},[t._v(t._s(t.storeCombination.people+t.$t("人拼")))])])]),-1===t.pinkBool?n("div",{staticClass:"iconfont icon-pintuanshibai"}):1===t.pinkBool?n("div",{staticClass:"iconfont icon-pintuanchenggong font-num"}):t._e()]):t._e(),n("div",{staticClass:"wrapper"},[0===t.pinkBool?n("div",{staticClass:"title acea-row row-center-wrapper"},[n("div",{staticClass:"line"}),n("div",{staticClass:"name acea-row row-center-wrapper"},[t._v(t._s(t.$t("剩余"))),n("CountDown",{attrs:{"is-day":!1,"tip-text":" ","day-text":" ","hour-text":" : ","minute-text":" : ","second-text":" ",datatime:t.pinkT.stop_time}}),t._v(t._s(t.$t("结束")))],1),n("div",{staticClass:"line"})]):t._e(),1===t.pinkBool?n("div",{staticClass:"tips font-num"},[t._v(t._s(t.$t("恭喜您拼团成功")))]):-1===t.pinkBool?n("div",{staticClass:"tips"},[t._v(t._s(t.$t("还差"))+t._s(t.count)+t._s(t.$t("人,拼团失败")))]):0===t.pinkBool?n("div",{staticClass:"tips font-num"},[t._v(t._s(t.$t("拼团中,还差"))+t._s(t.count)+t._s(t.$t("人拼团成功")))]):t._e(),n("div",{staticClass:"list acea-row row-middle",class:[1===t.pinkBool||-1===t.pinkBool?"result":"",t.iShidden?"on":""]},[n("div",{staticClass:"pictrue"},[n("img",{attrs:{src:t.pinkT.avatar}}),n("v-uni-view",{staticClass:"dumpling"},[t._v(t._s(t.$t("团长")))])],1),t.pinkAll.length>0?n("div",{staticClass:"acea-row row-middle"},t._l(t.pinkAll,(function(t,e){return n("div",{key:e,staticClass:"pictrue"},[n("img",{attrs:{src:t.avatar}})])})),0):t._e(),t._l(t.count,(function(t){return n("div",{key:t,staticClass:"pictrue"},[n("v-uni-image",{staticClass:"img-none",attrs:{src:i("263c")}})],1)}))],2),(1===t.pinkBool||-1===t.pinkBool)&&t.count>9?n("div",{staticClass:"lookAll acea-row row-center-wrapper",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.lookAll.apply(void 0,arguments)}}},[t._v(t._s(t.iShidden?t.$t("收起"):t.$t("查看更多"))),n("span",{staticClass:"iconfont",class:t.iShidden?"icon-xiangshang":"icon-xiangxia"})]):t._e(),1===t.userBool&&0==t.isOk&&0===t.pinkBool?n("div",[n("div",{staticClass:"teamBnt bg-color-red",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.listenerActionSheet.apply(void 0,arguments)}}},[t._v(t._s(t.$t("邀请好友参团")))])]):0===t.userBool&&0===t.pinkBool&&t.count>0?n("div",{staticClass:"teamBnt bg-color-red",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.pay.apply(void 0,arguments)}}},[t._v(t._s(t.$t("我要参团")))]):t._e(),1===t.pinkBool||-1===t.pinkBool?n("div",{staticClass:"teamBnt bg-color-red",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goDetail(t.storeCombination.id)}}},[t._v(t._s(t.$t("再次开团")))]):t._e(),0===t.pinkBool&&1===t.userBool&&t.pinkT.uid==t.userInfo.uid?n("div",{staticClass:"cancel",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.getCombinationRemove.apply(void 0,arguments)}}},[n("span",{staticClass:"iconfont icon-guanbi3"}),t._v(t._s(t.$t("取消开团")))]):t._e(),1===t.pinkBool&&0===t.orderPid?n("div",{staticClass:"lookOrder",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goOrder.apply(void 0,arguments)}}},[t._v(t._s(t.$t("查看订单信息"))),n("span",{staticClass:"iconfont icon-xiangyou"})]):t._e()]),n("div",{staticClass:"group-recommend"},[n("div",{staticClass:"title acea-row row-between-wrapper"},[n("div",[t._v(t._s(t.$t("大家都在拼")))]),n("div",{staticClass:"more",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goList.apply(void 0,arguments)}}},[t._v(t._s(t.$t("更多拼团"))),n("span",{staticClass:"iconfont icon-jiantou"})])]),n("div",{staticClass:"list acea-row row-middle"},t._l(t.storeCombinationHost,(function(e,i){return n("div",{key:i,staticClass:"item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goDetail(e.id)}}},[n("div",{staticClass:"pictrue"},[n("img",{attrs:{src:e.image}}),n("div",{staticClass:"team",domProps:{textContent:t._s(e.people+t.$t("人团"))}})]),n("div",{staticClass:"name line1",domProps:{textContent:t._s(e.title)}}),n("div",{staticClass:"money font-color-red",domProps:{textContent:t._s(t.$t("¥")+e.price)}})])})),0)]),n("product-window",{attrs:{attr:t.attr,limitNum:1,iSbnt:1},on:{myevent:function(e){arguments[0]=e=t.$handleEvent(e),t.onMyEvent.apply(void 0,arguments)},ChangeAttr:function(e){arguments[0]=e=t.$handleEvent(e),t.ChangeAttr.apply(void 0,arguments)},ChangeCartNum:function(e){arguments[0]=e=t.$handleEvent(e),t.ChangeCartNum.apply(void 0,arguments)},iptCartNum:function(e){arguments[0]=e=t.$handleEvent(e),t.iptCartNum.apply(void 0,arguments)},attrVal:function(e){arguments[0]=e=t.$handleEvent(e),t.attrVal.apply(void 0,arguments)},goCat:function(e){arguments[0]=e=t.$handleEvent(e),t.goPay.apply(void 0,arguments)}}}),n("v-uni-view",{staticClass:"generate-posters acea-row row-middle",class:t.posters?"on":""},[!0===t.weixinStatus?n("v-uni-button",{staticClass:"item",attrs:{"hover-class":"none"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.H5ShareBox=!0}}},[n("v-uni-view",{staticClass:"iconfont icon-weixin3"}),n("v-uni-view",{},[t._v(t._s(t.$t("发送给朋友")))])],1):t._e(),n("v-uni-button",{staticClass:"item",attrs:{"hover-class":"none"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goPoster.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"iconfont icon-haibao"}),n("v-uni-view",{},[t._v(t._s(t.$t("生成海报")))])],1)],1),t.posters?n("v-uni-view",{staticClass:"mask",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.listenerActionClose.apply(void 0,arguments)}}}):t._e(),t.H5ShareBox?n("v-uni-view",{staticClass:"share-box"},[n("v-uni-image",{attrs:{src:t.imgHost+"/statics/images/share-info.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.H5ShareBox=!1}}})],1):t._e(),n("home")],1)},o=[]},"5fb5":function(t,e,i){var n=i("e250");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("4f06").default;o("dfbe6aa8",n,!0,{sourceMap:!1,shadowMode:!1})},6397:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,".pictrueBox[data-v-5c721f6d]{width:%?130?%;height:%?120?%}\n\n/*返回主页按钮*/.home[data-v-5c721f6d]{position:fixed;color:#fff;text-align:center;z-index:999;right:%?15?%;display:flex}.home .homeCon[data-v-5c721f6d]{border-radius:%?50?%;opacity:0;height:0;color:var(--view-theme);width:0}.home .homeCon.on[data-v-5c721f6d]{opacity:1;-webkit-animation:bounceInRight .5s cubic-bezier(.215,.61,.355,1);animation:bounceInRight .5s cubic-bezier(.215,.61,.355,1);width:%?300?%;height:%?86?%;margin-bottom:%?20?%;display:flex;justify-content:center;align-items:center;background:var(--view-theme)!important;opacity:.8;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.home .homeCon .iconfont[data-v-5c721f6d]{font-size:%?48?%;color:#fff;display:inline-block;margin:0 auto}.home .pictrue[data-v-5c721f6d]{width:%?86?%;height:%?86?%;border-radius:50%;margin:0 auto;background-color:var(--view-theme)}.home .pictrue .image[data-v-5c721f6d]{width:100%;height:100%;border-radius:50%;-webkit-transform:rotate(90deg);transform:rotate(90deg);ms-transform:rotate(90deg);moz-transform:rotate(90deg);webkit-transform:rotate(90deg);o-transform:rotate(90deg)}",""]),t.exports=e},6778:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{style:t.colorStyle},[n("v-uni-view",{staticClass:"product-window",class:(!0===t.attr.cartAttr?"on":"")+" "+(t.iSbnt?"join":"")+" "+(t.iScart?"joinCart":"")},[n("v-uni-view",{staticClass:"textpic acea-row row-between-wrapper",on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.moveHandle.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"pictrue",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showImg()}}},[n("v-uni-image",{attrs:{src:t.attr.productSelect.image}})],1),n("v-uni-view",{staticClass:"text"},[n("v-uni-view",{staticClass:"line2 store-name"},[t._v(t._s(t.attr.productSelect.store_name))]),n("v-uni-view",{staticClass:"money font-color"},[n("v-uni-view",{staticClass:"acea-row row-middle"},[t._v(t._s(t.$t("¥"))),n("v-uni-text",{staticClass:"num"},[t._v(t._s(t.attr.productSelect.price))]),t.is_vip>0&&t.attr.productSelect.vip_price?n("v-uni-text",{staticClass:"vip-money"},[t._v(t._s(t.$t("¥"))+t._s(t.attr.productSelect.vip_price))]):t._e(),t.is_vip>0&&t.attr.productSelect.vip_price?n("v-uni-view",{staticClass:"vipImg"},[n("v-uni-image",{attrs:{src:i("d3f5")}})],1):t._e()],1),t.isShow&&!t.type?n("v-uni-text",{staticClass:"stock"},[t._v(t._s(t.$t("库存"))+" "+t._s(t.attr.productSelect.stock+t.unitName))]):t._e(),t.limitNum&&t.type?n("v-uni-text",{staticClass:"stock"},[t._v(t._s(t.$t("库存"))+" "+t._s(t.attr.productSelect.quota+t.unitName))]):t._e(),t.minQty>1&&t.is_virtual?n("v-uni-text",{staticClass:"stock"},[t._v(t._s(t.$t("起购"))+" "+t._s(t.minQty+t.unitName))]):t._e()],1)],1),n("v-uni-view",{staticClass:"iconfont icon-guanbi",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.closeAttr.apply(void 0,arguments)}}})],1),n("v-uni-view",{staticClass:"rollTop"},[n("v-uni-view",{staticClass:"productWinList"},t._l(t.attr.productAttr,(function(e,i){return n("v-uni-view",{key:i,staticClass:"item"},[n("v-uni-view",{staticClass:"title"},[t._v(t._s(t.$t(e.attr_name)))]),n("v-uni-view",{staticClass:"listn acea-row row-middle"},t._l(e.attr_value,(function(o,a){return n("v-uni-view",{key:a,staticClass:"itemn",class:e.index===o.attr?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tapAttr(i,a)}}},[t._v(t._s(t.$t(o.attr)))])})),1)],1)})),1),t.is_virtual?t._e():n("v-uni-view",{staticClass:"cart acea-row row-between-wrapper"},[n("v-uni-view",{staticClass:"title"},[t._v(t._s(t.$t("数量")))]),n("v-uni-view",{staticClass:"carnum acea-row row-left"},[t.limitNum&&!t.type?n("v-uni-text",{staticClass:"stock"},[t._v(t._s(t.$t("限购"))+t._s(t.limitNum+t.unitName))]):t._e(),t.limitNum&&!t.type&&t.minQty>1?n("v-uni-text",{staticClass:"stock line"},[t._v("|")]):t._e(),t.minQty>1?n("v-uni-text",{staticClass:"stock"},[t._v(t._s(t.$t("起购"))+t._s(t.minQty+t.unitName))]):t._e(),t.attr.productSelect.cart_num<=t.minQty?n("v-uni-view",{staticClass:"item reduce acea-row row-center-wrapper",class:t.attr.productSelect.cart_num<=t.minQty?"on":""},[n("v-uni-text",{staticClass:"iconfont icon-shangpinshuliang-jian"})],1):n("v-uni-view",{staticClass:"item reduce acea-row row-center-wrapper",class:t.attr.productSelect.cart_num<=t.minQty?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.CartNumDes.apply(void 0,arguments)}}},[n("v-uni-text",{staticClass:"iconfont icon-shangpinshuliang-jian"})],1),n("v-uni-view",{staticClass:"item num acea-row row-middle"},[n("v-uni-input",{attrs:{type:"number","data-name":"productSelect.cart_num"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.bindCode(t.attr.productSelect.cart_num)}},model:{value:t.attr.productSelect.cart_num,callback:function(e){t.$set(t.attr.productSelect,"cart_num",e)},expression:"attr.productSelect.cart_num"}})],1),t.iSplus?n("v-uni-view",{staticClass:"item plus acea-row row-center-wrapper",class:t.attr.productSelect.cart_num>=t.attr.productSelect.stock||t.limitNum&&t.attr.productSelect.cart_num>=t.limitNum?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.CartNumAdd.apply(void 0,arguments)}}},[n("v-uni-text",{staticClass:"iconfont icon-shangpinshuliang-jia"})],1):n("v-uni-view",{staticClass:"item plus",class:t.attr.productSelect.cart_num>=t.attr.productSelect.quota||t.attr.productSelect.cart_num>=t.attr.productSelect.product_stock||t.attr.productSelect.cart_num>=t.attr.productSelect.num||"seckill"==t.type&&t.attr.productSelect.cart_num>=t.attr.productSelect.once_num?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.CartNumAdd.apply(void 0,arguments)}}},[t._v("+")])],1)],1)],1),t.iSbnt&&t.attr.productSelect.product_stock>0&&t.attr.productSelect.quota>0?n("v-uni-view",{staticClass:"joinBnt bg-color",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goCat.apply(void 0,arguments)}}},[t._v(t._s(t.$t("我要参团")))]):t.iSbnt&&t.attr.productSelect.quota<=0||t.iSbnt&&t.attr.productSelect.product_stock<=0?n("v-uni-view",{staticClass:"joinBnt on"},[t._v(t._s(t.$t("已售罄")))]):t._e(),t.iScart&&t.attr.productSelect.stock?n("v-uni-view",{staticClass:"joinBnt bg-color",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goCat.apply(void 0,arguments)}}},[t._v(t._s(t.$t("确定")))]):t.iScart&&!t.attr.productSelect.stock?n("v-uni-view",{staticClass:"joinBnt on"},[t._v(t._s(t.$t("已售罄")))]):t._e()],1),n("v-uni-view",{staticClass:"mask",attrs:{hidden:!1===t.attr.cartAttr},on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.moveHandle.apply(void 0,arguments)},click:function(e){arguments[0]=e=t.$handleEvent(e),t.closeAttr.apply(void 0,arguments)}}})],1)},o=[]},"6c2d":function(t,e,i){"use strict";var n=i("5fb5"),o=i.n(n);o.a},"7b57":function(t,e,i){"use strict";i.r(e);var n=i("14d6"),o=i("7e97");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("8e89");var r=i("f0c5"),s=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"13279574",null,!1,n["a"],void 0);e["default"]=s.exports},"7e97":function(t,e,i){"use strict";i.r(e);var n=i("dc23"),o=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},"7ffa":function(t,e,i){"use strict";i.r(e);var n=i("cf5d"),o=i("d105");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("dea5");var r=i("f0c5"),s=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"5c721f6d",null,!1,n["a"],void 0);e["default"]=s.exports},8147:function(t,e,i){"use strict";i.r(e);var n=i("5aee"),o=i("194f");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("dc10");var r=i("f0c5"),s=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"e513bbf6",null,!1,n["a"],void 0);e["default"]=s.exports},"821d":function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3"),i("14d9");var o=n(i("7c3b")),a={mixins:[o.default],props:{attr:{type:Object,default:function(){}},limitNum:{type:Number,value:0},minQty:{type:Number,value:0},isShow:{type:Number,value:0},iSbnt:{type:Number,value:0},iSplus:{type:Number,value:0},iScart:{type:Number,value:0},is_vip:{type:Number,value:0},is_virtual:{type:Number,value:0},type:{type:String,default:""},unitName:{type:String,default:""}},data:function(){return{}},mounted:function(){},methods:{moveHandle:function(){},getpreviewImage:function(){uni.previewImage({urls:this.attr.productSelect.image.split(","),current:this.attr.productSelect.image})},goCat:function(){this.$emit("goCat")},bindCode:function(t){this.$emit("iptCartNum",t)},closeAttr:function(){this.$emit("myevent")},CartNumDes:function(){this.$emit("ChangeCartNum",!1)},CartNumAdd:function(){this.$emit("ChangeCartNum",!0)},tapAttr:function(t,e){this.$emit("attrVal",{indexw:t,indexn:e}),this.$set(this.attr.productAttr[t],"index",this.attr.productAttr[t].attr_values[e]);var i=this.getCheckedValue().join(",");this.$emit("ChangeAttr",i),1==this.limitNum&&(this.attr.productSelect.quota>0?this.attr.productSelect.cart_num=1:this.attr.productSelect.cart_num=0)},getCheckedValue:function(){for(var t=this.attr.productAttr,e=[],i=0;i<t.length;i++)for(var n=0;n<t[i].attr_values.length;n++)t[i].index===t[i].attr_values[n]&&e.push(t[i].attr_values[n]);return e},showImg:function(){this.$emit("getImg")}}};e.default=a},"8e89":function(t,e,i){"use strict";var n=i("1c8d"),o=i.n(n);o.a},ad0f:function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.getBargainDetail=function(t,e){return o.default.get("bargain/detail/".concat(t,"?bargainUid=").concat(e))},e.getBargainList=function(t){return o.default.get("bargain/list",t,{noAuth:!0})},e.getBargainPoster=function(t){return o.default.post("bargain/poster",t)},e.getBargainPosterData=function(t){return o.default.get("bargain/poster_info/"+t)},e.getBargainUserCancel=function(t){return o.default.post("bargain/user/cancel",t)},e.getBargainUserList=function(t){return o.default.get("bargain/user/list",t)},e.getCombinationBannerList=function(t){return o.default.get("combination/banner_list",t,{noAuth:!0})},e.getCombinationDetail=function(t){return o.default.get("combination/detail/"+t)},e.getCombinationList=function(t){return o.default.get("combination/list",t,{noAuth:!0})},e.getCombinationPink=function(t){return o.default.get("combination/pink/"+t)},e.getCombinationPoster=function(t){return o.default.post("combination/poster",t)},e.getCombinationPosterData=function(t){return o.default.get("combination/poster_info/"+t)},e.getIntegralOrderList=function(t){return o.default.get("store_integral/order/list",t)},e.getIntegralProductDetail=function(t){return o.default.get("store_integral/detail/"+t,{},{noAuth:!0})},e.getLogisticsDetails=function(t){return o.default.get("store_integral/order/express/".concat(t))},e.getPink=function(t){return o.default.get("pink",t,{noAuth:!0})},e.getPresellList=function(t){return o.default.get("advance/list",t)},e.getSeckillDetail=function(t,e){return o.default.get("seckill/detail/"+t,e)},e.getSeckillIndexTime=function(){return o.default.get("seckill/index",{},{noAuth:!0})},e.getSeckillList=function(t,e){return o.default.get("seckill/list/"+t,e,{noAuth:!0})},e.getStoreIntegralList=function(t){return o.default.get("store_integral/list",t)},e.integralOrderConfirm=function(t){return o.default.post("store_integral/order/confirm",t)},e.integralOrderCreate=function(t){return o.default.post("store_integral/order/create",t)},e.integralOrderDetails=function(t){return o.default.get("store_integral/order/detail/".concat(t))},e.orderDel=function(t){return o.default.post("store_integral/order/del",t)},e.orderTake=function(t){return o.default.post("store_integral/order/take",t)},e.postBargainHelp=function(t){return o.default.post("bargain/help",t)},e.postBargainHelpCount=function(t){return o.default.post("bargain/help/count",t)},e.postBargainHelpList=function(t){return o.default.post("bargain/help/list",t)},e.postBargainHelpPrice=function(t){return o.default.post("bargain/help/price",t)},e.postBargainShare=function(t){return o.default.post("bargain/share",{bargainId:t})},e.postBargainStart=function(t){return o.default.post("bargain/start",{bargainId:t})},e.postBargainStartUser=function(t){return o.default.post("bargain/start/user",t)},e.postCombinationRemove=function(t){return o.default.post("combination/remove",t)},e.scombinationCode=function(t){return o.default.get("combination/code/"+t)},e.seckillCode=function(t,e){return o.default.get("seckill/code/"+t,e)},i("99af");var o=n(i("52bd"))},c1f3:function(t,e,i){"use strict";i.r(e);var n=i("821d"),o=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},cf5d:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{style:t.colorStyle},[i("v-uni-view",{staticStyle:{"touch-action":"none"}},[i("v-uni-view",{staticClass:"home",staticStyle:{position:"fixed"},style:{top:t.top+"px"},attrs:{id:"right-nav"},on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.setTouchMove.apply(void 0,arguments)}}},[t.homeActive?i("v-uni-view",{staticClass:"homeCon bg-color",class:!0===t.homeActive?"on":""},[i("v-uni-navigator",{staticClass:"iconfont icon-shouye-xianxing",attrs:{"hover-class":"none","open-type":"switchTab",url:"/pages/index/index"}}),i("v-uni-navigator",{staticClass:"iconfont icon-caigou-xianxing",attrs:{"hover-class":"none","open-type":"switchTab",url:"/pages/order_addcart/order_addcart"}}),i("v-uni-navigator",{staticClass:"iconfont icon-yonghu1",attrs:{"hover-class":"none","open-type":"switchTab",url:"/pages/user/index"}})],1):t._e(),i("v-uni-view",{staticClass:"pictrueBox",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.open.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{staticClass:"image",attrs:{src:!0===t.homeActive?t.imgHost+"/statics/images/close.gif":t.imgHost+"/statics/images/open.gif"}})],1)],1)],1)],1)],1)},o=[]},d105:function(t,e,i){"use strict";i.r(e);var n=i("0c3c"),o=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},d3f5:function(t,e,i){t.exports=i.p+"static/img/svip.bbb3b36a.gif"},dc10:function(t,e,i){"use strict";var n=i("f5f5"),o=i.n(n);o.a},dc23:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3");var n={name:"countDown",props:{justifyLeft:{type:String,default:""},tipText:{type:String,default:"倒计时"},dayText:{type:String,default:"天"},hourText:{type:String,default:"时"},minuteText:{type:String,default:"分"},secondText:{type:String,default:"秒"},datatime:{type:Number,default:0},isDay:{type:Boolean,default:!0},bgColor:{type:String,default:""},colors:{type:String,default:""}},data:function(){return{day:"00",hour:"00",minute:"00",second:"00"}},created:function(){this.show_time()},mounted:function(){},methods:{show_time:function(){var t=this;function e(){var e=t.datatime-Date.parse(new Date)/1e3,i=0,n=0,o=0,a=0;e>0?(i=!0===t.isDay?Math.floor(e/86400):0,n=Math.floor(e/3600)-24*i,o=Math.floor(e/60)-24*i*60-60*n,a=Math.floor(e)-24*i*60*60-60*n*60-60*o,n<=9&&(n="0"+n),o<=9&&(o="0"+o),a<=9&&(a="0"+a),t.day=i,t.hour=n,t.minute=o,t.second=a):(t.day="00",t.hour="00",t.minute="00",t.second="00")}e(),setInterval(e,1e3)}}};e.default=n},dea5:function(t,e,i){"use strict";var n=i("f006"),o=i.n(n);o.a},e250:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* crmeb颜色变量 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.vip-money[data-v-0c3944a4]{color:#282828;font-size:%?28?%;font-weight:700;margin-left:%?6?%}.vipImg[data-v-0c3944a4]{width:%?68?%;height:%?27?%}.vipImg uni-image[data-v-0c3944a4]{width:100%;height:100%}.product-window[data-v-0c3944a4]{position:fixed;bottom:0;width:100%;left:0;background-color:#fff;z-index:100;border-radius:%?16?% %?16?% 0 0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);transition:all .3s cubic-bezier(.25,.5,.5,.9);padding-bottom:%?140?%;padding-bottom:calc(140rpx+ constant(safe-area-inset-bottom));padding-bottom:calc(%?140?% + env(safe-area-inset-bottom))}.product-window.on[data-v-0c3944a4]{-webkit-transform:translateZ(0);transform:translateZ(0)}.product-window.join[data-v-0c3944a4]{padding-bottom:%?30?%}.product-window.joinCart[data-v-0c3944a4]{padding-bottom:%?30?%;z-index:10000}.product-window .textpic[data-v-0c3944a4]{padding:0 %?80?% 0 %?30?%;margin-top:%?29?%;position:relative}.product-window .textpic .pictrue[data-v-0c3944a4]{width:%?150?%;height:%?150?%}.product-window .textpic .pictrue uni-image[data-v-0c3944a4]{width:100%;height:100%;border-radius:%?10?%}.product-window .textpic .text[data-v-0c3944a4]{width:%?470?%;font-size:%?28?%;color:#202020}.product-window .textpic .text .money[data-v-0c3944a4]{font-size:%?24?%;margin-top:%?10?%}.product-window .textpic .text .money .num[data-v-0c3944a4]{font-size:%?36?%}.product-window .textpic .text .money .stock[data-v-0c3944a4]{color:#999;margin-left:%?6?%;margin-right:%?20?%}.product-window .textpic .iconfont[data-v-0c3944a4]{position:absolute;right:%?30?%;top:%?-5?%;font-size:%?35?%;color:#8a8a8a}.product-window .rollTop[data-v-0c3944a4]{max-height:%?500?%;overflow:auto;margin-top:%?36?%}.product-window .productWinList .item ~ .item[data-v-0c3944a4]{margin-top:%?36?%}.product-window .productWinList .item .title[data-v-0c3944a4]{font-size:%?30?%;color:#999;padding:0 %?30?%}.product-window .productWinList .item .listn[data-v-0c3944a4]{padding:0 %?30?% 0 %?16?%}.product-window .productWinList .item .listn .itemn[data-v-0c3944a4]{border:1px solid #f2f2f2;font-size:%?26?%;color:#282828;padding:%?7?% %?33?%;border-radius:%?25?%;margin:%?20?% 0 0 %?14?%;background-color:#f2f2f2}.product-window .productWinList .item .listn .itemn.on[data-v-0c3944a4]{color:var(--view-theme);background:var(--view-minorColorT);border-color:var(--view-theme)}.product-window .productWinList .item .listn .itemn.limit[data-v-0c3944a4]{color:#999;text-decoration:line-through}.product-window .cart[data-v-0c3944a4]{margin-top:%?36?%;padding:0 %?30?%;align-items:center}.product-window .cart .title[data-v-0c3944a4]{font-size:%?30?%;color:#999}.product-window .cart .carnum[data-v-0c3944a4]{height:%?54?%}.product-window .cart .carnum .stock[data-v-0c3944a4]{font-size:%?20?%;line-height:%?54?%;color:#aaa}.product-window .cart .carnum .line[data-v-0c3944a4]{padding:0 %?6?%}.product-window .cart .carnum .iconfont[data-v-0c3944a4]{font-size:%?25?%}.product-window .cart .carnum uni-view[data-v-0c3944a4]{width:%?84?%;text-align:center;height:100%;line-height:%?54?%;color:#282828;font-size:%?45?%}.product-window .cart .carnum .reduce[data-v-0c3944a4]{border-right:0;border-radius:%?6?% 0 0 %?6?%;line-height:%?48?%;font-size:%?60?%}.product-window .cart .carnum .reduce.on[data-v-0c3944a4]{color:#dedede}.product-window .cart .carnum .plus[data-v-0c3944a4]{border-left:0;border-radius:0 %?6?% %?6?% 0;line-height:%?46?%}.product-window .cart .carnum .plus.on[data-v-0c3944a4]{color:#dedede}.product-window .cart .carnum .num[data-v-0c3944a4]{background:#f2f2f2;color:#282828;font-size:%?28?%}.product-window .joinBnt[data-v-0c3944a4]{font-size:%?30?%;width:%?620?%;height:%?86?%;border-radius:%?50?%;text-align:center;line-height:%?86?%;color:#fff;margin:%?21?% auto 0 auto}.product-window .joinBnt.on[data-v-0c3944a4]{background-color:#bbb;color:#fff}',""]),t.exports=e},f006:function(t,e,i){var n=i("6397");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("4f06").default;o("17166856",n,!0,{sourceMap:!1,shadowMode:!1})},f09e:function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.collectAdd=function(t,e){return o.default.post("collect/add",{id:t,product:void 0===e?"product":e})},e.collectAll=function(t,e){return o.default.post("collect/all",{id:t,category:void 0===e?"product":e})},e.collectDel=function(t,e){return o.default.post("collect/del",{id:t,category:void 0===e?"product":e})},e.create=function(t){return o.default.post("agent/apply/".concat(t.id),t)},e.deleteVisitList=function(t){return o.default.delete("user/visit",t)},e.getAgentAgreement=function(t){return o.default.get("agent/get_agent_agreement",{},{noAuth:!0})},e.getAttr=function(t,e){return o.default.get("v2/get_attr/"+t+"/"+e)},e.getCategoryList=function(){return o.default.get("category",{},{noAuth:!0})},e.getCodeApi=function(){return o.default.get("verify_code",{},{noAuth:!0})},e.getCollectUserList=function(t){return o.default.get("collect/user",t)},e.getGoodsDetails=function(){return o.default.get("agent/apply/info",{},{noAuth:!0})},e.getGroomList=function(t,e){return o.default.get("groom/list/"+t,e,{noAuth:!0})},e.getHomeProducts=function(t){return o.default.get("home/products",t,{noAuth:!0})},e.getPresellProductDetail=function(t){return o.default.get("advance/detail/"+t)},e.getProductCode=function(t){return o.default.get("product/code/"+t,{})},e.getProductDetail=function(t){return o.default.get("product/detail/"+t,{},{noAuth:!0})},e.getProductHot=function(t,e){return o.default.get("product/hot",{page:void 0===t?1:t,limit:void 0===e?4:e},{noAuth:!0})},e.getProductslist=function(t){return o.default.get("products",t,{noAuth:!0})},e.getReplyConfig=function(t){return o.default.get("reply/config/"+t)},e.getReplyList=function(t,e){return o.default.get("reply/list/"+t,e)},e.getSearchKeyword=function(){return o.default.get("search/keyword",{},{noAuth:!0})},e.getVisitList=function(t){return o.default.get("user/visit_list",t)},e.postCartAdd=function(t){return o.default.post("cart/add",t)},e.postCartNum=function(t){return o.default.post("v2/set_cart_num",t)},e.registerVerify=function(t){return o.default.post("register/verify",t,{noAuth:!0})},e.storeDiscountsList=function(t){return o.default.get("store_discounts/list/"+t,{},{noAuth:!0})},e.storeListApi=function(t){return o.default.get("store_list",t)};var o=n(i("52bd"))},f5f5:function(t,e,i){var n=i("4632");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("4f06").default;o("48936c66",n,!0,{sourceMap:!1,shadowMode:!1})},fa51:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,".time[data-v-13279574]{display:flex;justify-content:center}.red[data-v-13279574]{color:var(--view-theme);margin:0 %?4?%}",""]),t.exports=e}}]);