bztang-admin/addons/yun_shop/static/app/js/chunk-10c1023d.76ac3387.js

1 line
35 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-10c1023d"],{"2df0":function(t,e,i){var o=i("24fb");e=o(!1),e.push([t.i,"#auction_good #hoid[data-v-5ddeecfd]{padding:.3125rem;width:1.6rem;position:fixed;z-index:2;height:2.25rem}#auction_good #cart[data-v-5ddeecfd]{right:0}#auction_good #cart[data-v-5ddeecfd],#auction_good #member[data-v-5ddeecfd]{padding:.3125rem;width:1.6rem;position:fixed;z-index:2;-webkit-box-sizing:content-box;box-sizing:content-box}#auction_good #member[data-v-5ddeecfd]{right:2rem}#auction_good #back[data-v-5ddeecfd]{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-5ddeecfd]{padding-bottom:4.2rem;overflow:hidden}#auction_good .content .banner_pcStyle[data-v-5ddeecfd]{height:375px!important}#auction_good .content .count-time[data-v-5ddeecfd]{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-5ddeecfd]{color:#fff;margin-right:.5rem;padding-bottom:.2rem;font-weight:600}#auction_good .content .count-time .time[data-v-5ddeecfd]{color:#fff}#auction_good .content .count-time .time[data-v-5ddeecfd],#auction_good .content .count-time .time .block[data-v-5ddeecfd]{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-5ddeecfd]{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-5ddeecfd]{padding:0 .125rem;color:#fff}#auction_good .content .title[data-v-5ddeecfd]{padding:1rem;background-color:#fff}#auction_good .content .title .top[data-v-5ddeecfd]{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-5ddeecfd]{margin-top:1rem;font-size:16px;text-align:left}#auction_good .content .title .bottom[data-v-5ddeecfd]{margin-top:1.3125rem;color:#999;font-size:12px}#auction_good .content .item[data-v-5ddeecfd],#auction_good .content .title .bottom[data-v-5ddeecfd]{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}#auction_good .content .item[data-v-5ddeecfd]{margin-top:.5rem;background-color:#fff;height:2.625rem;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:0 .9375rem}#auction_good .content .item i[data-v-5ddeecfd]{font-size:18px}#auction_good .content .item span[data-v-5ddeecfd]{color:#999}#auction_good .content .record-list[data-v-5ddeecfd]{background:#fff;padding:0 .9375rem .5rem .9375rem}#auction_good .content .record-list .list[data-v-5ddeecfd]{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-5ddeecfd],#auction_good .content .record-list .list .item-bottom[data-v-5ddeecfd],#auction_good .content .record-list .list .item-top[data-v-5ddeecfd]{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-5ddeecfd],#auction_good .content .record-list .list .item-top[data-v-5ddeecfd]{width:100%;font-size:12px}#auction_good .content .record-list .list .item-top[data-v-5ddeecfd]{padding-bottom:.5rem}#auction_good .content .record-list .list .item-bottom[data-v-5ddeecfd]{-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-5ddeecfd]{-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-5ddeecfd]{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-5ddeecfd]{width:100%;height:100%;border-radius:50%}#auction_good .content .record-list .list .name .nick[data-v-5ddeecfd]{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-5ddeecfd]{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-5ddeecfd]{margin-bottom:1.6875rem;width:50%;text-align:left}#auction_good .content .price .price-item .tit[data-v-5ddeecfd]{color:#999}#auction_good .content .shop[data-v-5ddeecfd]{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-5ddeecfd],#auction_good .content .shop .left[data-v-5ddeecfd]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#auction_good .content .shop .left .avator[data-v-5ddeecfd]{width:3rem;height:3rem;border-radius:.3125rem}#auction_good .content .shop .left .avator img[data-v-5ddeecfd]{width:100%;height:100%;border-radius:.3125rem}#auction_good .content .shop .left .txt[data-v-5ddeecfd]{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-5ddeecfd],#auction_good .content .shop .right[data-v-5ddeecfd]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#auction_good .content .shop .right .btn-one[data-v-5ddeecfd]{width:2.8125rem;border-radius:.625rem;border:.0625rem solid #ff2c29;color:#ff2c29;margin-right:1rem}#auction_good .content .shop .right .btn-one[data-v-5ddeecfd],#auction_good .content .shop .right .btn-two[data-v-5ddeecfd]{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-5ddeecfd]{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-5ddeecfd]{padding:1rem .75rem;margin-top:1.3125rem;text-align:left;background-color:#fff}#auction_good .content .foot[data-v-5ddeecfd]{height:3.0625rem;width:100%;position:fixed;bottom:0;background:#fff;padding:0 .75rem;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#auction_good .content .foot[data-v-5ddeecfd],#auction_good .content .foot .my[data-v-5ddeecfd]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#auction_good .content .foot .my[data-v-5ddeecfd]{-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 i[data-v-5ddeecfd]{font-size:24px}#auction_good .content .foot .puzi[data-v-5ddeecfd]{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-5ddeecfd]{font-size:24px}#auction_good .content .foot .bid-btn[data-v-5ddeecfd]{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-5ddeecfd]{padding:0 .75rem}#auction_good .pop .check[data-v-5ddeecfd]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding-bottom:1rem}#auction_good .pop .check input[data-v-5ddeecfd]{-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-5ddeecfd]{padding:1.5rem 0}#auction_good .pop .bottom-btn[data-v-5ddeecfd],#auction_good .pop .title[data-v-5ddeecfd]{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-5ddeecfd]{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-5ddeecfd]{padding-bottom:2rem;padding-left:.75rem;padding-top:1rem;padding-right:.75rem}#auction_good .bid-pop .now-price[data-v-5ddeecfd]{text-align:left}#auction_good .bid-pop .price-input[data-v-5ddeecfd]{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-5ddeecfd],#auction_good .bid-pop .price-input .jian[data-v-5ddeecfd]{font-size:32px}#auction_good .bid-pop .price-input input[data-v-5ddeecfd]{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-5ddeecfd]{color:#999;text-align:center;margin-top:1rem}#auction_good .bid-pop .bid-btn[data-v-5ddeecfd]{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-5ddeecfd]{background-color:#f2f2f2}#auction_good .rewardPay .content[data-v-5ddeecfd]{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-5ddeecfd]{color:#1c96fe}#auction_good .rewardPay .payMode ul li[data-v-5ddeecfd]{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-5ddeecfd]:last-of-type{border-bottom:none;margin-bottom:.69rem}#auction_good .rewardPay .cancel[data-v-5ddeecfd]{background-color:#fff;height:3.44rem;border-bottom:.06rem solid #eee;font-size:1rem;color:#333;line-height:3.44rem}.pcStyle #hoid[data-v-5ddeecfd],.pcStyle .Go_settle[data-v-5ddeecfd]{width:375px!important}.pcStyle #cart[data-v-5ddeecfd]{right:50%!important;margin-right:-186px}.pcStyle #member[data-v-5ddeecfd]{right:50%!important;margin-right:-150px}.pc[data-v-5ddeecfd],.pcStyle #foot[data-v-5ddeecfd]{width:375px!important}",""]),t.exports=e},8050:function(t,e,i){"use strict";i("b03e")},a336:function(t,e,i){"use strict";i.r(e);var o=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,o){return i("div",{key:o},[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,4006680893)}):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,4006680893)}):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))]),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,o){return i("div",{key:o,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:"my",on:{click:t.toMy}},[i("i",{staticClass:"iconfont icon-home-line6"}),t._v(" "),i("span",[t._v("我的")])]),t.auctioneer.auctioneer_id?i("div",{staticClass:"puzi",on:{click:t.todian}},[i("i",{staticClass:"iconfont icon-info_store"}),i("span",[t._v("店铺")])]):t._e(),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,o){return i("li",{key:o,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:"17.8125rem",height:"34.5rem",padding:"0",background:"none"},attrs:{closeOnClickModal:"true"},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"})])])])],1)},a=[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("fb6a"),i("a9e3"),i("b680"),i("a434"),i("b0c0"),i("6968")),c=i("c992"),d=i("fba7"),r=i("dca4"),l={mixins:[r["a"]],data:function(){return{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}},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((new Date).valueOf()/1e3)).valueOf()/1e3,this.getStatus()},methods:{reversedMessage:function(t){return String(t).slice(0,1)},payBtn:function(t,e){var i=this;if(3!=t||this.isclick){var o=this,a={money:Number(o.auction.prepayment),goods_id:Number(o.goods_id),pay_way:Number(t)};$http.post("plugin.auction.api.prepayment.recharge",a,"支付中...").then((function(e){o.rewardPayshow=!1,1==e.result?(i.handleOtherPay({value:t},e,"auction"),i.getData()):o.$dialog.alert({message:e.msg})})).catch((function(t){o.$dialog.alert({message:response.msg})}))}},rewardPayCancelBtn:function(){this.rewardPayshow=!1},getPayData:function(){var t=this;this.actionSheetItems=[];var e={goods_id:this.goods_id};$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()+"/",o=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"/",a=this.change(e.getDate())+" ",n=this.change(e.getHours())+":",s=this.change(e.getMinutes());return i+o+a+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((new Date).valueOf()/1e3)).valueOf()/1e3,this.getData(!1,t))},bid:function(){0==this.invite_mobile?this.$router.push(this.fun.getUrl("editmobile")):0==this.auction.is_prepay?(Object(n["a"])("需先支付".concat(this.auction.prepayment,"保证金方可出价")),this.getPayData()):this.show2=!0},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.setIntervalMth=setInterval((function(){t.getData(!0)}),1e4),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){}))},getData:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1?arguments[1]:void 0,o=this,a={member_id:this.id,goods_id:this.goods_id,art:"goodsDetail"};$http.get("plugin.auction.api.index.getAuctionData",a).then((function(a){1==a.result?(t.auction=a.data.goodsDetail.auction,a.data.goodsDetail.auction&&"-1"==a.data.goodsDetail.auction.auc_status&&(t.isEnd=!0,clearInterval(t.setIntervalMth)),e||(t.auctioneer=a.data.goodsDetail.auctioneer,"start"==i&&a.data.goodsDetail.auction&&a.data.goodsDetail.auction.bid_record&&a.data.goodsDetail.auction.bid_record.is_last_bidder&&t.$dialog.alert({message:"您是本场出价最高者3分钟后自动生成订单请到我的 → 待确认栏目里确认订单。"})),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.fun.wxShare("",{},{title:o.auction.has_one_share&&!o.fun.isTextEmpty(o.auction.has_one_share.share_title)?o.auction.has_one_share.share_title:"",imgUrl:o.auction.has_one_share&&!o.fun.isTextEmpty(o.auction.has_one_share.share_thumb)?o.auction.has_one_share.share_thumb:"",description:o.auction.has_one_share&&!o.fun.isTextEmpty(o.auction.has_one_share.share_desc)?o.auction.has_one_share.share_desc:""})):t.$dialog.alert({message:a.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,o=document.location.href+"&share_tag=2";o=e.fun.isMid(o,t.info.uid);var a=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,a,o,"Sharesback")}},components:{cTitle:s["a"],Swipe:d["a"],SwipeItem:d["b"],cMyswipe:c["a"]}},u=l,m=u,f=(i("8050"),i("2877")),p=Object(f["a"])(m,o,a,!1,null,"5ddeecfd",null);e["default"]=p.exports},b03e:function(t,e,i){var o=i("2df0");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var a=i("499e").default;a("431c97ac",o,!0,{sourceMap:!1,shadowMode:!1})}}]);