(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-activity-bargain-index"],{"04e6":function(t,e,a){"use strict";var n=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.orderData=r,e.getUserInfo=o,e.spreadBanner=s,e.getAddressList=u,e.addressEdit=d,e.addressDel=c,e.setAddressDefault=l,e.getCartList=f,e.getCartNum=g,e.cartDel=p,e.getcollectList=v,e.delcollect=b,e.spread=m,e.stylelist=h,e.auth=x,e.subscribe=y,e.enDetails=_,e.my_reply=w,e.to_my_reply=T;var i=n(a("4c3b"));function r(t){return(0,i.default)({url:"/api/order/data",method:"get",data:t})}function o(t){return(0,i.default)({url:"/api/userinfo",method:"get",data:t})}function s(t){return(0,i.default)({url:"/api/spread/banner",method:"get",data:t})}function u(t){return(0,i.default)({url:"/api/address/list",method:"get",data:t})}function d(t){return(0,i.default)({url:"/api/address/edit",method:"post",data:t})}function c(t){return(0,i.default)({url:"/api/address/del",method:"post",data:t})}function l(t){return(0,i.default)({url:"/api/address/default/set",method:"post",data:t})}function f(t){return(0,i.default)({url:"/api/cart/list",method:"get",data:t})}function g(t){return(0,i.default)({url:"/api/cart/num",method:"post",data:t})}function p(t){return(0,i.default)({url:"/api/cart/del",method:"post",data:t})}function v(t){return(0,i.default)({url:"/api/collect/user",method:"get",data:t})}function b(t){return(0,i.default)({url:"/api/collect/del",method:"post",data:t})}function m(t){return(0,i.default)({url:"/api/spread/people",method:"POST",data:t})}function h(t){return(0,i.default)({url:"/api/enterprise/stylelist",method:"GET",data:t})}function x(t){return(0,i.default)({url:"/api/user/auth",method:"POST",data:t})}function y(t){return(0,i.default)({url:"/api/user/subscribe",method:"GET",data:t})}function _(t){return(0,i.default)({url:"/api/enterprise/details",method:"GET",data:t})}function w(t){return(0,i.default)({url:"/api/article/my_reply",method:"GET",data:t})}function T(t){return(0,i.default)({url:"/api/article/to_my_reply",method:"GET",data:t})}},"0e87":function(t,e,a){"use strict";var n=a("1a2c"),i=a.n(n);i.a},"15b5":function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[t.loading&&!t.loaded?a("v-uni-view",{staticClass:"Loads acea-row row-center-wrapper",staticStyle:{"margin-top":".2rem"}},[t.loading?a("v-uni-view",[a("v-uni-view",{staticClass:"iconfont icon-jiazai loading acea-row row-center-wrapper"}),t._v("正在加载中")],1):a("v-uni-view",[t._v("上拉加载更多")])],1):t._e()],1)},r=[]},"1a2c":function(t,e,a){var n=a("8bcc");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("07ed66a6",n,!0,{sourceMap:!1,shadowMode:!1})},"1a4c":function(t,e,a){"use strict";a.r(e);var n=a("ab70"),i=a("a94b");for(var r in i)"default"!==r&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("4f6d");var o,s=a("f0c5"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"244d8f0e",null,!1,n["a"],o);e["default"]=u.exports},"2e32":function(t,e,a){"use strict";var n=a("84db"),i=a.n(n);i.a},"2ef6":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{title:{type:String,default:"暂无记录"}}};e.default=n},4012:function(t,e,a){"use strict";a.r(e);var n=a("faa8"),i=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"4f6d":function(t,e,a){"use strict";var n=a("a3f7"),i=a.n(n);i.a},"56e8":function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/uni-page-body[data-v-4559b7d2]{background-color:#f5f5f5}\n/*砍价记录*/.bargain-record .item .picTxt .text .time .styleAll[data-v-4559b7d2]{color:#fc4141;font-size:%?24?%}.bargain-record .item .picTxt .text .time .red[data-v-4559b7d2]{color:#999;font-size:%?24?%}.bargain-record .item[data-v-4559b7d2]{background-color:#fff;margin-bottom:%?12?%}.bargain-record .item .picTxt[data-v-4559b7d2]{height:%?210?%;border-bottom:1px solid #f0f0f0;padding:0 %?30?%}.bargain-record .item .picTxt .pictrue[data-v-4559b7d2]{width:%?150?%;height:%?150?%}.bargain-record .item .picTxt .pictrue uni-image[data-v-4559b7d2]{width:100%;height:100%;border-radius:%?6?%}.bargain-record .item .picTxt .text[data-v-4559b7d2]{width:%?515?%;font-size:%?30?%;color:#282828;height:%?150?%}.bargain-record .item .picTxt .text .time[data-v-4559b7d2]{font-size:%?24?%;color:#868686;justify-content:left!important}.bargain-record .item .picTxt .text .successTxt[data-v-4559b7d2]{font-size:%?24?%}.bargain-record .item .picTxt .text .endTxt[data-v-4559b7d2]{font-size:%?24?%;color:#999}.bargain-record .item .picTxt .text .money[data-v-4559b7d2]{font-size:%?24?%}.bargain-record .item .picTxt .text .money .num[data-v-4559b7d2]{font-size:%?32?%;font-weight:700}.bargain-record .item .picTxt .text .money .symbol[data-v-4559b7d2]{font-weight:700}.bargain-record .item .bottom[data-v-4559b7d2]{height:%?100?%;padding:0 %?30?%;font-size:%?27?%}.bargain-record .item .bottom .purple[data-v-4559b7d2]{color:#f78513}.bargain-record .item .bottom .end[data-v-4559b7d2]{color:#999}.bargain-record .item .bottom .success[data-v-4559b7d2]{color:#e93323}.bargain-record .item .bottom .bnt[data-v-4559b7d2]{font-size:%?27?%;color:#fff;width:%?176?%;height:%?60?%;border-radius:%?32?%;text-align:center;line-height:%?60?%}.bargain-record .item .bottom .bnt.cancel[data-v-4559b7d2]{color:#aaa;border:1px solid #ddd}.bargain-record .item .bottom .bnt ~ .bnt[data-v-4559b7d2]{margin-left:%?18?%}body.?%PAGE?%[data-v-4559b7d2]{background-color:#f5f5f5}',""]),t.exports=e},6677:function(t,e,a){"use strict";a.r(e);var n=a("15b5"),i=a("8c33");for(var r in i)"default"!==r&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("2e32");var o,s=a("f0c5"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"60697522",null,!1,n["a"],o);e["default"]=u.exports},"6ae6":function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,".Loads[data-v-60697522]{height:%?80?%;font-size:%?25?%;color:#000}.Loads .iconfont[data-v-60697522]{font-size:%?30?%;margin-right:%?10?%;height:%?32?%;line-height:%?32?%}\n/*加载动画*/@-webkit-keyframes load-data-v-60697522{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes load-data-v-60697522{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.loadingpic[data-v-60697522]{-webkit-animation:load-data-v-60697522 3s linear 1s infinite;animation:load-data-v-60697522 3s linear 1s infinite}.loading[data-v-60697522]{-webkit-animation:load-data-v-60697522 linear 1s infinite;animation:load-data-v-60697522 linear 1s infinite}",""]),t.exports=e},"76c6":function(t,e,a){"use strict";var n=a("fe27"),i=a.n(n);i.a},"84db":function(t,e,a){var n=a("6ae6");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("7696f713",n,!0,{sourceMap:!1,shadowMode:!1})},"8bcc":function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,".time[data-v-0d9dfabe]{display:flex;justify-content:center}.red[data-v-0d9dfabe]{color:#fc4141;margin:0 %?4?%}",""]),t.exports=e},"8c33":function(t,e,a){"use strict";a.r(e);var n=a("aac6"),i=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"9da6":function(t,e,a){"use strict";a("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;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}},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,a=0,n=0,i=0,r=0;e>0?(a=!0===t.isDay?Math.floor(e/86400):0,n=Math.floor(e/3600)-24*a,i=Math.floor(e/60)-24*a*60-60*n,r=Math.floor(e)-24*a*60*60-60*n*60-60*i,n<=9&&(n="0"+n),i<=9&&(i="0"+i),r<=9&&(r="0"+r),t.day=a,t.hour=n,t.minute=i,t.second=r):(t.day="00",t.hour="00",t.minute="00",t.second="00")}e(),setInterval(e,1e3)}}};e.default=n},a203:function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[t.bargain.length>0?[a("div",{ref:"container",staticClass:"bargain-record"},[t._l(t.bargain,(function(e,n){return a("div",{key:n,staticClass:"item"},[a("div",{staticClass:"picTxt acea-row row-between-wrapper"},[a("div",{staticClass:"pictrue"},[a("v-uni-image",{attrs:{src:e.image}})],1),a("div",{staticClass:"text acea-row row-column-around"},[a("div",{staticClass:"line1",staticStyle:{width:"100%"}},[t._v(t._s(e.title))]),1===e.status?a("count-down",{attrs:{"justify-left":"justify-content:left","is-day":!0,"tip-text":"倒计时 ","day-text":" 天 ","hour-text":" 时 ","minute-text":" 分 ","second-text":" 秒",datatime:e.datatime}}):3===e.status?a("div",{staticClass:"successTxt font-color-red"},[t._v("砍价成功")]):a("div",{staticClass:"endTxt"},[t._v("活动已结束")]),a("div",{staticClass:"money font-color-red"},[t._v("已砍至"),a("span",{staticClass:"symbol"},[t._v("¥")]),a("span",{staticClass:"num"},[t._v(t._s(e.residue_price))])])],1)]),a("div",{staticClass:"bottom acea-row row-between-wrapper"},[1===e.status?a("div",{staticClass:"purple"},[t._v("活动进行中")]):3===e.status?a("div",{staticClass:"success"},[t._v("砍价成功")]):a("div",{staticClass:"end"},[t._v("活动已结束")]),a("div",{staticClass:"acea-row row-middle row-right"},[1===e.status?a("div",{staticClass:"bnt cancel",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.getBargainUserCancel(e.bargain_id)}}},[t._v("取消活动")]):t._e(),1===e.status?a("div",{staticClass:"bnt bg-color-red",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.goDetail(e.bargain_id)}}},[t._v("继续砍价")]):t._e()])])])})),a("Loading",{attrs:{loaded:t.status,loading:t.loadingList}})],2)]:t._e(),0==t.bargain.length?[a("emptyPage",{attrs:{title:"暂无砍价记录~"}})]:t._e()],2)},r=[]},a3f7:function(t,e,a){var n=a("b85e");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("556a9d6e",n,!0,{sourceMap:!1,shadowMode:!1})},a94b:function(t,e,a){"use strict";a.r(e);var n=a("2ef6"),i=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},aac6:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"Loading",props:{loaded:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}}};e.default=n},ab70:function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"empty-box"},[a("v-uni-image",{attrs:{src:"/static/images/empty-box.png"}}),a("v-uni-view",{staticClass:"txt"},[t._v(t._s(t.title))])],1)},r=[]},abe1:function(t,e,a){"use strict";a.r(e);var n=a("a203"),i=a("4012");for(var r in i)"default"!==r&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("76c6");var o,s=a("f0c5"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"4559b7d2",null,!1,n["a"],o);e["default"]=u.exports},b85e:function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/.empty-box[data-v-244d8f0e]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:%?200?%}.empty-box uni-image[data-v-244d8f0e]{width:%?414?%;height:%?240?%}.empty-box .txt[data-v-244d8f0e]{font-size:%?26?%;color:#999}',""]),t.exports=e},dcac:function(t,e,a){"use strict";var n=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getBargainDetail=r,e.postBargainHelpCount=o,e.postBargainStartUser=s,e.postBargainStart=u,e.postBargainHelpPrice=d,e.postBargainHelp=c,e.postBargainHelpList=l,e.postBargainShare=f,e.getBargainUserList=g,e.getBargainUserCancel=p,e.getCombinationList=v,e.getCombinationDetail=b,e.getCombinationPink=m,e.postCombinationRemove=h,e.getBargainList=x,e.bargainUserCancel=y,e.getSeckillIndexTime=_,e.getSeckillList=w,e.getSeckillDetail=T,e.getBargainPoster=C,e.getCombinationPoster=L,e.seckillCode=k,e.scombinationCode=B;var i=n(a("4c3b"));function r(t,e){return(0,i.default)({url:"/api/bargain/detail/"+e,method:"get",data:t})}function o(t){return(0,i.default)({url:"/api/bargain/help/count",method:"post",data:t})}function s(t){return(0,i.default)({url:"/api/bargain/start/user",method:"post",data:t})}function u(t){return(0,i.default)({url:"/api/bargain/start",method:"post",data:t})}function d(t){return(0,i.default)({url:"/api/bargain/help/price",method:"post",data:t})}function c(t){return(0,i.default)({url:"/api/bargain/help",method:"post",data:t})}function l(t){return(0,i.default)({url:"/api/bargain/help/list",method:"post",data:t})}function f(t){return(0,i.default)({url:"/api/bargain/share",method:"post",data:t})}function g(t){return(0,i.default)({url:"/api/bargain/user/list",method:"get",data:t})}function p(t){return(0,i.default)({url:"/api/bargain/user/cancel",method:"post",data:t})}function v(t){return i.default.get("combination/list",t,{noAuth:!0})}function b(t){return i.default.get("combination/detail/"+t)}function m(t){return i.default.get("combination/pink/"+t)}function h(t){return i.default.post("combination/remove",t)}function x(t){return i.default.get("bargain/list",t,{noAuth:!0})}function y(t){return i.default.post("bargain/user/cancel",{bargainId:t})}function _(){return i.default.get("seckill/index",{},{noAuth:!0})}function w(t,e){return i.default.get("seckill/list/"+t,e,{noAuth:!0})}function T(t){return i.default.get("seckill/detail/"+t)}function C(t){return i.default.post("bargain/poster",t)}function L(t){return i.default.post("combination/poster",t)}function k(t,e){return i.default.get("seckill/code/"+t,e)}function B(t){return i.default.get("combination/code/"+t)}},e2a9:function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"time",style:t.justifyLeft},[t.tipText?a("v-uni-text",{staticClass:"red"},[t._v(t._s(t.tipText))]):t._e(),!0===t.isDay?a("v-uni-text",{staticClass:"styleAll"},[t._v(t._s(t.day))]):t._e(),t.dayText?a("v-uni-text",{staticClass:"timeTxt red"},[t._v(t._s(t.dayText))]):t._e(),a("v-uni-text",{staticClass:"styleAll"},[t._v(t._s(t.hour))]),t.hourText?a("v-uni-text",{staticClass:"timeTxt red"},[t._v(t._s(t.hourText))]):t._e(),a("v-uni-text",{staticClass:"styleAll"},[t._v(t._s(t.minute))]),t.minuteText?a("v-uni-text",{staticClass:"timeTxt red"},[t._v(t._s(t.minuteText))]):t._e(),a("v-uni-text",{staticClass:"styleAll"},[t._v(t._s(t.second))]),t.secondText?a("v-uni-text",{staticClass:"timeTxt red"},[t._v(t._s(t.secondText))]):t._e()],1)},r=[]},e580:function(t,e,a){"use strict";a.r(e);var n=a("9da6"),i=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},f2c9:function(t,e,a){"use strict";a.r(e);var n=a("e2a9"),i=a("e580");for(var r in i)"default"!==r&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("0e87");var o,s=a("f0c5"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"0d9dfabe",null,!1,n["a"],o);e["default"]=u.exports},faa8:function(t,e,a){"use strict";var n=a("4ea4");a("99af"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(a("f2c9")),r=n(a("1a4c")),o=a("dcac"),s=a("04e6"),u=n(a("6677")),d={name:"BargainRecord",components:{CountDown:i.default,Loading:u.default,emptyPage:r.default},props:{},data:function(){return{bargain:[],status:!1,loadingList:!1,page:1,limit:20,userInfo:{}}},onLoad:function(){this.getBargainUserList(),this.getUserInfo()},methods:{goDetail:function(t){uni.navigateTo({url:"/pages/activity/goods_bargain_details/index?id=".concat(t,"&bargain=").concat(this.userInfo.uid)})},goList:function(){uni.navigateTo({url:"/pages/activity/goods_bargain/index"})},getBargainUserList:function(){var t=this;t.loadingList||t.status||(0,o.getBargainUserList)({page:t.page,limit:t.limit}).then((function(e){t.status=e.data.length