1 line
43 KiB
JavaScript
1 line
43 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-65a1c4f7"],{"2fc4":function(t,e,i){var a=i("970b").default,o=i("5bc3").default,n=function(){"use strict";function t(){a(this,t),this.completeFn=null}return o(t,[{key:"addCompleteFn",value:function(t){this.completeFn=t}},{key:"complete",value:function(t){this.completeFn(t)}}]),t}(),s=new n;e.payKeyboardAsync=s},3878:function(t,e,i){var a=i("4acf");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("499e").default;o("f27dcd8e",a,!0,{sourceMap:!1,shadowMode:!1})},"4acf":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,".explainBox[data-v-2577e2a0]{padding:.9375rem 1rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;height:100%}.explainBox .title[data-v-2577e2a0]{font-size:.9375rem;font-weight:400;color:#2b2b2b;text-align:center}.explainBox .priceTxt[data-v-2577e2a0],.explainBox .title[data-v-2577e2a0]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.explainBox .priceTxt[data-v-2577e2a0]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;margin:1.25rem 0}.explainBox .priceTxt .txt[data-v-2577e2a0]{font-size:.8125rem}.explainBox .priceTxt .price[data-v-2577e2a0]{font-size:.9rem;color:#f14e4e}.explainBox .exprlain[data-v-2577e2a0]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.explainBox .exprlain .txtBox[data-v-2577e2a0]{width:100%;overflow-y:scroll}.explainBox .exprlain .txtBox p[data-v-2577e2a0]{white-space:pre-wrap}.explainBox .exprlain .btn[data-v-2577e2a0]{background:#f14e4e;border-radius:1.25rem;height:2.5rem;width:18.75rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;margin-top:1rem;color:#fff}.explainBox .exprlain .btn[data-v-2577e2a0],.explainBox .exprlain .txt[data-v-2577e2a0]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.explainBox .exprlain .txt[data-v-2577e2a0]{width:100%;font-size:.75rem;color:#666;margin-bottom:.8438rem;text-align:left}#auction_good #hoid[data-v-2577e2a0]{padding:.3125rem;width:1.6rem;position:fixed;z-index:2;height:2.25rem}#auction_good #cart[data-v-2577e2a0]{right:0}#auction_good #cart[data-v-2577e2a0],#auction_good #member[data-v-2577e2a0]{padding:.3125rem;width:1.6rem;position:fixed;z-index:2;-webkit-box-sizing:content-box;box-sizing:content-box}#auction_good #member[data-v-2577e2a0]{right:2rem}#auction_good #back[data-v-2577e2a0]{width:1.6rem;height:1.6rem;border-radius:100%;color:#fff;background-color:rgba(0,0,0,.4);text-indent:0;line-height:1.7rem;overflow:hidden}#auction_good .content[data-v-2577e2a0]{padding-bottom:4.2rem;overflow:hidden}#auction_good .content .banner_pcStyle[data-v-2577e2a0]{height:375px!important}#auction_good .content .count-time[data-v-2577e2a0]{width:100%;bottom:0;height:2.5625rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:0 1rem;background:#b52149;margin-top:-2.5625rem;position:relative}#auction_good .content .count-time .txt[data-v-2577e2a0]{color:#fff;margin-right:.5rem;padding-bottom:.2rem;font-weight:600}#auction_good .content .count-time .time[data-v-2577e2a0]{color:#fff}#auction_good .content .count-time .time[data-v-2577e2a0],#auction_good .content .count-time .time .block[data-v-2577e2a0]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#auction_good .content .count-time .time .block[data-v-2577e2a0]{width:1.375rem;height:1.4375rem;background-color:#fff;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;color:#000;border-radius:.25rem}#auction_good .content .count-time .time-item[data-v-2577e2a0]{padding:0 .125rem;color:#fff}#auction_good .content .title[data-v-2577e2a0]{padding:1rem;background-color:#fff}#auction_good .content .title .top[data-v-2577e2a0]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}#auction_good .content .title .mid[data-v-2577e2a0]{margin-top:1rem;font-size:16px;text-align:left}#auction_good .content .title .bottom[data-v-2577e2a0]{margin-top:1.3125rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;color:#999;font-size:12px}#auction_good .content .title .explain[data-v-2577e2a0]{color:#ed0606;text-align:left;margin-top:.75rem}#auction_good .content .item[data-v-2577e2a0]{margin-top:.5rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;background-color:#fff;height:2.625rem;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:0 .9375rem}#auction_good .content .item i[data-v-2577e2a0]{font-size:18px}#auction_good .content .item span[data-v-2577e2a0]{color:#999}#auction_good .content .record-list[data-v-2577e2a0]{background:#fff;padding:0 .9375rem .5rem .9375rem}#auction_good .content .record-list .list[data-v-2577e2a0]{margin-bottom:.5rem;padding-bottom:.5rem;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;border-bottom:1px solid #eee}#auction_good .content .record-list .list[data-v-2577e2a0],#auction_good .content .record-list .list .item-bottom[data-v-2577e2a0],#auction_good .content .record-list .list .item-top[data-v-2577e2a0]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#auction_good .content .record-list .list .item-bottom[data-v-2577e2a0],#auction_good .content .record-list .list .item-top[data-v-2577e2a0]{width:100%;font-size:12px}#auction_good .content .record-list .list .item-top[data-v-2577e2a0]{padding-bottom:.5rem}#auction_good .content .record-list .list .item-bottom[data-v-2577e2a0]{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}#auction_good .content .record-list .list .name[data-v-2577e2a0]{-webkit-box-flex:0;-webkit-flex:0 0 8rem;-ms-flex:0 0 8rem;flex:0 0 8rem;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#auction_good .content .record-list .list .name .avator[data-v-2577e2a0]{width:1.5rem;height:1.5rem;border-radius:50%;margin-right:.25rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#auction_good .content .record-list .list .name .avator img[data-v-2577e2a0]{width:100%;height:100%;border-radius:50%}#auction_good .content .record-list .list .name .nick[data-v-2577e2a0]{font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}#auction_good .content .price[data-v-2577e2a0]{margin-top:.5rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;background-color:#fff;padding:1rem .75rem;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}#auction_good .content .price .price-item[data-v-2577e2a0]{margin-bottom:1.6875rem;width:50%;text-align:left}#auction_good .content .price .price-item .tit[data-v-2577e2a0]{color:#999}#auction_good .content .shop[data-v-2577e2a0]{padding:1rem .75rem;background-color:#fff;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}#auction_good .content .shop[data-v-2577e2a0],#auction_good .content .shop .left[data-v-2577e2a0]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#auction_good .content .shop .left .avator[data-v-2577e2a0]{width:3rem;height:3rem;border-radius:.3125rem}#auction_good .content .shop .left .avator img[data-v-2577e2a0]{width:100%;height:100%;border-radius:.3125rem}#auction_good .content .shop .left .txt[data-v-2577e2a0]{margin-left:1rem;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;font-size:12px;-webkit-box-align:baseline;-webkit-align-items:baseline;-ms-flex-align:baseline;align-items:baseline}#auction_good .content .shop .left .txt[data-v-2577e2a0],#auction_good .content .shop .right[data-v-2577e2a0]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#auction_good .content .shop .right .btn-one[data-v-2577e2a0]{width:2.8125rem;border-radius:.625rem;border:.0625rem solid #ff2c29;color:#ff2c29;margin-right:1rem}#auction_good .content .shop .right .btn-one[data-v-2577e2a0],#auction_good .content .shop .right .btn-two[data-v-2577e2a0]{height:1.1875rem;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;font-size:12px}#auction_good .content .shop .right .btn-two[data-v-2577e2a0]{width:3.875rem;background-image:-webkit-gradient(linear,right top,left top,from(#ff6333),to(#ff2c29)),-webkit-gradient(linear,left top,left bottom,from(#000),to(#000));background-image:-webkit-linear-gradient(right,#ff6333,#ff2c29),-webkit-linear-gradient(#000,#000);background-image:linear-gradient(270deg,#ff6333,#ff2c29),linear-gradient(#000,#000);border-radius:.625rem;color:#fff}#auction_good .content .good-detail[data-v-2577e2a0]{padding:1rem .75rem;margin-top:1.3125rem;text-align:left;background-color:#fff}#auction_good .content .foot[data-v-2577e2a0]{height:3.0625rem;width:100%;position:fixed;bottom:0;background:#fff;padding:0 .75rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#auction_good .content .foot .left[data-v-2577e2a0]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-ms-flex-line-pack:center}#auction_good .content .foot .left[data-v-2577e2a0],#auction_good .content .foot .right[data-v-2577e2a0]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-content:center;align-content:center}#auction_good .content .foot .right[data-v-2577e2a0]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-ms-flex-line-pack:center}#auction_good .content .foot .my[data-v-2577e2a0]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;color:#666;font-size:12px;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}#auction_good .content .foot .my span[data-v-2577e2a0]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#auction_good .content .foot .my i[data-v-2577e2a0]{font-size:24px}#auction_good .content .foot .my img[data-v-2577e2a0]{width:1.55rem;height:1.55rem}#auction_good .content .foot .puzi[data-v-2577e2a0]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;color:#666;font-size:12px;margin-left:2.5rem;margin-right:1.875rem}#auction_good .content .foot .puzi i[data-v-2577e2a0]{font-size:24px}#auction_good .content .foot .bid-btn[data-v-2577e2a0]{width:7.125rem;height:2.125rem;background-color:#ff2c29;border-radius:1.0625rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;color:#fff;font-size:12px}#auction_good .pop[data-v-2577e2a0]{padding:0 .75rem}#auction_good .pop .check[data-v-2577e2a0]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding-bottom:1rem}#auction_good .pop .check input[data-v-2577e2a0]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;border:none;outline:none;margin-left:1rem;border-bottom:1px solid #ccc}#auction_good .pop .title[data-v-2577e2a0]{padding:1.5rem 0}#auction_good .pop .bottom-btn[data-v-2577e2a0],#auction_good .pop .title[data-v-2577e2a0]{font-size:18px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#auction_good .pop .bottom-btn[data-v-2577e2a0]{height:2.8125rem;background-image:-webkit-gradient(linear,left top,left bottom,from(#ff2c29),to(#ff2c29)),-webkit-gradient(linear,left top,left bottom,from(#ff590f),to(#ff590f));background-image:-webkit-linear-gradient(#ff2c29,#ff2c29),-webkit-linear-gradient(#ff590f,#ff590f);background-image:linear-gradient(#ff2c29,#ff2c29),linear-gradient(#ff590f,#ff590f);background-blend-mode:normal,normal;border-radius:1.4375rem;color:#fff;margin-top:6.25rem}#auction_good .bid-pop[data-v-2577e2a0]{padding-bottom:2rem;padding-left:.75rem;padding-top:1rem;padding-right:.75rem}#auction_good .bid-pop .now-price[data-v-2577e2a0]{text-align:left}#auction_good .bid-pop .price-input[data-v-2577e2a0]{margin-top:2rem;margin-bottom:1rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#auction_good .bid-pop .price-input .jia[data-v-2577e2a0],#auction_good .bid-pop .price-input .jian[data-v-2577e2a0]{font-size:32px}#auction_good .bid-pop .price-input input[data-v-2577e2a0]{border:none;outline:none;padding:.2rem;border-bottom:1px solid #ccc;width:10rem;margin:0 1rem;text-align:center}#auction_good .bid-pop .want[data-v-2577e2a0]{color:#999;text-align:center;margin-top:1rem}#auction_good .bid-pop .bid-btn[data-v-2577e2a0]{width:100%;height:2.8125rem;background-color:#ff2c29;border-radius:1.4375rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;color:#fff;font-size:18px;margin-top:1.5rem}#auction_good .rewardPay[data-v-2577e2a0]{background-color:#f2f2f2}#auction_good .rewardPay .content[data-v-2577e2a0]{background-color:#fff;text-align:left;padding:.6rem;min-height:3.44rem;font-size:.8rem;line-height:1rem;width:100%;white-space:normal;word-break:break-all;word-wrap:break-word}#auction_good .rewardPay .content span[data-v-2577e2a0]{color:#1c96fe}#auction_good .rewardPay .payMode ul li[data-v-2577e2a0]{background-color:#fff;height:3.44rem;border-bottom:.06rem solid #eee;font-size:1rem;color:#333;line-height:3.44rem}#auction_good .rewardPay .payMode ul li[data-v-2577e2a0]:last-of-type{border-bottom:none;margin-bottom:.69rem}#auction_good .rewardPay .cancel[data-v-2577e2a0]{background-color:#fff;height:3.44rem;border-bottom:.06rem solid #eee;font-size:1rem;color:#333;line-height:3.44rem}.pcStyle #hoid[data-v-2577e2a0],.pcStyle .Go_settle[data-v-2577e2a0]{width:375px!important}.pcStyle #cart[data-v-2577e2a0]{right:50%!important;margin-right:-186px}.pcStyle #member[data-v-2577e2a0]{right:50%!important;margin-right:-150px}.pc[data-v-2577e2a0],.pcStyle #foot[data-v-2577e2a0]{width:375px!important}.short[data-v-2577e2a0]{font-size:1rem;font-weight:700;line-height:1.25rem;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;text-align:left;padding:.75rem 0 .75rem;border-bottom:.0625rem solid #e7e7e7}",""]),t.exports=e},"5bc3":function(t,e,i){var a=i("a395");function o(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,a(o.key),o)}}function n(t,e,i){return e&&o(t.prototype,e),i&&o(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}t.exports=n,t.exports.__esModule=!0,t.exports["default"]=t.exports},6585:function(t,e,i){"use strict";i("3878")},"970b":function(t,e,i){function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}i("d9e2"),t.exports=a,t.exports.__esModule=!0,t.exports["default"]=t.exports},a336:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"auction_good",attrs:{id:"auction_good"}},[1==t.is_verify?i("div",{staticClass:"content"},[i("div",{attrs:{id:"hoid"},on:{click:t.goto}},[t._m(0)]),i("div",{attrs:{id:"cart"},on:{click:t.gotoCart}},[t._m(1)]),i("div",{attrs:{id:"member"},on:{click:t.gotoMember}},[t._m(2)]),i("div",{staticStyle:{overflow:"hidden"}},[i("viewer",{staticClass:"section",staticStyle:{"background-color":"#333"},attrs:{images:t.auction.thumb_url}},[i("c-myswipe",{staticClass:"banner_pcStyle",style:{height:3==t.fun.getPhoneEnv()?"375px":"100vw"},attrs:{"pagination-visible":!0,slides:t.auction.thumb_url,repeating:!0,auto:0}},[t.fun.isTextEmpty(t.auction.goods_video)?t._e():i("div",[i("video",{staticStyle:{width:"100%",height:"100%","object-fit":"scale-down"},attrs:{id:"goods_vedio",poster:t.auction.video_image,src:t.auction.goods_video,controls:"","webkit-playsinline":"true",playsinline:"true","x5-playsinline":"true","x-webkit-airplay":"true","x5-video-ignore-metadata":"true",width:"100%",height:"100%"}},[i("source",{attrs:{src:t.auction.goods_video}})])]),t.fun.isTextEmpty(t.auction.thumb_url)?i("div",[i("img",{attrs:{src:t.auction.thumb,width:"100%"}})]):t._e(),t._l(t.auction.thumb_url,(function(e,a){return i("div",{key:a},[e?[i("img",{attrs:{src:e,width:"100%"}})]:t._e()],2)}))],2)],1)],1),i("div",{directives:[{name:"show",rawName:"v-show",value:t.now<t.auction.start_shooting,expression:"now < auction.start_shooting"}],staticClass:"count-time"},[t._m(3),t.now<t.auction.start_shooting?i("van-count-down",{staticClass:"time",attrs:{time:t.fun.getTimeDifference(t.auction.start_shooting),format:"DD天HH时mm分ss秒S",millisecond:!0},on:{finish:function(e){return t.timeEnd("ready")}},scopedSlots:t._u([{key:"default",fn:function(e){return[e.days?i("em",{staticClass:"time-item"},[t._v(t._s(e.days<10?"0"+e.days:e.days)+" ")]):t._e(),t._v(t._s(e.days?"天":"")+" "),e.hours?i("em",{staticClass:"time-item"},[t._v(t._s(e.hours<10?"0"+e.hours:e.hours)+" ")]):t._e(),e.hours?i("b",[t._v("时")]):t._e(),e.minutes?i("em",{staticClass:"time-item"},[t._v(t._s(e.minutes<10?"0"+e.minutes:e.minutes)+" ")]):t._e(),e.minutes?i("b",[t._v("分")]):t._e(),i("em",{staticClass:"time-item"},[t._v(t._s(e.seconds<10?"0"+e.seconds:e.seconds)+" ")]),i("b",[t._v("秒")]),i("em",{staticClass:"time-item"},[t._v("0"+t._s(t.reversedMessage(e.milliseconds))+" ")])]}}],null,!1,1449969661)}):t._e()],1),i("div",{directives:[{name:"show",rawName:"v-show",value:t.auction.start_shooting<=t.now&&t.now<t.auction.end_shooting,expression:"auction.start_shooting <= now && now < auction.end_shooting"}],staticClass:"count-time"},[t._m(4),t.auction.start_shooting<=t.now&&t.now<t.auction.end_shooting?i("van-count-down",{staticClass:"time",attrs:{time:t.fun.getTimeDifference(t.auction.end_shooting),format:"DD天HH时mm分ss秒S",millisecond:!0},on:{finish:function(e){return t.timeEnd("start")}},scopedSlots:t._u([{key:"default",fn:function(e){return[e.days?i("em",{staticClass:"time-item"},[t._v(t._s(e.days<10?"0"+e.days:e.days)+" ")]):t._e(),t._v(t._s(e.days?"天":"")+" "),e.hours?i("em",{staticClass:"time-item"},[t._v(t._s(e.hours<10?"0"+e.hours:e.hours)+" ")]):t._e(),e.hours?i("b",[t._v("时")]):t._e(),e.minutes?i("em",{staticClass:"time-item"},[t._v(t._s(e.minutes<10?"0"+e.minutes:e.minutes)+" ")]):t._e(),e.minutes?i("b",[t._v("分")]):t._e(),i("em",{staticClass:"time-item"},[t._v(t._s(e.seconds<10?"0"+e.seconds:e.seconds)+" ")]),i("b",[t._v("秒")]),i("em",{staticClass:"time-item"},[t._v("0"+t._s(t.reversedMessage(e.milliseconds))+" ")])]}}],null,!1,1449969661)}):t._e()],1),i("div",{directives:[{name:"show",rawName:"v-show",value:t.now>=t.auction.end_shooting||t.isEnd,expression:"now >= auction.end_shooting || isEnd"}],staticClass:"count-time",staticStyle:{"background-color":"#999 !important",height:"2.5625rem",display:"flex","align-items":"center",padding:"0 1rem","background-image":"none"}},[i("div",{staticClass:"txt"},[t._v("本场拍卖活动已结束")])]),i("div",{staticClass:"title"},[i("div",{staticClass:"top"},[i("div",{staticClass:"left"},[i("span",{staticStyle:{color:"#ed0606"}},[t._v("起拍价"+t._s(t.$i18n.t("money")))]),i("span",{staticStyle:{color:"#ed0606","font-size":"24px"}},[t._v(t._s(t.auction.start_price))]),i("span",{staticStyle:{"margin-left":"0.2rem"}},[i("span",{staticStyle:{color:"#999","font-size":"12px"}},[t._v("原价 "+t._s(t.$i18n.t("money"))+t._s(t.auction.market_price))])])]),i("div",[i("i",{staticClass:"iconfont icon-life-code",staticStyle:{"font-size":"18px",color:"#666"},on:{click:function(e){return t.postShow()}}}),i("i",{staticClass:"iconfont icon-bc_share_card",staticStyle:{"font-size":"18px",color:"#666","margin-left":"1.25rem"},on:{click:function(e){return t.shareWeixin()}}})])]),i("div",{staticClass:"mid"},[t._v(t._s(t.auction.title))]),t.alias?i("div",{staticClass:"short"},[t._v(t._s(t.alias))]):t._e(),t.member_explain?i("div",{staticClass:"explain"},[i("span",[t._v(t._s(t.member_explain))])]):t._e(),i("div",{staticClass:"bottom"},[i("span",[t._v("浏览 "+t._s(t.auction.browse_times)+"次")]),i("span",[t._v("参拍"+t._s(t.auction.participants_num)+"人")])])]),i("div",{staticClass:"item",on:{click:t.toRecord}},[i("div",{staticClass:"left"},[t._v(" 拍卖纪录"),i("span",[t._v("("+t._s(t.record_length)+")")])]),t._m(5)]),t.record.length>0?i("div",{staticClass:"record-list"},t._l(t.record,(function(e,a){return i("div",{key:a,staticClass:"list"},[i("div",{staticClass:"item-top"},[i("div",{staticClass:"name"},[e.has_one_member?i("div",{staticClass:"avator"},[i("img",{attrs:{src:e.has_one_member.avatar}})]):t._e(),i("div",{staticClass:"nick"},[t._v(" "+t._s(e.has_one_member.nickname)+" ")])]),1==e.status?i("div",{staticStyle:{color:"#f22121",flex:"1"}},[t._v("当前最高")]):t._e(),-1==e.status?i("div",{staticStyle:{color:"#999",flex:"1"}},[t._v("出局")]):t._e(),i("div",{staticStyle:{flex:"0 0 8rem"}},[i("span",[t._v(t._s(e.created_at))])])]),i("div",{staticClass:"item-bottom"},[i("div",{staticStyle:{color:"#f22121",flex:"1","text-align":"left"}},[t._v(t._s(t.$i18n.t("money"))+t._s(e.price))]),1==e.status?i("div",{staticStyle:{flex:"1","text-align":"right"}},[t._v(t._s(e.number)+"次出价")]):t._e(),-1==e.status?i("div",{staticStyle:{flex:"1",color:"#999","text-align":"right"}},[t._v(t._s(e.number)+"次出价")]):t._e()])])})),0):t._e(),t.auction.start_price?i("div",{staticClass:"price"},[i("div",{staticClass:"price-item"},[i("span",{staticClass:"tit"},[t._v("起拍价")]),i("span",[t._v(t._s(t.$i18n.t("money"))+t._s(t.auction.start_price))])]),i("div",{staticClass:"price-item"},[i("span",{staticClass:"tit"},[t._v("加一口")]),i("span",[t._v(t._s(t.$i18n.t("money"))+t._s(t.auction.mini_markup))])]),i("div",{staticClass:"price-item"},[i("span",{staticClass:"tit"},[t._v("保证金")]),i("span",[t._v(t._s(t.$i18n.t("money"))+t._s(t.auction.prepayment))])]),i("div",{staticClass:"price-item"},[i("span",{staticClass:"tit"},[t._v("开拍时间")]),i("span",[t._v(t._s(t.timestampToTime(t.auction.start_shooting)))])]),i("div",{staticClass:"price-item"},[i("span",{staticClass:"tit"},[t._v("结束时间")]),i("span",[t._v(t._s(t.timestampToTime(t.auction.end_shooting)))])]),t.auction.delay_plan&&t.auction.delay_plan.enabled?i("div",{staticClass:"price-item",staticStyle:{width:"100%"}},[t.auction.delay_plan?i("span",{staticClass:"tit",staticStyle:{color:"black"}},[t._v("周期延时时间:"+t._s(t.auction.delay_plan.delay_cycle_minute)+"分钟/次")]):t._e()]):t._e(),i("div",{staticClass:"price-item"},[i("span",{staticClass:"tit"},[t._v("一口价")]),i("span",[t._v(t._s(t.$i18n.t("money"))+t._s(t.auction.fixed_price))])])]):t._e(),i("div",{staticClass:"shop"},[i("div",{staticClass:"left"},[i("div",{staticClass:"avator"},[i("img",{attrs:{src:t.auctioneer.avarat}})]),i("div",{staticClass:"txt"},[i("div",{staticStyle:{"margin-bottom":"1rem"}},[t._v(t._s(t.auctioneer.nick_name))]),i("div",[i("span",{staticClass:"check"},[i("i",{staticClass:"iconfont icon-pm_auction_certification",staticStyle:{color:"#ff6333"}}),t._v(t._s(t.auctioneer.type_status))]),i("span",{staticStyle:{"margin-left":"0.5rem",color:"#999"}},[t._v("拍品:"+t._s(t.auctioneer.lot_num||0))])])])]),i("div",{staticClass:"right"},[0==t.auctioneer.is_collection&&1==t.auctioneer.type?i("div",{staticClass:"btn-one",on:{click:t.toCollect}},[t._v("收藏")]):t._e(),1==t.auctioneer.is_collection&&1==t.auctioneer.type?i("div",{staticClass:"btn-one",on:{click:t.toCollect}},[t._v("已收藏")]):t._e(),t.auctioneer.auctioneer_id?i("div",{staticClass:"btn-two",on:{click:t.toShop}},[t._v("进店逛逛")]):t._e()])]),i("div",{staticClass:"good-detail"},[i("h2",{staticStyle:{"margin-bottom":"1rem"}},[t._v("拍品描述")]),i("p",[t._v(t._s(t.auction.describe||"暂无描述"))])]),i("div",{staticClass:"good-detail"},[i("h2",{staticStyle:{"margin-bottom":"1rem"}},[t._v("拍品详情")]),t.auction.content?i("div",{domProps:{innerHTML:t._s(t.auction.content)}}):i("div",[t._v("暂无详情")])]),i("div",{staticClass:"foot",class:[3==t.fun.getPhoneEnv()?"pc":""]},[i("div",{staticClass:"left"},[i("div",{staticClass:"my",on:{click:t.toMy}},[i("i",{staticClass:"iconfont icon-home-line6"}),t._v(" "),i("span",[t._v("我的")])]),t.remind_msg_switch?i("div",{staticClass:"my",on:{click:t.msgTap}},[t.is_remind_msg?t._e():i("img",{attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images%2Fauction%2FmsgNone%402x.png",alt:""}}),t.is_remind_msg?i("img",{attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images%2Fauction%2Fmsg%402x.png",alt:""}}):t._e(),i("span",[t._v("设置提醒")])]):t._e(),t.auctioneer.auctioneer_id?i("div",{staticClass:"my",on:{click:t.todian}},[i("i",{staticClass:"iconfont icon-info_store"}),i("span",[t._v("店铺")])]):t._e()]),i("div",{staticClass:"right"},[t.auction.start_shooting<=t.now&&t.now<t.auction.end_shooting&&!t.isEnd?i("div",{staticClass:"bid-btn",on:{click:t.bid}},[t._v("立即出价")]):t._e(),i("div",{directives:[{name:"show",rawName:"v-show",value:t.now<t.auction.start_shooting||t.now>t.auction.end_shooting||t.isEnd,expression:"now < auction.start_shooting || now > auction.end_shooting || isEnd"}],staticClass:"bid-btn",staticStyle:{"background-color":"#999 !important"}},[t._v("立即出价")]),t.auction.start_shooting<=t.now&&t.now<t.auction.end_shooting&&!t.isEnd?i("div",{staticClass:"bid-btn",staticStyle:{"background-color":"#ff7d4d","margin-left":"1rem"},on:{click:t.toBuy}},[t._v("一口价")]):t._e(),i("div",{directives:[{name:"show",rawName:"v-show",value:t.now<t.auction.start_shooting||t.now>t.auction.end_shooting||t.isEnd,expression:"now < auction.start_shooting || now > auction.end_shooting || isEnd"}],staticClass:"bid-btn",staticStyle:{"background-color":"#999 !important","margin-left":"1rem"}},[t._v("一口价")])])])]):t._e(),i("van-popup",{attrs:{position:"bottom",overlay:!0},model:{value:t.rewardPayshow,callback:function(e){t.rewardPayshow=e},expression:"rewardPayshow"}},[i("div",{staticClass:"rewardPay"},[i("div",{staticClass:"payMode"},[i("ul",t._l(t.btnData,(function(e,a){return i("li",{key:a,on:{click:function(i){return t.payBtn(e.value,e.name)}}},[t._v(" "+t._s(e.name)+" ")])})),0)]),i("div",{staticClass:"cancel",on:{click:t.rewardPayCancelBtn}},[t._v("取消")])])]),i("van-popup",{staticStyle:{width:"100%",height:"40%"},attrs:{position:"bottom"},model:{value:t.show2,callback:function(e){t.show2=e},expression:"show2"}},[i("div",{staticClass:"bid-pop"},[i("div",{staticClass:"now-price"},[t._v("当前价格:"+t._s(t.auction.now_price))]),i("div",{staticClass:"price-input"},[i("div",{staticClass:"jian",on:{click:t.down}},[i("strong",[t._v("-")])]),i("input",{directives:[{name:"model",rawName:"v-model",value:t.price,expression:"price"}],attrs:{type:"num",disabled:"true"},domProps:{value:t.price},on:{input:function(e){e.target.composing||(t.price=e.target.value)}}}),i("div",{staticClass:"jia",on:{click:t.up}},[i("strong",[t._v("+")])])]),i("div",{staticClass:"want"},[t._v("你将出价"+t._s(t.price)+"元")]),i("div",{staticClass:"bid-btn",on:{click:t.bidTo}},[t._v("出价")])])]),i("van-popup",{staticStyle:{width:"100%",height:"40%"},attrs:{position:"bottom","close-on-masker":!1},model:{value:t.show1,callback:function(e){t.show1=e},expression:"show1"}},[i("div",{staticClass:"pop"},[i("div",{staticClass:"title"},[t._v("请输入店铺密码")]),i("div",{staticClass:"check"},[i("span",[t._v("密码")]),i("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],attrs:{type:"password"},domProps:{value:t.password},on:{input:function(e){e.target.composing||(t.password=e.target.value)}}})]),i("div",{staticClass:"bottom-btn",on:{click:function(e){return t.confirm(t.item)}}},[t._v("确定")])])]),i("van-popup",{staticStyle:{width:"100%",height:"20.8rem"},attrs:{position:"bottom",closeable:!0},model:{value:t.explainShow,callback:function(e){t.explainShow=e},expression:"explainShow"}},[i("div",{staticClass:"explainBox"},[i("div",{staticClass:"title"},[t._v("充值保证金")]),i("div",{staticClass:"priceTxt"},[i("div",{staticClass:"txt"},[t._v("保证金")]),i("div",{staticClass:"price"},[t._v("¥"+t._s(t.auction.prepayment))])]),i("div",{staticClass:"exprlain"},[1==t.recharge_explain.switch?i("div",{staticClass:"txt"},[t._v("充值说明")]):t._e(),1==t.recharge_explain.switch?i("div",{staticClass:"txtBox",domProps:{innerHTML:t._s(t.recharge_explain.content)}}):t._e(),i("div",{staticClass:"btn",on:{click:t.explainPayTap}},[t._v("充值")])])])]),i("van-popup",{staticStyle:{width:"17.8125rem",height:"34.5rem",padding:"0",background:"none"},model:{value:t.posterShow,callback:function(e){t.posterShow=e},expression:"posterShow"}},[i("div",{staticClass:"code_box",staticStyle:{width:"100%",height:"100%",overflow:"hidden"}},[i("div",{staticStyle:{width:"100%",height:"31.25rem","border-radius":"0.375rem"}},[t.posterImg.base64Image?i("img",{staticStyle:{width:"100%","border-radius":"0.375rem"},attrs:{src:"data:"+t.posterImg.mime+";base64,"+t.posterImg.base64Image}}):t._e()]),i("div",{staticClass:"icon_close",on:{click:function(e){t.posterShow=!1}}},[i("i",{staticClass:"iconfont icon-close11"})])])]),i("pay-keyboard",{attrs:{payKeyboardShow:t.payKeyboardShow},on:{"update:payKeyboardShow":function(e){t.payKeyboardShow=e},"update:pay-keyboard-show":function(e){t.payKeyboardShow=e},complete:t.payComplete}})],1)},o=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{attrs:{id:"back"}},[i("i",{staticClass:"iconfont icon-member-left"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{attrs:{id:"back"}},[i("i",{staticClass:"iconfont icon-ai-home"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{attrs:{id:"back"}},[i("i",{staticClass:"iconfont icon-wode-wode"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"txt"},[i("i",{staticClass:"iconfont icon-fontclass-liulan"}),t._v(" 距离开拍时间 ")])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"txt"},[i("i",{staticClass:"iconfont icon-fontclass-liulan"}),t._v(" 正在进行 ")])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticStyle:{"font-size":"12px"}},[t._v("更多 "),i("i",{staticClass:"fa fa-angle-right"})])}],n=(i("e7e5"),i("d399")),s=i("c7eb"),r=i("5530"),c=i("1da1"),l=i("ade3"),d=(i("b65f"),i("fb6a"),i("a9e3"),i("14d9"),i("b680"),i("d3b7"),i("a434"),i("b0c0"),i("6968")),m=i("c992"),u=i("fba7"),p=i("dca4"),f=i("ebf1"),g=i("2fc4"),b={mixins:[p["a"]],data:function(){var t;return t={record:[],record_length:0,posterShow:!1,invite_mobile:"",posterImg:{},show1:!1,id:"",goods_id:"",auction:"",auctioneer:"",passwd:"",is_verify:"",status:"",password:"",now:"",show2:!1,price:0,rewardPayshow:!1,btnData:[],isclick:!0,setIntervalMth:"",isEnd:!1,recharge_explain:{},explainShow:!1,payKeyboardShow:!1,need_password:!1},Object(l["a"])(t,"password",""),Object(l["a"])(t,"remind_msg_switch",!1),Object(l["a"])(t,"is_remind_msg",!1),Object(l["a"])(t,"member_explain",""),Object(l["a"])(t,"alias",""),t},deactivated:function(){clearInterval(this.setIntervalMth)},activated:function(){window.scrollTo(0,0),this.initData(),this.id=this.$route.params.id,this.goods_id=this.$route.params.goods_id,this.now=new Date(this.timestampToTime(Math.trunc((new Date).valueOf()/1e3))).valueOf()/1e3,this.getStatus()},methods:{msgTap:function(){var t=this,e=this.is_remind_msg?0:1;$http.post("plugin.auction.api.auction.remind-msg",{status:e,goods_id:this.goods_id},"支付中...").then((function(e){t.isclick=!0,1==e.result?(t.getData(),t.$dialog.alert({message:e.msg})):t.$dialog.alert({message:e.msg})})).catch((function(t){that.$dialog.alert({message:response.msg})}))},reversedMessage:function(t){return String(t).slice(0,1)},payBtn:function(t,e){var i=this;return Object(c["a"])(Object(s["a"])().mark((function e(){var a,o,n;return Object(s["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(i.isclick){e.next=2;break}return e.abrupt("return");case 2:if(i.isclick=!1,a=i,o={money:Number(a.auction.prepayment),goods_id:Number(a.goods_id),pay_way:Number(t)},!i.need_password||3!=t){e.next=10;break}return e.next=8,i.getPayKeyboardPassword();case 8:n=e.sent,o.password=n;case 10:i.money=Number(a.auction.prepayment),$http.post("plugin.auction.api.prepayment.recharge",o,"支付中...").then((function(e){i.isclick=!0,1==e.result?i.handleOtherPay({value:t},e,"auction",Object(r["a"])({url:"plugin.auction.api.prepayment.recharge"},o)):a.$dialog.alert({message:e.msg})})).catch((function(t){a.$dialog.alert({message:response.msg})}));case 12:case"end":return e.stop()}}),e)})))()},rewardPayCancelBtn:function(){this.rewardPayshow=!1},getPayData:function(){var t=this;this.actionSheetItems=[];var e={goods_id:this.goods_id,password:this.password};$http.get("plugin.auction.api.prepayment.page",e).then((function(e){if(1==e.result){var i=e.data.buttons;t.btnData=i,t.rewardPayshow=!0,t.getData()}})).catch((function(t){}))},timestampToTime:function(t){var e=new Date(1e3*t),i=e.getFullYear()+"/",a=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"/",o=this.change(e.getDate())+" ",n=this.change(e.getHours())+":",s=this.change(e.getMinutes());return i+a+o+n+s},change:function(t){return t<10?"0"+t:t},toRecord:function(){this.$router.push(this.fun.getUrl("auctionRecord",{goods_id:this.goods_id}))},bidTo:function(){var t=this,e={goods_id:Number(this.goods_id),price:Number(this.price)};$http.post("plugin.auction.api.bid.bid",e,"获取中").then((function(e){1==e.result?(Object(n["a"])(e.msg),t.show2=!1,t.getData()):t.$dialog.alert({message:e.msg})})).catch((function(t){}))},up:function(){this.price=Number(Number(this.price)+Number(this.auction.mini_markup)).toFixed(2)},down:function(){Number(this.price)<=Number(this.auction.now_price)?Object(n["a"])("出价不能小于起拍价"):this.price=Number(Number(this.price)-Number(this.auction.mini_markup)).toFixed(2)},timeEnd:function(t){this.auction&&(this.now=new Date(this.timestampToTime(Math.trunc((new Date).valueOf()/1e3))).valueOf()/1e3,this.getData())},bid:function(){var t=this;return Object(c["a"])(Object(s["a"])().mark((function e(){return Object(s["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:0==t.invite_mobile?t.$router.push(t.fun.getUrl("editmobile")):0==t.auction.is_prepay?t.explainShow=!0:t.show2=!0;case 1:case"end":return e.stop()}}),e)})))()},explainPayTap:function(){var t=this;return Object(c["a"])(Object(s["a"])().mark((function e(){return Object(s["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:Object(n["a"])("需先支付".concat(t.auction.prepayment,"保证金方可出价")),t.getPayData();case 2:case"end":return e.stop()}}),e)})))()},payComplete:function(t){g["payKeyboardAsync"].complete(t)},getPayKeyboardPassword:function(){return this.payKeyboardShow=!0,new Promise((function(t,e){g["payKeyboardAsync"].addCompleteFn((function(e){t(e)}))}))},getInvite:function(){var t=this;$http.get("member.member.isValidatePage").then((function(e){1===e.result&&(t.invite_mobile=e.data.invite_mobile)}))},initData:function(){this.posterShow=!1,this.posterImg={},this.show1=!1,this.id="",this.goods_id="",this.auction="",this.auctioneer="",this.passwd="",this.is_verify="",this.status="",this.password="",this.now="",this.show2=!1,this.price=0,this.rewardPayshow=!1,this.btnData=[],this.isclick=!0,this.record=[]},confirm:function(){var t=this,e={art:"verifyPassword",auction_id:this.id,passwd:this.password};$http.get("plugin.auction.api.index.getAuctionData",e,"获取中").then((function(e){1==e.result?(t.show1=!1,t.getStatus()):t.$dialog.alert({message:e.msg})})).catch((function(t){}))},getStatus:function(){var t=this,e={member_id:this.id};$http.get("plugin.auction.api.index.getAuctionData",e,"获取中").then((function(e){1==e.result?(t.status=e.data.getVerify.status,t.is_verify=e.data.getVerify.is_verify,0==t.is_verify&&1==t.status?t.show1=!0:(t.is_verify=1,t.getData(),t.isEnd||(t.setIntervalMth=setInterval((function(){t.getNewest()}),5e3)),t.getInvite())):t.$dialog.alert({message:e.msg})})).catch((function(t){}))},toShop:function(){this.$router.push(this.fun.getUrl("auctioneerShop",{id:this.id}))},toMy:function(){this.$router.push(this.fun.getUrl("myIndex"))},toBuy:function(){this.$router.push(this.fun.getUrl("goodsorder",{},{tag:"auction",goodsId:this.goods_id,total:1,fixed_price:1,auction_sn:this.auction.auction_sn}))},todian:function(){this.$router.push(this.fun.getUrl("auctioneerShop",{id:window.localStorage.uid}))},gotoCart:function(){this.$router.push(this.fun.getUrl("home",{}))},gotoMember:function(){this.$router.push(this.fun.getUrl("member",{}))},goto:function(){this.$router.go(-1)},postShow:function(){var t=this;this.fun.isTextEmpty(this.posterImg.base64Image)?(Object(n["a"])({duration:-1,message:"正在为您生成海报中"}),$http.get("plugin.auction.api.goodsPoster.generateGoodsPoster",{id:this.goods_id},"").then((function(e){n["a"].clear(),1==e.result?(t.posterImg=e.data,t.posterShow=!0):(t.posterShow=!1,t.$dialog.alert({message:e.msg}))})).catch((function(t){n["a"].clear()}))):this.posterShow=!0},toCollect:function(){var t=this,e={art:"collectionShop",auctioneer_id:this.id};$http.get("plugin.auction.api.index.getAuctionData",e,"获取中").then((function(e){1==e.result?(1==t.auctioneer.is_collection?Object(n["a"])("取消收藏"):Object(n["a"])("收藏成功"),t.getData()):t.$dialog.alert({message:e.msg})})).catch((function(t){}))},getNewest:function(){var t=this;$http.post("plugin.auction.api.index.newest",{goods_id:this.goods_id}).then((function(e){1==e.result&&(t.record=e.data.auction.record.data.splice(0,5),t.record_length=e.data.auction.record.total,t.auction.is_prepay=e.data.auction.is_prepay,t.auction.start_shooting=e.data.auction.start_shooting,t.auction.end_shooting=e.data.auction.end_shooting,e.data.auction.last_bidder&&"-1"==e.data.auction.auc_status&&t.$dialog.alert({message:"您是本场出价最高者,3分钟后自动生成订单,请到我的 → 待确认栏目里确认订单。"}),"-1"==e.data.auction.auc_status&&(t.isEnd=!0,clearInterval(t.setIntervalMth)),t.price=Number(t.price)>Number(e.data.auction.price)?t.price:Number(e.data.auction.price).toFixed(2))}),(function(t){}))},getData:function(){var t=this,e=this,i={member_id:this.id,goods_id:this.goods_id,art:"goodsDetail"};$http.get("plugin.auction.api.index.getAuctionData",i).then((function(i){1==i.result?(t.recharge_explain=i.data.recharge_explain,t.auction=i.data.goodsDetail.auction,i.data.goodsDetail.auction&&"-1"==i.data.goodsDetail.auction.auc_status&&(t.isEnd=!0,clearInterval(t.setIntervalMth)),t.remind_msg_switch=i.data.goodsDetail.auction.remind_msg_switch,t.member_explain=i.data.goodsDetail.auction.member_explain,t.is_remind_msg=i.data.goodsDetail.auction.is_remind_msg,t.need_password=i.data.need_password,t.record=t.auction.bid_record.data.splice(0,5),t.record_length=t.auction.bid_record.total,t.price=Number(t.price)>Number(t.auction.now_price)?t.price:Number(t.auction.now_price).toFixed(2),t.alias=i.data.goodsDetail.auction.alias,t.fun.wxShare("",{},{title:e.auction.has_one_share&&!e.fun.isTextEmpty(e.auction.has_one_share.share_title)?e.auction.has_one_share.share_title:"",imgUrl:e.auction.has_one_share&&!e.fun.isTextEmpty(e.auction.has_one_share.share_thumb)?e.auction.has_one_share.share_thumb:"",description:e.auction.has_one_share&&!e.fun.isTextEmpty(e.auction.has_one_share.share_desc)?e.auction.has_one_share.share_desc:""})):t.$dialog.alert({message:i.msg}).then((function(){t.$router.go(-1)}))})).catch((function(t){}))},shareWeixin:function(){5!=this.fun.getTyep()&&(7!=this.fun.getTyep()?this.$dialog.alert({message:"请点击右上角微信分享"}):this.appSharesinit())},appSharesinit:function(){var t=this,e=document.location.href,i={url:e,i:this.fun.getKeyByI(),type:this.fun.getTyep()};$http.post("member.member.wxJsSdkConfig",i).then((function(e){1==e.result&&t.appShare(e.data)}),(function(t){}))},appShare:function(t){var e=this,i=e.fun.isTextEmpty(e.auction.has_one_share.share_title)?e.auction.title:e.auction.has_one_share.share_title,a=document.location.href+"&share_tag=2";a=e.fun.isMid(a,t.info.uid);var o=e.fun.isTextEmpty(e.auction.has_one_share.share_thumb)?e.auction.thumb:e.auction.has_one_share.share_thumb,n=e.fun.isTextEmpty(e.auction.has_one_share.share_desc)?t.shop.shop.name:e.auction.has_one_share.share_desc;YDB.Share(i,n,o,a,"Sharesback")}},components:{cTitle:d["a"],Swipe:u["a"],SwipeItem:u["b"],cMyswipe:m["a"],payKeyboard:f["a"]}},h=b,_=h,x=(i("6585"),i("2877")),v=Object(x["a"])(_,a,o,!1,null,"2577e2a0",null);e["default"]=v.exports},a395:function(t,e,i){var a=i("7037")["default"],o=i("e50d");function n(t){var e=o(t,"string");return"symbol"===a(e)?e:String(e)}t.exports=n,t.exports.__esModule=!0,t.exports["default"]=t.exports},e50d:function(t,e,i){i("8172"),i("efec"),i("a4d3"),i("e01a"),i("d3b7"),i("d9e2"),i("a9e3");var a=i("7037")["default"];function o(t,e){if("object"!==a(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var o=i.call(t,e||"default");if("object"!==a(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}t.exports=o,t.exports.__esModule=!0,t.exports["default"]=t.exports}}]); |