pages-activity-combination_status-index.20e222a7.js 47 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-activity-combination_status-index"],{"0152":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF4AAABeCAYAAACq0qNuAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpiNjlhMmZlNi0wMGVjLWJlNDEtOTA1Zi1mNGFjYWMyMjY4ZWYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NkYwNjM4NjAzQ0I0MTFFOUEzN0ZFNTc4NUZDOUU4NjIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NkYwNjM4NUYzQ0I0MTFFOUEzN0ZFNTc4NUZDOUU4NjIiIHhtcDpDc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54laB+gpDE7qamph6A/HW81An20ofOdFIcfkvmU5hCPYMbfQK/1YvrPS6mHzlKJZpOOONivJ2Q0i6cXweYj0Zip20tmHPSmZeQ7cwMZvh0MKZKr0DKufD8AEbPediP08bSI5WmdbvA/wkwAA0RLWTsP6UIAAAAAElFTkSuQmCC"},"02bf":function(t,e,i){"use strict";i.r(e);var o=i("65e3"),n=i.n(o);for(var a in o)"default"!==a&&function(t){i.d(e,t,(function(){return o[t]}))}(a);e["default"]=n.a},"032c":function(t,e,i){"use strict";i.r(e);var o=i("7141"),n=i("262f");for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("1cb6");var s,r=i("f0c5"),c=Object(r["a"])(n["default"],o["b"],o["c"],!1,null,"6c588de2",null,!1,o["a"],s);e["default"]=c.exports},"0687":function(t,e,i){"use strict";i.r(e);var o=i("96e1"),n=i.n(o);for(var a in o)"default"!==a&&function(t){i.d(e,t,(function(){return o[t]}))}(a);e["default"]=n.a},"0d2c":function(t,e,i){"use strict";var o=i("4ea4");i("99af"),i("a15b"),i("fb6a"),i("ac1f"),i("1276"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(i("ec1f")),a=o(i("bf72")),s=o(i("5622")),r=i("c496"),c=i("2f62"),u=i("c117"),d=i("2b58"),l=o(i("032c")),p="GroupRule",h=getApp(),f={name:p,components:{CountDown:n.default,ProductWindow:a.default,home:l.default,canvasPoster:s.default},props:{},data:function(){return{currentPinkOrder:"",isOk:0,pinkBool:0,userBool:0,pinkAll:[],storeCombination:[],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:{},combinationData:{},posters:!1,weixinStatus:!1,H5ShareBox:!1,isAuto:!1,isShowAuth:!1,attrTxt:"请选择",attrValue:"",posterStatus:!1,posterCompenents:!1,currSpid:"",picData:{bagPic:"",goodsPic:"",codePic:"",title:"",label:"",msg:"",price:""}}},computed:(0,c.mapGetters)(["isLogin","uid"]),watch:{isLogin:{handler:function(t,e){t&&this.getCombinationPink()},deep:!0}},onLoad:function(t){var e=this;t.id&&(e.pinkId=t.id),0==e.isLogin?(0,r.toLogin)():this.getCombinationPink()},mounted:function(){this.getCombinationProductList(),this.getPosterCode()},methods:{authColse:function(t){this.isShowAuth=t},onLoadFun:function(t){h.globalData.openPages="/pages/activity/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=!this.posters)},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,"stock",e.stock),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.stock),this.$set(this.attr.productSelect,"quota_show",e.stock),this.$set(this,"attrValue",t),this.$set(this,"attrTxt","已选择")):(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,"stock",0),this.$set(this.attr.productSelect,"product_stock",0),this.$set(this,"attrValue",""),this.$set(this,"attrTxt","请选择"))},ChangeCartNum:function(t){var e=this.productValue[this.attrValue];if(void 0!==e||this.attr.productAttr.length||(e=this.attr.productSelect),void 0!==e){var i=e.stock||0,o=this.attr.productSelect;t?(o.cart_num++,o.cart_num>i&&(this.$set(this.attr.productSelect,"cart_num",i),this.$set(this,"cart_num",i))):(o.cart_num--,o.cart_num<1&&(this.$set(this.attr.productSelect,"cart_num",1),this.$set(this,"cart_num",1)))}},DefaultSelect:function(){var t=this.attr.productAttr,e=[];for(var i in this.productValue)if(this.productValue[i].stock>0){e=this.attr.productAttr.length?i.split(","):[];break}for(var o=0;o<t.length;o++)this.$set(t[o],"index",e[o]);var n=this.productValue[e.join(",")];n&&t.length?(this.$set(this.attr.productSelect,"store_name",this.storeCombination.store_name),this.$set(this.attr.productSelect,"image",n.image),this.$set(this.attr.productSelect,"price",n.price),this.$set(this.attr.productSelect,"stock",n.stock),this.$set(this.attr.productSelect,"unique",n.unique),this.$set(this.attr.productSelect,"cart_num",1),this.$set(this.attr.productSelect,"product_stock",n.stock),this.$set(this.attr.productSelect,"quota_show",n.stock),this.$set(this,"attrValue",e.join(",")),this.attrValue=e.join(","),this.$set(this,"attrTxt","已选择")):!n&&t.length?(this.$set(this.attr.productSelect,"store_name",this.storeCombination.store_name),this.$set(this.attr.productSelect,"image",this.storeCombination.image),this.$set(this.attr.productSelect,"price",this.storeCombination.price),this.$set(this.attr.productSelect,"stock",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","请选择")):n||t.length?n&&!t.length&&(this.$set(this.attr.productSelect,"store_name",this.storeCombination.store_name),this.$set(this.attr.productSelect,"image",n.image),this.$set(this.attr.productSelect,"price",n.price),this.$set(this.attr.productSelect,"stock",n.stock),this.$set(this.attr.productSelect,"unique",n.unique),this.$set(this,"attrValue",e.join(",")),this.$set(this,"attrTxt","已选择"),0==n.stock?this.$set(this.attr.productSelect,"cart_num",0):this.$set(this.attr.productSelect,"cart_num",1)):(this.$set(this.attr.productSelect,"store_name",this.storeCombination.store_name),this.$set(this.attr.productSelect,"image",this.storeCombination.image),this.$set(this.attr.productSelect,"price",this.storeCombination.price),this.$set(this.attr.productSelect,"stock",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","请选择"))},setProductSelect:function(){var t=this,e=t.attr;e.productSelect.image=t.storeCombination.image,e.productSelect.store_name=t.storeCombination.store_name,e.productSelect.price=t.storeCombination.price,e.productSelect.quota=0,e.productSelect.quota_show=t.storeCombination.stock,e.productSelect.stock=t.storeCombination.stock,e.productSelect.product_stock=t.storeCombination.stock,e.cartAttr=!1,t.$set(t,"attr",e)},pay:function(){var t=this;t.attr.cartAttr=!0,t.isOpen=!0},goPay:function(){var t=this,e={product_id:t.combinationData.product_group_id,product_attr_unique:void 0!==t.attr.productSelect?t.attr.productSelect.unique:"",cart_num:t.attr.productSelect.cart_num,product_type:4,is_new:1,group_buying_id:t.combinationData.group_buying_id};(0,d.postCartAdd)(e).then((function(t){uni.navigateTo({url:"/pages/users/order_confirm/index?new=1&cartId="+t.data.cart_id})})).catch((function(e){t.$util.Tips({title:e})}))},goPoster:function(){var t=this;t.posters=!1,this.posterStatus=!0},goOrder:function(){var t=this;uni.navigateTo({url:"/pages/order_details/index?order_id="+t.currentPinkOrder})},goList:function(){uni.navigateTo({url:"/pages/activity/combination/index"})},goDetail:function(t){this.pinkId=t,uni.navigateTo({url:"/pages/activity/combination_details/index?id="+t})},getPosterCode:function(){var t,e=this;t="wechat",(0,d.getProductCode)(this.pinkId,{type:t,product_type:40}).then((function(t){e.picData.codePic=t.data.url})).catch((function(t){e.$util.Tips({title:t})}))},getCombinationPink:function(){var t=this,e=this;uni.showLoading({title:"加载中",mask:!0}),(0,u.getCombinationPink)(e.pinkId).then((function(i){uni.hideLoading(),e.$set(e,"combinationData",i.data),e.$set(e,"storeCombination",i.data.product),e.$set(e,"pinkAll",i.data.groupUser),e.$set(e,"count",i.data.buying_count_num-i.data.yet_buying_num),e.$set(e,"userBool",i.data.create_status),e.$set(e,"pinkBool",i.data.status),e.$set(e,"currentPinkOrder",i.data.self?i.data.self.order_id:""),e.attr.productAttr=i.data.product.attr,e.productValue=i.data.product.sku,e.$set(e.picData,"goodsPic",i.data.product.image),e.$set(e.picData,"title",i.data.product.store_name.length>28?i.data.product.store_name.slice(0,28)+"...":i.data.product.store_name),e.$set(e.picData,"label",i.data.buying_count_num+"人团"),e.$set(e.picData,"price",i.data.product.price),e.$set(e.picData,"msg","原价:¥ "+i.data.product.ot_price+" 还差 "+e.count+" 人 拼团成功"),t.posterCompenents=!0,e.setOpenShare(),e.setProductSelect(),e.DefaultSelect()})).catch((function(e){t.$util.Tips({title:e}),uni.redirectTo({success:function(){},fail:function(){uni.navigateTo({url:"/pages/index/index"})}})}))},getCombinationProductList:function(){var t=this,e={page:1};(0,u.getCombinationList)(e).then((function(e){var i=e.data.list;t.storeCombinationHost=t.storeCombinationHost.concat(i)})).catch((function(e){t.$util.Tips({title:e})}))},setOpenShare:function(){var t=this,e={title:"您的好友"+t.pinkAll[0].nickname+"邀请您参团"+t.storeCombination.store_name,desc:t.storeCombination.store_name,link:window.location.protocol+"//"+window.location.host+"/pages/activity/combination_status/index?id="+t.pinkId,imgUrl:t.storeCombination.image};this.$wechat.isWeixin()&&this.$wechat.wechatEvevt(["updateAppMessageShareData","updateTimelineShareData","onMenuShareAppMessage","onMenuShareTimeline"],e).then((function(t){})).catch((function(t){t.is_ready&&(t.wx.updateAppMessageShareData(e),t.wx.updateTimelineShareData(e),t.wx.onMenuShareAppMessage(e),t.wx.onMenuShareTimeline(e))}))},getCombinationRemove:function(){var t=this;uni.showModal({title:"提示",content:"确定取消拼团?",success:function(e){if(e.confirm)(0,u.postCombinationRemove)({group_buying_id:t.pinkId}).then((function(e){t.$util.Tips({title:e.message},{tab:3})})).catch((function(e){t.$util.Tips({title:e.message})}));else if(e.cancel)return t.$util.Tips({title:"已取消"})}})},lookAll:function(){this.iShidden=!this.iShidden}}};e.default=f},1224:function(t,e,i){var o=i("a069");"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=i("4f06").default;n("6d8120d6",o,!0,{sourceMap:!1,shadowMode:!1})},"1c33":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i("2f62"),n={name:"Home",props:{},data:function(){return{top:"",bottom:""}},computed:(0,o.mapGetters)(["homeActive"]),methods:{setTouchMove:function(t){var e=this;t.touches[0].clientY<545&&t.touches[0].clientY>66&&(e.top=t.touches[0].clientY,e.bottom="auto")},open:function(){this.homeActive?this.$store.commit("CLOSE_HOME"):this.$store.commit("OPEN_HOME")}},created:function(){this.bottom="50px"}};e.default=n},"1cb6":function(t,e,i){"use strict";var o=i("c6df"),n=i.n(o);n.a},"262f":function(t,e,i){"use strict";i.r(e);var o=i("1c33"),n=i.n(o);for(var a in o)"default"!==a&&function(t){i.d(e,t,(function(){return o[t]}))}(a);e["default"]=n.a},"29fd":function(t,e,i){"use strict";var o;i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return o}));var n=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",[t.posterStatus?o("v-uni-view",{staticClass:"poster-poster"},[o("v-uni-view",{staticClass:"poster-pop"},[o("v-uni-image",{staticClass:"close",attrs:{src:i("b949")},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.posterImageClose.apply(void 0,arguments)}}}),o("v-uni-view",{staticClass:"user-code"},[t.posterImage?o("v-uni-image",{staticClass:"canvas",style:{width:t.wd+"px",height:t.hg+"px"},attrs:{src:t.posterImage}}):o("v-uni-canvas",{staticClass:"canvas",style:{width:t.wd+"px",height:t.hg+"px"},attrs:{"canvas-id":"myCanvas"}})],1),t.posterImage?o("v-uni-view",{staticClass:"keep"},[t._v("长按图片可以保存到手机")]):t._e()],1)],1):t._e(),t.posterImage?o("v-uni-view",{staticClass:"mask"}):t._e()],1)},a=[]},"499b":function(t,e,i){"use strict";var o=i("d383"),n=i.n(o);n.a},5622:function(t,e,i){"use strict";i.r(e);var o=i("29fd"),n=i("02bf");for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("499b");var s,r=i("f0c5"),c=Object(r["a"])(n["default"],o["b"],o["c"],!1,null,"5be12f72",null,!1,o["a"],s);e["default"]=c.exports},"65c3":function(t,e,i){"use strict";i.r(e);var o=i("679f"),n=i("e0e4");for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("e8be");var s,r=i("f0c5"),c=Object(r["a"])(n["default"],o["b"],o["c"],!1,null,"473f2892",null,!1,o["a"],s);e["default"]=c.exports},"65e3":function(t,e,i){"use strict";var o=i("4ea4");i("fb6a"),i("d3b7"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(i("3835"));i("96cf");var a=o(i("1da1")),s=i("5e22"),r={data:function(){return{wd:225,hg:357,posterImage:"",posterBag:"../static/images/poster-bag.png"}},props:{picData:{type:Object},posterStatus:{type:Boolean,default:!1}},watch:{posterStatus:function(t){t&&this.posterShow()}},onLoad:function(){},methods:{posterShow:function(){var t=this;return(0,a.default)(regeneratorRuntime.mark((function e(){var i,o,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return uni.showLoading({title:"海报生成中",mask:!0}),e.next=4,t.imgToBase(t.picData.goodsPic);case 4:return o=e.sent,e.next=7,t.imgToBase(t.picData.codePic);case 7:n=e.sent,i=[t.posterBag,o,n],t.bargainPosterCanvas(i,t.picData.title,t.picData.label,t.picData.msg,t.picData.price,t.wd,t.hg,(function(e){t.posterImage=e}));case 11:case"end":return e.stop()}}),e)})))()},imgToBase:function(t){return(0,a.default)(regeneratorRuntime.mark((function e(){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,s.imgToBase)({image:t});case 2:return i=e.sent,e.abrupt("return",i.data.image);case 4:case"end":return e.stop()}}),e)})))()},savePosterPath:function(t){var e=this;uni.getSetting({success:function(i){i.authSetting["scope.writePhotosAlbum"]?uni.saveImageToPhotosAlbum({filePath:t,success:function(t){e.$util.Tips({title:"保存成功",icon:"success"})},fail:function(t){e.$util.Tips({title:"保存失败"})}}):uni.authorize({scope:"scope.writePhotosAlbum",success:function(){uni.saveImageToPhotosAlbum({filePath:t,success:function(t){e.$util.Tips({title:"保存成功",icon:"success"})},fail:function(t){e.$util.Tips({title:"保存失败"})}})}})}})},posterImageClose:function(){this.$emit("update:posterStatus",!1),this.posterImage=""},downloadFilestoreImage:function(t){var e=this;return new Promise((function(i,o){var n=e;uni.downloadFile({url:t,success:function(t){i(t.tempFilePath)},fail:function(){return n.$util.Tips({title:""})}})}))},bargainPosterCanvas:function(t,e,i,o,a,s,r,c){var u=this,d=this,l=uni.createCanvasContext("myCanvas",this);l.clearRect(0,0,0,0),l.fillStyle="#ccc",l.fillRect(0,0,s,r),uni.getImageInfo({src:t[0],success:function(p){p.width,p.height;l.drawImage(t[0],0,0,s,r);var h=.6656,f=.167,g=.1847,m=.175,v=.385,b=.77,w=.1571,C=.2916,A=.6857,k=.3916,x=.1036,y=.2306;l.drawImage(t[1],s*w,r*C,s*A,r*k),l.save(),l.drawImage(t[2],s*v,r*b,55,55),l.save();var S=25,D=d.textByteLength(e,S),B=(0,n.default)(D,3),_=(B[0],B[1]),j=B[2];if(j>2){j=2;var I=_.slice(0,2);I[I.length-1]+="…",_=I}l.setTextAlign("left"),l.setFillStyle("#000"),_.length<2?l.setFontSize(16):l.setFontSize(14);for(var N=3,M=0;M<_.length;M++)M?l.fillText(_[M],20,25+N*M+13,1100):l.fillText(_[M],20,25,1100);l.setTextAlign("left"),l.setFontSize(10),l.setFillStyle("#FFF"),l.fillText(i,s*h,r*f),l.save(),l.setFillStyle("red"),l.font="bold 18px Arial",l.fillText(a,s*g,r*m),l.save(),l.setFontSize(8),l.setFillStyle("#3F3F3F"),l.fillText(o,s*x,r*y),l.save(),l.draw(!0,(function(){uni.canvasToTempFilePath({canvasId:"myCanvas",fileType:"png",quality:1,success:function(t){c&&c(t.tempFilePath),uni.hideLoading()}},u)}))},fail:function(t){uni.hideLoading(),d.Tips({title:"无法获取图片信息"})}})},textByteLength:function(t,e){for(var i=0,o=1,n=0,a=[],s=0;s<t.length;s++)t.charCodeAt(s)>255?(i+=2,i>o*e&&(i++,a.push(t.slice(n,s)),n=s,o++)):(i++,i>o*e&&(a.push(t.slice(n,s)),n=s,o++));return a.push(t.slice(n,t.length)),[i,a,o]}}};e.default=r},"679f":function(t,e,i){"use strict";var o;i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return o}));var n=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"group-con"},[o("div",{staticClass:"header acea-row row-between-wrapper"},[o("div",{staticClass:"pictrue"},[o("img",{attrs:{src:t.storeCombination.image}})]),o("div",{staticClass:"text"},[o("div",{staticClass:"line1",domProps:{textContent:t._s(t.storeCombination.store_name)}}),o("div",{staticClass:"money"},[t._v("¥"),o("span",{staticClass:"num",domProps:{textContent:t._s(t.storeCombination.price)}}),o("span",{staticClass:"team cart-color",domProps:{textContent:t._s((t.combinationData.buying_count_num?t.combinationData.buying_count_num:"")+"人拼")}})])]),-1===t.pinkBool?o("div",{staticClass:"iconfont icon-pintuanshibai"}):10===t.pinkBool?o("div",{staticClass:"iconfont icon-pintuanchenggong font-color-red"}):t._e()]),o("div",{staticClass:"wrapper"},[0===t.pinkBool?o("div",{staticClass:"title acea-row row-center-wrapper"},[o("div",{staticClass:"line"}),o("div",{staticClass:"name acea-row row-center-wrapper"},[t._v("剩余"),o("CountDown",{attrs:{"is-day":!1,"tip-text":" ","day-text":" ","hour-text":" : ","minute-text":" : ","second-text":" ",datatime:t.combinationData.end_time}}),t._v("结束")],1),o("div",{staticClass:"line"})]):t._e(),10===t.pinkBool?o("div",{staticClass:"tips font-color-red"},[t._v("恭喜您拼团成功")]):-1===t.pinkBool?o("div",{staticClass:"tips"},[t._v("还差"+t._s(t.count)+"人,拼团失败")]):0===t.pinkBool?o("div",{staticClass:"tips font-color-red"},[t._v("拼团中,还差"+t._s(t.count)+"人拼团成功")]):t._e(),o("div",{staticClass:"list acea-row row-middle",class:t.iShidden?"on":"result"},[t.pinkAll.length>0?o("div",{staticClass:"acea-row row-middle"},t._l(t.pinkAll,(function(t,e){return o("div",{key:e,staticClass:"pictrue"},[o("img",{attrs:{src:t.avatar}})])})),0):t._e(),t._l(t.count,(function(e){return 0===t.pinkBool||-1===t.pinkBool?o("div",{key:e,staticClass:"pictrue"},[o("img",{staticClass:"img-none",attrs:{src:i("0152")}})]):t._e()}))],2),t.count>9?o("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?"收起":"查看全部")),o("span",{staticClass:"iconfont",class:t.iShidden?"icon-xiangshang":"icon-xiangxia"})]):t._e(),0!==t.userBool&&0===t.pinkBool?o("div",[o("div",{staticClass:"teamBnt bg-color-red",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.listenerActionSheet.apply(void 0,arguments)}}},[t._v("邀请好友参团")])]):0===t.userBool&&0===t.pinkBool&&t.count>0?o("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._e(),10===t.pinkBool||-1===t.pinkBool?o("div",{staticClass:"teamBnt bg-color-red",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goDetail(t.combinationData.product_group_id)}}},[t._v("再次开团")]):t._e(),0===t.pinkBool&&0!==t.userBool?o("div",{staticClass:"cancel",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.getCombinationRemove.apply(void 0,arguments)}}},[o("span",{staticClass:"iconfont icon-guanbi3"}),t._v("取消开团")]):t._e(),10===t.pinkBool?o("div",{staticClass:"lookOrder",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goOrder.apply(void 0,arguments)}}},[t._v("查看订单信息"),o("span",{staticClass:"iconfont icon-xiangyou"})]):t._e()]),o("div",{staticClass:"group-recommend"},[o("div",{staticClass:"title acea-row row-between-wrapper"},[o("div",[t._v("大家都在拼")]),o("div",{staticClass:"more",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goList.apply(void 0,arguments)}}},[t._v("更多拼团"),o("span",{staticClass:"iconfont icon-jiantou"})])]),o("div",{staticClass:"list acea-row row-middle"},t._l(t.storeCombinationHost,(function(e,i){return o("div",{key:i,staticClass:"item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goDetail(e.product_group_id)}}},[o("div",{staticClass:"pictrue"},[o("img",{attrs:{src:e.product.image}}),o("div",{staticClass:"team",domProps:{textContent:t._s(e.buying_count_num+"人团")}})]),o("div",{staticClass:"name line1",domProps:{textContent:t._s(e.product.store_name)}}),o("div",{staticClass:"money font-color-red",domProps:{textContent:t._s("¥"+e.price)}})])})),0)]),o("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)}}}),o("v-uni-view",{staticClass:"generate-posters acea-row row-middle",class:t.posters?"on":""},[!0===t.weixinStatus?o("v-uni-button",{staticClass:"item",attrs:{"hover-class":"none"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.H5ShareBox=!0}}},[o("v-uni-view",{staticClass:"iconfont icon-weixin3"}),o("v-uni-view",{},[t._v("发送给朋友")])],1):t._e(),o("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)}}},[o("v-uni-view",{staticClass:"iconfont icon-haibao"}),o("v-uni-view",{},[t._v("生成海报")])],1)],1),t.posters?o("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?o("v-uni-view",{staticClass:"share-box"},[o("v-uni-image",{attrs:{src:"/static/images/share-info.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.H5ShareBox=!1}}})],1):t._e(),o("home"),t.posterCompenents?o("canvasPoster",{attrs:{posterStatus:t.posterStatus,picData:t.picData},on:{"update:posterStatus":function(e){arguments[0]=e=t.$handleEvent(e),t.posterStatus=e},"update:poster-status":function(e){arguments[0]=e=t.$handleEvent(e),t.posterStatus=e}}}):t._e()],1)},a=[]},"6bac":function(t,e,i){var o=i("24fb");e=o(!1),e.push([t.i,".pictrueBox[data-v-6c588de2]{width:%?130?%;height:%?120?%}\n\n/*返回主页按钮*/.home[data-v-6c588de2]{position:fixed;color:#fff;text-align:center;z-index:9999;right:%?15?%;display:-webkit-box;display:-webkit-flex;display:flex}.home .homeCon[data-v-6c588de2]{-webkit-border-radius:%?50?%;border-radius:%?50?%;opacity:0;height:0;color:#e93323;width:0}.home .homeCon.on[data-v-6c588de2]{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:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;background:#f44939!important}.home .homeCon .iconfont[data-v-6c588de2]{font-size:%?48?%;color:#fff;display:inline-block;margin:0 auto}.home .pictrue[data-v-6c588de2]{width:%?86?%;height:%?86?%;-webkit-border-radius:50%;border-radius:50%;margin:0 auto}.home .pictrue .image[data-v-6c588de2]{width:100%;height:100%;-webkit-border-radius:50%;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},7141:function(t,e,i){"use strict";var o;i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return o}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticStyle:{"touch-action":"none"}},[i("v-uni-view",{staticClass:"home",staticStyle:{position:"fixed"},style:{top:t.top+"px",bottom:t.bottom},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-red",class:!0===t.homeActive?"on":""},[i("v-uni-navigator",{staticClass:"iconfont icon-shouye-xianxing",attrs:{"hover-class":"none",url:"/pages/index/index","open-type":"switchTab"}}),i("v-uni-navigator",{staticClass:"iconfont icon-caigou-xianxing",attrs:{"hover-class":"none",url:"/pages/order_addcart/order_addcart","open-type":"switchTab"}}),i("v-uni-navigator",{staticClass:"iconfont icon-yonghu1",attrs:{"hover-class":"none",url:"/pages/user/index","open-type":"switchTab"}})],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?"/static/images/close.gif":"/static/images/open.gif"}})],1)],1)],1)],1)},a=[]},"96e1":function(t,e,i){"use strict";i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={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},id:{type:String|Number,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 i=t.datatime-Date.parse(new Date)/1e3,o=0,n=0,a=0,s=0;i>0?(o=!0===t.isDay?Math.floor(i/86400):0,n=Math.floor(i/3600)-24*o,a=Math.floor(i/60)-24*o*60-60*n,s=Math.floor(i)-24*o*60*60-60*n*60-60*a,n<=9&&(n="0"+n),a<=9&&(a="0"+a),s<=9&&(s="0"+s),t.day=o,t.hour=n,t.minute=a,t.second=s):(t.day="00",t.hour="00",t.minute="00",t.second="00",clearInterval(e),uni.$emit("endTime",t.id))}e(),setInterval(e,1e3)}}};e.default=o},"985e":function(t,e,i){"use strict";var o=i("1224"),n=i.n(o);n.a},a069:function(t,e,i){var o=i("24fb");e=o(!1),e.push([t.i,".time[data-v-a4d8c104]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.red[data-v-a4d8c104]{color:#fc4141;margin:0 %?4?%}",""]),t.exports=e},b949:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAABLCAYAAAAPgLXeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ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LvHHFets4PJUr7s78zFnXlV0tpKHb5KP+UrHjNtghkLZFDpYsbYLoQqsFr2e04yubsuFrunhAptvuAA9rCnNQDTFFt+xptuR5p9jm5qB8KNCz/imClocObL5cpGdQNEFnmI89NTykdTmSO3ABIjO5vuvzeHAoGrFKRw3dNbbAXEUnSn2B/oc7NXBQjFU1PNZcRA9XwT563y3yeLrxZzfGIvVBj5bg/2ioz752R/cTnNFrNzm1ypZmgTTYjAHPBP+K8FQXT3SE1x2ve6j8/Us0MKHPwqJLAb3XD5PN4pUaeydJfy2zXbNf4qpL6VYYKhDGl1Q6KzPu/MZcYl27HHIXTEG87GQhzSUNXCQ8jl44Xol6Lb7vOmlxHOttXjpOijCY5GM/tQdsMvvG+W/EQWNf6QjPgYBenNAgaU9nLUOfAAPQYVlWZ91tGdxHCQmg6K7c6QlBf5TM8KNcCPcCDfCjXAj3Ag3wo1wI9wIN8KNcCPcCDfCjXAjPKb2R4ABAP1fyHzQ0oCyAAAAAElFTkSuQmCC"},bc35:function(t,e,i){var o=i("24fb");e=o(!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/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.generate-posters[data-v-473f2892]{width:100%;height:%?170?%;background-color:#fff;position:fixed;left:0;bottom:0;z-index:301;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);-webkit-transition:all .3s cubic-bezier(.25,.5,.5,.9);transition:all .3s cubic-bezier(.25,.5,.5,.9);border-top:%?1?% solid #eee}.generate-posters.on[data-v-473f2892]{-webkit-transform:translateZ(0);transform:translateZ(0)}.generate-posters .item[data-v-473f2892]{-webkit-box-flex:50%;-webkit-flex:50%;flex:50%;text-align:center;font-size:%?30?%}.generate-posters .item .iconfont[data-v-473f2892]{font-size:%?80?%;color:#5eae72}.generate-posters .item .iconfont.icon-haibao[data-v-473f2892]{color:#5391f1}\n/*开团*/.group-con .header[data-v-473f2892]{width:100%;height:%?186?%;background-color:#fff;border-top:1px solid #f5f5f5;padding:0 %?30?%;position:relative}.group-con .header .iconfont[data-v-473f2892]{font-size:%?100?%;position:absolute;color:#ccc;right:%?33?%;bottom:%?20?%}.group-con .header .pictrue[data-v-473f2892]{width:%?140?%;height:%?140?%}.group-con .header .pictrue img[data-v-473f2892]{width:100%;height:100%;-webkit-border-radius:%?6?%;border-radius:%?6?%}.group-con .header .text[data-v-473f2892]{width:%?540?%;font-size:%?30?%;color:#222}.group-con .header .text .money[data-v-473f2892]{font-size:%?24?%;font-weight:700;margin-top:%?15?%}.group-con .header .text .money .num[data-v-473f2892]{font-size:%?32?%}.group-con .header .text .money .team[data-v-473f2892]{padding:%?1?% %?10?%;font-weight:400;-webkit-border-radius:%?50?%;border-radius:%?50?%;font-size:%?20?%;vertical-align:%?4?%;margin-left:%?15?%}.group-con .wrapper[data-v-473f2892]{background-color:#fff;margin-top:%?20?%;padding:%?2?% 0 %?35?% 0}.group-con .wrapper .title[data-v-473f2892]{margin-top:%?30?%}.group-con .wrapper .title .line[data-v-473f2892]{width:%?136?%;height:1px;background-color:#ddd}.group-con .wrapper .title .name[data-v-473f2892]{margin:0 %?45?%;font-size:%?28?%;color:#282828}.group-con .wrapper .title .name .time[data-v-473f2892]{margin:0 %?14?%}.group-con .wrapper .title .name .timeTxt[data-v-473f2892]{color:#fc4141}.group-con .wrapper .title .name .time .styleAll[data-v-473f2892]{background-color:#ffcfcb;text-align:center;-webkit-border-radius:%?3?%;border-radius:%?3?%;font-size:%?28?%;font-weight:700;display:inline-block;vertical-align:middle;color:#fc4141;padding:%?2?% %?5?%}.group-con .wrapper .tips[data-v-473f2892]{font-size:%?30?%;font-weight:700;text-align:center;margin-top:%?30?%;color:#999}.group-con .wrapper .list[data-v-473f2892]{padding:0 %?30?%;margin-top:%?45?%}.group-con .wrapper .list.result[data-v-473f2892]{max-height:%?240?%;overflow:hidden}.group-con .wrapper .list.result.on[data-v-473f2892]{max-height:%?2000?%}.group-con .wrapper .list .pictrue[data-v-473f2892]{width:%?94?%;height:%?94?%;margin:0 0 %?29?% %?35?%}.group-con .wrapper .list .pictrue img[data-v-473f2892]{width:100%;height:100%;-webkit-border-radius:50%;border-radius:50%;border:%?2?% solid #e93323}.group-con .wrapper .list .pictrue img.img-none[data-v-473f2892]{border:none}.group-con .wrapper .lookAll[data-v-473f2892]{font-size:%?24?%;color:#282828;padding-top:%?10?%}.group-con .wrapper .lookAll .iconfont[data-v-473f2892]{font-size:%?25?%;margin:%?2?% 0 0 %?10?%}.group-con .wrapper .teamBnt[data-v-473f2892]{font-size:%?30?%;width:%?620?%;height:%?86?%;-webkit-border-radius:%?50?%;border-radius:%?50?%;text-align:center;line-height:%?86?%;color:#fff;margin:%?21?% auto 0 auto}.group-con .wrapper .cancel[data-v-473f2892],\n.group-con .wrapper .lookOrder[data-v-473f2892]{text-align:center;font-size:%?24?%;color:#282828;padding-top:%?30?%}.group-con .wrapper .cancel .iconfont[data-v-473f2892]{font-size:%?35?%;color:#2c2c2c;vertical-align:%?-4?%;margin-right:%?9?%}.group-con .wrapper .lookOrder .iconfont[data-v-473f2892]{font-size:%?25?%;color:#2c2c2c;margin-left:%?10?%}.group-con .group-recommend[data-v-473f2892]{background-color:#fff;margin-top:%?25?%}.group-con .group-recommend .title[data-v-473f2892]{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-473f2892]{color:grey}.group-con .group-recommend .title .more .iconfont[data-v-473f2892]{margin-left:%?13?%;font-size:%?28?%}.group-con .group-recommend .list[data-v-473f2892]{margin-top:%?30?%}.group-con .group-recommend .list .item[data-v-473f2892]{width:%?210?%;margin:0 0 %?25?% %?30?%}.group-con .group-recommend .list .item .pictrue[data-v-473f2892]{width:100%;height:%?210?%;position:relative}.group-con .group-recommend .list .item .pictrue img[data-v-473f2892]{width:100%;height:100%;-webkit-border-radius:%?10?%;border-radius:%?10?%}.group-con .group-recommend .list .item .pictrue .team[data-v-473f2892]{position:absolute;top:%?28?%;left:%?-5?%;min-width:%?100?%;height:%?36?%;line-height:%?36?%;text-align:center;-webkit-border-radius:0 %?18?% %?18?% 0;border-radius:0 %?18?% %?18?% 0;font-size:%?20?%;color:#fff;background-image:-webkit-gradient(linear,left top,right top,from(#fb5445),to(#e93323));background-image:-webkit-linear-gradient(left,#fb5445,#e93323);background-image:linear-gradient(90deg,#fb5445 0,#e93323);background-image:-webkit-linear-gradient(90deg,#fb5445 0,#e93323);background-image:-moz-linear-gradient(to right,#fb5445 0,#e93323 100%)}.group-con .group-recommend .list .item .name[data-v-473f2892]{font-size:%?28?%;color:#333;margin-top:.18rem}.group-con .group-recommend .list .item .money[data-v-473f2892]{font-weight:700;font-size:%?28?%}.share-box[data-v-473f2892]{z-index:1000;position:fixed;left:0;top:0;width:100%;height:100%}.share-box uni-image[data-v-473f2892]{width:100%;height:100%}',""]),t.exports=e},c117:function(t,e,i){"use strict";var o=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getCombinationList=a,e.getCombinationUser=s,e.getActivitycategory=r,e.getCombinationDetail=c,e.getCombinationPink=u,e.postCombinationRemove=d,e.getSeckillDetail=l,e.getCombinationPoster=p,e.seckillCode=h,e.scombinationCode=f,e.getSeckillIndexTime=g,e.getSeckillList=m,e.getPresellList=v,e.getAssistList=b,e.initiateAssistApi=w,e.getAssistDetail=C,e.assistHelpList=A,e.presellAgreement=k,e.assistUserData=x,e.postAssistHelp=y,e.getAssistUser=S,e.getBargainUserList=D,e.getBargainUserCancel=B;var n=o(i("112d"));function a(t){return n.default.get("store/product/group/lst",t,{noAuth:!0})}function s(t){return n.default.get("store/product/group/count",t,{noAuth:!0})}function r(t){return n.default.get("product/spu/active/category/"+t,{},{noAuth:!0})}function c(t){return n.default.get("store/product/group/detail/"+t,{},{noAuth:!0})}function u(t){return n.default.get("store/product/group/get/"+t)}function d(t){return n.default.post("store/product/group/cancel",t)}function l(t){return n.default.get("store/product/seckill/detail/"+t,{},{noAuth:!0})}function p(t){return n.default.post("combination/poster",t)}function h(t,e){return n.default.get("seckill/code/"+t,e)}function f(t){return n.default.get("combination/code/"+t)}function g(){return n.default.get("store/product/seckill/select",{},{noAuth:!0})}function m(t){return n.default.get("store/product/seckill/lst",t,{noAuth:!0})}function v(t){return n.default.get("store/product/presell/lst",t,{noAuth:!0})}function b(t){return n.default.get("store/product/assist/lst",t,{noAuth:!0})}function w(t){return n.default.post("store/product/assist/create/"+t)}function C(t){return n.default.get("store/product/assist/detail/"+t)}function A(t,e){return n.default.get("store/product/assist/user/"+t,e)}function k(){return n.default.get("store/product/presell/agree")}function x(){return n.default.get("store/product/assist/count",{},{noAuth:!0})}function y(t){return n.default.post("store/product/assist/set/"+t)}function S(t){return n.default.get("store/product/assist/share/"+t)}function D(t){return n.default.get("store/product/assist/set/lst",t)}function B(t){return n.default.post("store/product/assist/set/delete/"+t)}},c6df:function(t,e,i){var o=i("6bac");"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=i("4f06").default;n("6a4e1020",o,!0,{sourceMap:!1,shadowMode:!1})},ce89:function(t,e,i){var o=i("bc35");"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=i("4f06").default;n("2de765b2",o,!0,{sourceMap:!1,shadowMode:!1})},d2ea:function(t,e,i){"use strict";var o;i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return o}));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"},[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"},[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"},[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"},[t._v(t._s(t.second))]),t.secondText?i("v-uni-text",{staticClass:"timeTxt red"},[t._v(t._s(t.secondText))]):t._e()],1)},a=[]},d383:function(t,e,i){var o=i("ffce");"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=i("4f06").default;n("754f95d6",o,!0,{sourceMap:!1,shadowMode:!1})},e0e4:function(t,e,i){"use strict";i.r(e);var o=i("0d2c"),n=i.n(o);for(var a in o)"default"!==a&&function(t){i.d(e,t,(function(){return o[t]}))}(a);e["default"]=n.a},e8be:function(t,e,i){"use strict";var o=i("ce89"),n=i.n(o);n.a},ec1f:function(t,e,i){"use strict";i.r(e);var o=i("d2ea"),n=i("0687");for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("985e");var s,r=i("f0c5"),c=Object(r["a"])(n["default"],o["b"],o["c"],!1,null,"a4d8c104",null,!1,o["a"],s);e["default"]=c.exports},ffce:function(t,e,i){var o=i("24fb");e=o(!1),e.push([t.i,".poster-poster[data-v-5be12f72]{width:100%;height:100%;width:%?450?%;height:%?714?%}.poster-pop[data-v-5be12f72]{position:fixed;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);top:50%;margin:0 auto;margin-top:%?-357?%;z-index:999}.poster-pop uni-image[data-v-5be12f72]{width:100%;height:100%;display:block}.poster-pop .close[data-v-5be12f72]{width:%?46?%;height:%?75?%;position:fixed;right:0;top:%?-73?%;display:block;z-index:3999}.poster-pop .save-poster[data-v-5be12f72]{background-color:#df2d0a;font-size::22rpx;color:#fff;text-align:center;height:%?76?%;line-height:%?76?%;width:100%;margin-top:%?20?%}.poster-pop .keep[data-v-5be12f72]{color:#fff;text-align:center;font-size:%?25?%;margin-top:%?10?%}.mask[data-v-5be12f72]{z-index:300!important;position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.6);z-index:9}",""]),t.exports=e}}]);